/*! For license information please see LICENSES */
(window.webpackJsonp=window.webpackJsonp||[]).push([[85],[function(t,e,r){"use strict";function n(t,source){for(var e=function(e){Object.defineProperty(t,e,{get:function(){return source[e]}})},r=0,n=Object.keys(source||{});r<n.length;r++){e(n[r])}}function o(t){if(!t._vmdModuleName)throw new Error("ERR_GET_MODULE_NAME : Could not get module accessor.\n      Make sure your module has name, we can't make accessors for unnamed modules\n      i.e. @Module({ name: 'something' })");return"vuexModuleDecorators/"+t._vmdModuleName}r.d(e,"a",(function(){return M})),r.d(e,"b",(function(){return y})),r.d(e,"c",(function(){return S})),r.d(e,"d",(function(){return h})),r.d(e,"e",(function(){return l}));var h=function(t){this.actions=t.actions,this.mutations=t.mutations,this.state=t.state,this.getters=t.getters,this.namespaced=t.namespaced,this.modules=t.modules};function l(t,e){var r=o(t);if(e&&e.getters[r])return e.getters[r];if(t._statics)return t._statics;var n=t._genStatic;if(!n)throw new Error("ERR_GET_MODULE_NO_STATICS : Could not get module accessor.\n      Make sure your module has name, we can't make accessors for unnamed modules\n      i.e. @Module({ name: 'something' })");var h=n(e);return e?e.getters[r]=h:t._statics=h,h}var c=["actions","getters","mutations","modules","state","namespaced","commit"];function f(t,e,r,n){return new(r||(r=Promise))((function(o,h){function l(t){try{f(n.next(t))}catch(t){h(t)}}function c(t){try{f(n.throw(t))}catch(t){h(t)}}function f(t){t.done?o(t.value):new r((function(e){e(t.value)})).then(l,c)}f((n=n.apply(t,e||[])).next())}))}function d(t,body){var e,r,n,g,o={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return g={next:h(0),throw:h(1),return:h(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function h(h){return function(l){return function(h){if(e)throw new TypeError("Generator is already executing.");for(;o;)try{if(e=1,r&&(n=2&h[0]?r.return:h[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,h[1])).done)return n;switch(r=0,n&&(h=[2&h[0],n.value]),h[0]){case 0:case 1:n=h;break;case 4:return o.label++,{value:h[1],done:!1};case 5:o.label++,r=h[1],h=[0];continue;case 7:h=o.ops.pop(),o.trys.pop();continue;default:if(!(n=o.trys,(n=n.length>0&&n[n.length-1])||6!==h[0]&&2!==h[0])){o=0;continue}if(3===h[0]&&(!n||h[1]>n[0]&&h[1]<n[3])){o.label=h[1];break}if(6===h[0]&&o.label<n[1]){o.label=n[1],n=h;break}if(n&&o.label<n[2]){o.label=n[2],o.ops.push(h);break}n[2]&&o.ops.pop(),o.trys.pop();continue}h=body.call(t,o)}catch(t){h=[6,t],r=0}finally{e=n=0}if(5&h[0])throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}([h,l])}}}function m(){for(var s=0,i=0,t=arguments.length;i<t;i++)s+=arguments[i].length;var e=Array(s),r=0;for(i=0;i<t;i++)for(var a=arguments[i],n=0,o=a.length;n<o;n++,r++)e[r]=a[n];return e}function v(t){return function(e){var r=e,o=function(){return function(t){var e=new t.prototype.constructor({}),s={};return Object.keys(e).forEach((function(t){if(-1===c.indexOf(t))e.hasOwnProperty(t)&&"function"!=typeof e[t]&&(s[t]=e[t]);else if(void 0!==e[t])throw new Error("ERR_RESERVED_STATE_KEY_USED: You cannot use the following\n        ['actions', 'getters', 'mutations', 'modules', 'state', 'namespaced', 'commit']\n        as fields in your module. These are reserved as they have special purpose in Vuex")})),s}(r)};r.state||(r.state=t&&t.stateFactory?o:o()),r.getters||(r.getters={}),r.namespaced||(r.namespaced=t&&t.namespaced),Object.getOwnPropertyNames(r.prototype).forEach((function(t){var e=Object.getOwnPropertyDescriptor(r.prototype,t);e.get&&r.getters&&(r.getters[t]=function(t,r,o,h){var l={context:{state:t,getters:r,rootState:o,rootGetters:h}};return n(l,t),n(l,r),e.get.call(l)})}));var h=t;return h.name&&(Object.defineProperty(e,"_genStatic",{value:function(t){var e={store:t||h.store};if(!e.store)throw new Error("ERR_STORE_NOT_PROVIDED: To use getModule(), either the module\n            should be decorated with store in decorator, i.e. @Module({store: store}) or\n            store should be passed when calling getModule(), i.e. getModule(MyModule, this.$store)");return function(t,e,r){var n=e.stateFactory?t.state():t.state;Object.keys(n).forEach((function(t){n.hasOwnProperty(t)&&-1===["undefined","function"].indexOf(typeof n[t])&&Object.defineProperty(r,t,{get:function(){return r.store.state[e.name][t]}})}))}(r,h,e),r.getters&&function(t,e,r){Object.keys(t.getters).forEach((function(n){t.namespaced?Object.defineProperty(r,n,{get:function(){return r.store.getters[e.name+"/"+n]}}):Object.defineProperty(r,n,{get:function(){return r.store.getters[n]}})}))}(r,h,e),r.mutations&&function(t,e,r){Object.keys(t.mutations).forEach((function(n){t.namespaced?r[n]=function(){for(var t,o=[],h=0;h<arguments.length;h++)o[h]=arguments[h];(t=r.store).commit.apply(t,m([e.name+"/"+n],o))}:r[n]=function(){for(var t,e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];(t=r.store).commit.apply(t,m([n],e))}}))}(r,h,e),r.actions&&function(t,e,r){Object.keys(t.actions).forEach((function(n){t.namespaced?r[n]=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return f(this,void 0,void 0,(function(){var o;return d(this,(function(h){return[2,(o=r.store).dispatch.apply(o,m([e.name+"/"+n],t))]}))}))}:r[n]=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return f(this,void 0,void 0,(function(){var e;return d(this,(function(o){return[2,(e=r.store).dispatch.apply(e,m([n],t))]}))}))}}))}(r,h,e),e}}),Object.defineProperty(e,"_vmdModuleName",{value:h.name})),h.dynamic&&function(t,e){if(!e.name)throw new Error("Name of module not provided in decorator options");if(!e.store)throw new Error("Store not provided in decorator options when using dynamic option");e.store.registerModule(e.name,t,{preserveState:e.preserveState||!1})}(r,h),e}}function y(t){if("function"!=typeof t)return v(t);v({})(t)}var w={};function _(t){var e=t||{},r=e.commit,h=void 0===r?void 0:r,c=e.rawError,m=void 0===c?!!w.rawError:c,v=e.root,y=void 0!==v&&v;return function(t,e,r){var c=t.constructor;c.hasOwnProperty("actions")||(c.actions=Object.assign({},c.actions));var v=r.value,w=function(t,r){return f(this,void 0,void 0,(function(){var f,y,w,_,M;return d(this,(function(d){switch(d.label){case 0:return d.trys.push([0,5,,6]),f=null,c._genStatic?(y=o(c),(w=t.rootGetters[y]?t.rootGetters[y]:l(c)).context=t,[4,v.call(w,r)]):[3,2];case 1:return f=d.sent(),[3,4];case 2:return n(_={context:t},t.state),n(_,t.getters),[4,v.call(_,r)];case 3:f=d.sent(),d.label=4;case 4:return h&&t.commit(h,f),[2,f];case 5:throw M=d.sent(),m?M:new Error('ERR_ACTION_ACCESS_UNDEFINED: Are you trying to access this.someMutation() or this.someGetter inside an @Action? \nThat works only in dynamic modules. \nIf not dynamic use this.context.commit("mutationName", payload) and this.context.getters["getterName"]\n'+new Error("Could not perform action "+e.toString()).stack+"\n"+M.stack);case 6:return[2]}}))}))};c.actions[e]=y?{root:y,handler:w}:w}}function M(t,e,r){if(!e&&!r)return _(t);_()(t,e,r)}function S(t,e,r){var n=t.constructor;n.hasOwnProperty("mutations")||(n.mutations=Object.assign({},n.mutations));var o=r.value;n.mutations[e]=function(t,e){o.call(t,e)}}},,,,,,,,,,,,,,,,function(t,e,r){"use strict";var map=r(704),n=r(705);t.exports=function(t,e){return e=Object.assign({deep:!0,exclude:[]},e),map(t,(function(t,r){return[(o=e.exclude,h=t,o.some((function(pattern){return"string"==typeof pattern?pattern===h:pattern.test(h)}))?t:n(t)),r];var o,h}),e)}},,,,,function(t,e,r){"use strict";r.d(e,"d",(function(){return o})),r.d(e,"h",(function(){return h})),r.d(e,"i",(function(){return l})),r.d(e,"f",(function(){return c})),r.d(e,"g",(function(){return f})),r.d(e,"e",(function(){return m})),r.d(e,"a",(function(){return v})),r.d(e,"b",(function(){return y})),r.d(e,"c",(function(){return w}));var n=r(29);function o(t){var object=t;Object.keys(object).forEach((function(t){try{object[t]=null}catch(t){}try{delete object[t]}catch(t){}}))}function h(t,e){return void 0===e&&(e=0),setTimeout(t,e)}function l(){return Date.now()}function c(t,e){void 0===e&&(e="x");var r,o,h,l=Object(n.b)(),c=function(t){var style,e=Object(n.b)();return e.getComputedStyle&&(style=e.getComputedStyle(t,null)),!style&&t.currentStyle&&(style=t.currentStyle),style||(style=t.style),style}(t);return l.WebKitCSSMatrix?((o=c.transform||c.webkitTransform).split(",").length>6&&(o=o.split(", ").map((function(a){return a.replace(",",".")})).join(", ")),h=new l.WebKitCSSMatrix("none"===o?"":o)):r=(h=c.MozTransform||c.OTransform||c.MsTransform||c.msTransform||c.transform||c.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===e&&(o=l.WebKitCSSMatrix?h.m41:16===r.length?parseFloat(r[12]):parseFloat(r[4])),"y"===e&&(o=l.WebKitCSSMatrix?h.m42:16===r.length?parseFloat(r[13]):parseFloat(r[5])),o||0}function f(t){return"object"==typeof t&&null!==t&&t.constructor&&"Object"===Object.prototype.toString.call(t).slice(8,-1)}function d(t){return"undefined"!=typeof window&&void 0!==window.HTMLElement?t instanceof HTMLElement:t&&(1===t.nodeType||11===t.nodeType)}function m(){for(var t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"],i=1;i<arguments.length;i+=1){var r=i<0||arguments.length<=i?void 0:arguments[i];if(null!=r&&!d(r))for(var n=Object.keys(Object(r)).filter((function(t){return e.indexOf(t)<0})),o=0,h=n.length;o<h;o+=1){var l=n[o],desc=Object.getOwnPropertyDescriptor(r,l);void 0!==desc&&desc.enumerable&&(f(t[l])&&f(r[l])?r[l].__swiper__?t[l]=r[l]:m(t[l],r[l]):!f(t[l])&&f(r[l])?(t[l]={},r[l].__swiper__?t[l]=r[l]:m(t[l],r[l])):t[l]=r[l])}}return t}function v(t,e){Object.keys(e).forEach((function(r){f(e[r])&&Object.keys(e[r]).forEach((function(n){"function"==typeof e[r][n]&&(e[r][n]=e[r][n].bind(t))})),t[r]=e[r]}))}function y(t){return void 0===t&&(t=""),"."+t.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}function w(t,e,r,o){var h=Object(n.a)();return r&&Object.keys(o).forEach((function(r){if(!e[r]&&!0===e.auto){var element=h.createElement("div");element.className=o[r],t.append(element),e[r]=element}})),e}},,,,function(t,e,r){(function(t,r){var n="[object Arguments]",o="[object Function]",h="[object GeneratorFunction]",l="[object Map]",c="[object Set]",f=/\w*$/,d=/^\[object .+?Constructor\]$/,m=/^(?:0|[1-9]\d*)$/,v={};v[n]=v["[object Array]"]=v["[object ArrayBuffer]"]=v["[object DataView]"]=v["[object Boolean]"]=v["[object Date]"]=v["[object Float32Array]"]=v["[object Float64Array]"]=v["[object Int8Array]"]=v["[object Int16Array]"]=v["[object Int32Array]"]=v[l]=v["[object Number]"]=v["[object Object]"]=v["[object RegExp]"]=v[c]=v["[object String]"]=v["[object Symbol]"]=v["[object Uint8Array]"]=v["[object Uint8ClampedArray]"]=v["[object Uint16Array]"]=v["[object Uint32Array]"]=!0,v["[object Error]"]=v[o]=v["[object WeakMap]"]=!1;var y="object"==typeof t&&t&&t.Object===Object&&t,w="object"==typeof self&&self&&self.Object===Object&&self,_=y||w||Function("return this")(),M=e&&!e.nodeType&&e,S=M&&"object"==typeof r&&r&&!r.nodeType&&r,x=S&&S.exports===M;function E(map,t){return map.set(t[0],t[1]),map}function A(t,e){return t.add(e),t}function T(t,e,r,n){var o=-1,h=t?t.length:0;for(n&&h&&(r=t[++o]);++o<h;)r=e(r,t[o],o,t);return r}function k(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function C(map){var t=-1,e=Array(map.size);return map.forEach((function(r,n){e[++t]=[n,r]})),e}function O(t,e){return function(r){return t(e(r))}}function I(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}var P,R=Array.prototype,j=Function.prototype,N=Object.prototype,L=_["__core-js_shared__"],D=(P=/[^.]+$/.exec(L&&L.keys&&L.keys.IE_PROTO||""))?"Symbol(src)_1."+P:"",B=j.toString,F=N.hasOwnProperty,U=N.toString,z=RegExp("^"+B.call(F).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),H=x?_.Buffer:void 0,G=_.Symbol,V=_.Uint8Array,$=O(Object.getPrototypeOf,Object),W=Object.create,Y=N.propertyIsEnumerable,K=R.splice,X=Object.getOwnPropertySymbols,Z=H?H.isBuffer:void 0,J=O(Object.keys,Object),Q=At(_,"DataView"),tt=At(_,"Map"),et=At(_,"Promise"),it=At(_,"Set"),nt=At(_,"WeakMap"),ot=At(Object,"create"),at=It(Q),st=It(tt),ht=It(et),ut=It(it),lt=It(nt),ct=G?G.prototype:void 0,ft=ct?ct.valueOf:void 0;function pt(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function mt(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function gt(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function vt(t){this.__data__=new mt(t)}function bt(t,e){var r=Rt(t)||function(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&jt(t)}(t)&&F.call(t,"callee")&&(!Y.call(t,"callee")||U.call(t)==n)}(t)?function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}(t.length,String):[],o=r.length,h=!!o;for(var l in t)!e&&!F.call(t,l)||h&&("length"==l||Ct(l,o))||r.push(l);return r}function yt(object,t,e){var r=object[t];F.call(object,t)&&Pt(r,e)&&(void 0!==e||t in object)||(object[t]=e)}function wt(t,e){for(var r=t.length;r--;)if(Pt(t[r][0],e))return r;return-1}function _t(t,e,r,d,m,object,y){var w;if(d&&(w=object?d(t,m,object,y):d(t)),void 0!==w)return w;if(!Dt(t))return t;var _=Rt(t);if(_){if(w=function(t){var e=t.length,r=t.constructor(e);e&&"string"==typeof t[0]&&F.call(t,"index")&&(r.index=t.index,r.input=t.input);return r}(t),!e)return function(source,t){var e=-1,r=source.length;t||(t=Array(r));for(;++e<r;)t[e]=source[e];return t}(t,w)}else{var M=kt(t),S=M==o||M==h;if(Nt(t))return function(t,e){if(e)return t.slice();var r=new t.constructor(t.length);return t.copy(r),r}(t,e);if("[object Object]"==M||M==n||S&&!object){if(k(t))return object?t:{};if(w=function(object){return"function"!=typeof object.constructor||Ot(object)?{}:(t=$(object),Dt(t)?W(t):{});var t}(S?{}:t),!e)return function(source,object){return xt(source,Tt(source),object)}(t,function(object,source){return object&&xt(source,Bt(source),object)}(w,t))}else{if(!v[M])return object?t:{};w=function(object,t,e,r){var n=object.constructor;switch(t){case"[object ArrayBuffer]":return St(object);case"[object Boolean]":case"[object Date]":return new n(+object);case"[object DataView]":return function(t,e){var r=e?St(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(object,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return function(t,e){var r=e?St(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}(object,r);case l:return function(map,t,e){return T(t?e(C(map),!0):C(map),E,new map.constructor)}(object,r,e);case"[object Number]":case"[object String]":return new n(object);case"[object RegExp]":return function(t){var e=new t.constructor(t.source,f.exec(t));return e.lastIndex=t.lastIndex,e}(object);case c:return function(t,e,r){return T(e?r(I(t),!0):I(t),A,new t.constructor)}(object,r,e);case"[object Symbol]":return symbol=object,ft?Object(ft.call(symbol)):{}}var symbol}(t,M,_t,e)}}y||(y=new vt);var x=y.get(t);if(x)return x;if(y.set(t,w),!_)var O=r?function(object){return function(object,t,e){var r=t(object);return Rt(object)?r:function(t,e){for(var r=-1,n=e.length,o=t.length;++r<n;)t[o+r]=e[r];return t}(r,e(object))}(object,Bt,Tt)}(t):Bt(t);return function(t,e){for(var r=-1,n=t?t.length:0;++r<n&&!1!==e(t[r],r,t););}(O||t,(function(n,o){O&&(n=t[o=n]),yt(w,o,_t(n,e,r,d,o,t,y))})),w}function Mt(t){return!(!Dt(t)||(e=t,D&&D in e))&&(Lt(t)||k(t)?z:d).test(It(t));var e}function St(t){var e=new t.constructor(t.byteLength);return new V(e).set(new V(t)),e}function xt(source,t,object,e){object||(object={});for(var r=-1,n=t.length;++r<n;){var o=t[r],h=e?e(object[o],source[o],o,object,source):void 0;yt(object,o,void 0===h?source[o]:h)}return object}function Et(map,t){var e,r,data=map.__data__;return("string"==(r=typeof(e=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==e:null===e)?data["string"==typeof t?"string":"hash"]:data.map}function At(object,t){var e=function(object,t){return null==object?void 0:object[t]}(object,t);return Mt(e)?e:void 0}pt.prototype.clear=function(){this.__data__=ot?ot(null):{}},pt.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},pt.prototype.get=function(t){var data=this.__data__;if(ot){var e=data[t];return"__lodash_hash_undefined__"===e?void 0:e}return F.call(data,t)?data[t]:void 0},pt.prototype.has=function(t){var data=this.__data__;return ot?void 0!==data[t]:F.call(data,t)},pt.prototype.set=function(t,e){return this.__data__[t]=ot&&void 0===e?"__lodash_hash_undefined__":e,this},mt.prototype.clear=function(){this.__data__=[]},mt.prototype.delete=function(t){var data=this.__data__,e=wt(data,t);return!(e<0)&&(e==data.length-1?data.pop():K.call(data,e,1),!0)},mt.prototype.get=function(t){var data=this.__data__,e=wt(data,t);return e<0?void 0:data[e][1]},mt.prototype.has=function(t){return wt(this.__data__,t)>-1},mt.prototype.set=function(t,e){var data=this.__data__,r=wt(data,t);return r<0?data.push([t,e]):data[r][1]=e,this},gt.prototype.clear=function(){this.__data__={hash:new pt,map:new(tt||mt),string:new pt}},gt.prototype.delete=function(t){return Et(this,t).delete(t)},gt.prototype.get=function(t){return Et(this,t).get(t)},gt.prototype.has=function(t){return Et(this,t).has(t)},gt.prototype.set=function(t,e){return Et(this,t).set(t,e),this},vt.prototype.clear=function(){this.__data__=new mt},vt.prototype.delete=function(t){return this.__data__.delete(t)},vt.prototype.get=function(t){return this.__data__.get(t)},vt.prototype.has=function(t){return this.__data__.has(t)},vt.prototype.set=function(t,e){var r=this.__data__;if(r instanceof mt){var n=r.__data__;if(!tt||n.length<199)return n.push([t,e]),this;r=this.__data__=new gt(n)}return r.set(t,e),this};var Tt=X?O(X,Object):function(){return[]},kt=function(t){return U.call(t)};function Ct(t,e){return!!(e=null==e?9007199254740991:e)&&("number"==typeof t||m.test(t))&&t>-1&&t%1==0&&t<e}function Ot(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||N)}function It(t){if(null!=t){try{return B.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Pt(t,e){return t===e||t!=t&&e!=e}(Q&&"[object DataView]"!=kt(new Q(new ArrayBuffer(1)))||tt&&kt(new tt)!=l||et&&"[object Promise]"!=kt(et.resolve())||it&&kt(new it)!=c||nt&&"[object WeakMap]"!=kt(new nt))&&(kt=function(t){var e=U.call(t),r="[object Object]"==e?t.constructor:void 0,n=r?It(r):void 0;if(n)switch(n){case at:return"[object DataView]";case st:return l;case ht:return"[object Promise]";case ut:return c;case lt:return"[object WeakMap]"}return e});var Rt=Array.isArray;function jt(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}(t.length)&&!Lt(t)}var Nt=Z||function(){return!1};function Lt(t){var e=Dt(t)?U.call(t):"";return e==o||e==h}function Dt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Bt(object){return jt(object)?bt(object):function(object){if(!Ot(object))return J(object);var t=[];for(var e in Object(object))F.call(object,e)&&"constructor"!=e&&t.push(e);return t}(object)}r.exports=function(t){return _t(t,!0,!0)}}).call(this,r(54),r(143)(t))},,function(t,e,r){"use strict";var n=r(29);function o(t){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function h(t,p){return(h=Object.setPrototypeOf||function(t,p){return t.__proto__=p,t})(t,p)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function c(t,e,r){return(c=l()?Reflect.construct:function(t,e,r){var a=[null];a.push.apply(a,e);var n=new(Function.bind.apply(t,a));return r&&h(n,r.prototype),n}).apply(null,arguments)}function f(t){var e="function"==typeof Map?new Map:void 0;return(f=function(t){if(null===t||(r=t,-1===Function.toString.call(r).indexOf("[native code]")))return t;var r;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return c(t,arguments,o(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),h(n,t)})(t)}var d=function(t){var e,r;function n(e){var r,n,o;return r=t.call.apply(t,[this].concat(e))||this,n=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(r),o=n.__proto__,Object.defineProperty(n,"__proto__",{get:function(){return o},set:function(t){o.__proto__=t}}),r}return r=t,(e=n).prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r,n}(f(Array));function m(t){void 0===t&&(t=[]);var e=[];return t.forEach((function(t){Array.isArray(t)?e.push.apply(e,m(t)):e.push(t)})),e}function v(t,e){return Array.prototype.filter.call(t,e)}function y(t,e){var r=Object(n.b)(),o=Object(n.a)(),h=[];if(!e&&t instanceof d)return t;if(!t)return new d(h);if("string"==typeof t){var html=t.trim();if(html.indexOf("<")>=0&&html.indexOf(">")>=0){var l="div";0===html.indexOf("<li")&&(l="ul"),0===html.indexOf("<tr")&&(l="tbody"),0!==html.indexOf("<td")&&0!==html.indexOf("<th")||(l="tr"),0===html.indexOf("<tbody")&&(l="table"),0===html.indexOf("<option")&&(l="select");var c=o.createElement(l);c.innerHTML=html;for(var i=0;i<c.childNodes.length;i+=1)h.push(c.childNodes[i])}else h=function(t,e){if("string"!=typeof t)return[t];for(var a=[],r=e.querySelectorAll(t),i=0;i<r.length;i+=1)a.push(r[i]);return a}(t.trim(),e||o)}else if(t.nodeType||t===r||t===o)h.push(t);else if(Array.isArray(t)){if(t instanceof d)return t;h=t}return new d(function(t){for(var e=[],i=0;i<t.length;i+=1)-1===e.indexOf(t[i])&&e.push(t[i]);return e}(h))}y.fn=d.prototype;var w="resize scroll".split(" ");function _(t){return function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];if(void 0===r[0]){for(var i=0;i<this.length;i+=1)w.indexOf(t)<0&&(t in this[i]?this[i][t]():y(this[i]).trigger(t));return this}return this.on.apply(this,[t].concat(r))}}_("click"),_("blur"),_("focus"),_("focusin"),_("focusout"),_("keyup"),_("keydown"),_("keypress"),_("submit"),_("change"),_("mousedown"),_("mousemove"),_("mouseup"),_("mouseenter"),_("mouseleave"),_("mouseout"),_("mouseover"),_("touchstart"),_("touchend"),_("touchmove"),_("resize"),_("scroll");var M={addClass:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=m(e.map((function(t){return t.split(" ")})));return this.forEach((function(t){var e;(e=t.classList).add.apply(e,n)})),this},removeClass:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=m(e.map((function(t){return t.split(" ")})));return this.forEach((function(t){var e;(e=t.classList).remove.apply(e,n)})),this},hasClass:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=m(e.map((function(t){return t.split(" ")})));return v(this,(function(t){return n.filter((function(e){return t.classList.contains(e)})).length>0})).length>0},toggleClass:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=m(e.map((function(t){return t.split(" ")})));this.forEach((function(t){n.forEach((function(e){t.classList.toggle(e)}))}))},attr:function(t,e){if(1===arguments.length&&"string"==typeof t)return this[0]?this[0].getAttribute(t):void 0;for(var i=0;i<this.length;i+=1)if(2===arguments.length)this[i].setAttribute(t,e);else for(var r in t)this[i][r]=t[r],this[i].setAttribute(r,t[r]);return this},removeAttr:function(t){for(var i=0;i<this.length;i+=1)this[i].removeAttribute(t);return this},transform:function(t){for(var i=0;i<this.length;i+=1)this[i].style.transform=t;return this},transition:function(t){for(var i=0;i<this.length;i+=1)this[i].style.transitionDuration="string"!=typeof t?t+"ms":t;return this},on:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0],o=e[1],h=e[2],l=e[3];function c(t){var e=t.target;if(e){var r=t.target.dom7EventData||[];if(r.indexOf(t)<0&&r.unshift(t),y(e).is(o))h.apply(e,r);else for(var n=y(e).parents(),l=0;l<n.length;l+=1)y(n[l]).is(o)&&h.apply(n[l],r)}}function f(t){var e=t&&t.target&&t.target.dom7EventData||[];e.indexOf(t)<0&&e.unshift(t),h.apply(this,e)}"function"==typeof e[1]&&(n=e[0],h=e[1],l=e[2],o=void 0),l||(l=!1);for(var d,m=n.split(" "),i=0;i<this.length;i+=1){var v=this[i];if(o)for(d=0;d<m.length;d+=1){var w=m[d];v.dom7LiveListeners||(v.dom7LiveListeners={}),v.dom7LiveListeners[w]||(v.dom7LiveListeners[w]=[]),v.dom7LiveListeners[w].push({listener:h,proxyListener:c}),v.addEventListener(w,c,l)}else for(d=0;d<m.length;d+=1){var _=m[d];v.dom7Listeners||(v.dom7Listeners={}),v.dom7Listeners[_]||(v.dom7Listeners[_]=[]),v.dom7Listeners[_].push({listener:h,proxyListener:f}),v.addEventListener(_,f,l)}}return this},off:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n=e[0],o=e[1],h=e[2],l=e[3];"function"==typeof e[1]&&(n=e[0],h=e[1],l=e[2],o=void 0),l||(l=!1);for(var c=n.split(" "),i=0;i<c.length;i+=1)for(var f=c[i],d=0;d<this.length;d+=1){var m=this[d],v=void 0;if(!o&&m.dom7Listeners?v=m.dom7Listeners[f]:o&&m.dom7LiveListeners&&(v=m.dom7LiveListeners[f]),v&&v.length)for(var y=v.length-1;y>=0;y-=1){var w=v[y];h&&w.listener===h||h&&w.listener&&w.listener.dom7proxy&&w.listener.dom7proxy===h?(m.removeEventListener(f,w.proxyListener,l),v.splice(y,1)):h||(m.removeEventListener(f,w.proxyListener,l),v.splice(y,1))}}return this},trigger:function(){for(var t=Object(n.b)(),e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];for(var h=r[0].split(" "),l=r[1],i=0;i<h.length;i+=1)for(var c=h[i],f=0;f<this.length;f+=1){var d=this[f];if(t.CustomEvent){var m=new t.CustomEvent(c,{detail:l,bubbles:!0,cancelable:!0});d.dom7EventData=r.filter((function(data,t){return t>0})),d.dispatchEvent(m),d.dom7EventData=[],delete d.dom7EventData}}return this},transitionEnd:function(t){var e=this;return t&&e.on("transitionend",(function r(n){n.target===this&&(t.call(this,n),e.off("transitionend",r))})),this},outerWidth:function(t){if(this.length>0){if(t){var e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(t){if(this.length>0){if(t){var e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){var t=Object(n.b)();return this[0]?t.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){var t=Object(n.b)(),e=Object(n.a)(),r=this[0],o=r.getBoundingClientRect(),body=e.body,h=r.clientTop||body.clientTop||0,l=r.clientLeft||body.clientLeft||0,c=r===t?t.scrollY:r.scrollTop,f=r===t?t.scrollX:r.scrollLeft;return{top:o.top+c-h,left:o.left+f-l}}return null},css:function(t,e){var i,r=Object(n.b)();if(1===arguments.length){if("string"!=typeof t){for(i=0;i<this.length;i+=1)for(var o in t)this[i].style[o]=t[o];return this}if(this[0])return r.getComputedStyle(this[0],null).getPropertyValue(t)}if(2===arguments.length&&"string"==typeof t){for(i=0;i<this.length;i+=1)this[i].style[t]=e;return this}return this},each:function(t){return t?(this.forEach((function(e,r){t.apply(e,[e,r])})),this):this},html:function(html){if(void 0===html)return this[0]?this[0].innerHTML:null;for(var i=0;i<this.length;i+=1)this[i].innerHTML=html;return this},text:function(text){if(void 0===text)return this[0]?this[0].textContent.trim():null;for(var i=0;i<this.length;i+=1)this[i].textContent=text;return this},is:function(t){var e,i,r=Object(n.b)(),o=Object(n.a)(),h=this[0];if(!h||void 0===t)return!1;if("string"==typeof t){if(h.matches)return h.matches(t);if(h.webkitMatchesSelector)return h.webkitMatchesSelector(t);if(h.msMatchesSelector)return h.msMatchesSelector(t);for(e=y(t),i=0;i<e.length;i+=1)if(e[i]===h)return!0;return!1}if(t===o)return h===o;if(t===r)return h===r;if(t.nodeType||t instanceof d){for(e=t.nodeType?[t]:t,i=0;i<e.length;i+=1)if(e[i]===h)return!0;return!1}return!1},index:function(){var i,t=this[0];if(t){for(i=0;null!==(t=t.previousSibling);)1===t.nodeType&&(i+=1);return i}},eq:function(t){if(void 0===t)return this;var e=this.length;if(t>e-1)return y([]);if(t<0){var r=e+t;return y(r<0?[]:[this[r]])}return y([this[t]])},append:function(){for(var t,e=Object(n.a)(),r=0;r<arguments.length;r+=1){t=r<0||arguments.length<=r?void 0:arguments[r];for(var i=0;i<this.length;i+=1)if("string"==typeof t){var o=e.createElement("div");for(o.innerHTML=t;o.firstChild;)this[i].appendChild(o.firstChild)}else if(t instanceof d)for(var h=0;h<t.length;h+=1)this[i].appendChild(t[h]);else this[i].appendChild(t)}return this},prepend:function(t){var i,e,r=Object(n.a)();for(i=0;i<this.length;i+=1)if("string"==typeof t){var o=r.createElement("div");for(o.innerHTML=t,e=o.childNodes.length-1;e>=0;e-=1)this[i].insertBefore(o.childNodes[e],this[i].childNodes[0])}else if(t instanceof d)for(e=0;e<t.length;e+=1)this[i].insertBefore(t[e],this[i].childNodes[0]);else this[i].insertBefore(t,this[i].childNodes[0]);return this},next:function(t){return this.length>0?t?this[0].nextElementSibling&&y(this[0].nextElementSibling).is(t)?y([this[0].nextElementSibling]):y([]):this[0].nextElementSibling?y([this[0].nextElementSibling]):y([]):y([])},nextAll:function(t){var e=[],r=this[0];if(!r)return y([]);for(;r.nextElementSibling;){var n=r.nextElementSibling;t?y(n).is(t)&&e.push(n):e.push(n),r=n}return y(e)},prev:function(t){if(this.length>0){var e=this[0];return t?e.previousElementSibling&&y(e.previousElementSibling).is(t)?y([e.previousElementSibling]):y([]):e.previousElementSibling?y([e.previousElementSibling]):y([])}return y([])},prevAll:function(t){var e=[],r=this[0];if(!r)return y([]);for(;r.previousElementSibling;){var n=r.previousElementSibling;t?y(n).is(t)&&e.push(n):e.push(n),r=n}return y(e)},parent:function(t){for(var e=[],i=0;i<this.length;i+=1)null!==this[i].parentNode&&(t?y(this[i].parentNode).is(t)&&e.push(this[i].parentNode):e.push(this[i].parentNode));return y(e)},parents:function(t){for(var e=[],i=0;i<this.length;i+=1)for(var r=this[i].parentNode;r;)t?y(r).is(t)&&e.push(r):e.push(r),r=r.parentNode;return y(e)},closest:function(t){var e=this;return void 0===t?y([]):(e.is(t)||(e=e.parents(t).eq(0)),e)},find:function(t){for(var e=[],i=0;i<this.length;i+=1)for(var r=this[i].querySelectorAll(t),n=0;n<r.length;n+=1)e.push(r[n]);return y(e)},children:function(t){for(var e=[],i=0;i<this.length;i+=1)for(var r=this[i].children,n=0;n<r.length;n+=1)t&&!y(r[n]).is(t)||e.push(r[n]);return y(e)},filter:function(t){return y(v(this,t))},remove:function(){for(var i=0;i<this.length;i+=1)this[i].parentNode&&this[i].parentNode.removeChild(this[i]);return this}};Object.keys(M).forEach((function(t){Object.defineProperty(y.fn,t,{value:M[t],writable:!0})}));e.a=y},,function(t,e,r){"use strict";function n(t){return null!==t&&"object"==typeof t&&"constructor"in t&&t.constructor===Object}function o(t,e){void 0===t&&(t={}),void 0===e&&(e={}),Object.keys(e).forEach((function(r){void 0===t[r]?t[r]=e[r]:n(e[r])&&n(t[r])&&Object.keys(e[r]).length>0&&o(t[r],e[r])}))}r.d(e,"a",(function(){return l})),r.d(e,"b",(function(){return f}));var h={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function l(){var t="undefined"!=typeof document?document:{};return o(t,h),t}var c={document:h,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(t){return"undefined"==typeof setTimeout?(t(),null):setTimeout(t,0)},cancelAnimationFrame:function(t){"undefined"!=typeof setTimeout&&clearTimeout(t)}};function f(){var t="undefined"!=typeof window?window:{};return o(t,c),t}},,,function(t,e,r){"use strict";r.r(e),r.d(e,"__extends",(function(){return o})),r.d(e,"__assign",(function(){return h})),r.d(e,"__rest",(function(){return l})),r.d(e,"__decorate",(function(){return c})),r.d(e,"__param",(function(){return f})),r.d(e,"__metadata",(function(){return d})),r.d(e,"__awaiter",(function(){return m})),r.d(e,"__generator",(function(){return v})),r.d(e,"__createBinding",(function(){return y})),r.d(e,"__exportStar",(function(){return w})),r.d(e,"__values",(function(){return _})),r.d(e,"__read",(function(){return M})),r.d(e,"__spread",(function(){return S})),r.d(e,"__spreadArrays",(function(){return x})),r.d(e,"__await",(function(){return E})),r.d(e,"__asyncGenerator",(function(){return A})),r.d(e,"__asyncDelegator",(function(){return T})),r.d(e,"__asyncValues",(function(){return k})),r.d(e,"__makeTemplateObject",(function(){return C})),r.d(e,"__importStar",(function(){return O})),r.d(e,"__importDefault",(function(){return I})),r.d(e,"__classPrivateFieldGet",(function(){return P})),r.d(e,"__classPrivateFieldSet",(function(){return R}));var n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)b.hasOwnProperty(p)&&(t[p]=b[p])})(t,b)};function o(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)}var h=function(){return(h=Object.assign||function(t){for(var s,i=1,e=arguments.length;i<e;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p]);return t}).apply(this,arguments)};function l(s,t){var e={};for(var p in s)Object.prototype.hasOwnProperty.call(s,p)&&t.indexOf(p)<0&&(e[p]=s[p]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(p=Object.getOwnPropertySymbols(s);i<p.length;i++)t.indexOf(p[i])<0&&Object.prototype.propertyIsEnumerable.call(s,p[i])&&(e[p[i]]=s[p[i]])}return e}function c(t,e,r,desc){var n,o=arguments.length,h=o<3?e:null===desc?desc=Object.getOwnPropertyDescriptor(e,r):desc;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)h=Reflect.decorate(t,e,r,desc);else for(var i=t.length-1;i>=0;i--)(n=t[i])&&(h=(o<3?n(h):o>3?n(e,r,h):n(e,r))||h);return o>3&&h&&Object.defineProperty(e,r,h),h}function f(t,e){return function(r,n){e(r,n,t)}}function d(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function m(t,e,r,n){return new(r||(r=Promise))((function(o,h){function l(t){try{f(n.next(t))}catch(t){h(t)}}function c(t){try{f(n.throw(t))}catch(t){h(t)}}function f(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(l,c)}f((n=n.apply(t,e||[])).next())}))}function v(t,body){var e,r,n,g,o={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return g={next:h(0),throw:h(1),return:h(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function h(h){return function(l){return function(h){if(e)throw new TypeError("Generator is already executing.");for(;o;)try{if(e=1,r&&(n=2&h[0]?r.return:h[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,h[1])).done)return n;switch(r=0,n&&(h=[2&h[0],n.value]),h[0]){case 0:case 1:n=h;break;case 4:return o.label++,{value:h[1],done:!1};case 5:o.label++,r=h[1],h=[0];continue;case 7:h=o.ops.pop(),o.trys.pop();continue;default:if(!(n=o.trys,(n=n.length>0&&n[n.length-1])||6!==h[0]&&2!==h[0])){o=0;continue}if(3===h[0]&&(!n||h[1]>n[0]&&h[1]<n[3])){o.label=h[1];break}if(6===h[0]&&o.label<n[1]){o.label=n[1],n=h;break}if(n&&o.label<n[2]){o.label=n[2],o.ops.push(h);break}n[2]&&o.ops.pop(),o.trys.pop();continue}h=body.call(t,o)}catch(t){h=[6,t],r=0}finally{e=n=0}if(5&h[0])throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}([h,l])}}}function y(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}function w(t,e){for(var p in t)"default"===p||e.hasOwnProperty(p)||(e[p]=t[p])}function _(t){var s="function"==typeof Symbol&&Symbol.iterator,e=s&&t[s],i=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}function M(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),h=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)h.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return h}function S(){for(var t=[],i=0;i<arguments.length;i++)t=t.concat(M(arguments[i]));return t}function x(){for(var s=0,i=0,t=arguments.length;i<t;i++)s+=arguments[i].length;var e=Array(s),r=0;for(i=0;i<t;i++)for(var a=arguments[i],n=0,o=a.length;n<o;n++,r++)e[r]=a[n];return e}function E(t){return this instanceof E?(this.v=t,this):new E(t)}function A(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,g=r.apply(t,e||[]),q=[];return i={},n("next"),n("throw"),n("return"),i[Symbol.asyncIterator]=function(){return this},i;function n(t){g[t]&&(i[t]=function(e){return new Promise((function(a,b){q.push([t,e,a,b])>1||o(t,e)}))})}function o(t,e){try{(r=g[t](e)).value instanceof E?Promise.resolve(r.value.v).then(h,l):c(q[0][2],r)}catch(t){c(q[0][3],t)}var r}function h(t){o("next",t)}function l(t){o("throw",t)}function c(t,e){t(e),q.shift(),q.length&&o(q[0][0],q[0][1])}}function T(t){var i,p;return i={},e("next"),e("throw",(function(t){throw t})),e("return"),i[Symbol.iterator]=function(){return this},i;function e(e,r){i[e]=t[e]?function(n){return(p=!p)?{value:E(t[e](n)),done:"return"===e}:r?r(n):n}:r}}function k(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,e=t[Symbol.asyncIterator];return e?e.call(t):(t=_(t),i={},r("next"),r("throw"),r("return"),i[Symbol.asyncIterator]=function(){return this},i);function r(e){i[e]=t[e]&&function(r){return new Promise((function(n,o){(function(t,e,r,n){Promise.resolve(n).then((function(e){t({value:e,done:r})}),e)})(n,o,(r=t[e](r)).done,r.value)}))}}}function C(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function O(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function I(t){return t&&t.__esModule?t:{default:t}}function P(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)}function R(t,e,r){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,r),r}},,,function(t,e,r){t.exports=function(){"use strict";var t=6e4,e=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",n="week",o="month",h="quarter",l="year",c="date",f="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||e[0])+"]"}},y=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},w={s:y,z:function(t){var e=-t.utcOffset(),r=Math.abs(e),n=Math.floor(r/60),i=r%60;return(e<=0?"+":"-")+y(n,2,"0")+":"+y(i,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var n=12*(r.year()-e.year())+(r.month()-e.month()),i=e.clone().add(n,o),s=r-i<0,u=e.clone().add(n+(s?-1:1),o);return+(-(n+(r-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:o,y:l,w:n,d:a,D:c,h:u,m:s,s:i,ms:r,Q:h}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",_={};_[g]=v;var p="$isDayjsObject",M=function(t){return t instanceof E||!(!t||!t[p])},S=function t(e,r,n){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();_[s]&&(i=s),r&&(_[s]=r,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else{var a=e.name;_[a]=e,i=a}return!n&&i&&(g=i),i||!n&&g},x=function(t,e){if(M(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new E(r)},b=w;b.l=S,b.i=M,b.w=function(t,e){return x(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var E=function(){function v(t){this.$L=S(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0}var y=v.prototype;return y.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(d);if(n){var i=n[2]-1||0,s=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,s)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,s)}}return new Date(e)}(t),this.init()},y.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},y.$utils=function(){return b},y.isValid=function(){return!(this.$d.toString()===f)},y.isSame=function(t,e){var r=x(t);return this.startOf(e)<=r&&r<=this.endOf(e)},y.isAfter=function(t,e){return x(t)<this.startOf(e)},y.isBefore=function(t,e){return this.endOf(e)<x(t)},y.$g=function(t,e,r){return b.u(t)?this[e]:this.set(r,t)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(t,e){var r=this,h=!!b.u(e)||e,f=b.p(t),d=function(t,e){var i=b.w(r.$u?Date.UTC(r.$y,e,t):new Date(r.$y,e,t),r);return h?i:i.endOf(a)},m=function(t,e){return b.w(r.toDate()[t].apply(r.toDate("s"),(h?[0,0,0,0]:[23,59,59,999]).slice(e)),r)},v=this.$W,y=this.$M,w=this.$D,_="set"+(this.$u?"UTC":"");switch(f){case l:return h?d(1,0):d(31,11);case o:return h?d(1,y):d(0,y+1);case n:var g=this.$locale().weekStart||0,M=(v<g?v+7:v)-g;return d(h?w-M:w+(6-M),y);case a:case c:return m(_+"Hours",0);case u:return m(_+"Minutes",1);case s:return m(_+"Seconds",2);case i:return m(_+"Milliseconds",3);default:return this.clone()}},y.endOf=function(t){return this.startOf(t,!1)},y.$set=function(t,e){var n,h=b.p(t),f="set"+(this.$u?"UTC":""),d=(n={},n[a]=f+"Date",n[c]=f+"Date",n[o]=f+"Month",n[l]=f+"FullYear",n[u]=f+"Hours",n[s]=f+"Minutes",n[i]=f+"Seconds",n[r]=f+"Milliseconds",n)[h],m=h===a?this.$D+(e-this.$W):e;if(h===o||h===l){var v=this.clone().set(c,1);v.$d[d](m),v.init(),this.$d=v.set(c,Math.min(this.$D,v.daysInMonth())).$d}else d&&this.$d[d](m);return this.init(),this},y.set=function(t,e){return this.clone().$set(t,e)},y.get=function(t){return this[b.p(t)]()},y.add=function(r,h){var c,f=this;r=Number(r);var d=b.p(h),m=function(t){var e=x(f);return b.w(e.date(e.date()+Math.round(t*r)),f)};if(d===o)return this.set(o,this.$M+r);if(d===l)return this.set(l,this.$y+r);if(d===a)return m(1);if(d===n)return m(7);var v=(c={},c[s]=t,c[u]=e,c[i]=1e3,c)[d]||1,y=this.$d.getTime()+r*v;return b.w(y,this)},y.subtract=function(t,e){return this.add(-1*t,e)},y.format=function(t){var e=this,r=this.$locale();if(!this.isValid())return r.invalidDate||f;var n=t||"YYYY-MM-DDTHH:mm:ssZ",i=b.z(this),s=this.$H,u=this.$m,a=this.$M,o=r.weekdays,h=r.months,l=r.meridiem,c=function(t,r,i,s){return t&&(t[r]||t(e,n))||i[r].slice(0,s)},d=function(t){return b.s(s%12||12,t,"0")},v=l||function(t,e,r){var n=t<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(m,(function(t,n){return n||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return b.s(e.$y,4,"0");case"M":return a+1;case"MM":return b.s(a+1,2,"0");case"MMM":return c(r.monthsShort,a,h,3);case"MMMM":return c(h,a);case"D":return e.$D;case"DD":return b.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return c(r.weekdaysMin,e.$W,o,2);case"ddd":return c(r.weekdaysShort,e.$W,o,3);case"dddd":return o[e.$W];case"H":return String(s);case"HH":return b.s(s,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return v(s,u,!0);case"A":return v(s,u,!1);case"m":return String(u);case"mm":return b.s(u,2,"0");case"s":return String(e.$s);case"ss":return b.s(e.$s,2,"0");case"SSS":return b.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")}))},y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(r,c,f){var d,m=this,v=b.p(c),y=x(r),w=(y.utcOffset()-this.utcOffset())*t,g=this-y,_=function(){return b.m(m,y)};switch(v){case l:d=_()/12;break;case o:d=_();break;case h:d=_()/3;break;case n:d=(g-w)/6048e5;break;case a:d=(g-w)/864e5;break;case u:d=g/e;break;case s:d=g/t;break;case i:d=g/1e3;break;default:d=g}return f?d:b.a(d)},y.daysInMonth=function(){return this.endOf(o).$D},y.$locale=function(){return _[this.$L]},y.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),n=S(t,e,!0);return n&&(r.$L=n),r},y.clone=function(){return b.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},v}(),A=E.prototype;return x.prototype=A,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",o],["$y",l],["$D",c]].forEach((function(t){A[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),x.extend=function(t,e){return t.$i||(t(e,E,x),t.$i=!0),x},x.locale=S,x.isDayjs=M,x.unix=function(t){return x(1e3*t)},x.en=_[g],x.Ls=_,x.p={},x}()},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},,,,,,,,function(t,e,r){"use strict";r.d(e,"a",(function(){return yt})),r.d(e,"b",(function(){return gt})),r.d(e,"c",(function(){return P})),r.d(e,"d",(function(){return X}));var n=r(17),o=function(){return(o=Object.assign||function(t){for(var s,i=1,e=arguments.length;i<e;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p]);return t}).apply(this,arguments)};function h(t,e,r,n){return new(r||(r=Promise))((function(o,h){function l(t){try{f(n.next(t))}catch(t){h(t)}}function c(t){try{f(n.throw(t))}catch(t){h(t)}}function f(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(l,c)}f((n=n.apply(t,e||[])).next())}))}function l(t,body){var e,r,n,g,o={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return g={next:h(0),throw:h(1),return:h(2)},"function"==typeof Symbol&&(g[Symbol.iterator]=function(){return this}),g;function h(h){return function(l){return function(h){if(e)throw new TypeError("Generator is already executing.");for(;o;)try{if(e=1,r&&(n=2&h[0]?r.return:h[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,h[1])).done)return n;switch(r=0,n&&(h=[2&h[0],n.value]),h[0]){case 0:case 1:n=h;break;case 4:return o.label++,{value:h[1],done:!1};case 5:o.label++,r=h[1],h=[0];continue;case 7:h=o.ops.pop(),o.trys.pop();continue;default:if(!(n=o.trys,(n=n.length>0&&n[n.length-1])||6!==h[0]&&2!==h[0])){o=0;continue}if(3===h[0]&&(!n||h[1]>n[0]&&h[1]<n[3])){o.label=h[1];break}if(6===h[0]&&o.label<n[1]){o.label=n[1],n=h;break}if(n&&o.label<n[2]){o.label=n[2],o.ops.push(h);break}n[2]&&o.ops.pop(),o.trys.pop();continue}h=body.call(t,o)}catch(t){h=[6,t],r=0}finally{e=n=0}if(5&h[0])throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}([h,l])}}}function c(){for(var s=0,i=0,t=arguments.length;i<t;i++)s+=arguments[i].length;var e=Array(s),r=0;for(i=0;i<t;i++)for(var a=arguments[i],n=0,o=a.length;n<o;n++,r++)e[r]=a[n];return e}function f(t){return t!=t}function d(t){return null==t}var m=function(t){return null!==t&&t&&"object"==typeof t&&!Array.isArray(t)};function v(t,e){return!(!f(t)||!f(e))||t===e}function y(t,e){if(t instanceof RegExp&&e instanceof RegExp)return y(t.source,e.source)&&y(t.flags,e.flags);if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;for(var i=0;i<t.length;i++)if(!y(t[i],e[i]))return!1;return!0}return m(t)&&m(e)?Object.keys(t).every((function(r){return y(t[r],e[r])}))&&Object.keys(e).every((function(r){return y(t[r],e[r])})):v(t,e)}function w(t){return""!==t&&!d(t)}function _(t){return"function"==typeof t}function M(t){return _(t)&&!!t.__locatorRef}function S(t,e){var r=Array.isArray(t)?t:E(t);if(_(r.findIndex))return r.findIndex(e);for(var i=0;i<r.length;i++)if(e(r[i],i))return i;return-1}function x(t,e){return-1!==t.indexOf(e)}function E(t){return _(Array.from)?Array.from(t):function(t){for(var e=[],r=t.length,i=0;i<r;i++)e.push(t[i]);return e}(t)}function A(t){return _(Object.values)?Object.values(t):Object.keys(t).map((function(e){return t[e]}))}function T(t,source){return Object.keys(source).forEach((function(e){if(m(source[e]))return t[e]||(t[e]={}),void T(t[e],source[e]);t[e]=source[e]})),t}function k(t,e,r){return void 0===e&&(e=0),void 0===r&&(r={cancelled:!1}),0===e?t:function(){for(var o=[],h=0;h<arguments.length;h++)o[h]=arguments[h];var l=function(){n=void 0,r.cancelled||t.apply(void 0,o)};clearTimeout(n),n=setTimeout(l,e)};var n}function C(template,t){return template.replace(/{([^}]+)}/g,(function(e,p){return p in t?t[p]:"{"+p+"}"}))}var O={};var I=function(){function t(){}return t.extend=function(t,e){var r=function(t){var e;return(null===(e=t.params)||void 0===e?void 0:e.length)&&(t.params=t.params.map((function(param){return"string"==typeof param?{name:param}:param}))),t}(e);O[t]?O[t]=T(O[t],e):O[t]=o({lazy:!1,computesRequired:!1},r)},t.isLazy=function(t){var e;return!!(null===(e=O[t])||void 0===e?void 0:e.lazy)},t.isRequireRule=function(t){var e;return!!(null===(e=O[t])||void 0===e?void 0:e.computesRequired)},t.getRuleDefinition=function(t){return O[t]},t}();function P(t,e){!function(t,e){if(_(e))return;if(_(e.validate))return;if(I.getRuleDefinition(t))return;throw new Error("Extension Error: The validator '"+t+"' must be a function or have a 'validate' method.")}(t,e),"object"!=typeof e?I.extend(t,{validate:e}):I.extend(t,e)}var R=o({},{defaultMessage:"{_field_} is not valid.",skipOptional:!0,classes:{touched:"touched",untouched:"untouched",valid:"valid",invalid:"invalid",pristine:"pristine",dirty:"dirty"},bails:!0,mode:"aggressive",useConstraintAttrs:!0}),j=function(){return R},N=function(t){R=o(o({},R),t)};function L(t){var e,r={};return Object.defineProperty(r,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),t?m(t)&&t._$$isNormalized?t:m(t)?Object.keys(t).reduce((function(e,r){var n=[];return n=!0===t[r]?[]:Array.isArray(t[r])||m(t[r])?t[r]:[t[r]],!1!==t[r]&&(e[r]=D(r,n)),e}),r):"string"!=typeof t?(e="rules must be either a string or an object.",console.warn("[vee-validate] "+e),r):t.split("|").reduce((function(t,e){var r=B(e);return r.name?(t[r.name]=D(r.name,r.params),t):t}),r):r}function D(t,e){var r=I.getRuleDefinition(t);if(!r)return e;var n,o,h={};if(!r.params&&!Array.isArray(e))throw new Error("You provided an object params to a rule that has no defined schema.");if(Array.isArray(e)&&!r.params)return e;!r.params||r.params.length<e.length&&Array.isArray(e)?n=e.map((function(t,e){var n,param=null===(n=r.params)||void 0===n?void 0:n[e];return o=param||o,param||(param=o),param})):n=r.params;for(var i=0;i<n.length;i++){var l=n[i],c=l.default;Array.isArray(e)?i in e&&(c=e[i]):l.name in e?c=e[l.name]:1===n.length&&(c=e),l.isTarget&&(c=F(c,l.cast)),"string"==typeof c&&"@"===c[0]&&(c=F(c.slice(1),l.cast)),!M(c)&&l.cast&&(c=l.cast(c)),h[l.name]?(h[l.name]=Array.isArray(h[l.name])?h[l.name]:[h[l.name]],h[l.name].push(c)):h[l.name]=c}return h}var B=function(t){var e=[],r=t.split(":")[0];return x(t,":")&&(e=t.split(":").slice(1).join(":").split(",")),{name:r,params:e}};function F(t,e){var r=function(r){var n=r[t];return e?e(n):n};return r.__locatorRef=t,r}function U(t,e,r){return void 0===r&&(r={}),h(this,void 0,void 0,(function(){var n,o,h,c,f,d;return l(this,(function(l){switch(l.label){case 0:return n=null==r?void 0:r.bails,o=null==r?void 0:r.skipIfEmpty,[4,z({name:(null==r?void 0:r.name)||"{field}",rules:L(e),bails:null==n||n,skipIfEmpty:null==o||o,forceRequired:!1,crossTable:(null==r?void 0:r.values)||{},names:(null==r?void 0:r.names)||{},customMessages:(null==r?void 0:r.customMessages)||{}},t,r)];case 1:return h=l.sent(),c=[],f={},d={},h.errors.forEach((function(t){var e=t.msg();c.push(e),f[t.rule]=e,d[t.rule]=t.msg})),[2,{valid:h.valid,errors:c,failedRules:f,regenerateMap:d}]}}))}))}function z(t,e,r){var n=(void 0===r?{}:r).isInitial,o=void 0!==n&&n;return h(this,void 0,void 0,(function(){var r,n,h,c,f,i,d,m;return l(this,(function(l){switch(l.label){case 0:return[4,H(t,e)];case 1:if(r=l.sent(),n=r.shouldSkip,h=r.errors,n)return[2,{valid:!h.length,errors:h}];c=Object.keys(t.rules).filter((function(t){return!I.isRequireRule(t)})),f=c.length,i=0,l.label=2;case 2:return i<f?o&&I.isLazy(c[i])?[3,4]:(d=c[i],[4,G(t,e,{name:d,params:t.rules[d]})]):[3,5];case 3:if(!(m=l.sent()).valid&&m.error&&(h.push(m.error),t.bails))return[2,{valid:!1,errors:h}];l.label=4;case 4:return i++,[3,2];case 5:return[2,{valid:!h.length,errors:h}]}}))}))}function H(t,e){return h(this,void 0,void 0,(function(){var r,n,o,h,c,f,i,v,y;return l(this,(function(l){switch(l.label){case 0:r=Object.keys(t.rules).filter(I.isRequireRule),n=r.length,o=[],h=d(e)||""===e||(w=e,Array.isArray(w)&&0===w.length),c=h&&t.skipIfEmpty,f=!1,i=0,l.label=1;case 1:return i<n?(v=r[i],[4,G(t,e,{name:v,params:t.rules[v]})]):[3,4];case 2:if(y=l.sent(),!m(y))throw new Error("Require rules has to return an object (see docs)");if(y.required&&(f=!0),!y.valid&&y.error&&(o.push(y.error),t.bails))return[2,{shouldSkip:!0,errors:o}];l.label=3;case 3:return i++,[3,1];case 4:return(!h||f||t.skipIfEmpty)&&(t.bails||c)?[2,{shouldSkip:!f&&h,errors:o}]:[2,{shouldSkip:!1,errors:o}]}var w}))}))}function G(t,e,r){return h(this,void 0,void 0,(function(){var n,h,c,f,d;return l(this,(function(l){switch(l.label){case 0:if(!(n=I.getRuleDefinition(r.name))||!n.validate)throw new Error("No such validator '"+r.name+"' exists.");return h=n.castValue?n.castValue(e):e,c=function(t,e){if(Array.isArray(t))return t;var r={};return Object.keys(t).forEach((function(param){r[param]=function(t){if(M(t))return t(e);return t}(t[param])})),r}(r.params,t.crossTable),[4,n.validate(h,c)];case 1:return"string"==typeof(f=l.sent())?(d=o(o({},c||{}),{_field_:t.name,_value_:e,_rule_:r.name}),[2,{valid:!1,error:{rule:r.name,msg:function(){return C(f,d)}}}]):(m(f)||(f={valid:f}),[2,{valid:f.valid,required:f.required,error:f.valid?void 0:V(t,e,n,r.name,c)}])}}))}))}function V(t,e,r,n,h){var l,c=null!==(l=t.customMessages[n])&&void 0!==l?l:r.message,f=function(t,e,r){var n=e.params;if(!n)return{};if(n.filter((function(param){return param.isTarget})).length<=0)return{};var o={},h=t.rules[r];!Array.isArray(h)&&m(h)&&(h=n.map((function(param){return h[param.name]})));for(var l=0;l<n.length;l++){var param=n[l],c=h[l];if(M(c)){c=c.__locatorRef;var f=t.names[c]||c;o[param.name]=f,o["_"+param.name+"_"]=t.crossTable[c]}}return o}(t,r,n),d=function(t,e,r,n){var o={},h=t.rules[r],l=e.params||[];if(!h)return{};return Object.keys(h).forEach((function(e,r){var n=h[e];if(!M(n))return{};var param=l[r];if(!param)return{};var c=n.__locatorRef;o[param.name]=t.names[c]||c,o["_"+param.name+"_"]=t.crossTable[c]})),{userTargets:o,userMessage:n}}(t,r,n,c),v=d.userTargets,y=d.userMessage,w=o(o(o(o({},h||{}),{_field_:t.name,_value_:e,_rule_:n}),f),v);return{msg:function(){return function(template,t,e){if("function"==typeof template)return template(t,e);return C(template,o(o({},e),{_field_:t}))}(y||j().defaultMessage,t.name,w)},rule:n}}var $={aggressive:function(){return{on:["input","blur"]}},eager:function(t){return t.errors.length?{on:["input","change"]}:{on:["change","blur"]}},passive:function(){return{on:[]}},lazy:function(){return{on:["change"]}}},W=new n.default;var Y,K=function(){function t(t,e){this.container={},this.locale=t,this.merge(e)}return t.prototype.resolve=function(t,e,r){return this.format(this.locale,t,e,r)},t.prototype.format=function(t,e,r,n){var h,l,c,f,d,m,v,y,w;return(w=(null===(c=null===(l=null===(h=this.container[t])||void 0===h?void 0:h.fields)||void 0===l?void 0:l[e])||void 0===c?void 0:c[r])||(null===(d=null===(f=this.container[t])||void 0===f?void 0:f.messages)||void 0===d?void 0:d[r]))||(w="{_field_} is not valid"),e=null!==(y=null===(v=null===(m=this.container[t])||void 0===m?void 0:m.names)||void 0===v?void 0:v[e])&&void 0!==y?y:e,_(w)?w(e,n):C(w,o(o({},n),{_field_:e}))},t.prototype.merge=function(t){T(this.container,t)},t.prototype.hasRule=function(t){var e,r;return!!(null===(r=null===(e=this.container[this.locale])||void 0===e?void 0:e.messages)||void 0===r?void 0:r[t])},t}();function X(t,e){var r;if(Y||(Y=new K("en",{}),N({defaultMessage:function(t,e){return Y.resolve(t,null==e?void 0:e._rule_,e||{})}})),"string"==typeof t)return Y.locale=t,e&&Y.merge(((r={})[t]=e,r)),void W.$emit("change:locale");Y.merge(t)}function Z(t){var e,r,n;if(!(n=t)||!("undefined"!=typeof Event&&_(Event)&&n instanceof Event||n&&n.srcElement))return t;var input=t.target;if("file"===input.type&&input.files)return E(input.files);if(null===(e=input._vModifiers)||void 0===e?void 0:e.number){var o=parseFloat(input.value);return f(o)?input.value:o}return(null===(r=input._vModifiers)||void 0===r?void 0:r.trim)&&"string"==typeof input.value?input.value.trim():input.value}var J=function(t){var e,r=(null===(e=t.data)||void 0===e?void 0:e.attrs)||t.elm;return!("input"!==t.tag||r&&r.type)||("textarea"===t.tag||x(["text","password","search","email","tel","url","number"],null==r?void 0:r.type))};function Q(t){if(t.data){var e,r,n,o,h=t.data;if("model"in h)return h.model;if(t.data.directives)return e=t.data.directives,r=function(t){return"model"===t.name},n=Array.isArray(e)?e:E(e),-1===(o=S(n,r))?void 0:n[o]}}function tt(t){var e,r,n=Q(t);if(n)return{value:n.value};var o=it(t),h=(null==o?void 0:o.prop)||"value";return(null===(e=t.componentOptions)||void 0===e?void 0:e.propsData)&&h in t.componentOptions.propsData?{value:t.componentOptions.propsData[h]}:(null===(r=t.data)||void 0===r?void 0:r.domProps)&&"value"in t.data.domProps?{value:t.data.domProps.value}:void 0}function et(t){return Array.isArray(t)||void 0===tt(t)?function(t){return Array.isArray(t)?t:Array.isArray(t.children)?t.children:t.componentOptions&&Array.isArray(t.componentOptions.children)?t.componentOptions.children:[]}(t).reduce((function(t,e){return t||et(e)}),null):t}function it(t){return t.componentOptions?t.componentOptions.Ctor.options.model:null}function nt(t,e,r){if(d(t[e]))t[e]=[r];else{if(_(t[e])&&t[e].fns){var n=t[e];return n.fns=Array.isArray(n.fns)?n.fns:[n.fns],void(x(n.fns,r)||n.fns.push(r))}if(_(t[e])){var o=t[e];t[e]=[o]}Array.isArray(t[e])&&!x(t[e],r)&&t[e].push(r)}}function ot(t,e,r){t.componentOptions?function(t,e,r){t.componentOptions&&(t.componentOptions.listeners||(t.componentOptions.listeners={}),nt(t.componentOptions.listeners,e,r))}(t,e,r):function(t,e,r){t.data||(t.data={}),d(t.data.on)&&(t.data.on={}),nt(t.data.on,e,r)}(t,e,r)}function at(t,e){var r;return t.componentOptions?(it(t)||{event:"input"}).event:(null===(r=null==e?void 0:e.modifiers)||void 0===r?void 0:r.lazy)?"change":J(t)?"input":"change"}function st(t){var e,r=null===(e=t.data)||void 0===e?void 0:e.attrs;if(!x(["input","select","textarea"],t.tag)||!r)return{};var n={};return"required"in r&&!1!==r.required&&I.getRuleDefinition("required")&&(n.required="checkbox"!==r.type||[!0]),J(t)?L(o(o({},n),function(t){var e,r=null===(e=t.data)||void 0===e?void 0:e.attrs,n={};return r?("email"===r.type&&I.getRuleDefinition("email")&&(n.email=["multiple"in r]),r.pattern&&I.getRuleDefinition("regex")&&(n.regex=r.pattern),r.maxlength>=0&&I.getRuleDefinition("max")&&(n.max=r.maxlength),r.minlength>=0&&I.getRuleDefinition("min")&&(n.min=r.minlength),"number"===r.type&&(w(r.min)&&I.getRuleDefinition("min_value")&&(n.min_value=Number(r.min)),w(r.max)&&I.getRuleDefinition("max_value")&&(n.max_value=Number(r.max))),n):n}(t))):L(n)}function ht(t,e){return t.$scopedSlots.default?t.$scopedSlots.default(e)||[]:t.$slots.default||[]}function ut(t){return o(o({},t.flags),{errors:t.errors,classes:t.classes,failedRules:t.failedRules,reset:function(){return t.reset()},validate:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return t.validate.apply(t,e)},ariaInput:{"aria-invalid":t.flags.invalid?"true":"false","aria-required":t.isRequired?"true":"false","aria-errormessage":"vee_"+t.id},ariaMsg:{id:"vee_"+t.id,"aria-live":t.errors.length?"assertive":"off"}})}function lt(t,e){t.initialized||(t.initialValue=e);var r=function(t,e){return!(t._ignoreImmediate||!t.immediate)||(!(v(t.value,e)||!t.normalizedEvents.length)||(!!t._needsValidation||!t.initialized&&void 0===e))}(t,e);if(t._needsValidation=!1,t.value=e,t._ignoreImmediate=!0,r){var n=function(){if(t.immediate||t.flags.validated)return ft(t);t.validateSilent()};t.initialized?n():t.$once("hook:mounted",(function(){return n()}))}}function ct(t){return(_(t.mode)?t.mode:$[t.mode])(t)}function ft(t){var e=t.validateSilent();return t._pendingValidation=e,e.then((function(r){return e===t._pendingValidation&&(t.applyResult(r),t._pendingValidation=void 0),r}))}function pt(t){t.$veeOnInput||(t.$veeOnInput=function(e){t.syncValue(e),t.setFlags({dirty:!0,pristine:!1})});var e=t.$veeOnInput;t.$veeOnBlur||(t.$veeOnBlur=function(){t.setFlags({touched:!0,untouched:!1})});var r=t.$veeOnBlur,n=t.$veeHandler,o=ct(t);return n&&t.$veeDebounce===t.debounce||(n=k((function(){t.$nextTick((function(){t._pendingReset||ft(t),t._pendingReset=!1}))}),o.debounce||t.debounce),t.$veeHandler=n,t.$veeDebounce=t.debounce),{onInput:e,onBlur:r,onValidate:n}}var mt=0;var gt=n.default.extend({inject:{$_veeObserver:{from:"$_veeObserver",default:function(){return this.$vnode.context.$_veeObserver||(this.$vnode.context.$_veeObserver={refs:{},observe:function(t){this.refs[t.id]=t},unobserve:function(t){delete this.refs[t]}}),this.$vnode.context.$_veeObserver}}},props:{vid:{type:String,default:""},name:{type:String,default:null},mode:{type:[String,Function],default:function(){return j().mode}},rules:{type:[Object,String],default:null},immediate:{type:Boolean,default:!1},bails:{type:Boolean,default:function(){return j().bails}},skipIfEmpty:{type:Boolean,default:function(){return j().skipOptional}},debounce:{type:Number,default:0},tag:{type:String,default:"span"},slim:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},customMessages:{type:Object,default:function(){return{}}}},watch:{rules:{deep:!0,handler:function(t,e){this._needsValidation=!y(t,e)}}},data:function(){return{errors:[],value:void 0,initialized:!1,initialValue:void 0,flags:{untouched:!0,touched:!1,dirty:!1,pristine:!0,valid:!1,invalid:!1,validated:!1,pending:!1,required:!1,changed:!1,passed:!1,failed:!1},failedRules:{},isActive:!0,fieldName:"",id:""}},computed:{fieldDeps:function(){var t=this;return Object.keys(this.normalizedRules).reduce((function(e,r){var n,o=(n=t.normalizedRules[r],Array.isArray(n)?n.filter(M):Object.keys(n).filter((function(t){return M(n[t])})).map((function(t){return n[t]}))).map((function(t){return t.__locatorRef}));return e.push.apply(e,o),o.forEach((function(e){!function t(e,r,n){void 0===n&&(n=!0);var o=e.$_veeObserver.refs;e._veeWatchers||(e._veeWatchers={});if(!o[r]&&n)return e.$once("hook:mounted",(function(){t(e,r,!1)}));!_(e._veeWatchers[r])&&o[r]&&(e._veeWatchers[r]=o[r].$watch("value",(function(){e.flags.validated&&(e._needsValidation=!0,e.validate())})))}(t,e)})),e}),[])},normalizedEvents:function(){var t=this;return(ct(this).on||[]).map((function(e){return"input"===e?t._inputEventName:e}))},isRequired:function(){var t=o(o({},this._resolvedRules),this.normalizedRules),e=Object.keys(t).some(I.isRequireRule);return this.flags.required=!!e,e},classes:function(){return function(t,e){for(var r={},n=Object.keys(e),o=n.length,h=function(i){var o=n[i],h=t&&t[o]||o,l=e[o];return d(l)?"continue":"valid"!==o&&"invalid"!==o||e.validated?void("string"==typeof h?r[h]=l:Array.isArray(h)&&h.forEach((function(t){r[t]=l}))):"continue"},i=0;i<o;i++)h(i);return r}(j().classes,this.flags)},normalizedRules:function(){return L(this.rules)}},mounted:function(){var t=this,e=function(){if(t.flags.validated){var e=t._regenerateMap;if(e){var r=[],n={};return Object.keys(e).forEach((function(t){var o=e[t]();r.push(o),n[t]=o})),void t.applyResult({errors:r,failedRules:n,regenerateMap:e})}t.validate()}};W.$on("change:locale",e),this.$on("hook:beforeDestroy",(function(){W.$off("change:locale",e)}))},render:function(t){var e,r,n,o;this.registerField();var h=ht(this,ut(this)),input=et(h);if(!input)return this.slim&&h.length<=1?h[0]:t(this.tag,h);var l=j().useConstraintAttrs?st(input):{};return y(this._resolvedRules,l)||(this._needsValidation=!0),x(["input","select","textarea"],input.tag)&&(this.fieldName=(null===(r=null===(e=input.data)||void 0===e?void 0:e.attrs)||void 0===r?void 0:r.name)||(null===(o=null===(n=input.data)||void 0===n?void 0:n.attrs)||void 0===o?void 0:o.id)),this._resolvedRules=l,function(t,e){var r=tt(e);t._inputEventName=t._inputEventName||at(e,Q(e)),lt(t,null==r?void 0:r.value);var n=pt(t),o=n.onInput,h=n.onBlur,l=n.onValidate;ot(e,t._inputEventName,o),ot(e,"blur",h),t.normalizedEvents.forEach((function(t){ot(e,t,l)})),t.initialized=!0}(this,input),this.slim&&h.length<=1?h[0]:t(this.tag,h)},beforeDestroy:function(){this.$_veeObserver.unobserve(this.id)},activated:function(){this.isActive=!0},deactivated:function(){this.isActive=!1},methods:{setFlags:function(t){var e=this;Object.keys(t).forEach((function(r){e.flags[r]=t[r]}))},syncValue:function(t){var e=Z(t);this.value=e,this.flags.changed=this.initialValue!==e},reset:function(){var t=this;this.errors=[],this.initialValue=this.value;var e={untouched:!0,touched:!1,dirty:!1,pristine:!0,valid:!1,invalid:!1,validated:!1,pending:!1,required:!1,changed:!1,passed:!1,failed:!1};e.required=this.isRequired,this.setFlags(e),this.failedRules={},this.validateSilent(),this._pendingValidation=void 0,this._pendingReset=!0,setTimeout((function(){t._pendingReset=!1}),this.debounce)},validate:function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return h(this,void 0,void 0,(function(){return l(this,(function(e){return t.length>0&&this.syncValue(t[0]),[2,ft(this)]}))}))},validateSilent:function(){return h(this,void 0,void 0,(function(){var t,e;return l(this,(function(r){switch(r.label){case 0:return this.setFlags({pending:!0}),t=o(o({},this._resolvedRules),this.normalizedRules),Object.defineProperty(t,"_$$isNormalized",{value:!0,writable:!1,enumerable:!1,configurable:!1}),[4,U(this.value,t,o(o({name:this.name||this.fieldName},(n=this,h=n.$_veeObserver.refs,{names:{},values:{}},n.fieldDeps.reduce((function(t,e){return h[e]?(t.values[e]=h[e].value,t.names[e]=h[e].name,t):t}),{names:{},values:{}}))),{bails:this.bails,skipIfEmpty:this.skipIfEmpty,isInitial:!this.initialized,customMessages:this.customMessages}))];case 1:return e=r.sent(),this.setFlags({pending:!1,valid:e.valid,invalid:!e.valid}),[2,e]}var n,h}))}))},setErrors:function(t){this.applyResult({errors:t,failedRules:{}})},applyResult:function(t){var e=t.errors,r=t.failedRules,n=t.regenerateMap;this.errors=e,this._regenerateMap=n,this.failedRules=o({},r||{}),this.setFlags({valid:!e.length,passed:!e.length,invalid:!!e.length,failed:!!e.length,validated:!0,changed:this.value!==this.initialValue})},registerField:function(){!function(t){var e=function(t){if(t.vid)return t.vid;if(t.name)return t.name;if(t.id)return t.id;if(t.fieldName)return t.fieldName;return"_vee_"+ ++mt}(t),r=t.id;if(!t.isActive||r===e&&t.$_veeObserver.refs[r])return;r!==e&&t.$_veeObserver.refs[r]===t&&t.$_veeObserver.unobserve(r);t.id=e,t.$_veeObserver.observe(t)}(this)}}});var vt=[["pristine","every"],["dirty","some"],["touched","some"],["untouched","every"],["valid","every"],["invalid","some"],["pending","some"],["validated","every"],["changed","some"],["passed","every"],["failed","some"]],bt=0;var yt=n.default.extend({name:"ValidationObserver",provide:function(){return{$_veeObserver:this}},inject:{$_veeObserver:{from:"$_veeObserver",default:function(){return this.$vnode.context.$_veeObserver?this.$vnode.context.$_veeObserver:null}}},props:{tag:{type:String,default:"span"},vid:{type:String,default:function(){return"obs_"+bt++}},slim:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},data:function(){return{id:"",refs:{},observers:[],errors:{},flags:Mt(),fields:{}}},created:function(){var t=this;this.id=this.vid,_t(this);var e=k((function(e){var r=e.errors,n=e.flags,o=e.fields;t.errors=r,t.flags=n,t.fields=o}),16);this.$watch(St,e)},activated:function(){_t(this)},deactivated:function(){wt(this)},beforeDestroy:function(){wt(this)},render:function(t){var e,r=ht(this,o(o({},(e=this).flags),{errors:e.errors,fields:e.fields,validate:e.validate,passes:e.handleSubmit,handleSubmit:e.handleSubmit,reset:e.reset}));return this.slim&&r.length<=1?r[0]:t(this.tag,{on:this.$listeners},r)},methods:{observe:function(t,e){var r;void 0===e&&(e="provider"),"observer"!==e?this.refs=o(o({},this.refs),((r={})[t.id]=t,r)):this.observers.push(t)},unobserve:function(t,e){if(void 0===e&&(e="provider"),"provider"!==e){var r=S(this.observers,(function(e){return e.id===t}));-1!==r&&this.observers.splice(r,1)}else{if(!this.refs[t])return;this.$delete(this.refs,t)}},validate:function(t){var e=(void 0===t?{}:t).silent,r=void 0!==e&&e;return h(this,void 0,void 0,(function(){return l(this,(function(t){switch(t.label){case 0:return[4,Promise.all(c(A(this.refs).filter((function(t){return!t.disabled})).map((function(t){return t[r?"validateSilent":"validate"]().then((function(t){return t.valid}))})),this.observers.filter((function(t){return!t.disabled})).map((function(t){return t.validate({silent:r})}))))];case 1:return[2,t.sent().every((function(t){return t}))]}}))}))},handleSubmit:function(t){return h(this,void 0,void 0,(function(){return l(this,(function(e){switch(e.label){case 0:return[4,this.validate()];case 1:return e.sent()&&t?[2,t()]:[2]}}))}))},reset:function(){return c(A(this.refs),this.observers).forEach((function(t){return t.reset()}))},setErrors:function(t){var e=this;Object.keys(t).forEach((function(r){var n=e.refs[r];if(n){var o=t[r]||[];o="string"==typeof o?[o]:o,n.setErrors(o)}})),this.observers.forEach((function(e){e.setErrors(t)}))}}});function wt(t){t.$_veeObserver&&t.$_veeObserver.unobserve(t.id,"observer")}function _t(t){t.$_veeObserver&&t.$_veeObserver.observe(t,"observer")}function Mt(){return o(o({},{untouched:!0,touched:!1,dirty:!1,pristine:!0,valid:!1,invalid:!1,validated:!1,pending:!1,required:!1,changed:!1,passed:!1,failed:!1}),{valid:!0,invalid:!1})}function St(){for(var t=c(A(this.refs),this.observers),e={},r=Mt(),n={},h=t.length,i=0;i<h;i++){var l=t[i];Array.isArray(l.errors)?(e[l.id]=l.errors,n[l.id]=o({id:l.id,name:l.name,failedRules:l.failedRules},l.flags)):(e=o(o({},e),l.errors),n=o(o({},n),l.fields))}return vt.forEach((function(e){var n=e[0],o=e[1];r[n]=t[o]((function(t){return t.flags[n]}))})),{errors:e,flags:r,fields:n}}},function(t,e,r){var n=r(61),o=n.Buffer;function h(t,e){for(var r in t)e[r]=t[r]}function l(t,e,r){return o(t,e,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=n:(h(n,e),e.Buffer=l),h(o,l),l.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return o(t,e,r)},l.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var n=o(t);return void 0!==e?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},l.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return o(t)},l.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Factory=void 0;var n=r(52),o=r(48);e.Factory={addGetterSetter:function(t,r,n,o,h){e.Factory.addGetter(t,r,n),e.Factory.addSetter(t,r,o,h),e.Factory.addOverloadedGetterSetter(t,r)},addGetter:function(t,e,r){var o="get"+n.Util._capitalize(e);t.prototype[o]=t.prototype[o]||function(){var t=this.attrs[e];return void 0===t?r:t}},addSetter:function(t,r,o,h){var l="set"+n.Util._capitalize(r);t.prototype[l]||e.Factory.overWriteSetter(t,r,o,h)},overWriteSetter:function(t,e,r,o){var h="set"+n.Util._capitalize(e);t.prototype[h]=function(t){return r&&null!=t&&(t=r.call(this,t,e)),this._setAttr(e,t),o&&o.call(this),this}},addComponentsGetterSetter:function(t,r,h,l,c){var f,component,d=h.length,m=n.Util._capitalize,v="get"+m(r),y="set"+m(r);t.prototype[v]=function(){var t={};for(f=0;f<d;f++)t[component=h[f]]=this.getAttr(r+m(component));return t};var w=o.getComponentValidator(h);t.prototype[y]=function(t){var e,n=this.attrs[r];for(e in l&&(t=l.call(this,t)),w&&w.call(this,t,r),t)t.hasOwnProperty(e)&&this._setAttr(r+m(e),t[e]);return this._fireChangeEvent(r,n,t),c&&c.call(this),this},e.Factory.addOverloadedGetterSetter(t,r)},addOverloadedGetterSetter:function(t,e){var r=n.Util._capitalize(e),o="set"+r,h="get"+r;t.prototype[e]=function(){return arguments.length?(this[o](arguments[0]),this):this[h]()}},addDeprecatedGetterSetter:function(t,r,o,h){n.Util.error("Adding deprecated "+r);var l="get"+n.Util._capitalize(r),c=r+" property is deprecated and will be removed soon. Look at Konva change log for more information.";t.prototype[l]=function(){n.Util.error(c);var t=this.attrs[r];return void 0===t?o:t},e.Factory.addSetter(t,r,h,(function(){n.Util.error(c)})),e.Factory.addOverloadedGetterSetter(t,r)},backCompat:function(t,e){n.Util.each(e,(function(e,r){var o=t.prototype[r],h="get"+n.Util._capitalize(e),l="set"+n.Util._capitalize(e);function c(){o.apply(this,arguments),n.Util.error('"'+e+'" method is deprecated and will be removed soon. Use ""'+r+'" instead.')}t.prototype[e]=c,t.prototype[h]=c,t.prototype[l]=c}))},afterSetFilter:function(){this._filterUpToDate=!1}}},function(t,e,r){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e._registerNode=e._NODES_REGISTRY=e.Konva=e.glob=e._parseUA=void 0;var r=Math.PI/180;var n=function(t){var e=t.indexOf("msie ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);if(t.indexOf("trident/")>0){var r=t.indexOf("rv:");return parseInt(t.substring(r+3,t.indexOf(".",r)),10)}var n=t.indexOf("edge/");return n>0&&parseInt(t.substring(n+5,t.indexOf(".",n)),10)};e._parseUA=function(t){var e=t.toLowerCase(),r=/(chrome)[ /]([\w.]+)/.exec(e)||/(webkit)[ /]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ /]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[],o=!!t.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i),h=!!t.match(/IEMobile/i);return{browser:r[1]||"",version:r[2]||"0",isIE:n(e),mobile:o,ieMobile:h}},e.glob=void 0!==t?t:"undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope?self:{},e.Konva={_global:e.glob,version:"7.2.5",isBrowser:"undefined"!=typeof window&&("[object Window]"==={}.toString.call(window)||"[object global]"==={}.toString.call(window)),isUnminified:/param/.test(function(param){}.toString()),dblClickWindow:400,getAngle:function(t){return e.Konva.angleDeg?t*r:t},enableTrace:!1,_pointerEventsEnabled:!1,hitOnDragEnabled:!1,captureTouchEventsEnabled:!1,listenClickTap:!1,inDblClickWindow:!1,pixelRatio:void 0,dragDistance:3,angleDeg:!0,showWarnings:!0,dragButtons:[0,1],isDragging:function(){return e.Konva.DD.isDragging},isDragReady:function(){return!!e.Konva.DD.node},UA:e._parseUA(e.glob.navigator&&e.glob.navigator.userAgent||""),document:e.glob.document,_injectGlobal:function(t){e.glob.Konva=t},_parseUA:e._parseUA},e._NODES_REGISTRY={};e._registerNode=function(t){e._NODES_REGISTRY[t.prototype.getClassName()]=t,e.Konva[t.prototype.getClassName()]=t}}).call(this,r(54))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getComponentValidator=e.getBooleanValidator=e.getNumberArrayValidator=e.getFunctionValidator=e.getStringOrGradientValidator=e.getStringValidator=e.getNumberOrAutoValidator=e.getNumberOrArrayOfNumbersValidator=e.getNumberValidator=e.alphaComponent=e.RGBComponent=void 0;var n=r(47),o=r(52);function h(t){return o.Util._isString(t)?'"'+t+'"':"[object Number]"===Object.prototype.toString.call(t)||o.Util._isBoolean(t)?t:Object.prototype.toString.call(t)}e.RGBComponent=function(t){return t>255?255:t<0?0:Math.round(t)},e.alphaComponent=function(t){return t>1?1:t<1e-4?1e-4:t},e.getNumberValidator=function(){if(n.Konva.isUnminified)return function(t,e){return o.Util._isNumber(t)||o.Util.warn(h(t)+' is a not valid value for "'+e+'" attribute. The value should be a number.'),t}},e.getNumberOrArrayOfNumbersValidator=function(t){if(n.Konva.isUnminified)return function(e,r){var n=o.Util._isNumber(e),l=o.Util._isArray(e)&&e.length==t;return n||l||o.Util.warn(h(e)+' is a not valid value for "'+r+'" attribute. The value should be a number or Array<number>('+t+")"),e}},e.getNumberOrAutoValidator=function(){if(n.Konva.isUnminified)return function(t,e){return o.Util._isNumber(t)||"auto"===t||o.Util.warn(h(t)+' is a not valid value for "'+e+'" attribute. The value should be a number or "auto".'),t}},e.getStringValidator=function(){if(n.Konva.isUnminified)return function(t,e){return o.Util._isString(t)||o.Util.warn(h(t)+' is a not valid value for "'+e+'" attribute. The value should be a string.'),t}},e.getStringOrGradientValidator=function(){if(n.Konva.isUnminified)return function(t,e){var r=o.Util._isString(t),n="[object CanvasGradient]"===Object.prototype.toString.call(t);return r||n||o.Util.warn(h(t)+' is a not valid value for "'+e+'" attribute. The value should be a string or a native gradient.'),t}},e.getFunctionValidator=function(){if(n.Konva.isUnminified)return function(t,e){return o.Util._isFunction(t)||o.Util.warn(h(t)+' is a not valid value for "'+e+'" attribute. The value should be a function.'),t}},e.getNumberArrayValidator=function(){if(n.Konva.isUnminified)return function(t,e){return o.Util._isArray(t)?t.forEach((function(t){o.Util._isNumber(t)||o.Util.warn('"'+e+'" attribute has non numeric element '+t+". Make sure that all elements are numbers.")})):o.Util.warn(h(t)+' is a not valid value for "'+e+'" attribute. The value should be a array of numbers.'),t}},e.getBooleanValidator=function(){if(n.Konva.isUnminified)return function(t,e){return!0===t||!1===t||o.Util.warn(h(t)+' is a not valid value for "'+e+'" attribute. The value should be a boolean.'),t}},e.getComponentValidator=function(t){if(n.Konva.isUnminified)return function(e,r){return o.Util.isObject(e)||o.Util.warn(h(e)+' is a not valid value for "'+r+'" attribute. The value should be an object with properties '+t),e}}},,,,function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Util=e.Transform=e.Collection=void 0;var n=r(47),o=function(){function t(){}return t.toCollection=function(e){var r,n=new t,o=e.length;for(r=0;r<o;r++)n.push(e[r]);return n},t._mapMethod=function(e){t.prototype[e]=function(){var i,t=this.length,r=[].slice.call(arguments);for(i=0;i<t;i++)this[i][e].apply(this[i],r);return this}},t.mapMethods=function(e){var r=e.prototype;for(var n in r)t._mapMethod(n)},t}();e.Collection=o,o.prototype=[],o.prototype.each=function(t){for(var e=0;e<this.length;e++)t(this[e],e)},o.prototype.toArray=function(){var t,e=[],r=this.length;for(t=0;t<r;t++)e.push(this[t]);return e};var h=function(){function t(t){void 0===t&&(t=[1,0,0,1,0,0]),this.dirty=!1,this.m=t&&t.slice()||[1,0,0,1,0,0]}return t.prototype.reset=function(){this.m[0]=1,this.m[1]=0,this.m[2]=0,this.m[3]=1,this.m[4]=0,this.m[5]=0},t.prototype.copy=function(){return new t(this.m)},t.prototype.copyInto=function(tr){tr.m[0]=this.m[0],tr.m[1]=this.m[1],tr.m[2]=this.m[2],tr.m[3]=this.m[3],tr.m[4]=this.m[4],tr.m[5]=this.m[5]},t.prototype.point=function(t){var e=this.m;return{x:e[0]*t.x+e[2]*t.y+e[4],y:e[1]*t.x+e[3]*t.y+e[5]}},t.prototype.translate=function(t,e){return this.m[4]+=this.m[0]*t+this.m[2]*e,this.m[5]+=this.m[1]*t+this.m[3]*e,this},t.prototype.scale=function(t,e){return this.m[0]*=t,this.m[1]*=t,this.m[2]*=e,this.m[3]*=e,this},t.prototype.rotate=function(t){var e=Math.cos(t),s=Math.sin(t),r=this.m[0]*e+this.m[2]*s,n=this.m[1]*e+this.m[3]*s,o=this.m[0]*-s+this.m[2]*e,h=this.m[1]*-s+this.m[3]*e;return this.m[0]=r,this.m[1]=n,this.m[2]=o,this.m[3]=h,this},t.prototype.getTranslation=function(){return{x:this.m[4],y:this.m[5]}},t.prototype.skew=function(t,e){var r=this.m[0]+this.m[2]*e,n=this.m[1]+this.m[3]*e,o=this.m[2]+this.m[0]*t,h=this.m[3]+this.m[1]*t;return this.m[0]=r,this.m[1]=n,this.m[2]=o,this.m[3]=h,this},t.prototype.multiply=function(t){var e=this.m[0]*t.m[0]+this.m[2]*t.m[1],r=this.m[1]*t.m[0]+this.m[3]*t.m[1],n=this.m[0]*t.m[2]+this.m[2]*t.m[3],o=this.m[1]*t.m[2]+this.m[3]*t.m[3],h=this.m[0]*t.m[4]+this.m[2]*t.m[5]+this.m[4],l=this.m[1]*t.m[4]+this.m[3]*t.m[5]+this.m[5];return this.m[0]=e,this.m[1]=r,this.m[2]=n,this.m[3]=o,this.m[4]=h,this.m[5]=l,this},t.prototype.invert=function(){var t=1/(this.m[0]*this.m[3]-this.m[1]*this.m[2]),e=this.m[3]*t,r=-this.m[1]*t,n=-this.m[2]*t,o=this.m[0]*t,h=t*(this.m[2]*this.m[5]-this.m[3]*this.m[4]),l=t*(this.m[1]*this.m[4]-this.m[0]*this.m[5]);return this.m[0]=e,this.m[1]=r,this.m[2]=n,this.m[3]=o,this.m[4]=h,this.m[5]=l,this},t.prototype.getMatrix=function(){return this.m},t.prototype.setAbsolutePosition=function(t,e){var r=this.m[0],n=this.m[1],o=this.m[2],h=this.m[3],l=this.m[4],c=(r*(e-this.m[5])-n*(t-l))/(r*h-n*o),f=(t-l-o*c)/r;return this.translate(f,c)},t.prototype.decompose=function(){var a=this.m[0],b=this.m[1],t=this.m[2],r=this.m[3],n=a*r-b*t,o={x:this.m[4],y:this.m[5],rotation:0,scaleX:0,scaleY:0,skewX:0,skewY:0};if(0!=a||0!=b){var h=Math.sqrt(a*a+b*b);o.rotation=b>0?Math.acos(a/h):-Math.acos(a/h),o.scaleX=h,o.scaleY=n/h,o.skewX=(a*t+b*r)/n,o.skewY=0}else if(0!=t||0!=r){var s=Math.sqrt(t*t+r*r);o.rotation=Math.PI/2-(r>0?Math.acos(-t/s):-Math.acos(t/s)),o.scaleX=n/s,o.scaleY=s,o.skewX=0,o.skewY=(a*t+b*r)/n}return o.rotation=e.Util._getRotation(o.rotation),o},t}();e.Transform=h;var l=Math.PI/180,c=180/Math.PI,f={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,132,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,255,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,203],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[119,128,144],slategrey:[119,128,144],snow:[255,255,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],transparent:[255,255,255,0],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,5]},d=/rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)/,m=[];e.Util={_isElement:function(t){return!(!t||1!=t.nodeType)},_isFunction:function(t){return!!(t&&t.constructor&&t.call&&t.apply)},_isPlainObject:function(t){return!!t&&t.constructor===Object},_isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},_isNumber:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&!isNaN(t)&&isFinite(t)},_isString:function(t){return"[object String]"===Object.prototype.toString.call(t)},_isBoolean:function(t){return"[object Boolean]"===Object.prototype.toString.call(t)},isObject:function(t){return t instanceof Object},isValidSelector:function(t){if("string"!=typeof t)return!1;var e=t[0];return"#"===e||"."===e||e===e.toUpperCase()},_sign:function(t){return 0===t||t>0?1:-1},requestAnimFrame:function(t){m.push(t),1===m.length&&requestAnimationFrame((function(){var t=m;m=[],t.forEach((function(t){t()}))}))},createCanvasElement:function(){var canvas=document.createElement("canvas");try{canvas.style=canvas.style||{}}catch(t){}return canvas},createImageElement:function(){return document.createElement("img")},_isInDocument:function(t){for(;t=t.parentNode;)if(t==document)return!0;return!1},_simplifyArray:function(t){var r,n,o=[],h=t.length,l=e.Util;for(r=0;r<h;r++)n=t[r],l._isNumber(n)?n=Math.round(1e3*n)/1e3:l._isString(n)||(n=n.toString()),o.push(n);return o},_urlToImage:function(t,e){var r=new n.glob.Image;r.onload=function(){e(r)},r.src=t},_rgbToHex:function(t,g,b){return((1<<24)+(t<<16)+(g<<8)+b).toString(16).slice(1)},_hexToRgb:function(t){t=t.replace("#","");var e=parseInt(t,16);return{r:e>>16&255,g:e>>8&255,b:255&e}},getRandomColor:function(){for(var t=(16777215*Math.random()<<0).toString(16);t.length<6;)t="0"+t;return"#"+t},get:function(t,e){return void 0===t?e:t},getRGB:function(t){var e;return t in f?{r:(e=f[t])[0],g:e[1],b:e[2]}:"#"===t[0]?this._hexToRgb(t.substring(1)):"rgb("===t.substr(0,4)?(e=d.exec(t.replace(/ /g,"")),{r:parseInt(e[1],10),g:parseInt(e[2],10),b:parseInt(e[3],10)}):{r:0,g:0,b:0}},colorToRGBA:function(t){return t=t||"black",e.Util._namedColorToRBA(t)||e.Util._hex3ColorToRGBA(t)||e.Util._hex6ColorToRGBA(t)||e.Util._rgbColorToRGBA(t)||e.Util._rgbaColorToRGBA(t)||e.Util._hslColorToRGBA(t)},_namedColorToRBA:function(t){var e=f[t.toLowerCase()];return e?{r:e[0],g:e[1],b:e[2],a:1}:null},_rgbColorToRGBA:function(t){if(0===t.indexOf("rgb(")){var e=(t=t.match(/rgb\(([^)]+)\)/)[1]).split(/ *, */).map(Number);return{r:e[0],g:e[1],b:e[2],a:1}}},_rgbaColorToRGBA:function(t){if(0===t.indexOf("rgba(")){var e=(t=t.match(/rgba\(([^)]+)\)/)[1]).split(/ *, */).map(Number);return{r:e[0],g:e[1],b:e[2],a:e[3]}}},_hex6ColorToRGBA:function(t){if("#"===t[0]&&7===t.length)return{r:parseInt(t.slice(1,3),16),g:parseInt(t.slice(3,5),16),b:parseInt(t.slice(5,7),16),a:1}},_hex3ColorToRGBA:function(t){if("#"===t[0]&&4===t.length)return{r:parseInt(t[1]+t[1],16),g:parseInt(t[2]+t[2],16),b:parseInt(t[3]+t[3],16),a:1}},_hslColorToRGBA:function(t){if(/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.test(t)){var e=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(t),r=(e[0],e.slice(1)),n=Number(r[0])/360,s=Number(r[1])/100,o=Number(r[2])/100,h=void 0,l=void 0,c=void 0;if(0===s)return c=255*o,{r:Math.round(c),g:Math.round(c),b:Math.round(c),a:1};for(var f=2*o-(h=o<.5?o*(1+s):o+s-o*s),d=[0,0,0],i=0;i<3;i++)(l=n+1/3*-(i-1))<0&&l++,l>1&&l--,c=6*l<1?f+6*(h-f)*l:2*l<1?h:3*l<2?f+(h-f)*(2/3-l)*6:f,d[i]=255*c;return{r:Math.round(d[0]),g:Math.round(d[1]),b:Math.round(d[2]),a:1}}},haveIntersection:function(t,e){return!(e.x>t.x+t.width||e.x+e.width<t.x||e.y>t.y+t.height||e.y+e.height<t.y)},cloneObject:function(t){var e={};for(var r in t)this._isPlainObject(t[r])?e[r]=this.cloneObject(t[r]):this._isArray(t[r])?e[r]=this.cloneArray(t[r]):e[r]=t[r];return e},cloneArray:function(t){return t.slice(0)},_degToRad:function(t){return t*l},_radToDeg:function(t){return t*c},_getRotation:function(t){return n.Konva.angleDeg?e.Util._radToDeg(t):t},_capitalize:function(t){return t.charAt(0).toUpperCase()+t.slice(1)},throw:function(t){throw new Error("Konva error: "+t)},error:function(t){console.error("Konva error: "+t)},warn:function(t){n.Konva.showWarnings&&console.warn("Konva warning: "+t)},extend:function(t,e){function r(){this.constructor=t}r.prototype=e.prototype;var n=t.prototype;for(var o in t.prototype=new r,n)n.hasOwnProperty(o)&&(t.prototype[o]=n[o]);t.__super__=e.prototype,t.super=e},_getControlPoints:function(t,e,r,n,o,h,l){var c=Math.sqrt(Math.pow(r-t,2)+Math.pow(n-e,2)),f=Math.sqrt(Math.pow(o-r,2)+Math.pow(h-n,2)),d=l*c/(c+f),m=l*f/(c+f);return[r-d*(o-t),n-d*(h-e),r+m*(o-t),n+m*(h-e)]},_expandPoints:function(p,t){var r,n,o=p.length,h=[];for(r=2;r<o-2;r+=2)n=e.Util._getControlPoints(p[r-2],p[r-1],p[r],p[r+1],p[r+2],p[r+3],t),isNaN(n[0])||(h.push(n[0]),h.push(n[1]),h.push(p[r]),h.push(p[r+1]),h.push(n[2]),h.push(n[3]));return h},each:function(t,e){for(var r in t)e(r,t[r])},_inRange:function(t,e,r){return e<=t&&t<r},_getProjectionToSegment:function(t,e,r,n,o,h){var l,c,f,d=(t-r)*(t-r)+(e-n)*(e-n);if(0==d)l=t,c=e,f=(o-r)*(o-r)+(h-n)*(h-n);else{var u=((o-t)*(r-t)+(h-e)*(n-e))/d;u<0?(l=t,c=e,f=(t-o)*(t-o)+(e-h)*(e-h)):u>1?(l=r,c=n,f=(r-o)*(r-o)+(n-h)*(n-h)):f=((l=t+u*(r-t))-o)*(l-o)+((c=e+u*(n-e))-h)*(c-h)}return[l,c,f]},_getProjectionToLine:function(t,line,r){var n=e.Util.cloneObject(t),o=Number.MAX_VALUE;return line.forEach((function(h,i){if(r||i!==line.length-1){var l=line[(i+1)%line.length],c=e.Util._getProjectionToSegment(h.x,h.y,l.x,l.y,t.x,t.y),f=c[0],d=c[1],m=c[2];m<o&&(n.x=f,n.y=d,o=m)}})),n},_prepareArrayForTween:function(t,r,n){var o,h=[],l=[];if(t.length>r.length){var c=r;r=t,t=c}for(o=0;o<t.length;o+=2)h.push({x:t[o],y:t[o+1]});for(o=0;o<r.length;o+=2)l.push({x:r[o],y:r[o+1]});var f=[];return l.forEach((function(t){var r=e.Util._getProjectionToLine(t,h,n);f.push(r.x),f.push(r.y)})),f},_prepareToStringify:function(t){var desc;for(var r in t.visitedByCircularReferenceRemoval=!0,t)if(t.hasOwnProperty(r)&&t[r]&&"object"==typeof t[r])if(desc=Object.getOwnPropertyDescriptor(t,r),t[r].visitedByCircularReferenceRemoval||e.Util._isElement(t[r])){if(!desc.configurable)return null;delete t[r]}else if(null===e.Util._prepareToStringify(t[r])){if(!desc.configurable)return null;delete t[r]}return delete t.visitedByCircularReferenceRemoval,t},_assign:function(t,source){for(var e in source)t[e]=source[e];return t},_getFirstPointerId:function(t){return t.touches?t.changedTouches[0].identifier:999}}},,,,,,,,,function(t,e,r){"use strict";(function(t){var n=r(664),o=r(665),h=r(488);function l(){return f.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(t,e){if(l()<e)throw new RangeError("Invalid typed array length");return f.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=f.prototype:(null===t&&(t=new f(e)),t.length=e),t}function f(t,e,r){if(!(f.TYPED_ARRAY_SUPPORT||this instanceof f))return new f(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return v(this,t)}return d(this,t,e,r)}function d(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);f.TYPED_ARRAY_SUPPORT?(t=e).__proto__=f.prototype:t=y(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!f.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|_(e,r),o=(t=c(t,n)).write(e,r);o!==n&&(t=t.slice(0,o));return t}(t,e,r):function(t,e){if(f.isBuffer(e)){var r=0|w(e.length);return 0===(t=c(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(n=e.length)!=n?c(t,0):y(t,e);if("Buffer"===e.type&&h(e.data))return y(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function m(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function v(t,e){if(m(e),t=c(t,e<0?0:0|w(e)),!f.TYPED_ARRAY_SUPPORT)for(var i=0;i<e;++i)t[i]=0;return t}function y(t,e){var r=e.length<0?0:0|w(e.length);t=c(t,r);for(var i=0;i<r;i+=1)t[i]=255&e[i];return t}function w(t){if(t>=l())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+l().toString(16)+" bytes");return 0|t}function _(t,e){if(f.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Y(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return K(t).length;default:if(n)return Y(t).length;e=(""+e).toLowerCase(),n=!0}}function M(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return L(this,e,r);case"utf8":case"utf-8":return R(this,e,r);case"ascii":return j(this,e,r);case"latin1":case"binary":return N(this,e,r);case"base64":return P(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function S(b,t,e){var i=b[t];b[t]=b[e],b[e]=i}function x(t,e,r,n,o){if(0===t.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:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=f.from(e,n)),f.isBuffer(e))return 0===e.length?-1:E(t,e,r,n,o);if("number"==typeof e)return e&=255,f.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):E(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function E(t,e,r,n,o){var i,h=1,l=t.length,c=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;h=2,l/=2,c/=2,r/=2}function f(t,i){return 1===h?t[i]:t.readUInt16BE(i*h)}if(o){var d=-1;for(i=r;i<l;i++)if(f(t,i)===f(e,-1===d?0:i-d)){if(-1===d&&(d=i),i-d+1===c)return d*h}else-1!==d&&(i-=i-d),d=-1}else for(r+c>l&&(r=l-c),i=r;i>=0;i--){for(var m=!0,v=0;v<c;v++)if(f(t,i+v)!==f(e,v)){m=!1;break}if(m)return i}return-1}function A(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;var h=e.length;if(h%2!=0)throw new TypeError("Invalid hex string");n>h/2&&(n=h/2);for(var i=0;i<n;++i){var l=parseInt(e.substr(2*i,2),16);if(isNaN(l))return i;t[r+i]=l}return i}function T(t,e,r,n){return X(Y(e,t.length-r),t,r,n)}function k(t,e,r,n){return X(function(t){for(var e=[],i=0;i<t.length;++i)e.push(255&t.charCodeAt(i));return e}(e),t,r,n)}function C(t,e,r,n){return k(t,e,r,n)}function O(t,e,r,n){return X(K(e),t,r,n)}function I(t,e,r,n){return X(function(t,e){for(var r,n,o,h=[],i=0;i<t.length&&!((e-=2)<0);++i)r=t.charCodeAt(i),n=r>>8,o=r%256,h.push(o),h.push(n);return h}(e,t.length-r),t,r,n)}function P(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function R(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o,h,l,c,f=t[i],d=null,m=f>239?4:f>223?3:f>191?2:1;if(i+m<=r)switch(m){case 1:f<128&&(d=f);break;case 2:128==(192&(o=t[i+1]))&&(c=(31&f)<<6|63&o)>127&&(d=c);break;case 3:o=t[i+1],h=t[i+2],128==(192&o)&&128==(192&h)&&(c=(15&f)<<12|(63&o)<<6|63&h)>2047&&(c<55296||c>57343)&&(d=c);break;case 4:o=t[i+1],h=t[i+2],l=t[i+3],128==(192&o)&&128==(192&h)&&128==(192&l)&&(c=(15&f)<<18|(63&o)<<12|(63&h)<<6|63&l)>65535&&c<1114112&&(d=c)}null===d?(d=65533,m=1):d>65535&&(d-=65536,n.push(d>>>10&1023|55296),d=56320|1023&d),n.push(d),i+=m}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var r="",i=0;for(;i<e;)r+=String.fromCharCode.apply(String,t.slice(i,i+=4096));return r}(n)}e.Buffer=f,e.SlowBuffer=function(t){+t!=t&&(t=0);return f.alloc(+t)},e.INSPECT_MAX_BYTES=50,f.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=l(),f.poolSize=8192,f._augment=function(t){return t.__proto__=f.prototype,t},f.from=function(t,e,r){return d(null,t,e,r)},f.TYPED_ARRAY_SUPPORT&&(f.prototype.__proto__=Uint8Array.prototype,f.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&f[Symbol.species]===f&&Object.defineProperty(f,Symbol.species,{value:null,configurable:!0})),f.alloc=function(t,e,r){return function(t,e,r,n){return m(e),e<=0?c(t,e):void 0!==r?"string"==typeof n?c(t,e).fill(r,n):c(t,e).fill(r):c(t,e)}(null,t,e,r)},f.allocUnsafe=function(t){return v(null,t)},f.allocUnsafeSlow=function(t){return v(null,t)},f.isBuffer=function(b){return!(null==b||!b._isBuffer)},f.compare=function(a,b){if(!f.isBuffer(a)||!f.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(a===b)return 0;for(var t=a.length,e=b.length,i=0,r=Math.min(t,e);i<r;++i)if(a[i]!==b[i]){t=a[i],e=b[i];break}return t<e?-1:e<t?1:0},f.isEncoding=function(t){switch(String(t).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}},f.concat=function(t,e){if(!h(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return f.alloc(0);var i;if(void 0===e)for(e=0,i=0;i<t.length;++i)e+=t[i].length;var r=f.allocUnsafe(e),n=0;for(i=0;i<t.length;++i){var o=t[i];if(!f.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(r,n),n+=o.length}return r},f.byteLength=_,f.prototype._isBuffer=!0,f.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var i=0;i<t;i+=2)S(this,i,i+1);return this},f.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var i=0;i<t;i+=4)S(this,i,i+3),S(this,i+1,i+2);return this},f.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var i=0;i<t;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},f.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?R(this,0,t):M.apply(this,arguments)},f.prototype.equals=function(b){if(!f.isBuffer(b))throw new TypeError("Argument must be a Buffer");return this===b||0===f.compare(this,b)},f.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"},f.prototype.compare=function(t,e,r,n,o){if(!f.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(this===t)return 0;for(var h=(o>>>=0)-(n>>>=0),l=(r>>>=0)-(e>>>=0),c=Math.min(h,l),d=this.slice(n,o),m=t.slice(e,r),i=0;i<c;++i)if(d[i]!==m[i]){h=d[i],l=m[i];break}return h<l?-1:l<h?1:0},f.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},f.prototype.indexOf=function(t,e,r){return x(this,t,e,r,!0)},f.prototype.lastIndexOf=function(t,e,r){return x(this,t,e,r,!1)},f.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-e;if((void 0===r||r>o)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var h=!1;;)switch(n){case"hex":return A(this,t,e,r);case"utf8":case"utf-8":return T(this,t,e,r);case"ascii":return k(this,t,e,r);case"latin1":case"binary":return C(this,t,e,r);case"base64":return O(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,e,r);default:if(h)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),h=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function j(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function N(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function L(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=W(t[i]);return o}function D(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function B(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function F(t,e,r,n,o,h){if(!f.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<h)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function U(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-r,2);i<o;++i)t[r+i]=(e&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function z(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-r,4);i<o;++i)t[r+i]=e>>>8*(n?i:3-i)&255}function H(t,e,r,n,o,h){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function G(t,e,r,n,h){return h||H(t,0,r,4),o.write(t,e,r,n,23,4),r+4}function V(t,e,r,n,h){return h||H(t,0,r,8),o.write(t,e,r,n,52,8),r+8}f.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),f.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=f.prototype;else{var o=e-t;r=new f(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+t]}return r},f.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||B(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},f.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||B(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},f.prototype.readUInt8=function(t,e){return e||B(t,1,this.length),this[t]},f.prototype.readUInt16LE=function(t,e){return e||B(t,2,this.length),this[t]|this[t+1]<<8},f.prototype.readUInt16BE=function(t,e){return e||B(t,2,this.length),this[t]<<8|this[t+1]},f.prototype.readUInt32LE=function(t,e){return e||B(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},f.prototype.readUInt32BE=function(t,e){return e||B(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},f.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||B(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*e)),n},f.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||B(t,e,this.length);for(var i=e,n=1,o=this[t+--i];i>0&&(n*=256);)o+=this[t+--i]*n;return o>=(n*=128)&&(o-=Math.pow(2,8*e)),o},f.prototype.readInt8=function(t,e){return e||B(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},f.prototype.readInt16LE=function(t,e){e||B(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},f.prototype.readInt16BE=function(t,e){e||B(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},f.prototype.readInt32LE=function(t,e){return e||B(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},f.prototype.readInt32BE=function(t,e){return e||B(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},f.prototype.readFloatLE=function(t,e){return e||B(t,4,this.length),o.read(this,t,!0,23,4)},f.prototype.readFloatBE=function(t,e){return e||B(t,4,this.length),o.read(this,t,!1,23,4)},f.prototype.readDoubleLE=function(t,e){return e||B(t,8,this.length),o.read(this,t,!0,52,8)},f.prototype.readDoubleBE=function(t,e){return e||B(t,8,this.length),o.read(this,t,!1,52,8)},f.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||F(this,t,e,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[e]=255&t;++i<r&&(o*=256);)this[e+i]=t/o&255;return e+r},f.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||F(this,t,e,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+r},f.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||F(this,t,e,1,255,0),f.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},f.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||F(this,t,e,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):U(this,t,e,!0),e+2},f.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||F(this,t,e,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):U(this,t,e,!1),e+2},f.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||F(this,t,e,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):z(this,t,e,!0),e+4},f.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||F(this,t,e,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):z(this,t,e,!1),e+4},f.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);F(this,t,e,r,o-1,-o)}var i=0,h=1,sub=0;for(this[e]=255&t;++i<r&&(h*=256);)t<0&&0===sub&&0!==this[e+i-1]&&(sub=1),this[e+i]=(t/h>>0)-sub&255;return e+r},f.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);F(this,t,e,r,o-1,-o)}var i=r-1,h=1,sub=0;for(this[e+i]=255&t;--i>=0&&(h*=256);)t<0&&0===sub&&0!==this[e+i+1]&&(sub=1),this[e+i]=(t/h>>0)-sub&255;return e+r},f.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||F(this,t,e,1,127,-128),f.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},f.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||F(this,t,e,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):U(this,t,e,!0),e+2},f.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||F(this,t,e,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):U(this,t,e,!1),e+2},f.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||F(this,t,e,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):z(this,t,e,!0),e+4},f.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||F(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),f.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):z(this,t,e,!1),e+4},f.prototype.writeFloatLE=function(t,e,r){return G(this,t,e,!0,r)},f.prototype.writeFloatBE=function(t,e,r){return G(this,t,e,!1,r)},f.prototype.writeDoubleLE=function(t,e,r){return V(this,t,e,!0,r)},f.prototype.writeDoubleBE=function(t,e,r){return V(this,t,e,!1,r)},f.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<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),t.length-e<n-r&&(n=t.length-e+r);var i,o=n-r;if(this===t&&r<e&&e<n)for(i=o-1;i>=0;--i)t[i+e]=this[i+r];else if(o<1e3||!f.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+o),e);return o},f.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length){var code=t.charCodeAt(0);code<256&&(t=code)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!f.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var i;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var o=f.isBuffer(t)?t:Y(new f(t,n).toString()),h=o.length;for(i=0;i<r-e;++i)this[i+e]=o[i%h]}return this};var $=/[^+\/0-9A-Za-z-_]/g;function W(t){return t<16?"0"+t.toString(16):t.toString(16)}function Y(t,e){var r;e=e||1/0;for(var n=t.length,o=null,h=[],i=0;i<n;++i){if((r=t.charCodeAt(i))>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&h.push(239,191,189);continue}if(i+1===n){(e-=3)>-1&&h.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&h.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&h.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;h.push(r)}else if(r<2048){if((e-=2)<0)break;h.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;h.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;h.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return h}function K(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace($,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function X(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}}).call(this,r(54))},,function(t,e,r){const n=r(569),o=r(838),h={};Object.keys(n).forEach(t=>{h[t]={},Object.defineProperty(h[t],"channels",{value:n[t].channels}),Object.defineProperty(h[t],"labels",{value:n[t].labels});const e=o(t);Object.keys(e).forEach(r=>{const n=e[r];h[t][r]=function(t){const e=function(...e){const r=e[0];if(null==r)return r;r.length>1&&(e=r);const n=t(e);if("object"==typeof n)for(let t=n.length,i=0;i<t;i++)n[i]=Math.round(n[i]);return n};return"conversion"in t&&(e.conversion=t.conversion),e}(n),h[t][r].raw=function(t){const e=function(...e){const r=e[0];return null==r?r:(r.length>1&&(e=r),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(n)})}),t.exports=h},,,,,,,,,function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Node=e._removeName=e._addName=e._removeId=e.names=e.ids=void 0;var n=r(52),o=r(46),h=r(280),l=r(47),c=r(358),f=r(48);e.ids={},e.names={};e._removeId=function(t,r){t&&e.ids[t]===r&&delete e.ids[t]};e._addName=function(t,r){r&&(e.names[r]||(e.names[r]=[]),e.names[r].push(t))};e._removeName=function(t,r){if(t){var n=e.names[t];if(n){for(var o=0;o<n.length;o++){n[o]._id===r&&n.splice(o,1)}0===n.length&&delete e.names[t]}}};var d=["xChange.konva","yChange.konva","scaleXChange.konva","scaleYChange.konva","skewXChange.konva","skewYChange.konva","rotationChange.konva","offsetXChange.konva","offsetYChange.konva","transformsEnabledChange.konva"].join(" "),m=(["scaleXChange.konva","scaleYChange.konva"].join(" "),new n.Collection),v=1,y=function(){function t(t){this._id=v++,this.eventListeners={},this.attrs={},this.index=0,this._allEventListeners=null,this.parent=null,this._cache=new Map,this._attachedDepsListeners=new Map,this._lastPos=null,this._batchingTransformChange=!1,this._needClearTransformCache=!1,this._filterUpToDate=!1,this._isUnderCache=!1,this.children=m,this._dragEventId=null,this._shouldFireChangeEvents=!1,this.setAttrs(t),this._shouldFireChangeEvents=!0}return t.prototype.hasChildren=function(){return!1},t.prototype.getChildren=function(){return m},t.prototype._clearCache=function(t){"transform"!==t&&"absoluteTransform"!==t||!this._cache.get(t)?t?this._cache.delete(t):this._cache.clear():this._cache.get(t).dirty=!0},t.prototype._getCache=function(t,e){var r=this._cache.get(t);return(void 0===r||("transform"===t||"absoluteTransform"===t)&&!0===r.dirty)&&(r=e.call(this),this._cache.set(t,r)),r},t.prototype._calculate=function(t,e,r){var n=this;if(!this._attachedDepsListeners.get(t)){var o=e.map((function(t){return t+"Change.konva"})).join(" ");this.on(o,(function(){n._clearCache(t)})),this._attachedDepsListeners.set(t,!0)}return this._getCache(t,r)},t.prototype._getCanvasCache=function(){return this._cache.get("canvas")},t.prototype._clearSelfAndDescendantCache=function(t,e){this._clearCache(t),e&&"absoluteTransform"===t&&this.fire("_clearTransformCache"),this.isCached()||this.children&&this.children.each((function(e){e._clearSelfAndDescendantCache(t,!0)}))},t.prototype.clearCache=function(){return this._cache.delete("canvas"),this._clearSelfAndDescendantCache(),this},t.prototype.cache=function(t){var e=t||{},rect={};void 0!==e.x&&void 0!==e.y&&void 0!==e.width&&void 0!==e.height||(rect=this.getClientRect({skipTransform:!0,relativeTo:this.getParent()}));var r=Math.ceil(e.width||rect.width),o=Math.ceil(e.height||rect.height),l=e.pixelRatio,c=void 0===e.x?rect.x:e.x,f=void 0===e.y?rect.y:e.y,d=e.offset||0,m=e.drawBorder||!1;if(r&&o){r+=2*d,o+=2*d,c-=d,f-=d;var v=new h.SceneCanvas({pixelRatio:l,width:r,height:o}),y=new h.SceneCanvas({pixelRatio:l,width:0,height:0}),w=new h.HitCanvas({pixelRatio:1,width:r,height:o}),_=v.getContext(),M=w.getContext();return w.isCache=!0,v.isCache=!0,this._cache.delete("canvas"),this._filterUpToDate=!1,!1===e.imageSmoothingEnabled&&(v.getContext()._context.imageSmoothingEnabled=!1,y.getContext()._context.imageSmoothingEnabled=!1),_.save(),M.save(),_.translate(-c,-f),M.translate(-c,-f),this._isUnderCache=!0,this._clearSelfAndDescendantCache("absoluteOpacity"),this._clearSelfAndDescendantCache("absoluteScale"),this.drawScene(v,this),this.drawHit(w,this),this._isUnderCache=!1,_.restore(),M.restore(),m&&(_.save(),_.beginPath(),_.rect(0,0,r,o),_.closePath(),_.setAttr("strokeStyle","red"),_.setAttr("lineWidth",5),_.stroke(),_.restore()),this._cache.set("canvas",{scene:v,filter:y,hit:w,x:c,y:f}),this}n.Util.error("Can not cache the node. Width or height of the node equals 0. Caching is skipped.")},t.prototype.isCached=function(){return this._cache.has("canvas")},t.prototype.getClientRect=function(t){throw new Error('abstract "getClientRect" method call')},t.prototype._transformedRect=function(rect,t){var e,r,n,o,h=[{x:rect.x,y:rect.y},{x:rect.x+rect.width,y:rect.y},{x:rect.x+rect.width,y:rect.y+rect.height},{x:rect.x,y:rect.y+rect.height}],l=this.getAbsoluteTransform(t);return h.forEach((function(t){var h=l.point(t);void 0===e&&(e=n=h.x,r=o=h.y),e=Math.min(e,h.x),r=Math.min(r,h.y),n=Math.max(n,h.x),o=Math.max(o,h.y)})),{x:e,y:r,width:n-e,height:o-r}},t.prototype._drawCachedSceneCanvas=function(t){t.save(),t._applyOpacity(this),t._applyGlobalCompositeOperation(this);var e=this._getCanvasCache();t.translate(e.x,e.y);var r=this._getCachedSceneCanvas(),n=r.pixelRatio;t.drawImage(r._canvas,0,0,r.width/n,r.height/n),t.restore()},t.prototype._drawCachedHitCanvas=function(t){var e=this._getCanvasCache(),r=e.hit;t.save(),t.translate(e.x,e.y),t.drawImage(r._canvas,0,0),t.restore()},t.prototype._getCachedSceneCanvas=function(){var t,e,r,filter,o=this.filters(),h=this._getCanvasCache(),l=h.scene,c=h.filter,f=c.getContext();if(o){if(!this._filterUpToDate){var d=l.pixelRatio;c.setSize(l.width/l.pixelRatio,l.height/l.pixelRatio);try{for(t=o.length,f.clear(),f.drawImage(l._canvas,0,0,l.getWidth()/d,l.getHeight()/d),e=f.getImageData(0,0,c.getWidth(),c.getHeight()),r=0;r<t;r++)"function"==typeof(filter=o[r])?(filter.call(this,e),f.putImageData(e,0,0)):n.Util.error("Filter should be type of function, but got "+typeof filter+" instead. Please check correct filters")}catch(t){n.Util.error("Unable to apply filter. "+t.message+" This post my help you https://konvajs.org/docs/posts/Tainted_Canvas.html.")}this._filterUpToDate=!0}return c}return l},t.prototype.on=function(t,e){if(this._cache&&this._cache.delete("allEventListeners"),3===arguments.length)return this._delegate.apply(this,arguments);var r,n,o,h,l=t.split(" "),c=l.length;for(r=0;r<c;r++)o=(n=l[r].split("."))[0],h=n[1]||"",this.eventListeners[o]||(this.eventListeners[o]=[]),this.eventListeners[o].push({name:h,handler:e});return this},t.prototype.off=function(t,e){var r,n,o,h,l,c=(t||"").split(" "),f=c.length;if(this._cache&&this._cache.delete("allEventListeners"),!t)for(n in this.eventListeners)this._off(n);for(r=0;r<f;r++)if(h=(o=c[r].split("."))[0],l=o[1],h)this.eventListeners[h]&&this._off(h,l,e);else for(n in this.eventListeners)this._off(n,l,e);return this},t.prototype.dispatchEvent=function(t){var e={target:this,type:t.type,evt:t};return this.fire(t.type,e),this},t.prototype.addEventListener=function(t,e){return this.on(t,(function(t){e.call(this,t.evt)})),this},t.prototype.removeEventListener=function(t){return this.off(t),this},t.prototype._delegate=function(t,e,r){var o=this;this.on(t,(function(t){for(var h=t.target.findAncestors(e,!0,o),i=0;i<h.length;i++)(t=n.Util.cloneObject(t)).currentTarget=h[i],r.call(h[i],t)}))},t.prototype.remove=function(){return this.isDragging()&&this.stopDrag(),c.DD._dragElements.delete(this._id),this._remove(),this},t.prototype._clearCaches=function(){this._clearSelfAndDescendantCache("absoluteTransform"),this._clearSelfAndDescendantCache("absoluteOpacity"),this._clearSelfAndDescendantCache("absoluteScale"),this._clearSelfAndDescendantCache("stage"),this._clearSelfAndDescendantCache("visible"),this._clearSelfAndDescendantCache("listening")},t.prototype._remove=function(){this._clearCaches();var t=this.getParent();t&&t.children&&(t.children.splice(this.index,1),t._setChildrenIndices(),this.parent=null)},t.prototype.destroy=function(){e._removeId(this.id(),this);for(var t=(this.name()||"").split(/\s/g),i=0;i<t.length;i++){var r=t[i];e._removeName(r,this._id)}return this.remove(),this},t.prototype.getAttr=function(t){var e="get"+n.Util._capitalize(t);return n.Util._isFunction(this[e])?this[e]():this.attrs[t]},t.prototype.getAncestors=function(){for(var t=this.getParent(),e=new n.Collection;t;)e.push(t),t=t.getParent();return e},t.prototype.getAttrs=function(){return this.attrs||{}},t.prototype.setAttrs=function(t){var e=this;return this._batchTransformChanges((function(){var r,o;if(!t)return e;for(r in t)"children"!==r&&(o="set"+n.Util._capitalize(r),n.Util._isFunction(e[o])?e[o](t[r]):e._setAttr(r,t[r]))})),this},t.prototype.isListening=function(){return this._getCache("listening",this._isListening)},t.prototype._isListening=function(t){if(!this.listening())return!1;var e=this.getParent();return!e||e===t||this===t||e._isListening(t)},t.prototype.isVisible=function(){return this._getCache("visible",this._isVisible)},t.prototype._isVisible=function(t){if(!this.visible())return!1;var e=this.getParent();return!e||e===t||this===t||e._isVisible(t)},t.prototype.shouldDrawHit=function(t,e){if(void 0===e&&(e=!1),t)return this._isVisible(t)&&this._isListening(t);var r=this.getLayer(),n=!1;c.DD._dragElements.forEach((function(t){"dragging"===t.dragStatus&&("Stage"===t.node.nodeType||t.node.getLayer()===r)&&(n=!0)}));var o=!e&&!l.Konva.hitOnDragEnabled&&n;return this.isListening()&&this.isVisible()&&!o},t.prototype.show=function(){return this.visible(!0),this},t.prototype.hide=function(){return this.visible(!1),this},t.prototype.getZIndex=function(){return this.index||0},t.prototype.getAbsoluteZIndex=function(){var t,e,r,n,o=this.getDepth(),h=this,l=0;return"Stage"!==h.nodeType&&function c(f){for(t=[],e=f.length,r=0;r<e;r++)n=f[r],l++,"Shape"!==n.nodeType&&(t=t.concat(n.getChildren().toArray())),n._id===h._id&&(r=e);t.length>0&&t[0].getDepth()<=o&&c(t)}(h.getStage().getChildren()),l},t.prototype.getDepth=function(){for(var t=0,e=this.parent;e;)t++,e=e.parent;return t},t.prototype._batchTransformChanges=function(t){this._batchingTransformChange=!0,t(),this._batchingTransformChange=!1,this._needClearTransformCache&&(this._clearCache("transform"),this._clearSelfAndDescendantCache("absoluteTransform",!0)),this._needClearTransformCache=!1},t.prototype.setPosition=function(t){var e=this;return this._batchTransformChanges((function(){e.x(t.x),e.y(t.y)})),this},t.prototype.getPosition=function(){return{x:this.x(),y:this.y()}},t.prototype.getAbsolutePosition=function(t){for(var e=!1,r=this.parent;r;){if(r.isCached()){e=!0;break}r=r.parent}e&&!t&&(t=!0);var o=this.getAbsoluteTransform(t).getMatrix(),h=new n.Transform,l=this.offset();return h.m=o.slice(),h.translate(l.x,l.y),h.getTranslation()},t.prototype.setAbsolutePosition=function(t){var e=this._clearTransform();this.attrs.x=e.x,this.attrs.y=e.y,delete e.x,delete e.y,this._clearCache("transform");var r=this._getAbsoluteTransform().copy();return r.invert(),r.translate(t.x,t.y),t={x:this.attrs.x+r.getTranslation().x,y:this.attrs.y+r.getTranslation().y},this._setTransform(e),this.setPosition({x:t.x,y:t.y}),this._clearCache("transform"),this._clearSelfAndDescendantCache("absoluteTransform"),this},t.prototype._setTransform=function(t){var e;for(e in t)this.attrs[e]=t[e]},t.prototype._clearTransform=function(){var t={x:this.x(),y:this.y(),rotation:this.rotation(),scaleX:this.scaleX(),scaleY:this.scaleY(),offsetX:this.offsetX(),offsetY:this.offsetY(),skewX:this.skewX(),skewY:this.skewY()};return this.attrs.x=0,this.attrs.y=0,this.attrs.rotation=0,this.attrs.scaleX=1,this.attrs.scaleY=1,this.attrs.offsetX=0,this.attrs.offsetY=0,this.attrs.skewX=0,this.attrs.skewY=0,t},t.prototype.move=function(t){var e=t.x,r=t.y,n=this.x(),o=this.y();return void 0!==e&&(n+=e),void 0!==r&&(o+=r),this.setPosition({x:n,y:o}),this},t.prototype._eachAncestorReverse=function(t,e){var r,n,o=[],h=this.getParent();if(!e||e._id!==this._id){for(o.unshift(this);h&&(!e||h._id!==e._id);)o.unshift(h),h=h.parent;for(r=o.length,n=0;n<r;n++)t(o[n])}},t.prototype.rotate=function(t){return this.rotation(this.rotation()+t),this},t.prototype.moveToTop=function(){if(!this.parent)return n.Util.warn("Node has no parent. moveToTop function is ignored."),!1;var t=this.index;return this.parent.children.splice(t,1),this.parent.children.push(this),this.parent._setChildrenIndices(),!0},t.prototype.moveUp=function(){if(!this.parent)return n.Util.warn("Node has no parent. moveUp function is ignored."),!1;var t=this.index;return t<this.parent.getChildren().length-1&&(this.parent.children.splice(t,1),this.parent.children.splice(t+1,0,this),this.parent._setChildrenIndices(),!0)},t.prototype.moveDown=function(){if(!this.parent)return n.Util.warn("Node has no parent. moveDown function is ignored."),!1;var t=this.index;return t>0&&(this.parent.children.splice(t,1),this.parent.children.splice(t-1,0,this),this.parent._setChildrenIndices(),!0)},t.prototype.moveToBottom=function(){if(!this.parent)return n.Util.warn("Node has no parent. moveToBottom function is ignored."),!1;var t=this.index;return t>0&&(this.parent.children.splice(t,1),this.parent.children.unshift(this),this.parent._setChildrenIndices(),!0)},t.prototype.setZIndex=function(t){if(!this.parent)return n.Util.warn("Node has no parent. zIndex parameter is ignored."),this;(t<0||t>=this.parent.children.length)&&n.Util.warn("Unexpected value "+t+" for zIndex property. zIndex is just index of a node in children of its parent. Expected value is from 0 to "+(this.parent.children.length-1)+".");var e=this.index;return this.parent.children.splice(e,1),this.parent.children.splice(t,0,this),this.parent._setChildrenIndices(),this},t.prototype.getAbsoluteOpacity=function(){return this._getCache("absoluteOpacity",this._getAbsoluteOpacity)},t.prototype._getAbsoluteOpacity=function(){var t=this.opacity(),e=this.getParent();return e&&!e._isUnderCache&&(t*=e.getAbsoluteOpacity()),t},t.prototype.moveTo=function(t){return this.getParent()!==t&&(this._remove(),t.add(this)),this},t.prototype.toObject=function(){var t,e,r,o,h={},l=this.getAttrs();for(t in h.attrs={},l)e=l[t],n.Util.isObject(e)&&!n.Util._isPlainObject(e)&&!n.Util._isArray(e)||(r="function"==typeof this[t]&&this[t],delete l[t],o=r?r.call(this):null,l[t]=e,o!==e&&(h.attrs[t]=e));return h.className=this.getClassName(),n.Util._prepareToStringify(h)},t.prototype.toJSON=function(){return JSON.stringify(this.toObject())},t.prototype.getParent=function(){return this.parent},t.prototype.findAncestors=function(t,e,r){var n=[];e&&this._isMatch(t)&&n.push(this);for(var o=this.parent;o;){if(o===r)return n;o._isMatch(t)&&n.push(o),o=o.parent}return n},t.prototype.isAncestorOf=function(t){return!1},t.prototype.findAncestor=function(t,e,r){return this.findAncestors(t,e,r)[0]},t.prototype._isMatch=function(t){if(!t)return!1;if("function"==typeof t)return t(this);var e,r,o=t.replace(/ /g,"").split(","),h=o.length;for(e=0;e<h;e++)if(r=o[e],n.Util.isValidSelector(r)||(n.Util.warn('Selector "'+r+'" is invalid. Allowed selectors examples are "#foo", ".bar" or "Group".'),n.Util.warn('If you have a custom shape with such className, please change it to start with upper letter like "Triangle".'),n.Util.warn("Konva is awesome, right?")),"#"===r.charAt(0)){if(this.id()===r.slice(1))return!0}else if("."===r.charAt(0)){if(this.hasName(r.slice(1)))return!0}else if(this.className===r||this.nodeType===r)return!0;return!1},t.prototype.getLayer=function(){var t=this.getParent();return t?t.getLayer():null},t.prototype.getStage=function(){return this._getCache("stage",this._getStage)},t.prototype._getStage=function(){var t=this.getParent();return t?t.getStage():void 0},t.prototype.fire=function(t,e,r){return void 0===e&&(e={}),e.target=e.target||this,r?this._fireAndBubble(t,e):this._fire(t,e),this},t.prototype.getAbsoluteTransform=function(t){return t?this._getAbsoluteTransform(t):this._getCache("absoluteTransform",this._getAbsoluteTransform)},t.prototype._getAbsoluteTransform=function(t){var e;if(t)return e=new n.Transform,this._eachAncestorReverse((function(t){var r=t.transformsEnabled();"all"===r?e.multiply(t.getTransform()):"position"===r&&e.translate(t.x()-t.offsetX(),t.y()-t.offsetY())}),t),e;e=this._cache.get("absoluteTransform")||new n.Transform,this.parent?this.parent.getAbsoluteTransform().copyInto(e):e.reset();var r=this.transformsEnabled();if("all"===r)e.multiply(this.getTransform());else if("position"===r){var o=this.attrs.x||0,h=this.attrs.y||0,l=this.attrs.offsetX||0,c=this.attrs.offsetY||0;e.translate(o-l,h-c)}return e.dirty=!1,e},t.prototype.getAbsoluteScale=function(t){for(var e=this;e;)e._isUnderCache&&(t=e),e=e.getParent();var r=this.getAbsoluteTransform(t).decompose();return{x:r.scaleX,y:r.scaleY}},t.prototype.getAbsoluteRotation=function(){return this.getAbsoluteTransform().decompose().rotation},t.prototype.getTransform=function(){return this._getCache("transform",this._getTransform)},t.prototype._getTransform=function(){var t,e,r=this._cache.get("transform")||new n.Transform;r.reset();var o=this.x(),h=this.y(),c=l.Konva.getAngle(this.rotation()),f=null!==(t=this.attrs.scaleX)&&void 0!==t?t:1,d=null!==(e=this.attrs.scaleY)&&void 0!==e?e:1,m=this.attrs.skewX||0,v=this.attrs.skewY||0,y=this.attrs.offsetX||0,w=this.attrs.offsetY||0;return 0===o&&0===h||r.translate(o,h),0!==c&&r.rotate(c),0===m&&0===v||r.skew(m,v),1===f&&1===d||r.scale(f,d),0===y&&0===w||r.translate(-1*y,-1*w),r.dirty=!1,r},t.prototype.clone=function(t){var e,r,o,h,l,c=n.Util.cloneObject(this.attrs);for(e in t)c[e]=t[e];var f=new this.constructor(c);for(e in this.eventListeners)for(o=(r=this.eventListeners[e]).length,h=0;h<o;h++)(l=r[h]).name.indexOf("konva")<0&&(f.eventListeners[e]||(f.eventListeners[e]=[]),f.eventListeners[e].push(l));return f},t.prototype._toKonvaCanvas=function(t){t=t||{};var e=this.getClientRect(),r=this.getStage(),n=void 0!==t.x?t.x:e.x,o=void 0!==t.y?t.y:e.y,l=t.pixelRatio||1,canvas=new h.SceneCanvas({width:t.width||e.width||(r?r.width():0),height:t.height||e.height||(r?r.height():0),pixelRatio:l}),c=canvas.getContext();return c.save(),(n||o)&&c.translate(-1*n,-1*o),this.drawScene(canvas),c.restore(),canvas},t.prototype.toCanvas=function(t){return this._toKonvaCanvas(t)._canvas},t.prototype.toDataURL=function(t){var e=(t=t||{}).mimeType||null,r=t.quality||null,n=this._toKonvaCanvas(t).toDataURL(e,r);return t.callback&&t.callback(n),n},t.prototype.toImage=function(t){if(!t||!t.callback)throw"callback required for toImage method config argument";var e=t.callback;delete t.callback,n.Util._urlToImage(this.toDataURL(t),(function(img){e(img)}))},t.prototype.setSize=function(t){return this.width(t.width),this.height(t.height),this},t.prototype.getSize=function(){return{width:this.width(),height:this.height()}},t.prototype.getClassName=function(){return this.className||this.nodeType},t.prototype.getType=function(){return this.nodeType},t.prototype.getDragDistance=function(){return void 0!==this.attrs.dragDistance?this.attrs.dragDistance:this.parent?this.parent.getDragDistance():l.Konva.dragDistance},t.prototype._off=function(t,e,r){var i,n,o,h=this.eventListeners[t];for(i=0;i<h.length;i++)if(n=h[i].name,o=h[i].handler,!("konva"===n&&"konva"!==e||e&&n!==e||r&&r!==o)){if(h.splice(i,1),0===h.length){delete this.eventListeners[t];break}i--}},t.prototype._fireChangeEvent=function(t,e,r){this._fire(t+"Change",{oldVal:e,newVal:r})},t.prototype.setId=function(t){var r=this.id();return e._removeId(r,this),function(t,r){r&&(e.ids[r]=t)}(this,t),this._setAttr("id",t),this},t.prototype.setName=function(t){var r,i,n=(this.name()||"").split(/\s/g),o=(t||"").split(/\s/g);for(i=0;i<n.length;i++)r=n[i],-1===o.indexOf(r)&&r&&e._removeName(r,this._id);for(i=0;i<o.length;i++)r=o[i],-1===n.indexOf(r)&&r&&e._addName(this,r);return this._setAttr("name",t),this},t.prototype.addName=function(t){if(!this.hasName(t)){var e=this.name(),r=e?e+" "+t:t;this.setName(r)}return this},t.prototype.hasName=function(t){if(!t)return!1;var e=this.name();return!!e&&-1!==(e||"").split(/\s/g).indexOf(t)},t.prototype.removeName=function(t){var e=(this.name()||"").split(/\s/g),r=e.indexOf(t);return-1!==r&&(e.splice(r,1),this.setName(e.join(" "))),this},t.prototype.setAttr=function(t,e){var r=this["set"+n.Util._capitalize(t)];return n.Util._isFunction(r)?r.call(this,e):this._setAttr(t,e),this},t.prototype._setAttr=function(t,e,r){void 0===r&&(r=!1);var o=this.attrs[t];(o!==e||n.Util.isObject(e))&&(null==e?delete this.attrs[t]:this.attrs[t]=e,this._shouldFireChangeEvents&&this._fireChangeEvent(t,o,e))},t.prototype._setComponentAttr=function(t,component,e){var r;void 0!==e&&((r=this.attrs[t])||(this.attrs[t]=this.getAttr(t)),this.attrs[t][component]=e,this._fireChangeEvent(t,r,e))},t.prototype._fireAndBubble=function(t,e,r){if(e&&"Shape"===this.nodeType&&(e.target=this),!(("mouseenter"===t||"mouseleave"===t)&&(r&&(this===r||this.isAncestorOf&&this.isAncestorOf(r))||"Stage"===this.nodeType&&!r))){this._fire(t,e);var n=("mouseenter"===t||"mouseleave"===t)&&r&&r.isAncestorOf&&r.isAncestorOf(this)&&!r.isAncestorOf(this.parent);(e&&!e.cancelBubble||!e)&&this.parent&&this.parent.isListening()&&!n&&(r&&r.parent?this._fireAndBubble.call(this.parent,t,e,r):this._fireAndBubble.call(this.parent,t,e))}},t.prototype._getProtoListeners=function(t){var e=this._cache.get("allEventListeners");if(!e){e={};for(var r=Object.getPrototypeOf(this);r;)if(r.eventListeners){for(var n in r.eventListeners){var o=r.eventListeners[n],h=e[n]||[];e[n]=o.concat(h)}r=Object.getPrototypeOf(r)}else r=Object.getPrototypeOf(r);this._cache.set("allEventListeners",e)}return e[t]},t.prototype._fire=function(t,e){(e=e||{}).currentTarget=this,e.type=t;var r=this._getProtoListeners(t);if(r)for(var i=0;i<r.length;i++)r[i].handler.call(this,e);var n=this.eventListeners[t];if(n)for(i=0;i<n.length;i++)n[i].handler.call(this,e)},t.prototype.draw=function(){return this.drawScene(),this.drawHit(),this},t.prototype._createDragElement=function(t){var e=t?t.pointerId:void 0,r=this.getStage(),n=this.getAbsolutePosition(),o=r._getPointerById(e)||r._changedPointerPositions[0]||n;c.DD._dragElements.set(this._id,{node:this,startPointerPos:o,offset:{x:o.x-n.x,y:o.y-n.y},dragStatus:"ready",pointerId:e})},t.prototype.startDrag=function(t,e){void 0===e&&(e=!0),c.DD._dragElements.has(this._id)||this._createDragElement(t),c.DD._dragElements.get(this._id).dragStatus="dragging",this.fire("dragstart",{type:"dragstart",target:this,evt:t&&t.evt},e)},t.prototype._setDragPosition=function(t,e){var r=this.getStage()._getPointerById(e.pointerId);if(r){var o={x:r.x-e.offset.x,y:r.y-e.offset.y},h=this.dragBoundFunc();if(void 0!==h){var l=h.call(this,o,t);l?o=l:n.Util.warn("dragBoundFunc did not return any value. That is unexpected behavior. You must return new absolute position from dragBoundFunc.")}this._lastPos&&this._lastPos.x===o.x&&this._lastPos.y===o.y||(this.setAbsolutePosition(o),this.getLayer()?this.getLayer().batchDraw():this.getStage()&&this.getStage().batchDraw()),this._lastPos=o}},t.prototype.stopDrag=function(t){var e=c.DD._dragElements.get(this._id);e&&(e.dragStatus="stopped"),c.DD._endDragBefore(t),c.DD._endDragAfter(t)},t.prototype.setDraggable=function(t){this._setAttr("draggable",t),this._dragChange()},t.prototype.isDragging=function(){var t=c.DD._dragElements.get(this._id);return!!t&&"dragging"===t.dragStatus},t.prototype._listenDrag=function(){this._dragCleanup(),this.on("mousedown.konva touchstart.konva",(function(t){var e=this;if((!(void 0!==t.evt.button)||l.Konva.dragButtons.indexOf(t.evt.button)>=0)&&!this.isDragging()){var r=!1;c.DD._dragElements.forEach((function(t){e.isAncestorOf(t.node)&&(r=!0)})),r||this._createDragElement(t)}}))},t.prototype._dragChange=function(){if(this.attrs.draggable)this._listenDrag();else{if(this._dragCleanup(),!this.getStage())return;var t=c.DD._dragElements.get(this._id),e=t&&"dragging"===t.dragStatus,r=t&&"ready"===t.dragStatus;e?this.stopDrag():r&&c.DD._dragElements.delete(this._id)}},t.prototype._dragCleanup=function(){this.off("mousedown.konva"),this.off("touchstart.konva")},t.create=function(data,t){return n.Util._isString(data)&&(data=JSON.parse(data)),this._createNode(data,t)},t._createNode=function(e,r){var o,h,c,f=t.prototype.getClassName.call(e),d=e.children;if(r&&(e.attrs.container=r),l._NODES_REGISTRY[f]||(n.Util.warn('Can not find a node with class name "'+f+'". Fallback to "Shape".'),f="Shape"),o=new(0,l._NODES_REGISTRY[f])(e.attrs),d)for(h=d.length,c=0;c<h;c++)o.add(t._createNode(d[c]));return o},t}();e.Node=y,y.prototype.nodeType="Node",y.prototype._attrsAffectingSize=[],y.prototype.eventListeners={},y.prototype.on.call(y.prototype,d,(function(){this._batchingTransformChange?this._needClearTransformCache=!0:(this._clearCache("transform"),this._clearSelfAndDescendantCache("absoluteTransform"))})),y.prototype.on.call(y.prototype,"visibleChange.konva",(function(){this._clearSelfAndDescendantCache("visible")})),y.prototype.on.call(y.prototype,"listeningChange.konva",(function(){this._clearSelfAndDescendantCache("listening")})),y.prototype.on.call(y.prototype,"opacityChange.konva",(function(){this._clearSelfAndDescendantCache("absoluteOpacity")}));var w=o.Factory.addGetterSetter;w(y,"zIndex"),w(y,"absolutePosition"),w(y,"position"),w(y,"x",0,f.getNumberValidator()),w(y,"y",0,f.getNumberValidator()),w(y,"globalCompositeOperation","source-over",f.getStringValidator()),w(y,"opacity",1,f.getNumberValidator()),w(y,"name","",f.getStringValidator()),w(y,"id","",f.getStringValidator()),w(y,"rotation",0,f.getNumberValidator()),o.Factory.addComponentsGetterSetter(y,"scale",["x","y"]),w(y,"scaleX",1,f.getNumberValidator()),w(y,"scaleY",1,f.getNumberValidator()),o.Factory.addComponentsGetterSetter(y,"skew",["x","y"]),w(y,"skewX",0,f.getNumberValidator()),w(y,"skewY",0,f.getNumberValidator()),o.Factory.addComponentsGetterSetter(y,"offset",["x","y"]),w(y,"offsetX",0,f.getNumberValidator()),w(y,"offsetY",0,f.getNumberValidator()),w(y,"dragDistance",null,f.getNumberValidator()),w(y,"width",0,f.getNumberValidator()),w(y,"height",0,f.getNumberValidator()),w(y,"listening",!0,f.getBooleanValidator()),w(y,"preventDefault",!0,f.getBooleanValidator()),w(y,"filters",null,(function(t){return this._filterUpToDate=!1,t})),w(y,"visible",!0,f.getBooleanValidator()),w(y,"transformsEnabled","all",f.getStringValidator()),w(y,"size"),w(y,"dragBoundFunc"),w(y,"draggable",!1,f.getBooleanValidator()),o.Factory.backCompat(y,{rotateDeg:"rotate",setRotationDeg:"setRotation",getRotationDeg:"getRotation"}),n.Collection.mapMethods(y)},,,,,,,,,,function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)},function(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0}),e.Shape=e.shapes=void 0;var h,l=r(52),c=r(46),f=r(72),d=r(48),m=r(47),v=r(594);function y(){return h||(h=l.Util.createCanvasElement().getContext("2d"))}e.shapes={};var w=function(t){function r(r){for(var n,o=t.call(this,r)||this;!(n=l.Util.getRandomColor())||n in e.shapes;);return o.colorKey=n,e.shapes[n]=o,o}return o(r,t),r.prototype.getContext=function(){return this.getLayer().getContext()},r.prototype.getCanvas=function(){return this.getLayer().getCanvas()},r.prototype.getSceneFunc=function(){return this.attrs.sceneFunc||this._sceneFunc},r.prototype.getHitFunc=function(){return this.attrs.hitFunc||this._hitFunc},r.prototype.hasShadow=function(){return this._getCache("hasShadow",this._hasShadow)},r.prototype._hasShadow=function(){return this.shadowEnabled()&&0!==this.shadowOpacity()&&!!(this.shadowColor()||this.shadowBlur()||this.shadowOffsetX()||this.shadowOffsetY())},r.prototype._getFillPattern=function(){return this._getCache("patternImage",this.__getFillPattern)},r.prototype.__getFillPattern=function(){if(this.fillPatternImage()){var pattern=y().createPattern(this.fillPatternImage(),this.fillPatternRepeat()||"repeat");return pattern&&pattern.setTransform&&pattern.setTransform({a:this.fillPatternScaleX(),b:0,c:0,d:this.fillPatternScaleY(),e:0,f:0}),pattern}},r.prototype._getLinearGradient=function(){return this._getCache("linearGradient",this.__getLinearGradient)},r.prototype.__getLinearGradient=function(){var t=this.fillLinearGradientColorStops();if(t){for(var e=y(),r=this.fillLinearGradientStartPoint(),n=this.fillLinearGradientEndPoint(),o=e.createLinearGradient(r.x,r.y,n.x,n.y),h=0;h<t.length;h+=2)o.addColorStop(t[h],t[h+1]);return o}},r.prototype._getRadialGradient=function(){return this._getCache("radialGradient",this.__getRadialGradient)},r.prototype.__getRadialGradient=function(){var t=this.fillRadialGradientColorStops();if(t){for(var e=y(),r=this.fillRadialGradientStartPoint(),n=this.fillRadialGradientEndPoint(),o=e.createRadialGradient(r.x,r.y,this.fillRadialGradientStartRadius(),n.x,n.y,this.fillRadialGradientEndRadius()),h=0;h<t.length;h+=2)o.addColorStop(t[h],t[h+1]);return o}},r.prototype.getShadowRGBA=function(){return this._getCache("shadowRGBA",this._getShadowRGBA)},r.prototype._getShadowRGBA=function(){if(this.hasShadow()){var t=l.Util.colorToRGBA(this.shadowColor());return"rgba("+t.r+","+t.g+","+t.b+","+t.a*(this.shadowOpacity()||1)+")"}},r.prototype.hasFill=function(){var t=this;return this._calculate("hasFill",["fillEnabled","fill","fillPatternImage","fillLinearGradientColorStops","fillRadialGradientColorStops"],(function(){return t.fillEnabled()&&!!(t.fill()||t.fillPatternImage()||t.fillLinearGradientColorStops()||t.fillRadialGradientColorStops())}))},r.prototype.hasStroke=function(){var t=this;return this._calculate("hasStroke",["strokeEnabled","strokeWidth","stroke","strokeLinearGradientColorStops"],(function(){return t.strokeEnabled()&&t.strokeWidth()&&!(!t.stroke()&&!t.strokeLinearGradientColorStops())}))},r.prototype.hasHitStroke=function(){var t=this.hitStrokeWidth();return"auto"===t?this.hasStroke():this.strokeEnabled()&&!!t},r.prototype.intersects=function(t){var e=this.getStage().bufferHitCanvas;return e.getContext().clear(),this.drawHit(e,null,!0),e.context.getImageData(Math.round(t.x),Math.round(t.y),1,1).data[3]>0},r.prototype.destroy=function(){return f.Node.prototype.destroy.call(this),delete e.shapes[this.colorKey],delete this.colorKey,this},r.prototype._useBufferCanvas=function(t){var e;if(!this.getStage())return!1;if(!(null===(e=this.attrs.perfectDrawEnabled)||void 0===e||e))return!1;var r=t||this.hasFill(),n=this.hasStroke(),o=1!==this.getAbsoluteOpacity();if(r&&n&&o)return!0;var h=this.hasShadow(),l=this.shadowForStrokeEnabled();return!!(r&&n&&h&&l)},r.prototype.setStrokeHitEnabled=function(t){l.Util.warn("strokeHitEnabled property is deprecated. Please use hitStrokeWidth instead."),t?this.hitStrokeWidth("auto"):this.hitStrokeWidth(0)},r.prototype.getStrokeHitEnabled=function(){return 0!==this.hitStrokeWidth()},r.prototype.getSelfRect=function(){var t=this.size();return{x:this._centroid?-t.width/2:0,y:this._centroid?-t.height/2:0,width:t.width,height:t.height}},r.prototype.getClientRect=function(t){void 0===t&&(t={});var e=t.skipTransform,r=t.relativeTo,n=this.getSelfRect(),o=!t.skipStroke&&this.hasStroke()&&this.strokeWidth()||0,h=n.width+o,l=n.height+o,c=!t.skipShadow&&this.hasShadow(),f=c?this.shadowOffsetX():0,d=c?this.shadowOffsetY():0,m=h+Math.abs(f),v=l+Math.abs(d),y=c&&this.shadowBlur()||0,w=m+2*y,_=v+2*y,M=0;Math.round(o/2)!==o/2&&(M=1);var rect={width:w+M,height:_+M,x:-Math.round(o/2+y)+Math.min(f,0)+n.x,y:-Math.round(o/2+y)+Math.min(d,0)+n.y};return e?rect:this._transformedRect(rect,r)},r.prototype.drawScene=function(t,e){var r,n,o=this.getLayer(),canvas=t||o.getCanvas(),h=canvas.getContext(),l=this._getCanvasCache(),c=this.getSceneFunc(),f=this.hasShadow(),d=canvas.isCache,m=canvas.isCache,v=e===this;if(!this.isVisible()&&!d)return this;if(l){h.save();var y=this.getAbsoluteTransform(e).getMatrix();return h.transform(y[0],y[1],y[2],y[3],y[4],y[5]),this._drawCachedSceneCanvas(h),h.restore(),this}if(!c)return this;if(h.save(),this._useBufferCanvas()&&!m){(n=(r=this.getStage().bufferCanvas).getContext()).clear(),n.save(),n._applyLineJoin(this);var w=this.getAbsoluteTransform(e).getMatrix();n.transform(w[0],w[1],w[2],w[3],w[4],w[5]),c.call(this,n,this),n.restore();var _=r.pixelRatio;f&&h._applyShadow(this),h._applyOpacity(this),h._applyGlobalCompositeOperation(this),h.drawImage(r._canvas,0,0,r.width/_,r.height/_)}else{if(h._applyLineJoin(this),!v){w=this.getAbsoluteTransform(e).getMatrix();h.transform(w[0],w[1],w[2],w[3],w[4],w[5]),h._applyOpacity(this),h._applyGlobalCompositeOperation(this)}f&&h._applyShadow(this),c.call(this,h,this)}return h.restore(),this},r.prototype.drawHit=function(t,e,r){if(void 0===r&&(r=!1),!this.shouldDrawHit(e,r))return this;var n=this.getLayer(),canvas=t||n.hitCanvas,o=canvas&&canvas.getContext(),h=this.hitFunc()||this.sceneFunc(),c=this._getCanvasCache(),f=c&&c.hit;if(this.colorKey||(console.log(this),l.Util.warn("Looks like your canvas has a destroyed shape in it. Do not reuse shape after you destroyed it. See the shape in logs above. If you want to reuse shape you should call remove() instead of destroy()")),f){o.save();var d=this.getAbsoluteTransform(e).getMatrix();return o.transform(d[0],d[1],d[2],d[3],d[4],d[5]),this._drawCachedHitCanvas(o),o.restore(),this}if(!h)return this;if(o.save(),o._applyLineJoin(this),!(this===e)){var m=this.getAbsoluteTransform(e).getMatrix();o.transform(m[0],m[1],m[2],m[3],m[4],m[5])}return h.call(this,o,this),o.restore(),this},r.prototype.drawHitFromCache=function(t){void 0===t&&(t=0);var e,r,n,o,i,h=this._getCanvasCache(),c=this._getCachedSceneCanvas(),f=h.hit,d=f.getContext(),m=f.getWidth(),v=f.getHeight();d.clear(),d.drawImage(c._canvas,0,0,m,v);try{for(n=(r=(e=d.getImageData(0,0,m,v)).data).length,o=l.Util._hexToRgb(this.colorKey),i=0;i<n;i+=4)r[i+3]>t?(r[i]=o.r,r[i+1]=o.g,r[i+2]=o.b,r[i+3]=255):r[i+3]=0;d.putImageData(e,0,0)}catch(t){l.Util.error("Unable to draw hit graph from cached scene canvas. "+t.message)}return this},r.prototype.hasPointerCapture=function(t){return v.hasPointerCapture(t,this)},r.prototype.setPointerCapture=function(t){v.setPointerCapture(t,this)},r.prototype.releaseCapture=function(t){v.releaseCapture(t,this)},r}(f.Node);e.Shape=w,w.prototype._fillFunc=function(t){t.fill()},w.prototype._strokeFunc=function(t){t.stroke()},w.prototype._fillFuncHit=function(t){t.fill()},w.prototype._strokeFuncHit=function(t){t.stroke()},w.prototype._centroid=!1,w.prototype.nodeType="Shape",m._registerNode(w),w.prototype.eventListeners={},w.prototype.on.call(w.prototype,"shadowColorChange.konva shadowBlurChange.konva shadowOffsetChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",(function(){this._clearCache("hasShadow")})),w.prototype.on.call(w.prototype,"shadowColorChange.konva shadowOpacityChange.konva shadowEnabledChange.konva",(function(){this._clearCache("shadowRGBA")})),w.prototype.on.call(w.prototype,"fillPriorityChange.konva fillPatternImageChange.konva fillPatternRepeatChange.konva fillPatternScaleXChange.konva fillPatternScaleYChange.konva",(function(){this._clearCache("patternImage")})),w.prototype.on.call(w.prototype,"fillPriorityChange.konva fillLinearGradientColorStopsChange.konva fillLinearGradientStartPointXChange.konva fillLinearGradientStartPointYChange.konva fillLinearGradientEndPointXChange.konva fillLinearGradientEndPointYChange.konva",(function(){this._clearCache("linearGradient")})),w.prototype.on.call(w.prototype,"fillPriorityChange.konva fillRadialGradientColorStopsChange.konva fillRadialGradientStartPointXChange.konva fillRadialGradientStartPointYChange.konva fillRadialGradientEndPointXChange.konva fillRadialGradientEndPointYChange.konva fillRadialGradientStartRadiusChange.konva fillRadialGradientEndRadiusChange.konva",(function(){this._clearCache("radialGradient")})),c.Factory.addGetterSetter(w,"stroke",void 0,d.getStringOrGradientValidator()),c.Factory.addGetterSetter(w,"strokeWidth",2,d.getNumberValidator()),c.Factory.addGetterSetter(w,"fillAfterStrokeEnabled",!1),c.Factory.addGetterSetter(w,"hitStrokeWidth","auto",d.getNumberOrAutoValidator()),c.Factory.addGetterSetter(w,"strokeHitEnabled",!0,d.getBooleanValidator()),c.Factory.addGetterSetter(w,"perfectDrawEnabled",!0,d.getBooleanValidator()),c.Factory.addGetterSetter(w,"shadowForStrokeEnabled",!0,d.getBooleanValidator()),c.Factory.addGetterSetter(w,"lineJoin"),c.Factory.addGetterSetter(w,"lineCap"),c.Factory.addGetterSetter(w,"sceneFunc"),c.Factory.addGetterSetter(w,"hitFunc"),c.Factory.addGetterSetter(w,"dash"),c.Factory.addGetterSetter(w,"dashOffset",0,d.getNumberValidator()),c.Factory.addGetterSetter(w,"shadowColor",void 0,d.getStringValidator()),c.Factory.addGetterSetter(w,"shadowBlur",0,d.getNumberValidator()),c.Factory.addGetterSetter(w,"shadowOpacity",1,d.getNumberValidator()),c.Factory.addComponentsGetterSetter(w,"shadowOffset",["x","y"]),c.Factory.addGetterSetter(w,"shadowOffsetX",0,d.getNumberValidator()),c.Factory.addGetterSetter(w,"shadowOffsetY",0,d.getNumberValidator()),c.Factory.addGetterSetter(w,"fillPatternImage"),c.Factory.addGetterSetter(w,"fill",void 0,d.getStringOrGradientValidator()),c.Factory.addGetterSetter(w,"fillPatternX",0,d.getNumberValidator()),c.Factory.addGetterSetter(w,"fillPatternY",0,d.getNumberValidator()),c.Factory.addGetterSetter(w,"fillLinearGradientColorStops"),c.Factory.addGetterSetter(w,"strokeLinearGradientColorStops"),c.Factory.addGetterSetter(w,"fillRadialGradientStartRadius",0),c.Factory.addGetterSetter(w,"fillRadialGradientEndRadius",0),c.Factory.addGetterSetter(w,"fillRadialGradientColorStops"),c.Factory.addGetterSetter(w,"fillPatternRepeat","repeat"),c.Factory.addGetterSetter(w,"fillEnabled",!0),c.Factory.addGetterSetter(w,"strokeEnabled",!0),c.Factory.addGetterSetter(w,"shadowEnabled",!0),c.Factory.addGetterSetter(w,"dashEnabled",!0),c.Factory.addGetterSetter(w,"strokeScaleEnabled",!0),c.Factory.addGetterSetter(w,"fillPriority","color"),c.Factory.addComponentsGetterSetter(w,"fillPatternOffset",["x","y"]),c.Factory.addGetterSetter(w,"fillPatternOffsetX",0,d.getNumberValidator()),c.Factory.addGetterSetter(w,"fillPatternOffsetY",0,d.getNumberValidator()),c.Factory.addComponentsGetterSetter(w,"fillPatternScale",["x","y"]),c.Factory.addGetterSetter(w,"fillPatternScaleX",1,d.getNumberValidator()),c.Factory.addGetterSetter(w,"fillPatternScaleY",1,d.getNumberValidator()),c.Factory.addComponentsGetterSetter(w,"fillLinearGradientStartPoint",["x","y"]),c.Factory.addComponentsGetterSetter(w,"strokeLinearGradientStartPoint",["x","y"]),c.Factory.addGetterSetter(w,"fillLinearGradientStartPointX",0),c.Factory.addGetterSetter(w,"strokeLinearGradientStartPointX",0),c.Factory.addGetterSetter(w,"fillLinearGradientStartPointY",0),c.Factory.addGetterSetter(w,"strokeLinearGradientStartPointY",0),c.Factory.addComponentsGetterSetter(w,"fillLinearGradientEndPoint",["x","y"]),c.Factory.addComponentsGetterSetter(w,"strokeLinearGradientEndPoint",["x","y"]),c.Factory.addGetterSetter(w,"fillLinearGradientEndPointX",0),c.Factory.addGetterSetter(w,"strokeLinearGradientEndPointX",0),c.Factory.addGetterSetter(w,"fillLinearGradientEndPointY",0),c.Factory.addGetterSetter(w,"strokeLinearGradientEndPointY",0),c.Factory.addComponentsGetterSetter(w,"fillRadialGradientStartPoint",["x","y"]),c.Factory.addGetterSetter(w,"fillRadialGradientStartPointX",0),c.Factory.addGetterSetter(w,"fillRadialGradientStartPointY",0),c.Factory.addComponentsGetterSetter(w,"fillRadialGradientEndPoint",["x","y"]),c.Factory.addGetterSetter(w,"fillRadialGradientEndPointX",0),c.Factory.addGetterSetter(w,"fillRadialGradientEndPointY",0),c.Factory.addGetterSetter(w,"fillPatternRotation",0),c.Factory.backCompat(w,{dashArray:"dash",getDashArray:"getDash",setDashArray:"getDash",drawFunc:"sceneFunc",getDrawFunc:"getSceneFunc",setDrawFunc:"setSceneFunc",drawHitFunc:"hitFunc",getDrawHitFunc:"getHitFunc",setDrawHitFunc:"setHitFunc"}),l.Collection.mapMethods(w)},function(t,e,r){"use strict";function n(t){switch(Object.prototype.toString.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return y(t,Error)}}function o(t){return"[object String]"===Object.prototype.toString.call(t)}function h(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function l(t){return"[object Object]"===Object.prototype.toString.call(t)}function c(t){return"undefined"!=typeof Event&&y(t,Event)}function f(t){return"undefined"!=typeof Element&&y(t,Element)}function d(t){return"[object RegExp]"===Object.prototype.toString.call(t)}function m(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function v(t){return l(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function y(t,base){try{return t instanceof base}catch(t){return!1}}r.d(e,"b",(function(){return n})),r.d(e,"h",(function(){return o})),r.d(e,"f",(function(){return h})),r.d(e,"e",(function(){return l})),r.d(e,"c",(function(){return c})),r.d(e,"a",(function(){return f})),r.d(e,"g",(function(){return d})),r.d(e,"j",(function(){return m})),r.d(e,"i",(function(){return v})),r.d(e,"d",(function(){return y}))},,,,,,,function(t,e,r){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var content=function(t,e){var content=t[1]||"",r=t[3];if(!r)return content;if(e&&"function"==typeof btoa){var n=(h=r,l=btoa(unescape(encodeURIComponent(JSON.stringify(h)))),data="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(data," */")),o=r.sources.map((function(source){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(source," */")}));return[content].concat(o).concat([n]).join("\n")}var h,l,data;return[content].join("\n")}(e,t);return e[2]?"@media ".concat(e[2]," {").concat(content,"}"):content})).join("")},e.i=function(t,r,n){"string"==typeof t&&(t=[[null,t,""]]);var o={};if(n)for(var i=0;i<this.length;i++){var h=this[i][0];null!=h&&(o[h]=!0)}for(var l=0;l<t.length;l++){var c=[].concat(t[l]);n&&o[c[0]]||(r&&(c[2]?c[2]="".concat(r," and ").concat(c[2]):c[2]=r),e.push(c))}},e}},function(t,e,r){"use strict";function n(t,e){for(var r=[],n={},i=0;i<e.length;i++){var o=e[i],h=o[0],l={id:t+":"+i,css:o[1],media:o[2],sourceMap:o[3]};n[h]?n[h].parts.push(l):r.push(n[h]={id:h,parts:[l]})}return r}r.r(e),r.d(e,"default",(function(){return y}));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 h={},head=o&&(document.head||document.getElementsByTagName("head")[0]),l=null,c=0,f=!1,d=function(){},m=null,v="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function y(t,e,r,o){f=r,m=o||{};var l=n(t,e);return w(l),function(e){for(var r=[],i=0;i<l.length;i++){var o=l[i];(c=h[o.id]).refs--,r.push(c)}e?w(l=n(t,e)):l=[];for(i=0;i<r.length;i++){var c;if(0===(c=r[i]).refs){for(var f=0;f<c.parts.length;f++)c.parts[f]();delete h[c.id]}}}}function w(t){for(var i=0;i<t.length;i++){var e=t[i],r=h[e.id];if(r){r.refs++;for(var n=0;n<r.parts.length;n++)r.parts[n](e.parts[n]);for(;n<e.parts.length;n++)r.parts.push(M(e.parts[n]));r.parts.length>e.parts.length&&(r.parts.length=e.parts.length)}else{var o=[];for(n=0;n<e.parts.length;n++)o.push(M(e.parts[n]));h[e.id]={id:e.id,refs:1,parts:o}}}}function _(){var t=document.createElement("style");return t.type="text/css",head.appendChild(t),t}function M(t){var e,r,n=document.querySelector('style[data-vue-ssr-id~="'+t.id+'"]');if(n){if(f)return d;n.parentNode.removeChild(n)}if(v){var o=c++;n=l||(l=_()),e=E.bind(null,n,o,!1),r=E.bind(null,n,o,!0)}else n=_(),e=A.bind(null,n),r=function(){n.parentNode.removeChild(n)};return e(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;e(t=n)}else r()}}var S,x=(S=[],function(t,e){return S[t]=e,S.filter(Boolean).join("\n")});function E(t,e,r,n){var o=r?"":n.css;if(t.styleSheet)t.styleSheet.cssText=x(e,o);else{var h=document.createTextNode(o),l=t.childNodes;l[e]&&t.removeChild(l[e]),l.length?t.insertBefore(h,l[e]):t.appendChild(h)}}function A(t,e){var r=e.css,n=e.media,o=e.sourceMap;if(n&&t.setAttribute("media",n),m.ssrId&&t.setAttribute("data-vue-ssr-id",e.id),o&&(r+="\n/*# sourceURL="+o.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}},,,,,,,,,,,,,,,,,,,,,,,function(t,e){function r(t,e){if(!t)throw new Error(e||"Assertion failed")}t.exports=r,r.equal=function(t,e,r){if(t!=e)throw new Error(r||"Assertion failed: "+t+" != "+e)}},function(t,e,r){"use strict";var n=e,o=r(144),h=r(114),l=r(552);n.assert=h,n.toArray=l.toArray,n.zero2=l.zero2,n.toHex=l.toHex,n.encode=l.encode,n.getNAF=function(t,e,r){var n=new Array(Math.max(t.bitLength(),r)+1);n.fill(0);for(var o=1<<e+1,h=t.clone(),i=0;i<n.length;i++){var l,c=h.andln(o-1);h.isOdd()?(l=c>(o>>1)-1?(o>>1)-c:c,h.isubn(l)):l=0,n[i]=l,h.iushrn(1)}return n},n.getJSF=function(t,e){var r=[[],[]];t=t.clone(),e=e.clone();for(var n=0,o=0;t.cmpn(-n)>0||e.cmpn(-o)>0;){var h,l,c,f=t.andln(3)+n&3,d=e.andln(3)+o&3;if(3===f&&(f=-1),3===d&&(d=-1),0==(1&f))h=0;else h=3!==(c=t.andln(7)+n&7)&&5!==c||2!==d?f:-f;if(r[0].push(h),0==(1&d))l=0;else l=3!==(c=e.andln(7)+o&7)&&5!==c||2!==f?d:-d;r[1].push(l),2*n===h+1&&(n=1-n),2*o===l+1&&(o=1-o),t.iushrn(1),e.iushrn(1)}return r},n.cachedProperty=function(t,e,r){var n="_"+e;t.prototype[e]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(t){return"string"==typeof t?n.toArray(t,"hex"):t},n.intFromLE=function(t){return new o(t,"hex","le")}},,,,,function(t,e,r){"use strict";r.d(e,"a",(function(){return h})),r.d(e,"b",(function(){return l})),r.d(e,"c",(function(){return c})),r.d(e,"d",(function(){return v})),r.d(e,"e",(function(){return y})),r.d(e,"f",(function(){return w})),r.d(e,"g",(function(){return S})),r.d(e,"h",(function(){return x})),r.d(e,"i",(function(){return E}));r(213),r(300),r(302),r(138),r(18),r(101),r(22),r(87),r(139),r(10),r(259),r(33),r(103),r(64),r(80),r(56),r(453),r(37),r(149);var n={en:/^[A-Z\s]*$/i,cs:/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ\s]*$/i,da:/^[A-ZÆØÅ\s]*$/i,de:/^[A-ZÄÖÜß\s]*$/i,es:/^[A-ZÁÉÍÑÓÚÜ\s]*$/i,fa:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰپژگچکی]*$/,fr:/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ\s]*$/i,it:/^[A-Z\xC0-\xFF\s]*$/i,lt:/^[A-ZĄČĘĖĮŠŲŪŽ\s]*$/i,nl:/^[A-ZÉËÏÓÖÜ\s]*$/i,hu:/^[A-ZÁÉÍÓÖŐÚÜŰ\s]*$/i,pl:/^[A-ZĄĆĘŚŁŃÓŻŹ\s]*$/i,pt:/^[A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ\s]*$/i,ro:/^[A-ZĂÂÎŞŢ\s]*$/i,ru:/^[А-ЯЁ\s]*$/i,sk:/^[A-ZÁÄČĎÉÍĹĽŇÓŔŠŤÚÝŽ\s]*$/i,sr:/^[A-ZČĆŽŠĐ\s]*$/i,sv:/^[A-ZÅÄÖ\s]*$/i,tr:/^[A-ZÇĞİıÖŞÜ\s]*$/i,uk:/^[А-ЩЬЮЯЄІЇҐ\s]*$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ\s]*$/,az:/^[A-ZÇƏĞİıÖŞÜ\s]*$/i,el:/^[Α-ώ\s]*$/i},o={en:/^[0-9A-Z]*$/i,cs:/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]*$/i,da:/^[0-9A-ZÆØÅ]$/i,de:/^[0-9A-ZÄÖÜß]*$/i,es:/^[0-9A-ZÁÉÍÑÓÚÜ]*$/i,fa:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰپژگچکی]*$/,fr:/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]*$/i,it:/^[0-9A-Z\xC0-\xFF]*$/i,lt:/^[0-9A-ZĄČĘĖĮŠŲŪŽ]*$/i,hu:/^[0-9A-ZÁÉÍÓÖŐÚÜŰ]*$/i,nl:/^[0-9A-ZÉËÏÓÖÜ]*$/i,pl:/^[0-9A-ZĄĆĘŚŁŃÓŻŹ]*$/i,pt:/^[0-9A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ]*$/i,ro:/^[0-9A-ZĂÂÎŞŢ]*$/i,ru:/^[0-9А-ЯЁ]*$/i,sk:/^[0-9A-ZÁÄČĎÉÍĹĽŇÓŔŠŤÚÝŽ]*$/i,sr:/^[0-9A-ZČĆŽŠĐ]*$/i,sv:/^[0-9A-ZÅÄÖ]*$/i,tr:/^[0-9A-ZÇĞİıÖŞÜ]*$/i,uk:/^[0-9А-ЩЬЮЯЄІЇҐ]*$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]*$/,az:/^[0-9A-ZÇƏĞİıÖŞÜ]*$/i,el:/^[0-9Α-ώ]*$/i},h={validate:function t(e,r){var n=(void 0===r?{}:r).locale,h=void 0===n?"":n;return Array.isArray(e)?e.every((function(e){return t(e,{locale:h})})):h?(o[h]||o.en).test(e):Object.keys(o).some((function(t){return o[t].test(e)}))},params:[{name:"locale"}]},l={validate:function t(e,r){var o=(void 0===r?{}:r).locale,h=void 0===o?"":o;return Array.isArray(e)?e.every((function(e){return t(e,{locale:h})})):h?(n[h]||n.en).test(e):Object.keys(n).some((function(t){return n[t].test(e)}))},params:[{name:"locale"}]},c={validate:function(t,e){var r=(void 0===e?{}:e).multiple,n=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return r&&!Array.isArray(t)&&(t=String(t).split(",").map((function(t){return t.trim()}))),Array.isArray(t)?t.every((function(t){return n.test(String(t))})):n.test(String(t))},params:[{name:"multiple",default:!1}]};function f(t){return null==t}function d(t){return Array.isArray(t)&&0===t.length}function m(t){return"function"==typeof Array.from?Array.from(t):function(t){for(var e=[],r=t.length,i=0;i<r;i++)e.push(t[i]);return e}(t)}var v={validate:function(t,e){var r=e.length;return!f(t)&&("number"==typeof t&&(t=String(t)),t.length||(t=m(t)),t.length===r)},params:[{name:"length",cast:function(t){return Number(t)}}]},y={validate:function t(e,r){var n=r.length;return f(e)?n>=0:Array.isArray(e)?e.every((function(e){return t(e,{length:n})})):String(e).length<=n},params:[{name:"length",cast:function(t){return Number(t)}}]},w={validate:function t(e,r){var n=r.length;return!f(e)&&(Array.isArray(e)?e.every((function(e){return t(e,{length:n})})):String(e).length>=n)},params:[{name:"length",cast:function(t){return Number(t)}}]},_=/^[٠١٢٣٤٥٦٧٨٩]+$/,M=/^[0-9]+$/,S={validate:function(t){var e=function(t){var e=String(t);return M.test(e)||_.test(e)};return Array.isArray(t)?t.every(e):e(t)}},x={validate:function t(e,r){var n=r.regex;return Array.isArray(e)?e.every((function(e){return t(e,{regex:n})})):n.test(String(e))},params:[{name:"regex",cast:function(t){return"string"==typeof t?new RegExp(t):t}}]},E={validate:function(t,e){var r=(void 0===e?{allowFalse:!0}:e).allowFalse,n={valid:!1,required:!0};return f(t)||d(t)?n:!1!==t||r?(n.valid=!!String(t).trim().length,n):n},params:[{name:"allowFalse",default:!0}],computesRequired:!0}},,,,,,,,function(t,e,r){"use strict";var n=r(114),o=r(36);function h(t,i){return 55296==(64512&t.charCodeAt(i))&&(!(i<0||i+1>=t.length)&&56320==(64512&t.charCodeAt(i+1)))}function l(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function c(t){return 1===t.length?"0"+t:t}function f(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}e.inherits=o,e.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if("string"==typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),i=0;i<t.length;i+=2)r.push(parseInt(t[i]+t[i+1],16))}else for(var p=0,i=0;i<t.length;i++){var n=t.charCodeAt(i);n<128?r[p++]=n:n<2048?(r[p++]=n>>6|192,r[p++]=63&n|128):h(t,i)?(n=65536+((1023&n)<<10)+(1023&t.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<t.length;i++)r[i]=0|t[i];return r},e.toHex=function(t){for(var e="",i=0;i<t.length;i++)e+=c(t[i].toString(16));return e},e.htonl=l,e.toHex32=function(t,e){for(var r="",i=0;i<t.length;i++){var n=t[i];"little"===e&&(n=l(n)),r+=f(n.toString(16))}return r},e.zero2=c,e.zero8=f,e.join32=function(t,e,r,o){var h=r-e;n(h%4==0);for(var l=new Array(h/4),i=0,c=e;i<l.length;i++,c+=4){var f;f="big"===o?t[c]<<24|t[c+1]<<16|t[c+2]<<8|t[c+3]:t[c+3]<<24|t[c+2]<<16|t[c+1]<<8|t[c],l[i]=f>>>0}return l},e.split32=function(t,e){for(var r=new Array(4*t.length),i=0,n=0;i<t.length;i++,n+=4){var o=t[i];"big"===e?(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},e.rotr32=function(t,b){return t>>>b|t<<32-b},e.rotl32=function(t,b){return t<<b|t>>>32-b},e.sum32=function(a,b){return a+b>>>0},e.sum32_3=function(a,b,t){return a+b+t>>>0},e.sum32_4=function(a,b,t,e){return a+b+t+e>>>0},e.sum32_5=function(a,b,t,e,r){return a+b+t+e+r>>>0},e.sum64=function(t,e,r,n){var o=t[e],h=n+t[e+1]>>>0,l=(h<n?1:0)+r+o;t[e]=l>>>0,t[e+1]=h},e.sum64_hi=function(t,e,r,n){return(e+n>>>0<e?1:0)+t+r>>>0},e.sum64_lo=function(t,e,r,n){return e+n>>>0},e.sum64_4_hi=function(t,e,r,n,o,h,l,dl){var c=0,f=e;return c+=(f=f+n>>>0)<e?1:0,c+=(f=f+h>>>0)<h?1:0,t+r+o+l+(c+=(f=f+dl>>>0)<dl?1:0)>>>0},e.sum64_4_lo=function(t,e,r,n,o,h,l,dl){return e+n+h+dl>>>0},e.sum64_5_hi=function(t,e,r,n,o,h,l,dl,c,f){var d=0,m=e;return d+=(m=m+n>>>0)<e?1:0,d+=(m=m+h>>>0)<h?1:0,d+=(m=m+dl>>>0)<dl?1:0,t+r+o+l+c+(d+=(m=m+f>>>0)<f?1:0)>>>0},e.sum64_5_lo=function(t,e,r,n,o,h,l,dl,c,f){return e+n+h+dl+f>>>0},e.rotr64_hi=function(t,e,r){return(e<<32-r|t>>>r)>>>0},e.rotr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0},e.shr64_hi=function(t,e,r){return t>>>r},e.shr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0}},,,,,function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return h}));var n=r(236),o={};function h(){return Object(n.b)()?t:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}}).call(this,r(54))},,,,,,,,,,,function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function o(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function h(t,base,e){if(h.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==base&&"be"!==base||(e=base,base=10),this._init(t||0,base||10,e||"be"))}var l;"object"==typeof t?t.exports=h:e.BN=h,h.BN=h,h.wordSize=26;try{l=r(772).Buffer}catch(t){}function c(t,e,r){for(var n=0,o=Math.min(t.length,r),i=e;i<o;i++){var h=t.charCodeAt(i)-48;n<<=4,n|=h>=49&&h<=54?h-49+10:h>=17&&h<=22?h-17+10:15&h}return n}function f(t,e,r,n){for(var o=0,h=Math.min(t.length,r),i=e;i<h;i++){var l=t.charCodeAt(i)-48;o*=n,o+=l>=49?l-49+10:l>=17?l-17+10:l}return o}h.isBN=function(t){return t instanceof h||null!==t&&"object"==typeof t&&t.constructor.wordSize===h.wordSize&&Array.isArray(t.words)},h.max=function(t,e){return t.cmp(e)>0?t:e},h.min=function(t,e){return t.cmp(e)<0?t:e},h.prototype._init=function(t,base,e){if("number"==typeof t)return this._initNumber(t,base,e);if("object"==typeof t)return this._initArray(t,base,e);"hex"===base&&(base=16),n(base===(0|base)&&base>=2&&base<=36);var r=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&r++,16===base?this._parseHex(t,r):this._parseBase(t,base,r),"-"===t[0]&&(this.negative=1),this.strip(),"le"===e&&this._initArray(this.toArray(),base,e)},h.prototype._initNumber=function(t,base,e){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===e&&this._initArray(this.toArray(),base,e)},h.prototype._initArray=function(t,base,e){if(n("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var r,o,h=0;if("be"===e)for(i=t.length-1,r=0;i>=0;i-=3)o=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[r]|=o<<h&67108863,this.words[r+1]=o>>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);else if("le"===e)for(i=0,r=0;i<t.length;i+=3)o=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[r]|=o<<h&67108863,this.words[r+1]=o>>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);return this.strip()},h.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var r,n,o=0;for(i=t.length-6,r=0;i>=e;i-=6)n=c(t,i,i+6),this.words[r]|=n<<o&67108863,this.words[r+1]|=n>>>26-o&4194303,(o+=24)>=26&&(o-=26,r++);i+6!==e&&(n=c(t,e,i+6),this.words[r]|=n<<o&67108863,this.words[r+1]|=n>>>26-o&4194303),this.strip()},h.prototype._parseBase=function(t,base,e){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=t.length-e,h=o%r,l=Math.min(o,o-h)+e,c=0,i=e;i<l;i+=r)c=f(t,i,i+r,base),this.imuln(n),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==h){var d=1;for(c=f(t,i,t.length,base),i=0;i<h;i++)d*=base;this.imuln(d),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},h.prototype.copy=function(t){t.words=new Array(this.length);for(var i=0;i<this.length;i++)t.words[i]=this.words[i];t.length=this.length,t.negative=this.negative,t.red=this.red},h.prototype.clone=function(){var t=new h(null);return this.copy(t),t},h.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},h.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},h.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},h.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var d=["","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,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function y(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var a=0|t.words[0],b=0|e.words[0],o=a*b,h=67108863&o,l=o/67108864|0;r.words[0]=h;for(var c=1;c<n;c++){for(var f=l>>>26,d=67108863&l,m=Math.min(c,e.length-1),v=Math.max(0,c-t.length+1);v<=m;v++){var i=c-v|0;f+=(o=(a=0|t.words[i])*(b=0|e.words[v])+d)/67108864|0,d=67108863&o}r.words[c]=0|d,l=0|f}return 0!==l?r.words[c]=0|l:r.length--,r.strip()}h.prototype.toString=function(base,t){var e;if(t=0|t||1,16===(base=base||10)||"hex"===base){e="";for(var r=0,o=0,i=0;i<this.length;i++){var h=this.words[i],l=(16777215&(h<<r|o)).toString(16);e=0!==(o=h>>>24-r&16777215)||i!==this.length-1?d[6-l.length]+l+e:l+e,(r+=2)>=26&&(r-=26,i--)}for(0!==o&&(e=o.toString(16)+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}if(base===(0|base)&&base>=2&&base<=36){var c=m[base],f=v[base];e="";var y=this.clone();for(y.negative=0;!y.isZero();){var w=y.modn(f).toString(base);e=(y=y.idivn(f)).isZero()?w+e:d[c-w.length]+w+e}for(this.isZero()&&(e="0"+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}n(!1,"Base should be between 2 and 36")},h.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},h.prototype.toJSON=function(){return this.toString(16)},h.prototype.toBuffer=function(t,e){return n(void 0!==l),this.toArrayLike(l,t,e)},h.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},h.prototype.toArrayLike=function(t,e,r){var o=this.byteLength(),h=r||Math.max(1,o);n(o<=h,"byte array longer than desired length"),n(h>0,"Requested array length <= 0"),this.strip();var b,i,l="le"===e,c=new t(h),q=this.clone();if(l){for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),c[i]=b;for(;i<h;i++)c[i]=0}else{for(i=0;i<h-o;i++)c[i]=0;for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),c[h-i-1]=b}return c},Math.clz32?h.prototype._countBits=function(t){return 32-Math.clz32(t)}:h.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},h.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0==(8191&e)&&(r+=13,e>>>=13),0==(127&e)&&(r+=7,e>>>=7),0==(15&e)&&(r+=4,e>>>=4),0==(3&e)&&(r+=2,e>>>=2),0==(1&e)&&r++,r},h.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},h.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,i=0;i<this.length;i++){var b=this._zeroBits(this.words[i]);if(t+=b,26!==b)break}return t},h.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},h.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},h.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},h.prototype.isNeg=function(){return 0!==this.negative},h.prototype.neg=function(){return this.clone().ineg()},h.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},h.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var i=0;i<t.length;i++)this.words[i]=this.words[i]|t.words[i];return this.strip()},h.prototype.ior=function(t){return n(0==(this.negative|t.negative)),this.iuor(t)},h.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},h.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},h.prototype.iuand=function(t){var b;b=this.length>t.length?t:this;for(var i=0;i<b.length;i++)this.words[i]=this.words[i]&t.words[i];return this.length=b.length,this.strip()},h.prototype.iand=function(t){return n(0==(this.negative|t.negative)),this.iuand(t)},h.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},h.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},h.prototype.iuxor=function(t){var a,b;this.length>t.length?(a=this,b=t):(a=t,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()},h.prototype.ixor=function(t){return n(0==(this.negative|t.negative)),this.iuxor(t)},h.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},h.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},h.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},h.prototype.notn=function(t){return this.clone().inotn(t)},h.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var r=t/26|0,o=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<o:this.words[r]&~(1<<o),this.strip()},h.prototype.iadd=function(t){var e,a,b;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(a=this,b=t):(a=t,b=this);for(var r=0,i=0;i<b.length;i++)e=(0|a.words[i])+(0|b.words[i])+r,this.words[i]=67108863&e,r=e>>>26;for(;0!==r&&i<a.length;i++)e=(0|a.words[i])+r,this.words[i]=67108863&e,r=e>>>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},h.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},h.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var a,b,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(a=this,b=t):(a=t,b=this);for(var n=0,i=0;i<b.length;i++)n=(e=(0|a.words[i])-(0|b.words[i])+n)>>26,this.words[i]=67108863&e;for(;0!==n&&i<a.length;i++)n=(e=(0|a.words[i])+n)>>26,this.words[i]=67108863&e;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()},h.prototype.sub=function(t){return this.clone().isub(t)};var w=function(t,e,r){var n,o,h,a=t.words,b=e.words,l=r.words,c=0,f=0|a[0],d=8191&f,m=f>>>13,v=0|a[1],y=8191&v,w=v>>>13,_=0|a[2],M=8191&_,S=_>>>13,x=0|a[3],E=8191&x,A=x>>>13,T=0|a[4],k=8191&T,C=T>>>13,O=0|a[5],I=8191&O,P=O>>>13,R=0|a[6],j=8191&R,N=R>>>13,L=0|a[7],D=8191&L,B=L>>>13,F=0|a[8],U=8191&F,z=F>>>13,H=0|a[9],G=8191&H,V=H>>>13,$=0|b[0],W=8191&$,Y=$>>>13,K=0|b[1],X=8191&K,Z=K>>>13,J=0|b[2],Q=8191&J,tt=J>>>13,et=0|b[3],it=8191&et,nt=et>>>13,ot=0|b[4],at=8191&ot,st=ot>>>13,ht=0|b[5],ut=8191&ht,lt=ht>>>13,ct=0|b[6],ft=8191&ct,pt=ct>>>13,mt=0|b[7],gt=8191&mt,vt=mt>>>13,bt=0|b[8],yt=8191&bt,wt=bt>>>13,_t=0|b[9],Mt=8191&_t,St=_t>>>13;r.negative=t.negative^e.negative,r.length=19;var xt=(c+(n=Math.imul(d,W))|0)+((8191&(o=(o=Math.imul(d,Y))+Math.imul(m,W)|0))<<13)|0;c=((h=Math.imul(m,Y))+(o>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(y,W),o=(o=Math.imul(y,Y))+Math.imul(w,W)|0,h=Math.imul(w,Y);var Et=(c+(n=n+Math.imul(d,X)|0)|0)+((8191&(o=(o=o+Math.imul(d,Z)|0)+Math.imul(m,X)|0))<<13)|0;c=((h=h+Math.imul(m,Z)|0)+(o>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(M,W),o=(o=Math.imul(M,Y))+Math.imul(S,W)|0,h=Math.imul(S,Y),n=n+Math.imul(y,X)|0,o=(o=o+Math.imul(y,Z)|0)+Math.imul(w,X)|0,h=h+Math.imul(w,Z)|0;var At=(c+(n=n+Math.imul(d,Q)|0)|0)+((8191&(o=(o=o+Math.imul(d,tt)|0)+Math.imul(m,Q)|0))<<13)|0;c=((h=h+Math.imul(m,tt)|0)+(o>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(E,W),o=(o=Math.imul(E,Y))+Math.imul(A,W)|0,h=Math.imul(A,Y),n=n+Math.imul(M,X)|0,o=(o=o+Math.imul(M,Z)|0)+Math.imul(S,X)|0,h=h+Math.imul(S,Z)|0,n=n+Math.imul(y,Q)|0,o=(o=o+Math.imul(y,tt)|0)+Math.imul(w,Q)|0,h=h+Math.imul(w,tt)|0;var Tt=(c+(n=n+Math.imul(d,it)|0)|0)+((8191&(o=(o=o+Math.imul(d,nt)|0)+Math.imul(m,it)|0))<<13)|0;c=((h=h+Math.imul(m,nt)|0)+(o>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(k,W),o=(o=Math.imul(k,Y))+Math.imul(C,W)|0,h=Math.imul(C,Y),n=n+Math.imul(E,X)|0,o=(o=o+Math.imul(E,Z)|0)+Math.imul(A,X)|0,h=h+Math.imul(A,Z)|0,n=n+Math.imul(M,Q)|0,o=(o=o+Math.imul(M,tt)|0)+Math.imul(S,Q)|0,h=h+Math.imul(S,tt)|0,n=n+Math.imul(y,it)|0,o=(o=o+Math.imul(y,nt)|0)+Math.imul(w,it)|0,h=h+Math.imul(w,nt)|0;var kt=(c+(n=n+Math.imul(d,at)|0)|0)+((8191&(o=(o=o+Math.imul(d,st)|0)+Math.imul(m,at)|0))<<13)|0;c=((h=h+Math.imul(m,st)|0)+(o>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(I,W),o=(o=Math.imul(I,Y))+Math.imul(P,W)|0,h=Math.imul(P,Y),n=n+Math.imul(k,X)|0,o=(o=o+Math.imul(k,Z)|0)+Math.imul(C,X)|0,h=h+Math.imul(C,Z)|0,n=n+Math.imul(E,Q)|0,o=(o=o+Math.imul(E,tt)|0)+Math.imul(A,Q)|0,h=h+Math.imul(A,tt)|0,n=n+Math.imul(M,it)|0,o=(o=o+Math.imul(M,nt)|0)+Math.imul(S,it)|0,h=h+Math.imul(S,nt)|0,n=n+Math.imul(y,at)|0,o=(o=o+Math.imul(y,st)|0)+Math.imul(w,at)|0,h=h+Math.imul(w,st)|0;var Ct=(c+(n=n+Math.imul(d,ut)|0)|0)+((8191&(o=(o=o+Math.imul(d,lt)|0)+Math.imul(m,ut)|0))<<13)|0;c=((h=h+Math.imul(m,lt)|0)+(o>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(j,W),o=(o=Math.imul(j,Y))+Math.imul(N,W)|0,h=Math.imul(N,Y),n=n+Math.imul(I,X)|0,o=(o=o+Math.imul(I,Z)|0)+Math.imul(P,X)|0,h=h+Math.imul(P,Z)|0,n=n+Math.imul(k,Q)|0,o=(o=o+Math.imul(k,tt)|0)+Math.imul(C,Q)|0,h=h+Math.imul(C,tt)|0,n=n+Math.imul(E,it)|0,o=(o=o+Math.imul(E,nt)|0)+Math.imul(A,it)|0,h=h+Math.imul(A,nt)|0,n=n+Math.imul(M,at)|0,o=(o=o+Math.imul(M,st)|0)+Math.imul(S,at)|0,h=h+Math.imul(S,st)|0,n=n+Math.imul(y,ut)|0,o=(o=o+Math.imul(y,lt)|0)+Math.imul(w,ut)|0,h=h+Math.imul(w,lt)|0;var Ot=(c+(n=n+Math.imul(d,ft)|0)|0)+((8191&(o=(o=o+Math.imul(d,pt)|0)+Math.imul(m,ft)|0))<<13)|0;c=((h=h+Math.imul(m,pt)|0)+(o>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(D,W),o=(o=Math.imul(D,Y))+Math.imul(B,W)|0,h=Math.imul(B,Y),n=n+Math.imul(j,X)|0,o=(o=o+Math.imul(j,Z)|0)+Math.imul(N,X)|0,h=h+Math.imul(N,Z)|0,n=n+Math.imul(I,Q)|0,o=(o=o+Math.imul(I,tt)|0)+Math.imul(P,Q)|0,h=h+Math.imul(P,tt)|0,n=n+Math.imul(k,it)|0,o=(o=o+Math.imul(k,nt)|0)+Math.imul(C,it)|0,h=h+Math.imul(C,nt)|0,n=n+Math.imul(E,at)|0,o=(o=o+Math.imul(E,st)|0)+Math.imul(A,at)|0,h=h+Math.imul(A,st)|0,n=n+Math.imul(M,ut)|0,o=(o=o+Math.imul(M,lt)|0)+Math.imul(S,ut)|0,h=h+Math.imul(S,lt)|0,n=n+Math.imul(y,ft)|0,o=(o=o+Math.imul(y,pt)|0)+Math.imul(w,ft)|0,h=h+Math.imul(w,pt)|0;var It=(c+(n=n+Math.imul(d,gt)|0)|0)+((8191&(o=(o=o+Math.imul(d,vt)|0)+Math.imul(m,gt)|0))<<13)|0;c=((h=h+Math.imul(m,vt)|0)+(o>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(U,W),o=(o=Math.imul(U,Y))+Math.imul(z,W)|0,h=Math.imul(z,Y),n=n+Math.imul(D,X)|0,o=(o=o+Math.imul(D,Z)|0)+Math.imul(B,X)|0,h=h+Math.imul(B,Z)|0,n=n+Math.imul(j,Q)|0,o=(o=o+Math.imul(j,tt)|0)+Math.imul(N,Q)|0,h=h+Math.imul(N,tt)|0,n=n+Math.imul(I,it)|0,o=(o=o+Math.imul(I,nt)|0)+Math.imul(P,it)|0,h=h+Math.imul(P,nt)|0,n=n+Math.imul(k,at)|0,o=(o=o+Math.imul(k,st)|0)+Math.imul(C,at)|0,h=h+Math.imul(C,st)|0,n=n+Math.imul(E,ut)|0,o=(o=o+Math.imul(E,lt)|0)+Math.imul(A,ut)|0,h=h+Math.imul(A,lt)|0,n=n+Math.imul(M,ft)|0,o=(o=o+Math.imul(M,pt)|0)+Math.imul(S,ft)|0,h=h+Math.imul(S,pt)|0,n=n+Math.imul(y,gt)|0,o=(o=o+Math.imul(y,vt)|0)+Math.imul(w,gt)|0,h=h+Math.imul(w,vt)|0;var Pt=(c+(n=n+Math.imul(d,yt)|0)|0)+((8191&(o=(o=o+Math.imul(d,wt)|0)+Math.imul(m,yt)|0))<<13)|0;c=((h=h+Math.imul(m,wt)|0)+(o>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(G,W),o=(o=Math.imul(G,Y))+Math.imul(V,W)|0,h=Math.imul(V,Y),n=n+Math.imul(U,X)|0,o=(o=o+Math.imul(U,Z)|0)+Math.imul(z,X)|0,h=h+Math.imul(z,Z)|0,n=n+Math.imul(D,Q)|0,o=(o=o+Math.imul(D,tt)|0)+Math.imul(B,Q)|0,h=h+Math.imul(B,tt)|0,n=n+Math.imul(j,it)|0,o=(o=o+Math.imul(j,nt)|0)+Math.imul(N,it)|0,h=h+Math.imul(N,nt)|0,n=n+Math.imul(I,at)|0,o=(o=o+Math.imul(I,st)|0)+Math.imul(P,at)|0,h=h+Math.imul(P,st)|0,n=n+Math.imul(k,ut)|0,o=(o=o+Math.imul(k,lt)|0)+Math.imul(C,ut)|0,h=h+Math.imul(C,lt)|0,n=n+Math.imul(E,ft)|0,o=(o=o+Math.imul(E,pt)|0)+Math.imul(A,ft)|0,h=h+Math.imul(A,pt)|0,n=n+Math.imul(M,gt)|0,o=(o=o+Math.imul(M,vt)|0)+Math.imul(S,gt)|0,h=h+Math.imul(S,vt)|0,n=n+Math.imul(y,yt)|0,o=(o=o+Math.imul(y,wt)|0)+Math.imul(w,yt)|0,h=h+Math.imul(w,wt)|0;var Rt=(c+(n=n+Math.imul(d,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(d,St)|0)+Math.imul(m,Mt)|0))<<13)|0;c=((h=h+Math.imul(m,St)|0)+(o>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(G,X),o=(o=Math.imul(G,Z))+Math.imul(V,X)|0,h=Math.imul(V,Z),n=n+Math.imul(U,Q)|0,o=(o=o+Math.imul(U,tt)|0)+Math.imul(z,Q)|0,h=h+Math.imul(z,tt)|0,n=n+Math.imul(D,it)|0,o=(o=o+Math.imul(D,nt)|0)+Math.imul(B,it)|0,h=h+Math.imul(B,nt)|0,n=n+Math.imul(j,at)|0,o=(o=o+Math.imul(j,st)|0)+Math.imul(N,at)|0,h=h+Math.imul(N,st)|0,n=n+Math.imul(I,ut)|0,o=(o=o+Math.imul(I,lt)|0)+Math.imul(P,ut)|0,h=h+Math.imul(P,lt)|0,n=n+Math.imul(k,ft)|0,o=(o=o+Math.imul(k,pt)|0)+Math.imul(C,ft)|0,h=h+Math.imul(C,pt)|0,n=n+Math.imul(E,gt)|0,o=(o=o+Math.imul(E,vt)|0)+Math.imul(A,gt)|0,h=h+Math.imul(A,vt)|0,n=n+Math.imul(M,yt)|0,o=(o=o+Math.imul(M,wt)|0)+Math.imul(S,yt)|0,h=h+Math.imul(S,wt)|0;var jt=(c+(n=n+Math.imul(y,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(y,St)|0)+Math.imul(w,Mt)|0))<<13)|0;c=((h=h+Math.imul(w,St)|0)+(o>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(G,Q),o=(o=Math.imul(G,tt))+Math.imul(V,Q)|0,h=Math.imul(V,tt),n=n+Math.imul(U,it)|0,o=(o=o+Math.imul(U,nt)|0)+Math.imul(z,it)|0,h=h+Math.imul(z,nt)|0,n=n+Math.imul(D,at)|0,o=(o=o+Math.imul(D,st)|0)+Math.imul(B,at)|0,h=h+Math.imul(B,st)|0,n=n+Math.imul(j,ut)|0,o=(o=o+Math.imul(j,lt)|0)+Math.imul(N,ut)|0,h=h+Math.imul(N,lt)|0,n=n+Math.imul(I,ft)|0,o=(o=o+Math.imul(I,pt)|0)+Math.imul(P,ft)|0,h=h+Math.imul(P,pt)|0,n=n+Math.imul(k,gt)|0,o=(o=o+Math.imul(k,vt)|0)+Math.imul(C,gt)|0,h=h+Math.imul(C,vt)|0,n=n+Math.imul(E,yt)|0,o=(o=o+Math.imul(E,wt)|0)+Math.imul(A,yt)|0,h=h+Math.imul(A,wt)|0;var Nt=(c+(n=n+Math.imul(M,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(M,St)|0)+Math.imul(S,Mt)|0))<<13)|0;c=((h=h+Math.imul(S,St)|0)+(o>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul(G,it),o=(o=Math.imul(G,nt))+Math.imul(V,it)|0,h=Math.imul(V,nt),n=n+Math.imul(U,at)|0,o=(o=o+Math.imul(U,st)|0)+Math.imul(z,at)|0,h=h+Math.imul(z,st)|0,n=n+Math.imul(D,ut)|0,o=(o=o+Math.imul(D,lt)|0)+Math.imul(B,ut)|0,h=h+Math.imul(B,lt)|0,n=n+Math.imul(j,ft)|0,o=(o=o+Math.imul(j,pt)|0)+Math.imul(N,ft)|0,h=h+Math.imul(N,pt)|0,n=n+Math.imul(I,gt)|0,o=(o=o+Math.imul(I,vt)|0)+Math.imul(P,gt)|0,h=h+Math.imul(P,vt)|0,n=n+Math.imul(k,yt)|0,o=(o=o+Math.imul(k,wt)|0)+Math.imul(C,yt)|0,h=h+Math.imul(C,wt)|0;var Lt=(c+(n=n+Math.imul(E,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(E,St)|0)+Math.imul(A,Mt)|0))<<13)|0;c=((h=h+Math.imul(A,St)|0)+(o>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul(G,at),o=(o=Math.imul(G,st))+Math.imul(V,at)|0,h=Math.imul(V,st),n=n+Math.imul(U,ut)|0,o=(o=o+Math.imul(U,lt)|0)+Math.imul(z,ut)|0,h=h+Math.imul(z,lt)|0,n=n+Math.imul(D,ft)|0,o=(o=o+Math.imul(D,pt)|0)+Math.imul(B,ft)|0,h=h+Math.imul(B,pt)|0,n=n+Math.imul(j,gt)|0,o=(o=o+Math.imul(j,vt)|0)+Math.imul(N,gt)|0,h=h+Math.imul(N,vt)|0,n=n+Math.imul(I,yt)|0,o=(o=o+Math.imul(I,wt)|0)+Math.imul(P,yt)|0,h=h+Math.imul(P,wt)|0;var Dt=(c+(n=n+Math.imul(k,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(k,St)|0)+Math.imul(C,Mt)|0))<<13)|0;c=((h=h+Math.imul(C,St)|0)+(o>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(G,ut),o=(o=Math.imul(G,lt))+Math.imul(V,ut)|0,h=Math.imul(V,lt),n=n+Math.imul(U,ft)|0,o=(o=o+Math.imul(U,pt)|0)+Math.imul(z,ft)|0,h=h+Math.imul(z,pt)|0,n=n+Math.imul(D,gt)|0,o=(o=o+Math.imul(D,vt)|0)+Math.imul(B,gt)|0,h=h+Math.imul(B,vt)|0,n=n+Math.imul(j,yt)|0,o=(o=o+Math.imul(j,wt)|0)+Math.imul(N,yt)|0,h=h+Math.imul(N,wt)|0;var Bt=(c+(n=n+Math.imul(I,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(I,St)|0)+Math.imul(P,Mt)|0))<<13)|0;c=((h=h+Math.imul(P,St)|0)+(o>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul(G,ft),o=(o=Math.imul(G,pt))+Math.imul(V,ft)|0,h=Math.imul(V,pt),n=n+Math.imul(U,gt)|0,o=(o=o+Math.imul(U,vt)|0)+Math.imul(z,gt)|0,h=h+Math.imul(z,vt)|0,n=n+Math.imul(D,yt)|0,o=(o=o+Math.imul(D,wt)|0)+Math.imul(B,yt)|0,h=h+Math.imul(B,wt)|0;var Ft=(c+(n=n+Math.imul(j,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(j,St)|0)+Math.imul(N,Mt)|0))<<13)|0;c=((h=h+Math.imul(N,St)|0)+(o>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,n=Math.imul(G,gt),o=(o=Math.imul(G,vt))+Math.imul(V,gt)|0,h=Math.imul(V,vt),n=n+Math.imul(U,yt)|0,o=(o=o+Math.imul(U,wt)|0)+Math.imul(z,yt)|0,h=h+Math.imul(z,wt)|0;var Ut=(c+(n=n+Math.imul(D,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(D,St)|0)+Math.imul(B,Mt)|0))<<13)|0;c=((h=h+Math.imul(B,St)|0)+(o>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,n=Math.imul(G,yt),o=(o=Math.imul(G,wt))+Math.imul(V,yt)|0,h=Math.imul(V,wt);var qt=(c+(n=n+Math.imul(U,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(U,St)|0)+Math.imul(z,Mt)|0))<<13)|0;c=((h=h+Math.imul(z,St)|0)+(o>>>13)|0)+(qt>>>26)|0,qt&=67108863;var zt=(c+(n=Math.imul(G,Mt))|0)+((8191&(o=(o=Math.imul(G,St))+Math.imul(V,Mt)|0))<<13)|0;return c=((h=Math.imul(V,St))+(o>>>13)|0)+(zt>>>26)|0,zt&=67108863,l[0]=xt,l[1]=Et,l[2]=At,l[3]=Tt,l[4]=kt,l[5]=Ct,l[6]=Ot,l[7]=It,l[8]=Pt,l[9]=Rt,l[10]=jt,l[11]=Nt,l[12]=Lt,l[13]=Dt,l[14]=Bt,l[15]=Ft,l[16]=Ut,l[17]=qt,l[18]=zt,0!==c&&(l[19]=c,r.length++),r};function _(t,e,r){return(new M).mulp(t,e,r)}function M(t,e){this.x=t,this.y=e}Math.imul||(w=y),h.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?w(this,t,e):r<63?y(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,o=0,h=0;h<r.length-1;h++){var l=o;o=0;for(var c=67108863&n,f=Math.min(h,e.length-1),d=Math.max(0,h-t.length+1);d<=f;d++){var i=h-d,m=(0|t.words[i])*(0|e.words[d]),v=67108863&m;c=67108863&(v=v+c|0),o+=(l=(l=l+(m/67108864|0)|0)+(v>>>26)|0)>>>26,l&=67108863}r.words[h]=c,n=l,l=o}return 0!==n?r.words[h]=n:r.length--,r.strip()}(this,t,e):_(this,t,e)},M.prototype.makeRBT=function(t){for(var e=new Array(t),r=h.prototype._countBits(t)-1,i=0;i<t;i++)e[i]=this.revBin(i,r,t);return e},M.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},M.prototype.permute=function(t,e,r,n,o,h){for(var i=0;i<h;i++)n[i]=e[t[i]],o[i]=r[t[i]]},M.prototype.transform=function(t,e,r,n,o,h){this.permute(h,t,e,r,n,o);for(var s=1;s<o;s<<=1)for(var l=s<<1,c=Math.cos(2*Math.PI/l),f=Math.sin(2*Math.PI/l),p=0;p<o;p+=l)for(var d=c,m=f,v=0;v<s;v++){var y=r[p+v],w=n[p+v],_=r[p+v+s],M=n[p+v+s],S=d*_-m*M;M=d*M+m*_,_=S,r[p+v]=y+_,n[p+v]=w+M,r[p+v+s]=y-_,n[p+v+s]=w-M,v!==l&&(S=c*d-f*m,m=c*m+f*d,d=S)}},M.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},M.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var i=0;i<r/2;i++){var n=t[i];t[i]=t[r-i-1],t[r-i-1]=n,n=e[i],e[i]=-e[r-i-1],e[r-i-1]=-n}},M.prototype.normalize13b=function(t,e){for(var r=0,i=0;i<e/2;i++){var n=8192*Math.round(t[2*i+1]/e)+Math.round(t[2*i]/e)+r;t[i]=67108863&n,r=n<67108864?0:n/67108864|0}return t},M.prototype.convert13b=function(t,e,r,o){for(var h=0,i=0;i<e;i++)h+=0|t[i],r[2*i]=8191&h,h>>>=13,r[2*i+1]=8191&h,h>>>=13;for(i=2*e;i<o;++i)r[i]=0;n(0===h),n(0==(-8192&h))},M.prototype.stub=function(t){for(var e=new Array(t),i=0;i<t;i++)e[i]=0;return e},M.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),o=this.makeRBT(n),h=this.stub(n),l=new Array(n),c=new Array(n),f=new Array(n),d=new Array(n),m=new Array(n),v=new Array(n),y=r.words;y.length=n,this.convert13b(t.words,t.length,l,n),this.convert13b(e.words,e.length,d,n),this.transform(l,h,c,f,n,o),this.transform(d,h,m,v,n,o);for(var i=0;i<n;i++){var w=c[i]*m[i]-f[i]*v[i];f[i]=c[i]*v[i]+f[i]*m[i],c[i]=w}return this.conjugate(c,f,n),this.transform(c,f,y,h,n,o),this.conjugate(y,h,n),this.normalize13b(y,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},h.prototype.mul=function(t){var e=new h(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},h.prototype.mulf=function(t){var e=new h(null);return e.words=new Array(this.length+t.length),_(this,t,e)},h.prototype.imul=function(t){return this.clone().mulTo(t,this)},h.prototype.imuln=function(t){n("number"==typeof t),n(t<67108864);for(var e=0,i=0;i<this.length;i++){var r=(0|this.words[i])*t,o=(67108863&r)+(67108863&e);e>>=26,e+=r/67108864|0,e+=o>>>26,this.words[i]=67108863&o}return 0!==e&&(this.words[i]=e,this.length++),this},h.prototype.muln=function(t){return this.clone().imuln(t)},h.prototype.sqr=function(){return this.mul(this)},h.prototype.isqr=function(){return this.imul(this.clone())},h.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,o=r%26;e[r]=(t.words[n]&1<<o)>>>o}return e}(t);if(0===e.length)return new h(1);for(var r=this,i=0;i<e.length&&0===e[i];i++,r=r.sqr());if(++i<e.length)for(var q=r.sqr();i<e.length;i++,q=q.sqr())0!==e[i]&&(r=r.mul(q));return r},h.prototype.iushln=function(t){n("number"==typeof t&&t>=0);var i,e=t%26,s=(t-e)/26,r=67108863>>>26-e<<26-e;if(0!==e){var o=0;for(i=0;i<this.length;i++){var h=this.words[i]&r,l=(0|this.words[i])-h<<e;this.words[i]=l|o,o=h>>>26-e}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()},h.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},h.prototype.iushrn=function(t,e,r){var o;n("number"==typeof t&&t>=0),o=e?(e-e%26)/26:0;var h=t%26,s=Math.min((t-h)/26,this.length),mask=67108863^67108863>>>h<<h,l=r;if(o-=s,o=Math.max(0,o),l){for(var i=0;i<s;i++)l.words[i]=this.words[i];l.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 c=0;for(i=this.length-1;i>=0&&(0!==c||i>=o);i--){var f=0|this.words[i];this.words[i]=c<<26-h|f>>>h,c=f&mask}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},h.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},h.prototype.shln=function(t){return this.clone().ishln(t)},h.prototype.ushln=function(t){return this.clone().iushln(t)},h.prototype.shrn=function(t){return this.clone().ishrn(t)},h.prototype.ushrn=function(t){return this.clone().iushrn(t)},h.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26,q=1<<e;return!(this.length<=s)&&!!(this.words[s]&q)},h.prototype.imaskn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==e&&s++,this.length=Math.min(s,this.length),0!==e){var mask=67108863^67108863>>>e<<e;this.words[this.length-1]&=mask}return this.strip()},h.prototype.maskn=function(t){return this.clone().imaskn(t)},h.prototype.iaddn=function(t){return n("number"==typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},h.prototype._iaddn=function(t){this.words[0]+=t;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},h.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,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()},h.prototype.addn=function(t){return this.clone().iaddn(t)},h.prototype.subn=function(t){return this.clone().isubn(t)},h.prototype.iabs=function(){return this.negative=0,this},h.prototype.abs=function(){return this.clone().iabs()},h.prototype._ishlnsubmul=function(t,e,r){var i,o,h=t.length+r;this._expand(h);var l=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+l;var c=(0|t.words[i])*e;l=((o-=67108863&c)>>26)-(c/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)l=(o=(0|this.words[i+r])+l)>>26,this.words[i+r]=67108863&o;if(0===l)return this.strip();for(n(-1===l),l=0,i=0;i<this.length;i++)l=(o=-(0|this.words[i])+l)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},h.prototype._wordDiv=function(t,e){var r=(this.length,t.length),a=this.clone(),b=t,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"!==e){(q=new h(null)).length=o+1,q.words=new Array(q.length);for(var i=0;i<q.length;i++)q.words[i]=0}var l=a.clone()._ishlnsubmul(b,1,o);0===l.negative&&(a=l,q&&(q.words[o]=1));for(var c=o-1;c>=0;c--){var f=67108864*(0|a.words[b.length+c])+(0|a.words[b.length+c-1]);for(f=Math.min(f/n|0,67108863),a._ishlnsubmul(b,f,c);0!==a.negative;)f--,a.negative=0,a._ishlnsubmul(b,1,c),a.isZero()||(a.negative^=1);q&&(q.words[c]=f)}return q&&q.strip(),a.strip(),"div"!==e&&0!==r&&a.iushrn(r),{div:q||null,mod:a}},h.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new h(0),mod:new h(0)}:0!==this.negative&&0===t.negative?(l=this.neg().divmod(t,e),"mod"!==e&&(div=l.div.neg()),"div"!==e&&(o=l.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:div,mod:o}):0===this.negative&&0!==t.negative?(l=this.divmod(t.neg(),e),"mod"!==e&&(div=l.div.neg()),{div:div,mod:l.mod}):0!=(this.negative&t.negative)?(l=this.neg().divmod(t.neg(),e),"div"!==e&&(o=l.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:l.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new h(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new h(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new h(this.modn(t.words[0]))}:this._wordDiv(t,e);var div,o,l},h.prototype.div=function(t){return this.divmod(t,"div",!1).div},h.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},h.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},h.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),o=t.andln(1),h=r.cmp(n);return h<0||1===o&&0===h?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},h.prototype.modn=function(t){n(t<=67108863);for(var p=(1<<26)%t,e=0,i=this.length-1;i>=0;i--)e=(p*e+(0|this.words[i]))%t;return e},h.prototype.idivn=function(t){n(t<=67108863);for(var e=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+67108864*e;this.words[i]=r/t|0,e=r%t}return this.strip()},h.prototype.divn=function(t){return this.clone().idivn(t)},h.prototype.egcd=function(p){n(0===p.negative),n(!p.isZero());var t=this,e=p.clone();t=0!==t.negative?t.umod(p):t.clone();for(var r=new h(1),o=new h(0),l=new h(0),c=new h(1),g=0;t.isEven()&&e.isEven();)t.iushrn(1),e.iushrn(1),++g;for(var f=e.clone(),d=t.clone();!t.isZero();){for(var i=0,m=1;0==(t.words[0]&m)&&i<26;++i,m<<=1);if(i>0)for(t.iushrn(i);i-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(f),o.isub(d)),r.iushrn(1),o.iushrn(1);for(var v=0,y=1;0==(e.words[0]&y)&&v<26;++v,y<<=1);if(v>0)for(e.iushrn(v);v-- >0;)(l.isOdd()||c.isOdd())&&(l.iadd(f),c.isub(d)),l.iushrn(1),c.iushrn(1);t.cmp(e)>=0?(t.isub(e),r.isub(l),o.isub(c)):(e.isub(t),l.isub(r),c.isub(o))}return{a:l,b:c,gcd:e.iushln(g)}},h.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 t,e=new h(1),r=new h(0),o=b.clone();a.cmpn(1)>0&&b.cmpn(1)>0;){for(var i=0,l=1;0==(a.words[0]&l)&&i<26;++i,l<<=1);if(i>0)for(a.iushrn(i);i-- >0;)e.isOdd()&&e.iadd(o),e.iushrn(1);for(var c=0,f=1;0==(b.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(b.iushrn(c);c-- >0;)r.isOdd()&&r.iadd(o),r.iushrn(1);a.cmp(b)>=0?(a.isub(b),e.isub(r)):(b.isub(a),r.isub(e))}return(t=0===a.cmpn(1)?e:r).cmpn(0)<0&&t.iadd(p),t},h.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var a=this.clone(),b=t.clone();a.negative=0,b.negative=0;for(var e=0;a.isEven()&&b.isEven();e++)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(e)},h.prototype.invm=function(t){return this.egcd(t).a.umod(t)},h.prototype.isEven=function(){return 0==(1&this.words[0])},h.prototype.isOdd=function(){return 1==(1&this.words[0])},h.prototype.andln=function(t){return this.words[0]&t},h.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,s=(t-e)/26,q=1<<e;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},h.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},h.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var o=0|this.words[0];e=o===t?0:o<t?-1:1}return 0!==this.negative?0|-e:e},h.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},h.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,i=this.length-1;i>=0;i--){var a=0|this.words[i],b=0|t.words[i];if(a!==b){a<b?e=-1:a>b&&(e=1);break}}return e},h.prototype.gtn=function(t){return 1===this.cmpn(t)},h.prototype.gt=function(t){return 1===this.cmp(t)},h.prototype.gten=function(t){return this.cmpn(t)>=0},h.prototype.gte=function(t){return this.cmp(t)>=0},h.prototype.ltn=function(t){return-1===this.cmpn(t)},h.prototype.lt=function(t){return-1===this.cmp(t)},h.prototype.lten=function(t){return this.cmpn(t)<=0},h.prototype.lte=function(t){return this.cmp(t)<=0},h.prototype.eqn=function(t){return 0===this.cmpn(t)},h.prototype.eq=function(t){return 0===this.cmp(t)},h.red=function(t){return new C(t)},h.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},h.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},h.prototype._forceRed=function(t){return this.red=t,this},h.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},h.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},h.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},h.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},h.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},h.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},h.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},h.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},h.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},h.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},h.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},h.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},h.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},h.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var S={k256:null,p224:null,p192:null,p25519:null};function x(t,p){this.name=t,this.p=new h(p,16),this.n=this.p.bitLength(),this.k=new h(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function E(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function A(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function T(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function k(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(t){if("string"==typeof t){var e=h._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function O(t){C.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new h(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)}x.prototype._tmp=function(){var t=new h(null);return t.words=new Array(Math.ceil(this.n/13)),t},x.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<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},x.prototype.split=function(input,t){input.iushrn(this.n,0,t)},x.prototype.imulK=function(t){return t.imul(this.k)},o(E,x),E.prototype.split=function(input,output){for(var t=Math.min(input.length,9),i=0;i<t;i++)output.words[i]=input.words[i];if(output.length=t,input.length<=9)return input.words[0]=0,void(input.length=1);var e=input.words[9];for(output.words[output.length++]=4194303&e,i=10;i<input.length;i++){var r=0|input.words[i];input.words[i-10]=(4194303&r)<<4|e>>>22,e=r}e>>>=22,input.words[i-10]=e,0===e&&input.length>10?input.length-=10:input.length-=9},E.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,i=0;i<t.length;i++){var r=0|t.words[i];e+=977*r,t.words[i]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},o(A,x),o(T,x),o(k,x),k.prototype.imulK=function(t){for(var e=0,i=0;i<t.length;i++){var r=19*(0|t.words[i])+e,n=67108863&r;r>>>=26,t.words[i]=n,e=r}return 0!==e&&(t.words[t.length++]=e),t},h._prime=function(t){if(S[t])return S[t];var e;if("k256"===t)e=new E;else if("p224"===t)e=new A;else if("p192"===t)e=new T;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new k}return S[t]=e,e},C.prototype._verify1=function(a){n(0===a.negative,"red works only with positives"),n(a.red,"red works only with red numbers")},C.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")},C.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.umod(this.m)._forceRed(this)},C.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},C.prototype.add=function(a,b){this._verify2(a,b);var t=a.add(b);return t.cmp(this.m)>=0&&t.isub(this.m),t._forceRed(this)},C.prototype.iadd=function(a,b){this._verify2(a,b);var t=a.iadd(b);return t.cmp(this.m)>=0&&t.isub(this.m),t},C.prototype.sub=function(a,b){this._verify2(a,b);var t=a.sub(b);return t.cmpn(0)<0&&t.iadd(this.m),t._forceRed(this)},C.prototype.isub=function(a,b){this._verify2(a,b);var t=a.isub(b);return t.cmpn(0)<0&&t.iadd(this.m),t},C.prototype.shl=function(a,t){return this._verify1(a),this.imod(a.ushln(t))},C.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},C.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},C.prototype.isqr=function(a){return this.imul(a,a.clone())},C.prototype.sqr=function(a){return this.mul(a,a)},C.prototype.sqrt=function(a){if(a.isZero())return a.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var e=this.m.add(new h(1)).iushrn(2);return this.pow(a,e)}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 h(1).toRed(this),o=r.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new h(2*c*c).toRed(this);0!==this.pow(c,l).cmp(o);)c.redIAdd(o);for(var f=this.pow(c,q),d=this.pow(a,q.addn(1).iushrn(1)),m=this.pow(a,q),v=s;0!==m.cmp(r);){for(var y=m,i=0;0!==y.cmp(r);i++)y=y.redSqr();n(i<v);var b=this.pow(f,new h(1).iushln(v-i-1));d=d.redMul(b),f=b.redSqr(),m=m.redMul(f),v=i}return d},C.prototype.invm=function(a){var t=a._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},C.prototype.pow=function(a,t){if(t.isZero())return new h(1).toRed(this);if(0===t.cmpn(1))return a.clone();var e=new Array(16);e[0]=new h(1).toRed(this),e[1]=a;for(var i=2;i<e.length;i++)e[i]=this.mul(e[i-1],a);var r=e[0],n=0,o=0,l=t.bitLength()%26;for(0===l&&(l=26),i=t.length-1;i>=0;i--){for(var c=t.words[i],f=l-1;f>=0;f--){var d=c>>f&1;r!==e[0]&&(r=this.sqr(r)),0!==d||0!==n?(n<<=1,n|=d,(4===++o||0===i&&0===f)&&(r=this.mul(r,e[n]),o=0,n=0)):o=0}l=26}return r},C.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},C.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},h.mont=function(t){return new O(t)},o(O,C),O.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},O.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},O.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;var t=a.imul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).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 h(0)._forceRed(this);var t=a.mul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).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)}}(t,this)}).call(this,r(143)(t))},,,,,,,,,,,function(t,e,r){var n=r(45).Buffer,o=r(730).Transform,h=r(169).StringDecoder;function l(t){o.call(this),this.hashMode="string"==typeof t,this.hashMode?this[t]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}r(36)(l,o),l.prototype.update=function(data,t,e){"string"==typeof data&&(data=n.from(data,t));var r=this._update(data);return this.hashMode?this:(e&&(r=this._toString(r,e)),r)},l.prototype.setAutoPadding=function(){},l.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},l.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},l.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},l.prototype._transform=function(data,t,e){var r;try{this.hashMode?this._update(data):this.push(this._update(data))}catch(t){r=t}finally{e(r)}},l.prototype._flush=function(t){var e;try{this.push(this.__final())}catch(t){e=t}t(e)},l.prototype._finalOrDigest=function(t){var e=this.__final()||n.alloc(0);return t&&(e=this._toString(e,t,!0)),e},l.prototype._toString=function(t,e,r){if(this._decoder||(this._decoder=new h(e),this._encoding=e),this._encoding!==e)throw new Error("can't switch encodings");var n=this._decoder.write(t);return r&&(n+=this._decoder.end()),n},t.exports=l},function(t,e,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),o=this&&this.__exportStar||function(t,e){for(var p in t)"default"===p||Object.prototype.hasOwnProperty.call(e,p)||n(e,t,p)};Object.defineProperty(e,"__esModule",{value:!0}),e.DomHandler=void 0;var h=r(233),l=r(574);o(r(574),e);var c=/\s+/g,f={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1},d=function(){function t(t,e,r){this.dom=[],this.root=new l.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof e&&(r=e,e=f),"object"==typeof t&&(e=t,t=void 0),this.callback=null!=t?t:null,this.options=null!=e?e:f,this.elementCB=null!=r?r:null}return t.prototype.onparserinit=function(t){this.parser=t},t.prototype.onreset=function(){var t;this.dom=[],this.root=new l.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null!==(t=this.parser)&&void 0!==t?t:null},t.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},t.prototype.onerror=function(t){this.handleCallback(t)},t.prototype.onclosetag=function(){this.lastNode=null;var t=this.tagStack.pop();this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(t)},t.prototype.onopentag=function(t,e){var r=this.options.xmlMode?h.ElementType.Tag:void 0,element=new l.Element(t,e,void 0,r);this.addNode(element),this.tagStack.push(element)},t.prototype.ontext=function(data){var t=this.options.normalizeWhitespace,e=this.lastNode;if(e&&e.type===h.ElementType.Text)t?e.data=(e.data+data).replace(c," "):e.data+=data;else{t&&(data=data.replace(c," "));var r=new l.Text(data);this.addNode(r),this.lastNode=r}},t.prototype.oncomment=function(data){if(this.lastNode&&this.lastNode.type===h.ElementType.Comment)this.lastNode.data+=data;else{var t=new l.Comment(data);this.addNode(t),this.lastNode=t}},t.prototype.oncommentend=function(){this.lastNode=null},t.prototype.oncdatastart=function(){var text=new l.Text(""),t=new l.NodeWithChildren(h.ElementType.CDATA,[text]);this.addNode(t),text.parent=t,this.lastNode=text},t.prototype.oncdataend=function(){this.lastNode=null},t.prototype.onprocessinginstruction=function(t,data){var e=new l.ProcessingInstruction(t,data);this.addNode(e)},t.prototype.handleCallback=function(t){if("function"==typeof this.callback)this.callback(t,this.dom);else if(t)throw t},t.prototype.addNode=function(t){var e=this.tagStack[this.tagStack.length-1],r=e.children[e.children.length-1];this.options.withStartIndices&&(t.startIndex=this.parser.startIndex),this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),e.children.push(t),r&&(t.prev=r,r.next=t),t.parent=e,this.lastNode=null},t}();e.DomHandler=d,e.default=d},,,function(t,e,r){"use strict";var n=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===o}(t)}(t)},o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function h(t,e){return!1!==e.clone&&e.isMergeableObject(t)?u(Array.isArray(t)?[]:{},t,e):t}function l(t,e,r){return t.concat(e).map((function(t){return h(t,r)}))}function c(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(e){return t.propertyIsEnumerable(e)})):[]}(t))}function f(t,e){try{return e in t}catch(t){return!1}}function u(t,i,a){(a=a||{}).arrayMerge=a.arrayMerge||l,a.isMergeableObject=a.isMergeableObject||n,a.cloneUnlessOtherwiseSpecified=h;var e=Array.isArray(i);return e===Array.isArray(t)?e?a.arrayMerge(t,i,a):function(t,e,r){var i={};return r.isMergeableObject(t)&&c(t).forEach((function(e){i[e]=h(t[e],r)})),c(e).forEach((function(n){(function(t,e){return f(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,n)||(i[n]=f(t,n)&&r.isMergeableObject(e[n])?function(t,e){if(!e.customMerge)return u;var r=e.customMerge(t);return"function"==typeof r?r:u}(n,r)(t[n],e[n],r):h(e[n],r))})),i}(t,i,a):h(i,a)}u.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,r){return u(t,r,e)}),{})};var i=u;e.a=function(t){var e=(t=t||{}).storage||window&&window.localStorage,r=t.key||"vuex";function n(t,e){var r=e.getItem(t);try{return"string"==typeof r?JSON.parse(r):"object"==typeof r?r:void 0}catch(t){}}function o(){return!0}function h(t,e,r){return r.setItem(t,JSON.stringify(e))}function u(t,e){return Array.isArray(e)?e.reduce((function(e,r){return function(t,e,r,n){return!/^(__proto__|constructor|prototype)$/.test(e)&&((e=e.split?e.split("."):e.slice(0)).slice(0,-1).reduce((function(t,e){return t[e]=t[e]||{}}),t)[e.pop()]=r),t}(e,r,(n=t,void 0===(n=((o=r).split?o.split("."):o).reduce((function(t,e){return t&&t[e]}),n))?void 0:n));var n,o}),{}):t}function a(t){return function(e){return t.subscribe(e)}}(t.assertStorage||function(){e.setItem("@@",1),e.removeItem("@@")})(e);var l,s=function(){return(t.getState||n)(r,e)};return t.fetchBeforeUse&&(l=s()),function(n){t.fetchBeforeUse||(l=s()),"object"==typeof l&&null!==l&&(n.replaceState(t.overwrite?l:i(n.state,l,{arrayMerge:t.arrayMerger||function(t,e){return e},clone:!1})),(t.rehydrated||function(){})(n)),(t.subscriber||a)(n)((function(n,i){(t.filter||o)(n)&&(t.setState||h)(r,(t.reducer||u)(i,t.paths),e)}))}}},,,,,,,,function(t,e,r){"use strict";var n,o="object"==typeof Reflect?Reflect:null,h=o&&"function"==typeof o.apply?o.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)};n=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var l=Number.isNaN||function(t){return t!=t};function c(){c.init.call(this)}t.exports=c,t.exports.once=function(t,e){return new Promise((function(r,n){function o(){void 0!==h&&t.removeListener("error",h),r([].slice.call(arguments))}var h;"error"!==e&&(h=function(r){t.removeListener(e,o),n(r)},t.once("error",h)),t.once(e,o)}))},c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var f=10;function d(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function m(t){return void 0===t._maxListeners?c.defaultMaxListeners:t._maxListeners}function v(t,e,r,n){var o,h,l,c;if(d(r),void 0===(h=t._events)?(h=t._events=Object.create(null),t._eventsCount=0):(void 0!==h.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),h=t._events),l=h[e]),void 0===l)l=h[e]=r,++t._eventsCount;else if("function"==typeof l?l=h[e]=n?[r,l]:[l,r]:n?l.unshift(r):l.push(r),(o=m(t))>0&&l.length>o&&!l.warned){l.warned=!0;var f=new Error("Possible EventEmitter memory leak detected. "+l.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");f.name="MaxListenersExceededWarning",f.emitter=t,f.type=e,f.count=l.length,c=f,console&&console.warn&&console.warn(c)}return t}function y(){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(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},o=y.bind(n);return o.listener=r,n.wrapFn=o,o}function _(t,e,r){var n=t._events;if(void 0===n)return[];var o=n[e];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]:r?function(t){for(var e=new Array(t.length),i=0;i<e.length;++i)e[i]=t[i].listener||t[i];return e}(o):S(o,o.length)}function M(t){var e=this._events;if(void 0!==e){var r=e[t];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function S(t,e){for(var r=new Array(e),i=0;i<e;++i)r[i]=t[i];return r}Object.defineProperty(c,"defaultMaxListeners",{enumerable:!0,get:function(){return f},set:function(t){if("number"!=typeof t||t<0||l(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");f=t}}),c.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},c.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||l(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},c.prototype.getMaxListeners=function(){return m(this)},c.prototype.emit=function(t){for(var e=[],i=1;i<arguments.length;i++)e.push(arguments[i]);var r="error"===t,n=this._events;if(void 0!==n)r=r&&void 0===n.error;else if(!r)return!1;if(r){var o;if(e.length>0&&(o=e[0]),o instanceof Error)throw o;var l=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw l.context=o,l}var c=n[t];if(void 0===c)return!1;if("function"==typeof c)h(c,this,e);else{var f=c.length,d=S(c,f);for(i=0;i<f;++i)h(d[i],this,e)}return!0},c.prototype.addListener=function(t,e){return v(this,t,e,!1)},c.prototype.on=c.prototype.addListener,c.prototype.prependListener=function(t,e){return v(this,t,e,!0)},c.prototype.once=function(t,e){return d(e),this.on(t,w(this,t,e)),this},c.prototype.prependOnceListener=function(t,e){return d(e),this.prependListener(t,w(this,t,e)),this},c.prototype.removeListener=function(t,e){var r,n,o,i,h;if(d(e),void 0===(n=this._events))return this;if(void 0===(r=n[t]))return this;if(r===e||r.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||e));else if("function"!=typeof r){for(o=-1,i=r.length-1;i>=0;i--)if(r[i]===e||r[i].listener===e){h=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(r,o),1===r.length&&(n[t]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",t,h||e)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(t){var e,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[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[t]),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(e=r[t]))this.removeListener(t,e);else if(void 0!==e)for(i=e.length-1;i>=0;i--)this.removeListener(t,e[i]);return this},c.prototype.listeners=function(t){return _(this,t,!0)},c.prototype.rawListeners=function(t){return _(this,t,!1)},c.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):M.call(t,e)},c.prototype.listenerCount=M,c.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},function(t,e,r){"use strict";var n=r(268),o=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};t.exports=v;var h=Object.create(r(227));h.inherits=r(36);var l=r(491),c=r(322);h.inherits(v,l);for(var f=o(c.prototype),d=0;d<f.length;d++){var m=f[d];v.prototype[m]||(v.prototype[m]=c.prototype[m])}function v(t){if(!(this instanceof v))return new v(t);l.call(this,t),c.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",y)}function y(){this.allowHalfOpen||this._writableState.ended||n.nextTick(w,this)}function w(t){t.end()}Object.defineProperty(v.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),v.prototype._destroy=function(t,e){this.push(null),this.end(),n.nextTick(e,t)}},function(t,e,r){"use strict";var n=r(45).Buffer,o=n.isEncoding||function(t){switch((t=""+t)&&t.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 h(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(n.isEncoding===o||!o(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=f,this.end=d,e=4;break;case"utf8":this.fillLast=c,e=4;break;case"base64":this.text=m,this.end=v,e=3;break;default:return this.write=y,void(this.end=w)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(e)}function l(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function c(t){var p=this.lastTotal-this.lastNeed,e=function(t,e,p){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==e?e:this.lastNeed<=t.length?(t.copy(this.lastChar,p,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,p,0,t.length),void(this.lastNeed-=t.length))}function f(t,i){if((t.length-i)%2==0){var e=t.toString("utf16le",i);if(e){var r=e.charCodeAt(e.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],e.slice(0,-1)}return e}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",i,t.length-1)}function d(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function m(t,i){var e=(t.length-i)%3;return 0===e?t.toString("base64",i):(this.lastNeed=3-e,this.lastTotal=3,1===e?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",i,t.length-e))}function v(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function y(t){return t.toString(this.encoding)}function w(t){return t&&t.length?this.write(t):""}e.StringDecoder=h,h.prototype.write=function(t){if(0===t.length)return"";var e,i;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";i=this.lastNeed,this.lastNeed=0}else i=0;return i<t.length?e?e+this.text(t,i):this.text(t,i):e||""},h.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e},h.prototype.text=function(t,i){var e=function(t,e,i){var r=e.length-1;if(r<i)return 0;var n=l(e[r]);if(n>=0)return n>0&&(t.lastNeed=n-1),n;if(--r<i||-2===n)return 0;if((n=l(e[r]))>=0)return n>0&&(t.lastNeed=n-2),n;if(--r<i||-2===n)return 0;if((n=l(e[r]))>=0)return n>0&&(2===n?n=0:t.lastNeed=n-3),n;return 0}(this,t,i);if(!this.lastNeed)return t.toString("utf8",i);this.lastTotal=e;var r=t.length-(e-this.lastNeed);return t.copy(this.lastChar,0,r),t.toString("utf8",i,r)},h.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},,,,,function(t,e,r){"use strict";var n,o=(n=r(496))&&"object"==typeof n&&"default"in n?n.default:n;o.registerVersion("firebase","7.17.2","app"),t.exports=o},function(t,e,r){"use strict";r.d(e,"b",(function(){return n})),r.d(e,"a",(function(){return o}));r(83);function n(t,e){return void 0===e&&(e=0),"string"!=typeof t||0===e||t.length<=e?t:t.substr(0,e)+"..."}function o(line,t){var e=line,r=e.length;if(r<=150)return e;t>r&&(t=r);var n=Math.max(t-60,0);n<5&&(n=0);var o=Math.min(n+140,r);return o>r-5&&(o=r),o===r&&(n=Math.max(o-140,0)),e=e.slice(n,o),n>0&&(e="'{snip} "+e),o<r&&(e+=" {snip}"),e}},,,,,,,,,,,,,function(t,e,r){"use strict";(function(e,n){var o=r(45).Buffer,h=e.crypto||e.msCrypto;h&&h.getRandomValues?t.exports=function(t,e){if(t>4294967295)throw new RangeError("requested too many random bytes");var r=o.allocUnsafe(t);if(t>0)if(t>65536)for(var l=0;l<t;l+=65536)h.getRandomValues(r.slice(l,l+65536));else h.getRandomValues(r);if("function"==typeof e)return n.nextTick((function(){e(null,r)}));return r}:t.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(54),r(69))},function(t,e,r){"use strict";var n={};function o(code,t,e){e||(e=Error);var r=function(e){var r,n;function o(r,n,o){return e.call(this,function(e,r,n){return"string"==typeof t?t:t(e,r,n)}(r,n,o))||this}return n=e,(r=o).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,o}(e);r.prototype.name=e.name,r.prototype.code=code,n[code]=r}function h(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map((function(i){return String(i)})),r>2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}o("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),o("ERR_INVALID_ARG_TYPE",(function(t,e,r){var n,o,l,c;if("string"==typeof e&&(o="not ",e.substr(!l||l<0?0:+l,o.length)===o)?(n="must not be",e=e.replace(/^not /,"")):n="must be",function(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}(t," argument"))c="The ".concat(t," ").concat(n," ").concat(h(e,"type"));else{var f=function(t,e,r){return"number"!=typeof r&&(r=0),!(r+e.length>t.length)&&-1!==t.indexOf(e,r)}(t,".")?"property":"argument";c='The "'.concat(t,'" ').concat(f," ").concat(n," ").concat(h(e,"type"))}return c+=". Received type ".concat(typeof r)}),TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" 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(t){return"Unknown encoding: "+t}),TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=n},function(t,e,r){"use strict";(function(e){var n=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};t.exports=d;var o=r(520),h=r(524);r(36)(d,o);for(var l=n(h.prototype),c=0;c<l.length;c++){var f=l[c];d.prototype[f]||(d.prototype[f]=h.prototype[f])}function d(t){if(!(this instanceof d))return new d(t);o.call(this,t),h.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",m)))}function m(){this._writableState.ended||e.nextTick(v,this)}function v(t){t.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(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})}).call(this,r(69))},function(t,e,r){var n=r(45).Buffer;function o(t,e){this._block=n.alloc(t),this._finalSize=e,this._blockSize=t,this._len=0}o.prototype.update=function(data,t){"string"==typeof data&&(t=t||"utf8",data=n.from(data,t));for(var e=this._block,r=this._blockSize,o=data.length,h=this._len,l=0;l<o;){for(var c=h%r,f=Math.min(o-l,r-c),i=0;i<f;i++)e[c+i]=data[l+i];l+=f,(h+=f)%r==0&&this._update(e)}return this._len+=o,this},o.prototype.digest=function(t){var e=this._len%this._blockSize;this._block[e]=128,this._block.fill(0,e+1),e>=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 h=this._hash();return t?h.toString(t):h},o.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=o},function(t,e,r){"use strict";var n={};function o(code,t,e){e||(e=Error);var r=function(e){var r,n;function o(r,n,o){return e.call(this,function(e,r,n){return"string"==typeof t?t:t(e,r,n)}(r,n,o))||this}return n=e,(r=o).prototype=Object.create(n.prototype),r.prototype.constructor=r,r.__proto__=n,o}(e);r.prototype.name=e.name,r.prototype.code=code,n[code]=r}function h(t,e){if(Array.isArray(t)){var r=t.length;return t=t.map((function(i){return String(i)})),r>2?"one of ".concat(e," ").concat(t.slice(0,r-1).join(", "),", or ")+t[r-1]:2===r?"one of ".concat(e," ").concat(t[0]," or ").concat(t[1]):"of ".concat(e," ").concat(t[0])}return"of ".concat(e," ").concat(String(t))}o("ERR_INVALID_OPT_VALUE",(function(t,e){return'The value "'+e+'" is invalid for option "'+t+'"'}),TypeError),o("ERR_INVALID_ARG_TYPE",(function(t,e,r){var n,o,l,c;if("string"==typeof e&&(o="not ",e.substr(!l||l<0?0:+l,o.length)===o)?(n="must not be",e=e.replace(/^not /,"")):n="must be",function(t,e,r){return(void 0===r||r>t.length)&&(r=t.length),t.substring(r-e.length,r)===e}(t," argument"))c="The ".concat(t," ").concat(n," ").concat(h(e,"type"));else{var f=function(t,e,r){return"number"!=typeof r&&(r=0),!(r+e.length>t.length)&&-1!==t.indexOf(e,r)}(t,".")?"property":"argument";c='The "'.concat(t,'" ').concat(f," ").concat(n," ").concat(h(e,"type"))}return c+=". Received type ".concat(typeof r)}),TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",(function(t){return"The "+t+" method is not implemented"})),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",(function(t){return"Cannot call "+t+" 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(t){return"Unknown encoding: "+t}),TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),t.exports.codes=n},function(t,e,r){"use strict";(function(e){var n=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};t.exports=d;var o=r(546),h=r(550);r(36)(d,o);for(var l=n(h.prototype),c=0;c<l.length;c++){var f=l[c];d.prototype[f]||(d.prototype[f]=h.prototype[f])}function d(t){if(!(this instanceof d))return new d(t);o.call(this,t),h.call(this,t),this.allowHalfOpen=!0,t&&(!1===t.readable&&(this.readable=!1),!1===t.writable&&(this.writable=!1),!1===t.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",m)))}function m(){this._writableState.ended||e.nextTick(v,this)}function v(t){t.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(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}})}).call(this,r(69))},function(t,e,r){"use strict";let n,o,h,l=r(277),{isClean:c}=r(350),f=r(279),d=r(278);class m extends d{push(t){return t.parent=this,this.proxyOf.nodes.push(t),this}each(t){if(!this.proxyOf.nodes)return;let e,r,n=this.getIterator();for(;this.indexes[n]<this.proxyOf.nodes.length&&(e=this.indexes[n],r=t(this.proxyOf.nodes[e],e),!1!==r);)this.indexes[n]+=1;return delete this.indexes[n],r}walk(t){return this.each((e,i)=>{let r;try{r=t(e,i)}catch(t){throw e.addToError(t)}return!1!==r&&e.walk&&(r=e.walk(t)),r})}walkDecls(t,e){return e?t instanceof RegExp?this.walk((r,i)=>{if("decl"===r.type&&t.test(r.prop))return e(r,i)}):this.walk((r,i)=>{if("decl"===r.type&&r.prop===t)return e(r,i)}):(e=t,this.walk((t,i)=>{if("decl"===t.type)return e(t,i)}))}walkRules(t,e){return e?t instanceof RegExp?this.walk((r,i)=>{if("rule"===r.type&&t.test(r.selector))return e(r,i)}):this.walk((r,i)=>{if("rule"===r.type&&r.selector===t)return e(r,i)}):(e=t,this.walk((t,i)=>{if("rule"===t.type)return e(t,i)}))}walkAtRules(t,e){return e?t instanceof RegExp?this.walk((r,i)=>{if("atrule"===r.type&&t.test(r.name))return e(r,i)}):this.walk((r,i)=>{if("atrule"===r.type&&r.name===t)return e(r,i)}):(e=t,this.walk((t,i)=>{if("atrule"===t.type)return e(t,i)}))}walkComments(t){return this.walk((e,i)=>{if("comment"===e.type)return t(e,i)})}append(...t){for(let e of t){let t=this.normalize(e,this.last);for(let e of t)this.proxyOf.nodes.push(e)}return this.markDirty(),this}prepend(...t){t=t.reverse();for(let e of t){let t=this.normalize(e,this.first,"prepend").reverse();for(let e of t)this.proxyOf.nodes.unshift(e);for(let e in this.indexes)this.indexes[e]=this.indexes[e]+t.length}return this.markDirty(),this}cleanRaws(t){if(super.cleanRaws(t),this.nodes)for(let e of this.nodes)e.cleanRaws(t)}insertBefore(t,e){let r,n=0===(t=this.index(t))&&"prepend",o=this.normalize(e,this.proxyOf.nodes[t],n).reverse();for(let e of o)this.proxyOf.nodes.splice(t,0,e);for(let e in this.indexes)r=this.indexes[e],t<=r&&(this.indexes[e]=r+o.length);return this.markDirty(),this}insertAfter(t,e){t=this.index(t);let r,n=this.normalize(e,this.proxyOf.nodes[t]).reverse();for(let e of n)this.proxyOf.nodes.splice(t+1,0,e);for(let e in this.indexes)r=this.indexes[e],t<r&&(this.indexes[e]=r+n.length);return this.markDirty(),this}removeChild(t){let e;t=this.index(t),this.proxyOf.nodes[t].parent=void 0,this.proxyOf.nodes.splice(t,1);for(let r in this.indexes)e=this.indexes[r],e>=t&&(this.indexes[r]=e-1);return this.markDirty(),this}removeAll(){for(let t of this.proxyOf.nodes)t.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(pattern,t,e){return e||(e=t,t={}),this.walkDecls(r=>{t.props&&!t.props.includes(r.prop)||t.fast&&!r.value.includes(t.fast)||(r.value=r.value.replace(pattern,e))}),this.markDirty(),this}every(t){return this.nodes.every(t)}some(t){return this.nodes.some(t)}index(t){return"number"==typeof t?t:(t.proxyOf&&(t=t.proxyOf),this.proxyOf.nodes.indexOf(t))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(t,e){if("string"==typeof t)t=function t(e){return e.map(i=>(i.nodes&&(i.nodes=t(i.nodes)),delete i.source,i))}(n(t).nodes);else if(Array.isArray(t)){t=t.slice(0);for(let i of t)i.parent&&i.parent.removeChild(i,"ignore")}else if("root"===t.type&&"document"!==this.type){t=t.nodes.slice(0);for(let i of t)i.parent&&i.parent.removeChild(i,"ignore")}else if(t.type)t=[t];else if(t.prop){if(void 0===t.value)throw new Error("Value field is missed in node creation");"string"!=typeof t.value&&(t.value=String(t.value)),t=[new l(t)]}else if(t.selector)t=[new o(t)];else if(t.name)t=[new h(t)];else{if(!t.text)throw new Error("Unknown node type in node creation");t=[new f(t)]}return t.map(i=>("function"!=typeof i.markDirty&&function t(e){"atrule"===e.type?Object.setPrototypeOf(e,h.prototype):"rule"===e.type?Object.setPrototypeOf(e,o.prototype):"decl"===e.type?Object.setPrototypeOf(e,l.prototype):"comment"===e.type&&Object.setPrototypeOf(e,f.prototype),e.nodes&&e.nodes.forEach(e=>{t(e)})}(i),(i=i.proxyOf).parent&&i.parent.removeChild(i),i[c]&&function t(e){if(e[c]=!1,e.proxyOf.nodes)for(let i of e.proxyOf.nodes)t(i)}(i),void 0===i.raws.before&&e&&void 0!==e.raws.before&&(i.raws.before=e.raws.before.replace(/\S/g,"")),i.parent=this,i))}getProxyProcessor(){return{set:(t,e,r)=>(t[e]===r||(t[e]=r,"name"!==e&&"params"!==e&&"selector"!==e||t.markDirty()),!0),get:(t,e)=>"proxyOf"===e?t:t[e]?"each"===e||"string"==typeof e&&e.startsWith("walk")?(...r)=>t[e](...r.map(i=>"function"==typeof i?(t,e)=>i(t.toProxy(),e):i)):"every"===e||"some"===e?r=>t[e]((t,...e)=>r(t.toProxy(),...e)):"root"===e?()=>t.root().toProxy():"nodes"===e?t.nodes.map(i=>i.toProxy()):"first"===e||"last"===e?t[e].toProxy():t[e]:t[e]}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let t=this.lastEach;return this.indexes[t]=0,t}}m.registerParse=t=>{n=t},m.registerRule=t=>{o=t},m.registerAtRule=t=>{h=t},t.exports=m,m.default=m},,,,,,,,,,function(t,e,r){var n=r(865).Konva;n._injectGlobal(n),e.default=n,t.exports=e.default},,,,,,function(t,e,r){"use strict";var n={name:"NoSsr",functional:!0,props:{placeholder:String,placeholderTag:{type:String,default:"div"}},render:function(t,e){var r=e.parent,n=e.slots,o=e.props,h=n(),l=h.default;void 0===l&&(l=[]);var c=h.placeholder;return r._isMounted?l:(r.$once("hook:mounted",(function(){r.$forceUpdate()})),o.placeholderTag&&(o.placeholder||c)?t(o.placeholderTag,{class:["no-ssr-placeholder"]},o.placeholder||c):l.length>0?l.map((function(){return t(!1)})):t(!1))}};t.exports=n},,,,,,,,,,,,,,,,function(t,e,r){(e=t.exports=r(491)).Stream=e,e.Readable=e,e.Writable=r(322),e.Duplex=r(168),e.Transform=r(494),e.PassThrough=r(669)},function(t,e,r){(function(t){function r(t){return Object.prototype.toString.call(t)}e.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===r(t)},e.isBoolean=function(t){return"boolean"==typeof t},e.isNull=function(t){return null===t},e.isNullOrUndefined=function(t){return null==t},e.isNumber=function(t){return"number"==typeof t},e.isString=function(t){return"string"==typeof t},e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=function(t){return void 0===t},e.isRegExp=function(t){return"[object RegExp]"===r(t)},e.isObject=function(t){return"object"==typeof t&&null!==t},e.isDate=function(t){return"[object Date]"===r(t)},e.isError=function(t){return"[object Error]"===r(t)||t instanceof Error},e.isFunction=function(t){return"function"==typeof t},e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=t.isBuffer}).call(this,r(61).Buffer)},,function(t,e,r){"use strict";var n=r(36),o=r(327),h=r(329),l=r(330),c=r(155);function f(t){c.call(this,"digest"),this._hash=t}n(f,c),f.prototype._update=function(data){this._hash.update(data)},f.prototype._final=function(){return this._hash.digest()},t.exports=function(t){return"md5"===(t=t.toLowerCase())?new o:"rmd160"===t||"ripemd160"===t?new h:new f(l(t))}},function(t,e,r){(function(e){t.exports=function(a,b){for(var t=Math.min(a.length,b.length),r=new e(t),i=0;i<t;++i)r[i]=a[i]^b[i];return r}}).call(this,r(61).Buffer)},function(t,e,r){"use strict";var n=r(128),o=r(114);function h(){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}e.BlockHash=h,h.prototype.update=function(t,e){if(t=n.toArray(t,e),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var r=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-r,t.length),0===this.pending.length&&(this.pending=null),t=n.join32(t,0,t.length-r,this.endian);for(var i=0;i<t.length;i+=this._delta32)this._update(t,i,i+this._delta32)}return this},h.prototype.digest=function(t){return this.update(this._pad()),o(null===this.pending),this._digest(t)},h.prototype._pad=function(){var t=this.pendingTotal,e=this._delta8,r=e-(t+this.padLength)%e,n=new Array(r+this.padLength);n[0]=128;for(var i=1;i<r;i++)n[i]=0;if(t<<=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++]=t>>>24&255,n[i++]=t>>>16&255,n[i++]=t>>>8&255,n[i++]=255&t}else for(n[i++]=255&t,n[i++]=t>>>8&255,n[i++]=t>>>16&255,n[i++]=t>>>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(t,e,r){"use strict";const n=r(36),o=r(344).Reporter,h=r(342).Buffer;function l(base,t){o.call(this,t),h.isBuffer(base)?(this.base=base,this.offset=0,this.length=base.length):this.error("Input not Buffer")}function c(t,e){if(Array.isArray(t))this.length=0,this.value=t.map((function(t){return c.isEncoderBuffer(t)||(t=new c(t,e)),this.length+=t.length,t}),this);else if("number"==typeof t){if(!(0<=t&&t<=255))return e.error("non-byte EncoderBuffer value");this.value=t,this.length=1}else if("string"==typeof t)this.value=t,this.length=h.byteLength(t);else{if(!h.isBuffer(t))return e.error("Unsupported type: "+typeof t);this.value=t,this.length=t.length}}n(l,o),e.DecoderBuffer=l,l.isDecoderBuffer=function(data){if(data instanceof l)return!0;return"object"==typeof data&&h.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},l.prototype.save=function(){return{offset:this.offset,reporter:o.prototype.save.call(this)}},l.prototype.restore=function(t){const e=new l(this.base);return e.offset=t.offset,e.length=this.offset,this.offset=t.offset,o.prototype.restore.call(this,t.reporter),e},l.prototype.isEmpty=function(){return this.offset===this.length},l.prototype.readUInt8=function(t){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(t||"DecoderBuffer overrun")},l.prototype.skip=function(t,e){if(!(this.offset+t<=this.length))return this.error(e||"DecoderBuffer overrun");const r=new l(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+t,this.offset+=t,r},l.prototype.raw=function(t){return this.base.slice(t?t.offset:this.offset,this.length)},e.EncoderBuffer=c,c.isEncoderBuffer=function(data){if(data instanceof c)return!0;return"object"==typeof data&&"EncoderBuffer"===data.constructor.name&&"number"==typeof data.length&&"function"==typeof data.join},c.prototype.join=function(t,e){return t||(t=h.alloc(this.length)),e||(e=0),0===this.length||(Array.isArray(this.value)?this.value.forEach((function(r){r.join(t,e),e+=r.length})):("number"==typeof this.value?t[e]=this.value:"string"==typeof this.value?t.write(this.value,e):h.isBuffer(this.value)&&this.value.copy(t,e),e+=this.length)),t}},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),e.Doctype=e.CDATA=e.Tag=e.Style=e.Script=e.Comment=e.Directive=e.Text=e.Root=e.isTag=e.ElementType=void 0,function(t){t.Root="root",t.Text="text",t.Directive="directive",t.Comment="comment",t.Script="script",t.Style="style",t.Tag="tag",t.CDATA="cdata",t.Doctype="doctype"}(n=e.ElementType||(e.ElementType={})),e.isTag=function(t){return t.type===n.Tag||t.type===n.Script||t.type===n.Style},e.Root=n.Root,e.Text=n.Text,e.Directive=n.Directive,e.Comment=n.Comment,e.Script=n.Script,e.Style=n.Style,e.Tag=n.Tag,e.CDATA=n.CDATA,e.Doctype=n.Doctype},function(t,e,r){"use strict";let n,o,h=r(194);class l extends h{constructor(t){super(t),this.type="root",this.nodes||(this.nodes=[])}removeChild(t,e){let r=this.index(t);return!e&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(t)}normalize(t,e,r){let n=super.normalize(t);if(e)if("prepend"===r)this.nodes.length>1?e.raws.before=this.nodes[1].raws.before:delete e.raws.before;else if(this.first!==e)for(let t of n)t.raws.before=e.raws.before;return n}toResult(t={}){return new n(new o,this,t).stringify()}}l.registerLazyResult=t=>{n=t},l.registerProcessor=t=>{o=t},t.exports=l,l.default=l},function(t,e,r){var n=r(662),o=r(495),h=t.exports;for(var l in n)n.hasOwnProperty(l)&&(h[l]=n[l]);function c(t){if("string"==typeof t&&(t=o.parse(t)),t.protocol||(t.protocol="https:"),"https:"!==t.protocol)throw new Error('Protocol "'+t.protocol+'" not supported. Expected "https:"');return t}h.request=function(t,e){return t=c(t),n.request.call(this,t,e)},h.get=function(t,e){return t=c(t),n.get.call(this,t,e)}},function(t,e,r){"use strict";(function(t,n){function o(){return"[object process]"===Object.prototype.toString.call(void 0!==t?t:0)}function h(t,e){return t.require(e)}r.d(e,"b",(function(){return o})),r.d(e,"a",(function(){return h}))}).call(this,r(69),r(499)(t))},,,,,,,,,,,,,,function(t,e,r){"use strict";var n;r.d(e,"a",(function(){return n})),function(t){t.Fatal="fatal",t.Error="error",t.Warning="warning",t.Log="log",t.Info="info",t.Debug="debug",t.Critical="critical"}(n||(n={})),function(t){t.fromString=function(e){switch(e){case"debug":return t.Debug;case"info":return t.Info;case"warn":case"warning":return t.Warning;case"error":return t.Error;case"fatal":return t.Fatal;case"critical":return t.Critical;case"log":default:return t.Log}}}(n||(n={}))},,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";(function(e){void 0===e||!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports={nextTick:function(t,r,n,o){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var h,i,l=arguments.length;switch(l){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick((function(){t.call(null,r)}));case 3:return e.nextTick((function(){t.call(null,r,n)}));case 4:return e.nextTick((function(){t.call(null,r,n,o)}));default:for(h=new Array(l-1),i=0;i<h.length;)h[i++]=arguments[i];return e.nextTick((function(){t.apply(null,h)}))}}}:t.exports=e}).call(this,r(69))},,,,,function(t,e,r){var n=r(45).Buffer;function o(t){n.isBuffer(t)||(t=n.from(t));for(var e=t.length/4|0,r=new Array(e),i=0;i<e;i++)r[i]=t.readUInt32BE(4*i);return r}function h(t){for(;0<t.length;t++)t[0]=0}function l(t,e,r,n,o){for(var h,l,c,f,d=r[0],m=r[1],v=r[2],y=r[3],w=t[0]^e[0],_=t[1]^e[1],M=t[2]^e[2],S=t[3]^e[3],x=4,E=1;E<o;E++)h=d[w>>>24]^m[_>>>16&255]^v[M>>>8&255]^y[255&S]^e[x++],l=d[_>>>24]^m[M>>>16&255]^v[S>>>8&255]^y[255&w]^e[x++],c=d[M>>>24]^m[S>>>16&255]^v[w>>>8&255]^y[255&_]^e[x++],f=d[S>>>24]^m[w>>>16&255]^v[_>>>8&255]^y[255&M]^e[x++],w=h,_=l,M=c,S=f;return h=(n[w>>>24]<<24|n[_>>>16&255]<<16|n[M>>>8&255]<<8|n[255&S])^e[x++],l=(n[_>>>24]<<24|n[M>>>16&255]<<16|n[S>>>8&255]<<8|n[255&w])^e[x++],c=(n[M>>>24]<<24|n[S>>>16&255]<<16|n[w>>>8&255]<<8|n[255&_])^e[x++],f=(n[S>>>24]<<24|n[w>>>16&255]<<16|n[_>>>8&255]<<8|n[255&M])^e[x++],[h>>>=0,l>>>=0,c>>>=0,f>>>=0]}var c=[0,1,2,4,8,16,32,64,128,27,54],f=function(){for(var t=new Array(256),e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;for(var r=[],n=[],o=[[],[],[],[]],h=[[],[],[],[]],l=0,c=0,i=0;i<256;++i){var f=c^c<<1^c<<2^c<<3^c<<4;f=f>>>8^255&f^99,r[l]=f,n[f]=l;var d=t[l],m=t[d],v=t[m],y=257*t[f]^16843008*f;o[0][l]=y<<24|y>>>8,o[1][l]=y<<16|y>>>16,o[2][l]=y<<8|y>>>24,o[3][l]=y,y=16843009*v^65537*m^257*d^16843008*l,h[0][f]=y<<24|y>>>8,h[1][f]=y<<16|y>>>16,h[2][f]=y<<8|y>>>24,h[3][f]=y,0===l?l=c=1:(l=d^t[t[t[v^d]]],c^=t[t[c]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:o,INV_SUB_MIX:h}}();function d(t){this._key=o(t),this._reset()}d.blockSize=16,d.keySize=32,d.prototype.blockSize=d.blockSize,d.prototype.keySize=d.keySize,d.prototype._reset=function(){for(var t=this._key,e=t.length,r=e+6,n=4*(r+1),o=[],h=0;h<e;h++)o[h]=t[h];for(h=e;h<n;h++){var l=o[h-1];h%e==0?(l=l<<8|l>>>24,l=f.SBOX[l>>>24]<<24|f.SBOX[l>>>16&255]<<16|f.SBOX[l>>>8&255]<<8|f.SBOX[255&l],l^=c[h/e|0]<<24):e>6&&h%e==4&&(l=f.SBOX[l>>>24]<<24|f.SBOX[l>>>16&255]<<16|f.SBOX[l>>>8&255]<<8|f.SBOX[255&l]),o[h]=o[h-e]^l}for(var d=[],m=0;m<n;m++){var v=n-m,y=o[v-(m%4?0:4)];d[m]=m<4||v<=4?y:f.INV_SUB_MIX[0][f.SBOX[y>>>24]]^f.INV_SUB_MIX[1][f.SBOX[y>>>16&255]]^f.INV_SUB_MIX[2][f.SBOX[y>>>8&255]]^f.INV_SUB_MIX[3][f.SBOX[255&y]]}this._nRounds=r,this._keySchedule=o,this._invKeySchedule=d},d.prototype.encryptBlockRaw=function(t){return l(t=o(t),this._keySchedule,f.SUB_MIX,f.SBOX,this._nRounds)},d.prototype.encryptBlock=function(t){var e=this.encryptBlockRaw(t),r=n.allocUnsafe(16);return r.writeUInt32BE(e[0],0),r.writeUInt32BE(e[1],4),r.writeUInt32BE(e[2],8),r.writeUInt32BE(e[3],12),r},d.prototype.decryptBlock=function(t){var e=(t=o(t))[1];t[1]=t[3],t[3]=e;var r=l(t,this._invKeySchedule,f.INV_SUB_MIX,f.INV_SBOX,this._nRounds),h=n.allocUnsafe(16);return h.writeUInt32BE(r[0],0),h.writeUInt32BE(r[3],4),h.writeUInt32BE(r[2],8),h.writeUInt32BE(r[1],12),h},d.prototype.scrub=function(){h(this._keySchedule),h(this._invKeySchedule),h(this._key)},t.exports.AES=d},function(t,e,r){var n=r(45).Buffer,o=r(327);t.exports=function(t,e,r,h){if(n.isBuffer(t)||(t=n.from(t,"binary")),e&&(n.isBuffer(e)||(e=n.from(e,"binary")),8!==e.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var l=r/8,c=n.alloc(l),f=n.alloc(h||0),d=n.alloc(0);l>0||h>0;){var m=new o;m.update(d),m.update(t),e&&m.update(e),d=m.digest();var v=0;if(l>0){var y=c.length-l;v=Math.min(l,d.length),d.copy(c,y,0,v),l-=v}if(v<d.length&&h>0){var w=f.length-h,_=Math.min(h,d.length-v);d.copy(f,w,v,v+_),h-=_}}return d.fill(0),{key:c,iv:f}}},function(t,e,r){"use strict";var n=r(144),o=r(115),h=o.getNAF,l=o.getJSF,c=o.assert;function f(t,e){this.type=t,this.p=new n(e.p,16),this.red=e.prime?n.red(e.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=e.n&&new n(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.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(t,e){this.curve=t,this.type=e,this.precomputed=null}t.exports=f,f.prototype.point=function(){throw new Error("Not implemented")},f.prototype.validate=function(){throw new Error("Not implemented")},f.prototype._fixedNafMul=function(p,t){c(p.precomputed);var e=p._getDoubles(),r=h(t,1,this._bitLength),n=(1<<e.step+1)-(e.step%2==0?2:1);n/=3;for(var o=[],l=0;l<r.length;l+=e.step){var f=0;for(t=l+e.step-1;t>=l;t--)f=(f<<1)+r[t];o.push(f)}for(var a=this.jpoint(null,null,null),b=this.jpoint(null,null,null),i=n;i>0;i--){for(l=0;l<o.length;l++){(f=o[l])===i?b=b.mixedAdd(e.points[l]):f===-i&&(b=b.mixedAdd(e.points[l].neg()))}a=a.add(b)}return a.toP()},f.prototype._wnafMul=function(p,t){var e=4,r=p._getNAFPoints(e);e=r.wnd;for(var n=r.points,o=h(t,e,this._bitLength),l=this.jpoint(null,null,null),i=o.length-1;i>=0;i--){for(t=0;i>=0&&0===o[i];i--)t++;if(i>=0&&t++,l=l.dblp(t),i<0)break;var f=o[i];c(0!==f),l="affine"===p.type?f>0?l.mixedAdd(n[f-1>>1]):l.mixedAdd(n[-f-1>>1].neg()):f>0?l.add(n[f-1>>1]):l.add(n[-f-1>>1].neg())}return"affine"===p.type?l.toP():l},f.prototype._wnafMulAdd=function(t,e,r,n,o){for(var c=this._wnafT1,f=this._wnafT2,d=this._wnafT3,m=0,i=0;i<n;i++){var v=(p=e[i])._getNAFPoints(t);c[i]=v.wnd,f[i]=v.points}for(i=n-1;i>=1;i-=2){var a=i-1,b=i;if(1===c[a]&&1===c[b]){var y=[e[a],null,null,e[b]];0===e[a].y.cmp(e[b].y)?(y[1]=e[a].add(e[b]),y[2]=e[a].toJ().mixedAdd(e[b].neg())):0===e[a].y.cmp(e[b].y.redNeg())?(y[1]=e[a].toJ().mixedAdd(e[b]),y[2]=e[a].add(e[b].neg())):(y[1]=e[a].toJ().mixedAdd(e[b]),y[2]=e[a].toJ().mixedAdd(e[b].neg()));var w=[-3,-1,-5,-7,0,7,5,1,3],_=l(r[a],r[b]);m=Math.max(_[0].length,m),d[a]=new Array(m),d[b]=new Array(m);for(var M=0;M<m;M++){var S=0|_[0][M],x=0|_[1][M];d[a][M]=w[3*(S+1)+(x+1)],d[b][M]=0,f[a]=y}}else d[a]=h(r[a],c[a],this._bitLength),d[b]=h(r[b],c[b],this._bitLength),m=Math.max(d[a].length,m),m=Math.max(d[b].length,m)}var E=this.jpoint(null,null,null),A=this._wnafT4;for(i=m;i>=0;i--){for(var T=0;i>=0;){var k=!0;for(M=0;M<n;M++)A[M]=0|d[M][i],0!==A[M]&&(k=!1);if(!k)break;T++,i--}if(i>=0&&T++,E=E.dblp(T),i<0)break;for(M=0;M<n;M++){var p,C=A[M];0!==C&&(C>0?p=f[M][C-1>>1]:C<0&&(p=f[M][-C-1>>1].neg()),E="affine"===p.type?E.mixedAdd(p):E.add(p))}}for(i=0;i<n;i++)f[i]=null;return o?E:E.toP()},f.BasePoint=d,d.prototype.eq=function(){throw new Error("Not implemented")},d.prototype.validate=function(){return this.curve.validate(this)},f.prototype.decodePoint=function(t,e){t=o.toArray(t,e);var r=this.p.byteLength();if((4===t[0]||6===t[0]||7===t[0])&&t.length-1==2*r)return 6===t[0]?c(t[t.length-1]%2==0):7===t[0]&&c(t[t.length-1]%2==1),this.point(t.slice(1,1+r),t.slice(1+r,1+2*r));if((2===t[0]||3===t[0])&&t.length-1===r)return this.pointFromX(t.slice(1,1+r),3===t[0]);throw new Error("Unknown point format")},d.prototype.encodeCompressed=function(t){return this.encode(t,!0)},d.prototype._encode=function(t){var e=this.curve.p.byteLength(),r=this.getX().toArray("be",e);return t?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",e))},d.prototype.encode=function(t,e){return o.encode(this._encode(e),t)},d.prototype.precompute=function(t){if(this.precomputed)return this;var e={doubles:null,naf:null,beta:null};return e.naf=this._getNAFPoints(8),e.doubles=this._getDoubles(4,t),e.beta=this._getBeta(),this.precomputed=e,this},d.prototype._hasDoubles=function(t){if(!this.precomputed)return!1;var e=this.precomputed.doubles;return!!e&&e.points.length>=Math.ceil((t.bitLength()+1)/e.step)},d.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i<e;i+=t){for(var o=0;o<t;o++)n=n.dbl();r.push(n)}return{step:t,points:r}},d.prototype._getNAFPoints=function(t){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var e=[this],r=(1<<t)-1,n=1===r?null:this.dbl(),i=1;i<r;i++)e[i]=e[i-1].add(n);return{wnd:t,points:e}},d.prototype._getBeta=function(){return null},d.prototype.dblp=function(t){for(var e=this,i=0;i<t;i++)e=e.dbl();return e}},function(t,e,r){var n=r(790),o=r(798),h=r(799),l=r(332),c=r(531),f=r(45).Buffer;function d(t){var e;"object"!=typeof t||f.isBuffer(t)||(e=t.passphrase,t=t.key),"string"==typeof t&&(t=f.from(t));var r,d,m=h(t,e),v=m.tag,data=m.data;switch(v){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,t){var e=data.algorithm.decrypt.kde.kdeparams.salt,r=parseInt(data.algorithm.decrypt.kde.kdeparams.iters.toString(),10),n=o[data.algorithm.decrypt.cipher.algo.join(".")],h=data.algorithm.decrypt.cipher.iv,d=data.subjectPrivateKey,m=parseInt(n.split("-")[1],10)/8,v=c.pbkdf2Sync(t,e,r,m,"sha1"),y=l.createDecipheriv(n,v,h),w=[];return w.push(y.update(d)),w.push(y.final()),f.concat(w)}(data=n.EncryptedPrivateKey.decode(data,"der"),e);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 "+v)}}t.exports=d,d.signature=n.signature},function(t,e,r){"use strict";let n=r(278);class o extends n{constructor(t){t&&void 0!==t.value&&"string"!=typeof t.value&&(t={...t,value:String(t.value)}),super(t),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}}t.exports=o,o.default=o},function(t,e,r){"use strict";let n=r(349),o=r(581),{isClean:h}=r(350),l=r(351);class c{constructor(t={}){this.raws={},this[h]=!1;for(let e in t)if("nodes"===e){this.nodes=[];for(let r of t[e])"function"==typeof r.clone?this.append(r.clone()):this.append(r)}else this[e]=t[e]}error(t,e={}){if(this.source){let r=this.positionBy(e);return this.source.input.error(t,r.line,r.column,e)}return new n(t)}warn(t,text,e){let data={node:this};for(let i in e)data[i]=e[i];return t.warn(text,data)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(t=l){t.stringify&&(t=t.stringify);let e="";return t(this,i=>{e+=i}),e}assign(t={}){for(let e in t)this[e]=t[e];return this}clone(t={}){let e=function t(e,r){let n=new e.constructor;for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;if("proxyCache"===i)continue;let o=e[i],h=typeof o;"parent"===i&&"object"===h?r&&(n[i]=r):"source"===i?n[i]=o:Array.isArray(o)?n[i]=o.map(e=>t(e,n)):("object"===h&&null!==o&&(o=t(o)),n[i]=o)}return n}(this);for(let r in t)e[r]=t[r];return e}cloneBefore(t={}){let e=this.clone(t);return this.parent.insertBefore(this,e),e}cloneAfter(t={}){let e=this.clone(t);return this.parent.insertAfter(this,e),e}replaceWith(...t){if(this.parent){let e=this,r=!1;for(let n of t)n===this?r=!0:r?(this.parent.insertAfter(e,n),e=n):this.parent.insertBefore(e,n);r||this.remove()}return this}next(){if(!this.parent)return;let t=this.parent.index(this);return this.parent.nodes[t+1]}prev(){if(!this.parent)return;let t=this.parent.index(this);return this.parent.nodes[t-1]}before(t){return this.parent.insertBefore(this,t),this}after(t){return this.parent.insertAfter(this,t),this}root(){let t=this;for(;t.parent&&"document"!==t.parent.type;)t=t.parent;return t}raw(t,e){return(new o).raw(this,t,e)}cleanRaws(t){delete this.raws.before,delete this.raws.after,t||delete this.raws.between}toJSON(t,e){let r={},n=null==e;e=e||new Map;let o=0;for(let t in this){if(!Object.prototype.hasOwnProperty.call(this,t))continue;if("parent"===t||"proxyCache"===t)continue;let n=this[t];if(Array.isArray(n))r[t]=n.map(i=>"object"==typeof i&&i.toJSON?i.toJSON(null,e):i);else if("object"==typeof n&&n.toJSON)r[t]=n.toJSON(null,e);else if("source"===t){let h=e.get(n.input);null==h&&(h=o,e.set(n.input,o),o++),r[t]={inputId:h,start:n.start,end:n.end}}else r[t]=n}return n&&(r.inputs=[...e.keys()].map(input=>input.toJSON())),r}positionInside(t){let e=this.toString(),r=this.source.start.column,line=this.source.start.line;for(let i=0;i<t;i++)"\n"===e[i]?(r=1,line+=1):r+=1;return{line:line,column:r}}positionBy(t){let e=this.source.start;if(t.index)e=this.positionInside(t.index);else if(t.word){let r=this.toString().indexOf(t.word);-1!==r&&(e=this.positionInside(r))}return e}getProxyProcessor(){return{set:(t,e,r)=>(t[e]===r||(t[e]=r,"prop"!==e&&"value"!==e&&"name"!==e&&"params"!==e&&"important"!==e&&"text"!==e||t.markDirty()),!0),get:(t,e)=>"proxyOf"===e?t:"root"===e?()=>t.root().toProxy():t[e]}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(t){if(t.postcssNode=this,t.stack&&this.source&&/\n\s{4}at /.test(t.stack)){let s=this.source;t.stack=t.stack.replace(/\n\s{4}at /,`$&${s.input.from}:${s.start.line}:${s.start.column}$&`)}return t}markDirty(){if(this[h]){this[h]=!1;let t=this;for(;t=t.parent;)t[h]=!1}}get proxyOf(){return this}}t.exports=c,c.default=c},function(t,e,r){"use strict";let n=r(278);class o extends n{constructor(t){super(t),this.type="comment"}}t.exports=o,o.default=o},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)},function(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0}),e.HitCanvas=e.SceneCanvas=e.Canvas=void 0;var h,l=r(52),c=r(593),f=r(47),d=r(46),m=r(48);var v=function(){function t(t){this.pixelRatio=1,this.width=0,this.height=0,this.isCache=!1;var e=(t||{}).pixelRatio||f.Konva.pixelRatio||function(){if(h)return h;var t=l.Util.createCanvasElement().getContext("2d");return h=(f.Konva._global.devicePixelRatio||1)/(t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1)}();this.pixelRatio=e,this._canvas=l.Util.createCanvasElement(),this._canvas.style.padding="0",this._canvas.style.margin="0",this._canvas.style.border="0",this._canvas.style.background="transparent",this._canvas.style.position="absolute",this._canvas.style.top="0",this._canvas.style.left="0"}return t.prototype.getContext=function(){return this.context},t.prototype.getPixelRatio=function(){return this.pixelRatio},t.prototype.setPixelRatio=function(t){var e=this.pixelRatio;this.pixelRatio=t,this.setSize(this.getWidth()/e,this.getHeight()/e)},t.prototype.setWidth=function(t){this.width=this._canvas.width=t*this.pixelRatio,this._canvas.style.width=t+"px";var e=this.pixelRatio;this.getContext()._context.scale(e,e)},t.prototype.setHeight=function(t){this.height=this._canvas.height=t*this.pixelRatio,this._canvas.style.height=t+"px";var e=this.pixelRatio;this.getContext()._context.scale(e,e)},t.prototype.getWidth=function(){return this.width},t.prototype.getHeight=function(){return this.height},t.prototype.setSize=function(t,e){this.setWidth(t||0),this.setHeight(e||0)},t.prototype.toDataURL=function(t,e){try{return this._canvas.toDataURL(t,e)}catch(t){try{return this._canvas.toDataURL()}catch(t){return l.Util.error("Unable to get data URL. "+t.message+" For more info read https://konvajs.org/docs/posts/Tainted_Canvas.html."),""}}},t}();e.Canvas=v,d.Factory.addGetterSetter(v,"pixelRatio",void 0,m.getNumberValidator());var y=function(t){function e(e){void 0===e&&(e={width:0,height:0});var r=t.call(this,e)||this;return r.context=new c.SceneContext(r),r.setSize(e.width,e.height),r}return o(e,t),e}(v);e.SceneCanvas=y;var w=function(t){function e(e){void 0===e&&(e={width:0,height:0});var r=t.call(this,e)||this;return r.hitCanvas=!0,r.context=new c.HitContext(r),r.setSize(e.width,e.height),r}return o(e,t),e}(v);e.HitCanvas=w},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)},function(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0}),e.Container=void 0;var h=r(52),l=r(46),c=r(72),f=r(48),d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.children=new h.Collection,e}return o(e,t),e.prototype.getChildren=function(t){if(!t)return this.children;var e=new h.Collection;return this.children.each((function(r){t(r)&&e.push(r)})),e},e.prototype.hasChildren=function(){return this.getChildren().length>0},e.prototype.removeChildren=function(){for(var t,i=0;i<this.children.length;i++)(t=this.children[i]).parent=null,t.index=0,t.remove();return this.children=new h.Collection,this},e.prototype.destroyChildren=function(){for(var t,i=0;i<this.children.length;i++)(t=this.children[i]).parent=null,t.index=0,t.destroy();return this.children=new h.Collection,this},e.prototype.add=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(arguments.length>1){for(var i=0;i<arguments.length;i++)this.add(arguments[i]);return this}var r=t[0];if(r.getParent())return r.moveTo(this),this;var n=this.children;return this._validateAdd(r),r._clearCaches(),r.index=n.length,r.parent=this,n.push(r),this._fire("add",{child:r}),this},e.prototype.destroy=function(){return this.hasChildren()&&this.destroyChildren(),t.prototype.destroy.call(this),this},e.prototype.find=function(t){return this._generalFind(t,!1)},e.prototype.get=function(t){return h.Util.warn("collection.get() method is deprecated. Please use collection.find() instead."),this.find(t)},e.prototype.findOne=function(t){var e=this._generalFind(t,!0);return e.length>0?e[0]:void 0},e.prototype._generalFind=function(t,e){var r=[];return this._descendants((function(n){var o=n._isMatch(t);return o&&r.push(n),!(!o||!e)})),h.Collection.toCollection(r)},e.prototype._descendants=function(t){for(var i=0;i<this.children.length;i++){var e=this.children[i];if(t(e))return!0;if(e.hasChildren()&&e._descendants(t))return!0}return!1},e.prototype.toObject=function(){var t=c.Node.prototype.toObject.call(this);t.children=[];for(var e=this.getChildren(),r=e.length,n=0;n<r;n++){var o=e[n];t.children.push(o.toObject())}return t},e.prototype.isAncestorOf=function(t){for(var e=t.getParent();e;){if(e._id===this._id)return!0;e=e.getParent()}return!1},e.prototype.clone=function(t){var e=c.Node.prototype.clone.call(this,t);return this.getChildren().each((function(t){e.add(t.clone())})),e},e.prototype.getAllIntersections=function(t){var e=[];return this.find("Shape").each((function(r){r.isVisible()&&r.intersects(t)&&e.push(r)})),e},e.prototype._setChildrenIndices=function(){this.children.each((function(t,e){t.index=e}))},e.prototype.drawScene=function(t,e){var r=this.getLayer(),canvas=t||r&&r.getCanvas(),n=canvas&&canvas.getContext(),o=this._getCanvasCache(),h=o&&o.scene,l=canvas&&canvas.isCache;if(!this.isVisible()&&!l)return this;if(h){n.save();var c=this.getAbsoluteTransform(e).getMatrix();n.transform(c[0],c[1],c[2],c[3],c[4],c[5]),this._drawCachedSceneCanvas(n),n.restore()}else this._drawChildren("drawScene",canvas,e);return this},e.prototype.drawHit=function(t,e){if(!this.shouldDrawHit(e))return this;var r=this.getLayer(),canvas=t||r&&r.hitCanvas,n=canvas&&canvas.getContext(),o=this._getCanvasCache();if(o&&o.hit){n.save();var h=this.getAbsoluteTransform(e).getMatrix();n.transform(h[0],h[1],h[2],h[3],h[4],h[5]),this._drawCachedHitCanvas(n),n.restore()}else this._drawChildren("drawHit",canvas,e);return this},e.prototype._drawChildren=function(t,canvas,e){var r=canvas&&canvas.getContext(),n=this.clipWidth(),o=this.clipHeight(),h=this.clipFunc(),l=n&&o||h,c=e===this;if(l){r.save();var f=this.getAbsoluteTransform(e),d=f.getMatrix();if(r.transform(d[0],d[1],d[2],d[3],d[4],d[5]),r.beginPath(),h)h.call(this,r,this);else{var m=this.clipX(),v=this.clipY();r.rect(m,v,n,o)}r.clip(),d=f.copy().invert().getMatrix(),r.transform(d[0],d[1],d[2],d[3],d[4],d[5])}var y=!c&&"source-over"!==this.globalCompositeOperation()&&"drawScene"===t;y&&(r.save(),r._applyGlobalCompositeOperation(this)),this.children.each((function(r){r[t](canvas,e)})),y&&r.restore(),l&&r.restore()},e.prototype.getClientRect=function(t){var e,r,n,o,h=(t=t||{}).skipTransform,l=t.relativeTo,c={x:1/0,y:1/0,width:0,height:0},f=this;this.children.each((function(h){if(h.visible()){var rect=h.getClientRect({relativeTo:f,skipShadow:t.skipShadow,skipStroke:t.skipStroke});0===rect.width&&0===rect.height||(void 0===e?(e=rect.x,r=rect.y,n=rect.x+rect.width,o=rect.y+rect.height):(e=Math.min(e,rect.x),r=Math.min(r,rect.y),n=Math.max(n,rect.x+rect.width),o=Math.max(o,rect.y+rect.height)))}}));for(var d=this.find("Shape"),m=!1,i=0;i<d.length;i++){if(d[i]._isVisible(this)){m=!0;break}}return c=m&&void 0!==e?{x:e,y:r,width:n-e,height:o-r}:{x:0,y:0,width:0,height:0},h?c:this._transformedRect(c,l)},e}(c.Node);e.Container=d,l.Factory.addComponentsGetterSetter(d,"clip",["x","y","width","height"]),l.Factory.addGetterSetter(d,"clipX",void 0,f.getNumberValidator()),l.Factory.addGetterSetter(d,"clipY",void 0,f.getNumberValidator()),l.Factory.addGetterSetter(d,"clipWidth",void 0,f.getNumberValidator()),l.Factory.addGetterSetter(d,"clipHeight",void 0,f.getNumberValidator()),l.Factory.addGetterSetter(d,"clipFunc"),h.Collection.mapMethods(d)},function(t,e,r){"use strict";(function(t){r(88),r(89),r(40),r(85),r(916),r(22),r(87),r(647),r(567),r(10),r(918),r(33),r(326),r(96),r(64),r(74),r(181),r(919),r(924),r(926),r(927),r(928),r(929),r(930),r(931),r(932),r(933),r(934),r(935),r(936),r(937),r(938),r(939),r(940),r(941),r(942),r(943),r(944),r(945),r(946),r(947),r(37),r(68),r(149),r(19);var n=r(2),o=r(5),h=r(4),l=r(11),c=r(12),f=r(7),d=r(246),m=r(28),v=r(49),y=r(23),w=r(14);function _(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return M(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return M(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0,n=function(){};return{s:n,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},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,h=!0,l=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return h=t.done,t},e:function(t){l=!0,o=t},f:function(){try{h||null==r.return||r.return()}finally{if(l)throw o}}}}function M(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,r=new Array(e);i<e;i++)r[i]=t[i];return r}function S(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=Object(f.a)(t);if(e){var o=Object(f.a)(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Object(c.a)(this,r)}}function x(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function E(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?x(Object(source),!0).forEach((function(e){Object(m.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):x(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}for(var A={},T=function(){var e=C[k];Object.defineProperty(A,e,{get:function(){var r=function(e){return"undefined"!=typeof self&&self&&e in self?self:"undefined"!=typeof window&&window&&e in window?window:void 0!==t&&t&&e in t?t:"undefined"!=typeof globalThis&&globalThis?globalThis:void 0}(e),n=r&&r[e];return"function"==typeof n?n.bind(r):n}})},k=0,C=["Headers","Request","Response","ReadableStream","fetch","AbortController","FormData"];k<C.length;k++)T();var O=function(t){return null!==t&&"object"===Object(w.a)(t)},I="function"==typeof A.AbortController,P="function"==typeof A.ReadableStream,R=function t(){for(var e={},r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];for(var h=0,l=n;h<l.length;h++){var source=l[h];if(Array.isArray(source))Array.isArray(e)||(e=[]),e=[].concat(Object(y.a)(e),Object(y.a)(source));else if(O(source))for(var c=0,f=Object.entries(source);c<f.length;c++){var d=Object(v.a)(f[c],2),w=d[0],_=d[1];O(_)&&Reflect.has(e,w)&&(_=t(e[w],_)),e=E(E({},e),{},Object(m.a)({},w,_))}}return e},j=["get","post","put","patch","head","delete"],N={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*"},L=[413,429,503],D=Symbol("stop"),B=function(t){Object(l.a)(r,t);var e=S(r);function r(t){var n;return Object(h.a)(this,r),(n=e.call(this,t.statusText)).name="HTTPError",n.response=t,n}return r}(Object(d.a)(Error)),F=function(t){Object(l.a)(r,t);var e=S(r);function r(){var t;return Object(h.a)(this,r),(t=e.call(this,"Request timed out")).name="TimeoutError",t}return r}(Object(d.a)(Error)),U=function(t){return new Promise((function(e){return setTimeout(e,t)}))},z=function(t,e,r){return new Promise((function(n,o){var h=setTimeout((function(){r&&r.abort(),o(new F)}),e);t.then(n).catch(o).then((function(){clearTimeout(h)}))}))},H=function(input){return j.includes(input)?input.toUpperCase():input},G={limit:2,methods:["get","put","head","delete","options","trace"],statusCodes:[408,413,429,500,502,503,504],afterStatusCodes:L},V=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("number"==typeof t)return E(E({},G),{},{limit:t});if(t.methods&&!Array.isArray(t.methods))throw new Error("retry.methods must be an array");if(t.statusCodes&&!Array.isArray(t.statusCodes))throw new Error("retry.statusCodes must be an array");return E(E(E({},G),t),{},{afterStatusCodes:L})},$=function(){function t(input){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Object(h.a)(this,t),this._retryCount=0,this._input=input,this._options=E(E({credentials:this._input.credentials||"same-origin"},r),{},{hooks:R({beforeRequest:[],beforeRetry:[],afterResponse:[]},r.hooks),method:H(r.method||this._input.method),prefixUrl:String(r.prefixUrl||""),retry:V(r.retry),throwHttpErrors:!1!==r.throwHttpErrors,timeout:void 0===r.timeout?1e4:r.timeout}),"string"!=typeof this._input&&!(this._input instanceof URL||this._input instanceof A.Request))throw new TypeError("`input` must be a string, URL, or Request");if(this._options.prefixUrl&&"string"==typeof this._input){if(this._input.startsWith("/"))throw new Error("`input` must not begin with a slash when using `prefixUrl`");this._options.prefixUrl.endsWith("/")||(this._options.prefixUrl+="/"),this._input=this._options.prefixUrl+this._input}if(I&&(this.abortController=new A.AbortController,this._options.signal&&(this._options.signal.addEventListener("abort",(function(){e.abortController.abort()})),this._options.signal=this.abortController.signal)),this.request=new A.Request(this._input,this._options),this._options.searchParams){var o=new URL(this.request.url);o.search=new URLSearchParams(this._options.searchParams),this.request=new A.Request(new A.Request(o,this.request),this._options)}void 0!==this._options.json&&(this._options.body=JSON.stringify(this._options.json),this.request.headers.set("content-type","application/json"),this.request=new A.Request(this.request,{body:this._options.body}));for(var l=function(){var t=Object(n.a)(regeneratorRuntime.mark((function t(){var r,n,o,h,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e._options.timeout>2147483647)){t.next=2;break}throw new RangeError("The `timeout` option cannot be greater than ".concat(2147483647));case 2:return t.next=4,U(1);case 4:return t.next=6,e._fetch();case 6:r=t.sent,n=_(e._options.hooks.afterResponse),t.prev=8,n.s();case 10:if((o=n.n()).done){t.next=18;break}return h=o.value,t.next=14,h(e.request,e._options,r.clone());case 14:(l=t.sent)instanceof A.Response&&(r=l);case 16:t.next=10;break;case 18:t.next=23;break;case 20:t.prev=20,t.t0=t.catch(8),n.e(t.t0);case 23:return t.prev=23,n.f(),t.finish(23);case 26:if(r.ok||!e._options.throwHttpErrors){t.next=28;break}throw new B(r);case 28:if(!e._options.onDownloadProgress){t.next=34;break}if("function"==typeof e._options.onDownloadProgress){t.next=31;break}throw new TypeError("The `onDownloadProgress` option must be a function");case 31:if(P){t.next=33;break}throw new Error("Streams are not supported in your environment. `ReadableStream` is missing.");case 33:return t.abrupt("return",e._stream(r.clone(),e._options.onDownloadProgress));case 34:return t.abrupt("return",r);case 35:case"end":return t.stop()}}),t,null,[[8,20,23,26]])})));return function(){return t.apply(this,arguments)}}(),c=this._options.retry.methods.includes(this.request.method.toLowerCase()),f=c?this._retry(l):l(),d=function(){var t=Object(v.a)(y[m],2),r=t[0],o=t[1];f[r]=Object(n.a)(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.request.headers.set("accept",e.request.headers.get("accept")||o),t.next=3,f;case 3:return n=t.sent.clone(),t.abrupt("return","json"===r&&204===n.status?"":n[r]());case 5:case"end":return t.stop()}}),t)})))},m=0,y=Object.entries(N);m<y.length;m++)d();return f}var e,r;return Object(o.a)(t,[{key:"_calculateRetryDelay",value:function(t){if(this._retryCount++,this._retryCount<this._options.retry.limit&&!(t instanceof F)){if(t instanceof B){if(!this._options.retry.statusCodes.includes(t.response.status))return 0;var e=t.response.headers.get("Retry-After");if(e&&this._options.retry.afterStatusCodes.includes(t.response.status)){var r=Number(e);return Number.isNaN(r)?r=Date.parse(e)-Date.now():r*=1e3,void 0!==this._options.retry.maxRetryAfter&&r>this._options.retry.maxRetryAfter?0:r}if(413===t.response.status)return 0}return.3*Math.pow(2,this._retryCount-1)*1e3}return 0}},{key:"_retry",value:(r=Object(n.a)(regeneratorRuntime.mark((function t(e){var r,n,o,h;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e();case 3:return t.abrupt("return",t.sent);case 6:if(t.prev=6,t.t0=t.catch(0),!(0!==(r=Math.min(this._calculateRetryDelay(t.t0),2147483647))&&this._retryCount>0)){t.next=33;break}return t.next=12,U(r);case 12:n=_(this._options.hooks.beforeRetry),t.prev=13,n.s();case 15:if((o=n.n()).done){t.next=24;break}return h=o.value,t.next=19,h(this.request,this._options,t.t0,this._retryCount);case 19:if(t.sent!==D){t.next=22;break}return t.abrupt("return");case 22:t.next=15;break;case 24:t.next=29;break;case 26:t.prev=26,t.t1=t.catch(13),n.e(t.t1);case 29:return t.prev=29,n.f(),t.finish(29);case 32:return t.abrupt("return",this._retry(e));case 33:if(!this._options.throwHttpErrors){t.next=35;break}throw t.t0;case 35:case"end":return t.stop()}}),t,this,[[0,6],[13,26,29,32]])}))),function(t){return r.apply(this,arguments)})},{key:"_fetch",value:(e=Object(n.a)(regeneratorRuntime.mark((function t(){var e,r,n,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=_(this._options.hooks.beforeRequest),t.prev=1,e.s();case 3:if((r=e.n()).done){t.next=15;break}return n=r.value,t.next=7,n(this.request,this._options);case 7:if(!((o=t.sent)instanceof Request)){t.next=11;break}return this.request=o,t.abrupt("break",15);case 11:if(!(o instanceof Response)){t.next=13;break}return t.abrupt("return",o);case 13:t.next=3;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(1),e.e(t.t0);case 20:return t.prev=20,e.f(),t.finish(20);case 23:if(!1!==this._options.timeout){t.next=25;break}return t.abrupt("return",A.fetch(this.request));case 25:return t.abrupt("return",z(A.fetch(this.request),this._options.timeout,this.abortController));case 26:case"end":return t.stop()}}),t,this,[[1,17,20,23]])}))),function(){return e.apply(this,arguments)})},{key:"_stream",value:function(t,e){var r=Number(t.headers.get("content-length"))||0,o=0;return new A.Response(new A.ReadableStream({start:function(h){var l=t.body.getReader();function c(){return f.apply(this,arguments)}function f(){return(f=Object(n.a)(regeneratorRuntime.mark((function t(){var n,f,d;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,l.read();case 2:if(n=t.sent,f=n.done,d=n.value,!f){t.next=8;break}return h.close(),t.abrupt("return");case 8:e&&(o+=d.byteLength,e({percent:0===r?0:o/r,transferredBytes:o,totalBytes:r},d)),h.enqueue(d),c();case 11:case"end":return t.stop()}}),t)})))).apply(this,arguments)}e&&e({percent:0,transferredBytes:0,totalBytes:r},new Uint8Array),c()}}))}}]),t}(),W=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];for(var n=0,o=e;n<o.length;n++){var source=o[n];if((!O(source)||Array.isArray(source))&&void 0!==source)throw new TypeError("The `options` argument must be an object")}return R.apply(void 0,[{}].concat(e))};e.a=function t(e){for(var r=function(input,t){return new $(input,W(e,t))},n=function(){var t=h[o];r[t]=function(input,r){return new $(input,W(e,r,{method:t}))}},o=0,h=j;o<h.length;o++)n();return r.create=function(e){return t(W(e))},r.extend=function(r){return t(W(e,r))},r.stop=D,r}()}).call(this,r(54))},function(t,e,r){"use strict";var n=r(682),o=r(683),h=r(500);t.exports={formats:h,parse:o,stringify:n}},,,,,,function(t,e,r){t.exports=function(){"use strict";var t="minute",i=/[+-]\d\d(?::?\d\d)?/g,e=/([+-]|\d\d)/g;return function(s,r,n){var u=r.prototype;n.utc=function(t){var i={date:t,utc:!0,args:arguments};return new r(i)},u.utc=function(i){var e=n(this.toDate(),{locale:this.$L,utc:!0});return i?e.add(this.utcOffset(),t):e},u.local=function(){return n(this.toDate(),{locale:this.$L,utc:!1})};var o=u.parse;u.parse=function(t){t.utc&&(this.$u=!0),this.$utils().u(t.$offset)||(this.$offset=t.$offset),o.call(this,t)};var h=u.init;u.init=function(){if(this.$u){var t=this.$d;this.$y=t.getUTCFullYear(),this.$M=t.getUTCMonth(),this.$D=t.getUTCDate(),this.$W=t.getUTCDay(),this.$H=t.getUTCHours(),this.$m=t.getUTCMinutes(),this.$s=t.getUTCSeconds(),this.$ms=t.getUTCMilliseconds()}else h.call(this)};var a=u.utcOffset;u.utcOffset=function(s,r){var n=this.$utils().u;if(n(s))return this.$u?0:n(this.$offset)?a.call(this):this.$offset;if("string"==typeof s&&null===(s=function(t){void 0===t&&(t="");var s=t.match(i);if(!s)return null;var r=(""+s[0]).match(e)||["-",0,0],n=r[0],u=60*+r[1]+ +r[2];return 0===u?0:"+"===n?u:-u}(s)))return this;var u=Math.abs(s)<=16?60*s:s,o=this;if(r)return o.$offset=u,o.$u=0===s,o;if(0!==s){var h=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(o=this.local().add(u+h,t)).$offset=u,o.$x.$localOffset=h}else o=this.utc();return o};var l=u.format;u.format=function(t){var i=t||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return l.call(this,i)},u.valueOf=function(){var t=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*t},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var c=u.toDate;u.toDate=function(t){return"s"===t&&this.$offset?n(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():c.call(this)};var f=u.diff;u.diff=function(t,i,e){if(t&&this.$u===t.$u)return f.call(this,t,i,e);var s=this.local(),r=n(t).local();return f.call(s,r,i,e)}}}()},,,,,,,,,,,,function(t,e,r){!function(t,e,r){"use strict";var n;e=e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e,r=r&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r,function(t){t.SwiperComponent="Swiper",t.SwiperSlideComponent="SwiperSlide",t.SwiperDirective="swiper",t.SwiperInstance="$swiper"}(n||(n={}));var o,h,l=Object.freeze({containerClass:"swiper-container",wrapperClass:"swiper-wrapper",slideClass:"swiper-slide"});(function(t){t.Ready="ready",t.ClickSlide="clickSlide"})(o||(o={})),function(t){t.AutoUpdate="autoUpdate",t.AutoDestroy="autoDestroy",t.DeleteInstanceOnDestroy="deleteInstanceOnDestroy",t.CleanupStylesOnDestroy="cleanupStylesOnDestroy"}(h||(h={}));var c=["init","beforeDestroy","slideChange","slideChangeTransitionStart","slideChangeTransitionEnd","slideNextTransitionStart","slideNextTransitionEnd","slidePrevTransitionStart","slidePrevTransitionEnd","transitionStart","transitionEnd","touchStart","touchMove","touchMoveOpposite","sliderMove","touchEnd","click","tap","doubleTap","imagesReady","progress","reachBeginning","reachEnd","fromEdge","setTranslate","setTransition","resize","observerUpdate","beforeLoopFix","loopFix"];function f(){for(var s=0,i=0,t=arguments.length;i<t;i++)s+=arguments[i].length;var e=Array(s),r=0;for(i=0;i<t;i++)for(var a=arguments[i],n=0,o=a.length;n<o;n++,r++)e[r]=a[n];return e}var d,m=function(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\s+/g,"-").toLowerCase()},v=function(t,e,r){var n,h,l;if(t&&!t.destroyed){var c=(null===(n=e.composedPath)||void 0===n?void 0:n.call(e))||e.path;if((null==e?void 0:e.target)&&c){var f=Array.from(t.slides),d=Array.from(c);if(f.includes(e.target)||d.some((function(t){return f.includes(t)}))){var v=t.clickedIndex,y=Number(null===(l=null===(h=t.clickedSlide)||void 0===h?void 0:h.dataset)||void 0===l?void 0:l.swiperSlideIndex),w=Number.isInteger(y)?y:null;r(o.ClickSlide,v,w),r(m(o.ClickSlide),v,w)}}}},y=function(t,e){c.forEach((function(r){t.on(r,(function(){for(var t=arguments,n=[],o=0;o<arguments.length;o++)n[o]=t[o];e.apply(void 0,f([r],n));var h=m(r);h!==r&&e.apply(void 0,f([h],n))}))}))};function w(t,e){var r=function(t,e){var r,n,o,h,l=null===(n=null===(r=t.data)||void 0===r?void 0:r.attrs)||void 0===n?void 0:n[e];return void 0!==l?l:null===(h=null===(o=t.data)||void 0===o?void 0:o.attrs)||void 0===h?void 0:h[m(e)]},c=function(element,t,e){return t.arg||r(e,"instanceName")||element.id||n.SwiperInstance},f=function(element,t,e){var r=c(element,t,e);return e.context[r]||null},d=function(t){return t.value||e},w=function(input){return[!0,void 0,null,""].includes(input)},_=function(t){var e,r,n=(null===(e=t.data)||void 0===e?void 0:e.on)||(null===(r=t.componentOptions)||void 0===r?void 0:r.listeners);return function(t){for(var e,r=arguments,o=[],h=1;h<arguments.length;h++)o[h-1]=r[h];var l=null===(e=n)||void 0===e?void 0:e[t];l&&l.fns.apply(l,o)}};return{bind:function(element,t,e){-1===element.className.indexOf(l.containerClass)&&(element.className+=(element.className?" ":"")+l.containerClass),element.addEventListener("click",(function(r){var n=_(e),o=f(element,t,e);v(o,r,n)}))},inserted:function(element,e,r){var n=r.context,h=d(e),l=c(element,e,r),f=_(r),m=n,v=null==m?void 0:m[l];v&&!v.destroyed||(v=new t(element,h),m[l]=v,y(v,f),f(o.Ready,v))},componentUpdated:function(element,t,e){var n,o,l,c,m,v,y,_,M,S,x,E,A=r(e,h.AutoUpdate);if(w(A)){var T=f(element,t,e);if(T){var k=d(t).loop;k&&(null===(o=null===(n=T)||void 0===n?void 0:n.loopDestroy)||void 0===o||o.call(n)),null===(l=null==T?void 0:T.update)||void 0===l||l.call(T),null===(m=null===(c=T.navigation)||void 0===c?void 0:c.update)||void 0===m||m.call(c),null===(y=null===(v=T.pagination)||void 0===v?void 0:v.render)||void 0===y||y.call(v),null===(M=null===(_=T.pagination)||void 0===_?void 0:_.update)||void 0===M||M.call(_),k&&(null===(x=null===(S=T)||void 0===S?void 0:S.loopCreate)||void 0===x||x.call(S),null===(E=null==T?void 0:T.update)||void 0===E||E.call(T))}}},unbind:function(element,t,e){var n,o=r(e,h.AutoDestroy);if(w(o)){var l=f(element,t,e);l&&l.initialized&&(null===(n=null==l?void 0:l.destroy)||void 0===n||n.call(l,w(r(e,h.DeleteInstanceOnDestroy)),w(r(e,h.CleanupStylesOnDestroy))))}}}}function _(t){var e;return r.extend({name:n.SwiperComponent,props:(e={defaultOptions:{type:Object,required:!1,default:function(){return{}}},options:{type:Object,required:!1}},e[h.AutoUpdate]={type:Boolean,default:!0},e[h.AutoDestroy]={type:Boolean,default:!0},e[h.DeleteInstanceOnDestroy]={type:Boolean,required:!1,default:!0},e[h.CleanupStylesOnDestroy]={type:Boolean,required:!1,default:!0},e),data:function(){var t;return(t={})[n.SwiperInstance]=null,t},computed:{swiperInstance:{cache:!1,set:function(t){this[n.SwiperInstance]=t},get:function(){return this[n.SwiperInstance]}},swiperOptions:function(){return this.options||this.defaultOptions},wrapperClass:function(){return this.swiperOptions.wrapperClass||l.wrapperClass}},methods:{handleSwiperClick:function(t){v(this.swiperInstance,t,this.$emit.bind(this))},autoReLoopSwiper:function(){var t,e;if(this.swiperInstance&&this.swiperOptions.loop){var r=this.swiperInstance;null===(t=null==r?void 0:r.loopDestroy)||void 0===t||t.call(r),null===(e=null==r?void 0:r.loopCreate)||void 0===e||e.call(r)}},updateSwiper:function(){var t,e,r,n,o,l,c,f;this[h.AutoUpdate]&&this.swiperInstance&&(this.autoReLoopSwiper(),null===(e=null===(t=this.swiperInstance)||void 0===t?void 0:t.update)||void 0===e||e.call(t),null===(n=null===(r=this.swiperInstance.navigation)||void 0===r?void 0:r.update)||void 0===n||n.call(r),null===(l=null===(o=this.swiperInstance.pagination)||void 0===o?void 0:o.render)||void 0===l||l.call(o),null===(f=null===(c=this.swiperInstance.pagination)||void 0===c?void 0:c.update)||void 0===f||f.call(c))},destroySwiper:function(){var t,e;this[h.AutoDestroy]&&this.swiperInstance&&this.swiperInstance.initialized&&(null===(e=null===(t=this.swiperInstance)||void 0===t?void 0:t.destroy)||void 0===e||e.call(t,this[h.DeleteInstanceOnDestroy],this[h.CleanupStylesOnDestroy]))},initSwiper:function(){this.swiperInstance=new t(this.$el,this.swiperOptions),y(this.swiperInstance,this.$emit.bind(this)),this.$emit(o.Ready,this.swiperInstance)}},mounted:function(){this.swiperInstance||this.initSwiper()},activated:function(){this.updateSwiper()},updated:function(){this.updateSwiper()},beforeDestroy:function(){this.$nextTick(this.destroySwiper)},render:function(t){return t("div",{staticClass:l.containerClass,on:{click:this.handleSwiperClick}},[this.$slots[d.ParallaxBg],t("div",{class:this.wrapperClass},this.$slots.default),this.$slots[d.Pagination],this.$slots[d.PrevButton],this.$slots[d.NextButton],this.$slots[d.Scrollbar]])}})}!function(t){t.ParallaxBg="parallax-bg",t.Pagination="pagination",t.Scrollbar="scrollbar",t.PrevButton="button-prev",t.NextButton="button-next"}(d||(d={}));var M=r.extend({name:n.SwiperSlideComponent,computed:{slideClass:function(){var t,e;return(null===(e=null===(t=this.$parent)||void 0===t?void 0:t.swiperOptions)||void 0===e?void 0:e.slideClass)||l.slideClass}},methods:{update:function(){var t,e=this.$parent;e[h.AutoUpdate]&&(null===(t=null==e?void 0:e.swiperInstance)||void 0===t||t.update())}},mounted:function(){this.update()},updated:function(){this.update()},render:function(t){return t("div",{class:this.slideClass},this.$slots.default)}}),S=function(t){var e=function(r,o){if(!e.installed){var h=_(t);o&&(h.options.props.defaultOptions.default=function(){return o}),r.component(n.SwiperComponent,h),r.component(n.SwiperSlideComponent,M),r.directive(n.SwiperDirective,w(t,o)),e.installed=!0}};return e},x=function(t){var e;return(e={version:"4.1.1",install:S(t),directive:w(t)})[n.SwiperComponent]=_(t),e[n.SwiperSlideComponent]=M,e}(e),E=x.version,A=x.install,T=x.directive,k=x.Swiper,C=x.SwiperSlide;t.Swiper=k,t.SwiperSlide=C,t.default=x,t.directive=T,t.install=A,t.version=E,Object.defineProperty(t,"__esModule",{value:!0})}(e,r(614),r(17))},,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";(function(e){var n=r(268);function o(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;t.entry=null;for(;n;){var o=n.callback;e.pendingcb--,o(r),n=n.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}(e,t)}}t.exports=S;var h,l=n.nextTick;S.WritableState=M;var c=Object.create(r(227));c.inherits=r(36);var f={deprecate:r(323)},d=r(492),m=r(45).Buffer,v=e.Uint8Array||function(){};var y,w=r(493);function _(){}function M(t,e){h=h||r(168),t=t||{};var c=e instanceof h;this.objectMode=!!t.objectMode,c&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var f=t.highWaterMark,d=t.writableHighWaterMark,m=this.objectMode?16:16384;this.highWaterMark=f||0===f?f:c&&(d||0===d)?d:m,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 v=!1===t.decodeStrings;this.decodeStrings=!v,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,o=r.sync,h=r.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,o,h){--e.pendingcb,r?(n.nextTick(h,o),n.nextTick(C,t,e),t._writableState.errorEmitted=!0,t.emit("error",o)):(h(o),t._writableState.errorEmitted=!0,t.emit("error",o),C(t,e))}(t,r,o,e,h);else{var c=T(r);c||r.corked||r.bufferProcessing||!r.bufferedRequest||A(t,r),o?l(E,t,r,c,h):E(t,r,c,h)}}(e,t)},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(t){if(h=h||r(168),!(y.call(S,this)||this instanceof h))return new S(t);this._writableState=new M(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),d.call(this)}function x(t,e,r,n,o,h,l){e.writelen=n,e.writecb=l,e.writing=!0,e.sync=!0,r?t._writev(o,e.onwrite):t._write(o,h,e.onwrite),e.sync=!1}function E(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),C(t,e)}function A(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,h=new Array(n),l=e.corkedRequestsFree;l.entry=r;for(var c=0,f=!0;r;)h[c]=r,r.isBuf||(f=!1),r=r.next,c+=1;h.allBuffers=f,x(t,e,!0,e.length,h,"",l.finish),e.pendingcb++,e.lastBufferedRequest=null,l.next?(e.corkedRequestsFree=l.next,l.next=null):e.corkedRequestsFree=new o(e),e.bufferedRequestCount=0}else{for(;r;){var d=r.chunk,m=r.encoding,v=r.callback;if(x(t,e,!1,e.objectMode?1:d.length,d,m,v),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function T(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function k(t,e){t._final((function(r){e.pendingcb--,r&&t.emit("error",r),e.prefinished=!0,t.emit("prefinish"),C(t,e)}))}function C(t,e){var r=T(e);return r&&(!function(t,e){e.prefinished||e.finalCalled||("function"==typeof t._final?(e.pendingcb++,e.finalCalled=!0,n.nextTick(k,t,e)):(e.prefinished=!0,t.emit("prefinish")))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),r}c.inherits(S,d),M.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(M.prototype,"buffer",{get:f.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(y=Function.prototype[Symbol.hasInstance],Object.defineProperty(S,Symbol.hasInstance,{value:function(object){return!!y.call(this,object)||this===S&&(object&&object._writableState instanceof M)}})):y=function(object){return object instanceof this},S.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},S.prototype.write=function(t,e,r){var o,h=this._writableState,l=!1,c=!h.objectMode&&(o=t,m.isBuffer(o)||o instanceof v);return c&&!m.isBuffer(t)&&(t=function(t){return m.from(t)}(t)),"function"==typeof e&&(r=e,e=null),c?e="buffer":e||(e=h.defaultEncoding),"function"!=typeof r&&(r=_),h.ended?function(t,e){var r=new Error("write after end");t.emit("error",r),n.nextTick(e,r)}(this,r):(c||function(t,e,r,o){var h=!0,l=!1;return null===r?l=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||e.objectMode||(l=new TypeError("Invalid non-string/buffer chunk")),l&&(t.emit("error",l),n.nextTick(o,l),h=!1),h}(this,h,t,r))&&(h.pendingcb++,l=function(t,e,r,n,o,h){if(!r){var l=function(t,e,r){t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=m.from(e,r));return e}(e,n,o);n!==l&&(r=!0,o="buffer",n=l)}var c=e.objectMode?1:n.length;e.length+=c;var f=e.length<e.highWaterMark;f||(e.needDrain=!0);if(e.writing||e.corked){var d=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:o,isBuf:r,callback:h,next:null},d?d.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else x(t,e,!1,c,n,o,h);return f}(this,h,c,t,e,r)),l},S.prototype.cork=function(){this._writableState.corked++},S.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.finished||t.bufferProcessing||!t.bufferedRequest||A(this,t))},S.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(S.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),S.prototype._write=function(t,e,r){r(new Error("_write() is not implemented"))},S.prototype._writev=null,S.prototype.end=function(t,e,r){var o=this._writableState;"function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!=t&&this.write(t,e),o.corked&&(o.corked=1,this.uncork()),o.ending||o.finished||function(t,e,r){e.ending=!0,C(t,e),r&&(e.finished?n.nextTick(r):t.once("finish",r));e.ended=!0,t.writable=!1}(this,o,r)},Object.defineProperty(S.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),S.prototype.destroy=w.destroy,S.prototype._undestroy=w.undestroy,S.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,r(54))},function(t,e,r){(function(e){function r(t){try{if(!e.localStorage)return!1}catch(t){return!1}var r=e.localStorage[t];return null!=r&&"true"===String(r).toLowerCase()}t.exports=function(t,e){if(r("noDeprecation"))return t;var n=!1;return function(){if(!n){if(r("throwDeprecation"))throw new Error(e);r("traceDeprecation")?console.trace(e):console.warn(e),n=!0}return t.apply(this,arguments)}}}).call(this,r(54))},function(t,e,r){"use strict";var n=Object.prototype.hasOwnProperty,o=Array.isArray,h=function(){for(var t=[],i=0;i<256;++i)t.push("%"+((i<16?"0":"")+i.toString(16)).toUpperCase());return t}(),l=function(source,t){for(var e=t&&t.plainObjects?Object.create(null):{},i=0;i<source.length;++i)void 0!==source[i]&&(e[i]=source[i]);return e};t.exports={arrayToObject:l,assign:function(t,source){return Object.keys(source).reduce((function(t,e){return t[e]=source[e],t}),t)},combine:function(a,b){return[].concat(a,b)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],r=[],i=0;i<e.length;++i)for(var n=e[i],h=n.obj[n.prop],l=Object.keys(h),c=0;c<l.length;++c){var f=l[c],d=h[f];"object"==typeof d&&null!==d&&-1===r.indexOf(d)&&(e.push({obj:h,prop:f}),r.push(d))}return function(t){for(;t.length>1;){var e=t.pop(),r=e.obj[e.prop];if(o(r)){for(var n=[],h=0;h<r.length;++h)void 0!==r[h]&&n.push(r[h]);e.obj[e.prop]=n}}}(e),t},decode:function(t,e,r){var n=t.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(t){return n}},encode:function(t,e,r){if(0===t.length)return t;var n=t;if("symbol"==typeof t?n=Symbol.prototype.toString.call(t):"string"!=typeof t&&(n=String(t)),"iso-8859-1"===r)return escape(n).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var o="",i=0;i<n.length;++i){var l=n.charCodeAt(i);45===l||46===l||95===l||126===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122?o+=n.charAt(i):l<128?o+=h[l]:l<2048?o+=h[192|l>>6]+h[128|63&l]:l<55296||l>=57344?o+=h[224|l>>12]+h[128|l>>6&63]+h[128|63&l]:(i+=1,l=65536+((1023&l)<<10|1023&n.charCodeAt(i)),o+=h[240|l>>18]+h[128|l>>12&63]+h[128|l>>6&63]+h[128|63&l])}return o},isBuffer:function(t){return!(!t||"object"!=typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(o(t)){for(var r=[],i=0;i<t.length;i+=1)r.push(e(t[i]));return r}return e(t)},merge:function t(e,source,r){if(!source)return e;if("object"!=typeof source){if(o(e))e.push(source);else{if(!e||"object"!=typeof e)return[e,source];(r&&(r.plainObjects||r.allowPrototypes)||!n.call(Object.prototype,source))&&(e[source]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(source);var h=e;return o(e)&&!o(source)&&(h=l(e,r)),o(e)&&o(source)?(source.forEach((function(o,i){if(n.call(e,i)){var h=e[i];h&&"object"==typeof h&&o&&"object"==typeof o?e[i]=t(h,o,r):e.push(o)}else e[i]=o})),e):Object.keys(source).reduce((function(e,o){var h=source[o];return n.call(e,o)?e[o]=t(e[o],h,r):e[o]=h,e}),h)}}},,,function(t,e,r){"use strict";var n=r(36),o=r(519),h=r(45).Buffer,l=new Array(16);function c(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function f(t,e){return t<<e|t>>>32-e}function d(a,b,t,e,r,n,s){return f(a+(b&t|~b&e)+r+n|0,s)+b|0}function m(a,b,t,e,r,n,s){return f(a+(b&e|t&~e)+r+n|0,s)+b|0}function v(a,b,t,e,r,n,s){return f(a+(b^t^e)+r+n|0,s)+b|0}function y(a,b,t,e,r,n,s){return f(a+(t^(b|~e))+r+n|0,s)+b|0}n(c,o),c.prototype._update=function(){for(var t=l,i=0;i<16;++i)t[i]=this._block.readInt32LE(4*i);var a=this._a,b=this._b,e=this._c,r=this._d;a=d(a,b,e,r,t[0],3614090360,7),r=d(r,a,b,e,t[1],3905402710,12),e=d(e,r,a,b,t[2],606105819,17),b=d(b,e,r,a,t[3],3250441966,22),a=d(a,b,e,r,t[4],4118548399,7),r=d(r,a,b,e,t[5],1200080426,12),e=d(e,r,a,b,t[6],2821735955,17),b=d(b,e,r,a,t[7],4249261313,22),a=d(a,b,e,r,t[8],1770035416,7),r=d(r,a,b,e,t[9],2336552879,12),e=d(e,r,a,b,t[10],4294925233,17),b=d(b,e,r,a,t[11],2304563134,22),a=d(a,b,e,r,t[12],1804603682,7),r=d(r,a,b,e,t[13],4254626195,12),e=d(e,r,a,b,t[14],2792965006,17),a=m(a,b=d(b,e,r,a,t[15],1236535329,22),e,r,t[1],4129170786,5),r=m(r,a,b,e,t[6],3225465664,9),e=m(e,r,a,b,t[11],643717713,14),b=m(b,e,r,a,t[0],3921069994,20),a=m(a,b,e,r,t[5],3593408605,5),r=m(r,a,b,e,t[10],38016083,9),e=m(e,r,a,b,t[15],3634488961,14),b=m(b,e,r,a,t[4],3889429448,20),a=m(a,b,e,r,t[9],568446438,5),r=m(r,a,b,e,t[14],3275163606,9),e=m(e,r,a,b,t[3],4107603335,14),b=m(b,e,r,a,t[8],1163531501,20),a=m(a,b,e,r,t[13],2850285829,5),r=m(r,a,b,e,t[2],4243563512,9),e=m(e,r,a,b,t[7],1735328473,14),a=v(a,b=m(b,e,r,a,t[12],2368359562,20),e,r,t[5],4294588738,4),r=v(r,a,b,e,t[8],2272392833,11),e=v(e,r,a,b,t[11],1839030562,16),b=v(b,e,r,a,t[14],4259657740,23),a=v(a,b,e,r,t[1],2763975236,4),r=v(r,a,b,e,t[4],1272893353,11),e=v(e,r,a,b,t[7],4139469664,16),b=v(b,e,r,a,t[10],3200236656,23),a=v(a,b,e,r,t[13],681279174,4),r=v(r,a,b,e,t[0],3936430074,11),e=v(e,r,a,b,t[3],3572445317,16),b=v(b,e,r,a,t[6],76029189,23),a=v(a,b,e,r,t[9],3654602809,4),r=v(r,a,b,e,t[12],3873151461,11),e=v(e,r,a,b,t[15],530742520,16),a=y(a,b=v(b,e,r,a,t[2],3299628645,23),e,r,t[0],4096336452,6),r=y(r,a,b,e,t[7],1126891415,10),e=y(e,r,a,b,t[14],2878612391,15),b=y(b,e,r,a,t[5],4237533241,21),a=y(a,b,e,r,t[12],1700485571,6),r=y(r,a,b,e,t[3],2399980690,10),e=y(e,r,a,b,t[10],4293915773,15),b=y(b,e,r,a,t[1],2240044497,21),a=y(a,b,e,r,t[8],1873313359,6),r=y(r,a,b,e,t[15],4264355552,10),e=y(e,r,a,b,t[6],2734768916,15),b=y(b,e,r,a,t[13],1309151649,21),a=y(a,b,e,r,t[4],4149444226,6),r=y(r,a,b,e,t[11],3174756917,10),e=y(e,r,a,b,t[2],718787259,15),b=y(b,e,r,a,t[9],3951481745,21),this._a=this._a+a|0,this._b=this._b+b|0,this._c=this._c+e|0,this._d=this._d+r|0},c.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 t=h.allocUnsafe(16);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t},t.exports=c},function(t,e,r){"use strict";var n=r(189).codes.ERR_STREAM_PREMATURE_CLOSE;function o(){}t.exports=function t(e,r,h){if("function"==typeof r)return t(e,null,r);r||(r={}),h=function(t){var e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];t.apply(this,n)}}}(h||o);var l=r.readable||!1!==r.readable&&e.readable,c=r.writable||!1!==r.writable&&e.writable,f=function(){e.writable||m()},d=e._writableState&&e._writableState.finished,m=function(){c=!1,d=!0,l||h.call(e)},v=e._readableState&&e._readableState.endEmitted,y=function(){l=!1,v=!0,c||h.call(e)},w=function(t){h.call(e,t)},_=function(){var t;return l&&!v?(e._readableState&&e._readableState.ended||(t=new n),h.call(e,t)):c&&!d?(e._writableState&&e._writableState.ended||(t=new n),h.call(e,t)):void 0},M=function(){e.req.on("finish",m)};return!function(t){return t.setHeader&&"function"==typeof t.abort}(e)?c&&!e._writableState&&(e.on("end",f),e.on("close",f)):(e.on("complete",m),e.on("abort",_),e.req?M():e.on("request",M)),e.on("end",y),e.on("finish",m),!1!==r.error&&e.on("error",w),e.on("close",_),function(){e.removeListener("complete",m),e.removeListener("abort",_),e.removeListener("request",M),e.req&&e.req.removeListener("finish",m),e.removeListener("end",f),e.removeListener("close",f),e.removeListener("finish",m),e.removeListener("end",y),e.removeListener("error",w),e.removeListener("close",_)}}},function(t,e,r){"use strict";var n=r(61).Buffer,o=r(36),h=r(519),l=new Array(16),c=[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],f=[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],m=[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],v=[0,1518500249,1859775393,2400959708,2840853838],hr=[1352829926,1548603684,1836072691,2053994217,0];function y(){h.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function w(t,e){return t<<e|t>>>32-e}function _(a,b,t,e,r,n,o,s){return w(a+(b^t^e)+n+o|0,s)+r|0}function M(a,b,t,e,r,n,o,s){return w(a+(b&t|~b&e)+n+o|0,s)+r|0}function S(a,b,t,e,r,n,o,s){return w(a+((b|~t)^e)+n+o|0,s)+r|0}function x(a,b,t,e,r,n,o,s){return w(a+(b&e|t&~e)+n+o|0,s)+r|0}function E(a,b,t,e,r,n,o,s){return w(a+(b^(t|~e))+n+o|0,s)+r|0}o(y,h),y.prototype._update=function(){for(var t=l,e=0;e<16;++e)t[e]=this._block.readInt32LE(4*e);for(var r=0|this._a,n=0|this._b,o=0|this._c,dl=0|this._d,h=0|this._e,y=0|this._a,br=0|this._b,A=0|this._c,T=0|this._d,k=0|this._e,i=0;i<80;i+=1){var C,tr;i<16?(C=_(r,n,o,dl,h,t[c[i]],v[0],d[i]),tr=E(y,br,A,T,k,t[f[i]],hr[0],m[i])):i<32?(C=M(r,n,o,dl,h,t[c[i]],v[1],d[i]),tr=x(y,br,A,T,k,t[f[i]],hr[1],m[i])):i<48?(C=S(r,n,o,dl,h,t[c[i]],v[2],d[i]),tr=S(y,br,A,T,k,t[f[i]],hr[2],m[i])):i<64?(C=x(r,n,o,dl,h,t[c[i]],v[3],d[i]),tr=M(y,br,A,T,k,t[f[i]],hr[3],m[i])):(C=E(r,n,o,dl,h,t[c[i]],v[4],d[i]),tr=_(y,br,A,T,k,t[f[i]],hr[4],m[i])),r=h,h=dl,dl=w(o,10),o=n,n=C,y=k,k=T,T=w(A,10),A=br,br=tr}var O=this._b+o+T|0;this._b=this._c+dl+k|0,this._c=this._d+h+y|0,this._d=this._e+r+br|0,this._e=this._a+n+A|0,this._a=O},y.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 t=n.alloc?n.alloc(20):new n(20);return t.writeInt32LE(this._a,0),t.writeInt32LE(this._b,4),t.writeInt32LE(this._c,8),t.writeInt32LE(this._d,12),t.writeInt32LE(this._e,16),t},t.exports=y},function(t,e,r){(e=t.exports=function(t){t=t.toLowerCase();var r=e[t];if(!r)throw new Error(t+" is not supported (we accept pull requests)");return new r}).sha=r(726),e.sha1=r(727),e.sha224=r(728),e.sha256=r(526),e.sha384=r(729),e.sha512=r(527)},function(t,e,r){"use strict";var n=r(114);function o(t){this.options=t,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}t.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,t){for(var e=Math.min(this.buffer.length-this.bufferOff,data.length-t),i=0;i<e;i++)this.buffer[this.bufferOff+i]=data[t+i];return this.bufferOff+=e,e},o.prototype._flushBuffer=function(t,e){return this._update(this.buffer,0,t,e),this.bufferOff=0,this.blockSize},o.prototype._updateEncrypt=function(data){var t=0,e=0,r=(this.bufferOff+data.length)/this.blockSize|0,n=new Array(r*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(data,t),this.bufferOff===this.buffer.length&&(e+=this._flushBuffer(n,e)));for(var o=data.length-(data.length-t)%this.blockSize;t<o;t+=this.blockSize)this._update(data,t,n,e),e+=this.blockSize;for(;t<data.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=data[t];return n},o.prototype._updateDecrypt=function(data){for(var t=0,e=0,r=Math.ceil((this.bufferOff+data.length)/this.blockSize)-1,n=new Array(r*this.blockSize);r>0;r--)t+=this._buffer(data,t),e+=this._flushBuffer(n,e);return t+=this._buffer(data,t),n},o.prototype.final=function(t){var e,r;return t&&(e=this.update(t)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),e?e.concat(r):r},o.prototype._pad=function(t,e){if(0===e)return!1;for(;e<t.length;)t[e++]=0;return!0},o.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var t=new Array(this.blockSize);return this._update(this.buffer,0,t,0),t},o.prototype._unpad=function(t){return t},o.prototype._finalDecrypt=function(){n.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var t=new Array(this.blockSize);return this._flushBuffer(t,0),this._unpad(t)}},function(t,e,r){var n=r(743),o=r(751),h=r(540);e.createCipher=e.Cipher=n.createCipher,e.createCipheriv=e.Cipheriv=n.createCipheriv,e.createDecipher=e.Decipher=o.createDecipher,e.createDecipheriv=e.Decipheriv=o.createDecipheriv,e.listCiphers=e.getCiphers=function(){return Object.keys(h)}},function(t,e,r){var n={ECB:r(744),CBC:r(745),CFB:r(746),CFB8:r(747),CFB1:r(748),OFB:r(749),CTR:r(538),GCM:r(538)},o=r(540);for(var h in o)o[h].module=n[o[h].mode];t.exports=o},function(t,e,r){var n;function o(t){this.rand=t}if(t.exports=function(t){return n||(n=new o(null)),n.generate(t)},t.exports.Rand=o,o.prototype.generate=function(t){return this._rand(t)},o.prototype._rand=function(t){if(this.rand.getBytes)return this.rand.getBytes(t);for(var e=new Uint8Array(t),i=0;i<e.length;i++)e[i]=this.rand.getByte();return e},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?o.prototype._rand=function(t){var e=new Uint8Array(t);return self.crypto.getRandomValues(e),e}:self.msCrypto&&self.msCrypto.getRandomValues?o.prototype._rand=function(t){var e=new Uint8Array(t);return self.msCrypto.getRandomValues(e),e}:"object"==typeof window&&(o.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var h=r(757);if("function"!=typeof h.randomBytes)throw new Error("Not supported");o.prototype._rand=function(t){return h.randomBytes(t)}}catch(t){}},function(t,e,r){var n=r(61),o=n.Buffer;function h(t,e){for(var r in t)e[r]=t[r]}function l(t,e,r){return o(t,e,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=n:(h(n,e),e.Buffer=l),l.prototype=Object.create(o.prototype),h(o,l),l.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return o(t,e,r)},l.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var n=o(t);return void 0!==e?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},l.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return o(t)},l.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},function(t,e,r){"use strict";var n=r(192).codes.ERR_STREAM_PREMATURE_CLOSE;function o(){}t.exports=function t(e,r,h){if("function"==typeof r)return t(e,null,r);r||(r={}),h=function(t){var e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];t.apply(this,n)}}}(h||o);var l=r.readable||!1!==r.readable&&e.readable,c=r.writable||!1!==r.writable&&e.writable,f=function(){e.writable||m()},d=e._writableState&&e._writableState.finished,m=function(){c=!1,d=!0,l||h.call(e)},v=e._readableState&&e._readableState.endEmitted,y=function(){l=!1,v=!0,c||h.call(e)},w=function(t){h.call(e,t)},_=function(){var t;return l&&!v?(e._readableState&&e._readableState.ended||(t=new n),h.call(e,t)):c&&!d?(e._writableState&&e._writableState.ended||(t=new n),h.call(e,t)):void 0},M=function(){e.req.on("finish",m)};return!function(t){return t.setHeader&&"function"==typeof t.abort}(e)?c&&!e._writableState&&(e.on("end",f),e.on("close",f)):(e.on("complete",m),e.on("abort",_),e.req?M():e.on("request",M)),e.on("end",y),e.on("finish",m),!1!==r.error&&e.on("error",w),e.on("close",_),function(){e.removeListener("complete",m),e.removeListener("abort",_),e.removeListener("request",M),e.req&&e.req.removeListener("finish",m),e.removeListener("end",f),e.removeListener("close",f),e.removeListener("finish",m),e.removeListener("end",y),e.removeListener("error",w),e.removeListener("close",_)}}},function(t,e,r){(function(e){var n=r(338),o=r(188);function h(t){var e,r=t.modulus.byteLength();do{e=new n(o(r))}while(e.cmp(t.modulus)>=0||!e.umod(t.prime1)||!e.umod(t.prime2));return e}function l(t,r){var o=function(t){var e=h(t);return{blinder:e.toRed(n.mont(t.modulus)).redPow(new n(t.publicExponent)).fromRed(),unblinder:e.invm(t.modulus)}}(r),l=r.modulus.byteLength(),c=new n(t).mul(o.blinder).umod(r.modulus),f=c.toRed(n.mont(r.prime1)),d=c.toRed(n.mont(r.prime2)),m=r.coefficient,p=r.prime1,q=r.prime2,v=f.redPow(r.exponent1).fromRed(),y=d.redPow(r.exponent2).fromRed(),w=v.isub(y).imul(m).umod(p).imul(q);return y.iadd(w).imul(o.unblinder).umod(r.modulus).toArrayLike(e,"be",l)}l.getr=h,t.exports=l}).call(this,r(61).Buffer)},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function o(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function h(t,base,e){if(h.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==base&&"be"!==base||(e=base,base=10),this._init(t||0,base||10,e||"be"))}var l;"object"==typeof t?t.exports=h:e.BN=h,h.BN=h,h.wordSize=26;try{l=r(770).Buffer}catch(t){}function c(t,e,r){for(var o=0,h=Math.min(t.length,r),l=0,i=e;i<h;i++){var b,c=t.charCodeAt(i)-48;o<<=4,o|=b=c>=49&&c<=54?c-49+10:c>=17&&c<=22?c-17+10:c,l|=b}return n(!(240&l),"Invalid character in "+t),o}function f(t,e,r,o){for(var h=0,b=0,l=Math.min(t.length,r),i=e;i<l;i++){var c=t.charCodeAt(i)-48;h*=o,b=c>=49?c-49+10:c>=17?c-17+10:c,n(c>=0&&b<o,"Invalid character"),h+=b}return h}function d(t,e){t.words=e.words,t.length=e.length,t.negative=e.negative,t.red=e.red}if(h.isBN=function(t){return t instanceof h||null!==t&&"object"==typeof t&&t.constructor.wordSize===h.wordSize&&Array.isArray(t.words)},h.max=function(t,e){return t.cmp(e)>0?t:e},h.min=function(t,e){return t.cmp(e)<0?t:e},h.prototype._init=function(t,base,e){if("number"==typeof t)return this._initNumber(t,base,e);if("object"==typeof t)return this._initArray(t,base,e);"hex"===base&&(base=16),n(base===(0|base)&&base>=2&&base<=36);var r=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&r++,16===base?this._parseHex(t,r):this._parseBase(t,base,r),"-"===t[0]&&(this.negative=1),this._strip(),"le"===e&&this._initArray(this.toArray(),base,e)},h.prototype._initNumber=function(t,base,e){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===e&&this._initArray(this.toArray(),base,e)},h.prototype._initArray=function(t,base,e){if(n("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var r,o,h=0;if("be"===e)for(i=t.length-1,r=0;i>=0;i-=3)o=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[r]|=o<<h&67108863,this.words[r+1]=o>>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);else if("le"===e)for(i=0,r=0;i<t.length;i+=3)o=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[r]|=o<<h&67108863,this.words[r+1]=o>>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);return this._strip()},h.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var r,n,o=0;for(i=t.length-6,r=0;i>=e;i-=6)n=c(t,i,i+6),this.words[r]|=n<<o&67108863,this.words[r+1]|=n>>>26-o&4194303,(o+=24)>=26&&(o-=26,r++);i+6!==e&&(n=c(t,e,i+6),this.words[r]|=n<<o&67108863,this.words[r+1]|=n>>>26-o&4194303),this._strip()},h.prototype._parseBase=function(t,base,e){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=t.length-e,h=o%r,l=Math.min(o,o-h)+e,c=0,i=e;i<l;i+=r)c=f(t,i,i+r,base),this.imuln(n),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==h){var d=1;for(c=f(t,i,t.length,base),i=0;i<h;i++)d*=base;this.imuln(d),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},h.prototype.copy=function(t){t.words=new Array(this.length);for(var i=0;i<this.length;i++)t.words[i]=this.words[i];t.length=this.length,t.negative=this.negative,t.red=this.red},h.prototype._move=function(t){d(t,this)},h.prototype.clone=function(){var t=new h(null);return this.copy(t),t},h.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},h.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},h.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{h.prototype[Symbol.for("nodejs.util.inspect.custom")]=m}catch(t){h.prototype.inspect=m}else h.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"],y=[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],w=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];h.prototype.toString=function(base,t){var e;if(t=0|t||1,16===(base=base||10)||"hex"===base){e="";for(var r=0,o=0,i=0;i<this.length;i++){var h=this.words[i],l=(16777215&(h<<r|o)).toString(16);e=0!==(o=h>>>24-r&16777215)||i!==this.length-1?v[6-l.length]+l+e:l+e,(r+=2)>=26&&(r-=26,i--)}for(0!==o&&(e=o.toString(16)+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}if(base===(0|base)&&base>=2&&base<=36){var c=y[base],f=w[base];e="";var d=this.clone();for(d.negative=0;!d.isZero();){var m=d.modrn(f).toString(base);e=(d=d.idivn(f)).isZero()?m+e:v[c-m.length]+m+e}for(this.isZero()&&(e="0"+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}n(!1,"Base should be between 2 and 36")},h.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},h.prototype.toJSON=function(){return this.toString(16,2)},l&&(h.prototype.toBuffer=function(t,e){return this.toArrayLike(l,t,e)}),h.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)};function _(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var a=0|t.words[0],b=0|e.words[0],o=a*b,h=67108863&o,l=o/67108864|0;r.words[0]=h;for(var c=1;c<n;c++){for(var f=l>>>26,d=67108863&l,m=Math.min(c,e.length-1),v=Math.max(0,c-t.length+1);v<=m;v++){var i=c-v|0;f+=(o=(a=0|t.words[i])*(b=0|e.words[v])+d)/67108864|0,d=67108863&o}r.words[c]=0|d,l=0|f}return 0!==l?r.words[c]=0|l:r.length--,r._strip()}h.prototype.toArrayLike=function(t,e,r){this._strip();var o=this.byteLength(),h=r||Math.max(1,o);n(o<=h,"byte array longer than desired length"),n(h>0,"Requested array length <= 0");var l=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,h);return this["_toArrayLike"+("le"===e?"LE":"BE")](l,o),l},h.prototype._toArrayLikeLE=function(t,e){for(var r=0,n=0,i=0,o=0;i<this.length;i++){var h=this.words[i]<<o|n;t[r++]=255&h,r<t.length&&(t[r++]=h>>8&255),r<t.length&&(t[r++]=h>>16&255),6===o?(r<t.length&&(t[r++]=h>>24&255),n=0,o=0):(n=h>>>24,o+=2)}if(r<t.length)for(t[r++]=n;r<t.length;)t[r++]=0},h.prototype._toArrayLikeBE=function(t,e){for(var r=t.length-1,n=0,i=0,o=0;i<this.length;i++){var h=this.words[i]<<o|n;t[r--]=255&h,r>=0&&(t[r--]=h>>8&255),r>=0&&(t[r--]=h>>16&255),6===o?(r>=0&&(t[r--]=h>>24&255),n=0,o=0):(n=h>>>24,o+=2)}if(r>=0)for(t[r--]=n;r>=0;)t[r--]=0},Math.clz32?h.prototype._countBits=function(t){return 32-Math.clz32(t)}:h.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},h.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0==(8191&e)&&(r+=13,e>>>=13),0==(127&e)&&(r+=7,e>>>=7),0==(15&e)&&(r+=4,e>>>=4),0==(3&e)&&(r+=2,e>>>=2),0==(1&e)&&r++,r},h.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},h.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,i=0;i<this.length;i++){var b=this._zeroBits(this.words[i]);if(t+=b,26!==b)break}return t},h.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},h.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},h.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},h.prototype.isNeg=function(){return 0!==this.negative},h.prototype.neg=function(){return this.clone().ineg()},h.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},h.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var i=0;i<t.length;i++)this.words[i]=this.words[i]|t.words[i];return this._strip()},h.prototype.ior=function(t){return n(0==(this.negative|t.negative)),this.iuor(t)},h.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},h.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},h.prototype.iuand=function(t){var b;b=this.length>t.length?t:this;for(var i=0;i<b.length;i++)this.words[i]=this.words[i]&t.words[i];return this.length=b.length,this._strip()},h.prototype.iand=function(t){return n(0==(this.negative|t.negative)),this.iuand(t)},h.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},h.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},h.prototype.iuxor=function(t){var a,b;this.length>t.length?(a=this,b=t):(a=t,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()},h.prototype.ixor=function(t){return n(0==(this.negative|t.negative)),this.iuxor(t)},h.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},h.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},h.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this._strip()},h.prototype.notn=function(t){return this.clone().inotn(t)},h.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var r=t/26|0,o=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<o:this.words[r]&~(1<<o),this._strip()},h.prototype.iadd=function(t){var e,a,b;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(a=this,b=t):(a=t,b=this);for(var r=0,i=0;i<b.length;i++)e=(0|a.words[i])+(0|b.words[i])+r,this.words[i]=67108863&e,r=e>>>26;for(;0!==r&&i<a.length;i++)e=(0|a.words[i])+r,this.words[i]=67108863&e,r=e>>>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},h.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},h.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var a,b,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(a=this,b=t):(a=t,b=this);for(var n=0,i=0;i<b.length;i++)n=(e=(0|a.words[i])-(0|b.words[i])+n)>>26,this.words[i]=67108863&e;for(;0!==n&&i<a.length;i++)n=(e=(0|a.words[i])+n)>>26,this.words[i]=67108863&e;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()},h.prototype.sub=function(t){return this.clone().isub(t)};var M=function(t,e,r){var n,o,h,a=t.words,b=e.words,l=r.words,c=0,f=0|a[0],d=8191&f,m=f>>>13,v=0|a[1],y=8191&v,w=v>>>13,_=0|a[2],M=8191&_,S=_>>>13,x=0|a[3],E=8191&x,A=x>>>13,T=0|a[4],k=8191&T,C=T>>>13,O=0|a[5],I=8191&O,P=O>>>13,R=0|a[6],j=8191&R,N=R>>>13,L=0|a[7],D=8191&L,B=L>>>13,F=0|a[8],U=8191&F,z=F>>>13,H=0|a[9],G=8191&H,V=H>>>13,$=0|b[0],W=8191&$,Y=$>>>13,K=0|b[1],X=8191&K,Z=K>>>13,J=0|b[2],Q=8191&J,tt=J>>>13,et=0|b[3],it=8191&et,nt=et>>>13,ot=0|b[4],at=8191&ot,st=ot>>>13,ht=0|b[5],ut=8191&ht,lt=ht>>>13,ct=0|b[6],ft=8191&ct,pt=ct>>>13,mt=0|b[7],gt=8191&mt,vt=mt>>>13,bt=0|b[8],yt=8191&bt,wt=bt>>>13,_t=0|b[9],Mt=8191&_t,St=_t>>>13;r.negative=t.negative^e.negative,r.length=19;var xt=(c+(n=Math.imul(d,W))|0)+((8191&(o=(o=Math.imul(d,Y))+Math.imul(m,W)|0))<<13)|0;c=((h=Math.imul(m,Y))+(o>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(y,W),o=(o=Math.imul(y,Y))+Math.imul(w,W)|0,h=Math.imul(w,Y);var Et=(c+(n=n+Math.imul(d,X)|0)|0)+((8191&(o=(o=o+Math.imul(d,Z)|0)+Math.imul(m,X)|0))<<13)|0;c=((h=h+Math.imul(m,Z)|0)+(o>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(M,W),o=(o=Math.imul(M,Y))+Math.imul(S,W)|0,h=Math.imul(S,Y),n=n+Math.imul(y,X)|0,o=(o=o+Math.imul(y,Z)|0)+Math.imul(w,X)|0,h=h+Math.imul(w,Z)|0;var At=(c+(n=n+Math.imul(d,Q)|0)|0)+((8191&(o=(o=o+Math.imul(d,tt)|0)+Math.imul(m,Q)|0))<<13)|0;c=((h=h+Math.imul(m,tt)|0)+(o>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(E,W),o=(o=Math.imul(E,Y))+Math.imul(A,W)|0,h=Math.imul(A,Y),n=n+Math.imul(M,X)|0,o=(o=o+Math.imul(M,Z)|0)+Math.imul(S,X)|0,h=h+Math.imul(S,Z)|0,n=n+Math.imul(y,Q)|0,o=(o=o+Math.imul(y,tt)|0)+Math.imul(w,Q)|0,h=h+Math.imul(w,tt)|0;var Tt=(c+(n=n+Math.imul(d,it)|0)|0)+((8191&(o=(o=o+Math.imul(d,nt)|0)+Math.imul(m,it)|0))<<13)|0;c=((h=h+Math.imul(m,nt)|0)+(o>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(k,W),o=(o=Math.imul(k,Y))+Math.imul(C,W)|0,h=Math.imul(C,Y),n=n+Math.imul(E,X)|0,o=(o=o+Math.imul(E,Z)|0)+Math.imul(A,X)|0,h=h+Math.imul(A,Z)|0,n=n+Math.imul(M,Q)|0,o=(o=o+Math.imul(M,tt)|0)+Math.imul(S,Q)|0,h=h+Math.imul(S,tt)|0,n=n+Math.imul(y,it)|0,o=(o=o+Math.imul(y,nt)|0)+Math.imul(w,it)|0,h=h+Math.imul(w,nt)|0;var kt=(c+(n=n+Math.imul(d,at)|0)|0)+((8191&(o=(o=o+Math.imul(d,st)|0)+Math.imul(m,at)|0))<<13)|0;c=((h=h+Math.imul(m,st)|0)+(o>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(I,W),o=(o=Math.imul(I,Y))+Math.imul(P,W)|0,h=Math.imul(P,Y),n=n+Math.imul(k,X)|0,o=(o=o+Math.imul(k,Z)|0)+Math.imul(C,X)|0,h=h+Math.imul(C,Z)|0,n=n+Math.imul(E,Q)|0,o=(o=o+Math.imul(E,tt)|0)+Math.imul(A,Q)|0,h=h+Math.imul(A,tt)|0,n=n+Math.imul(M,it)|0,o=(o=o+Math.imul(M,nt)|0)+Math.imul(S,it)|0,h=h+Math.imul(S,nt)|0,n=n+Math.imul(y,at)|0,o=(o=o+Math.imul(y,st)|0)+Math.imul(w,at)|0,h=h+Math.imul(w,st)|0;var Ct=(c+(n=n+Math.imul(d,ut)|0)|0)+((8191&(o=(o=o+Math.imul(d,lt)|0)+Math.imul(m,ut)|0))<<13)|0;c=((h=h+Math.imul(m,lt)|0)+(o>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(j,W),o=(o=Math.imul(j,Y))+Math.imul(N,W)|0,h=Math.imul(N,Y),n=n+Math.imul(I,X)|0,o=(o=o+Math.imul(I,Z)|0)+Math.imul(P,X)|0,h=h+Math.imul(P,Z)|0,n=n+Math.imul(k,Q)|0,o=(o=o+Math.imul(k,tt)|0)+Math.imul(C,Q)|0,h=h+Math.imul(C,tt)|0,n=n+Math.imul(E,it)|0,o=(o=o+Math.imul(E,nt)|0)+Math.imul(A,it)|0,h=h+Math.imul(A,nt)|0,n=n+Math.imul(M,at)|0,o=(o=o+Math.imul(M,st)|0)+Math.imul(S,at)|0,h=h+Math.imul(S,st)|0,n=n+Math.imul(y,ut)|0,o=(o=o+Math.imul(y,lt)|0)+Math.imul(w,ut)|0,h=h+Math.imul(w,lt)|0;var Ot=(c+(n=n+Math.imul(d,ft)|0)|0)+((8191&(o=(o=o+Math.imul(d,pt)|0)+Math.imul(m,ft)|0))<<13)|0;c=((h=h+Math.imul(m,pt)|0)+(o>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(D,W),o=(o=Math.imul(D,Y))+Math.imul(B,W)|0,h=Math.imul(B,Y),n=n+Math.imul(j,X)|0,o=(o=o+Math.imul(j,Z)|0)+Math.imul(N,X)|0,h=h+Math.imul(N,Z)|0,n=n+Math.imul(I,Q)|0,o=(o=o+Math.imul(I,tt)|0)+Math.imul(P,Q)|0,h=h+Math.imul(P,tt)|0,n=n+Math.imul(k,it)|0,o=(o=o+Math.imul(k,nt)|0)+Math.imul(C,it)|0,h=h+Math.imul(C,nt)|0,n=n+Math.imul(E,at)|0,o=(o=o+Math.imul(E,st)|0)+Math.imul(A,at)|0,h=h+Math.imul(A,st)|0,n=n+Math.imul(M,ut)|0,o=(o=o+Math.imul(M,lt)|0)+Math.imul(S,ut)|0,h=h+Math.imul(S,lt)|0,n=n+Math.imul(y,ft)|0,o=(o=o+Math.imul(y,pt)|0)+Math.imul(w,ft)|0,h=h+Math.imul(w,pt)|0;var It=(c+(n=n+Math.imul(d,gt)|0)|0)+((8191&(o=(o=o+Math.imul(d,vt)|0)+Math.imul(m,gt)|0))<<13)|0;c=((h=h+Math.imul(m,vt)|0)+(o>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(U,W),o=(o=Math.imul(U,Y))+Math.imul(z,W)|0,h=Math.imul(z,Y),n=n+Math.imul(D,X)|0,o=(o=o+Math.imul(D,Z)|0)+Math.imul(B,X)|0,h=h+Math.imul(B,Z)|0,n=n+Math.imul(j,Q)|0,o=(o=o+Math.imul(j,tt)|0)+Math.imul(N,Q)|0,h=h+Math.imul(N,tt)|0,n=n+Math.imul(I,it)|0,o=(o=o+Math.imul(I,nt)|0)+Math.imul(P,it)|0,h=h+Math.imul(P,nt)|0,n=n+Math.imul(k,at)|0,o=(o=o+Math.imul(k,st)|0)+Math.imul(C,at)|0,h=h+Math.imul(C,st)|0,n=n+Math.imul(E,ut)|0,o=(o=o+Math.imul(E,lt)|0)+Math.imul(A,ut)|0,h=h+Math.imul(A,lt)|0,n=n+Math.imul(M,ft)|0,o=(o=o+Math.imul(M,pt)|0)+Math.imul(S,ft)|0,h=h+Math.imul(S,pt)|0,n=n+Math.imul(y,gt)|0,o=(o=o+Math.imul(y,vt)|0)+Math.imul(w,gt)|0,h=h+Math.imul(w,vt)|0;var Pt=(c+(n=n+Math.imul(d,yt)|0)|0)+((8191&(o=(o=o+Math.imul(d,wt)|0)+Math.imul(m,yt)|0))<<13)|0;c=((h=h+Math.imul(m,wt)|0)+(o>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(G,W),o=(o=Math.imul(G,Y))+Math.imul(V,W)|0,h=Math.imul(V,Y),n=n+Math.imul(U,X)|0,o=(o=o+Math.imul(U,Z)|0)+Math.imul(z,X)|0,h=h+Math.imul(z,Z)|0,n=n+Math.imul(D,Q)|0,o=(o=o+Math.imul(D,tt)|0)+Math.imul(B,Q)|0,h=h+Math.imul(B,tt)|0,n=n+Math.imul(j,it)|0,o=(o=o+Math.imul(j,nt)|0)+Math.imul(N,it)|0,h=h+Math.imul(N,nt)|0,n=n+Math.imul(I,at)|0,o=(o=o+Math.imul(I,st)|0)+Math.imul(P,at)|0,h=h+Math.imul(P,st)|0,n=n+Math.imul(k,ut)|0,o=(o=o+Math.imul(k,lt)|0)+Math.imul(C,ut)|0,h=h+Math.imul(C,lt)|0,n=n+Math.imul(E,ft)|0,o=(o=o+Math.imul(E,pt)|0)+Math.imul(A,ft)|0,h=h+Math.imul(A,pt)|0,n=n+Math.imul(M,gt)|0,o=(o=o+Math.imul(M,vt)|0)+Math.imul(S,gt)|0,h=h+Math.imul(S,vt)|0,n=n+Math.imul(y,yt)|0,o=(o=o+Math.imul(y,wt)|0)+Math.imul(w,yt)|0,h=h+Math.imul(w,wt)|0;var Rt=(c+(n=n+Math.imul(d,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(d,St)|0)+Math.imul(m,Mt)|0))<<13)|0;c=((h=h+Math.imul(m,St)|0)+(o>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(G,X),o=(o=Math.imul(G,Z))+Math.imul(V,X)|0,h=Math.imul(V,Z),n=n+Math.imul(U,Q)|0,o=(o=o+Math.imul(U,tt)|0)+Math.imul(z,Q)|0,h=h+Math.imul(z,tt)|0,n=n+Math.imul(D,it)|0,o=(o=o+Math.imul(D,nt)|0)+Math.imul(B,it)|0,h=h+Math.imul(B,nt)|0,n=n+Math.imul(j,at)|0,o=(o=o+Math.imul(j,st)|0)+Math.imul(N,at)|0,h=h+Math.imul(N,st)|0,n=n+Math.imul(I,ut)|0,o=(o=o+Math.imul(I,lt)|0)+Math.imul(P,ut)|0,h=h+Math.imul(P,lt)|0,n=n+Math.imul(k,ft)|0,o=(o=o+Math.imul(k,pt)|0)+Math.imul(C,ft)|0,h=h+Math.imul(C,pt)|0,n=n+Math.imul(E,gt)|0,o=(o=o+Math.imul(E,vt)|0)+Math.imul(A,gt)|0,h=h+Math.imul(A,vt)|0,n=n+Math.imul(M,yt)|0,o=(o=o+Math.imul(M,wt)|0)+Math.imul(S,yt)|0,h=h+Math.imul(S,wt)|0;var jt=(c+(n=n+Math.imul(y,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(y,St)|0)+Math.imul(w,Mt)|0))<<13)|0;c=((h=h+Math.imul(w,St)|0)+(o>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(G,Q),o=(o=Math.imul(G,tt))+Math.imul(V,Q)|0,h=Math.imul(V,tt),n=n+Math.imul(U,it)|0,o=(o=o+Math.imul(U,nt)|0)+Math.imul(z,it)|0,h=h+Math.imul(z,nt)|0,n=n+Math.imul(D,at)|0,o=(o=o+Math.imul(D,st)|0)+Math.imul(B,at)|0,h=h+Math.imul(B,st)|0,n=n+Math.imul(j,ut)|0,o=(o=o+Math.imul(j,lt)|0)+Math.imul(N,ut)|0,h=h+Math.imul(N,lt)|0,n=n+Math.imul(I,ft)|0,o=(o=o+Math.imul(I,pt)|0)+Math.imul(P,ft)|0,h=h+Math.imul(P,pt)|0,n=n+Math.imul(k,gt)|0,o=(o=o+Math.imul(k,vt)|0)+Math.imul(C,gt)|0,h=h+Math.imul(C,vt)|0,n=n+Math.imul(E,yt)|0,o=(o=o+Math.imul(E,wt)|0)+Math.imul(A,yt)|0,h=h+Math.imul(A,wt)|0;var Nt=(c+(n=n+Math.imul(M,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(M,St)|0)+Math.imul(S,Mt)|0))<<13)|0;c=((h=h+Math.imul(S,St)|0)+(o>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul(G,it),o=(o=Math.imul(G,nt))+Math.imul(V,it)|0,h=Math.imul(V,nt),n=n+Math.imul(U,at)|0,o=(o=o+Math.imul(U,st)|0)+Math.imul(z,at)|0,h=h+Math.imul(z,st)|0,n=n+Math.imul(D,ut)|0,o=(o=o+Math.imul(D,lt)|0)+Math.imul(B,ut)|0,h=h+Math.imul(B,lt)|0,n=n+Math.imul(j,ft)|0,o=(o=o+Math.imul(j,pt)|0)+Math.imul(N,ft)|0,h=h+Math.imul(N,pt)|0,n=n+Math.imul(I,gt)|0,o=(o=o+Math.imul(I,vt)|0)+Math.imul(P,gt)|0,h=h+Math.imul(P,vt)|0,n=n+Math.imul(k,yt)|0,o=(o=o+Math.imul(k,wt)|0)+Math.imul(C,yt)|0,h=h+Math.imul(C,wt)|0;var Lt=(c+(n=n+Math.imul(E,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(E,St)|0)+Math.imul(A,Mt)|0))<<13)|0;c=((h=h+Math.imul(A,St)|0)+(o>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul(G,at),o=(o=Math.imul(G,st))+Math.imul(V,at)|0,h=Math.imul(V,st),n=n+Math.imul(U,ut)|0,o=(o=o+Math.imul(U,lt)|0)+Math.imul(z,ut)|0,h=h+Math.imul(z,lt)|0,n=n+Math.imul(D,ft)|0,o=(o=o+Math.imul(D,pt)|0)+Math.imul(B,ft)|0,h=h+Math.imul(B,pt)|0,n=n+Math.imul(j,gt)|0,o=(o=o+Math.imul(j,vt)|0)+Math.imul(N,gt)|0,h=h+Math.imul(N,vt)|0,n=n+Math.imul(I,yt)|0,o=(o=o+Math.imul(I,wt)|0)+Math.imul(P,yt)|0,h=h+Math.imul(P,wt)|0;var Dt=(c+(n=n+Math.imul(k,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(k,St)|0)+Math.imul(C,Mt)|0))<<13)|0;c=((h=h+Math.imul(C,St)|0)+(o>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(G,ut),o=(o=Math.imul(G,lt))+Math.imul(V,ut)|0,h=Math.imul(V,lt),n=n+Math.imul(U,ft)|0,o=(o=o+Math.imul(U,pt)|0)+Math.imul(z,ft)|0,h=h+Math.imul(z,pt)|0,n=n+Math.imul(D,gt)|0,o=(o=o+Math.imul(D,vt)|0)+Math.imul(B,gt)|0,h=h+Math.imul(B,vt)|0,n=n+Math.imul(j,yt)|0,o=(o=o+Math.imul(j,wt)|0)+Math.imul(N,yt)|0,h=h+Math.imul(N,wt)|0;var Bt=(c+(n=n+Math.imul(I,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(I,St)|0)+Math.imul(P,Mt)|0))<<13)|0;c=((h=h+Math.imul(P,St)|0)+(o>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul(G,ft),o=(o=Math.imul(G,pt))+Math.imul(V,ft)|0,h=Math.imul(V,pt),n=n+Math.imul(U,gt)|0,o=(o=o+Math.imul(U,vt)|0)+Math.imul(z,gt)|0,h=h+Math.imul(z,vt)|0,n=n+Math.imul(D,yt)|0,o=(o=o+Math.imul(D,wt)|0)+Math.imul(B,yt)|0,h=h+Math.imul(B,wt)|0;var Ft=(c+(n=n+Math.imul(j,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(j,St)|0)+Math.imul(N,Mt)|0))<<13)|0;c=((h=h+Math.imul(N,St)|0)+(o>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,n=Math.imul(G,gt),o=(o=Math.imul(G,vt))+Math.imul(V,gt)|0,h=Math.imul(V,vt),n=n+Math.imul(U,yt)|0,o=(o=o+Math.imul(U,wt)|0)+Math.imul(z,yt)|0,h=h+Math.imul(z,wt)|0;var Ut=(c+(n=n+Math.imul(D,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(D,St)|0)+Math.imul(B,Mt)|0))<<13)|0;c=((h=h+Math.imul(B,St)|0)+(o>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,n=Math.imul(G,yt),o=(o=Math.imul(G,wt))+Math.imul(V,yt)|0,h=Math.imul(V,wt);var qt=(c+(n=n+Math.imul(U,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(U,St)|0)+Math.imul(z,Mt)|0))<<13)|0;c=((h=h+Math.imul(z,St)|0)+(o>>>13)|0)+(qt>>>26)|0,qt&=67108863;var zt=(c+(n=Math.imul(G,Mt))|0)+((8191&(o=(o=Math.imul(G,St))+Math.imul(V,Mt)|0))<<13)|0;return c=((h=Math.imul(V,St))+(o>>>13)|0)+(zt>>>26)|0,zt&=67108863,l[0]=xt,l[1]=Et,l[2]=At,l[3]=Tt,l[4]=kt,l[5]=Ct,l[6]=Ot,l[7]=It,l[8]=Pt,l[9]=Rt,l[10]=jt,l[11]=Nt,l[12]=Lt,l[13]=Dt,l[14]=Bt,l[15]=Ft,l[16]=Ut,l[17]=qt,l[18]=zt,0!==c&&(l[19]=c,r.length++),r};function S(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,o=0,h=0;h<r.length-1;h++){var l=o;o=0;for(var c=67108863&n,f=Math.min(h,e.length-1),d=Math.max(0,h-t.length+1);d<=f;d++){var i=h-d,m=(0|t.words[i])*(0|e.words[d]),v=67108863&m;c=67108863&(v=v+c|0),o+=(l=(l=l+(m/67108864|0)|0)+(v>>>26)|0)>>>26,l&=67108863}r.words[h]=c,n=l,l=o}return 0!==n?r.words[h]=n:r.length--,r._strip()}function x(t,e,r){return S(t,e,r)}function E(t,e){this.x=t,this.y=e}Math.imul||(M=_),h.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?M(this,t,e):r<63?_(this,t,e):r<1024?S(this,t,e):x(this,t,e)},E.prototype.makeRBT=function(t){for(var e=new Array(t),r=h.prototype._countBits(t)-1,i=0;i<t;i++)e[i]=this.revBin(i,r,t);return e},E.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},E.prototype.permute=function(t,e,r,n,o,h){for(var i=0;i<h;i++)n[i]=e[t[i]],o[i]=r[t[i]]},E.prototype.transform=function(t,e,r,n,o,h){this.permute(h,t,e,r,n,o);for(var s=1;s<o;s<<=1)for(var l=s<<1,c=Math.cos(2*Math.PI/l),f=Math.sin(2*Math.PI/l),p=0;p<o;p+=l)for(var d=c,m=f,v=0;v<s;v++){var y=r[p+v],w=n[p+v],_=r[p+v+s],M=n[p+v+s],S=d*_-m*M;M=d*M+m*_,_=S,r[p+v]=y+_,n[p+v]=w+M,r[p+v+s]=y-_,n[p+v+s]=w-M,v!==l&&(S=c*d-f*m,m=c*m+f*d,d=S)}},E.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},E.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var i=0;i<r/2;i++){var n=t[i];t[i]=t[r-i-1],t[r-i-1]=n,n=e[i],e[i]=-e[r-i-1],e[r-i-1]=-n}},E.prototype.normalize13b=function(t,e){for(var r=0,i=0;i<e/2;i++){var n=8192*Math.round(t[2*i+1]/e)+Math.round(t[2*i]/e)+r;t[i]=67108863&n,r=n<67108864?0:n/67108864|0}return t},E.prototype.convert13b=function(t,e,r,o){for(var h=0,i=0;i<e;i++)h+=0|t[i],r[2*i]=8191&h,h>>>=13,r[2*i+1]=8191&h,h>>>=13;for(i=2*e;i<o;++i)r[i]=0;n(0===h),n(0==(-8192&h))},E.prototype.stub=function(t){for(var e=new Array(t),i=0;i<t;i++)e[i]=0;return e},E.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),o=this.makeRBT(n),h=this.stub(n),l=new Array(n),c=new Array(n),f=new Array(n),d=new Array(n),m=new Array(n),v=new Array(n),y=r.words;y.length=n,this.convert13b(t.words,t.length,l,n),this.convert13b(e.words,e.length,d,n),this.transform(l,h,c,f,n,o),this.transform(d,h,m,v,n,o);for(var i=0;i<n;i++){var w=c[i]*m[i]-f[i]*v[i];f[i]=c[i]*v[i]+f[i]*m[i],c[i]=w}return this.conjugate(c,f,n),this.transform(c,f,y,h,n,o),this.conjugate(y,h,n),this.normalize13b(y,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r._strip()},h.prototype.mul=function(t){var e=new h(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},h.prototype.mulf=function(t){var e=new h(null);return e.words=new Array(this.length+t.length),x(this,t,e)},h.prototype.imul=function(t){return this.clone().mulTo(t,this)},h.prototype.imuln=function(t){var e=t<0;e&&(t=-t),n("number"==typeof t),n(t<67108864);for(var r=0,i=0;i<this.length;i++){var o=(0|this.words[i])*t,h=(67108863&o)+(67108863&r);r>>=26,r+=o/67108864|0,r+=h>>>26,this.words[i]=67108863&h}return 0!==r&&(this.words[i]=r,this.length++),e?this.ineg():this},h.prototype.muln=function(t){return this.clone().imuln(t)},h.prototype.sqr=function(){return this.mul(this)},h.prototype.isqr=function(){return this.imul(this.clone())},h.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,o=r%26;e[r]=t.words[n]>>>o&1}return e}(t);if(0===e.length)return new h(1);for(var r=this,i=0;i<e.length&&0===e[i];i++,r=r.sqr());if(++i<e.length)for(var q=r.sqr();i<e.length;i++,q=q.sqr())0!==e[i]&&(r=r.mul(q));return r},h.prototype.iushln=function(t){n("number"==typeof t&&t>=0);var i,e=t%26,s=(t-e)/26,r=67108863>>>26-e<<26-e;if(0!==e){var o=0;for(i=0;i<this.length;i++){var h=this.words[i]&r,l=(0|this.words[i])-h<<e;this.words[i]=l|o,o=h>>>26-e}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()},h.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},h.prototype.iushrn=function(t,e,r){var o;n("number"==typeof t&&t>=0),o=e?(e-e%26)/26:0;var h=t%26,s=Math.min((t-h)/26,this.length),mask=67108863^67108863>>>h<<h,l=r;if(o-=s,o=Math.max(0,o),l){for(var i=0;i<s;i++)l.words[i]=this.words[i];l.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 c=0;for(i=this.length-1;i>=0&&(0!==c||i>=o);i--){var f=0|this.words[i];this.words[i]=c<<26-h|f>>>h,c=f&mask}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},h.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},h.prototype.shln=function(t){return this.clone().ishln(t)},h.prototype.ushln=function(t){return this.clone().iushln(t)},h.prototype.shrn=function(t){return this.clone().ishrn(t)},h.prototype.ushrn=function(t){return this.clone().iushrn(t)},h.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26,q=1<<e;return!(this.length<=s)&&!!(this.words[s]&q)},h.prototype.imaskn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==e&&s++,this.length=Math.min(s,this.length),0!==e){var mask=67108863^67108863>>>e<<e;this.words[this.length-1]&=mask}return this._strip()},h.prototype.maskn=function(t){return this.clone().imaskn(t)},h.prototype.iaddn=function(t){return n("number"==typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<=t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},h.prototype._iaddn=function(t){this.words[0]+=t;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},h.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,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()},h.prototype.addn=function(t){return this.clone().iaddn(t)},h.prototype.subn=function(t){return this.clone().isubn(t)},h.prototype.iabs=function(){return this.negative=0,this},h.prototype.abs=function(){return this.clone().iabs()},h.prototype._ishlnsubmul=function(t,e,r){var i,o,h=t.length+r;this._expand(h);var l=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+l;var c=(0|t.words[i])*e;l=((o-=67108863&c)>>26)-(c/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)l=(o=(0|this.words[i+r])+l)>>26,this.words[i+r]=67108863&o;if(0===l)return this._strip();for(n(-1===l),l=0,i=0;i<this.length;i++)l=(o=-(0|this.words[i])+l)>>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},h.prototype._wordDiv=function(t,e){var r=(this.length,t.length),a=this.clone(),b=t,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"!==e){(q=new h(null)).length=o+1,q.words=new Array(q.length);for(var i=0;i<q.length;i++)q.words[i]=0}var l=a.clone()._ishlnsubmul(b,1,o);0===l.negative&&(a=l,q&&(q.words[o]=1));for(var c=o-1;c>=0;c--){var f=67108864*(0|a.words[b.length+c])+(0|a.words[b.length+c-1]);for(f=Math.min(f/n|0,67108863),a._ishlnsubmul(b,f,c);0!==a.negative;)f--,a.negative=0,a._ishlnsubmul(b,1,c),a.isZero()||(a.negative^=1);q&&(q.words[c]=f)}return q&&q._strip(),a._strip(),"div"!==e&&0!==r&&a.iushrn(r),{div:q||null,mod:a}},h.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new h(0),mod:new h(0)}:0!==this.negative&&0===t.negative?(l=this.neg().divmod(t,e),"mod"!==e&&(div=l.div.neg()),"div"!==e&&(o=l.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:div,mod:o}):0===this.negative&&0!==t.negative?(l=this.divmod(t.neg(),e),"mod"!==e&&(div=l.div.neg()),{div:div,mod:l.mod}):0!=(this.negative&t.negative)?(l=this.neg().divmod(t.neg(),e),"div"!==e&&(o=l.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:l.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new h(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new h(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new h(this.modrn(t.words[0]))}:this._wordDiv(t,e);var div,o,l},h.prototype.div=function(t){return this.divmod(t,"div",!1).div},h.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},h.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},h.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),o=t.andln(1),h=r.cmp(n);return h<0||1===o&&0===h?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},h.prototype.modrn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var p=(1<<26)%t,r=0,i=this.length-1;i>=0;i--)r=(p*r+(0|this.words[i]))%t;return e?-r:r},h.prototype.modn=function(t){return this.modrn(t)},h.prototype.idivn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/t|0,r=o%t}return this._strip(),e?this.ineg():this},h.prototype.divn=function(t){return this.clone().idivn(t)},h.prototype.egcd=function(p){n(0===p.negative),n(!p.isZero());var t=this,e=p.clone();t=0!==t.negative?t.umod(p):t.clone();for(var r=new h(1),o=new h(0),l=new h(0),c=new h(1),g=0;t.isEven()&&e.isEven();)t.iushrn(1),e.iushrn(1),++g;for(var f=e.clone(),d=t.clone();!t.isZero();){for(var i=0,m=1;0==(t.words[0]&m)&&i<26;++i,m<<=1);if(i>0)for(t.iushrn(i);i-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(f),o.isub(d)),r.iushrn(1),o.iushrn(1);for(var v=0,y=1;0==(e.words[0]&y)&&v<26;++v,y<<=1);if(v>0)for(e.iushrn(v);v-- >0;)(l.isOdd()||c.isOdd())&&(l.iadd(f),c.isub(d)),l.iushrn(1),c.iushrn(1);t.cmp(e)>=0?(t.isub(e),r.isub(l),o.isub(c)):(e.isub(t),l.isub(r),c.isub(o))}return{a:l,b:c,gcd:e.iushln(g)}},h.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 t,e=new h(1),r=new h(0),o=b.clone();a.cmpn(1)>0&&b.cmpn(1)>0;){for(var i=0,l=1;0==(a.words[0]&l)&&i<26;++i,l<<=1);if(i>0)for(a.iushrn(i);i-- >0;)e.isOdd()&&e.iadd(o),e.iushrn(1);for(var c=0,f=1;0==(b.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(b.iushrn(c);c-- >0;)r.isOdd()&&r.iadd(o),r.iushrn(1);a.cmp(b)>=0?(a.isub(b),e.isub(r)):(b.isub(a),r.isub(e))}return(t=0===a.cmpn(1)?e:r).cmpn(0)<0&&t.iadd(p),t},h.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var a=this.clone(),b=t.clone();a.negative=0,b.negative=0;for(var e=0;a.isEven()&&b.isEven();e++)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(e)},h.prototype.invm=function(t){return this.egcd(t).a.umod(t)},h.prototype.isEven=function(){return 0==(1&this.words[0])},h.prototype.isOdd=function(){return 1==(1&this.words[0])},h.prototype.andln=function(t){return this.words[0]&t},h.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,s=(t-e)/26,q=1<<e;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},h.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},h.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var o=0|this.words[0];e=o===t?0:o<t?-1:1}return 0!==this.negative?0|-e:e},h.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},h.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,i=this.length-1;i>=0;i--){var a=0|this.words[i],b=0|t.words[i];if(a!==b){a<b?e=-1:a>b&&(e=1);break}}return e},h.prototype.gtn=function(t){return 1===this.cmpn(t)},h.prototype.gt=function(t){return 1===this.cmp(t)},h.prototype.gten=function(t){return this.cmpn(t)>=0},h.prototype.gte=function(t){return this.cmp(t)>=0},h.prototype.ltn=function(t){return-1===this.cmpn(t)},h.prototype.lt=function(t){return-1===this.cmp(t)},h.prototype.lten=function(t){return this.cmpn(t)<=0},h.prototype.lte=function(t){return this.cmp(t)<=0},h.prototype.eqn=function(t){return 0===this.cmpn(t)},h.prototype.eq=function(t){return 0===this.cmp(t)},h.red=function(t){return new P(t)},h.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},h.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},h.prototype._forceRed=function(t){return this.red=t,this},h.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},h.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},h.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},h.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},h.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},h.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},h.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},h.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},h.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},h.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},h.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},h.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},h.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},h.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var A={k256:null,p224:null,p192:null,p25519:null};function T(t,p){this.name=t,this.p=new h(p,16),this.n=this.p.bitLength(),this.k=new h(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function k(){T.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function C(){T.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function O(){T.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function I(){T.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function P(t){if("string"==typeof t){var e=h._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function R(t){P.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new h(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)}T.prototype._tmp=function(){var t=new h(null);return t.words=new Array(Math.ceil(this.n/13)),t},T.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<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},T.prototype.split=function(input,t){input.iushrn(this.n,0,t)},T.prototype.imulK=function(t){return t.imul(this.k)},o(k,T),k.prototype.split=function(input,output){for(var t=Math.min(input.length,9),i=0;i<t;i++)output.words[i]=input.words[i];if(output.length=t,input.length<=9)return input.words[0]=0,void(input.length=1);var e=input.words[9];for(output.words[output.length++]=4194303&e,i=10;i<input.length;i++){var r=0|input.words[i];input.words[i-10]=(4194303&r)<<4|e>>>22,e=r}e>>>=22,input.words[i-10]=e,0===e&&input.length>10?input.length-=10:input.length-=9},k.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,i=0;i<t.length;i++){var r=0|t.words[i];e+=977*r,t.words[i]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},o(C,T),o(O,T),o(I,T),I.prototype.imulK=function(t){for(var e=0,i=0;i<t.length;i++){var r=19*(0|t.words[i])+e,n=67108863&r;r>>>=26,t.words[i]=n,e=r}return 0!==e&&(t.words[t.length++]=e),t},h._prime=function(t){if(A[t])return A[t];var e;if("k256"===t)e=new k;else if("p224"===t)e=new C;else if("p192"===t)e=new O;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new I}return A[t]=e,e},P.prototype._verify1=function(a){n(0===a.negative,"red works only with positives"),n(a.red,"red works only with red numbers")},P.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")},P.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):(d(a,a.umod(this.m)._forceRed(this)),a)},P.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},P.prototype.add=function(a,b){this._verify2(a,b);var t=a.add(b);return t.cmp(this.m)>=0&&t.isub(this.m),t._forceRed(this)},P.prototype.iadd=function(a,b){this._verify2(a,b);var t=a.iadd(b);return t.cmp(this.m)>=0&&t.isub(this.m),t},P.prototype.sub=function(a,b){this._verify2(a,b);var t=a.sub(b);return t.cmpn(0)<0&&t.iadd(this.m),t._forceRed(this)},P.prototype.isub=function(a,b){this._verify2(a,b);var t=a.isub(b);return t.cmpn(0)<0&&t.iadd(this.m),t},P.prototype.shl=function(a,t){return this._verify1(a),this.imod(a.ushln(t))},P.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},P.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},P.prototype.isqr=function(a){return this.imul(a,a.clone())},P.prototype.sqr=function(a){return this.mul(a,a)},P.prototype.sqrt=function(a){if(a.isZero())return a.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var e=this.m.add(new h(1)).iushrn(2);return this.pow(a,e)}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 h(1).toRed(this),o=r.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new h(2*c*c).toRed(this);0!==this.pow(c,l).cmp(o);)c.redIAdd(o);for(var f=this.pow(c,q),d=this.pow(a,q.addn(1).iushrn(1)),m=this.pow(a,q),v=s;0!==m.cmp(r);){for(var y=m,i=0;0!==y.cmp(r);i++)y=y.redSqr();n(i<v);var b=this.pow(f,new h(1).iushln(v-i-1));d=d.redMul(b),f=b.redSqr(),m=m.redMul(f),v=i}return d},P.prototype.invm=function(a){var t=a._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},P.prototype.pow=function(a,t){if(t.isZero())return new h(1).toRed(this);if(0===t.cmpn(1))return a.clone();var e=new Array(16);e[0]=new h(1).toRed(this),e[1]=a;for(var i=2;i<e.length;i++)e[i]=this.mul(e[i-1],a);var r=e[0],n=0,o=0,l=t.bitLength()%26;for(0===l&&(l=26),i=t.length-1;i>=0;i--){for(var c=t.words[i],f=l-1;f>=0;f--){var d=c>>f&1;r!==e[0]&&(r=this.sqr(r)),0!==d||0!==n?(n<<=1,n|=d,(4===++o||0===i&&0===f)&&(r=this.mul(r,e[n]),o=0,n=0)):o=0}l=26}return r},P.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},P.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},h.mont=function(t){return new R(t)},o(R,P),R.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},R.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},R.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;var t=a.imul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).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)},R.prototype.mul=function(a,b){if(a.isZero()||b.isZero())return new h(0)._forceRed(this);var t=a.mul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).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)},R.prototype.invm=function(a){return this.imod(a._invmp(this.m).mul(this.r2))._forceRed(this)}}(t,this)}).call(this,r(143)(t))},function(t,e,r){"use strict";var n=e;n.version=r(771).version,n.utils=r(115),n.rand=r(334),n.curve=r(553),n.curves=r(340),n.ec=r(783),n.eddsa=r(787)},function(t,e,r){"use strict";var pre,n=e,o=r(341),h=r(553),l=r(115).assert;function c(t){"short"===t.type?this.curve=new h.short(t):"edwards"===t.type?this.curve=new h.edwards(t):this.curve=new h.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,l(this.g.validate(),"Invalid curve"),l(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function f(t,e){Object.defineProperty(n,t,{configurable:!0,enumerable:!0,get:function(){var r=new c(e);return Object.defineProperty(n,t,{configurable:!0,enumerable:!0,value:r}),r}})}n.PresetCurve=c,f("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"]}),f("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"]}),f("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"]}),f("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"]}),f("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"]}),f("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"]}),f("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(782)}catch(t){pre=void 0}f("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"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",pre]})},function(t,e,r){var n=e;n.utils=r(128),n.common=r(231),n.sha=r(776),n.ripemd=r(780),n.hmac=r(781),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(t,e,r){"use strict";(function(e){var n,o=r(61),h=o.Buffer,l={};for(n in o)o.hasOwnProperty(n)&&"SlowBuffer"!==n&&"Buffer"!==n&&(l[n]=o[n]);var c=l.Buffer={};for(n in h)h.hasOwnProperty(n)&&"allocUnsafe"!==n&&"allocUnsafeSlow"!==n&&(c[n]=h[n]);if(l.Buffer.prototype=h.prototype,c.from&&c.from!==Uint8Array.from||(c.from=function(t,e,r){if("number"==typeof t)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof t);if(t&&void 0===t.length)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);return h(t,e,r)}),c.alloc||(c.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError('The "size" argument must be of type number. Received type '+typeof t);if(t<0||t>=2*(1<<30))throw new RangeError('The value "'+t+'" is invalid for option "size"');var n=h(t);return e&&0!==e.length?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n}),!l.kStringMaxLength)try{l.kStringMaxLength=e.binding("buffer").kStringMaxLength}catch(t){}l.constants||(l.constants={MAX_LENGTH:l.kMaxLength},l.kStringMaxLength&&(l.constants.MAX_STRING_LENGTH=l.kStringMaxLength)),t.exports=l}).call(this,r(69))},function(t,e,r){"use strict";const n=r(344).Reporter,o=r(232).EncoderBuffer,h=r(232).DecoderBuffer,l=r(114),c=["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"],f=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(c);function d(t,e,r){const n={};this._baseState=n,n.name=r,n.enc=t,n.parent=e||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())}t.exports=d;const m=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];d.prototype.clone=function(){const t=this._baseState,e={};m.forEach((function(r){e[r]=t[r]}));const r=new this.constructor(e.parent);return r._baseState=e,r},d.prototype._wrap=function(){const t=this._baseState;f.forEach((function(e){this[e]=function(){const r=new this.constructor(this);return t.children.push(r),r[e].apply(r,arguments)}}),this)},d.prototype._init=function(body){const t=this._baseState;l(null===t.parent),body.call(this),t.children=t.children.filter((function(t){return t._baseState.parent===this}),this),l.equal(t.children.length,1,"Root node can have only one child")},d.prototype._useArgs=function(t){const e=this._baseState,r=t.filter((function(t){return t instanceof this.constructor}),this);t=t.filter((function(t){return!(t instanceof this.constructor)}),this),0!==r.length&&(l(null===e.children),e.children=r,r.forEach((function(t){t._baseState.parent=this}),this)),0!==t.length&&(l(null===e.args),e.args=t,e.reverseArgs=t.map((function(t){if("object"!=typeof t||t.constructor!==Object)return t;const e={};return Object.keys(t).forEach((function(r){r==(0|r)&&(r|=0);const n=t[r];e[n]=r})),e})))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach((function(t){d.prototype[t]=function(){const e=this._baseState;throw new Error(t+" not implemented for encoding: "+e.enc)}})),c.forEach((function(t){d.prototype[t]=function(){const e=this._baseState,r=Array.prototype.slice.call(arguments);return l(null===e.tag),e.tag=t,this._useArgs(r),this}})),d.prototype.use=function(t){l(t);const e=this._baseState;return l(null===e.use),e.use=t,this},d.prototype.optional=function(){return this._baseState.optional=!0,this},d.prototype.def=function(t){const e=this._baseState;return l(null===e.default),e.default=t,e.optional=!0,this},d.prototype.explicit=function(t){const e=this._baseState;return l(null===e.explicit&&null===e.implicit),e.explicit=t,this},d.prototype.implicit=function(t){const e=this._baseState;return l(null===e.explicit&&null===e.implicit),e.implicit=t,this},d.prototype.obj=function(){const t=this._baseState,e=Array.prototype.slice.call(arguments);return t.obj=!0,0!==e.length&&this._useArgs(e),this},d.prototype.key=function(t){const e=this._baseState;return l(null===e.key),e.key=t,this},d.prototype.any=function(){return this._baseState.any=!0,this},d.prototype.choice=function(t){const e=this._baseState;return l(null===e.choice),e.choice=t,this._useArgs(Object.keys(t).map((function(e){return t[e]}))),this},d.prototype.contains=function(t){const e=this._baseState;return l(null===e.use),e.contains=t,this},d.prototype._decode=function(input,t){const e=this._baseState;if(null===e.parent)return input.wrapResult(e.children[0]._decode(input,t));let r,n=e.default,o=!0,l=null;if(null!==e.key&&(l=input.enterKey(e.key)),e.optional){let r=null;if(null!==e.explicit?r=e.explicit:null!==e.implicit?r=e.implicit:null!==e.tag&&(r=e.tag),null!==r||e.any){if(o=this._peekTag(input,r,e.any),input.isError(o))return o}else{const r=input.save();try{null===e.choice?this._decodeGeneric(e.tag,input,t):this._decodeChoice(input,t),o=!0}catch(t){o=!1}input.restore(r)}}if(e.obj&&o&&(r=input.enterObject()),o){if(null!==e.explicit){const t=this._decodeTag(input,e.explicit);if(input.isError(t))return t;input=t}const r=input.offset;if(null===e.use&&null===e.choice){let t;e.any&&(t=input.save());const body=this._decodeTag(input,null!==e.implicit?e.implicit:e.tag,e.any);if(input.isError(body))return body;e.any?n=input.raw(t):input=body}if(t&&t.track&&null!==e.tag&&t.track(input.path(),r,input.length,"tagged"),t&&t.track&&null!==e.tag&&t.track(input.path(),input.offset,input.length,"content"),e.any||(n=null===e.choice?this._decodeGeneric(e.tag,input,t):this._decodeChoice(input,t)),input.isError(n))return n;if(e.any||null!==e.choice||null===e.children||e.children.forEach((function(e){e._decode(input,t)})),e.contains&&("octstr"===e.tag||"bitstr"===e.tag)){const data=new h(n);n=this._getUse(e.contains,input._reporterState.obj)._decode(data,t)}}return e.obj&&o&&(n=input.leaveObject(r)),null===e.key||null===n&&!0!==o?null!==l&&input.exitKey(l):input.leaveKey(l,e.key,n),n},d.prototype._decodeGeneric=function(t,input,e){const r=this._baseState;return"seq"===t||"set"===t?null:"seqof"===t||"setof"===t?this._decodeList(input,t,r.args[0],e):/str$/.test(t)?this._decodeStr(input,t,e):"objid"===t&&r.args?this._decodeObjid(input,r.args[0],r.args[1],e):"objid"===t?this._decodeObjid(input,null,null,e):"gentime"===t||"utctime"===t?this._decodeTime(input,t,e):"null_"===t?this._decodeNull(input,e):"bool"===t?this._decodeBool(input,e):"objDesc"===t?this._decodeStr(input,t,e):"int"===t||"enum"===t?this._decodeInt(input,r.args&&r.args[0],e):null!==r.use?this._getUse(r.use,input._reporterState.obj)._decode(input,e):input.error("unknown tag: "+t)},d.prototype._getUse=function(t,e){const r=this._baseState;return r.useDecoder=this._use(t,e),l(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,t){const e=this._baseState;let r=null,n=!1;return Object.keys(e.choice).some((function(o){const h=input.save(),l=e.choice[o];try{const e=l._decode(input,t);if(input.isError(e))return!1;r={type:o,value:e},n=!0}catch(t){return input.restore(h),!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,t,e){const r=this._baseState;if(null!==r.default&&r.default===data)return;const n=this._encodeValue(data,t,e);return void 0===n||this._skipDefault(n,t,e)?void 0:n},d.prototype._encodeValue=function(data,t,e){const r=this._baseState;if(null===r.parent)return r.children[0]._encode(data,t||new n);let o=null;if(this.reporter=t,r.optional&&void 0===data){if(null===r.default)return;data=r.default}let content=null,h=!1;if(r.any)o=this._createEncoderBuffer(data);else if(r.choice)o=this._encodeChoice(data,t);else if(r.contains)content=this._getUse(r.contains,e)._encode(data,t),h=!0;else if(r.children)content=r.children.map((function(e){if("null_"===e._baseState.tag)return e._encode(null,t,data);if(null===e._baseState.key)return t.error("Child should have a key");const r=t.enterKey(e._baseState.key);if("object"!=typeof data)return t.error("Child expected, but input is not object");const n=e._encode(data[e._baseState.key],t,data);return t.leaveKey(r),n}),this).filter((function(t){return t})),content=this._createEncoderBuffer(content);else if("seqof"===r.tag||"setof"===r.tag){if(!r.args||1!==r.args.length)return t.error("Too many args for : "+r.tag);if(!Array.isArray(data))return t.error("seqof/setof, but data is not Array");const e=this.clone();e._baseState.implicit=null,content=this._createEncoderBuffer(data.map((function(e){const r=this._baseState;return this._getUse(r.args[0],data)._encode(e,t)}),e))}else null!==r.use?o=this._getUse(r.use,e)._encode(data,t):(content=this._encodePrimitive(r.tag,data),h=!0);if(!r.any&&null===r.choice){const e=null!==r.implicit?r.implicit:r.tag,n=null===r.implicit?"universal":"context";null===e?null===r.use&&t.error("Tag could be omitted only for .use()"):null===r.use&&(o=this._encodeComposite(e,h,n,content))}return null!==r.explicit&&(o=this._encodeComposite(r.explicit,!1,"context",o)),o},d.prototype._encodeChoice=function(data,t){const e=this._baseState,r=e.choice[data.type];return r||l(!1,data.type+" not found in "+JSON.stringify(Object.keys(e.choice))),r._encode(data.value,t)},d.prototype._encodePrimitive=function(t,data){const e=this._baseState;if(/str$/.test(t))return this._encodeStr(data,t);if("objid"===t&&e.args)return this._encodeObjid(data,e.reverseArgs[0],e.args[1]);if("objid"===t)return this._encodeObjid(data,null,null);if("gentime"===t||"utctime"===t)return this._encodeTime(data,t);if("null_"===t)return this._encodeNull();if("int"===t||"enum"===t)return this._encodeInt(data,e.args&&e.reverseArgs[0]);if("bool"===t)return this._encodeBool(data);if("objDesc"===t)return this._encodeStr(data,t);throw new Error("Unsupported tag: "+t)},d.prototype._isNumstr=function(t){return/^[0-9 ]*$/.test(t)},d.prototype._isPrintstr=function(t){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(t)}},function(t,e,r){"use strict";const n=r(36);function o(t){this._reporterState={obj:null,path:[],options:t||{},errors:[]}}function h(path,t){this.path=path,this.rethrow(t)}e.Reporter=o,o.prototype.isError=function(t){return t instanceof h},o.prototype.save=function(){const t=this._reporterState;return{obj:t.obj,pathLen:t.path.length}},o.prototype.restore=function(data){const t=this._reporterState;t.obj=data.obj,t.path=t.path.slice(0,data.pathLen)},o.prototype.enterKey=function(t){return this._reporterState.path.push(t)},o.prototype.exitKey=function(t){const e=this._reporterState;e.path=e.path.slice(0,t-1)},o.prototype.leaveKey=function(t,e,r){const n=this._reporterState;this.exitKey(t),null!==n.obj&&(n.obj[e]=r)},o.prototype.path=function(){return this._reporterState.path.join("/")},o.prototype.enterObject=function(){const t=this._reporterState,e=t.obj;return t.obj={},e},o.prototype.leaveObject=function(t){const e=this._reporterState,r=e.obj;return e.obj=t,r},o.prototype.error=function(t){let e;const r=this._reporterState,n=t instanceof h;if(e=n?t:new h(r.path.map((function(t){return"["+JSON.stringify(t)+"]"})).join(""),t.message||t,t.stack),!r.options.partial)throw e;return n||r.errors.push(e),e},o.prototype.wrapResult=function(t){const e=this._reporterState;return e.options.partial?{result:this.isError(t)?null:t,errors:e.errors}:t},n(h,Error),h.prototype.rethrow=function(t){if(this.message=t+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,h),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this}},function(t,e,r){"use strict";function n(map){const t={};return Object.keys(map).forEach((function(e){(0|e)==e&&(e|=0);const r=map[e];t[r]=e})),t}e.tagClass={0:"universal",1:"application",2:"context",3:"private"},e.tagClassByName=n(e.tagClass),e.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"},e.tagByName=n(e.tag)},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function o(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function h(t,base,e){if(h.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==base&&"be"!==base||(e=base,base=10),this._init(t||0,base||10,e||"be"))}var l;"object"==typeof t?t.exports=h:e.BN=h,h.BN=h,h.wordSize=26;try{l=r(806).Buffer}catch(t){}function c(t,e,r){for(var n=0,o=Math.min(t.length,r),i=e;i<o;i++){var h=t.charCodeAt(i)-48;n<<=4,n|=h>=49&&h<=54?h-49+10:h>=17&&h<=22?h-17+10:15&h}return n}function f(t,e,r,n){for(var o=0,h=Math.min(t.length,r),i=e;i<h;i++){var l=t.charCodeAt(i)-48;o*=n,o+=l>=49?l-49+10:l>=17?l-17+10:l}return o}h.isBN=function(t){return t instanceof h||null!==t&&"object"==typeof t&&t.constructor.wordSize===h.wordSize&&Array.isArray(t.words)},h.max=function(t,e){return t.cmp(e)>0?t:e},h.min=function(t,e){return t.cmp(e)<0?t:e},h.prototype._init=function(t,base,e){if("number"==typeof t)return this._initNumber(t,base,e);if("object"==typeof t)return this._initArray(t,base,e);"hex"===base&&(base=16),n(base===(0|base)&&base>=2&&base<=36);var r=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&r++,16===base?this._parseHex(t,r):this._parseBase(t,base,r),"-"===t[0]&&(this.negative=1),this.strip(),"le"===e&&this._initArray(this.toArray(),base,e)},h.prototype._initNumber=function(t,base,e){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===e&&this._initArray(this.toArray(),base,e)},h.prototype._initArray=function(t,base,e){if(n("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var r,o,h=0;if("be"===e)for(i=t.length-1,r=0;i>=0;i-=3)o=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[r]|=o<<h&67108863,this.words[r+1]=o>>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);else if("le"===e)for(i=0,r=0;i<t.length;i+=3)o=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[r]|=o<<h&67108863,this.words[r+1]=o>>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);return this.strip()},h.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var r,n,o=0;for(i=t.length-6,r=0;i>=e;i-=6)n=c(t,i,i+6),this.words[r]|=n<<o&67108863,this.words[r+1]|=n>>>26-o&4194303,(o+=24)>=26&&(o-=26,r++);i+6!==e&&(n=c(t,e,i+6),this.words[r]|=n<<o&67108863,this.words[r+1]|=n>>>26-o&4194303),this.strip()},h.prototype._parseBase=function(t,base,e){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=t.length-e,h=o%r,l=Math.min(o,o-h)+e,c=0,i=e;i<l;i+=r)c=f(t,i,i+r,base),this.imuln(n),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==h){var d=1;for(c=f(t,i,t.length,base),i=0;i<h;i++)d*=base;this.imuln(d),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},h.prototype.copy=function(t){t.words=new Array(this.length);for(var i=0;i<this.length;i++)t.words[i]=this.words[i];t.length=this.length,t.negative=this.negative,t.red=this.red},h.prototype.clone=function(){var t=new h(null);return this.copy(t),t},h.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},h.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},h.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},h.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var d=["","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,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function y(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var a=0|t.words[0],b=0|e.words[0],o=a*b,h=67108863&o,l=o/67108864|0;r.words[0]=h;for(var c=1;c<n;c++){for(var f=l>>>26,d=67108863&l,m=Math.min(c,e.length-1),v=Math.max(0,c-t.length+1);v<=m;v++){var i=c-v|0;f+=(o=(a=0|t.words[i])*(b=0|e.words[v])+d)/67108864|0,d=67108863&o}r.words[c]=0|d,l=0|f}return 0!==l?r.words[c]=0|l:r.length--,r.strip()}h.prototype.toString=function(base,t){var e;if(t=0|t||1,16===(base=base||10)||"hex"===base){e="";for(var r=0,o=0,i=0;i<this.length;i++){var h=this.words[i],l=(16777215&(h<<r|o)).toString(16);e=0!==(o=h>>>24-r&16777215)||i!==this.length-1?d[6-l.length]+l+e:l+e,(r+=2)>=26&&(r-=26,i--)}for(0!==o&&(e=o.toString(16)+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}if(base===(0|base)&&base>=2&&base<=36){var c=m[base],f=v[base];e="";var y=this.clone();for(y.negative=0;!y.isZero();){var w=y.modn(f).toString(base);e=(y=y.idivn(f)).isZero()?w+e:d[c-w.length]+w+e}for(this.isZero()&&(e="0"+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}n(!1,"Base should be between 2 and 36")},h.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},h.prototype.toJSON=function(){return this.toString(16)},h.prototype.toBuffer=function(t,e){return n(void 0!==l),this.toArrayLike(l,t,e)},h.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},h.prototype.toArrayLike=function(t,e,r){var o=this.byteLength(),h=r||Math.max(1,o);n(o<=h,"byte array longer than desired length"),n(h>0,"Requested array length <= 0"),this.strip();var b,i,l="le"===e,c=new t(h),q=this.clone();if(l){for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),c[i]=b;for(;i<h;i++)c[i]=0}else{for(i=0;i<h-o;i++)c[i]=0;for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),c[h-i-1]=b}return c},Math.clz32?h.prototype._countBits=function(t){return 32-Math.clz32(t)}:h.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},h.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0==(8191&e)&&(r+=13,e>>>=13),0==(127&e)&&(r+=7,e>>>=7),0==(15&e)&&(r+=4,e>>>=4),0==(3&e)&&(r+=2,e>>>=2),0==(1&e)&&r++,r},h.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},h.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,i=0;i<this.length;i++){var b=this._zeroBits(this.words[i]);if(t+=b,26!==b)break}return t},h.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},h.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},h.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},h.prototype.isNeg=function(){return 0!==this.negative},h.prototype.neg=function(){return this.clone().ineg()},h.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},h.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var i=0;i<t.length;i++)this.words[i]=this.words[i]|t.words[i];return this.strip()},h.prototype.ior=function(t){return n(0==(this.negative|t.negative)),this.iuor(t)},h.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},h.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},h.prototype.iuand=function(t){var b;b=this.length>t.length?t:this;for(var i=0;i<b.length;i++)this.words[i]=this.words[i]&t.words[i];return this.length=b.length,this.strip()},h.prototype.iand=function(t){return n(0==(this.negative|t.negative)),this.iuand(t)},h.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},h.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},h.prototype.iuxor=function(t){var a,b;this.length>t.length?(a=this,b=t):(a=t,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()},h.prototype.ixor=function(t){return n(0==(this.negative|t.negative)),this.iuxor(t)},h.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},h.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},h.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},h.prototype.notn=function(t){return this.clone().inotn(t)},h.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var r=t/26|0,o=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<o:this.words[r]&~(1<<o),this.strip()},h.prototype.iadd=function(t){var e,a,b;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(a=this,b=t):(a=t,b=this);for(var r=0,i=0;i<b.length;i++)e=(0|a.words[i])+(0|b.words[i])+r,this.words[i]=67108863&e,r=e>>>26;for(;0!==r&&i<a.length;i++)e=(0|a.words[i])+r,this.words[i]=67108863&e,r=e>>>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},h.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},h.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var a,b,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(a=this,b=t):(a=t,b=this);for(var n=0,i=0;i<b.length;i++)n=(e=(0|a.words[i])-(0|b.words[i])+n)>>26,this.words[i]=67108863&e;for(;0!==n&&i<a.length;i++)n=(e=(0|a.words[i])+n)>>26,this.words[i]=67108863&e;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()},h.prototype.sub=function(t){return this.clone().isub(t)};var w=function(t,e,r){var n,o,h,a=t.words,b=e.words,l=r.words,c=0,f=0|a[0],d=8191&f,m=f>>>13,v=0|a[1],y=8191&v,w=v>>>13,_=0|a[2],M=8191&_,S=_>>>13,x=0|a[3],E=8191&x,A=x>>>13,T=0|a[4],k=8191&T,C=T>>>13,O=0|a[5],I=8191&O,P=O>>>13,R=0|a[6],j=8191&R,N=R>>>13,L=0|a[7],D=8191&L,B=L>>>13,F=0|a[8],U=8191&F,z=F>>>13,H=0|a[9],G=8191&H,V=H>>>13,$=0|b[0],W=8191&$,Y=$>>>13,K=0|b[1],X=8191&K,Z=K>>>13,J=0|b[2],Q=8191&J,tt=J>>>13,et=0|b[3],it=8191&et,nt=et>>>13,ot=0|b[4],at=8191&ot,st=ot>>>13,ht=0|b[5],ut=8191&ht,lt=ht>>>13,ct=0|b[6],ft=8191&ct,pt=ct>>>13,mt=0|b[7],gt=8191&mt,vt=mt>>>13,bt=0|b[8],yt=8191&bt,wt=bt>>>13,_t=0|b[9],Mt=8191&_t,St=_t>>>13;r.negative=t.negative^e.negative,r.length=19;var xt=(c+(n=Math.imul(d,W))|0)+((8191&(o=(o=Math.imul(d,Y))+Math.imul(m,W)|0))<<13)|0;c=((h=Math.imul(m,Y))+(o>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(y,W),o=(o=Math.imul(y,Y))+Math.imul(w,W)|0,h=Math.imul(w,Y);var Et=(c+(n=n+Math.imul(d,X)|0)|0)+((8191&(o=(o=o+Math.imul(d,Z)|0)+Math.imul(m,X)|0))<<13)|0;c=((h=h+Math.imul(m,Z)|0)+(o>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(M,W),o=(o=Math.imul(M,Y))+Math.imul(S,W)|0,h=Math.imul(S,Y),n=n+Math.imul(y,X)|0,o=(o=o+Math.imul(y,Z)|0)+Math.imul(w,X)|0,h=h+Math.imul(w,Z)|0;var At=(c+(n=n+Math.imul(d,Q)|0)|0)+((8191&(o=(o=o+Math.imul(d,tt)|0)+Math.imul(m,Q)|0))<<13)|0;c=((h=h+Math.imul(m,tt)|0)+(o>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(E,W),o=(o=Math.imul(E,Y))+Math.imul(A,W)|0,h=Math.imul(A,Y),n=n+Math.imul(M,X)|0,o=(o=o+Math.imul(M,Z)|0)+Math.imul(S,X)|0,h=h+Math.imul(S,Z)|0,n=n+Math.imul(y,Q)|0,o=(o=o+Math.imul(y,tt)|0)+Math.imul(w,Q)|0,h=h+Math.imul(w,tt)|0;var Tt=(c+(n=n+Math.imul(d,it)|0)|0)+((8191&(o=(o=o+Math.imul(d,nt)|0)+Math.imul(m,it)|0))<<13)|0;c=((h=h+Math.imul(m,nt)|0)+(o>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(k,W),o=(o=Math.imul(k,Y))+Math.imul(C,W)|0,h=Math.imul(C,Y),n=n+Math.imul(E,X)|0,o=(o=o+Math.imul(E,Z)|0)+Math.imul(A,X)|0,h=h+Math.imul(A,Z)|0,n=n+Math.imul(M,Q)|0,o=(o=o+Math.imul(M,tt)|0)+Math.imul(S,Q)|0,h=h+Math.imul(S,tt)|0,n=n+Math.imul(y,it)|0,o=(o=o+Math.imul(y,nt)|0)+Math.imul(w,it)|0,h=h+Math.imul(w,nt)|0;var kt=(c+(n=n+Math.imul(d,at)|0)|0)+((8191&(o=(o=o+Math.imul(d,st)|0)+Math.imul(m,at)|0))<<13)|0;c=((h=h+Math.imul(m,st)|0)+(o>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(I,W),o=(o=Math.imul(I,Y))+Math.imul(P,W)|0,h=Math.imul(P,Y),n=n+Math.imul(k,X)|0,o=(o=o+Math.imul(k,Z)|0)+Math.imul(C,X)|0,h=h+Math.imul(C,Z)|0,n=n+Math.imul(E,Q)|0,o=(o=o+Math.imul(E,tt)|0)+Math.imul(A,Q)|0,h=h+Math.imul(A,tt)|0,n=n+Math.imul(M,it)|0,o=(o=o+Math.imul(M,nt)|0)+Math.imul(S,it)|0,h=h+Math.imul(S,nt)|0,n=n+Math.imul(y,at)|0,o=(o=o+Math.imul(y,st)|0)+Math.imul(w,at)|0,h=h+Math.imul(w,st)|0;var Ct=(c+(n=n+Math.imul(d,ut)|0)|0)+((8191&(o=(o=o+Math.imul(d,lt)|0)+Math.imul(m,ut)|0))<<13)|0;c=((h=h+Math.imul(m,lt)|0)+(o>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(j,W),o=(o=Math.imul(j,Y))+Math.imul(N,W)|0,h=Math.imul(N,Y),n=n+Math.imul(I,X)|0,o=(o=o+Math.imul(I,Z)|0)+Math.imul(P,X)|0,h=h+Math.imul(P,Z)|0,n=n+Math.imul(k,Q)|0,o=(o=o+Math.imul(k,tt)|0)+Math.imul(C,Q)|0,h=h+Math.imul(C,tt)|0,n=n+Math.imul(E,it)|0,o=(o=o+Math.imul(E,nt)|0)+Math.imul(A,it)|0,h=h+Math.imul(A,nt)|0,n=n+Math.imul(M,at)|0,o=(o=o+Math.imul(M,st)|0)+Math.imul(S,at)|0,h=h+Math.imul(S,st)|0,n=n+Math.imul(y,ut)|0,o=(o=o+Math.imul(y,lt)|0)+Math.imul(w,ut)|0,h=h+Math.imul(w,lt)|0;var Ot=(c+(n=n+Math.imul(d,ft)|0)|0)+((8191&(o=(o=o+Math.imul(d,pt)|0)+Math.imul(m,ft)|0))<<13)|0;c=((h=h+Math.imul(m,pt)|0)+(o>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(D,W),o=(o=Math.imul(D,Y))+Math.imul(B,W)|0,h=Math.imul(B,Y),n=n+Math.imul(j,X)|0,o=(o=o+Math.imul(j,Z)|0)+Math.imul(N,X)|0,h=h+Math.imul(N,Z)|0,n=n+Math.imul(I,Q)|0,o=(o=o+Math.imul(I,tt)|0)+Math.imul(P,Q)|0,h=h+Math.imul(P,tt)|0,n=n+Math.imul(k,it)|0,o=(o=o+Math.imul(k,nt)|0)+Math.imul(C,it)|0,h=h+Math.imul(C,nt)|0,n=n+Math.imul(E,at)|0,o=(o=o+Math.imul(E,st)|0)+Math.imul(A,at)|0,h=h+Math.imul(A,st)|0,n=n+Math.imul(M,ut)|0,o=(o=o+Math.imul(M,lt)|0)+Math.imul(S,ut)|0,h=h+Math.imul(S,lt)|0,n=n+Math.imul(y,ft)|0,o=(o=o+Math.imul(y,pt)|0)+Math.imul(w,ft)|0,h=h+Math.imul(w,pt)|0;var It=(c+(n=n+Math.imul(d,gt)|0)|0)+((8191&(o=(o=o+Math.imul(d,vt)|0)+Math.imul(m,gt)|0))<<13)|0;c=((h=h+Math.imul(m,vt)|0)+(o>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(U,W),o=(o=Math.imul(U,Y))+Math.imul(z,W)|0,h=Math.imul(z,Y),n=n+Math.imul(D,X)|0,o=(o=o+Math.imul(D,Z)|0)+Math.imul(B,X)|0,h=h+Math.imul(B,Z)|0,n=n+Math.imul(j,Q)|0,o=(o=o+Math.imul(j,tt)|0)+Math.imul(N,Q)|0,h=h+Math.imul(N,tt)|0,n=n+Math.imul(I,it)|0,o=(o=o+Math.imul(I,nt)|0)+Math.imul(P,it)|0,h=h+Math.imul(P,nt)|0,n=n+Math.imul(k,at)|0,o=(o=o+Math.imul(k,st)|0)+Math.imul(C,at)|0,h=h+Math.imul(C,st)|0,n=n+Math.imul(E,ut)|0,o=(o=o+Math.imul(E,lt)|0)+Math.imul(A,ut)|0,h=h+Math.imul(A,lt)|0,n=n+Math.imul(M,ft)|0,o=(o=o+Math.imul(M,pt)|0)+Math.imul(S,ft)|0,h=h+Math.imul(S,pt)|0,n=n+Math.imul(y,gt)|0,o=(o=o+Math.imul(y,vt)|0)+Math.imul(w,gt)|0,h=h+Math.imul(w,vt)|0;var Pt=(c+(n=n+Math.imul(d,yt)|0)|0)+((8191&(o=(o=o+Math.imul(d,wt)|0)+Math.imul(m,yt)|0))<<13)|0;c=((h=h+Math.imul(m,wt)|0)+(o>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(G,W),o=(o=Math.imul(G,Y))+Math.imul(V,W)|0,h=Math.imul(V,Y),n=n+Math.imul(U,X)|0,o=(o=o+Math.imul(U,Z)|0)+Math.imul(z,X)|0,h=h+Math.imul(z,Z)|0,n=n+Math.imul(D,Q)|0,o=(o=o+Math.imul(D,tt)|0)+Math.imul(B,Q)|0,h=h+Math.imul(B,tt)|0,n=n+Math.imul(j,it)|0,o=(o=o+Math.imul(j,nt)|0)+Math.imul(N,it)|0,h=h+Math.imul(N,nt)|0,n=n+Math.imul(I,at)|0,o=(o=o+Math.imul(I,st)|0)+Math.imul(P,at)|0,h=h+Math.imul(P,st)|0,n=n+Math.imul(k,ut)|0,o=(o=o+Math.imul(k,lt)|0)+Math.imul(C,ut)|0,h=h+Math.imul(C,lt)|0,n=n+Math.imul(E,ft)|0,o=(o=o+Math.imul(E,pt)|0)+Math.imul(A,ft)|0,h=h+Math.imul(A,pt)|0,n=n+Math.imul(M,gt)|0,o=(o=o+Math.imul(M,vt)|0)+Math.imul(S,gt)|0,h=h+Math.imul(S,vt)|0,n=n+Math.imul(y,yt)|0,o=(o=o+Math.imul(y,wt)|0)+Math.imul(w,yt)|0,h=h+Math.imul(w,wt)|0;var Rt=(c+(n=n+Math.imul(d,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(d,St)|0)+Math.imul(m,Mt)|0))<<13)|0;c=((h=h+Math.imul(m,St)|0)+(o>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(G,X),o=(o=Math.imul(G,Z))+Math.imul(V,X)|0,h=Math.imul(V,Z),n=n+Math.imul(U,Q)|0,o=(o=o+Math.imul(U,tt)|0)+Math.imul(z,Q)|0,h=h+Math.imul(z,tt)|0,n=n+Math.imul(D,it)|0,o=(o=o+Math.imul(D,nt)|0)+Math.imul(B,it)|0,h=h+Math.imul(B,nt)|0,n=n+Math.imul(j,at)|0,o=(o=o+Math.imul(j,st)|0)+Math.imul(N,at)|0,h=h+Math.imul(N,st)|0,n=n+Math.imul(I,ut)|0,o=(o=o+Math.imul(I,lt)|0)+Math.imul(P,ut)|0,h=h+Math.imul(P,lt)|0,n=n+Math.imul(k,ft)|0,o=(o=o+Math.imul(k,pt)|0)+Math.imul(C,ft)|0,h=h+Math.imul(C,pt)|0,n=n+Math.imul(E,gt)|0,o=(o=o+Math.imul(E,vt)|0)+Math.imul(A,gt)|0,h=h+Math.imul(A,vt)|0,n=n+Math.imul(M,yt)|0,o=(o=o+Math.imul(M,wt)|0)+Math.imul(S,yt)|0,h=h+Math.imul(S,wt)|0;var jt=(c+(n=n+Math.imul(y,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(y,St)|0)+Math.imul(w,Mt)|0))<<13)|0;c=((h=h+Math.imul(w,St)|0)+(o>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(G,Q),o=(o=Math.imul(G,tt))+Math.imul(V,Q)|0,h=Math.imul(V,tt),n=n+Math.imul(U,it)|0,o=(o=o+Math.imul(U,nt)|0)+Math.imul(z,it)|0,h=h+Math.imul(z,nt)|0,n=n+Math.imul(D,at)|0,o=(o=o+Math.imul(D,st)|0)+Math.imul(B,at)|0,h=h+Math.imul(B,st)|0,n=n+Math.imul(j,ut)|0,o=(o=o+Math.imul(j,lt)|0)+Math.imul(N,ut)|0,h=h+Math.imul(N,lt)|0,n=n+Math.imul(I,ft)|0,o=(o=o+Math.imul(I,pt)|0)+Math.imul(P,ft)|0,h=h+Math.imul(P,pt)|0,n=n+Math.imul(k,gt)|0,o=(o=o+Math.imul(k,vt)|0)+Math.imul(C,gt)|0,h=h+Math.imul(C,vt)|0,n=n+Math.imul(E,yt)|0,o=(o=o+Math.imul(E,wt)|0)+Math.imul(A,yt)|0,h=h+Math.imul(A,wt)|0;var Nt=(c+(n=n+Math.imul(M,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(M,St)|0)+Math.imul(S,Mt)|0))<<13)|0;c=((h=h+Math.imul(S,St)|0)+(o>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul(G,it),o=(o=Math.imul(G,nt))+Math.imul(V,it)|0,h=Math.imul(V,nt),n=n+Math.imul(U,at)|0,o=(o=o+Math.imul(U,st)|0)+Math.imul(z,at)|0,h=h+Math.imul(z,st)|0,n=n+Math.imul(D,ut)|0,o=(o=o+Math.imul(D,lt)|0)+Math.imul(B,ut)|0,h=h+Math.imul(B,lt)|0,n=n+Math.imul(j,ft)|0,o=(o=o+Math.imul(j,pt)|0)+Math.imul(N,ft)|0,h=h+Math.imul(N,pt)|0,n=n+Math.imul(I,gt)|0,o=(o=o+Math.imul(I,vt)|0)+Math.imul(P,gt)|0,h=h+Math.imul(P,vt)|0,n=n+Math.imul(k,yt)|0,o=(o=o+Math.imul(k,wt)|0)+Math.imul(C,yt)|0,h=h+Math.imul(C,wt)|0;var Lt=(c+(n=n+Math.imul(E,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(E,St)|0)+Math.imul(A,Mt)|0))<<13)|0;c=((h=h+Math.imul(A,St)|0)+(o>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul(G,at),o=(o=Math.imul(G,st))+Math.imul(V,at)|0,h=Math.imul(V,st),n=n+Math.imul(U,ut)|0,o=(o=o+Math.imul(U,lt)|0)+Math.imul(z,ut)|0,h=h+Math.imul(z,lt)|0,n=n+Math.imul(D,ft)|0,o=(o=o+Math.imul(D,pt)|0)+Math.imul(B,ft)|0,h=h+Math.imul(B,pt)|0,n=n+Math.imul(j,gt)|0,o=(o=o+Math.imul(j,vt)|0)+Math.imul(N,gt)|0,h=h+Math.imul(N,vt)|0,n=n+Math.imul(I,yt)|0,o=(o=o+Math.imul(I,wt)|0)+Math.imul(P,yt)|0,h=h+Math.imul(P,wt)|0;var Dt=(c+(n=n+Math.imul(k,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(k,St)|0)+Math.imul(C,Mt)|0))<<13)|0;c=((h=h+Math.imul(C,St)|0)+(o>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(G,ut),o=(o=Math.imul(G,lt))+Math.imul(V,ut)|0,h=Math.imul(V,lt),n=n+Math.imul(U,ft)|0,o=(o=o+Math.imul(U,pt)|0)+Math.imul(z,ft)|0,h=h+Math.imul(z,pt)|0,n=n+Math.imul(D,gt)|0,o=(o=o+Math.imul(D,vt)|0)+Math.imul(B,gt)|0,h=h+Math.imul(B,vt)|0,n=n+Math.imul(j,yt)|0,o=(o=o+Math.imul(j,wt)|0)+Math.imul(N,yt)|0,h=h+Math.imul(N,wt)|0;var Bt=(c+(n=n+Math.imul(I,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(I,St)|0)+Math.imul(P,Mt)|0))<<13)|0;c=((h=h+Math.imul(P,St)|0)+(o>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul(G,ft),o=(o=Math.imul(G,pt))+Math.imul(V,ft)|0,h=Math.imul(V,pt),n=n+Math.imul(U,gt)|0,o=(o=o+Math.imul(U,vt)|0)+Math.imul(z,gt)|0,h=h+Math.imul(z,vt)|0,n=n+Math.imul(D,yt)|0,o=(o=o+Math.imul(D,wt)|0)+Math.imul(B,yt)|0,h=h+Math.imul(B,wt)|0;var Ft=(c+(n=n+Math.imul(j,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(j,St)|0)+Math.imul(N,Mt)|0))<<13)|0;c=((h=h+Math.imul(N,St)|0)+(o>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,n=Math.imul(G,gt),o=(o=Math.imul(G,vt))+Math.imul(V,gt)|0,h=Math.imul(V,vt),n=n+Math.imul(U,yt)|0,o=(o=o+Math.imul(U,wt)|0)+Math.imul(z,yt)|0,h=h+Math.imul(z,wt)|0;var Ut=(c+(n=n+Math.imul(D,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(D,St)|0)+Math.imul(B,Mt)|0))<<13)|0;c=((h=h+Math.imul(B,St)|0)+(o>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,n=Math.imul(G,yt),o=(o=Math.imul(G,wt))+Math.imul(V,yt)|0,h=Math.imul(V,wt);var qt=(c+(n=n+Math.imul(U,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(U,St)|0)+Math.imul(z,Mt)|0))<<13)|0;c=((h=h+Math.imul(z,St)|0)+(o>>>13)|0)+(qt>>>26)|0,qt&=67108863;var zt=(c+(n=Math.imul(G,Mt))|0)+((8191&(o=(o=Math.imul(G,St))+Math.imul(V,Mt)|0))<<13)|0;return c=((h=Math.imul(V,St))+(o>>>13)|0)+(zt>>>26)|0,zt&=67108863,l[0]=xt,l[1]=Et,l[2]=At,l[3]=Tt,l[4]=kt,l[5]=Ct,l[6]=Ot,l[7]=It,l[8]=Pt,l[9]=Rt,l[10]=jt,l[11]=Nt,l[12]=Lt,l[13]=Dt,l[14]=Bt,l[15]=Ft,l[16]=Ut,l[17]=qt,l[18]=zt,0!==c&&(l[19]=c,r.length++),r};function _(t,e,r){return(new M).mulp(t,e,r)}function M(t,e){this.x=t,this.y=e}Math.imul||(w=y),h.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?w(this,t,e):r<63?y(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,o=0,h=0;h<r.length-1;h++){var l=o;o=0;for(var c=67108863&n,f=Math.min(h,e.length-1),d=Math.max(0,h-t.length+1);d<=f;d++){var i=h-d,m=(0|t.words[i])*(0|e.words[d]),v=67108863&m;c=67108863&(v=v+c|0),o+=(l=(l=l+(m/67108864|0)|0)+(v>>>26)|0)>>>26,l&=67108863}r.words[h]=c,n=l,l=o}return 0!==n?r.words[h]=n:r.length--,r.strip()}(this,t,e):_(this,t,e)},M.prototype.makeRBT=function(t){for(var e=new Array(t),r=h.prototype._countBits(t)-1,i=0;i<t;i++)e[i]=this.revBin(i,r,t);return e},M.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},M.prototype.permute=function(t,e,r,n,o,h){for(var i=0;i<h;i++)n[i]=e[t[i]],o[i]=r[t[i]]},M.prototype.transform=function(t,e,r,n,o,h){this.permute(h,t,e,r,n,o);for(var s=1;s<o;s<<=1)for(var l=s<<1,c=Math.cos(2*Math.PI/l),f=Math.sin(2*Math.PI/l),p=0;p<o;p+=l)for(var d=c,m=f,v=0;v<s;v++){var y=r[p+v],w=n[p+v],_=r[p+v+s],M=n[p+v+s],S=d*_-m*M;M=d*M+m*_,_=S,r[p+v]=y+_,n[p+v]=w+M,r[p+v+s]=y-_,n[p+v+s]=w-M,v!==l&&(S=c*d-f*m,m=c*m+f*d,d=S)}},M.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},M.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var i=0;i<r/2;i++){var n=t[i];t[i]=t[r-i-1],t[r-i-1]=n,n=e[i],e[i]=-e[r-i-1],e[r-i-1]=-n}},M.prototype.normalize13b=function(t,e){for(var r=0,i=0;i<e/2;i++){var n=8192*Math.round(t[2*i+1]/e)+Math.round(t[2*i]/e)+r;t[i]=67108863&n,r=n<67108864?0:n/67108864|0}return t},M.prototype.convert13b=function(t,e,r,o){for(var h=0,i=0;i<e;i++)h+=0|t[i],r[2*i]=8191&h,h>>>=13,r[2*i+1]=8191&h,h>>>=13;for(i=2*e;i<o;++i)r[i]=0;n(0===h),n(0==(-8192&h))},M.prototype.stub=function(t){for(var e=new Array(t),i=0;i<t;i++)e[i]=0;return e},M.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),o=this.makeRBT(n),h=this.stub(n),l=new Array(n),c=new Array(n),f=new Array(n),d=new Array(n),m=new Array(n),v=new Array(n),y=r.words;y.length=n,this.convert13b(t.words,t.length,l,n),this.convert13b(e.words,e.length,d,n),this.transform(l,h,c,f,n,o),this.transform(d,h,m,v,n,o);for(var i=0;i<n;i++){var w=c[i]*m[i]-f[i]*v[i];f[i]=c[i]*v[i]+f[i]*m[i],c[i]=w}return this.conjugate(c,f,n),this.transform(c,f,y,h,n,o),this.conjugate(y,h,n),this.normalize13b(y,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},h.prototype.mul=function(t){var e=new h(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},h.prototype.mulf=function(t){var e=new h(null);return e.words=new Array(this.length+t.length),_(this,t,e)},h.prototype.imul=function(t){return this.clone().mulTo(t,this)},h.prototype.imuln=function(t){n("number"==typeof t),n(t<67108864);for(var e=0,i=0;i<this.length;i++){var r=(0|this.words[i])*t,o=(67108863&r)+(67108863&e);e>>=26,e+=r/67108864|0,e+=o>>>26,this.words[i]=67108863&o}return 0!==e&&(this.words[i]=e,this.length++),this},h.prototype.muln=function(t){return this.clone().imuln(t)},h.prototype.sqr=function(){return this.mul(this)},h.prototype.isqr=function(){return this.imul(this.clone())},h.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,o=r%26;e[r]=(t.words[n]&1<<o)>>>o}return e}(t);if(0===e.length)return new h(1);for(var r=this,i=0;i<e.length&&0===e[i];i++,r=r.sqr());if(++i<e.length)for(var q=r.sqr();i<e.length;i++,q=q.sqr())0!==e[i]&&(r=r.mul(q));return r},h.prototype.iushln=function(t){n("number"==typeof t&&t>=0);var i,e=t%26,s=(t-e)/26,r=67108863>>>26-e<<26-e;if(0!==e){var o=0;for(i=0;i<this.length;i++){var h=this.words[i]&r,l=(0|this.words[i])-h<<e;this.words[i]=l|o,o=h>>>26-e}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()},h.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},h.prototype.iushrn=function(t,e,r){var o;n("number"==typeof t&&t>=0),o=e?(e-e%26)/26:0;var h=t%26,s=Math.min((t-h)/26,this.length),mask=67108863^67108863>>>h<<h,l=r;if(o-=s,o=Math.max(0,o),l){for(var i=0;i<s;i++)l.words[i]=this.words[i];l.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 c=0;for(i=this.length-1;i>=0&&(0!==c||i>=o);i--){var f=0|this.words[i];this.words[i]=c<<26-h|f>>>h,c=f&mask}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},h.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},h.prototype.shln=function(t){return this.clone().ishln(t)},h.prototype.ushln=function(t){return this.clone().iushln(t)},h.prototype.shrn=function(t){return this.clone().ishrn(t)},h.prototype.ushrn=function(t){return this.clone().iushrn(t)},h.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26,q=1<<e;return!(this.length<=s)&&!!(this.words[s]&q)},h.prototype.imaskn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==e&&s++,this.length=Math.min(s,this.length),0!==e){var mask=67108863^67108863>>>e<<e;this.words[this.length-1]&=mask}return this.strip()},h.prototype.maskn=function(t){return this.clone().imaskn(t)},h.prototype.iaddn=function(t){return n("number"==typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},h.prototype._iaddn=function(t){this.words[0]+=t;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},h.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,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()},h.prototype.addn=function(t){return this.clone().iaddn(t)},h.prototype.subn=function(t){return this.clone().isubn(t)},h.prototype.iabs=function(){return this.negative=0,this},h.prototype.abs=function(){return this.clone().iabs()},h.prototype._ishlnsubmul=function(t,e,r){var i,o,h=t.length+r;this._expand(h);var l=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+l;var c=(0|t.words[i])*e;l=((o-=67108863&c)>>26)-(c/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)l=(o=(0|this.words[i+r])+l)>>26,this.words[i+r]=67108863&o;if(0===l)return this.strip();for(n(-1===l),l=0,i=0;i<this.length;i++)l=(o=-(0|this.words[i])+l)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},h.prototype._wordDiv=function(t,e){var r=(this.length,t.length),a=this.clone(),b=t,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"!==e){(q=new h(null)).length=o+1,q.words=new Array(q.length);for(var i=0;i<q.length;i++)q.words[i]=0}var l=a.clone()._ishlnsubmul(b,1,o);0===l.negative&&(a=l,q&&(q.words[o]=1));for(var c=o-1;c>=0;c--){var f=67108864*(0|a.words[b.length+c])+(0|a.words[b.length+c-1]);for(f=Math.min(f/n|0,67108863),a._ishlnsubmul(b,f,c);0!==a.negative;)f--,a.negative=0,a._ishlnsubmul(b,1,c),a.isZero()||(a.negative^=1);q&&(q.words[c]=f)}return q&&q.strip(),a.strip(),"div"!==e&&0!==r&&a.iushrn(r),{div:q||null,mod:a}},h.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new h(0),mod:new h(0)}:0!==this.negative&&0===t.negative?(l=this.neg().divmod(t,e),"mod"!==e&&(div=l.div.neg()),"div"!==e&&(o=l.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:div,mod:o}):0===this.negative&&0!==t.negative?(l=this.divmod(t.neg(),e),"mod"!==e&&(div=l.div.neg()),{div:div,mod:l.mod}):0!=(this.negative&t.negative)?(l=this.neg().divmod(t.neg(),e),"div"!==e&&(o=l.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:l.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new h(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new h(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new h(this.modn(t.words[0]))}:this._wordDiv(t,e);var div,o,l},h.prototype.div=function(t){return this.divmod(t,"div",!1).div},h.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},h.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},h.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),o=t.andln(1),h=r.cmp(n);return h<0||1===o&&0===h?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},h.prototype.modn=function(t){n(t<=67108863);for(var p=(1<<26)%t,e=0,i=this.length-1;i>=0;i--)e=(p*e+(0|this.words[i]))%t;return e},h.prototype.idivn=function(t){n(t<=67108863);for(var e=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+67108864*e;this.words[i]=r/t|0,e=r%t}return this.strip()},h.prototype.divn=function(t){return this.clone().idivn(t)},h.prototype.egcd=function(p){n(0===p.negative),n(!p.isZero());var t=this,e=p.clone();t=0!==t.negative?t.umod(p):t.clone();for(var r=new h(1),o=new h(0),l=new h(0),c=new h(1),g=0;t.isEven()&&e.isEven();)t.iushrn(1),e.iushrn(1),++g;for(var f=e.clone(),d=t.clone();!t.isZero();){for(var i=0,m=1;0==(t.words[0]&m)&&i<26;++i,m<<=1);if(i>0)for(t.iushrn(i);i-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(f),o.isub(d)),r.iushrn(1),o.iushrn(1);for(var v=0,y=1;0==(e.words[0]&y)&&v<26;++v,y<<=1);if(v>0)for(e.iushrn(v);v-- >0;)(l.isOdd()||c.isOdd())&&(l.iadd(f),c.isub(d)),l.iushrn(1),c.iushrn(1);t.cmp(e)>=0?(t.isub(e),r.isub(l),o.isub(c)):(e.isub(t),l.isub(r),c.isub(o))}return{a:l,b:c,gcd:e.iushln(g)}},h.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 t,e=new h(1),r=new h(0),o=b.clone();a.cmpn(1)>0&&b.cmpn(1)>0;){for(var i=0,l=1;0==(a.words[0]&l)&&i<26;++i,l<<=1);if(i>0)for(a.iushrn(i);i-- >0;)e.isOdd()&&e.iadd(o),e.iushrn(1);for(var c=0,f=1;0==(b.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(b.iushrn(c);c-- >0;)r.isOdd()&&r.iadd(o),r.iushrn(1);a.cmp(b)>=0?(a.isub(b),e.isub(r)):(b.isub(a),r.isub(e))}return(t=0===a.cmpn(1)?e:r).cmpn(0)<0&&t.iadd(p),t},h.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var a=this.clone(),b=t.clone();a.negative=0,b.negative=0;for(var e=0;a.isEven()&&b.isEven();e++)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(e)},h.prototype.invm=function(t){return this.egcd(t).a.umod(t)},h.prototype.isEven=function(){return 0==(1&this.words[0])},h.prototype.isOdd=function(){return 1==(1&this.words[0])},h.prototype.andln=function(t){return this.words[0]&t},h.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,s=(t-e)/26,q=1<<e;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},h.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},h.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var o=0|this.words[0];e=o===t?0:o<t?-1:1}return 0!==this.negative?0|-e:e},h.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},h.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,i=this.length-1;i>=0;i--){var a=0|this.words[i],b=0|t.words[i];if(a!==b){a<b?e=-1:a>b&&(e=1);break}}return e},h.prototype.gtn=function(t){return 1===this.cmpn(t)},h.prototype.gt=function(t){return 1===this.cmp(t)},h.prototype.gten=function(t){return this.cmpn(t)>=0},h.prototype.gte=function(t){return this.cmp(t)>=0},h.prototype.ltn=function(t){return-1===this.cmpn(t)},h.prototype.lt=function(t){return-1===this.cmp(t)},h.prototype.lten=function(t){return this.cmpn(t)<=0},h.prototype.lte=function(t){return this.cmp(t)<=0},h.prototype.eqn=function(t){return 0===this.cmpn(t)},h.prototype.eq=function(t){return 0===this.cmp(t)},h.red=function(t){return new C(t)},h.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},h.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},h.prototype._forceRed=function(t){return this.red=t,this},h.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},h.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},h.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},h.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},h.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},h.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},h.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},h.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},h.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},h.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},h.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},h.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},h.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},h.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var S={k256:null,p224:null,p192:null,p25519:null};function x(t,p){this.name=t,this.p=new h(p,16),this.n=this.p.bitLength(),this.k=new h(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function E(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function A(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function T(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function k(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(t){if("string"==typeof t){var e=h._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function O(t){C.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new h(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)}x.prototype._tmp=function(){var t=new h(null);return t.words=new Array(Math.ceil(this.n/13)),t},x.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<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},x.prototype.split=function(input,t){input.iushrn(this.n,0,t)},x.prototype.imulK=function(t){return t.imul(this.k)},o(E,x),E.prototype.split=function(input,output){for(var t=Math.min(input.length,9),i=0;i<t;i++)output.words[i]=input.words[i];if(output.length=t,input.length<=9)return input.words[0]=0,void(input.length=1);var e=input.words[9];for(output.words[output.length++]=4194303&e,i=10;i<input.length;i++){var r=0|input.words[i];input.words[i-10]=(4194303&r)<<4|e>>>22,e=r}e>>>=22,input.words[i-10]=e,0===e&&input.length>10?input.length-=10:input.length-=9},E.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,i=0;i<t.length;i++){var r=0|t.words[i];e+=977*r,t.words[i]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},o(A,x),o(T,x),o(k,x),k.prototype.imulK=function(t){for(var e=0,i=0;i<t.length;i++){var r=19*(0|t.words[i])+e,n=67108863&r;r>>>=26,t.words[i]=n,e=r}return 0!==e&&(t.words[t.length++]=e),t},h._prime=function(t){if(S[t])return S[t];var e;if("k256"===t)e=new E;else if("p224"===t)e=new A;else if("p192"===t)e=new T;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new k}return S[t]=e,e},C.prototype._verify1=function(a){n(0===a.negative,"red works only with positives"),n(a.red,"red works only with red numbers")},C.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")},C.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.umod(this.m)._forceRed(this)},C.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},C.prototype.add=function(a,b){this._verify2(a,b);var t=a.add(b);return t.cmp(this.m)>=0&&t.isub(this.m),t._forceRed(this)},C.prototype.iadd=function(a,b){this._verify2(a,b);var t=a.iadd(b);return t.cmp(this.m)>=0&&t.isub(this.m),t},C.prototype.sub=function(a,b){this._verify2(a,b);var t=a.sub(b);return t.cmpn(0)<0&&t.iadd(this.m),t._forceRed(this)},C.prototype.isub=function(a,b){this._verify2(a,b);var t=a.isub(b);return t.cmpn(0)<0&&t.iadd(this.m),t},C.prototype.shl=function(a,t){return this._verify1(a),this.imod(a.ushln(t))},C.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},C.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},C.prototype.isqr=function(a){return this.imul(a,a.clone())},C.prototype.sqr=function(a){return this.mul(a,a)},C.prototype.sqrt=function(a){if(a.isZero())return a.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var e=this.m.add(new h(1)).iushrn(2);return this.pow(a,e)}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 h(1).toRed(this),o=r.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new h(2*c*c).toRed(this);0!==this.pow(c,l).cmp(o);)c.redIAdd(o);for(var f=this.pow(c,q),d=this.pow(a,q.addn(1).iushrn(1)),m=this.pow(a,q),v=s;0!==m.cmp(r);){for(var y=m,i=0;0!==y.cmp(r);i++)y=y.redSqr();n(i<v);var b=this.pow(f,new h(1).iushln(v-i-1));d=d.redMul(b),f=b.redSqr(),m=m.redMul(f),v=i}return d},C.prototype.invm=function(a){var t=a._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},C.prototype.pow=function(a,t){if(t.isZero())return new h(1).toRed(this);if(0===t.cmpn(1))return a.clone();var e=new Array(16);e[0]=new h(1).toRed(this),e[1]=a;for(var i=2;i<e.length;i++)e[i]=this.mul(e[i-1],a);var r=e[0],n=0,o=0,l=t.bitLength()%26;for(0===l&&(l=26),i=t.length-1;i>=0;i--){for(var c=t.words[i],f=l-1;f>=0;f--){var d=c>>f&1;r!==e[0]&&(r=this.sqr(r)),0!==d||0!==n?(n<<=1,n|=d,(4===++o||0===i&&0===f)&&(r=this.mul(r,e[n]),o=0,n=0)):o=0}l=26}return r},C.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},C.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},h.mont=function(t){return new O(t)},o(O,C),O.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},O.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},O.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;var t=a.imul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).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 h(0)._forceRed(this);var t=a.mul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).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)}}(t,this)}).call(this,r(143)(t))},function(t){t.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"⁡","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"⁡","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ﬃ","fflig":"ﬀ","ffllig":"ﬄ","Ffr":"𝔉","ffr":"𝔣","filig":"ﬁ","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"ﬂ","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"Ĳ","ijlig":"ĳ","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ŉ","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},function(t){t.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},function(t,e,r){"use strict";let{red:n,bold:o,gray:h,options:l}=r(854),c=r(580);class f extends Error{constructor(t,line,e,source,r,n){super(t),this.name="CssSyntaxError",this.reason=t,r&&(this.file=r),source&&(this.source=source),n&&(this.plugin=n),void 0!==line&&void 0!==e&&(this.line=line,this.column=e),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,f)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(t){if(!this.source)return"";let e=this.source;null==t&&(t=l.enabled),c&&t&&(e=c(e));let mark,aside,r=e.split(/\r?\n/),f=Math.max(this.line-3,0),d=Math.min(this.line+2,r.length),m=String(d).length;return t?(mark=text=>o(n(text)),aside=text=>h(text)):mark=aside=t=>t,r.slice(f,d).map((line,t)=>{let e=f+1+t,r=" "+(" "+e).slice(-m)+" | ";if(e===this.line){let t=aside(r.replace(/\d/g," "))+line.slice(0,this.column-1).replace(/[^\t]/g," ");return mark(">")+aside(r)+line+"\n "+t+mark("^")}return" "+aside(r)+line}).join("\n")}toString(){let code=this.showSourceCode();return code&&(code="\n\n"+code+"\n"),this.name+": "+this.message+code}}t.exports=f,f.default=f},function(t,e,r){"use strict";t.exports.isClean=Symbol("isClean")},function(t,e,r){"use strict";let n=r(581);function o(t,e){new n(e).stringify(t)}t.exports=o,o.default=o},,,function(t,e,r){"use strict";let n=r(194);class o extends n{constructor(t){super(t),this.type="atrule"}append(...t){return this.proxyOf.nodes||(this.nodes=[]),super.append(...t)}prepend(...t){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...t)}}t.exports=o,o.default=o,n.registerAtRule(o)},function(t,e,r){"use strict";let n=r(194),o=r(587);class h extends n{constructor(t){super(t),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return o.comma(this.selector)}set selectors(t){let e=this.selector?this.selector.match(/,\s*/):null,r=e?e[0]:","+this.raw("between","beforeOpen");this.selector=t.join(r)}}t.exports=h,h.default=h,n.registerRule(h)},function(t,e,r){"use strict";let{SourceMapConsumer:n,SourceMapGenerator:o}=r(352),{fileURLToPath:h,pathToFileURL:l}=r(583),{resolve:c,isAbsolute:f}=r(353),{nanoid:d}=r(859),m=r(580),v=r(349),y=r(588),w=Symbol("fromOffset cache"),_=Boolean(n&&o),M=Boolean(c&&f);class S{constructor(t,e={}){if(null==t||"object"==typeof t&&!t.toString)throw new Error(`PostCSS received ${t} instead of CSS string`);if(this.css=t.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,e.from&&(!M||/^\w+:\/\//.test(e.from)||f(e.from)?this.file=e.from:this.file=c(e.from)),M&&_){let map=new y(this.css,e);if(map.text){this.map=map;let t=map.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id="<input css "+d(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(t){let e,r;if(this[w])r=this[w];else{let t=this.css.split("\n");r=new Array(t.length);let e=0;for(let i=0,n=t.length;i<n;i++)r[i]=e,e+=t[i].length+1;this[w]=r}e=r[r.length-1];let n=0;if(t>=e)n=r.length-1;else{let e,o=r.length-2;for(;n<o;)if(e=n+(o-n>>1),t<r[e])o=e-1;else{if(!(t>=r[e+1])){n=e;break}n=e+1}}return{line:n+1,col:t-r[n]+1}}error(t,line,e,r={}){let n;if(!e){let t=this.fromOffset(line);line=t.line,e=t.col}let o=this.origin(line,e);return n=o?new v(t,o.line,o.column,o.source,o.file,r.plugin):new v(t,line,e,this.css,this.file,r.plugin),n.input={line:line,column:e,source:this.css},this.file&&(l&&(n.input.url=l(this.file).toString()),n.input.file=this.file),n}origin(line,t){if(!this.map)return!1;let e,r=this.map.consumer(),n=r.originalPositionFor({line:line,column:t});if(!n.source)return!1;e=f(n.source)?l(n.source):new URL(n.source,this.map.consumer().sourceRoot||l(this.map.mapFile));let o={url:e.toString(),line:n.line,column:n.column};if("file:"===e.protocol){if(!h)throw new Error("file: protocol is not available in this PostCSS build");o.file=h(e)}let source=r.sourceContentFor(n.source);return source&&(o.source=source),o}mapResolve(t){return/^\w+:\/\//.test(t)?t:c(this.map.consumer().sourceRoot||this.map.root||".",t)}get from(){return this.file||this.id}toJSON(){let t={};for(let e of["hasBOM","css","file","id"])null!=this[e]&&(t[e]=this[e]);return this.map&&(t.map={...this.map},t.map.consumerCache&&(t.map.consumerCache=void 0)),t}}t.exports=S,S.default=S,m&&m.registerInput&&m.registerInput(S)},function(t,e,r){"use strict";let n,o,h=r(194);class l extends h{constructor(t){super({type:"document",...t}),this.nodes||(this.nodes=[])}toResult(t={}){return new n(new o,this,t).stringify()}}l.registerLazyResult=t=>{n=t},l.registerProcessor=t=>{o=t},t.exports=l,l.default=l},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DD=void 0;var n=r(47),o=r(52);e.DD={get isDragging(){var t=!1;return e.DD._dragElements.forEach((function(e){"dragging"===e.dragStatus&&(t=!0)})),t},justDragged:!1,get node(){var t;return e.DD._dragElements.forEach((function(e){t=e.node})),t},_dragElements:new Map,_drag:function(t){var r=[];e.DD._dragElements.forEach((function(e,n){var h=e.node,l=h.getStage();l.setPointersPositions(t),void 0===e.pointerId&&(e.pointerId=o.Util._getFirstPointerId(t));var c=l._changedPointerPositions.find((function(t){return t.id===e.pointerId}));if(c){if("dragging"!==e.dragStatus){var f=h.dragDistance();if(Math.max(Math.abs(c.x-e.startPointerPos.x),Math.abs(c.y-e.startPointerPos.y))<f)return;if(h.startDrag({evt:t}),!h.isDragging())return}h._setDragPosition(t,e),r.push(h)}})),r.forEach((function(e){e.fire("dragmove",{type:"dragmove",target:e,evt:t},!0)}))},_endDragBefore:function(t){e.DD._dragElements.forEach((function(r,o){var h=r.node.getStage();if(t&&h.setPointersPositions(t),h._changedPointerPositions.find((function(t){return t.id===r.pointerId}))){"dragging"!==r.dragStatus&&"stopped"!==r.dragStatus||(e.DD.justDragged=!0,n.Konva.listenClickTap=!1,r.dragStatus="stopped");var l=r.node.getLayer()||r.node instanceof n.Konva.Stage&&r.node;l&&l.batchDraw()}}))},_endDragAfter:function(t){e.DD._dragElements.forEach((function(r,n){"stopped"===r.dragStatus&&r.node.fire("dragend",{type:"dragend",target:r.node,evt:t},!0),"dragging"!==r.dragStatus&&e.DD._dragElements.delete(n)}))}},n.Konva.isBrowser&&(window.addEventListener("mouseup",e.DD._endDragBefore,!0),window.addEventListener("touchend",e.DD._endDragBefore,!0),window.addEventListener("mousemove",e.DD._drag),window.addEventListener("touchmove",e.DD._drag),window.addEventListener("mouseup",e.DD._endDragAfter,!1),window.addEventListener("touchend",e.DD._endDragAfter,!1))},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)},function(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0}),e.Group=void 0;var h=r(52),l=r(281),c=r(47),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype._validateAdd=function(t){var e=t.getType();"Group"!==e&&"Shape"!==e&&h.Util.throw("You may only add groups and shapes to groups.")},e}(l.Container);e.Group=f,f.prototype.nodeType="Group",c._registerNode(f),h.Collection.mapMethods(f)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Animation=void 0;var n=r(47),o=n.glob.performance&&n.glob.performance.now?function(){return n.glob.performance.now()}:function(){return(new Date).getTime()},h=function(){function t(e,r){this.id=t.animIdCounter++,this.frame={time:0,timeDiff:0,lastTime:o(),frameRate:0},this.func=e,this.setLayers(r)}return t.prototype.setLayers=function(t){var e=[];return e=t?t.length>0?t:[t]:[],this.layers=e,this},t.prototype.getLayers=function(){return this.layers},t.prototype.addLayer=function(t){var e,r=this.layers,n=r.length;for(e=0;e<n;e++)if(r[e]._id===t._id)return!1;return this.layers.push(t),!0},t.prototype.isRunning=function(){var e,r=t.animations,n=r.length;for(e=0;e<n;e++)if(r[e].id===this.id)return!0;return!1},t.prototype.start=function(){return this.stop(),this.frame.timeDiff=0,this.frame.lastTime=o(),t._addAnimation(this),this},t.prototype.stop=function(){return t._removeAnimation(this),this},t.prototype._updateFrameObject=function(time){this.frame.timeDiff=time-this.frame.lastTime,this.frame.lastTime=time,this.frame.time+=this.frame.timeDiff,this.frame.frameRate=1e3/this.frame.timeDiff},t._addAnimation=function(t){this.animations.push(t),this._handleAnimation()},t._removeAnimation=function(t){var e,r=t.id,n=this.animations,o=n.length;for(e=0;e<o;e++)if(n[e].id===r){this.animations.splice(e,1);break}},t._runFrames=function(){var t,e,r,n,i,h,l,c,f={},d=this.animations;for(n=0;n<d.length;n++)if(e=(t=d[n]).layers,r=t.func,t._updateFrameObject(o()),h=e.length,!r||!1!==r.call(t,t.frame))for(i=0;i<h;i++)void 0!==(l=e[i])._id&&(f[l._id]=l);for(c in f)f.hasOwnProperty(c)&&f[c].draw()},t._animationLoop=function(){var e=t;e.animations.length?(e._runFrames(),requestAnimationFrame(e._animationLoop)):e.animRunning=!1},t._handleAnimation=function(){this.animRunning||(this.animRunning=!0,requestAnimationFrame(this._animationLoop))},t.animations=[],t.animIdCounter=0,t.animRunning=!1,t}();e.Animation=h},function(t,e,r){var n=r(362),o=r(612);e.FALLBACK_CHARACTER=63;var h=e.HAS_TYPED="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array,l=!1,c=!1;try{"a"===String.fromCharCode.apply(null,[97])&&(l=!0)}catch(t){}if(h)try{"a"===String.fromCharCode.apply(null,new Uint8Array([97]))&&(c=!0)}catch(t){}e.CAN_CHARCODE_APPLY=l,e.CAN_CHARCODE_APPLY_TYPED=c,e.APPLY_BUFFER_SIZE=65533,e.APPLY_BUFFER_SIZE_OK=null;var f=e.EncodingNames={UTF32:{order:0},UTF32BE:{alias:["UCS4"]},UTF32LE:null,UTF16:{order:1},UTF16BE:{alias:["UCS2"]},UTF16LE:null,BINARY:{order:2},ASCII:{order:3,alias:["ISO646","CP367"]},JIS:{order:4,alias:["ISO2022JP"]},UTF8:{order:5},EUCJP:{order:6},SJIS:{order:7,alias:["CP932","MSKANJI","WINDOWS31J"]},UNICODE:{order:8}},d={};e.EncodingAliases=d,e.EncodingOrders=function(){for(var t,e,r,o,h=d,l=n.objectKeys(f),c=[],i=0,m=l.length;i<m;i++)if(h[t=l[i]]=t,null!=(e=f[t])&&(null!=e.order&&(c[c.length]=t),e.alias))for(r=0,o=e.alias.length;r<o;r++)h[e.alias[r]]=t;return c.sort((function(a,b){return f[a].order-f[b].order})),c}(),e.init_JIS_TO_UTF8_TABLE=function(){if(null===o.JIS_TO_UTF8_TABLE){o.JIS_TO_UTF8_TABLE={};for(var t,e,r=n.objectKeys(o.UTF8_TO_JIS_TABLE),i=0,h=r.length;i<h;i++)t=r[i],(e=o.UTF8_TO_JIS_TABLE[t])>95&&(o.JIS_TO_UTF8_TABLE[e]=0|t);for(o.JISX0212_TO_UTF8_TABLE={},h=(r=n.objectKeys(o.UTF8_TO_JISX0212_TABLE)).length,i=0;i<h;i++)t=r[i],e=o.UTF8_TO_JISX0212_TABLE[t],o.JISX0212_TO_UTF8_TABLE[e]=0|t}}},function(t,e,r){var n=r(361),o=String.fromCharCode,h=Array.prototype.slice,l=Object.prototype.toString,c=Object.prototype.hasOwnProperty,f=Array.isArray,d=Object.keys;function m(t){return f?f(t):"[object Array]"===l.call(t)}function v(object){if(d)return d(object);var t=[];for(var e in object)c.call(object,e)&&(t[t.length]=e);return t}function y(t,e){if(n.HAS_TYPED)switch(t){case 8:return new Uint8Array(e);case 16:return new Uint16Array(e)}return new Array(e)}function w(code){if(n.CAN_CHARCODE_APPLY&&n.CAN_CHARCODE_APPLY_TYPED){var t=code&&code.length;if(t<n.APPLY_BUFFER_SIZE&&n.APPLY_BUFFER_SIZE_OK)return o.apply(null,code);if(null===n.APPLY_BUFFER_SIZE_OK)try{var s=o.apply(null,code);return t>n.APPLY_BUFFER_SIZE&&(n.APPLY_BUFFER_SIZE_OK=!0),s}catch(t){n.APPLY_BUFFER_SIZE_OK=!1}}return _(code)}function _(code){for(var sub,t="",e=code&&code.length,i=0;i<e;){if(sub=code.subarray?code.subarray(i,i+n.APPLY_BUFFER_SIZE):code.slice(i,i+n.APPLY_BUFFER_SIZE),i+=n.APPLY_BUFFER_SIZE,!n.APPLY_BUFFER_SIZE_OK){if(null===n.APPLY_BUFFER_SIZE_OK)try{t+=o.apply(null,sub),sub.length>n.APPLY_BUFFER_SIZE&&(n.APPLY_BUFFER_SIZE_OK=!0);continue}catch(t){n.APPLY_BUFFER_SIZE_OK=!1}return M(code)}t+=o.apply(null,sub)}return t}function M(code){for(var t="",e=code&&code.length,i=0;i<e;i++)t+=o(code[i]);return t}e.isObject=function(t){var e=typeof t;return"function"===e||"object"===e&&!!t},e.isArray=m,e.isString=function(t){return"string"==typeof t||"[object String]"===l.call(t)},e.objectKeys=v,e.createBuffer=y,e.stringToBuffer=function(t){for(var e=t.length,r=y(16,e),i=0;i<e;i++)r[i]=t.charCodeAt(i);return r},e.codeToString_fast=w,e.codeToString_chunked=_,e.codeToString_slow=M,e.stringToCode=function(t){for(var code=[],e=t&&t.length,i=0;i<e;i++)code[i]=t.charCodeAt(i);return code},e.codeToBuffer=function(code){if(n.HAS_TYPED)return new Uint16Array(code);if(m(code))return code;for(var t=code&&code.length,e=[],i=0;i<t;i++)e[i]=code[i];return e},e.bufferToCode=function(t){return m(t)?t:h.call(t)},e.canonicalizeEncodingName=function(t){for(var e,r,o,h="",l=(""+t).toUpperCase().replace(/[^A-Z0-9]+/g,""),f=v(n.EncodingAliases),d=f.length,m=0,i=0;i<d;i++){if((e=f[i])===l){h=e;break}for(r=e.length,o=m;o<r;o++)e.slice(0,o)!==l.slice(0,o)&&e.slice(-o)!==l.slice(-o)||(h=e,m=o)}return c.call(n.EncodingAliases,h)?n.EncodingAliases[h]:h};var S=[65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,48,49,50,51,52,53,54,55,56,57,43,47],x=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-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,-1,-1,-1,-1,-1],E="=".charCodeAt(0);e.base64encode=function(data){var t,i,e,r,n,o;for(e=data&&data.length,i=0,t=[];i<e;){if(r=data[i++],i==e){t[t.length]=S[r>>2],t[t.length]=S[(3&r)<<4],t[t.length]=E,t[t.length]=E;break}if(n=data[i++],i==e){t[t.length]=S[r>>2],t[t.length]=S[(3&r)<<4|(240&n)>>4],t[t.length]=S[(15&n)<<2],t[t.length]=E;break}o=data[i++],t[t.length]=S[r>>2],t[t.length]=S[(3&r)<<4|(240&n)>>4],t[t.length]=S[(15&n)<<2|(192&o)>>6],t[t.length]=S[63&o]}return w(t)},e.base64decode=function(t){var e,r,n,o,i,h,l;for(h=t&&t.length,i=0,l=[];i<h;){do{e=x[255&t.charCodeAt(i++)]}while(i<h&&-1==e);if(-1==e)break;do{r=x[255&t.charCodeAt(i++)]}while(i<h&&-1==r);if(-1==r)break;l[l.length]=e<<2|(48&r)>>4;do{if(61==(n=255&t.charCodeAt(i++)))return l;n=x[n]}while(i<h&&-1==n);if(-1==n)break;l[l.length]=(15&r)<<4|(60&n)>>2;do{if(61==(o=255&t.charCodeAt(i++)))return l;o=x[o]}while(i<h&&-1==o);if(-1==o)break;l[l.length]=(3&n)<<6|o}return l}},function(t,e,r){"use strict";var n,o,h,l=r(29),c=r(27),f=r(21);function d(){return n||(n=function(){var t=Object(l.b)(),e=Object(l.a)();return{touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch),pointerEvents:!!t.PointerEvent&&"maxTouchPoints"in t.navigator&&t.navigator.maxTouchPoints>=0,observer:"MutationObserver"in t||"WebkitMutationObserver"in t,passiveListener:function(){var e=!1;try{var r=Object.defineProperty({},"passive",{get:function(){e=!0}});t.addEventListener("testPassiveListener",null,r)}catch(t){}return e}(),gestures:"ongesturestart"in t}}()),n}function m(t){return void 0===t&&(t={}),o||(o=function(t){var e=(void 0===t?{}:t).userAgent,r=d(),n=Object(l.b)(),o=n.navigator.platform,h=e||n.navigator.userAgent,c={ios:!1,android:!1},f=n.screen.width,m=n.screen.height,v=h.match(/(Android);?[\s\/]+([\d.]+)?/),y=h.match(/(iPad).*OS\s([\d_]+)/),w=h.match(/(iPod)(.*OS\s([\d_]+))?/),_=!y&&h.match(/(iPhone\sOS|iOS)\s([\d_]+)/),M="Win32"===o,S="MacIntel"===o;return!y&&S&&r.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(f+"x"+m)>=0&&((y=h.match(/(Version)\/([\d.]+)/))||(y=[0,1,"13_0_0"]),S=!1),v&&!M&&(c.os="android",c.android=!0),(y||_||w)&&(c.os="ios",c.ios=!0),c}(t)),o}function v(){return h||(h=function(){var t,e=Object(l.b)();return{isEdge:!!e.navigator.userAgent.match(/Edge/g),isSafari:(t=e.navigator.userAgent.toLowerCase(),t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),h}var y={name:"resize",create:function(){var t=this;Object(f.e)(t,{resize:{observer:null,createObserver:function(){t&&!t.destroyed&&t.initialized&&(t.resize.observer=new ResizeObserver((function(e){var r=t.width,n=t.height,o=r,h=n;e.forEach((function(e){var r=e.contentBoxSize,n=e.contentRect,l=e.target;l&&l!==t.el||(o=n?n.width:(r[0]||r).inlineSize,h=n?n.height:(r[0]||r).blockSize)})),o===r&&h===n||t.resize.resizeHandler()})),t.resize.observer.observe(t.el))},removeObserver:function(){t.resize.observer&&t.resize.observer.unobserve&&t.el&&(t.resize.observer.unobserve(t.el),t.resize.observer=null)},resizeHandler:function(){t&&!t.destroyed&&t.initialized&&(t.emit("beforeResize"),t.emit("resize"))},orientationChangeHandler:function(){t&&!t.destroyed&&t.initialized&&t.emit("orientationchange")}}})},on:{init:function(t){var e=Object(l.b)();t.params.resizeObserver&&void 0!==Object(l.b)().ResizeObserver?t.resize.createObserver():(e.addEventListener("resize",t.resize.resizeHandler),e.addEventListener("orientationchange",t.resize.orientationChangeHandler))},destroy:function(t){var e=Object(l.b)();t.resize.removeObserver(),e.removeEventListener("resize",t.resize.resizeHandler),e.removeEventListener("orientationchange",t.resize.orientationChangeHandler)}}};function w(){return(w=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var e in source)Object.prototype.hasOwnProperty.call(source,e)&&(t[e]=source[e])}return t}).apply(this,arguments)}var _={attach:function(t,e){void 0===e&&(e={});var r=Object(l.b)(),n=this,o=new(r.MutationObserver||r.WebkitMutationObserver)((function(t){if(1!==t.length){var e=function(){n.emit("observerUpdate",t[0])};r.requestAnimationFrame?r.requestAnimationFrame(e):r.setTimeout(e,0)}else n.emit("observerUpdate",t[0])}));o.observe(t,{attributes:void 0===e.attributes||e.attributes,childList:void 0===e.childList||e.childList,characterData:void 0===e.characterData||e.characterData}),n.observer.observers.push(o)},init:function(){if(this.support.observer&&this.params.observer){if(this.params.observeParents)for(var t=this.$el.parents(),i=0;i<t.length;i+=1)this.observer.attach(t[i]);this.observer.attach(this.$el[0],{childList:this.params.observeSlideChildren}),this.observer.attach(this.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach((function(t){t.disconnect()})),this.observer.observers=[]}},M={name:"observer",params:{observer:!1,observeParents:!1,observeSlideChildren:!1},create:function(){Object(f.a)(this,{observer:w({},_,{observers:[]})})},on:{init:function(t){t.observer.init()},destroy:function(t){t.observer.destroy()}}};function S(t){var e=Object(l.a)(),r=Object(l.b)(),data=this.touchEventsData,n=this.params,o=this.touches;if(this.enabled&&(!this.animating||!n.preventInteractionOnTransition)){var h=t;h.originalEvent&&(h=h.originalEvent);var d=Object(c.a)(h.target);if(("wrapper"!==n.touchEventsTarget||d.closest(this.wrapperEl).length)&&(data.isTouchEvent="touchstart"===h.type,(data.isTouchEvent||!("which"in h)||3!==h.which)&&!(!data.isTouchEvent&&"button"in h&&h.button>0||data.isTouched&&data.isMoved))){!!n.noSwipingClass&&""!==n.noSwipingClass&&h.target&&h.target.shadowRoot&&t.path&&t.path[0]&&(d=Object(c.a)(t.path[0]));var m=n.noSwipingSelector?n.noSwipingSelector:"."+n.noSwipingClass,v=!(!h.target||!h.target.shadowRoot);if(n.noSwiping&&(v?function(t,base){return void 0===base&&(base=this),function e(r){return r&&r!==Object(l.a)()&&r!==Object(l.b)()?(r.assignedSlot&&(r=r.assignedSlot),r.closest(t)||e(r.getRootNode().host)):null}(base)}(m,h.target):d.closest(m)[0]))this.allowClick=!0;else if(!n.swipeHandler||d.closest(n.swipeHandler)[0]){o.currentX="touchstart"===h.type?h.targetTouches[0].pageX:h.pageX,o.currentY="touchstart"===h.type?h.targetTouches[0].pageY:h.pageY;var y=o.currentX,w=o.currentY,_=n.edgeSwipeDetection||n.iOSEdgeSwipeDetection,M=n.edgeSwipeThreshold||n.iOSEdgeSwipeThreshold;if(_&&(y<=M||y>=r.innerWidth-M)){if("prevent"!==_)return;t.preventDefault()}if(Object(f.e)(data,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=y,o.startY=w,data.touchStartTime=Object(f.i)(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,n.threshold>0&&(data.allowThresholdMove=!1),"touchstart"!==h.type){var S=!0;d.is(data.focusableElements)&&(S=!1),e.activeElement&&Object(c.a)(e.activeElement).is(data.focusableElements)&&e.activeElement!==d[0]&&e.activeElement.blur();var x=S&&this.allowTouchMove&&n.touchStartPreventDefault;!n.touchStartForcePreventDefault&&!x||d[0].isContentEditable||h.preventDefault()}this.emit("touchStart",h)}}}}function x(t){var e=Object(l.a)(),data=this.touchEventsData,r=this.params,n=this.touches,o=this.rtlTranslate;if(this.enabled){var h=t;if(h.originalEvent&&(h=h.originalEvent),data.isTouched){if(!data.isTouchEvent||"touchmove"===h.type){var d="touchmove"===h.type&&h.targetTouches&&(h.targetTouches[0]||h.changedTouches[0]),m="touchmove"===h.type?d.pageX:h.pageX,v="touchmove"===h.type?d.pageY:h.pageY;if(h.preventedByNestedSwiper)return n.startX=m,void(n.startY=v);if(!this.allowTouchMove)return this.allowClick=!1,void(data.isTouched&&(Object(f.e)(n,{startX:m,startY:v,currentX:m,currentY:v}),data.touchStartTime=Object(f.i)()));if(data.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop)if(this.isVertical()){if(v<n.startY&&this.translate<=this.maxTranslate()||v>n.startY&&this.translate>=this.minTranslate())return data.isTouched=!1,void(data.isMoved=!1)}else if(m<n.startX&&this.translate<=this.maxTranslate()||m>n.startX&&this.translate>=this.minTranslate())return;if(data.isTouchEvent&&e.activeElement&&h.target===e.activeElement&&Object(c.a)(h.target).is(data.focusableElements))return data.isMoved=!0,void(this.allowClick=!1);if(data.allowTouchCallbacks&&this.emit("touchMove",h),!(h.targetTouches&&h.targetTouches.length>1)){n.currentX=m,n.currentY=v;var y=n.currentX-n.startX,w=n.currentY-n.startY;if(!(this.params.threshold&&Math.sqrt(Math.pow(y,2)+Math.pow(w,2))<this.params.threshold)){var _;if(void 0===data.isScrolling)this.isHorizontal()&&n.currentY===n.startY||this.isVertical()&&n.currentX===n.startX?data.isScrolling=!1:y*y+w*w>=25&&(_=180*Math.atan2(Math.abs(w),Math.abs(y))/Math.PI,data.isScrolling=this.isHorizontal()?_>r.touchAngle:90-_>r.touchAngle);if(data.isScrolling&&this.emit("touchMoveOpposite",h),void 0===data.startMoving&&(n.currentX===n.startX&&n.currentY===n.startY||(data.startMoving=!0)),data.isScrolling)data.isTouched=!1;else if(data.startMoving){this.allowClick=!1,!r.cssMode&&h.cancelable&&h.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&h.stopPropagation(),data.isMoved||(r.loop&&this.loopFix(),data.startTranslate=this.getTranslate(),this.setTransition(0),this.animating&&this.$wrapperEl.trigger("webkitTransitionEnd transitionend"),data.allowMomentumBounce=!1,!r.grabCursor||!0!==this.allowSlideNext&&!0!==this.allowSlidePrev||this.setGrabCursor(!0),this.emit("sliderFirstMove",h)),this.emit("sliderMove",h),data.isMoved=!0;var M=this.isHorizontal()?y:w;n.diff=M,M*=r.touchRatio,o&&(M=-M),this.swipeDirection=M>0?"prev":"next",data.currentTranslate=M+data.startTranslate;var S=!0,x=r.resistanceRatio;if(r.touchReleaseOnEdges&&(x=0),M>0&&data.currentTranslate>this.minTranslate()?(S=!1,r.resistance&&(data.currentTranslate=this.minTranslate()-1+Math.pow(-this.minTranslate()+data.startTranslate+M,x))):M<0&&data.currentTranslate<this.maxTranslate()&&(S=!1,r.resistance&&(data.currentTranslate=this.maxTranslate()+1-Math.pow(this.maxTranslate()-data.startTranslate-M,x))),S&&(h.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&data.currentTranslate<data.startTranslate&&(data.currentTranslate=data.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&data.currentTranslate>data.startTranslate&&(data.currentTranslate=data.startTranslate),this.allowSlidePrev||this.allowSlideNext||(data.currentTranslate=data.startTranslate),r.threshold>0){if(!(Math.abs(M)>r.threshold||data.allowThresholdMove))return void(data.currentTranslate=data.startTranslate);if(!data.allowThresholdMove)return data.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,data.currentTranslate=data.startTranslate,void(n.diff=this.isHorizontal()?n.currentX-n.startX:n.currentY-n.startY)}r.followFinger&&!r.cssMode&&((r.freeMode||r.watchSlidesProgress||r.watchSlidesVisibility)&&(this.updateActiveIndex(),this.updateSlidesClasses()),r.freeMode&&(0===data.velocities.length&&data.velocities.push({position:n[this.isHorizontal()?"startX":"startY"],time:data.touchStartTime}),data.velocities.push({position:n[this.isHorizontal()?"currentX":"currentY"],time:Object(f.i)()})),this.updateProgress(data.currentTranslate),this.setTranslate(data.currentTranslate))}}}}}else data.startMoving&&data.isScrolling&&this.emit("touchMoveOpposite",h)}}function E(t){var e=this,data=e.touchEventsData,r=e.params,n=e.touches,o=e.rtlTranslate,h=e.$wrapperEl,l=e.slidesGrid,c=e.snapGrid;if(e.enabled){var d=t;if(d.originalEvent&&(d=d.originalEvent),data.allowTouchCallbacks&&e.emit("touchEnd",d),data.allowTouchCallbacks=!1,!data.isTouched)return data.isMoved&&r.grabCursor&&e.setGrabCursor(!1),data.isMoved=!1,void(data.startMoving=!1);r.grabCursor&&data.isMoved&&data.isTouched&&(!0===e.allowSlideNext||!0===e.allowSlidePrev)&&e.setGrabCursor(!1);var m,v=Object(f.i)(),y=v-data.touchStartTime;if(e.allowClick&&(e.updateClickedSlide(d),e.emit("tap click",d),y<300&&v-data.lastClickTime<300&&e.emit("doubleTap doubleClick",d)),data.lastClickTime=Object(f.i)(),Object(f.h)((function(){e.destroyed||(e.allowClick=!0)})),!data.isTouched||!data.isMoved||!e.swipeDirection||0===n.diff||data.currentTranslate===data.startTranslate)return data.isTouched=!1,data.isMoved=!1,void(data.startMoving=!1);if(data.isTouched=!1,data.isMoved=!1,data.startMoving=!1,m=r.followFinger?o?e.translate:-e.translate:-data.currentTranslate,!r.cssMode)if(r.freeMode){if(m<-e.minTranslate())return void e.slideTo(e.activeIndex);if(m>-e.maxTranslate())return void(e.slides.length<c.length?e.slideTo(c.length-1):e.slideTo(e.slides.length-1));if(r.freeModeMomentum){if(data.velocities.length>1){var w=data.velocities.pop(),_=data.velocities.pop(),M=w.position-_.position,time=w.time-_.time;e.velocity=M/time,e.velocity/=2,Math.abs(e.velocity)<r.freeModeMinimumVelocity&&(e.velocity=0),(time>150||Object(f.i)()-w.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=r.freeModeMomentumVelocityRatio,data.velocities.length=0;var S=1e3*r.freeModeMomentumRatio,x=e.velocity*S,E=e.translate+x;o&&(E=-E);var A,T,k=!1,C=20*Math.abs(e.velocity)*r.freeModeMomentumBounceRatio;if(E<e.maxTranslate())r.freeModeMomentumBounce?(E+e.maxTranslate()<-C&&(E=e.maxTranslate()-C),A=e.maxTranslate(),k=!0,data.allowMomentumBounce=!0):E=e.maxTranslate(),r.loop&&r.centeredSlides&&(T=!0);else if(E>e.minTranslate())r.freeModeMomentumBounce?(E-e.minTranslate()>C&&(E=e.minTranslate()+C),A=e.minTranslate(),k=!0,data.allowMomentumBounce=!0):E=e.minTranslate(),r.loop&&r.centeredSlides&&(T=!0);else if(r.freeModeSticky){for(var O,I=0;I<c.length;I+=1)if(c[I]>-E){O=I;break}E=-(E=Math.abs(c[O]-E)<Math.abs(c[O-1]-E)||"next"===e.swipeDirection?c[O]:c[O-1])}if(T&&e.once("transitionEnd",(function(){e.loopFix()})),0!==e.velocity){if(S=o?Math.abs((-E-e.translate)/e.velocity):Math.abs((E-e.translate)/e.velocity),r.freeModeSticky){var P=Math.abs((o?-E:E)-e.translate),R=e.slidesSizesGrid[e.activeIndex];S=P<R?r.speed:P<2*R?1.5*r.speed:2.5*r.speed}}else if(r.freeModeSticky)return void e.slideToClosest();r.freeModeMomentumBounce&&k?(e.updateProgress(A),e.setTransition(S),e.setTranslate(E),e.transitionStart(!0,e.swipeDirection),e.animating=!0,h.transitionEnd((function(){e&&!e.destroyed&&data.allowMomentumBounce&&(e.emit("momentumBounce"),e.setTransition(r.speed),setTimeout((function(){e.setTranslate(A),h.transitionEnd((function(){e&&!e.destroyed&&e.transitionEnd()}))}),0))}))):e.velocity?(e.updateProgress(E),e.setTransition(S),e.setTranslate(E),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,h.transitionEnd((function(){e&&!e.destroyed&&e.transitionEnd()})))):(e.emit("_freeModeNoMomentumRelease"),e.updateProgress(E)),e.updateActiveIndex(),e.updateSlidesClasses()}else{if(r.freeModeSticky)return void e.slideToClosest();r.freeMode&&e.emit("_freeModeNoMomentumRelease")}(!r.freeModeMomentum||y>=r.longSwipesMs)&&(e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}else{for(var j=0,N=e.slidesSizesGrid[0],i=0;i<l.length;i+=i<r.slidesPerGroupSkip?1:r.slidesPerGroup){var L=i<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;void 0!==l[i+L]?m>=l[i]&&m<l[i+L]&&(j=i,N=l[i+L]-l[i]):m>=l[i]&&(j=i,N=l[l.length-1]-l[l.length-2])}var D=(m-l[j])/N,B=j<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(y>r.longSwipesMs){if(!r.longSwipes)return void e.slideTo(e.activeIndex);"next"===e.swipeDirection&&(D>=r.longSwipesRatio?e.slideTo(j+B):e.slideTo(j)),"prev"===e.swipeDirection&&(D>1-r.longSwipesRatio?e.slideTo(j+B):e.slideTo(j))}else{if(!r.shortSwipes)return void e.slideTo(e.activeIndex);e.navigation&&(d.target===e.navigation.nextEl||d.target===e.navigation.prevEl)?d.target===e.navigation.nextEl?e.slideTo(j+B):e.slideTo(j):("next"===e.swipeDirection&&e.slideTo(j+B),"prev"===e.swipeDirection&&e.slideTo(j))}}}}function A(){var t=this.params,e=this.el;if(!e||0!==e.offsetWidth){t.breakpoints&&this.setBreakpoint();var r=this.allowSlideNext,n=this.allowSlidePrev,o=this.snapGrid;this.allowSlideNext=!0,this.allowSlidePrev=!0,this.updateSize(),this.updateSlides(),this.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&this.isEnd&&!this.isBeginning&&!this.params.centeredSlides?this.slideTo(this.slides.length-1,0,!1,!0):this.slideTo(this.activeIndex,0,!1,!0),this.autoplay&&this.autoplay.running&&this.autoplay.paused&&this.autoplay.run(),this.allowSlidePrev=n,this.allowSlideNext=r,this.params.watchOverflow&&o!==this.snapGrid&&this.checkOverflow()}}function T(t){this.enabled&&(this.allowClick||(this.params.preventClicks&&t.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function k(){var t=this.wrapperEl,e=this.rtlTranslate;if(this.enabled){this.previousTranslate=this.translate,this.isHorizontal()?this.translate=e?t.scrollWidth-t.offsetWidth-t.scrollLeft:-t.scrollLeft:this.translate=-t.scrollTop,-0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();var r=this.maxTranslate()-this.minTranslate();(0===r?0:(this.translate-this.minTranslate())/r)!==this.progress&&this.updateProgress(e?-this.translate:this.translate),this.emit("setTranslate",this.translate,!1)}}var C=!1;function O(){}var I={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!1,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function P(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var R={modular:{useParams:function(t){var e=this;e.modules&&Object.keys(e.modules).forEach((function(r){var n=e.modules[r];n.params&&Object(f.e)(t,n.params)}))},useModules:function(t){void 0===t&&(t={});var e=this;e.modules&&Object.keys(e.modules).forEach((function(r){var n=e.modules[r],o=t[r]||{};n.on&&e.on&&Object.keys(n.on).forEach((function(t){e.on(t,n.on[t])})),n.create&&n.create.bind(e)(o)}))}},eventsEmitter:{on:function(t,e,r){var n=this;if("function"!=typeof e)return n;var o=r?"unshift":"push";return t.split(" ").forEach((function(t){n.eventsListeners[t]||(n.eventsListeners[t]=[]),n.eventsListeners[t][o](e)})),n},once:function(t,e,r){var n=this;if("function"!=typeof e)return n;function o(){n.off(t,o),o.__emitterProxy&&delete o.__emitterProxy;for(var r=arguments.length,h=new Array(r),l=0;l<r;l++)h[l]=arguments[l];e.apply(n,h)}return o.__emitterProxy=e,n.on(t,o,r)},onAny:function(t,e){if("function"!=typeof t)return this;var r=e?"unshift":"push";return this.eventsAnyListeners.indexOf(t)<0&&this.eventsAnyListeners[r](t),this},offAny:function(t){if(!this.eventsAnyListeners)return this;var e=this.eventsAnyListeners.indexOf(t);return e>=0&&this.eventsAnyListeners.splice(e,1),this},off:function(t,e){var r=this;return r.eventsListeners?(t.split(" ").forEach((function(t){void 0===e?r.eventsListeners[t]=[]:r.eventsListeners[t]&&r.eventsListeners[t].forEach((function(n,o){(n===e||n.__emitterProxy&&n.__emitterProxy===e)&&r.eventsListeners[t].splice(o,1)}))})),r):r},emit:function(){var t,data,e,r=this;if(!r.eventsListeners)return r;for(var n=arguments.length,o=new Array(n),h=0;h<n;h++)o[h]=arguments[h];"string"==typeof o[0]||Array.isArray(o[0])?(t=o[0],data=o.slice(1,o.length),e=r):(t=o[0].events,data=o[0].data,e=o[0].context||r),data.unshift(e);var l=Array.isArray(t)?t:t.split(" ");return l.forEach((function(t){r.eventsAnyListeners&&r.eventsAnyListeners.length&&r.eventsAnyListeners.forEach((function(r){r.apply(e,[t].concat(data))})),r.eventsListeners&&r.eventsListeners[t]&&r.eventsListeners[t].forEach((function(t){t.apply(e,data)}))})),r}},update:{updateSize:function(){var t,e,r=this.$el;t=void 0!==this.params.width&&null!==this.params.width?this.params.width:r[0].clientWidth,e=void 0!==this.params.height&&null!==this.params.height?this.params.height:r[0].clientHeight,0===t&&this.isHorizontal()||0===e&&this.isVertical()||(t=t-parseInt(r.css("padding-left")||0,10)-parseInt(r.css("padding-right")||0,10),e=e-parseInt(r.css("padding-top")||0,10)-parseInt(r.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(e)&&(e=0),Object(f.e)(this,{width:t,height:e,size:this.isHorizontal()?t:e}))},updateSlides:function(){var t=this;function e(e){return t.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}function r(t,label){return parseFloat(t.getPropertyValue(e(label))||0)}var n=t.params,o=t.$wrapperEl,h=t.size,l=t.rtlTranslate,c=t.wrongRTL,d=t.virtual&&n.virtual.enabled,m=d?t.virtual.slides.length:t.slides.length,v=o.children("."+t.params.slideClass),y=d?t.virtual.slides.length:v.length,w=[],_=[],M=[],S=n.slidesOffsetBefore;"function"==typeof S&&(S=n.slidesOffsetBefore.call(t));var x=n.slidesOffsetAfter;"function"==typeof x&&(x=n.slidesOffsetAfter.call(t));var E=t.snapGrid.length,A=t.slidesGrid.length,T=n.spaceBetween,k=-S,C=0,O=0;if(void 0!==h){var I,P;"string"==typeof T&&T.indexOf("%")>=0&&(T=parseFloat(T.replace("%",""))/100*h),t.virtualSize=-T,l?v.css({marginLeft:"",marginBottom:"",marginTop:""}):v.css({marginRight:"",marginBottom:"",marginTop:""}),n.slidesPerColumn>1&&(I=Math.floor(y/n.slidesPerColumn)===y/t.params.slidesPerColumn?y:Math.ceil(y/n.slidesPerColumn)*n.slidesPerColumn,"auto"!==n.slidesPerView&&"row"===n.slidesPerColumnFill&&(I=Math.max(I,n.slidesPerView*n.slidesPerColumn)));for(var R,j,N,L=n.slidesPerColumn,D=I/L,B=Math.floor(y/n.slidesPerColumn),i=0;i<y;i+=1){P=0;var F=v.eq(i);if(n.slidesPerColumn>1){var U=void 0,z=void 0,H=void 0;if("row"===n.slidesPerColumnFill&&n.slidesPerGroup>1){var G=Math.floor(i/(n.slidesPerGroup*n.slidesPerColumn)),V=i-n.slidesPerColumn*n.slidesPerGroup*G,$=0===G?n.slidesPerGroup:Math.min(Math.ceil((y-G*L*n.slidesPerGroup)/L),n.slidesPerGroup);U=(z=V-(H=Math.floor(V/$))*$+G*n.slidesPerGroup)+H*I/L,F.css({"-webkit-box-ordinal-group":U,"-moz-box-ordinal-group":U,"-ms-flex-order":U,"-webkit-order":U,order:U})}else"column"===n.slidesPerColumnFill?(H=i-(z=Math.floor(i/L))*L,(z>B||z===B&&H===L-1)&&(H+=1)>=L&&(H=0,z+=1)):z=i-(H=Math.floor(i/D))*D;F.css(e("margin-top"),0!==H?n.spaceBetween&&n.spaceBetween+"px":"")}if("none"!==F.css("display")){if("auto"===n.slidesPerView){var W=getComputedStyle(F[0]),Y=F[0].style.transform,K=F[0].style.webkitTransform;if(Y&&(F[0].style.transform="none"),K&&(F[0].style.webkitTransform="none"),n.roundLengths)P=t.isHorizontal()?F.outerWidth(!0):F.outerHeight(!0);else{var X=r(W,"width"),Z=r(W,"padding-left"),J=r(W,"padding-right"),Q=r(W,"margin-left"),tt=r(W,"margin-right"),et=W.getPropertyValue("box-sizing");if(et&&"border-box"===et)P=X+Q+tt;else{var it=F[0],nt=it.clientWidth;P=X+Z+J+Q+tt+(it.offsetWidth-nt)}}Y&&(F[0].style.transform=Y),K&&(F[0].style.webkitTransform=K),n.roundLengths&&(P=Math.floor(P))}else P=(h-(n.slidesPerView-1)*T)/n.slidesPerView,n.roundLengths&&(P=Math.floor(P)),v[i]&&(v[i].style[e("width")]=P+"px");v[i]&&(v[i].swiperSlideSize=P),M.push(P),n.centeredSlides?(k=k+P/2+C/2+T,0===C&&0!==i&&(k=k-h/2-T),0===i&&(k=k-h/2-T),Math.abs(k)<.001&&(k=0),n.roundLengths&&(k=Math.floor(k)),O%n.slidesPerGroup==0&&w.push(k),_.push(k)):(n.roundLengths&&(k=Math.floor(k)),(O-Math.min(t.params.slidesPerGroupSkip,O))%t.params.slidesPerGroup==0&&w.push(k),_.push(k),k=k+P+T),t.virtualSize+=P+T,C=P,O+=1}}if(t.virtualSize=Math.max(t.virtualSize,h)+x,l&&c&&("slide"===n.effect||"coverflow"===n.effect)&&o.css({width:t.virtualSize+n.spaceBetween+"px"}),n.setWrapperSize)o.css(((j={})[e("width")]=t.virtualSize+n.spaceBetween+"px",j));if(n.slidesPerColumn>1)if(t.virtualSize=(P+n.spaceBetween)*I,t.virtualSize=Math.ceil(t.virtualSize/n.slidesPerColumn)-n.spaceBetween,o.css(((N={})[e("width")]=t.virtualSize+n.spaceBetween+"px",N)),n.centeredSlides){R=[];for(var ot=0;ot<w.length;ot+=1){var at=w[ot];n.roundLengths&&(at=Math.floor(at)),w[ot]<t.virtualSize+w[0]&&R.push(at)}w=R}if(!n.centeredSlides){R=[];for(var st=0;st<w.length;st+=1){var ht=w[st];n.roundLengths&&(ht=Math.floor(ht)),w[st]<=t.virtualSize-h&&R.push(ht)}w=R,Math.floor(t.virtualSize-h)-Math.floor(w[w.length-1])>1&&w.push(t.virtualSize-h)}if(0===w.length&&(w=[0]),0!==n.spaceBetween){var ut,lt=t.isHorizontal()&&l?"marginLeft":e("marginRight");v.filter((function(t,e){return!n.cssMode||e!==v.length-1})).css(((ut={})[lt]=T+"px",ut))}if(n.centeredSlides&&n.centeredSlidesBounds){var ct=0;M.forEach((function(t){ct+=t+(n.spaceBetween?n.spaceBetween:0)}));var ft=(ct-=n.spaceBetween)-h;w=w.map((function(t){return t<0?-S:t>ft?ft+x:t}))}if(n.centerInsufficientSlides){var pt=0;if(M.forEach((function(t){pt+=t+(n.spaceBetween?n.spaceBetween:0)})),(pt-=n.spaceBetween)<h){var mt=(h-pt)/2;w.forEach((function(t,e){w[e]=t-mt})),_.forEach((function(t,e){_[e]=t+mt}))}}Object(f.e)(t,{slides:v,snapGrid:w,slidesGrid:_,slidesSizesGrid:M}),y!==m&&t.emit("slidesLengthChange"),w.length!==E&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),_.length!==A&&t.emit("slidesGridLengthChange"),(n.watchSlidesProgress||n.watchSlidesVisibility)&&t.updateSlidesOffset()}},updateAutoHeight:function(t){var i,e=this,r=[],n=e.virtual&&e.params.virtual.enabled,o=0;"number"==typeof t?e.setTransition(t):!0===t&&e.setTransition(e.params.speed);var h=function(t){return n?e.slides.filter((function(e){return parseInt(e.getAttribute("data-swiper-slide-index"),10)===t}))[0]:e.slides.eq(t)[0]};if("auto"!==e.params.slidesPerView&&e.params.slidesPerView>1)if(e.params.centeredSlides)e.visibleSlides.each((function(t){r.push(t)}));else for(i=0;i<Math.ceil(e.params.slidesPerView);i+=1){var l=e.activeIndex+i;if(l>e.slides.length&&!n)break;r.push(h(l))}else r.push(h(e.activeIndex));for(i=0;i<r.length;i+=1)if(void 0!==r[i]){var c=r[i].offsetHeight;o=c>o?c:o}o&&e.$wrapperEl.css("height",o+"px")},updateSlidesOffset:function(){for(var t=this.slides,i=0;i<t.length;i+=1)t[i].swiperSlideOffset=this.isHorizontal()?t[i].offsetLeft:t[i].offsetTop},updateSlidesProgress:function(t){void 0===t&&(t=this&&this.translate||0);var e=this.params,r=this.slides,n=this.rtlTranslate;if(0!==r.length){void 0===r[0].swiperSlideOffset&&this.updateSlidesOffset();var o=-t;n&&(o=t),r.removeClass(e.slideVisibleClass),this.visibleSlidesIndexes=[],this.visibleSlides=[];for(var i=0;i<r.length;i+=1){var h=r[i],l=(o+(e.centeredSlides?this.minTranslate():0)-h.swiperSlideOffset)/(h.swiperSlideSize+e.spaceBetween);if(e.watchSlidesVisibility||e.centeredSlides&&e.autoHeight){var f=-(o-h.swiperSlideOffset),d=f+this.slidesSizesGrid[i];(f>=0&&f<this.size-1||d>1&&d<=this.size||f<=0&&d>=this.size)&&(this.visibleSlides.push(h),this.visibleSlidesIndexes.push(i),r.eq(i).addClass(e.slideVisibleClass))}h.progress=n?-l:l}this.visibleSlides=Object(c.a)(this.visibleSlides)}},updateProgress:function(t){if(void 0===t){var e=this.rtlTranslate?-1:1;t=this&&this.translate&&this.translate*e||0}var r=this.params,n=this.maxTranslate()-this.minTranslate(),progress=this.progress,o=this.isBeginning,h=this.isEnd,l=o,c=h;0===n?(progress=0,o=!0,h=!0):(o=(progress=(t-this.minTranslate())/n)<=0,h=progress>=1),Object(f.e)(this,{progress:progress,isBeginning:o,isEnd:h}),(r.watchSlidesProgress||r.watchSlidesVisibility||r.centeredSlides&&r.autoHeight)&&this.updateSlidesProgress(t),o&&!l&&this.emit("reachBeginning toEdge"),h&&!c&&this.emit("reachEnd toEdge"),(l&&!o||c&&!h)&&this.emit("fromEdge"),this.emit("progress",progress)},updateSlidesClasses:function(){var t,e=this.slides,r=this.params,n=this.$wrapperEl,o=this.activeIndex,h=this.realIndex,l=this.virtual&&r.virtual.enabled;e.removeClass(r.slideActiveClass+" "+r.slideNextClass+" "+r.slidePrevClass+" "+r.slideDuplicateActiveClass+" "+r.slideDuplicateNextClass+" "+r.slideDuplicatePrevClass),(t=l?this.$wrapperEl.find("."+r.slideClass+'[data-swiper-slide-index="'+o+'"]'):e.eq(o)).addClass(r.slideActiveClass),r.loop&&(t.hasClass(r.slideDuplicateClass)?n.children("."+r.slideClass+":not(."+r.slideDuplicateClass+')[data-swiper-slide-index="'+h+'"]').addClass(r.slideDuplicateActiveClass):n.children("."+r.slideClass+"."+r.slideDuplicateClass+'[data-swiper-slide-index="'+h+'"]').addClass(r.slideDuplicateActiveClass));var c=t.nextAll("."+r.slideClass).eq(0).addClass(r.slideNextClass);r.loop&&0===c.length&&(c=e.eq(0)).addClass(r.slideNextClass);var f=t.prevAll("."+r.slideClass).eq(0).addClass(r.slidePrevClass);r.loop&&0===f.length&&(f=e.eq(-1)).addClass(r.slidePrevClass),r.loop&&(c.hasClass(r.slideDuplicateClass)?n.children("."+r.slideClass+":not(."+r.slideDuplicateClass+')[data-swiper-slide-index="'+c.attr("data-swiper-slide-index")+'"]').addClass(r.slideDuplicateNextClass):n.children("."+r.slideClass+"."+r.slideDuplicateClass+'[data-swiper-slide-index="'+c.attr("data-swiper-slide-index")+'"]').addClass(r.slideDuplicateNextClass),f.hasClass(r.slideDuplicateClass)?n.children("."+r.slideClass+":not(."+r.slideDuplicateClass+')[data-swiper-slide-index="'+f.attr("data-swiper-slide-index")+'"]').addClass(r.slideDuplicatePrevClass):n.children("."+r.slideClass+"."+r.slideDuplicateClass+'[data-swiper-slide-index="'+f.attr("data-swiper-slide-index")+'"]').addClass(r.slideDuplicatePrevClass)),this.emitSlidesClasses()},updateActiveIndex:function(t){var e,r=this.rtlTranslate?this.translate:-this.translate,n=this.slidesGrid,o=this.snapGrid,h=this.params,l=this.activeIndex,c=this.realIndex,d=this.snapIndex,m=t;if(void 0===m){for(var i=0;i<n.length;i+=1)void 0!==n[i+1]?r>=n[i]&&r<n[i+1]-(n[i+1]-n[i])/2?m=i:r>=n[i]&&r<n[i+1]&&(m=i+1):r>=n[i]&&(m=i);h.normalizeSlideIndex&&(m<0||void 0===m)&&(m=0)}if(o.indexOf(r)>=0)e=o.indexOf(r);else{var v=Math.min(h.slidesPerGroupSkip,m);e=v+Math.floor((m-v)/h.slidesPerGroup)}if(e>=o.length&&(e=o.length-1),m!==l){var y=parseInt(this.slides.eq(m).attr("data-swiper-slide-index")||m,10);Object(f.e)(this,{snapIndex:e,realIndex:y,previousIndex:l,activeIndex:m}),this.emit("activeIndexChange"),this.emit("snapIndexChange"),c!==y&&this.emit("realIndexChange"),(this.initialized||this.params.runCallbacksOnInit)&&this.emit("slideChange")}else e!==d&&(this.snapIndex=e,this.emit("snapIndexChange"))},updateClickedSlide:function(t){var e,r=this.params,n=Object(c.a)(t.target).closest("."+r.slideClass)[0],o=!1;if(n)for(var i=0;i<this.slides.length;i+=1)if(this.slides[i]===n){o=!0,e=i;break}if(!n||!o)return this.clickedSlide=void 0,void(this.clickedIndex=void 0);this.clickedSlide=n,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(Object(c.a)(n).attr("data-swiper-slide-index"),10):this.clickedIndex=e,r.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},translate:{getTranslate:function(t){void 0===t&&(t=this.isHorizontal()?"x":"y");var e=this.params,r=this.rtlTranslate,n=this.translate,o=this.$wrapperEl;if(e.virtualTranslate)return r?-n:n;if(e.cssMode)return n;var h=Object(f.f)(o[0],t);return r&&(h=-h),h||0},setTranslate:function(t,e){var r=this.rtlTranslate,n=this.params,o=this.$wrapperEl,h=this.wrapperEl,progress=this.progress,l=0,c=0;this.isHorizontal()?l=r?-t:t:c=t,n.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),n.cssMode?h[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-l:-c:n.virtualTranslate||o.transform("translate3d("+l+"px, "+c+"px, 0px)"),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?l:c;var f=this.maxTranslate()-this.minTranslate();(0===f?0:(t-this.minTranslate())/f)!==progress&&this.updateProgress(t),this.emit("setTranslate",this.translate,e)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(t,e,r,n,o){void 0===t&&(t=0),void 0===e&&(e=this.params.speed),void 0===r&&(r=!0),void 0===n&&(n=!0);var h=this,l=h.params,c=h.wrapperEl;if(h.animating&&l.preventInteractionOnTransition)return!1;var f,d=h.minTranslate(),m=h.maxTranslate();if(f=n&&t>d?d:n&&t<m?m:t,h.updateProgress(f),l.cssMode){var v,y=h.isHorizontal();if(0===e)c[y?"scrollLeft":"scrollTop"]=-f;else if(c.scrollTo)c.scrollTo(((v={})[y?"left":"top"]=-f,v.behavior="smooth",v));else c[y?"scrollLeft":"scrollTop"]=-f;return!0}return 0===e?(h.setTransition(0),h.setTranslate(f),r&&(h.emit("beforeTransitionStart",e,o),h.emit("transitionEnd"))):(h.setTransition(e),h.setTranslate(f),r&&(h.emit("beforeTransitionStart",e,o),h.emit("transitionStart")),h.animating||(h.animating=!0,h.onTranslateToWrapperTransitionEnd||(h.onTranslateToWrapperTransitionEnd=function(t){h&&!h.destroyed&&t.target===this&&(h.$wrapperEl[0].removeEventListener("transitionend",h.onTranslateToWrapperTransitionEnd),h.$wrapperEl[0].removeEventListener("webkitTransitionEnd",h.onTranslateToWrapperTransitionEnd),h.onTranslateToWrapperTransitionEnd=null,delete h.onTranslateToWrapperTransitionEnd,r&&h.emit("transitionEnd"))}),h.$wrapperEl[0].addEventListener("transitionend",h.onTranslateToWrapperTransitionEnd),h.$wrapperEl[0].addEventListener("webkitTransitionEnd",h.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(t,e){this.params.cssMode||this.$wrapperEl.transition(t),this.emit("setTransition",t,e)},transitionStart:function(t,e){void 0===t&&(t=!0);var r=this.activeIndex,n=this.params,o=this.previousIndex;if(!n.cssMode){n.autoHeight&&this.updateAutoHeight();var h=e;if(h||(h=r>o?"next":r<o?"prev":"reset"),this.emit("transitionStart"),t&&r!==o){if("reset"===h)return void this.emit("slideResetTransitionStart");this.emit("slideChangeTransitionStart"),"next"===h?this.emit("slideNextTransitionStart"):this.emit("slidePrevTransitionStart")}}},transitionEnd:function(t,e){void 0===t&&(t=!0);var r=this.activeIndex,n=this.previousIndex,o=this.params;if(this.animating=!1,!o.cssMode){this.setTransition(0);var h=e;if(h||(h=r>n?"next":r<n?"prev":"reset"),this.emit("transitionEnd"),t&&r!==n){if("reset"===h)return void this.emit("slideResetTransitionEnd");this.emit("slideChangeTransitionEnd"),"next"===h?this.emit("slideNextTransitionEnd"):this.emit("slidePrevTransitionEnd")}}}},slide:{slideTo:function(t,e,r,n,o){if(void 0===t&&(t=0),void 0===e&&(e=this.params.speed),void 0===r&&(r=!0),"number"!=typeof t&&"string"!=typeof t)throw new Error("The 'index' argument cannot have type other than 'number' or 'string'. ["+typeof t+"] given.");if("string"==typeof t){var h=parseInt(t,10);if(!isFinite(h))throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. ["+t+"] given.");t=h}var l=this,c=t;c<0&&(c=0);var f=l.params,d=l.snapGrid,m=l.slidesGrid,v=l.previousIndex,y=l.activeIndex,w=l.rtlTranslate,_=l.wrapperEl,M=l.enabled;if(l.animating&&f.preventInteractionOnTransition||!M&&!n&&!o)return!1;var S=Math.min(l.params.slidesPerGroupSkip,c),x=S+Math.floor((c-S)/l.params.slidesPerGroup);x>=d.length&&(x=d.length-1),(y||f.initialSlide||0)===(v||0)&&r&&l.emit("beforeSlideChangeStart");var E,A=-d[x];if(l.updateProgress(A),f.normalizeSlideIndex)for(var i=0;i<m.length;i+=1){var T=-Math.floor(100*A),k=Math.floor(100*m[i]),C=Math.floor(100*m[i+1]);void 0!==m[i+1]?T>=k&&T<C-(C-k)/2?c=i:T>=k&&T<C&&(c=i+1):T>=k&&(c=i)}if(l.initialized&&c!==y){if(!l.allowSlideNext&&A<l.translate&&A<l.minTranslate())return!1;if(!l.allowSlidePrev&&A>l.translate&&A>l.maxTranslate()&&(y||0)!==c)return!1}if(E=c>y?"next":c<y?"prev":"reset",w&&-A===l.translate||!w&&A===l.translate)return l.updateActiveIndex(c),f.autoHeight&&l.updateAutoHeight(),l.updateSlidesClasses(),"slide"!==f.effect&&l.setTranslate(A),"reset"!==E&&(l.transitionStart(r,E),l.transitionEnd(r,E)),!1;if(f.cssMode){var O,I=l.isHorizontal(),P=-A;if(w&&(P=_.scrollWidth-_.offsetWidth-P),0===e)_[I?"scrollLeft":"scrollTop"]=P;else if(_.scrollTo)_.scrollTo(((O={})[I?"left":"top"]=P,O.behavior="smooth",O));else _[I?"scrollLeft":"scrollTop"]=P;return!0}return 0===e?(l.setTransition(0),l.setTranslate(A),l.updateActiveIndex(c),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,n),l.transitionStart(r,E),l.transitionEnd(r,E)):(l.setTransition(e),l.setTranslate(A),l.updateActiveIndex(c),l.updateSlidesClasses(),l.emit("beforeTransitionStart",e,n),l.transitionStart(r,E),l.animating||(l.animating=!0,l.onSlideToWrapperTransitionEnd||(l.onSlideToWrapperTransitionEnd=function(t){l&&!l.destroyed&&t.target===this&&(l.$wrapperEl[0].removeEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.$wrapperEl[0].removeEventListener("webkitTransitionEnd",l.onSlideToWrapperTransitionEnd),l.onSlideToWrapperTransitionEnd=null,delete l.onSlideToWrapperTransitionEnd,l.transitionEnd(r,E))}),l.$wrapperEl[0].addEventListener("transitionend",l.onSlideToWrapperTransitionEnd),l.$wrapperEl[0].addEventListener("webkitTransitionEnd",l.onSlideToWrapperTransitionEnd))),!0},slideToLoop:function(t,e,r,n){void 0===t&&(t=0),void 0===e&&(e=this.params.speed),void 0===r&&(r=!0);var o=t;return this.params.loop&&(o+=this.loopedSlides),this.slideTo(o,e,r,n)},slideNext:function(t,e,r){void 0===t&&(t=this.params.speed),void 0===e&&(e=!0);var n=this.params,o=this.animating;if(!this.enabled)return this;var h=this.activeIndex<n.slidesPerGroupSkip?1:n.slidesPerGroup;if(n.loop){if(o&&n.loopPreventsSlide)return!1;this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft}return this.slideTo(this.activeIndex+h,t,e,r)},slidePrev:function(t,e,r){void 0===t&&(t=this.params.speed),void 0===e&&(e=!0);var n=this.params,o=this.animating,h=this.snapGrid,l=this.slidesGrid,c=this.rtlTranslate;if(!this.enabled)return this;if(n.loop){if(o&&n.loopPreventsSlide)return!1;this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft}function f(t){return t<0?-Math.floor(Math.abs(t)):Math.floor(t)}var d,m=f(c?this.translate:-this.translate),v=h.map((function(t){return f(t)})),y=h[v.indexOf(m)-1];return void 0===y&&n.cssMode&&h.forEach((function(t){!y&&m>=t&&(y=t)})),void 0!==y&&(d=l.indexOf(y))<0&&(d=this.activeIndex-1),this.slideTo(d,t,e,r)},slideReset:function(t,e,r){return void 0===t&&(t=this.params.speed),void 0===e&&(e=!0),this.slideTo(this.activeIndex,t,e,r)},slideToClosest:function(t,e,r,n){void 0===t&&(t=this.params.speed),void 0===e&&(e=!0),void 0===n&&(n=.5);var o=this.activeIndex,h=Math.min(this.params.slidesPerGroupSkip,o),l=h+Math.floor((o-h)/this.params.slidesPerGroup),c=this.rtlTranslate?this.translate:-this.translate;if(c>=this.snapGrid[l]){var f=this.snapGrid[l];c-f>(this.snapGrid[l+1]-f)*n&&(o+=this.params.slidesPerGroup)}else{var d=this.snapGrid[l-1];c-d<=(this.snapGrid[l]-d)*n&&(o-=this.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,this.slidesGrid.length-1),this.slideTo(o,t,e,r)},slideToClickedSlide:function(){var t,e=this,r=e.params,n=e.$wrapperEl,o="auto"===r.slidesPerView?e.slidesPerViewDynamic():r.slidesPerView,h=e.clickedIndex;if(r.loop){if(e.animating)return;t=parseInt(Object(c.a)(e.clickedSlide).attr("data-swiper-slide-index"),10),r.centeredSlides?h<e.loopedSlides-o/2||h>e.slides.length-e.loopedSlides+o/2?(e.loopFix(),h=n.children("."+r.slideClass+'[data-swiper-slide-index="'+t+'"]:not(.'+r.slideDuplicateClass+")").eq(0).index(),Object(f.h)((function(){e.slideTo(h)}))):e.slideTo(h):h>e.slides.length-o?(e.loopFix(),h=n.children("."+r.slideClass+'[data-swiper-slide-index="'+t+'"]:not(.'+r.slideDuplicateClass+")").eq(0).index(),Object(f.h)((function(){e.slideTo(h)}))):e.slideTo(h)}else e.slideTo(h)}},loop:{loopCreate:function(){var t=this,e=Object(l.a)(),r=t.params,n=t.$wrapperEl;n.children("."+r.slideClass+"."+r.slideDuplicateClass).remove();var o=n.children("."+r.slideClass);if(r.loopFillGroupWithBlank){var h=r.slidesPerGroup-o.length%r.slidesPerGroup;if(h!==r.slidesPerGroup){for(var i=0;i<h;i+=1){var f=Object(c.a)(e.createElement("div")).addClass(r.slideClass+" "+r.slideBlankClass);n.append(f)}o=n.children("."+r.slideClass)}}"auto"!==r.slidesPerView||r.loopedSlides||(r.loopedSlides=o.length),t.loopedSlides=Math.ceil(parseFloat(r.loopedSlides||r.slidesPerView,10)),t.loopedSlides+=r.loopAdditionalSlides,t.loopedSlides>o.length&&(t.loopedSlides=o.length);var d=[],m=[];o.each((function(e,r){var n=Object(c.a)(e);r<t.loopedSlides&&m.push(e),r<o.length&&r>=o.length-t.loopedSlides&&d.push(e),n.attr("data-swiper-slide-index",r)}));for(var v=0;v<m.length;v+=1)n.append(Object(c.a)(m[v].cloneNode(!0)).addClass(r.slideDuplicateClass));for(var y=d.length-1;y>=0;y-=1)n.prepend(Object(c.a)(d[y].cloneNode(!0)).addClass(r.slideDuplicateClass))},loopFix:function(){this.emit("beforeLoopFix");var t,e=this.activeIndex,r=this.slides,n=this.loopedSlides,o=this.allowSlidePrev,h=this.allowSlideNext,l=this.snapGrid,c=this.rtlTranslate;this.allowSlidePrev=!0,this.allowSlideNext=!0;var f=-l[e]-this.getTranslate();if(e<n)t=r.length-3*n+e,t+=n,this.slideTo(t,0,!1,!0)&&0!==f&&this.setTranslate((c?-this.translate:this.translate)-f);else if(e>=r.length-n){t=-r.length+e+n,t+=n,this.slideTo(t,0,!1,!0)&&0!==f&&this.setTranslate((c?-this.translate:this.translate)-f)}this.allowSlidePrev=o,this.allowSlideNext=h,this.emit("loopFix")},loopDestroy:function(){var t=this.$wrapperEl,e=this.params,r=this.slides;t.children("."+e.slideClass+"."+e.slideDuplicateClass+",."+e.slideClass+"."+e.slideBlankClass).remove(),r.removeAttr("data-swiper-slide-index")}},grabCursor:{setGrabCursor:function(t){if(!(this.support.touch||!this.params.simulateTouch||this.params.watchOverflow&&this.isLocked||this.params.cssMode)){var e=this.el;e.style.cursor="move",e.style.cursor=t?"-webkit-grabbing":"-webkit-grab",e.style.cursor=t?"-moz-grabbin":"-moz-grab",e.style.cursor=t?"grabbing":"grab"}},unsetGrabCursor:function(){this.support.touch||this.params.watchOverflow&&this.isLocked||this.params.cssMode||(this.el.style.cursor="")}},manipulation:{appendSlide:function(t){var e=this.$wrapperEl,r=this.params;if(r.loop&&this.loopDestroy(),"object"==typeof t&&"length"in t)for(var i=0;i<t.length;i+=1)t[i]&&e.append(t[i]);else e.append(t);r.loop&&this.loopCreate(),r.observer&&this.support.observer||this.update()},prependSlide:function(t){var e=this.params,r=this.$wrapperEl,n=this.activeIndex;e.loop&&this.loopDestroy();var o=n+1;if("object"==typeof t&&"length"in t){for(var i=0;i<t.length;i+=1)t[i]&&r.prepend(t[i]);o=n+t.length}else r.prepend(t);e.loop&&this.loopCreate(),e.observer&&this.support.observer||this.update(),this.slideTo(o,0,!1)},addSlide:function(t,e){var r=this.$wrapperEl,n=this.params,o=this.activeIndex;n.loop&&(o-=this.loopedSlides,this.loopDestroy(),this.slides=r.children("."+n.slideClass));var h=this.slides.length;if(t<=0)this.prependSlide(e);else if(t>=h)this.appendSlide(e);else{for(var l=o>t?o+1:o,c=[],i=h-1;i>=t;i-=1){var f=this.slides.eq(i);f.remove(),c.unshift(f)}if("object"==typeof e&&"length"in e){for(var d=0;d<e.length;d+=1)e[d]&&r.append(e[d]);l=o>t?o+e.length:o}else r.append(e);for(var m=0;m<c.length;m+=1)r.append(c[m]);n.loop&&this.loopCreate(),n.observer&&this.support.observer||this.update(),n.loop?this.slideTo(l+this.loopedSlides,0,!1):this.slideTo(l,0,!1)}},removeSlide:function(t){var e=this.params,r=this.$wrapperEl,n=this.activeIndex;e.loop&&(n-=this.loopedSlides,this.loopDestroy(),this.slides=r.children("."+e.slideClass));var o,h=n;if("object"==typeof t&&"length"in t){for(var i=0;i<t.length;i+=1)o=t[i],this.slides[o]&&this.slides.eq(o).remove(),o<h&&(h-=1);h=Math.max(h,0)}else o=t,this.slides[o]&&this.slides.eq(o).remove(),o<h&&(h-=1),h=Math.max(h,0);e.loop&&this.loopCreate(),e.observer&&this.support.observer||this.update(),e.loop?this.slideTo(h+this.loopedSlides,0,!1):this.slideTo(h,0,!1)},removeAllSlides:function(){for(var t=[],i=0;i<this.slides.length;i+=1)t.push(i);this.removeSlide(t)}},events:{attachEvents:function(){var t=Object(l.a)(),e=this.params,r=this.touchEvents,n=this.el,o=this.wrapperEl,h=this.device,c=this.support;this.onTouchStart=S.bind(this),this.onTouchMove=x.bind(this),this.onTouchEnd=E.bind(this),e.cssMode&&(this.onScroll=k.bind(this)),this.onClick=T.bind(this);var f=!!e.nested;if(!c.touch&&c.pointerEvents)n.addEventListener(r.start,this.onTouchStart,!1),t.addEventListener(r.move,this.onTouchMove,f),t.addEventListener(r.end,this.onTouchEnd,!1);else{if(c.touch){var d=!("touchstart"!==r.start||!c.passiveListener||!e.passiveListeners)&&{passive:!0,capture:!1};n.addEventListener(r.start,this.onTouchStart,d),n.addEventListener(r.move,this.onTouchMove,c.passiveListener?{passive:!1,capture:f}:f),n.addEventListener(r.end,this.onTouchEnd,d),r.cancel&&n.addEventListener(r.cancel,this.onTouchEnd,d),C||(t.addEventListener("touchstart",O),C=!0)}(e.simulateTouch&&!h.ios&&!h.android||e.simulateTouch&&!c.touch&&h.ios)&&(n.addEventListener("mousedown",this.onTouchStart,!1),t.addEventListener("mousemove",this.onTouchMove,f),t.addEventListener("mouseup",this.onTouchEnd,!1))}(e.preventClicks||e.preventClicksPropagation)&&n.addEventListener("click",this.onClick,!0),e.cssMode&&o.addEventListener("scroll",this.onScroll),e.updateOnWindowResize?this.on(h.ios||h.android?"resize orientationchange observerUpdate":"resize observerUpdate",A,!0):this.on("observerUpdate",A,!0)},detachEvents:function(){var t=Object(l.a)(),e=this.params,r=this.touchEvents,n=this.el,o=this.wrapperEl,h=this.device,c=this.support,f=!!e.nested;if(!c.touch&&c.pointerEvents)n.removeEventListener(r.start,this.onTouchStart,!1),t.removeEventListener(r.move,this.onTouchMove,f),t.removeEventListener(r.end,this.onTouchEnd,!1);else{if(c.touch){var d=!("onTouchStart"!==r.start||!c.passiveListener||!e.passiveListeners)&&{passive:!0,capture:!1};n.removeEventListener(r.start,this.onTouchStart,d),n.removeEventListener(r.move,this.onTouchMove,f),n.removeEventListener(r.end,this.onTouchEnd,d),r.cancel&&n.removeEventListener(r.cancel,this.onTouchEnd,d)}(e.simulateTouch&&!h.ios&&!h.android||e.simulateTouch&&!c.touch&&h.ios)&&(n.removeEventListener("mousedown",this.onTouchStart,!1),t.removeEventListener("mousemove",this.onTouchMove,f),t.removeEventListener("mouseup",this.onTouchEnd,!1))}(e.preventClicks||e.preventClicksPropagation)&&n.removeEventListener("click",this.onClick,!0),e.cssMode&&o.removeEventListener("scroll",this.onScroll),this.off(h.ios||h.android?"resize orientationchange observerUpdate":"resize observerUpdate",A)}},breakpoints:{setBreakpoint:function(){var t=this.activeIndex,e=this.initialized,r=this.loopedSlides,n=void 0===r?0:r,o=this.params,h=this.$el,l=o.breakpoints;if(l&&(!l||0!==Object.keys(l).length)){var c=this.getBreakpoint(l,this.params.breakpointsBase,this.el);if(c&&this.currentBreakpoint!==c){var d=c in l?l[c]:void 0;d&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach((function(param){var t=d[param];void 0!==t&&(d[param]="slidesPerView"!==param||"AUTO"!==t&&"auto"!==t?"slidesPerView"===param?parseFloat(t):parseInt(t,10):"auto")}));var m=d||this.originalParams,v=o.slidesPerColumn>1,y=m.slidesPerColumn>1,w=o.enabled;v&&!y?(h.removeClass(o.containerModifierClass+"multirow "+o.containerModifierClass+"multirow-column"),this.emitContainerClasses()):!v&&y&&(h.addClass(o.containerModifierClass+"multirow"),(m.slidesPerColumnFill&&"column"===m.slidesPerColumnFill||!m.slidesPerColumnFill&&"column"===o.slidesPerColumnFill)&&h.addClass(o.containerModifierClass+"multirow-column"),this.emitContainerClasses());var _=m.direction&&m.direction!==o.direction,M=o.loop&&(m.slidesPerView!==o.slidesPerView||_);_&&e&&this.changeDirection(),Object(f.e)(this.params,m);var S=this.params.enabled;Object(f.e)(this,{allowTouchMove:this.params.allowTouchMove,allowSlideNext:this.params.allowSlideNext,allowSlidePrev:this.params.allowSlidePrev}),w&&!S?this.disable():!w&&S&&this.enable(),this.currentBreakpoint=c,this.emit("_beforeBreakpoint",m),M&&e&&(this.loopDestroy(),this.loopCreate(),this.updateSlides(),this.slideTo(t-n+this.loopedSlides,0,!1)),this.emit("breakpoint",m)}}},getBreakpoint:function(t,base,e){if(void 0===base&&(base="window"),t&&("container"!==base||e)){var r=!1,n=Object(l.b)(),o="window"===base?n.innerHeight:e.clientHeight,h=Object.keys(t).map((function(t){if("string"==typeof t&&0===t.indexOf("@")){var e=parseFloat(t.substr(1));return{value:o*e,point:t}}return{value:t,point:t}}));h.sort((function(a,b){return parseInt(a.value,10)-parseInt(b.value,10)}));for(var i=0;i<h.length;i+=1){var c=h[i],f=c.point,d=c.value;"window"===base?n.matchMedia("(min-width: "+d+"px)").matches&&(r=f):d<=e.clientWidth&&(r=f)}return r||"max"}}},checkOverflow:{checkOverflow:function(){var t=this.params,e=this.isLocked,r=this.slides.length>0&&t.slidesOffsetBefore+t.spaceBetween*(this.slides.length-1)+this.slides[0].offsetWidth*this.slides.length;t.slidesOffsetBefore&&t.slidesOffsetAfter&&r?this.isLocked=r<=this.size:this.isLocked=1===this.snapGrid.length,this.allowSlideNext=!this.isLocked,this.allowSlidePrev=!this.isLocked,e!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock"),e&&e!==this.isLocked&&(this.isEnd=!1,this.navigation&&this.navigation.update())}},classes:{addClasses:function(){var t,e,r,n=this.classNames,o=this.params,h=this.rtl,l=this.$el,c=this.device,f=this.support,d=(t=["initialized",o.direction,{"pointer-events":f.pointerEvents&&!f.touch},{"free-mode":o.freeMode},{autoheight:o.autoHeight},{rtl:h},{multirow:o.slidesPerColumn>1},{"multirow-column":o.slidesPerColumn>1&&"column"===o.slidesPerColumnFill},{android:c.android},{ios:c.ios},{"css-mode":o.cssMode}],e=o.containerModifierClass,r=[],t.forEach((function(t){"object"==typeof t?Object.keys(t).forEach((function(n){t[n]&&r.push(e+n)})):"string"==typeof t&&r.push(e+t)})),r);n.push.apply(n,d),l.addClass([].concat(n).join(" ")),this.emitContainerClasses()},removeClasses:function(){var t=this.$el,e=this.classNames;t.removeClass(e.join(" ")),this.emitContainerClasses()}},images:{loadImage:function(t,e,r,n,o,h){var image,f=Object(l.b)();function d(){h&&h()}Object(c.a)(t).parent("picture")[0]||t.complete&&o?d():e?((image=new f.Image).onload=d,image.onerror=d,n&&(image.sizes=n),r&&(image.srcset=r),e&&(image.src=e)):d()},preloadImages:function(){var t=this;function e(){null!=t&&t&&!t.destroyed&&(void 0!==t.imagesLoaded&&(t.imagesLoaded+=1),t.imagesLoaded===t.imagesToLoad.length&&(t.params.updateOnImagesReady&&t.update(),t.emit("imagesReady")))}t.imagesToLoad=t.$el.find("img");for(var i=0;i<t.imagesToLoad.length;i+=1){var r=t.imagesToLoad[i];t.loadImage(r,r.currentSrc||r.getAttribute("src"),r.srcset||r.getAttribute("srcset"),r.sizes||r.getAttribute("sizes"),!0,e)}}}},j={},N=function(){function t(){for(var e,r,n=arguments.length,o=new Array(n),h=0;h<n;h++)o[h]=arguments[h];if(1===o.length&&o[0].constructor&&"Object"===Object.prototype.toString.call(o[0]).slice(8,-1)?r=o[0]:(e=o[0],r=o[1]),r||(r={}),r=Object(f.e)({},r),e&&!r.el&&(r.el=e),r.el&&Object(c.a)(r.el).length>1){var l=[];return Object(c.a)(r.el).each((function(e){var n=Object(f.e)({},r,{el:e});l.push(new t(n))})),l}var y=this;y.__swiper__=!0,y.support=d(),y.device=m({userAgent:r.userAgent}),y.browser=v(),y.eventsListeners={},y.eventsAnyListeners=[],void 0===y.modules&&(y.modules={}),Object.keys(y.modules).forEach((function(t){var e=y.modules[t];if(e.params){var n=Object.keys(e.params)[0],o=e.params[n];if("object"!=typeof o||null===o)return;if(["navigation","pagination","scrollbar"].indexOf(n)>=0&&!0===r[n]&&(r[n]={auto:!0}),!(n in r)||!("enabled"in o))return;!0===r[n]&&(r[n]={enabled:!0}),"object"!=typeof r[n]||"enabled"in r[n]||(r[n].enabled=!0),r[n]||(r[n]={enabled:!1})}}));var w,_,M=Object(f.e)({},I);return y.useParams(M),y.params=Object(f.e)({},M,j,r),y.originalParams=Object(f.e)({},y.params),y.passedParams=Object(f.e)({},r),y.params&&y.params.on&&Object.keys(y.params.on).forEach((function(t){y.on(t,y.params.on[t])})),y.params&&y.params.onAny&&y.onAny(y.params.onAny),y.$=c.a,Object(f.e)(y,{enabled:y.params.enabled,el:e,classNames:[],slides:Object(c.a)(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===y.params.direction},isVertical:function(){return"vertical"===y.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:y.params.allowSlideNext,allowSlidePrev:y.params.allowSlidePrev,touchEvents:(w=["touchstart","touchmove","touchend","touchcancel"],_=["mousedown","mousemove","mouseup"],y.support.pointerEvents&&(_=["pointerdown","pointermove","pointerup"]),y.touchEventsTouch={start:w[0],move:w[1],end:w[2],cancel:w[3]},y.touchEventsDesktop={start:_[0],move:_[1],end:_[2]},y.support.touch||!y.params.simulateTouch?y.touchEventsTouch:y.touchEventsDesktop),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:y.params.focusableElements,lastClickTime:Object(f.i)(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:y.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),y.useModules(),y.emit("_swiper"),y.params.init&&y.init(),y}var e,r,n,o=t.prototype;return o.enable=function(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))},o.disable=function(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))},o.setProgress=function(progress,t){progress=Math.min(Math.max(progress,0),1);var e=this.minTranslate(),r=(this.maxTranslate()-e)*progress+e;this.translateTo(r,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()},o.emitContainerClasses=function(){var t=this;if(t.params._emitClasses&&t.el){var e=t.el.className.split(" ").filter((function(e){return 0===e.indexOf("swiper-container")||0===e.indexOf(t.params.containerModifierClass)}));t.emit("_containerClasses",e.join(" "))}},o.getSlideClasses=function(t){var e=this;return t.className.split(" ").filter((function(t){return 0===t.indexOf("swiper-slide")||0===t.indexOf(e.params.slideClass)})).join(" ")},o.emitSlidesClasses=function(){var t=this;if(t.params._emitClasses&&t.el){var e=[];t.slides.each((function(r){var n=t.getSlideClasses(r);e.push({slideEl:r,classNames:n}),t.emit("_slideClass",r,n)})),t.emit("_slideClasses",e)}},o.slidesPerViewDynamic=function(){var t=this.params,e=this.slides,r=this.slidesGrid,n=this.size,o=this.activeIndex,h=1;if(t.centeredSlides){for(var l,c=e[o].swiperSlideSize,i=o+1;i<e.length;i+=1)e[i]&&!l&&(h+=1,(c+=e[i].swiperSlideSize)>n&&(l=!0));for(var f=o-1;f>=0;f-=1)e[f]&&!l&&(h+=1,(c+=e[f].swiperSlideSize)>n&&(l=!0))}else for(var d=o+1;d<e.length;d+=1)r[d]-r[o]<n&&(h+=1);return h},o.update=function(){var t=this;if(t&&!t.destroyed){var e=t.snapGrid,r=t.params;r.breakpoints&&t.setBreakpoint(),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.params.freeMode?(n(),t.params.autoHeight&&t.updateAutoHeight()):(("auto"===t.params.slidesPerView||t.params.slidesPerView>1)&&t.isEnd&&!t.params.centeredSlides?t.slideTo(t.slides.length-1,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0))||n(),r.watchOverflow&&e!==t.snapGrid&&t.checkOverflow(),t.emit("update")}function n(){var e=t.rtlTranslate?-1*t.translate:t.translate,r=Math.min(Math.max(e,t.maxTranslate()),t.minTranslate());t.setTranslate(r),t.updateActiveIndex(),t.updateSlidesClasses()}},o.changeDirection=function(t,e){void 0===e&&(e=!0);var r=this.params.direction;return t||(t="horizontal"===r?"vertical":"horizontal"),t===r||"horizontal"!==t&&"vertical"!==t||(this.$el.removeClass(""+this.params.containerModifierClass+r).addClass(""+this.params.containerModifierClass+t),this.emitContainerClasses(),this.params.direction=t,this.slides.each((function(e){"vertical"===t?e.style.width="":e.style.height=""})),this.emit("changeDirection"),e&&this.update()),this},o.mount=function(t){var e=this;if(e.mounted)return!0;var r=Object(c.a)(t||e.params.el);if(!(t=r[0]))return!1;t.swiper=e;var n=function(){return"."+(e.params.wrapperClass||"").trim().split(" ").join(".")},o=function(){if(t&&t.shadowRoot&&t.shadowRoot.querySelector){var e=Object(c.a)(t.shadowRoot.querySelector(n()));return e.children=function(t){return r.children(t)},e}return r.children(n())}();if(0===o.length&&e.params.createElements){var h=Object(l.a)().createElement("div");o=Object(c.a)(h),h.className=e.params.wrapperClass,r.append(h),r.children("."+e.params.slideClass).each((function(t){o.append(t)}))}return Object(f.e)(e,{$el:r,el:t,$wrapperEl:o,wrapperEl:o[0],mounted:!0,rtl:"rtl"===t.dir.toLowerCase()||"rtl"===r.css("direction"),rtlTranslate:"horizontal"===e.params.direction&&("rtl"===t.dir.toLowerCase()||"rtl"===r.css("direction")),wrongRTL:"-webkit-box"===o.css("display")}),!0},o.init=function(t){return this.initialized||!1===this.mount(t)||(this.emit("beforeInit"),this.params.breakpoints&&this.setBreakpoint(),this.addClasses(),this.params.loop&&this.loopCreate(),this.updateSize(),this.updateSlides(),this.params.watchOverflow&&this.checkOverflow(),this.params.grabCursor&&this.enabled&&this.setGrabCursor(),this.params.preloadImages&&this.preloadImages(),this.params.loop?this.slideTo(this.params.initialSlide+this.loopedSlides,0,this.params.runCallbacksOnInit,!1,!0):this.slideTo(this.params.initialSlide,0,this.params.runCallbacksOnInit,!1,!0),this.attachEvents(),this.initialized=!0,this.emit("init"),this.emit("afterInit")),this},o.destroy=function(t,e){void 0===t&&(t=!0),void 0===e&&(e=!0);var r=this,n=r.params,o=r.$el,h=r.$wrapperEl,l=r.slides;return void 0===r.params||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),n.loop&&r.loopDestroy(),e&&(r.removeClasses(),o.removeAttr("style"),h.removeAttr("style"),l&&l.length&&l.removeClass([n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),r.emit("destroy"),Object.keys(r.eventsListeners).forEach((function(t){r.off(t)})),!1!==t&&(r.$el[0].swiper=null,Object(f.d)(r)),r.destroyed=!0),null},t.extendDefaults=function(t){Object(f.e)(j,t)},t.installModule=function(e){t.prototype.modules||(t.prototype.modules={});var r=e.name||Object.keys(t.prototype.modules).length+"_"+Object(f.i)();t.prototype.modules[r]=e},t.use=function(e){return Array.isArray(e)?(e.forEach((function(e){return t.installModule(e)})),t):(t.installModule(e),t)},e=t,n=[{key:"extendedDefaults",get:function(){return j}},{key:"defaults",get:function(){return I}}],(r=null)&&P(e.prototype,r),n&&P(e,n),t}();Object.keys(R).forEach((function(t){Object.keys(R[t]).forEach((function(e){N.prototype[e]=R[t][e]}))})),N.use([y,M]);e.a=N},,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";var n=function(t){return function(t){return!!t&&"object"==typeof t}(t)&&!function(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||function(t){return t.$$typeof===o}(t)}(t)};var o="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function h(t,e){return!1!==e.clone&&e.isMergeableObject(t)?m((r=t,Array.isArray(r)?[]:{}),t,e):t;var r}function l(t,source,e){return t.concat(source).map((function(element){return h(element,e)}))}function c(t){return Object.keys(t).concat(function(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter((function(symbol){return t.propertyIsEnumerable(symbol)})):[]}(t))}function f(object,t){try{return t in object}catch(t){return!1}}function d(t,source,e){var r={};return e.isMergeableObject(t)&&c(t).forEach((function(n){r[n]=h(t[n],e)})),c(source).forEach((function(n){(function(t,e){return f(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))})(t,n)||(f(t,n)&&e.isMergeableObject(source[n])?r[n]=function(t,e){if(!e.customMerge)return m;var r=e.customMerge(t);return"function"==typeof r?r:m}(n,e)(t[n],source[n],e):r[n]=h(source[n],e))})),r}function m(t,source,e){(e=e||{}).arrayMerge=e.arrayMerge||l,e.isMergeableObject=e.isMergeableObject||n,e.cloneUnlessOtherwiseSpecified=h;var r=Array.isArray(source);return r===Array.isArray(t)?r?e.arrayMerge(t,source,e):d(t,source,e):h(source,e)}m.all=function(t,e){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce((function(t,r){return m(t,r,e)}),{})};var v=m;t.exports=v},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));r(133);var n=r(83);function o(t,e){try{for(var r=t,n=[],o=0,l=0,c=" > ".length,f=void 0;r&&o++<5&&!("html"===(f=h(r,e))||o>1&&l+n.length*c+f.length>=80);)n.push(f),l+=f.length,r=r.parentNode;return n.reverse().join(" > ")}catch(t){return"<unknown>"}}function h(t,e){var r,o,h,l,c,f,i,d=t,m=[];if(!d||!d.tagName)return"";m.push(d.tagName.toLowerCase());var v=(null===(r=e)||void 0===r?void 0:r.length)?e.filter((function(t){return d.getAttribute(t)})).map((function(t){return[t,d.getAttribute(t)]})):null;if(null===(o=v)||void 0===o?void 0:o.length)v.forEach((function(t){m.push("["+t[0]+'="'+t[1]+'"]')}));else if(d.id&&m.push("#"+d.id),(h=d.className)&&Object(n.h)(h))for(l=h.split(/\s+/),i=0;i<l.length;i++)m.push("."+l[i]);var y=["type","name","title","alt"];for(i=0;i<y.length;i++)c=y[i],(f=d.getAttribute(c))&&m.push("["+c+'="'+f+'"]');return m.join("")}},function(t,e,r){"use strict";var n={name:"ClientOnly",functional:!0,props:{placeholder:String,placeholderTag:{type:String,default:"div"}},render:function(t,e){var r=e.parent,n=e.slots,o=e.props,h=n(),l=h.default;void 0===l&&(l=[]);var c=h.placeholder;return r._isMounted?l:(r.$once("hook:mounted",(function(){r.$forceUpdate()})),o.placeholderTag&&(o.placeholder||c)?t(o.placeholderTag,{class:["client-only-placeholder"]},o.placeholder||c):l.length>0?l.map((function(){return t(!1)})):t(!1))}};t.exports=n},function(t,e,r){var n=r(361),o=r(362),h=r(613),l=r(952),c=r(953),f=r(954).version,d=Object.prototype.hasOwnProperty,m={version:f,orders:n.EncodingOrders,detect:function(data,t){if(null==data||0===data.length)return!1;o.isObject(t)&&!o.isArray(t)&&(t=t.encoding),o.isString(data)&&(data=o.stringToBuffer(data)),null==t?t=m.orders:o.isString(t)&&(t="AUTO"===(t=t.toUpperCase())?m.orders:~t.indexOf(",")?t.split(/\s*,\s*/):[t]);for(var e,r,n,l=t.length,i=0;i<l;i++)if(e=t[i],r=o.canonicalizeEncodingName(e)){if(n="is"+r,!d.call(h,n))throw new Error("Undefined encoding: "+e);if(h[n](data))return r}return!1},convert:function(data,t,e){var r,n,h;o.isObject(t)?(e=(h=t).from,t=h.to,h.type&&(n=h.type)):h={},o.isString(data)?(n=n||"string",data=o.stringToBuffer(data)):null!=data&&0!==data.length||(data=[]);var c=(null!=e&&o.isString(e)&&"AUTO"!==e.toUpperCase()&&!~e.indexOf(",")?o.canonicalizeEncodingName(e):m.detect(data))+"To"+o.canonicalizeEncodingName(t);switch(r=d.call(l,c)?l[c](data,h):data,(""+n).toLowerCase()){case"string":return o.codeToString_fast(r);case"arraybuffer":return o.codeToBuffer(r);default:return o.bufferToCode(r)}},urlEncode:function(data){o.isString(data)&&(data=o.stringToBuffer(data));for(var b,t=o.stringToCode("0123456789ABCDEF"),e=[],i=0,r=data&&data.length;i<r;i++){if((b=data[i])>255)return encodeURIComponent(o.codeToString_fast(data));b>=97&&b<=122||b>=65&&b<=90||b>=48&&b<=57||33===b||b>=39&&b<=42||45===b||46===b||95===b||126===b?e[e.length]=b:(e[e.length]=37,b<16?(e[e.length]=48,e[e.length]=t[b]):(e[e.length]=t[b>>4&15],e[e.length]=t[15&b]))}return o.codeToString_fast(e)},urlDecode:function(t){for(var e,r=[],i=0,n=t&&t.length;i<n;)e=t.charCodeAt(i++),r[r.length]=37===e?parseInt(t.charAt(i++)+t.charAt(i++),16):e;return r},base64Encode:function(data){return o.isString(data)&&(data=o.stringToBuffer(data)),o.base64encode(data)},base64Decode:function(t){return o.base64decode(t)},codeToString:o.codeToString_fast,stringToCode:o.stringToCode,toHankakuCase:function(data){var t=!1;o.isString(data)&&(t=!0,data=o.stringToBuffer(data));for(var e,r=[],n=data&&data.length,i=0;i<n;)(e=data[i++])>=65281&&e<=65374&&(e-=65248),r[r.length]=e;return t?o.codeToString_fast(r):r},toZenkakuCase:function(data){var t=!1;o.isString(data)&&(t=!0,data=o.stringToBuffer(data));for(var e,r=[],n=data&&data.length,i=0;i<n;)(e=data[i++])>=33&&e<=126&&(e+=65248),r[r.length]=e;return t?o.codeToString_fast(r):r},toHiraganaCase:function(data){var t=!1;o.isString(data)&&(t=!0,data=o.stringToBuffer(data));for(var e,r=[],n=data&&data.length,i=0;i<n;)(e=data[i++])>=12449&&e<=12534?e-=96:12535===e?(r[r.length]=12431,e=12443):12538===e&&(r[r.length]=12434,e=12443),r[r.length]=e;return t?o.codeToString_fast(r):r},toKatakanaCase:function(data){var t=!1;o.isString(data)&&(t=!0,data=o.stringToBuffer(data));for(var e,r=[],n=data&&data.length,i=0;i<n;)(e=data[i++])>=12353&&e<=12438&&((12431===e||12434===e)&&i<n&&12443===data[i]?(e=12431===e?12535:12538,i++):e+=96),r[r.length]=e;return t?o.codeToString_fast(r):r},toHankanaCase:function(data){var t=!1;o.isString(data)&&(t=!0,data=o.stringToBuffer(data));for(var e,r,n,h=[],l=data&&data.length,i=0;i<l;)(e=data[i++])>=12289&&e<=12540&&void 0!==(n=c.HANKANA_TABLE[e])?h[h.length]=n:12532===e||12535===e||12538===e?(h[h.length]=c.HANKANA_SONANTS[e],h[h.length]=65438):e>=12459&&e<=12489?(h[h.length]=c.HANKANA_TABLE[e-1],h[h.length]=65438):e>=12495&&e<=12509?(r=e%3,h[h.length]=c.HANKANA_TABLE[e-r],h[h.length]=c.HANKANA_MARKS[r-1]):h[h.length]=e;return t?o.codeToString_fast(h):h},toZenkanaCase:function(data){var t=!1;o.isString(data)&&(t=!0,data=o.stringToBuffer(data));var e,code,r,n=[],h=data&&data.length,i=0;for(i=0;i<h;i++)(e=data[i])>65376&&e<65440&&(code=c.ZENKANA_TABLE[e-65377],i+1<h&&(65438===(r=data[i+1])&&65395===e?(code=12532,i++):65438===r&&65436===e?(code=12535,i++):65438===r&&65382===e?(code=12538,i++):65438===r&&(e>65397&&e<65413||e>65417&&e<65423)?(code++,i++):65439===r&&e>65417&&e<65423&&(code+=2,i++)),e=code),n[n.length]=e;return t?o.codeToString_fast(n):n},toHankakuSpace:function(data){if(o.isString(data))return data.replace(/\u3000/g," ");for(var t,e=[],r=data&&data.length,i=0;i<r;)12288===(t=data[i++])&&(t=32),e[e.length]=t;return e},toZenkakuSpace:function(data){if(o.isString(data))return data.replace(/\u0020/g,"　");for(var t,e=[],r=data&&data.length,i=0;i<r;)32===(t=data[i++])&&(t=12288),e[e.length]=t;return e}};t.exports=m},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e,r){(function(t){e.fetch=c(t.fetch)&&c(t.ReadableStream),e.writableStream=c(t.WritableStream),e.abortController=c(t.AbortController),e.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),e.blobConstructor=!0}catch(t){}var r;function n(){if(void 0!==r)return r;if(t.XMLHttpRequest){r=new t.XMLHttpRequest;try{r.open("GET",t.XDomainRequest?"/":"https://example.com")}catch(t){r=null}}else r=null;return r}function o(t){var e=n();if(!e)return!1;try{return e.responseType=t,e.responseType===t}catch(t){}return!1}var h=void 0!==t.ArrayBuffer,l=h&&c(t.ArrayBuffer.prototype.slice);function c(t){return"function"==typeof t}e.arraybuffer=e.fetch||h&&o("arraybuffer"),e.msstream=!e.fetch&&l&&o("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&h&&o("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||!!n()&&c(n().overrideMimeType),e.vbArray=c(t.VBArray),r=null}).call(this,r(54))},function(t,e,r){(function(t,n,o){var h=r(489),l=r(36),c=r(226),f=e.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},d=e.IncomingMessage=function(e,r,l,f){var d=this;if(c.Readable.call(d),d._mode=l,d.headers={},d.rawHeaders=[],d.trailers={},d.rawTrailers=[],d.on("end",(function(){t.nextTick((function(){d.emit("close")}))})),"fetch"===l){if(d._fetchResponse=r,d.url=r.url,d.statusCode=r.status,d.statusMessage=r.statusText,r.headers.forEach((function(header,t){d.headers[t.toLowerCase()]=header,d.rawHeaders.push(t,header)})),h.writableStream){var m=new WritableStream({write:function(t){return new Promise((function(e,r){d._destroyed?r():d.push(new n(t))?e():d._resumeFetch=e}))},close:function(){o.clearTimeout(f),d._destroyed||d.push(null)},abort:function(t){d._destroyed||d.emit("error",t)}});try{return void r.body.pipeTo(m).catch((function(t){o.clearTimeout(f),d._destroyed||d.emit("error",t)}))}catch(t){}}var v=r.body.getReader();!function t(){v.read().then((function(e){if(!d._destroyed){if(e.done)return o.clearTimeout(f),void d.push(null);d.push(new n(e.value)),t()}})).catch((function(t){o.clearTimeout(f),d._destroyed||d.emit("error",t)}))}()}else{if(d._xhr=e,d._pos=0,d.url=e.responseURL,d.statusCode=e.status,d.statusMessage=e.statusText,e.getAllResponseHeaders().split(/\r?\n/).forEach((function(header){var t=header.match(/^([^:]+):\s*(.*)/);if(t){var e=t[1].toLowerCase();"set-cookie"===e?(void 0===d.headers[e]&&(d.headers[e]=[]),d.headers[e].push(t[2])):void 0!==d.headers[e]?d.headers[e]+=", "+t[2]:d.headers[e]=t[2],d.rawHeaders.push(t[1],t[2])}})),d._charset="x-user-defined",!h.overrideMimeType){var y=d.rawHeaders["mime-type"];if(y){var w=y.match(/;\s*charset=([^;])(;|$)/);w&&(d._charset=w[1].toLowerCase())}d._charset||(d._charset="utf-8")}}};l(d,c.Readable),d.prototype._read=function(){var t=this._resumeFetch;t&&(this._resumeFetch=null,t())},d.prototype._onXHRProgress=function(){var t=this,e=t._xhr,r=null;switch(t._mode){case"text:vbarray":if(e.readyState!==f.DONE)break;try{r=new o.VBArray(e.responseBody).toArray()}catch(t){}if(null!==r){t.push(new n(r));break}case"text":try{r=e.responseText}catch(e){t._mode="text:vbarray";break}if(r.length>t._pos){var h=r.substr(t._pos);if("x-user-defined"===t._charset){for(var l=new n(h.length),i=0;i<h.length;i++)l[i]=255&h.charCodeAt(i);t.push(l)}else t.push(h,t._charset);t._pos=r.length}break;case"arraybuffer":if(e.readyState!==f.DONE||!e.response)break;r=e.response,t.push(new n(new Uint8Array(r)));break;case"moz-chunked-arraybuffer":if(r=e.response,e.readyState!==f.LOADING||!r)break;t.push(new n(new Uint8Array(r)));break;case"ms-stream":if(r=e.response,e.readyState!==f.LOADING)break;var c=new o.MSStreamReader;c.onprogress=function(){c.result.byteLength>t._pos&&(t.push(new n(new Uint8Array(c.result.slice(t._pos)))),t._pos=c.result.byteLength)},c.onload=function(){t.push(null)},c.readAsArrayBuffer(r)}t._xhr.readyState===f.DONE&&"ms-stream"!==t._mode&&t.push(null)}}).call(this,r(69),r(61).Buffer,r(54))},function(t,e,r){"use strict";(function(e,n){var o=r(268);t.exports=A;var h,l=r(488);A.ReadableState=E;r(167).EventEmitter;var c=function(t,e){return t.listeners(e).length},f=r(492),d=r(45).Buffer,m=e.Uint8Array||function(){};var v=Object.create(r(227));v.inherits=r(36);var y=r(666),w=void 0;w=y&&y.debuglog?y.debuglog("stream"):function(){};var _,M=r(667),S=r(493);v.inherits(A,f);var x=["error","close","destroy","pause","resume"];function E(t,e){t=t||{};var n=e instanceof(h=h||r(168));this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var o=t.highWaterMark,l=t.readableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:n&&(l||0===l)?l:c,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new M,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=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(_||(_=r(169).StringDecoder),this.decoder=new _(t.encoding),this.encoding=t.encoding)}function A(t){if(h=h||r(168),!(this instanceof A))return new A(t);this._readableState=new E(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),f.call(this)}function T(t,e,r,n,o){var h,l=t._readableState;null===e?(l.reading=!1,function(t,e){if(e.ended)return;if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,O(t)}(t,l)):(o||(h=function(t,e){var r;n=e,d.isBuffer(n)||n instanceof m||"string"==typeof e||void 0===e||t.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(l,e)),h?t.emit("error",h):l.objectMode||e&&e.length>0?("string"==typeof e||l.objectMode||Object.getPrototypeOf(e)===d.prototype||(e=function(t){return d.from(t)}(e)),n?l.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):k(t,l,e,!0):l.ended?t.emit("error",new Error("stream.push() after EOF")):(l.reading=!1,l.decoder&&!r?(e=l.decoder.write(e),l.objectMode||0!==e.length?k(t,l,e,!1):P(t,l)):k(t,l,e,!1))):n||(l.reading=!1));return function(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||0===t.length)}(l)}function k(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(t.emit("data",r),t.read(0)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&O(t)),P(t,e)}Object.defineProperty(A.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),A.prototype.destroy=S.destroy,A.prototype._undestroy=S.undestroy,A.prototype._destroy=function(t,e){this.push(null),e(t)},A.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=d.from(t,e),e=""),r=!0),T(this,t,e,!1,r)},A.prototype.unshift=function(t){return T(this,t,null,!0,!1)},A.prototype.isPaused=function(){return!1===this._readableState.flowing},A.prototype.setEncoding=function(t){return _||(_=r(169).StringDecoder),this._readableState.decoder=new _(t),this._readableState.encoding=t,this};function C(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=8388608?t=8388608:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function O(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(w("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?o.nextTick(I,t):I(t))}function I(t){w("emit readable"),t.emit("readable"),L(t)}function P(t,e){e.readingMore||(e.readingMore=!0,o.nextTick(R,t,e))}function R(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(w("maybeReadMore read 0"),t.read(0),r!==e.length);)r=e.length;e.readingMore=!1}function j(t){w("readable nexttick read 0"),t.read(0)}function N(t,e){e.reading||(w("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),L(t),e.flowing&&!e.reading&&t.read(0)}function L(t){var e=t._readableState;for(w("flow",e.flowing);e.flowing&&null!==t.read(););}function D(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):r=function(t,e,r){var n;t<e.head.data.length?(n=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):n=t===e.head.data.length?e.shift():r?function(t,e){var p=e.head,r=1,n=p.data;t-=n.length;for(;p=p.next;){var o=p.data,h=t>o.length?o.length:t;if(h===o.length?n+=o:n+=o.slice(0,t),0===(t-=h)){h===o.length?(++r,p.next?e.head=p.next:e.head=e.tail=null):(e.head=p,p.data=o.slice(h));break}++r}return e.length-=r,n}(t,e):function(t,e){var r=d.allocUnsafe(t),p=e.head,n=1;p.data.copy(r),t-=p.data.length;for(;p=p.next;){var o=p.data,h=t>o.length?o.length:t;if(o.copy(r,r.length-t,0,h),0===(t-=h)){h===o.length?(++n,p.next?e.head=p.next:e.head=e.tail=null):(e.head=p,p.data=o.slice(h));break}++n}return e.length-=n,r}(t,e);return n}(t,e.buffer,e.decoder),r);var r}function B(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,o.nextTick(F,e,t))}function F(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function U(t,e){for(var i=0,r=t.length;i<r;i++)if(t[i]===e)return i;return-1}A.prototype.read=function(t){w("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return w("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?B(this):O(this),null;if(0===(t=C(t,e))&&e.ended)return 0===e.length&&B(this),null;var n,o=e.needReadable;return w("need readable",o),(0===e.length||e.length-t<e.highWaterMark)&&w("length less than watermark",o=!0),e.ended||e.reading?w("reading or ended",o=!1):o&&(w("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=C(r,e))),null===(n=t>0?D(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&B(this)),null!==n&&this.emit("data",n),n},A.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},A.prototype.pipe=function(t,e){var r=this,h=this._readableState;switch(h.pipesCount){case 0:h.pipes=t;break;case 1:h.pipes=[h.pipes,t];break;default:h.pipes.push(t)}h.pipesCount+=1,w("pipe count=%d opts=%j",h.pipesCount,e);var f=(!e||!1!==e.end)&&t!==n.stdout&&t!==n.stderr?m:A;function d(e,n){w("onunpipe"),e===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,w("cleanup"),t.removeListener("close",x),t.removeListener("finish",E),t.removeListener("drain",v),t.removeListener("error",S),t.removeListener("unpipe",d),r.removeListener("end",m),r.removeListener("end",A),r.removeListener("data",M),y=!0,!h.awaitDrain||t._writableState&&!t._writableState.needDrain||v())}function m(){w("onend"),t.end()}h.endEmitted?o.nextTick(f):r.once("end",f),t.on("unpipe",d);var v=function(t){return function(){var e=t._readableState;w("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&c(t,"data")&&(e.flowing=!0,L(t))}}(r);t.on("drain",v);var y=!1;var _=!1;function M(e){w("ondata"),_=!1,!1!==t.write(e)||_||((1===h.pipesCount&&h.pipes===t||h.pipesCount>1&&-1!==U(h.pipes,t))&&!y&&(w("false write response, pause",r._readableState.awaitDrain),r._readableState.awaitDrain++,_=!0),r.pause())}function S(e){w("onerror",e),A(),t.removeListener("error",S),0===c(t,"error")&&t.emit("error",e)}function x(){t.removeListener("finish",E),A()}function E(){w("onfinish"),t.removeListener("close",x),A()}function A(){w("unpipe"),r.unpipe(t)}return r.on("data",M),function(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?l(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",S),t.once("close",x),t.once("finish",E),t.emit("pipe",r),h.flowing||(w("pipe resume"),r.resume()),t},A.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,o=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var i=0;i<o;i++)n[i].emit("unpipe",this,r);return this}var h=U(e.pipes,t);return-1===h||(e.pipes.splice(h,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},A.prototype.on=function(t,e){var r=f.prototype.on.call(this,t,e);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&O(this):o.nextTick(j,this))}return r},A.prototype.addListener=A.prototype.on,A.prototype.resume=function(){var t=this._readableState;return t.flowing||(w("resume"),t.flowing=!0,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,o.nextTick(N,t,e))}(this,t)),this},A.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},A.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",(function(){if(w("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(o){(w("wrapped data"),r.decoder&&(o=r.decoder.write(o)),r.objectMode&&null==o)||(r.objectMode||o&&o.length)&&(e.push(o)||(n=!0,t.pause()))})),t)void 0===this[i]&&"function"==typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;o<x.length;o++)t.on(x[o],this.emit.bind(this,x[o]));return this._read=function(e){w("wrapped _read",e),n&&(n=!1,t.resume())},this},Object.defineProperty(A.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),A._fromList=D}).call(this,r(54),r(69))},function(t,e,r){t.exports=r(167).EventEmitter},function(t,e,r){"use strict";var n=r(268);function o(t,e){t.emit("error",e)}t.exports={destroy:function(t,e){var r=this,h=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return h||l?(e?e(t):!t||this._writableState&&this._writableState.errorEmitted||n.nextTick(o,this,t),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!e&&t?(n.nextTick(o,r,t),r._writableState&&(r._writableState.errorEmitted=!0)):e&&e(t)})),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(t,e,r){"use strict";t.exports=l;var n=r(168),o=Object.create(r(227));function h(t,data){var e=this._transformState;e.transforming=!1;var r=e.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));e.writechunk=null,e.writecb=null,null!=data&&this.push(data),r(t);var n=this._readableState;n.reading=!1,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}function l(t){if(!(this instanceof l))return new l(t);n.call(this,t),this._transformState={afterTransform:h.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",c)}function c(){var t=this;"function"==typeof this._flush?this._flush((function(e,data){f(t,e,data)})):f(this,null,null)}function f(t,e,data){if(e)return t.emit("error",e);if(null!=data&&t.push(data),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}o.inherits=r(36),o.inherits(l,n),l.prototype.push=function(t,e){return this._transformState.needTransform=!1,n.prototype.push.call(this,t,e)},l.prototype._transform=function(t,e,r){throw new Error("_transform() is not implemented")},l.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var o=this._readableState;(n.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},l.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},l.prototype._destroy=function(t,e){var r=this;n.prototype._destroy.call(this,t,(function(t){e(t),r.emit("close")}))}},function(t,e,r){"use strict";var n=r(673),o=r(674);function h(){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}e.parse=A,e.resolve=function(source,t){return A(source,!1,!0).resolve(t)},e.resolveObject=function(source,t){return source?A(source,!1,!0).resolveObject(t):t},e.format=function(t){o.isString(t)&&(t=A(t));return t instanceof h?t.format():h.prototype.format.call(t)},e.Url=h;var l=/^([a-z0-9.+-]+:)/i,c=/:[0-9]*$/,f=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,d=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),m=["'"].concat(d),v=["%","/","?",";","#"].concat(m),y=["/","?","#"],w=/^[+a-z0-9A-Z_-]{0,63}$/,_=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,M={javascript:!0,"javascript:":!0},S={javascript:!0,"javascript:":!0},x={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},E=r(675);function A(t,e,r){if(t&&o.isObject(t)&&t instanceof h)return t;var u=new h;return u.parse(t,e,r),u}h.prototype.parse=function(t,e,r){if(!o.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var h=t.indexOf("?"),c=-1!==h&&h<t.indexOf("#")?"?":"#",d=t.split(c);d[0]=d[0].replace(/\\/g,"/");var A=t=d.join(c);if(A=A.trim(),!r&&1===t.split("#").length){var T=f.exec(A);if(T)return this.path=A,this.href=A,this.pathname=T[1],T[2]?(this.search=T[2],this.query=e?E.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var k=l.exec(A);if(k){var C=(k=k[0]).toLowerCase();this.protocol=C,A=A.substr(k.length)}if(r||k||A.match(/^\/\/[^@\/]+@[^@\/]+/)){var O="//"===A.substr(0,2);!O||k&&S[k]||(A=A.substr(2),this.slashes=!0)}if(!S[k]&&(O||k&&!x[k])){for(var I,P,R=-1,i=0;i<y.length;i++){-1!==(j=A.indexOf(y[i]))&&(-1===R||j<R)&&(R=j)}-1!==(P=-1===R?A.lastIndexOf("@"):A.lastIndexOf("@",R))&&(I=A.slice(0,P),A=A.slice(P+1),this.auth=decodeURIComponent(I)),R=-1;for(i=0;i<v.length;i++){var j;-1!==(j=A.indexOf(v[i]))&&(-1===R||j<R)&&(R=j)}-1===R&&(R=A.length),this.host=A.slice(0,R),A=A.slice(R),this.parseHost(),this.hostname=this.hostname||"";var N="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!N)for(var L=this.hostname.split(/\./),D=(i=0,L.length);i<D;i++){var B=L[i];if(B&&!B.match(w)){for(var F="",U=0,z=B.length;U<z;U++)B.charCodeAt(U)>127?F+="x":F+=B[U];if(!F.match(w)){var H=L.slice(0,i),G=L.slice(i+1),V=B.match(_);V&&(H.push(V[1]),G.unshift(V[2])),G.length&&(A="/"+G.join(".")+A),this.hostname=H.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),N||(this.hostname=n.toASCII(this.hostname));var p=this.port?":"+this.port:"",$=this.hostname||"";this.host=$+p,this.href+=this.host,N&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==A[0]&&(A="/"+A))}if(!M[C])for(i=0,D=m.length;i<D;i++){var W=m[i];if(-1!==A.indexOf(W)){var Y=encodeURIComponent(W);Y===W&&(Y=escape(W)),A=A.split(W).join(Y)}}var K=A.indexOf("#");-1!==K&&(this.hash=A.substr(K),A=A.slice(0,K));var X=A.indexOf("?");if(-1!==X?(this.search=A.substr(X),this.query=A.substr(X+1),e&&(this.query=E.parse(this.query)),A=A.slice(0,X)):e&&(this.search="",this.query={}),A&&(this.pathname=A),x[C]&&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},h.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",r=this.pathname||"",n=this.hash||"",h=!1,l="";this.host?h=t+this.host:this.hostname&&(h=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(h+=":"+this.port)),this.query&&o.isObject(this.query)&&Object.keys(this.query).length&&(l=E.stringify(this.query));var c=this.search||l&&"?"+l||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||x[e])&&!1!==h?(h="//"+(h||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):h||(h=""),n&&"#"!==n.charAt(0)&&(n="#"+n),c&&"?"!==c.charAt(0)&&(c="?"+c),e+h+(r=r.replace(/[?#]/g,(function(t){return encodeURIComponent(t)})))+(c=c.replace("#","%23"))+n},h.prototype.resolve=function(t){return this.resolveObject(A(t,!1,!0)).format()},h.prototype.resolveObject=function(t){if(o.isString(t)){var e=new h;e.parse(t,!1,!0),t=e}for(var r=new h,n=Object.keys(this),l=0;l<n.length;l++){var c=n[l];r[c]=this[c]}if(r.hash=t.hash,""===t.href)return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var f=Object.keys(t),d=0;d<f.length;d++){var m=f[d];"protocol"!==m&&(r[m]=t[m])}return x[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(t.protocol&&t.protocol!==r.protocol){if(!x[t.protocol]){for(var v=Object.keys(t),y=0;y<v.length;y++){var w=v[y];r[w]=t[w]}return r.href=r.format(),r}if(r.protocol=t.protocol,t.host||S[t.protocol])r.pathname=t.pathname;else{for(var _=(t.pathname||"").split("/");_.length&&!(t.host=_.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==_[0]&&_.unshift(""),_.length<2&&_.unshift(""),r.pathname=_.join("/")}if(r.search=t.search,r.query=t.query,r.host=t.host||"",r.auth=t.auth,r.hostname=t.hostname||t.host,r.port=t.port,r.pathname||r.search){var p=r.pathname||"",s=r.search||"";r.path=p+s}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var M=r.pathname&&"/"===r.pathname.charAt(0),E=t.host||t.pathname&&"/"===t.pathname.charAt(0),A=E||M||r.host&&t.pathname,T=A,k=r.pathname&&r.pathname.split("/")||[],C=(_=t.pathname&&t.pathname.split("/")||[],r.protocol&&!x[r.protocol]);if(C&&(r.hostname="",r.port=null,r.host&&(""===k[0]?k[0]=r.host:k.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===_[0]?_[0]=t.host:_.unshift(t.host)),t.host=null),A=A&&(""===_[0]||""===k[0])),E)r.host=t.host||""===t.host?t.host:r.host,r.hostname=t.hostname||""===t.hostname?t.hostname:r.hostname,r.search=t.search,r.query=t.query,k=_;else if(_.length)k||(k=[]),k.pop(),k=k.concat(_),r.search=t.search,r.query=t.query;else if(!o.isNullOrUndefined(t.search)){if(C)r.hostname=r.host=k.shift(),(R=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=R.shift(),r.host=r.hostname=R.shift());return r.search=t.search,r.query=t.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(!k.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var O=k.slice(-1)[0],I=(r.host||t.host||k.length>1)&&("."===O||".."===O)||""===O,P=0,i=k.length;i>=0;i--)"."===(O=k[i])?k.splice(i,1):".."===O?(k.splice(i,1),P++):P&&(k.splice(i,1),P--);if(!A&&!T)for(;P--;P)k.unshift("..");!A||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),I&&"/"!==k.join("/").substr(-1)&&k.push("");var R,j=""===k[0]||k[0]&&"/"===k[0].charAt(0);C&&(r.hostname=r.host=j?"":k.length?k.shift():"",(R=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=R.shift(),r.host=r.hostname=R.shift()));return(A=A||r.host&&k.length)&&!j&&k.unshift(""),k.length?r.pathname=k.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=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r},h.prototype.parseHost=function(){var t=this.host,e=c.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,o,h=r(32),l=r(497),component=r(678),c=r(679),f=((n={})["no-app"]="No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()",n["bad-app-name"]="Illegal App name: '{$appName}",n["duplicate-app"]="Firebase App named '{$appName}' already exists",n["app-deleted"]="Firebase App named '{$appName}' already deleted",n["invalid-app-argument"]="firebase.{$appName}() takes either no argument or a Firebase App instance.",n["invalid-log-argument"]="First argument to `onLog` must be null or a function.",n),d=new l.ErrorFactory("app","Firebase",f),m=((o={})["@firebase/app"]="fire-core",o["@firebase/analytics"]="fire-analytics",o["@firebase/auth"]="fire-auth",o["@firebase/database"]="fire-rtdb",o["@firebase/functions"]="fire-fn",o["@firebase/installations"]="fire-iid",o["@firebase/messaging"]="fire-fcm",o["@firebase/performance"]="fire-perf",o["@firebase/remote-config"]="fire-rc",o["@firebase/storage"]="fire-gcs",o["@firebase/firestore"]="fire-fst",o["fire-js"]="fire-js",o["firebase-wrapper"]="fire-js-all",o),v=new c.Logger("@firebase/app"),y=function(){function t(t,e,r){var n,o,c=this;this.firebase_=r,this.isDeleted_=!1,this.name_=e.name,this.automaticDataCollectionEnabled_=e.automaticDataCollectionEnabled||!1,this.options_=l.deepCopy(t),this.container=new component.ComponentContainer(e.name),this._addComponent(new component.Component("app",(function(){return c}),"PUBLIC"));try{for(var f=h.__values(this.firebase_.INTERNAL.components.values()),d=f.next();!d.done;d=f.next()){var m=d.value;this._addComponent(m)}}catch(t){n={error:t}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}}return Object.defineProperty(t.prototype,"automaticDataCollectionEnabled",{get:function(){return this.checkDestroyed_(),this.automaticDataCollectionEnabled_},set:function(t){this.checkDestroyed_(),this.automaticDataCollectionEnabled_=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.checkDestroyed_(),this.name_},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"options",{get:function(){return this.checkDestroyed_(),this.options_},enumerable:!1,configurable:!0}),t.prototype.delete=function(){var t=this;return new Promise((function(e){t.checkDestroyed_(),e()})).then((function(){return t.firebase_.INTERNAL.removeApp(t.name_),Promise.all(t.container.getProviders().map((function(t){return t.delete()})))})).then((function(){t.isDeleted_=!0}))},t.prototype._getService=function(t,e){return void 0===e&&(e="[DEFAULT]"),this.checkDestroyed_(),this.container.getProvider(t).getImmediate({identifier:e})},t.prototype._removeServiceInstance=function(t,e){void 0===e&&(e="[DEFAULT]"),this.container.getProvider(t).clearInstance(e)},t.prototype._addComponent=function(component){try{this.container.addComponent(component)}catch(t){v.debug("Component "+component.name+" failed to register with FirebaseApp "+this.name,t)}},t.prototype._addOrOverwriteComponent=function(component){this.container.addOrOverwriteComponent(component)},t.prototype.checkDestroyed_=function(){if(this.isDeleted_)throw d.create("app-deleted",{appName:this.name_})},t}();y.prototype.name&&y.prototype.options||y.prototype.delete||console.log("dc");var w=function t(){var e=function(t){var e={},r=new Map,n={__esModule:!0,initializeApp:function(r,o){void 0===o&&(o={});if("object"!=typeof o||null===o){o={name:o}}var h=o;void 0===h.name&&(h.name="[DEFAULT]");var c=h.name;if("string"!=typeof c||!c)throw d.create("bad-app-name",{appName:String(c)});if(l.contains(e,c))throw d.create("duplicate-app",{appName:c});var f=new t(r,h,n);return e[c]=f,f},app:o,registerVersion:function(t,e,r){var n,o=null!==(n=m[t])&&void 0!==n?n:t;r&&(o+="-"+r);var h=o.match(/\s|\//),l=e.match(/\s|\//);if(h||l){var c=['Unable to register library "'+o+'" with version "'+e+'":'];return h&&c.push('library name "'+o+'" contains illegal characters (whitespace or "/")'),h&&l&&c.push("and"),l&&c.push('version name "'+e+'" contains illegal characters (whitespace or "/")'),void v.warn(c.join(" "))}f(new component.Component(o+"-version",(function(){return{library:o,version:e}}),"VERSION"))},setLogLevel:c.setLogLevel,onLog:function(t,e){if(null!==t&&"function"!=typeof t)throw d.create("invalid-log-argument",{appName:name});c.setUserLogHandler(t,e)},apps:null,SDK_VERSION:"7.17.1",INTERNAL:{registerComponent:f,removeApp:function(t){delete e[t]},components:r,useAsService:function(t,e){if("serverAuth"===e)return null;return e}}};function o(t){if(t=t||"[DEFAULT]",!l.contains(e,t))throw d.create("no-app",{appName:t});return e[t]}function f(component){var c,f,m=component.name;if(r.has(m))return v.debug("There were multiple attempts to register component "+m+"."),"PUBLIC"===component.type?n[m]:null;if(r.set(m,component),"PUBLIC"===component.type){var y=function(t){if(void 0===t&&(t=o()),"function"!=typeof t[m])throw d.create("invalid-app-argument",{appName:m});return t[m]()};void 0!==component.serviceProps&&l.deepExtend(y,component.serviceProps),n[m]=y,t.prototype[m]=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r=this._getService.bind(this,m);return r.apply(this,component.multipleInstances?t:[])}}try{for(var w=h.__values(Object.keys(e)),_=w.next();!_.done;_=w.next()){var M=_.value;e[M]._addComponent(component)}}catch(t){c={error:t}}finally{try{_&&!_.done&&(f=w.return)&&f.call(w)}finally{if(c)throw c.error}}return"PUBLIC"===component.type?n[m]:null}return n.default=n,Object.defineProperty(n,"apps",{get:function(){return Object.keys(e).map((function(t){return e[t]}))}}),o.App=t,n}(y);return e.INTERNAL=h.__assign(h.__assign({},e.INTERNAL),{createFirebaseNamespace:t,extendNamespace:function(t){l.deepExtend(e,t)},createSubscribe:l.createSubscribe,ErrorFactory:l.ErrorFactory,deepExtend:l.deepExtend}),e}(),_=function(){function t(t){this.container=t}return t.prototype.getPlatformInfoString=function(){return this.container.getProviders().map((function(t){if(function(t){var component=t.getComponent();return"VERSION"===(null==component?void 0:component.type)}(t)){var e=t.getImmediate();return e.library+"/"+e.version}return null})).filter((function(t){return t})).join(" ")},t}();if(l.isBrowser()&&void 0!==self.firebase){v.warn("\n    Warning: Firebase is already defined in the global scope. Please make sure\n    Firebase library is only loaded once.\n  ");var M=self.firebase.SDK_VERSION;M&&M.indexOf("LITE")>=0&&v.warn("\n    Warning: You are trying to load Firebase while using Firebase Performance standalone script.\n    You should load Firebase Performance with this instance of Firebase to avoid loading duplicate code.\n    ")}var S=w.initializeApp;w.initializeApp=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return l.isNode()&&v.warn('\n      Warning: This is a browser-targeted Firebase bundle but it appears it is being\n      run in a Node environment.  If running in a Node environment, make sure you\n      are using the bundle specified by the "main" field in package.json.\n      \n      If you are using Webpack, you can specify "main" as the first item in\n      "resolve.mainFields":\n      https://webpack.js.org/configuration/resolve/#resolvemainfields\n      \n      If using Rollup, use the rollup-plugin-node-resolve plugin and specify "main"\n      as the first item in "mainFields", e.g. [\'main\', \'module\'].\n      https://github.com/rollup/rollup-plugin-node-resolve\n      '),S.apply(void 0,t)};var x=w;!function(t,e){t.INTERNAL.registerComponent(new component.Component("platform-logger",(function(t){return new _(t)}),"PRIVATE")),t.registerVersion("@firebase/app","0.6.9",e),t.registerVersion("fire-js","")}(x),e.default=x,e.firebase=x},function(t,e,r){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0});var n=r(32),o={NODE_CLIENT:!1,NODE_ADMIN:!1,SDK_VERSION:"${JSCORE_VERSION}"},h=function(t,e){if(!t)throw l(e)},l=function(t){return new Error("Firebase Database ("+o.SDK_VERSION+") INTERNAL ASSERT FAILED: "+t)},c=function(t){for(var e=[],p=0,i=0;i<t.length;i++){var r=t.charCodeAt(i);r<128?e[p++]=r:r<2048?(e[p++]=r>>6|192,e[p++]=63&r|128):55296==(64512&r)&&i+1<t.length&&56320==(64512&t.charCodeAt(i+1))?(r=65536+((1023&r)<<10)+(1023&t.charCodeAt(++i)),e[p++]=r>>18|240,e[p++]=r>>12&63|128,e[p++]=r>>6&63|128,e[p++]=63&r|128):(e[p++]=r>>12|224,e[p++]=r>>6&63|128,e[p++]=63&r|128)}return e},f={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray:function(input,t){if(!Array.isArray(input))throw Error("encodeByteArray takes an array as a parameter");this.init_();for(var e=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,output=[],i=0;i<input.length;i+=3){var r=input[i],n=i+1<input.length,o=n?input[i+1]:0,h=i+2<input.length,l=h?input[i+2]:0,c=r>>2,f=(3&r)<<4|o>>4,d=(15&o)<<2|l>>6,m=63&l;h||(m=64,n||(d=64)),output.push(e[c],e[f],e[d],e[m])}return output.join("")},encodeString:function(input,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(input):this.encodeByteArray(c(input),t)},decodeString:function(input,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(input):function(t){for(var e=[],r=0,n=0;r<t.length;){var o=t[r++];if(o<128)e[n++]=String.fromCharCode(o);else if(o>191&&o<224){var h=t[r++];e[n++]=String.fromCharCode((31&o)<<6|63&h)}else if(o>239&&o<365){var u=((7&o)<<18|(63&(h=t[r++]))<<12|(63&(l=t[r++]))<<6|63&t[r++])-65536;e[n++]=String.fromCharCode(55296+(u>>10)),e[n++]=String.fromCharCode(56320+(1023&u))}else{h=t[r++];var l=t[r++];e[n++]=String.fromCharCode((15&o)<<12|(63&h)<<6|63&l)}}return e.join("")}(this.decodeStringToByteArray(input,t))},decodeStringToByteArray:function(input,t){this.init_();for(var e=t?this.charToByteMapWebSafe_:this.charToByteMap_,output=[],i=0;i<input.length;){var r=e[input.charAt(i++)],n=i<input.length?e[input.charAt(i)]:0,o=++i<input.length?e[input.charAt(i)]:64,h=++i<input.length?e[input.charAt(i)]:64;if(++i,null==r||null==n||null==o||null==h)throw Error();var l=r<<2|n>>4;if(output.push(l),64!==o){var c=n<<4&240|o>>2;if(output.push(c),64!==h){var f=o<<6&192|h;output.push(f)}}}return output},init_:function(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(var i=0;i<this.ENCODED_VALS.length;i++)this.byteToCharMap_[i]=this.ENCODED_VALS.charAt(i),this.charToByteMap_[this.byteToCharMap_[i]]=i,this.byteToCharMapWebSafe_[i]=this.ENCODED_VALS_WEBSAFE.charAt(i),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[i]]=i,i>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(i)]=i,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(i)]=i)}}},d=function(t){try{return f.decodeString(t,!0)}catch(t){console.error("base64Decode failed: ",t)}return null};function m(t,source){if(!(source instanceof Object))return source;switch(source.constructor){case Date:return new Date(source.getTime());case Object:void 0===t&&(t={});break;case Array:t=[];break;default:return source}for(var e in source)source.hasOwnProperty(e)&&(t[e]=m(t[e],source[e]));return t}var v=function(){function t(){var t=this;this.reject=function(){},this.resolve=function(){},this.promise=new Promise((function(e,r){t.resolve=e,t.reject=r}))}return t.prototype.wrapCallback=function(t){var e=this;return function(r,n){r?e.reject(r):e.resolve(n),"function"==typeof t&&(e.promise.catch((function(){})),1===t.length?t(r):t(r,n))}},t}();function y(){return"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function w(){try{return"[object process]"===Object.prototype.toString.call(t.process)}catch(t){return!1}}var _=function(t){function e(code,r){var n=t.call(this,r)||this;return n.code=code,n.name="FirebaseError",Object.setPrototypeOf(n,e.prototype),Error.captureStackTrace&&Error.captureStackTrace(n,M.prototype.create),n}return n.__extends(e,t),e}(Error),M=function(){function t(t,e,r){this.service=t,this.serviceName=e,this.errors=r}return t.prototype.create=function(code){for(var data=[],t=1;t<arguments.length;t++)data[t-1]=arguments[t];for(var e=data[0]||{},r=this.service+"/"+code,template=this.errors[code],n=template?S(template,e):"Error",o=this.serviceName+": "+n+" ("+r+").",h=new _(r,o),l=0,c=Object.keys(e);l<c.length;l++){var f=c[l];"_"!==f.slice(-1)&&(f in h&&console.warn('Overwriting FirebaseError base field "'+f+'" can cause unexpected behavior.'),h[f]=e[f])}return h},t}();function S(template,data){return template.replace(x,(function(t,e){var r=data[e];return null!=r?String(r):"<"+e+"?>"}))}var x=/\{\$([^}]+)}/g;function E(t){return JSON.parse(t)}var A=function(t){var header={},e={},data={},r="";try{var n=t.split(".");header=E(d(n[0])||""),e=E(d(n[1])||""),r=n[2],data=e.d||{},delete e.d}catch(t){}return{header:header,claims:e,data:data,signature:r}};var T=function(){function t(){this.chain_=[],this.buf_=[],this.W_=[],this.pad_=[],this.inbuf_=0,this.total_=0,this.blockSize=64,this.pad_[0]=128;for(var i=1;i<this.blockSize;++i)this.pad_[i]=0;this.reset()}return t.prototype.reset=function(){this.chain_[0]=1732584193,this.chain_[1]=4023233417,this.chain_[2]=2562383102,this.chain_[3]=271733878,this.chain_[4]=3285377520,this.inbuf_=0,this.total_=0},t.prototype.compress_=function(t,e){e||(e=0);var r=this.W_;if("string"==typeof t)for(var i=0;i<16;i++)r[i]=t.charCodeAt(e)<<24|t.charCodeAt(e+1)<<16|t.charCodeAt(e+2)<<8|t.charCodeAt(e+3),e+=4;else for(i=0;i<16;i++)r[i]=t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3],e+=4;for(i=16;i<80;i++){var n=r[i-3]^r[i-8]^r[i-14]^r[i-16];r[i]=4294967295&(n<<1|n>>>31)}var o,h,a=this.chain_[0],b=this.chain_[1],l=this.chain_[2],c=this.chain_[3],f=this.chain_[4];for(i=0;i<80;i++){i<40?i<20?(o=c^b&(l^c),h=1518500249):(o=b^l^c,h=1859775393):i<60?(o=b&l|c&(b|l),h=2400959708):(o=b^l^c,h=3395469782);n=(a<<5|a>>>27)+o+f+h+r[i]&4294967295;f=c,c=l,l=4294967295&(b<<30|b>>>2),b=a,a=n}this.chain_[0]=this.chain_[0]+a&4294967295,this.chain_[1]=this.chain_[1]+b&4294967295,this.chain_[2]=this.chain_[2]+l&4294967295,this.chain_[3]=this.chain_[3]+c&4294967295,this.chain_[4]=this.chain_[4]+f&4294967295},t.prototype.update=function(t,e){if(null!=t){void 0===e&&(e=t.length);for(var r=e-this.blockSize,n=0,o=this.buf_,h=this.inbuf_;n<e;){if(0===h)for(;n<=r;)this.compress_(t,n),n+=this.blockSize;if("string"==typeof t){for(;n<e;)if(o[h]=t.charCodeAt(n),++n,++h===this.blockSize){this.compress_(o),h=0;break}}else for(;n<e;)if(o[h]=t[n],++n,++h===this.blockSize){this.compress_(o),h=0;break}}this.inbuf_=h,this.total_+=e}},t.prototype.digest=function(){var t=[],e=8*this.total_;this.inbuf_<56?this.update(this.pad_,56-this.inbuf_):this.update(this.pad_,this.blockSize-(this.inbuf_-56));for(var i=this.blockSize-1;i>=56;i--)this.buf_[i]=255&e,e/=256;this.compress_(this.buf_);var r=0;for(i=0;i<5;i++)for(var n=24;n>=0;n-=8)t[r]=this.chain_[i]>>n&255,++r;return t},t}();var k=function(){function t(t,e){var r=this;this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=e,this.task.then((function(){t(r)})).catch((function(t){r.error(t)}))}return t.prototype.next=function(t){this.forEachObserver((function(e){e.next(t)}))},t.prototype.error=function(t){this.forEachObserver((function(e){e.error(t)})),this.close(t)},t.prototype.complete=function(){this.forEachObserver((function(t){t.complete()})),this.close()},t.prototype.subscribe=function(t,e,r){var n,o=this;if(void 0===t&&void 0===e&&void 0===r)throw new Error("Missing Observer.");void 0===(n=function(t,e){if("object"!=typeof t||null===t)return!1;for(var r=0,n=e;r<n.length;r++){var o=n[r];if(o in t&&"function"==typeof t[o])return!0}return!1}(t,["next","error","complete"])?t:{next:t,error:e,complete:r}).next&&(n.next=C),void 0===n.error&&(n.error=C),void 0===n.complete&&(n.complete=C);var h=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then((function(){try{o.finalError?n.error(o.finalError):n.complete()}catch(t){}})),this.observers.push(n),h},t.prototype.unsubscribeOne=function(i){void 0!==this.observers&&void 0!==this.observers[i]&&(delete this.observers[i],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))},t.prototype.forEachObserver=function(t){if(!this.finalized)for(var i=0;i<this.observers.length;i++)this.sendOne(i,t)},t.prototype.sendOne=function(i,t){var e=this;this.task.then((function(){if(void 0!==e.observers&&void 0!==e.observers[i])try{t(e.observers[i])}catch(t){"undefined"!=typeof console&&console.error&&console.error(t)}}))},t.prototype.close=function(t){var e=this;this.finalized||(this.finalized=!0,void 0!==t&&(this.finalError=t),this.task.then((function(){e.observers=void 0,e.onNoObservers=void 0})))},t}();function C(){}function O(t,e,r){var n="";switch(e){case 1:n=r?"first":"First";break;case 2:n=r?"second":"Second";break;case 3:n=r?"third":"Third";break;case 4:n=r?"fourth":"Fourth";break;default:throw new Error("errorPrefix called with argumentNumber > 4.  Need to update it?")}var o=t+" failed: ";return o+=n+" argument "}e.CONSTANTS=o,e.Deferred=v,e.ErrorFactory=M,e.FirebaseError=_,e.Sha1=T,e.areCookiesEnabled=function(){return!(!navigator||!navigator.cookieEnabled)},e.assert=h,e.assertionError=l,e.async=function(t,e){return function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];Promise.resolve(!0).then((function(){t.apply(void 0,r)})).catch((function(t){e&&e(t)}))}},e.base64=f,e.base64Decode=d,e.base64Encode=function(t){var e=c(t);return f.encodeByteArray(e,!0)},e.contains=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.createSubscribe=function(t,e){var r=new k(t,e);return r.subscribe.bind(r)},e.decode=A,e.deepCopy=function(t){return m(void 0,t)},e.deepExtend=m,e.errorPrefix=O,e.getUA=y,e.isAdmin=function(t){var e=A(t).claims;return"object"==typeof e&&!0===e.admin},e.isBrowser=function(){return"object"==typeof self&&self.self===self},e.isBrowserExtension=function(){var t="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof t&&void 0!==t.id},e.isElectron=function(){return y().indexOf("Electron/")>=0},e.isEmpty=function(t){for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return!0},e.isIE=function(){var t=y();return t.indexOf("MSIE ")>=0||t.indexOf("Trident/")>=0},e.isIndexedDBAvailable=function(){return"indexedDB"in window&&null!==indexedDB},e.isMobileCordova=function(){return"undefined"!=typeof window&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(y())},e.isNode=w,e.isNodeSdk=function(){return!0===o.NODE_CLIENT||!0===o.NODE_ADMIN},e.isReactNative=function(){return"object"==typeof navigator&&"ReactNative"===navigator.product},e.isSafari=function(){return!w()&&navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")},e.isUWP=function(){return y().indexOf("MSAppHost/")>=0},e.isValidFormat=function(t){var e=A(t).claims;return!!e&&"object"==typeof e&&e.hasOwnProperty("iat")},e.isValidTimestamp=function(t){var e=A(t).claims,r=Math.floor((new Date).getTime()/1e3),n=0,o=0;return"object"==typeof e&&(e.hasOwnProperty("nbf")?n=e.nbf:e.hasOwnProperty("iat")&&(n=e.iat),o=e.hasOwnProperty("exp")?e.exp:n+86400),!!r&&!!n&&!!o&&r>=n&&r<=o},e.issuedAtTime=function(t){var e=A(t).claims;return"object"==typeof e&&e.hasOwnProperty("iat")?e.iat:null},e.jsonEval=E,e.map=function(t,e,r){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(n[o]=e.call(r,t[o],o,t));return n},e.querystring=function(t){for(var e=[],r=function(t,r){Array.isArray(r)?r.forEach((function(r){e.push(encodeURIComponent(t)+"="+encodeURIComponent(r))})):e.push(encodeURIComponent(t)+"="+encodeURIComponent(r))},n=0,o=Object.entries(t);n<o.length;n++){var h=o[n];r(h[0],h[1])}return e.length?"&"+e.join("&"):""},e.querystringDecode=function(t){var e={};return t.replace(/^\?/,"").split("&").forEach((function(t){if(t){var r=t.split("=");e[r[0]]=r[1]}})),e},e.safeGet=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)?t[e]:void 0},e.stringLength=function(t){for(var p=0,i=0;i<t.length;i++){var e=t.charCodeAt(i);e<128?p++:e<2048?p+=2:e>=55296&&e<=56319?(p+=4,i++):p+=3}return p},e.stringToByteArray=function(t){for(var e=[],p=0,i=0;i<t.length;i++){var r=t.charCodeAt(i);if(r>=55296&&r<=56319){var n=r-55296;i++,h(i<t.length,"Surrogate pair missing trail surrogate."),r=65536+(n<<10)+(t.charCodeAt(i)-56320)}r<128?e[p++]=r:r<2048?(e[p++]=r>>6|192,e[p++]=63&r|128):r<65536?(e[p++]=r>>12|224,e[p++]=r>>6&63|128,e[p++]=63&r|128):(e[p++]=r>>18|240,e[p++]=r>>12&63|128,e[p++]=r>>6&63|128,e[p++]=63&r|128)}return e},e.stringify=function(data){return JSON.stringify(data)},e.validateArgCount=function(t,e,r,n){var o;if(n<e?o="at least "+e:n>r&&(o=0===r?"none":"no more than "+r),o)throw new Error(t+" failed: Was called with "+n+(1===n?" argument.":" arguments.")+" Expects "+o+".")},e.validateCallback=function(t,e,r,n){if((!n||r)&&"function"!=typeof r)throw new Error(O(t,e,n)+"must be a valid function.")},e.validateContextObject=function(t,e,r,n){if((!n||r)&&("object"!=typeof r||null===r))throw new Error(O(t,e,n)+"must be a valid context object.")},e.validateIndexedDBOpenable=function(){return new Promise((function(t,e){try{var r=!0,n="validate-browser-context-for-indexeddb-analytics-module",o=window.indexedDB.open(n);o.onsuccess=function(){o.result.close(),r||window.indexedDB.deleteDatabase(n),t(!0)},o.onupgradeneeded=function(){r=!1},o.onerror=function(){var t;e((null===(t=o.error)||void 0===t?void 0:t.message)||"")}}catch(t){e(t)}}))},e.validateNamespace=function(t,e,r,n){if((!n||r)&&"string"!=typeof r)throw new Error(O(t,e,n)+"must be a valid firebase namespace.")}}).call(this,r(54))},function(t,e,r){"use strict";r(680)},,function(t,e,r){"use strict";var n=String.prototype.replace,o=/%20/g,h=r(324),l={RFC1738:"RFC1738",RFC3986:"RFC3986"};t.exports=h.assign({default:l.RFC3986,formatters:{RFC1738:function(t){return n.call(t,o,"+")},RFC3986:function(t){return String(t)}}},l)},,,,,,,,,,,,,,,function(t,e,r){t.exports=function(t){"use strict";var e=function(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}(t),r={name:"ja",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(t){return t+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiem:function(t){return t<12?"午前":"午後"},relativeTime:{future:"%s後",past:"%s前",s:"数秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}};return e.default.locale(r,null,!0),r}(r(35))},,,,function(t,e,r){"use strict";var n=r(717).Buffer,o=r(718).Transform;function h(t){o.call(this),this._block=n.allocUnsafe(t),this._blockSize=t,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}r(36)(h,o),h.prototype._transform=function(t,e,r){var n=null;try{this.update(t,e)}catch(t){n=t}r(n)},h.prototype._flush=function(t){var e=null;try{this.push(this.digest())}catch(t){e=t}t(e)},h.prototype.update=function(data,t){if(function(t,e){if(!n.isBuffer(t)&&"string"!=typeof t)throw new TypeError(e+" must be a string or a buffer")}(data,"Data"),this._finalized)throw new Error("Digest already called");n.isBuffer(data)||(data=n.from(data,t));for(var e=this._block,r=0;this._blockOffset+data.length-r>=this._blockSize;){for(var i=this._blockOffset;i<this._blockSize;)e[i++]=data[r++];this._update(),this._blockOffset=0}for(;r<data.length;)e[this._blockOffset++]=data[r++];for(var o=0,h=8*data.length;h>0;++o)this._length[o]+=h,(h=this._length[o]/4294967296|0)>0&&(this._length[o]-=4294967296*h);return this},h.prototype._update=function(){throw new Error("_update is not implemented")},h.prototype.digest=function(t){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var e=this._digest();void 0!==t&&(e=e.toString(t)),this._block.fill(0),this._blockOffset=0;for(var i=0;i<4;++i)this._length[i]=0;return e},h.prototype._digest=function(){throw new Error("_digest is not implemented")},t.exports=h},function(t,e,r){"use strict";(function(e,n){var o;t.exports=P,P.ReadableState=I;r(167).EventEmitter;var h=function(t,e){return t.listeners(e).length},l=r(521),c=r(61).Buffer,f=e.Uint8Array||function(){};var d,m=r(719);d=m&&m.debuglog?m.debuglog("stream"):function(){};var v,y,w,_=r(720),M=r(522),S=r(523).getHighWaterMark,x=r(189).codes,E=x.ERR_INVALID_ARG_TYPE,A=x.ERR_STREAM_PUSH_AFTER_EOF,T=x.ERR_METHOD_NOT_IMPLEMENTED,k=x.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(36)(P,l);var C=M.errorOrDestroy,O=["error","close","destroy","pause","resume"];function I(t,e,n){o=o||r(190),t=t||{},"boolean"!=typeof n&&(n=e instanceof o),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=S(this,t,"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!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(v||(v=r(169).StringDecoder),this.decoder=new v(t.encoding),this.encoding=t.encoding)}function P(t){if(o=o||r(190),!(this instanceof P))return new P(t);var e=this instanceof o;this._readableState=new I(t,this,e),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),l.call(this)}function R(t,e,r,n,o){d("readableAddChunk",e);var h,l=t._readableState;if(null===e)l.reading=!1,function(t,e){if(d("onEofChunk"),e.ended)return;if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?L(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,D(t)))}(t,l);else if(o||(h=function(t,e){var r;n=e,c.isBuffer(n)||n instanceof f||"string"==typeof e||void 0===e||t.objectMode||(r=new E("chunk",["string","Buffer","Uint8Array"],e));var n;return r}(l,e)),h)C(t,h);else if(l.objectMode||e&&e.length>0)if("string"==typeof e||l.objectMode||Object.getPrototypeOf(e)===c.prototype||(e=function(t){return c.from(t)}(e)),n)l.endEmitted?C(t,new k):j(t,l,e,!0);else if(l.ended)C(t,new A);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!r?(e=l.decoder.write(e),l.objectMode||0!==e.length?j(t,l,e,!1):B(t,l)):j(t,l,e,!1)}else n||(l.reading=!1,B(t,l));return!l.ended&&(l.length<l.highWaterMark||0===l.length)}function j(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&L(t)),B(t,e)}Object.defineProperty(P.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),P.prototype.destroy=M.destroy,P.prototype._undestroy=M.undestroy,P.prototype._destroy=function(t,e){e(t)},P.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=c.from(t,e),e=""),r=!0),R(this,t,e,!1,r)},P.prototype.unshift=function(t){return R(this,t,null,!0,!1)},P.prototype.isPaused=function(){return!1===this._readableState.flowing},P.prototype.setEncoding=function(t){v||(v=r(169).StringDecoder);var e=new v(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var p=this._readableState.buffer.head,content="";null!==p;)content+=e.write(p.data),p=p.next;return this._readableState.buffer.clear(),""!==content&&this._readableState.buffer.push(content),this._readableState.length=content.length,this};function N(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=1073741824?t=1073741824:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function L(t){var e=t._readableState;d("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(d("emitReadable",e.flowing),e.emittedReadable=!0,n.nextTick(D,t))}function D(t){var e=t._readableState;d("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,G(t)}function B(t,e){e.readingMore||(e.readingMore=!0,n.nextTick(F,t,e))}function F(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){var r=e.length;if(d("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=!1}function U(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function z(t){d("readable nexttick read 0"),t.read(0)}function H(t,e){d("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),G(t),e.flowing&&!e.reading&&t.read(0)}function G(t){var e=t._readableState;for(d("flow",e.flowing);e.flowing&&null!==t.read(););}function V(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r);var r}function $(t){var e=t._readableState;d("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,n.nextTick(W,e,t))}function W(t,e){if(d("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var r=e._writableState;(!r||r.autoDestroy&&r.finished)&&e.destroy()}}function Y(t,e){for(var i=0,r=t.length;i<r;i++)if(t[i]===e)return i;return-1}P.prototype.read=function(t){d("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return d("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?$(this):L(this),null;if(0===(t=N(t,e))&&e.ended)return 0===e.length&&$(this),null;var n,o=e.needReadable;return d("need readable",o),(0===e.length||e.length-t<e.highWaterMark)&&d("length less than watermark",o=!0),e.ended||e.reading?d("reading or ended",o=!1):o&&(d("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=N(r,e))),null===(n=t>0?V(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&$(this)),null!==n&&this.emit("data",n),n},P.prototype._read=function(t){C(this,new T("_read()"))},P.prototype.pipe=function(t,e){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=t;break;case 1:o.pipes=[o.pipes,t];break;default:o.pipes.push(t)}o.pipesCount+=1,d("pipe count=%d opts=%j",o.pipesCount,e);var l=(!e||!1!==e.end)&&t!==n.stdout&&t!==n.stderr?f:S;function c(e,n){d("onunpipe"),e===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,d("cleanup"),t.removeListener("close",_),t.removeListener("finish",M),t.removeListener("drain",m),t.removeListener("error",w),t.removeListener("unpipe",c),r.removeListener("end",f),r.removeListener("end",S),r.removeListener("data",y),v=!0,!o.awaitDrain||t._writableState&&!t._writableState.needDrain||m())}function f(){d("onend"),t.end()}o.endEmitted?n.nextTick(l):r.once("end",l),t.on("unpipe",c);var m=function(t){return function(){var e=t._readableState;d("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&h(t,"data")&&(e.flowing=!0,G(t))}}(r);t.on("drain",m);var v=!1;function y(e){d("ondata");var n=t.write(e);d("dest.write",n),!1===n&&((1===o.pipesCount&&o.pipes===t||o.pipesCount>1&&-1!==Y(o.pipes,t))&&!v&&(d("false write response, pause",o.awaitDrain),o.awaitDrain++),r.pause())}function w(e){d("onerror",e),S(),t.removeListener("error",w),0===h(t,"error")&&C(t,e)}function _(){t.removeListener("finish",M),S()}function M(){d("onfinish"),t.removeListener("close",_),S()}function S(){d("unpipe"),r.unpipe(t)}return r.on("data",y),function(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",w),t.once("close",_),t.once("finish",M),t.emit("pipe",r),o.flowing||(d("pipe resume"),r.resume()),t},P.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,o=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var i=0;i<o;i++)n[i].emit("unpipe",this,{hasUnpiped:!1});return this}var h=Y(e.pipes,t);return-1===h||(e.pipes.splice(h,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},P.prototype.on=function(t,e){var r=l.prototype.on.call(this,t,e),o=this._readableState;return"data"===t?(o.readableListening=this.listenerCount("readable")>0,!1!==o.flowing&&this.resume()):"readable"===t&&(o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,d("on readable",o.length,o.reading),o.length?L(this):o.reading||n.nextTick(z,this))),r},P.prototype.addListener=P.prototype.on,P.prototype.removeListener=function(t,e){var r=l.prototype.removeListener.call(this,t,e);return"readable"===t&&n.nextTick(U,this),r},P.prototype.removeAllListeners=function(t){var e=l.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||n.nextTick(U,this),e},P.prototype.resume=function(){var t=this._readableState;return t.flowing||(d("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,n.nextTick(H,t,e))}(this,t)),t.paused=!1,this},P.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},P.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",(function(){if(d("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(o){(d("wrapped data"),r.decoder&&(o=r.decoder.write(o)),r.objectMode&&null==o)||(r.objectMode||o&&o.length)&&(e.push(o)||(n=!0,t.pause()))})),t)void 0===this[i]&&"function"==typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;o<O.length;o++)t.on(O[o],this.emit.bind(this,O[o]));return this._read=function(e){d("wrapped _read",e),n&&(n=!1,t.resume())},this},"function"==typeof Symbol&&(P.prototype[Symbol.asyncIterator]=function(){return void 0===y&&(y=r(722)),y(this)}),Object.defineProperty(P.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(P.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(P.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),P._fromList=V,Object.defineProperty(P.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(P.from=function(t,e){return void 0===w&&(w=r(723)),w(P,t,e)})}).call(this,r(54),r(69))},function(t,e,r){t.exports=r(167).EventEmitter},function(t,e,r){"use strict";(function(e){function r(t,e){o(t,e),n(t)}function n(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function o(t,e){t.emit("error",e)}t.exports={destroy:function(t,h){var l=this,c=this._readableState&&this._readableState.destroyed,f=this._writableState&&this._writableState.destroyed;return c||f?(h?h(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(o,this,t)):e.nextTick(o,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!h&&t?l._writableState?l._writableState.errorEmitted?e.nextTick(n,l):(l._writableState.errorEmitted=!0,e.nextTick(r,l,t)):e.nextTick(r,l,t):h?(e.nextTick(n,l),h(t)):e.nextTick(n,l)})),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(t,e){var r=t._readableState,n=t._writableState;r&&r.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}}}).call(this,r(69))},function(t,e,r){"use strict";var n=r(189).codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(t,e,r,o){var h=function(t,e,r){return null!=t.highWaterMark?t.highWaterMark:e?t[r]:null}(e,o,r);if(null!=h){if(!isFinite(h)||Math.floor(h)!==h||h<0)throw new n(o?r:"highWaterMark",h);return Math.floor(h)}return t.objectMode?16:16384}}},function(t,e,r){"use strict";(function(e,n){function o(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;t.entry=null;for(;n;){var o=n.callback;e.pendingcb--,o(r),n=n.next}e.corkedRequestsFree.next=t}(e,t)}}var h;t.exports=P,P.WritableState=I;var l={deprecate:r(323)},c=r(521),f=r(61).Buffer,d=e.Uint8Array||function(){};var m,v=r(522),y=r(523).getHighWaterMark,w=r(189).codes,_=w.ERR_INVALID_ARG_TYPE,M=w.ERR_METHOD_NOT_IMPLEMENTED,S=w.ERR_MULTIPLE_CALLBACK,x=w.ERR_STREAM_CANNOT_PIPE,E=w.ERR_STREAM_DESTROYED,A=w.ERR_STREAM_NULL_VALUES,T=w.ERR_STREAM_WRITE_AFTER_END,k=w.ERR_UNKNOWN_ENCODING,C=v.errorOrDestroy;function O(){}function I(t,e,l){h=h||r(190),t=t||{},"boolean"!=typeof l&&(l=e instanceof h),this.objectMode=!!t.objectMode,l&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=y(this,t,"writableHighWaterMark",l),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var c=!1===t.decodeStrings;this.decodeStrings=!c,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,o=r.sync,h=r.writecb;if("function"!=typeof h)throw new S;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,o,h){--e.pendingcb,r?(n.nextTick(h,o),n.nextTick(B,t,e),t._writableState.errorEmitted=!0,C(t,o)):(h(o),t._writableState.errorEmitted=!0,C(t,o),B(t,e))}(t,r,o,e,h);else{var l=L(r)||t.destroyed;l||r.corked||r.bufferProcessing||!r.bufferedRequest||N(t,r),o?n.nextTick(j,t,r,l,h):j(t,r,l,h)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function P(t){var e=this instanceof(h=h||r(190));if(!e&&!m.call(P,this))return new P(t);this._writableState=new I(t,this,e),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),c.call(this)}function R(t,e,r,n,o,h,l){e.writelen=n,e.writecb=l,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new E("write")):r?t._writev(o,e.onwrite):t._write(o,h,e.onwrite),e.sync=!1}function j(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),B(t,e)}function N(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,h=new Array(n),l=e.corkedRequestsFree;l.entry=r;for(var c=0,f=!0;r;)h[c]=r,r.isBuf||(f=!1),r=r.next,c+=1;h.allBuffers=f,R(t,e,!0,e.length,h,"",l.finish),e.pendingcb++,e.lastBufferedRequest=null,l.next?(e.corkedRequestsFree=l.next,l.next=null):e.corkedRequestsFree=new o(e),e.bufferedRequestCount=0}else{for(;r;){var d=r.chunk,m=r.encoding,v=r.callback;if(R(t,e,!1,e.objectMode?1:d.length,d,m,v),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function L(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function D(t,e){t._final((function(r){e.pendingcb--,r&&C(t,r),e.prefinished=!0,t.emit("prefinish"),B(t,e)}))}function B(t,e){var r=L(e);if(r&&(function(t,e){e.prefinished||e.finalCalled||("function"!=typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,n.nextTick(D,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var o=t._readableState;(!o||o.autoDestroy&&o.endEmitted)&&t.destroy()}return r}r(36)(P,c),I.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(I.prototype,"buffer",{get:l.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(m=Function.prototype[Symbol.hasInstance],Object.defineProperty(P,Symbol.hasInstance,{value:function(object){return!!m.call(this,object)||this===P&&(object&&object._writableState instanceof I)}})):m=function(object){return object instanceof this},P.prototype.pipe=function(){C(this,new x)},P.prototype.write=function(t,e,r){var o,h=this._writableState,l=!1,c=!h.objectMode&&(o=t,f.isBuffer(o)||o instanceof d);return c&&!f.isBuffer(t)&&(t=function(t){return f.from(t)}(t)),"function"==typeof e&&(r=e,e=null),c?e="buffer":e||(e=h.defaultEncoding),"function"!=typeof r&&(r=O),h.ending?function(t,e){var r=new T;C(t,r),n.nextTick(e,r)}(this,r):(c||function(t,e,r,o){var h;return null===r?h=new A:"string"==typeof r||e.objectMode||(h=new _("chunk",["string","Buffer"],r)),!h||(C(t,h),n.nextTick(o,h),!1)}(this,h,t,r))&&(h.pendingcb++,l=function(t,e,r,n,o,h){if(!r){var l=function(t,e,r){t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=f.from(e,r));return e}(e,n,o);n!==l&&(r=!0,o="buffer",n=l)}var c=e.objectMode?1:n.length;e.length+=c;var d=e.length<e.highWaterMark;d||(e.needDrain=!0);if(e.writing||e.corked){var m=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:o,isBuf:r,callback:h,next:null},m?m.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else R(t,e,!1,c,n,o,h);return d}(this,h,c,t,e,r)),l},P.prototype.cork=function(){this._writableState.corked++},P.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||N(this,t))},P.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new k(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(P.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(P.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),P.prototype._write=function(t,e,r){r(new M("_write()"))},P.prototype._writev=null,P.prototype.end=function(t,e,r){var o=this._writableState;return"function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!=t&&this.write(t,e),o.corked&&(o.corked=1,this.uncork()),o.ending||function(t,e,r){e.ending=!0,B(t,e),r&&(e.finished?n.nextTick(r):t.once("finish",r));e.ended=!0,t.writable=!1}(this,o,r),this},Object.defineProperty(P.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(P.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),P.prototype.destroy=v.destroy,P.prototype._undestroy=v.undestroy,P.prototype._destroy=function(t,e){e(t)}}).call(this,r(54),r(69))},function(t,e,r){"use strict";t.exports=m;var n=r(189).codes,o=n.ERR_METHOD_NOT_IMPLEMENTED,h=n.ERR_MULTIPLE_CALLBACK,l=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,c=n.ERR_TRANSFORM_WITH_LENGTH_0,f=r(190);function d(t,data){var e=this._transformState;e.transforming=!1;var r=e.writecb;if(null===r)return this.emit("error",new h);e.writechunk=null,e.writecb=null,null!=data&&this.push(data),r(t);var n=this._readableState;n.reading=!1,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}function m(t){if(!(this instanceof m))return new m(t);f.call(this,t),this._transformState={afterTransform:d.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",v)}function v(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?y(this,null,null):this._flush((function(e,data){y(t,e,data)}))}function y(t,e,data){if(e)return t.emit("error",e);if(null!=data&&t.push(data),t._writableState.length)throw new c;if(t._transformState.transforming)throw new l;return t.push(null)}r(36)(m,f),m.prototype.push=function(t,e){return this._transformState.needTransform=!1,f.prototype.push.call(this,t,e)},m.prototype._transform=function(t,e,r){r(new o("_transform()"))},m.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var o=this._readableState;(n.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},m.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},m.prototype._destroy=function(t,e){f.prototype._destroy.call(this,t,(function(t){e(t)}))}},function(t,e,r){var n=r(36),o=r(191),h=r(45).Buffer,l=[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],c=new Array(64);function f(){this.init(),this._w=c,o.call(this,64,56)}function d(t,e,r){return r^t&(e^r)}function m(t,e,r){return t&e|r&(t|e)}function v(t){return(t>>>2|t<<30)^(t>>>13|t<<19)^(t>>>22|t<<10)}function y(t){return(t>>>6|t<<26)^(t>>>11|t<<21)^(t>>>25|t<<7)}function w(t){return(t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3}n(f,o),f.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},f.prototype._update=function(t){for(var e,r=this._w,a=0|this._a,b=0|this._b,n=0|this._c,o=0|this._d,h=0|this._e,c=0|this._f,g=0|this._g,f=0|this._h,i=0;i<16;++i)r[i]=t.readInt32BE(4*i);for(;i<64;++i)r[i]=0|(((e=r[i-2])>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)+r[i-7]+w(r[i-15])+r[i-16];for(var _=0;_<64;++_){var M=f+y(h)+d(h,c,g)+l[_]+r[_]|0,S=v(a)+m(a,b,n)|0;f=g,g=c,c=h,h=o+M|0,o=n,n=b,b=a,a=M+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=h+this._e|0,this._f=c+this._f|0,this._g=g+this._g|0,this._h=f+this._h|0},f.prototype._hash=function(){var t=h.allocUnsafe(32);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t.writeInt32BE(this._h,28),t},t.exports=f},function(t,e,r){var n=r(36),o=r(191),h=r(45).Buffer,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],c=new Array(160);function f(){this.init(),this._w=c,o.call(this,128,112)}function d(t,e,r){return r^t&(e^r)}function m(t,e,r){return t&e|r&(t|e)}function v(t,e){return(t>>>28|e<<4)^(e>>>2|t<<30)^(e>>>7|t<<25)}function y(t,e){return(t>>>14|e<<18)^(t>>>18|e<<14)^(e>>>9|t<<23)}function w(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^t>>>7}function _(t,e){return(t>>>1|e<<31)^(t>>>8|e<<24)^(t>>>7|e<<25)}function M(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^t>>>6}function S(t,e){return(t>>>19|e<<13)^(e>>>29|t<<3)^(t>>>6|e<<26)}function x(a,b){return a>>>0<b>>>0?1:0}n(f,o),f.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},f.prototype._update=function(t){for(var e=this._w,r=0|this._ah,n=0|this._bh,o=0|this._ch,h=0|this._dh,c=0|this._eh,f=0|this._fh,E=0|this._gh,A=0|this._hh,T=0|this._al,k=0|this._bl,C=0|this._cl,dl=0|this._dl,O=0|this._el,I=0|this._fl,P=0|this._gl,R=0|this._hl,i=0;i<32;i+=2)e[i]=t.readInt32BE(4*i),e[i+1]=t.readInt32BE(4*i+4);for(;i<160;i+=2){var j=e[i-30],N=e[i-30+1],L=w(j,N),D=_(N,j),B=M(j=e[i-4],N=e[i-4+1]),F=S(N,j),U=e[i-14],z=e[i-14+1],H=e[i-32],G=e[i-32+1],V=D+z|0,$=L+U+x(V,D)|0;$=($=$+B+x(V=V+F|0,F)|0)+H+x(V=V+G|0,G)|0,e[i]=$,e[i+1]=V}for(var W=0;W<160;W+=2){$=e[W],V=e[W+1];var Y=m(r,n,o),K=m(T,k,C),X=v(r,T),Z=v(T,r),J=y(c,O),Q=y(O,c),tt=l[W],et=l[W+1],it=d(c,f,E),nt=d(O,I,P),ot=R+Q|0,at=A+J+x(ot,R)|0;at=(at=(at=at+it+x(ot=ot+nt|0,nt)|0)+tt+x(ot=ot+et|0,et)|0)+$+x(ot=ot+V|0,V)|0;var st=Z+K|0,ht=X+Y+x(st,Z)|0;A=E,R=P,E=f,P=I,f=c,I=O,c=h+at+x(O=dl+ot|0,dl)|0,h=o,dl=C,o=n,C=k,n=r,k=T,r=at+ht+x(T=ot+st|0,ot)|0}this._al=this._al+T|0,this._bl=this._bl+k|0,this._cl=this._cl+C|0,this._dl=this._dl+dl|0,this._el=this._el+O|0,this._fl=this._fl+I|0,this._gl=this._gl+P|0,this._hl=this._hl+R|0,this._ah=this._ah+r+x(this._al,T)|0,this._bh=this._bh+n+x(this._bl,k)|0,this._ch=this._ch+o+x(this._cl,C)|0,this._dh=this._dh+h+x(this._dl,dl)|0,this._eh=this._eh+c+x(this._el,O)|0,this._fh=this._fh+f+x(this._fl,I)|0,this._gh=this._gh+E+x(this._gl,P)|0,this._hh=this._hh+A+x(this._hl,R)|0},f.prototype._hash=function(){var t=h.allocUnsafe(64);function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),e(this._gh,this._gl,48),e(this._hh,this._hl,56),t},t.exports=f},function(t,e,r){"use strict";var n=r(36),o=r(735),h=r(155),l=r(45).Buffer,c=r(529),f=r(329),d=r(330),m=l.alloc(128);function v(t,e){h.call(this,"digest"),"string"==typeof e&&(e=l.from(e));var r="sha512"===t||"sha384"===t?128:64;(this._alg=t,this._key=e,e.length>r)?e=("rmd160"===t?new f:d(t)).update(e).digest():e.length<r&&(e=l.concat([e,m],r));for(var n=this._ipad=l.allocUnsafe(r),o=this._opad=l.allocUnsafe(r),i=0;i<r;i++)n[i]=54^e[i],o[i]=92^e[i];this._hash="rmd160"===t?new f:d(t),this._hash.update(n)}n(v,h),v.prototype._update=function(data){this._hash.update(data)},v.prototype._final=function(){var t=this._hash.digest();return("rmd160"===this._alg?new f:d(this._alg)).update(this._opad).update(t).digest()},t.exports=function(t,e){return"rmd160"===(t=t.toLowerCase())||"ripemd160"===t?new v("rmd160",e):"md5"===t?new o(c,e):new v(t,e)}},function(t,e,r){var n=r(327);t.exports=function(t){return(new n).update(t).digest()}},function(t){t.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(t,e,r){e.pbkdf2=r(737),e.pbkdf2Sync=r(534)},function(t,e){var r=Math.pow(2,30)-1;t.exports=function(t,e){if("number"!=typeof t)throw new TypeError("Iterations not a number");if(t<0)throw new TypeError("Bad iterations");if("number"!=typeof e)throw new TypeError("Key length not a number");if(e<0||e>r||e!=e)throw new TypeError("Bad key length")}},function(t,e,r){var n;n="utf-8",t.exports=n},function(t,e,r){var n=r(529),o=r(329),h=r(330),l=r(45).Buffer,c=r(532),f=r(533),d=r(535),m=l.alloc(128),v={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function y(t,e,r){var c=function(t){function e(data){return h(t).update(data).digest()}return"rmd160"===t||"ripemd160"===t?function(data){return(new o).update(data).digest()}:"md5"===t?n:e}(t),f="sha512"===t||"sha384"===t?128:64;e.length>f?e=c(e):e.length<f&&(e=l.concat([e,m],f));for(var d=l.allocUnsafe(f+v[t]),y=l.allocUnsafe(f+v[t]),i=0;i<f;i++)d[i]=54^e[i],y[i]=92^e[i];var w=l.allocUnsafe(f+r+4);d.copy(w,0,0,f),this.ipad1=w,this.ipad2=d,this.opad=y,this.alg=t,this.blocksize=f,this.hash=c,this.size=v[t]}y.prototype.run=function(data,t){return data.copy(t,this.blocksize),this.hash(t).copy(this.opad,this.blocksize),this.hash(this.opad)},t.exports=function(t,e,r,n,o){c(r,n);var h=new y(o=o||"sha1",t=d(t,f,"Password"),(e=d(e,f,"Salt")).length),m=l.allocUnsafe(n),w=l.allocUnsafe(e.length+4);e.copy(w,0,0,e.length);for(var _=0,M=v[o],S=Math.ceil(n/M),i=1;i<=S;i++){w.writeUInt32BE(i,e.length);for(var x=h.run(w,h.ipad1),E=x,A=1;A<r;A++){E=h.run(E,h.ipad2);for(var T=0;T<M;T++)x[T]^=E[T]}x.copy(m,_),_+=M}return m}},function(t,e,r){var n=r(45).Buffer;t.exports=function(t,e,r){if(n.isBuffer(t))return t;if("string"==typeof t)return n.from(t,e);if(ArrayBuffer.isView(t))return n.from(t.buffer);throw new TypeError(r+" must be a string, a Buffer, a typed array or a DataView")}},function(t,e,r){"use strict";e.readUInt32BE=function(t,e){return(t[0+e]<<24|t[1+e]<<16|t[2+e]<<8|t[3+e])>>>0},e.writeUInt32BE=function(t,e,r){t[0+r]=e>>>24,t[1+r]=e>>>16&255,t[2+r]=e>>>8&255,t[3+r]=255&e},e.ip=function(t,e,r,n){for(var o=0,h=0,i=6;i>=0;i-=2){for(var l=0;l<=24;l+=8)o<<=1,o|=e>>>l+i&1;for(l=0;l<=24;l+=8)o<<=1,o|=t>>>l+i&1}for(i=6;i>=0;i-=2){for(l=1;l<=25;l+=8)h<<=1,h|=e>>>l+i&1;for(l=1;l<=25;l+=8)h<<=1,h|=t>>>l+i&1}r[n+0]=o>>>0,r[n+1]=h>>>0},e.rip=function(t,e,r,n){for(var o=0,h=0,i=0;i<4;i++)for(var l=24;l>=0;l-=8)o<<=1,o|=e>>>l+i&1,o<<=1,o|=t>>>l+i&1;for(i=4;i<8;i++)for(l=24;l>=0;l-=8)h<<=1,h|=e>>>l+i&1,h<<=1,h|=t>>>l+i&1;r[n+0]=o>>>0,r[n+1]=h>>>0},e.pc1=function(t,e,r,n){for(var o=0,h=0,i=7;i>=5;i--){for(var l=0;l<=24;l+=8)o<<=1,o|=e>>l+i&1;for(l=0;l<=24;l+=8)o<<=1,o|=t>>l+i&1}for(l=0;l<=24;l+=8)o<<=1,o|=e>>l+i&1;for(i=1;i<=3;i++){for(l=0;l<=24;l+=8)h<<=1,h|=e>>l+i&1;for(l=0;l<=24;l+=8)h<<=1,h|=t>>l+i&1}for(l=0;l<=24;l+=8)h<<=1,h|=t>>l+i&1;r[n+0]=o>>>0,r[n+1]=h>>>0},e.r28shl=function(t,e){return t<<e&268435455|t>>>28-e};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];e.pc2=function(t,e,r,o){for(var h=0,l=0,c=n.length>>>1,i=0;i<c;i++)h<<=1,h|=t>>>n[i]&1;for(i=c;i<n.length;i++)l<<=1,l|=e>>>n[i]&1;r[o+0]=h>>>0,r[o+1]=l>>>0},e.expand=function(t,e,r){var n=0,o=0;n=(1&t)<<5|t>>>27;for(var i=23;i>=15;i-=4)n<<=6,n|=t>>>i&63;for(i=11;i>=3;i-=4)o|=t>>>i&63,o<<=6;o|=(31&t)<<1|t>>>31,e[r+0]=n>>>0,e[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];e.substitute=function(t,e){for(var r=0,i=0;i<4;i++){r<<=4,r|=o[64*i+(t>>>18-6*i&63)]}for(i=0;i<4;i++){r<<=4,r|=o[256+64*i+(e>>>18-6*i&63)]}return r>>>0};var h=[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];e.permute=function(t){for(var e=0,i=0;i<h.length;i++)e<<=1,e|=t>>>h[i]&1;return e>>>0},e.padSplit=function(t,e,r){for(var n=t.toString(2);n.length<e;)n="0"+n;for(var o=[],i=0;i<e;i+=r)o.push(n.slice(i,i+r));return o.join(" ")}},function(t,e,r){"use strict";var n=r(114),o=r(36),h=r(536),l=r(331);function c(){this.tmp=new Array(2),this.keys=null}function f(t){l.call(this,t);var e=new c;this._desState=e,this.deriveKeys(e,t.key)}o(f,l),t.exports=f,f.create=function(t){return new f(t)};var d=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];f.prototype.deriveKeys=function(t,e){t.keys=new Array(32),n.equal(e.length,this.blockSize,"Invalid key length");var r=h.readUInt32BE(e,0),o=h.readUInt32BE(e,4);h.pc1(r,o,t.tmp,0),r=t.tmp[0],o=t.tmp[1];for(var i=0;i<t.keys.length;i+=2){var l=d[i>>>1];r=h.r28shl(r,l),o=h.r28shl(o,l),h.pc2(r,o,t.keys,i)}},f.prototype._update=function(t,e,r,n){var o=this._desState,l=h.readUInt32BE(t,e),c=h.readUInt32BE(t,e+4);h.ip(l,c,o.tmp,0),l=o.tmp[0],c=o.tmp[1],"encrypt"===this.type?this._encrypt(o,l,c,o.tmp,0):this._decrypt(o,l,c,o.tmp,0),l=o.tmp[0],c=o.tmp[1],h.writeUInt32BE(r,l,n),h.writeUInt32BE(r,c,n+4)},f.prototype._pad=function(t,e){for(var r=t.length-e,i=e;i<t.length;i++)t[i]=r;return!0},f.prototype._unpad=function(t){for(var e=t[t.length-1],i=t.length-e;i<t.length;i++)n.equal(t[i],e);return t.slice(0,t.length-e)},f.prototype._encrypt=function(t,e,r,n,o){for(var l=e,c=r,i=0;i<t.keys.length;i+=2){var f=t.keys[i],d=t.keys[i+1];h.expand(c,t.tmp,0),f^=t.tmp[0],d^=t.tmp[1];var s=h.substitute(f,d),m=c;c=(l^h.permute(s))>>>0,l=m}h.rip(c,l,n,o)},f.prototype._decrypt=function(t,e,r,n,o){for(var l=r,c=e,i=t.keys.length-2;i>=0;i-=2){var f=t.keys[i],d=t.keys[i+1];h.expand(l,t.tmp,0),f^=t.tmp[0],d^=t.tmp[1];var s=h.substitute(f,d),m=l;l=(c^h.permute(s))>>>0,c=m}h.rip(l,c,n,o)}},function(t,e,r){var n=r(230),o=r(45).Buffer,h=r(539);function l(t){var e=t._cipher.encryptBlockRaw(t._prev);return h(t._prev),e}e.encrypt=function(t,e){var r=Math.ceil(e.length/16),h=t._cache.length;t._cache=o.concat([t._cache,o.allocUnsafe(16*r)]);for(var i=0;i<r;i++){var c=l(t),f=h+16*i;t._cache.writeUInt32BE(c[0],f+0),t._cache.writeUInt32BE(c[1],f+4),t._cache.writeUInt32BE(c[2],f+8),t._cache.writeUInt32BE(c[3],f+12)}var d=t._cache.slice(0,e.length);return t._cache=t._cache.slice(e.length),n(e,d)}},function(t,e){t.exports=function(t){for(var e,r=t.length;r--;){if(255!==(e=t.readUInt8(r))){e++,t.writeUInt8(e,r);break}t.writeUInt8(0,r)}}},function(t){t.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(t,e,r){var n=r(273),o=r(45).Buffer,h=r(155),l=r(36),c=r(750),f=r(230),d=r(539);function m(t,e,r,l){h.call(this);var f=o.alloc(4,0);this._cipher=new n.AES(e);var m=this._cipher.encryptBlock(f);this._ghash=new c(m),r=function(t,e,r){if(12===e.length)return t._finID=o.concat([e,o.from([0,0,0,1])]),o.concat([e,o.from([0,0,0,2])]);var n=new c(r),h=e.length,l=h%16;n.update(e),l&&(l=16-l,n.update(o.alloc(l,0))),n.update(o.alloc(8,0));var f=8*h,m=o.alloc(8);m.writeUIntBE(f,0,8),n.update(m),t._finID=n.state;var v=o.from(t._finID);return d(v),v}(this,r,m),this._prev=o.from(r),this._cache=o.allocUnsafe(0),this._secCache=o.allocUnsafe(0),this._decrypt=l,this._alen=0,this._len=0,this._mode=t,this._authTag=null,this._called=!1}l(m,h),m.prototype._update=function(t){if(!this._called&&this._alen){var e=16-this._alen%16;e<16&&(e=o.alloc(e,0),this._ghash.update(e))}this._called=!0;var r=this._mode.encrypt(this,t);return this._decrypt?this._ghash.update(t):this._ghash.update(r),this._len+=t.length,r},m.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var t=f(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(a,b){var t=0;a.length!==b.length&&t++;for(var e=Math.min(a.length,b.length),i=0;i<e;++i)t+=a[i]^b[i];return t}(t,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=t,this._cipher.scrub()},m.prototype.getAuthTag=function(){if(this._decrypt||!o.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},m.prototype.setAuthTag=function(t){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=t},m.prototype.setAAD=function(t){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(t),this._alen+=t.length},t.exports=m},function(t,e,r){var n=r(273),o=r(45).Buffer,h=r(155);function l(t,e,r,l){h.call(this),this._cipher=new n.AES(e),this._prev=o.from(r),this._cache=o.allocUnsafe(0),this._secCache=o.allocUnsafe(0),this._decrypt=l,this._mode=t}r(36)(l,h),l.prototype._update=function(t){return this._mode.encrypt(this,t,this._decrypt)},l.prototype._final=function(){this._cipher.scrub()},t.exports=l},function(t,e,r){var n=r(188);t.exports=E,E.simpleSieve=S,E.fermatTest=x;var o=r(544),h=new o(24),l=new(r(545)),c=new o(1),f=new o(2),d=new o(5),m=(new o(16),new o(8),new o(10)),v=new o(3),y=(new o(7),new o(11)),w=new o(4),_=(new o(12),null);function M(){if(null!==_)return _;var t=[];t[0]=2;for(var i=1,e=3;e<1048576;e+=2){for(var r=Math.ceil(Math.sqrt(e)),n=0;n<i&&t[n]<=r&&e%t[n]!=0;n++);i!==n&&t[n]<=r||(t[i++]=e)}return _=t,t}function S(p){for(var t=M(),i=0;i<t.length;i++)if(0===p.modn(t[i]))return 0===p.cmpn(t[i]);return!0}function x(p){var t=o.mont(p);return 0===f.toRed(t).redPow(p.subn(1)).fromRed().cmpn(1)}function E(t,e){if(t<16)return new o(2===e||5===e?[140,123]:[140,39]);var r,_;for(e=new o(e);;){for(r=new o(n(Math.ceil(t/8)));r.bitLength()>t;)r.ishrn(1);if(r.isEven()&&r.iadd(c),r.testn(1)||r.iadd(f),e.cmp(f)){if(!e.cmp(d))for(;r.mod(m).cmp(v);)r.iadd(w)}else for(;r.mod(h).cmp(y);)r.iadd(w);if(S(_=r.shrn(1))&&S(r)&&x(_)&&x(r)&&l.test(_)&&l.test(r))return r}}},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function o(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function h(t,base,e){if(h.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==base&&"be"!==base||(e=base,base=10),this._init(t||0,base||10,e||"be"))}var l;"object"==typeof t?t.exports=h:e.BN=h,h.BN=h,h.wordSize=26;try{l=r(754).Buffer}catch(t){}function c(t,e,r){for(var n=0,o=Math.min(t.length,r),i=e;i<o;i++){var h=t.charCodeAt(i)-48;n<<=4,n|=h>=49&&h<=54?h-49+10:h>=17&&h<=22?h-17+10:15&h}return n}function f(t,e,r,n){for(var o=0,h=Math.min(t.length,r),i=e;i<h;i++){var l=t.charCodeAt(i)-48;o*=n,o+=l>=49?l-49+10:l>=17?l-17+10:l}return o}h.isBN=function(t){return t instanceof h||null!==t&&"object"==typeof t&&t.constructor.wordSize===h.wordSize&&Array.isArray(t.words)},h.max=function(t,e){return t.cmp(e)>0?t:e},h.min=function(t,e){return t.cmp(e)<0?t:e},h.prototype._init=function(t,base,e){if("number"==typeof t)return this._initNumber(t,base,e);if("object"==typeof t)return this._initArray(t,base,e);"hex"===base&&(base=16),n(base===(0|base)&&base>=2&&base<=36);var r=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&r++,16===base?this._parseHex(t,r):this._parseBase(t,base,r),"-"===t[0]&&(this.negative=1),this.strip(),"le"===e&&this._initArray(this.toArray(),base,e)},h.prototype._initNumber=function(t,base,e){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===e&&this._initArray(this.toArray(),base,e)},h.prototype._initArray=function(t,base,e){if(n("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var r,o,h=0;if("be"===e)for(i=t.length-1,r=0;i>=0;i-=3)o=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[r]|=o<<h&67108863,this.words[r+1]=o>>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);else if("le"===e)for(i=0,r=0;i<t.length;i+=3)o=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[r]|=o<<h&67108863,this.words[r+1]=o>>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);return this.strip()},h.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var r,n,o=0;for(i=t.length-6,r=0;i>=e;i-=6)n=c(t,i,i+6),this.words[r]|=n<<o&67108863,this.words[r+1]|=n>>>26-o&4194303,(o+=24)>=26&&(o-=26,r++);i+6!==e&&(n=c(t,e,i+6),this.words[r]|=n<<o&67108863,this.words[r+1]|=n>>>26-o&4194303),this.strip()},h.prototype._parseBase=function(t,base,e){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=t.length-e,h=o%r,l=Math.min(o,o-h)+e,c=0,i=e;i<l;i+=r)c=f(t,i,i+r,base),this.imuln(n),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==h){var d=1;for(c=f(t,i,t.length,base),i=0;i<h;i++)d*=base;this.imuln(d),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},h.prototype.copy=function(t){t.words=new Array(this.length);for(var i=0;i<this.length;i++)t.words[i]=this.words[i];t.length=this.length,t.negative=this.negative,t.red=this.red},h.prototype.clone=function(){var t=new h(null);return this.copy(t),t},h.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},h.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},h.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},h.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var d=["","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,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function y(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var a=0|t.words[0],b=0|e.words[0],o=a*b,h=67108863&o,l=o/67108864|0;r.words[0]=h;for(var c=1;c<n;c++){for(var f=l>>>26,d=67108863&l,m=Math.min(c,e.length-1),v=Math.max(0,c-t.length+1);v<=m;v++){var i=c-v|0;f+=(o=(a=0|t.words[i])*(b=0|e.words[v])+d)/67108864|0,d=67108863&o}r.words[c]=0|d,l=0|f}return 0!==l?r.words[c]=0|l:r.length--,r.strip()}h.prototype.toString=function(base,t){var e;if(t=0|t||1,16===(base=base||10)||"hex"===base){e="";for(var r=0,o=0,i=0;i<this.length;i++){var h=this.words[i],l=(16777215&(h<<r|o)).toString(16);e=0!==(o=h>>>24-r&16777215)||i!==this.length-1?d[6-l.length]+l+e:l+e,(r+=2)>=26&&(r-=26,i--)}for(0!==o&&(e=o.toString(16)+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}if(base===(0|base)&&base>=2&&base<=36){var c=m[base],f=v[base];e="";var y=this.clone();for(y.negative=0;!y.isZero();){var w=y.modn(f).toString(base);e=(y=y.idivn(f)).isZero()?w+e:d[c-w.length]+w+e}for(this.isZero()&&(e="0"+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}n(!1,"Base should be between 2 and 36")},h.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},h.prototype.toJSON=function(){return this.toString(16)},h.prototype.toBuffer=function(t,e){return n(void 0!==l),this.toArrayLike(l,t,e)},h.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},h.prototype.toArrayLike=function(t,e,r){var o=this.byteLength(),h=r||Math.max(1,o);n(o<=h,"byte array longer than desired length"),n(h>0,"Requested array length <= 0"),this.strip();var b,i,l="le"===e,c=new t(h),q=this.clone();if(l){for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),c[i]=b;for(;i<h;i++)c[i]=0}else{for(i=0;i<h-o;i++)c[i]=0;for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),c[h-i-1]=b}return c},Math.clz32?h.prototype._countBits=function(t){return 32-Math.clz32(t)}:h.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},h.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0==(8191&e)&&(r+=13,e>>>=13),0==(127&e)&&(r+=7,e>>>=7),0==(15&e)&&(r+=4,e>>>=4),0==(3&e)&&(r+=2,e>>>=2),0==(1&e)&&r++,r},h.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},h.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,i=0;i<this.length;i++){var b=this._zeroBits(this.words[i]);if(t+=b,26!==b)break}return t},h.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},h.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},h.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},h.prototype.isNeg=function(){return 0!==this.negative},h.prototype.neg=function(){return this.clone().ineg()},h.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},h.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var i=0;i<t.length;i++)this.words[i]=this.words[i]|t.words[i];return this.strip()},h.prototype.ior=function(t){return n(0==(this.negative|t.negative)),this.iuor(t)},h.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},h.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},h.prototype.iuand=function(t){var b;b=this.length>t.length?t:this;for(var i=0;i<b.length;i++)this.words[i]=this.words[i]&t.words[i];return this.length=b.length,this.strip()},h.prototype.iand=function(t){return n(0==(this.negative|t.negative)),this.iuand(t)},h.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},h.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},h.prototype.iuxor=function(t){var a,b;this.length>t.length?(a=this,b=t):(a=t,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()},h.prototype.ixor=function(t){return n(0==(this.negative|t.negative)),this.iuxor(t)},h.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},h.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},h.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},h.prototype.notn=function(t){return this.clone().inotn(t)},h.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var r=t/26|0,o=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<o:this.words[r]&~(1<<o),this.strip()},h.prototype.iadd=function(t){var e,a,b;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(a=this,b=t):(a=t,b=this);for(var r=0,i=0;i<b.length;i++)e=(0|a.words[i])+(0|b.words[i])+r,this.words[i]=67108863&e,r=e>>>26;for(;0!==r&&i<a.length;i++)e=(0|a.words[i])+r,this.words[i]=67108863&e,r=e>>>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},h.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},h.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var a,b,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(a=this,b=t):(a=t,b=this);for(var n=0,i=0;i<b.length;i++)n=(e=(0|a.words[i])-(0|b.words[i])+n)>>26,this.words[i]=67108863&e;for(;0!==n&&i<a.length;i++)n=(e=(0|a.words[i])+n)>>26,this.words[i]=67108863&e;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()},h.prototype.sub=function(t){return this.clone().isub(t)};var w=function(t,e,r){var n,o,h,a=t.words,b=e.words,l=r.words,c=0,f=0|a[0],d=8191&f,m=f>>>13,v=0|a[1],y=8191&v,w=v>>>13,_=0|a[2],M=8191&_,S=_>>>13,x=0|a[3],E=8191&x,A=x>>>13,T=0|a[4],k=8191&T,C=T>>>13,O=0|a[5],I=8191&O,P=O>>>13,R=0|a[6],j=8191&R,N=R>>>13,L=0|a[7],D=8191&L,B=L>>>13,F=0|a[8],U=8191&F,z=F>>>13,H=0|a[9],G=8191&H,V=H>>>13,$=0|b[0],W=8191&$,Y=$>>>13,K=0|b[1],X=8191&K,Z=K>>>13,J=0|b[2],Q=8191&J,tt=J>>>13,et=0|b[3],it=8191&et,nt=et>>>13,ot=0|b[4],at=8191&ot,st=ot>>>13,ht=0|b[5],ut=8191&ht,lt=ht>>>13,ct=0|b[6],ft=8191&ct,pt=ct>>>13,mt=0|b[7],gt=8191&mt,vt=mt>>>13,bt=0|b[8],yt=8191&bt,wt=bt>>>13,_t=0|b[9],Mt=8191&_t,St=_t>>>13;r.negative=t.negative^e.negative,r.length=19;var xt=(c+(n=Math.imul(d,W))|0)+((8191&(o=(o=Math.imul(d,Y))+Math.imul(m,W)|0))<<13)|0;c=((h=Math.imul(m,Y))+(o>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(y,W),o=(o=Math.imul(y,Y))+Math.imul(w,W)|0,h=Math.imul(w,Y);var Et=(c+(n=n+Math.imul(d,X)|0)|0)+((8191&(o=(o=o+Math.imul(d,Z)|0)+Math.imul(m,X)|0))<<13)|0;c=((h=h+Math.imul(m,Z)|0)+(o>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(M,W),o=(o=Math.imul(M,Y))+Math.imul(S,W)|0,h=Math.imul(S,Y),n=n+Math.imul(y,X)|0,o=(o=o+Math.imul(y,Z)|0)+Math.imul(w,X)|0,h=h+Math.imul(w,Z)|0;var At=(c+(n=n+Math.imul(d,Q)|0)|0)+((8191&(o=(o=o+Math.imul(d,tt)|0)+Math.imul(m,Q)|0))<<13)|0;c=((h=h+Math.imul(m,tt)|0)+(o>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(E,W),o=(o=Math.imul(E,Y))+Math.imul(A,W)|0,h=Math.imul(A,Y),n=n+Math.imul(M,X)|0,o=(o=o+Math.imul(M,Z)|0)+Math.imul(S,X)|0,h=h+Math.imul(S,Z)|0,n=n+Math.imul(y,Q)|0,o=(o=o+Math.imul(y,tt)|0)+Math.imul(w,Q)|0,h=h+Math.imul(w,tt)|0;var Tt=(c+(n=n+Math.imul(d,it)|0)|0)+((8191&(o=(o=o+Math.imul(d,nt)|0)+Math.imul(m,it)|0))<<13)|0;c=((h=h+Math.imul(m,nt)|0)+(o>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(k,W),o=(o=Math.imul(k,Y))+Math.imul(C,W)|0,h=Math.imul(C,Y),n=n+Math.imul(E,X)|0,o=(o=o+Math.imul(E,Z)|0)+Math.imul(A,X)|0,h=h+Math.imul(A,Z)|0,n=n+Math.imul(M,Q)|0,o=(o=o+Math.imul(M,tt)|0)+Math.imul(S,Q)|0,h=h+Math.imul(S,tt)|0,n=n+Math.imul(y,it)|0,o=(o=o+Math.imul(y,nt)|0)+Math.imul(w,it)|0,h=h+Math.imul(w,nt)|0;var kt=(c+(n=n+Math.imul(d,at)|0)|0)+((8191&(o=(o=o+Math.imul(d,st)|0)+Math.imul(m,at)|0))<<13)|0;c=((h=h+Math.imul(m,st)|0)+(o>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(I,W),o=(o=Math.imul(I,Y))+Math.imul(P,W)|0,h=Math.imul(P,Y),n=n+Math.imul(k,X)|0,o=(o=o+Math.imul(k,Z)|0)+Math.imul(C,X)|0,h=h+Math.imul(C,Z)|0,n=n+Math.imul(E,Q)|0,o=(o=o+Math.imul(E,tt)|0)+Math.imul(A,Q)|0,h=h+Math.imul(A,tt)|0,n=n+Math.imul(M,it)|0,o=(o=o+Math.imul(M,nt)|0)+Math.imul(S,it)|0,h=h+Math.imul(S,nt)|0,n=n+Math.imul(y,at)|0,o=(o=o+Math.imul(y,st)|0)+Math.imul(w,at)|0,h=h+Math.imul(w,st)|0;var Ct=(c+(n=n+Math.imul(d,ut)|0)|0)+((8191&(o=(o=o+Math.imul(d,lt)|0)+Math.imul(m,ut)|0))<<13)|0;c=((h=h+Math.imul(m,lt)|0)+(o>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(j,W),o=(o=Math.imul(j,Y))+Math.imul(N,W)|0,h=Math.imul(N,Y),n=n+Math.imul(I,X)|0,o=(o=o+Math.imul(I,Z)|0)+Math.imul(P,X)|0,h=h+Math.imul(P,Z)|0,n=n+Math.imul(k,Q)|0,o=(o=o+Math.imul(k,tt)|0)+Math.imul(C,Q)|0,h=h+Math.imul(C,tt)|0,n=n+Math.imul(E,it)|0,o=(o=o+Math.imul(E,nt)|0)+Math.imul(A,it)|0,h=h+Math.imul(A,nt)|0,n=n+Math.imul(M,at)|0,o=(o=o+Math.imul(M,st)|0)+Math.imul(S,at)|0,h=h+Math.imul(S,st)|0,n=n+Math.imul(y,ut)|0,o=(o=o+Math.imul(y,lt)|0)+Math.imul(w,ut)|0,h=h+Math.imul(w,lt)|0;var Ot=(c+(n=n+Math.imul(d,ft)|0)|0)+((8191&(o=(o=o+Math.imul(d,pt)|0)+Math.imul(m,ft)|0))<<13)|0;c=((h=h+Math.imul(m,pt)|0)+(o>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(D,W),o=(o=Math.imul(D,Y))+Math.imul(B,W)|0,h=Math.imul(B,Y),n=n+Math.imul(j,X)|0,o=(o=o+Math.imul(j,Z)|0)+Math.imul(N,X)|0,h=h+Math.imul(N,Z)|0,n=n+Math.imul(I,Q)|0,o=(o=o+Math.imul(I,tt)|0)+Math.imul(P,Q)|0,h=h+Math.imul(P,tt)|0,n=n+Math.imul(k,it)|0,o=(o=o+Math.imul(k,nt)|0)+Math.imul(C,it)|0,h=h+Math.imul(C,nt)|0,n=n+Math.imul(E,at)|0,o=(o=o+Math.imul(E,st)|0)+Math.imul(A,at)|0,h=h+Math.imul(A,st)|0,n=n+Math.imul(M,ut)|0,o=(o=o+Math.imul(M,lt)|0)+Math.imul(S,ut)|0,h=h+Math.imul(S,lt)|0,n=n+Math.imul(y,ft)|0,o=(o=o+Math.imul(y,pt)|0)+Math.imul(w,ft)|0,h=h+Math.imul(w,pt)|0;var It=(c+(n=n+Math.imul(d,gt)|0)|0)+((8191&(o=(o=o+Math.imul(d,vt)|0)+Math.imul(m,gt)|0))<<13)|0;c=((h=h+Math.imul(m,vt)|0)+(o>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(U,W),o=(o=Math.imul(U,Y))+Math.imul(z,W)|0,h=Math.imul(z,Y),n=n+Math.imul(D,X)|0,o=(o=o+Math.imul(D,Z)|0)+Math.imul(B,X)|0,h=h+Math.imul(B,Z)|0,n=n+Math.imul(j,Q)|0,o=(o=o+Math.imul(j,tt)|0)+Math.imul(N,Q)|0,h=h+Math.imul(N,tt)|0,n=n+Math.imul(I,it)|0,o=(o=o+Math.imul(I,nt)|0)+Math.imul(P,it)|0,h=h+Math.imul(P,nt)|0,n=n+Math.imul(k,at)|0,o=(o=o+Math.imul(k,st)|0)+Math.imul(C,at)|0,h=h+Math.imul(C,st)|0,n=n+Math.imul(E,ut)|0,o=(o=o+Math.imul(E,lt)|0)+Math.imul(A,ut)|0,h=h+Math.imul(A,lt)|0,n=n+Math.imul(M,ft)|0,o=(o=o+Math.imul(M,pt)|0)+Math.imul(S,ft)|0,h=h+Math.imul(S,pt)|0,n=n+Math.imul(y,gt)|0,o=(o=o+Math.imul(y,vt)|0)+Math.imul(w,gt)|0,h=h+Math.imul(w,vt)|0;var Pt=(c+(n=n+Math.imul(d,yt)|0)|0)+((8191&(o=(o=o+Math.imul(d,wt)|0)+Math.imul(m,yt)|0))<<13)|0;c=((h=h+Math.imul(m,wt)|0)+(o>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(G,W),o=(o=Math.imul(G,Y))+Math.imul(V,W)|0,h=Math.imul(V,Y),n=n+Math.imul(U,X)|0,o=(o=o+Math.imul(U,Z)|0)+Math.imul(z,X)|0,h=h+Math.imul(z,Z)|0,n=n+Math.imul(D,Q)|0,o=(o=o+Math.imul(D,tt)|0)+Math.imul(B,Q)|0,h=h+Math.imul(B,tt)|0,n=n+Math.imul(j,it)|0,o=(o=o+Math.imul(j,nt)|0)+Math.imul(N,it)|0,h=h+Math.imul(N,nt)|0,n=n+Math.imul(I,at)|0,o=(o=o+Math.imul(I,st)|0)+Math.imul(P,at)|0,h=h+Math.imul(P,st)|0,n=n+Math.imul(k,ut)|0,o=(o=o+Math.imul(k,lt)|0)+Math.imul(C,ut)|0,h=h+Math.imul(C,lt)|0,n=n+Math.imul(E,ft)|0,o=(o=o+Math.imul(E,pt)|0)+Math.imul(A,ft)|0,h=h+Math.imul(A,pt)|0,n=n+Math.imul(M,gt)|0,o=(o=o+Math.imul(M,vt)|0)+Math.imul(S,gt)|0,h=h+Math.imul(S,vt)|0,n=n+Math.imul(y,yt)|0,o=(o=o+Math.imul(y,wt)|0)+Math.imul(w,yt)|0,h=h+Math.imul(w,wt)|0;var Rt=(c+(n=n+Math.imul(d,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(d,St)|0)+Math.imul(m,Mt)|0))<<13)|0;c=((h=h+Math.imul(m,St)|0)+(o>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(G,X),o=(o=Math.imul(G,Z))+Math.imul(V,X)|0,h=Math.imul(V,Z),n=n+Math.imul(U,Q)|0,o=(o=o+Math.imul(U,tt)|0)+Math.imul(z,Q)|0,h=h+Math.imul(z,tt)|0,n=n+Math.imul(D,it)|0,o=(o=o+Math.imul(D,nt)|0)+Math.imul(B,it)|0,h=h+Math.imul(B,nt)|0,n=n+Math.imul(j,at)|0,o=(o=o+Math.imul(j,st)|0)+Math.imul(N,at)|0,h=h+Math.imul(N,st)|0,n=n+Math.imul(I,ut)|0,o=(o=o+Math.imul(I,lt)|0)+Math.imul(P,ut)|0,h=h+Math.imul(P,lt)|0,n=n+Math.imul(k,ft)|0,o=(o=o+Math.imul(k,pt)|0)+Math.imul(C,ft)|0,h=h+Math.imul(C,pt)|0,n=n+Math.imul(E,gt)|0,o=(o=o+Math.imul(E,vt)|0)+Math.imul(A,gt)|0,h=h+Math.imul(A,vt)|0,n=n+Math.imul(M,yt)|0,o=(o=o+Math.imul(M,wt)|0)+Math.imul(S,yt)|0,h=h+Math.imul(S,wt)|0;var jt=(c+(n=n+Math.imul(y,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(y,St)|0)+Math.imul(w,Mt)|0))<<13)|0;c=((h=h+Math.imul(w,St)|0)+(o>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(G,Q),o=(o=Math.imul(G,tt))+Math.imul(V,Q)|0,h=Math.imul(V,tt),n=n+Math.imul(U,it)|0,o=(o=o+Math.imul(U,nt)|0)+Math.imul(z,it)|0,h=h+Math.imul(z,nt)|0,n=n+Math.imul(D,at)|0,o=(o=o+Math.imul(D,st)|0)+Math.imul(B,at)|0,h=h+Math.imul(B,st)|0,n=n+Math.imul(j,ut)|0,o=(o=o+Math.imul(j,lt)|0)+Math.imul(N,ut)|0,h=h+Math.imul(N,lt)|0,n=n+Math.imul(I,ft)|0,o=(o=o+Math.imul(I,pt)|0)+Math.imul(P,ft)|0,h=h+Math.imul(P,pt)|0,n=n+Math.imul(k,gt)|0,o=(o=o+Math.imul(k,vt)|0)+Math.imul(C,gt)|0,h=h+Math.imul(C,vt)|0,n=n+Math.imul(E,yt)|0,o=(o=o+Math.imul(E,wt)|0)+Math.imul(A,yt)|0,h=h+Math.imul(A,wt)|0;var Nt=(c+(n=n+Math.imul(M,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(M,St)|0)+Math.imul(S,Mt)|0))<<13)|0;c=((h=h+Math.imul(S,St)|0)+(o>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul(G,it),o=(o=Math.imul(G,nt))+Math.imul(V,it)|0,h=Math.imul(V,nt),n=n+Math.imul(U,at)|0,o=(o=o+Math.imul(U,st)|0)+Math.imul(z,at)|0,h=h+Math.imul(z,st)|0,n=n+Math.imul(D,ut)|0,o=(o=o+Math.imul(D,lt)|0)+Math.imul(B,ut)|0,h=h+Math.imul(B,lt)|0,n=n+Math.imul(j,ft)|0,o=(o=o+Math.imul(j,pt)|0)+Math.imul(N,ft)|0,h=h+Math.imul(N,pt)|0,n=n+Math.imul(I,gt)|0,o=(o=o+Math.imul(I,vt)|0)+Math.imul(P,gt)|0,h=h+Math.imul(P,vt)|0,n=n+Math.imul(k,yt)|0,o=(o=o+Math.imul(k,wt)|0)+Math.imul(C,yt)|0,h=h+Math.imul(C,wt)|0;var Lt=(c+(n=n+Math.imul(E,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(E,St)|0)+Math.imul(A,Mt)|0))<<13)|0;c=((h=h+Math.imul(A,St)|0)+(o>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul(G,at),o=(o=Math.imul(G,st))+Math.imul(V,at)|0,h=Math.imul(V,st),n=n+Math.imul(U,ut)|0,o=(o=o+Math.imul(U,lt)|0)+Math.imul(z,ut)|0,h=h+Math.imul(z,lt)|0,n=n+Math.imul(D,ft)|0,o=(o=o+Math.imul(D,pt)|0)+Math.imul(B,ft)|0,h=h+Math.imul(B,pt)|0,n=n+Math.imul(j,gt)|0,o=(o=o+Math.imul(j,vt)|0)+Math.imul(N,gt)|0,h=h+Math.imul(N,vt)|0,n=n+Math.imul(I,yt)|0,o=(o=o+Math.imul(I,wt)|0)+Math.imul(P,yt)|0,h=h+Math.imul(P,wt)|0;var Dt=(c+(n=n+Math.imul(k,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(k,St)|0)+Math.imul(C,Mt)|0))<<13)|0;c=((h=h+Math.imul(C,St)|0)+(o>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(G,ut),o=(o=Math.imul(G,lt))+Math.imul(V,ut)|0,h=Math.imul(V,lt),n=n+Math.imul(U,ft)|0,o=(o=o+Math.imul(U,pt)|0)+Math.imul(z,ft)|0,h=h+Math.imul(z,pt)|0,n=n+Math.imul(D,gt)|0,o=(o=o+Math.imul(D,vt)|0)+Math.imul(B,gt)|0,h=h+Math.imul(B,vt)|0,n=n+Math.imul(j,yt)|0,o=(o=o+Math.imul(j,wt)|0)+Math.imul(N,yt)|0,h=h+Math.imul(N,wt)|0;var Bt=(c+(n=n+Math.imul(I,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(I,St)|0)+Math.imul(P,Mt)|0))<<13)|0;c=((h=h+Math.imul(P,St)|0)+(o>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul(G,ft),o=(o=Math.imul(G,pt))+Math.imul(V,ft)|0,h=Math.imul(V,pt),n=n+Math.imul(U,gt)|0,o=(o=o+Math.imul(U,vt)|0)+Math.imul(z,gt)|0,h=h+Math.imul(z,vt)|0,n=n+Math.imul(D,yt)|0,o=(o=o+Math.imul(D,wt)|0)+Math.imul(B,yt)|0,h=h+Math.imul(B,wt)|0;var Ft=(c+(n=n+Math.imul(j,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(j,St)|0)+Math.imul(N,Mt)|0))<<13)|0;c=((h=h+Math.imul(N,St)|0)+(o>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,n=Math.imul(G,gt),o=(o=Math.imul(G,vt))+Math.imul(V,gt)|0,h=Math.imul(V,vt),n=n+Math.imul(U,yt)|0,o=(o=o+Math.imul(U,wt)|0)+Math.imul(z,yt)|0,h=h+Math.imul(z,wt)|0;var Ut=(c+(n=n+Math.imul(D,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(D,St)|0)+Math.imul(B,Mt)|0))<<13)|0;c=((h=h+Math.imul(B,St)|0)+(o>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,n=Math.imul(G,yt),o=(o=Math.imul(G,wt))+Math.imul(V,yt)|0,h=Math.imul(V,wt);var qt=(c+(n=n+Math.imul(U,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(U,St)|0)+Math.imul(z,Mt)|0))<<13)|0;c=((h=h+Math.imul(z,St)|0)+(o>>>13)|0)+(qt>>>26)|0,qt&=67108863;var zt=(c+(n=Math.imul(G,Mt))|0)+((8191&(o=(o=Math.imul(G,St))+Math.imul(V,Mt)|0))<<13)|0;return c=((h=Math.imul(V,St))+(o>>>13)|0)+(zt>>>26)|0,zt&=67108863,l[0]=xt,l[1]=Et,l[2]=At,l[3]=Tt,l[4]=kt,l[5]=Ct,l[6]=Ot,l[7]=It,l[8]=Pt,l[9]=Rt,l[10]=jt,l[11]=Nt,l[12]=Lt,l[13]=Dt,l[14]=Bt,l[15]=Ft,l[16]=Ut,l[17]=qt,l[18]=zt,0!==c&&(l[19]=c,r.length++),r};function _(t,e,r){return(new M).mulp(t,e,r)}function M(t,e){this.x=t,this.y=e}Math.imul||(w=y),h.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?w(this,t,e):r<63?y(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,o=0,h=0;h<r.length-1;h++){var l=o;o=0;for(var c=67108863&n,f=Math.min(h,e.length-1),d=Math.max(0,h-t.length+1);d<=f;d++){var i=h-d,m=(0|t.words[i])*(0|e.words[d]),v=67108863&m;c=67108863&(v=v+c|0),o+=(l=(l=l+(m/67108864|0)|0)+(v>>>26)|0)>>>26,l&=67108863}r.words[h]=c,n=l,l=o}return 0!==n?r.words[h]=n:r.length--,r.strip()}(this,t,e):_(this,t,e)},M.prototype.makeRBT=function(t){for(var e=new Array(t),r=h.prototype._countBits(t)-1,i=0;i<t;i++)e[i]=this.revBin(i,r,t);return e},M.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},M.prototype.permute=function(t,e,r,n,o,h){for(var i=0;i<h;i++)n[i]=e[t[i]],o[i]=r[t[i]]},M.prototype.transform=function(t,e,r,n,o,h){this.permute(h,t,e,r,n,o);for(var s=1;s<o;s<<=1)for(var l=s<<1,c=Math.cos(2*Math.PI/l),f=Math.sin(2*Math.PI/l),p=0;p<o;p+=l)for(var d=c,m=f,v=0;v<s;v++){var y=r[p+v],w=n[p+v],_=r[p+v+s],M=n[p+v+s],S=d*_-m*M;M=d*M+m*_,_=S,r[p+v]=y+_,n[p+v]=w+M,r[p+v+s]=y-_,n[p+v+s]=w-M,v!==l&&(S=c*d-f*m,m=c*m+f*d,d=S)}},M.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},M.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var i=0;i<r/2;i++){var n=t[i];t[i]=t[r-i-1],t[r-i-1]=n,n=e[i],e[i]=-e[r-i-1],e[r-i-1]=-n}},M.prototype.normalize13b=function(t,e){for(var r=0,i=0;i<e/2;i++){var n=8192*Math.round(t[2*i+1]/e)+Math.round(t[2*i]/e)+r;t[i]=67108863&n,r=n<67108864?0:n/67108864|0}return t},M.prototype.convert13b=function(t,e,r,o){for(var h=0,i=0;i<e;i++)h+=0|t[i],r[2*i]=8191&h,h>>>=13,r[2*i+1]=8191&h,h>>>=13;for(i=2*e;i<o;++i)r[i]=0;n(0===h),n(0==(-8192&h))},M.prototype.stub=function(t){for(var e=new Array(t),i=0;i<t;i++)e[i]=0;return e},M.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),o=this.makeRBT(n),h=this.stub(n),l=new Array(n),c=new Array(n),f=new Array(n),d=new Array(n),m=new Array(n),v=new Array(n),y=r.words;y.length=n,this.convert13b(t.words,t.length,l,n),this.convert13b(e.words,e.length,d,n),this.transform(l,h,c,f,n,o),this.transform(d,h,m,v,n,o);for(var i=0;i<n;i++){var w=c[i]*m[i]-f[i]*v[i];f[i]=c[i]*v[i]+f[i]*m[i],c[i]=w}return this.conjugate(c,f,n),this.transform(c,f,y,h,n,o),this.conjugate(y,h,n),this.normalize13b(y,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},h.prototype.mul=function(t){var e=new h(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},h.prototype.mulf=function(t){var e=new h(null);return e.words=new Array(this.length+t.length),_(this,t,e)},h.prototype.imul=function(t){return this.clone().mulTo(t,this)},h.prototype.imuln=function(t){n("number"==typeof t),n(t<67108864);for(var e=0,i=0;i<this.length;i++){var r=(0|this.words[i])*t,o=(67108863&r)+(67108863&e);e>>=26,e+=r/67108864|0,e+=o>>>26,this.words[i]=67108863&o}return 0!==e&&(this.words[i]=e,this.length++),this},h.prototype.muln=function(t){return this.clone().imuln(t)},h.prototype.sqr=function(){return this.mul(this)},h.prototype.isqr=function(){return this.imul(this.clone())},h.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,o=r%26;e[r]=(t.words[n]&1<<o)>>>o}return e}(t);if(0===e.length)return new h(1);for(var r=this,i=0;i<e.length&&0===e[i];i++,r=r.sqr());if(++i<e.length)for(var q=r.sqr();i<e.length;i++,q=q.sqr())0!==e[i]&&(r=r.mul(q));return r},h.prototype.iushln=function(t){n("number"==typeof t&&t>=0);var i,e=t%26,s=(t-e)/26,r=67108863>>>26-e<<26-e;if(0!==e){var o=0;for(i=0;i<this.length;i++){var h=this.words[i]&r,l=(0|this.words[i])-h<<e;this.words[i]=l|o,o=h>>>26-e}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()},h.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},h.prototype.iushrn=function(t,e,r){var o;n("number"==typeof t&&t>=0),o=e?(e-e%26)/26:0;var h=t%26,s=Math.min((t-h)/26,this.length),mask=67108863^67108863>>>h<<h,l=r;if(o-=s,o=Math.max(0,o),l){for(var i=0;i<s;i++)l.words[i]=this.words[i];l.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 c=0;for(i=this.length-1;i>=0&&(0!==c||i>=o);i--){var f=0|this.words[i];this.words[i]=c<<26-h|f>>>h,c=f&mask}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},h.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},h.prototype.shln=function(t){return this.clone().ishln(t)},h.prototype.ushln=function(t){return this.clone().iushln(t)},h.prototype.shrn=function(t){return this.clone().ishrn(t)},h.prototype.ushrn=function(t){return this.clone().iushrn(t)},h.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26,q=1<<e;return!(this.length<=s)&&!!(this.words[s]&q)},h.prototype.imaskn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==e&&s++,this.length=Math.min(s,this.length),0!==e){var mask=67108863^67108863>>>e<<e;this.words[this.length-1]&=mask}return this.strip()},h.prototype.maskn=function(t){return this.clone().imaskn(t)},h.prototype.iaddn=function(t){return n("number"==typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},h.prototype._iaddn=function(t){this.words[0]+=t;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},h.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,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()},h.prototype.addn=function(t){return this.clone().iaddn(t)},h.prototype.subn=function(t){return this.clone().isubn(t)},h.prototype.iabs=function(){return this.negative=0,this},h.prototype.abs=function(){return this.clone().iabs()},h.prototype._ishlnsubmul=function(t,e,r){var i,o,h=t.length+r;this._expand(h);var l=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+l;var c=(0|t.words[i])*e;l=((o-=67108863&c)>>26)-(c/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)l=(o=(0|this.words[i+r])+l)>>26,this.words[i+r]=67108863&o;if(0===l)return this.strip();for(n(-1===l),l=0,i=0;i<this.length;i++)l=(o=-(0|this.words[i])+l)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},h.prototype._wordDiv=function(t,e){var r=(this.length,t.length),a=this.clone(),b=t,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"!==e){(q=new h(null)).length=o+1,q.words=new Array(q.length);for(var i=0;i<q.length;i++)q.words[i]=0}var l=a.clone()._ishlnsubmul(b,1,o);0===l.negative&&(a=l,q&&(q.words[o]=1));for(var c=o-1;c>=0;c--){var f=67108864*(0|a.words[b.length+c])+(0|a.words[b.length+c-1]);for(f=Math.min(f/n|0,67108863),a._ishlnsubmul(b,f,c);0!==a.negative;)f--,a.negative=0,a._ishlnsubmul(b,1,c),a.isZero()||(a.negative^=1);q&&(q.words[c]=f)}return q&&q.strip(),a.strip(),"div"!==e&&0!==r&&a.iushrn(r),{div:q||null,mod:a}},h.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new h(0),mod:new h(0)}:0!==this.negative&&0===t.negative?(l=this.neg().divmod(t,e),"mod"!==e&&(div=l.div.neg()),"div"!==e&&(o=l.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:div,mod:o}):0===this.negative&&0!==t.negative?(l=this.divmod(t.neg(),e),"mod"!==e&&(div=l.div.neg()),{div:div,mod:l.mod}):0!=(this.negative&t.negative)?(l=this.neg().divmod(t.neg(),e),"div"!==e&&(o=l.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:l.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new h(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new h(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new h(this.modn(t.words[0]))}:this._wordDiv(t,e);var div,o,l},h.prototype.div=function(t){return this.divmod(t,"div",!1).div},h.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},h.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},h.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),o=t.andln(1),h=r.cmp(n);return h<0||1===o&&0===h?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},h.prototype.modn=function(t){n(t<=67108863);for(var p=(1<<26)%t,e=0,i=this.length-1;i>=0;i--)e=(p*e+(0|this.words[i]))%t;return e},h.prototype.idivn=function(t){n(t<=67108863);for(var e=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+67108864*e;this.words[i]=r/t|0,e=r%t}return this.strip()},h.prototype.divn=function(t){return this.clone().idivn(t)},h.prototype.egcd=function(p){n(0===p.negative),n(!p.isZero());var t=this,e=p.clone();t=0!==t.negative?t.umod(p):t.clone();for(var r=new h(1),o=new h(0),l=new h(0),c=new h(1),g=0;t.isEven()&&e.isEven();)t.iushrn(1),e.iushrn(1),++g;for(var f=e.clone(),d=t.clone();!t.isZero();){for(var i=0,m=1;0==(t.words[0]&m)&&i<26;++i,m<<=1);if(i>0)for(t.iushrn(i);i-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(f),o.isub(d)),r.iushrn(1),o.iushrn(1);for(var v=0,y=1;0==(e.words[0]&y)&&v<26;++v,y<<=1);if(v>0)for(e.iushrn(v);v-- >0;)(l.isOdd()||c.isOdd())&&(l.iadd(f),c.isub(d)),l.iushrn(1),c.iushrn(1);t.cmp(e)>=0?(t.isub(e),r.isub(l),o.isub(c)):(e.isub(t),l.isub(r),c.isub(o))}return{a:l,b:c,gcd:e.iushln(g)}},h.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 t,e=new h(1),r=new h(0),o=b.clone();a.cmpn(1)>0&&b.cmpn(1)>0;){for(var i=0,l=1;0==(a.words[0]&l)&&i<26;++i,l<<=1);if(i>0)for(a.iushrn(i);i-- >0;)e.isOdd()&&e.iadd(o),e.iushrn(1);for(var c=0,f=1;0==(b.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(b.iushrn(c);c-- >0;)r.isOdd()&&r.iadd(o),r.iushrn(1);a.cmp(b)>=0?(a.isub(b),e.isub(r)):(b.isub(a),r.isub(e))}return(t=0===a.cmpn(1)?e:r).cmpn(0)<0&&t.iadd(p),t},h.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var a=this.clone(),b=t.clone();a.negative=0,b.negative=0;for(var e=0;a.isEven()&&b.isEven();e++)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(e)},h.prototype.invm=function(t){return this.egcd(t).a.umod(t)},h.prototype.isEven=function(){return 0==(1&this.words[0])},h.prototype.isOdd=function(){return 1==(1&this.words[0])},h.prototype.andln=function(t){return this.words[0]&t},h.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,s=(t-e)/26,q=1<<e;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},h.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},h.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var o=0|this.words[0];e=o===t?0:o<t?-1:1}return 0!==this.negative?0|-e:e},h.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},h.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,i=this.length-1;i>=0;i--){var a=0|this.words[i],b=0|t.words[i];if(a!==b){a<b?e=-1:a>b&&(e=1);break}}return e},h.prototype.gtn=function(t){return 1===this.cmpn(t)},h.prototype.gt=function(t){return 1===this.cmp(t)},h.prototype.gten=function(t){return this.cmpn(t)>=0},h.prototype.gte=function(t){return this.cmp(t)>=0},h.prototype.ltn=function(t){return-1===this.cmpn(t)},h.prototype.lt=function(t){return-1===this.cmp(t)},h.prototype.lten=function(t){return this.cmpn(t)<=0},h.prototype.lte=function(t){return this.cmp(t)<=0},h.prototype.eqn=function(t){return 0===this.cmpn(t)},h.prototype.eq=function(t){return 0===this.cmp(t)},h.red=function(t){return new C(t)},h.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},h.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},h.prototype._forceRed=function(t){return this.red=t,this},h.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},h.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},h.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},h.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},h.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},h.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},h.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},h.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},h.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},h.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},h.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},h.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},h.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},h.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var S={k256:null,p224:null,p192:null,p25519:null};function x(t,p){this.name=t,this.p=new h(p,16),this.n=this.p.bitLength(),this.k=new h(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function E(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function A(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function T(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function k(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(t){if("string"==typeof t){var e=h._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function O(t){C.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new h(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)}x.prototype._tmp=function(){var t=new h(null);return t.words=new Array(Math.ceil(this.n/13)),t},x.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<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},x.prototype.split=function(input,t){input.iushrn(this.n,0,t)},x.prototype.imulK=function(t){return t.imul(this.k)},o(E,x),E.prototype.split=function(input,output){for(var t=Math.min(input.length,9),i=0;i<t;i++)output.words[i]=input.words[i];if(output.length=t,input.length<=9)return input.words[0]=0,void(input.length=1);var e=input.words[9];for(output.words[output.length++]=4194303&e,i=10;i<input.length;i++){var r=0|input.words[i];input.words[i-10]=(4194303&r)<<4|e>>>22,e=r}e>>>=22,input.words[i-10]=e,0===e&&input.length>10?input.length-=10:input.length-=9},E.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,i=0;i<t.length;i++){var r=0|t.words[i];e+=977*r,t.words[i]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},o(A,x),o(T,x),o(k,x),k.prototype.imulK=function(t){for(var e=0,i=0;i<t.length;i++){var r=19*(0|t.words[i])+e,n=67108863&r;r>>>=26,t.words[i]=n,e=r}return 0!==e&&(t.words[t.length++]=e),t},h._prime=function(t){if(S[t])return S[t];var e;if("k256"===t)e=new E;else if("p224"===t)e=new A;else if("p192"===t)e=new T;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new k}return S[t]=e,e},C.prototype._verify1=function(a){n(0===a.negative,"red works only with positives"),n(a.red,"red works only with red numbers")},C.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")},C.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.umod(this.m)._forceRed(this)},C.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},C.prototype.add=function(a,b){this._verify2(a,b);var t=a.add(b);return t.cmp(this.m)>=0&&t.isub(this.m),t._forceRed(this)},C.prototype.iadd=function(a,b){this._verify2(a,b);var t=a.iadd(b);return t.cmp(this.m)>=0&&t.isub(this.m),t},C.prototype.sub=function(a,b){this._verify2(a,b);var t=a.sub(b);return t.cmpn(0)<0&&t.iadd(this.m),t._forceRed(this)},C.prototype.isub=function(a,b){this._verify2(a,b);var t=a.isub(b);return t.cmpn(0)<0&&t.iadd(this.m),t},C.prototype.shl=function(a,t){return this._verify1(a),this.imod(a.ushln(t))},C.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},C.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},C.prototype.isqr=function(a){return this.imul(a,a.clone())},C.prototype.sqr=function(a){return this.mul(a,a)},C.prototype.sqrt=function(a){if(a.isZero())return a.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var e=this.m.add(new h(1)).iushrn(2);return this.pow(a,e)}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 h(1).toRed(this),o=r.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new h(2*c*c).toRed(this);0!==this.pow(c,l).cmp(o);)c.redIAdd(o);for(var f=this.pow(c,q),d=this.pow(a,q.addn(1).iushrn(1)),m=this.pow(a,q),v=s;0!==m.cmp(r);){for(var y=m,i=0;0!==y.cmp(r);i++)y=y.redSqr();n(i<v);var b=this.pow(f,new h(1).iushln(v-i-1));d=d.redMul(b),f=b.redSqr(),m=m.redMul(f),v=i}return d},C.prototype.invm=function(a){var t=a._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},C.prototype.pow=function(a,t){if(t.isZero())return new h(1).toRed(this);if(0===t.cmpn(1))return a.clone();var e=new Array(16);e[0]=new h(1).toRed(this),e[1]=a;for(var i=2;i<e.length;i++)e[i]=this.mul(e[i-1],a);var r=e[0],n=0,o=0,l=t.bitLength()%26;for(0===l&&(l=26),i=t.length-1;i>=0;i--){for(var c=t.words[i],f=l-1;f>=0;f--){var d=c>>f&1;r!==e[0]&&(r=this.sqr(r)),0!==d||0!==n?(n<<=1,n|=d,(4===++o||0===i&&0===f)&&(r=this.mul(r,e[n]),o=0,n=0)):o=0}l=26}return r},C.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},C.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},h.mont=function(t){return new O(t)},o(O,C),O.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},O.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},O.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;var t=a.imul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).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 h(0)._forceRed(this);var t=a.mul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).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)}}(t,this)}).call(this,r(143)(t))},function(t,e,r){var n=r(755),o=r(334);function h(t){this.rand=t||new o.Rand}t.exports=h,h.create=function(t){return new h(t)},h.prototype._randbelow=function(t){var e=t.bitLength(),r=Math.ceil(e/8);do{var a=new n(this.rand.generate(r))}while(a.cmp(t)>=0);return a},h.prototype._randrange=function(t,e){var r=e.sub(t);return t.add(this._randbelow(r))},h.prototype.test=function(t,e,r){var o=t.bitLength(),h=n.mont(t),l=new n(1).toRed(h);e||(e=Math.max(1,o/48|0));for(var c=t.subn(1),s=0;!c.testn(s);s++);for(var f=t.shrn(s),d=c.toRed(h);e>0;e--){var a=this._randrange(new n(2),c);r&&r(a);var m=a.toRed(h).redPow(f);if(0!==m.cmp(l)&&0!==m.cmp(d)){for(var i=1;i<s;i++){if(0===(m=m.redSqr()).cmp(l))return!1;if(0===m.cmp(d))break}if(i===s)return!1}}return!0},h.prototype.getDivisor=function(t,e){var r=t.bitLength(),o=n.mont(t),h=new n(1).toRed(o);e||(e=Math.max(1,r/48|0));for(var l=t.subn(1),s=0;!l.testn(s);s++);for(var c=t.shrn(s),f=l.toRed(o);e>0;e--){var a=this._randrange(new n(2),l),g=t.gcd(a);if(0!==g.cmpn(1))return g;var d=a.toRed(o).redPow(c);if(0!==d.cmp(h)&&0!==d.cmp(f)){for(var i=1;i<s;i++){if(0===(d=d.redSqr()).cmp(h))return d.fromRed().subn(1).gcd(t);if(0===d.cmp(f))break}if(i===s)return(d=d.redSqr()).fromRed().subn(1).gcd(t)}}return!1}},function(t,e,r){"use strict";(function(e,n){var o;t.exports=P,P.ReadableState=I;r(167).EventEmitter;var h=function(t,e){return t.listeners(e).length},l=r(547),c=r(61).Buffer,f=e.Uint8Array||function(){};var d,m=r(762);d=m&&m.debuglog?m.debuglog("stream"):function(){};var v,y,w,_=r(763),M=r(548),S=r(549).getHighWaterMark,x=r(192).codes,E=x.ERR_INVALID_ARG_TYPE,A=x.ERR_STREAM_PUSH_AFTER_EOF,T=x.ERR_METHOD_NOT_IMPLEMENTED,k=x.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(36)(P,l);var C=M.errorOrDestroy,O=["error","close","destroy","pause","resume"];function I(t,e,n){o=o||r(193),t=t||{},"boolean"!=typeof n&&(n=e instanceof o),this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode),this.highWaterMark=S(this,t,"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!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(v||(v=r(169).StringDecoder),this.decoder=new v(t.encoding),this.encoding=t.encoding)}function P(t){if(o=o||r(193),!(this instanceof P))return new P(t);var e=this instanceof o;this._readableState=new I(t,this,e),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),l.call(this)}function R(t,e,r,n,o){d("readableAddChunk",e);var h,l=t._readableState;if(null===e)l.reading=!1,function(t,e){if(d("onEofChunk"),e.ended)return;if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,e.sync?L(t):(e.needReadable=!1,e.emittedReadable||(e.emittedReadable=!0,D(t)))}(t,l);else if(o||(h=function(t,e){var r;n=e,c.isBuffer(n)||n instanceof f||"string"==typeof e||void 0===e||t.objectMode||(r=new E("chunk",["string","Buffer","Uint8Array"],e));var n;return r}(l,e)),h)C(t,h);else if(l.objectMode||e&&e.length>0)if("string"==typeof e||l.objectMode||Object.getPrototypeOf(e)===c.prototype||(e=function(t){return c.from(t)}(e)),n)l.endEmitted?C(t,new k):j(t,l,e,!0);else if(l.ended)C(t,new A);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!r?(e=l.decoder.write(e),l.objectMode||0!==e.length?j(t,l,e,!1):B(t,l)):j(t,l,e,!1)}else n||(l.reading=!1,B(t,l));return!l.ended&&(l.length<l.highWaterMark||0===l.length)}function j(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(e.awaitDrain=0,t.emit("data",r)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&L(t)),B(t,e)}Object.defineProperty(P.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),P.prototype.destroy=M.destroy,P.prototype._undestroy=M.undestroy,P.prototype._destroy=function(t,e){e(t)},P.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=c.from(t,e),e=""),r=!0),R(this,t,e,!1,r)},P.prototype.unshift=function(t){return R(this,t,null,!0,!1)},P.prototype.isPaused=function(){return!1===this._readableState.flowing},P.prototype.setEncoding=function(t){v||(v=r(169).StringDecoder);var e=new v(t);this._readableState.decoder=e,this._readableState.encoding=this._readableState.decoder.encoding;for(var p=this._readableState.buffer.head,content="";null!==p;)content+=e.write(p.data),p=p.next;return this._readableState.buffer.clear(),""!==content&&this._readableState.buffer.push(content),this._readableState.length=content.length,this};function N(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=1073741824?t=1073741824:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function L(t){var e=t._readableState;d("emitReadable",e.needReadable,e.emittedReadable),e.needReadable=!1,e.emittedReadable||(d("emitReadable",e.flowing),e.emittedReadable=!0,n.nextTick(D,t))}function D(t){var e=t._readableState;d("emitReadable_",e.destroyed,e.length,e.ended),e.destroyed||!e.length&&!e.ended||(t.emit("readable"),e.emittedReadable=!1),e.needReadable=!e.flowing&&!e.ended&&e.length<=e.highWaterMark,G(t)}function B(t,e){e.readingMore||(e.readingMore=!0,n.nextTick(F,t,e))}function F(t,e){for(;!e.reading&&!e.ended&&(e.length<e.highWaterMark||e.flowing&&0===e.length);){var r=e.length;if(d("maybeReadMore read 0"),t.read(0),r===e.length)break}e.readingMore=!1}function U(t){var e=t._readableState;e.readableListening=t.listenerCount("readable")>0,e.resumeScheduled&&!e.paused?e.flowing=!0:t.listenerCount("data")>0&&t.resume()}function z(t){d("readable nexttick read 0"),t.read(0)}function H(t,e){d("resume",e.reading),e.reading||t.read(0),e.resumeScheduled=!1,t.emit("resume"),G(t),e.flowing&&!e.reading&&t.read(0)}function G(t){var e=t._readableState;for(d("flow",e.flowing);e.flowing&&null!==t.read(););}function V(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.first():e.buffer.concat(e.length),e.buffer.clear()):r=e.buffer.consume(t,e.decoder),r);var r}function $(t){var e=t._readableState;d("endReadable",e.endEmitted),e.endEmitted||(e.ended=!0,n.nextTick(W,e,t))}function W(t,e){if(d("endReadableNT",t.endEmitted,t.length),!t.endEmitted&&0===t.length&&(t.endEmitted=!0,e.readable=!1,e.emit("end"),t.autoDestroy)){var r=e._writableState;(!r||r.autoDestroy&&r.finished)&&e.destroy()}}function Y(t,e){for(var i=0,r=t.length;i<r;i++)if(t[i]===e)return i;return-1}P.prototype.read=function(t){d("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&((0!==e.highWaterMark?e.length>=e.highWaterMark:e.length>0)||e.ended))return d("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?$(this):L(this),null;if(0===(t=N(t,e))&&e.ended)return 0===e.length&&$(this),null;var n,o=e.needReadable;return d("need readable",o),(0===e.length||e.length-t<e.highWaterMark)&&d("length less than watermark",o=!0),e.ended||e.reading?d("reading or ended",o=!1):o&&(d("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=N(r,e))),null===(n=t>0?V(t,e):null)?(e.needReadable=e.length<=e.highWaterMark,t=0):(e.length-=t,e.awaitDrain=0),0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&$(this)),null!==n&&this.emit("data",n),n},P.prototype._read=function(t){C(this,new T("_read()"))},P.prototype.pipe=function(t,e){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=t;break;case 1:o.pipes=[o.pipes,t];break;default:o.pipes.push(t)}o.pipesCount+=1,d("pipe count=%d opts=%j",o.pipesCount,e);var l=(!e||!1!==e.end)&&t!==n.stdout&&t!==n.stderr?f:S;function c(e,n){d("onunpipe"),e===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,d("cleanup"),t.removeListener("close",_),t.removeListener("finish",M),t.removeListener("drain",m),t.removeListener("error",w),t.removeListener("unpipe",c),r.removeListener("end",f),r.removeListener("end",S),r.removeListener("data",y),v=!0,!o.awaitDrain||t._writableState&&!t._writableState.needDrain||m())}function f(){d("onend"),t.end()}o.endEmitted?n.nextTick(l):r.once("end",l),t.on("unpipe",c);var m=function(t){return function(){var e=t._readableState;d("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&h(t,"data")&&(e.flowing=!0,G(t))}}(r);t.on("drain",m);var v=!1;function y(e){d("ondata");var n=t.write(e);d("dest.write",n),!1===n&&((1===o.pipesCount&&o.pipes===t||o.pipesCount>1&&-1!==Y(o.pipes,t))&&!v&&(d("false write response, pause",o.awaitDrain),o.awaitDrain++),r.pause())}function w(e){d("onerror",e),S(),t.removeListener("error",w),0===h(t,"error")&&C(t,e)}function _(){t.removeListener("finish",M),S()}function M(){d("onfinish"),t.removeListener("close",_),S()}function S(){d("unpipe"),r.unpipe(t)}return r.on("data",y),function(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?Array.isArray(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",w),t.once("close",_),t.once("finish",M),t.emit("pipe",r),o.flowing||(d("pipe resume"),r.resume()),t},P.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,o=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var i=0;i<o;i++)n[i].emit("unpipe",this,{hasUnpiped:!1});return this}var h=Y(e.pipes,t);return-1===h||(e.pipes.splice(h,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},P.prototype.on=function(t,e){var r=l.prototype.on.call(this,t,e),o=this._readableState;return"data"===t?(o.readableListening=this.listenerCount("readable")>0,!1!==o.flowing&&this.resume()):"readable"===t&&(o.endEmitted||o.readableListening||(o.readableListening=o.needReadable=!0,o.flowing=!1,o.emittedReadable=!1,d("on readable",o.length,o.reading),o.length?L(this):o.reading||n.nextTick(z,this))),r},P.prototype.addListener=P.prototype.on,P.prototype.removeListener=function(t,e){var r=l.prototype.removeListener.call(this,t,e);return"readable"===t&&n.nextTick(U,this),r},P.prototype.removeAllListeners=function(t){var e=l.prototype.removeAllListeners.apply(this,arguments);return"readable"!==t&&void 0!==t||n.nextTick(U,this),e},P.prototype.resume=function(){var t=this._readableState;return t.flowing||(d("resume"),t.flowing=!t.readableListening,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,n.nextTick(H,t,e))}(this,t)),t.paused=!1,this},P.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},P.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",(function(){if(d("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(o){(d("wrapped data"),r.decoder&&(o=r.decoder.write(o)),r.objectMode&&null==o)||(r.objectMode||o&&o.length)&&(e.push(o)||(n=!0,t.pause()))})),t)void 0===this[i]&&"function"==typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var o=0;o<O.length;o++)t.on(O[o],this.emit.bind(this,O[o]));return this._read=function(e){d("wrapped _read",e),n&&(n=!1,t.resume())},this},"function"==typeof Symbol&&(P.prototype[Symbol.asyncIterator]=function(){return void 0===y&&(y=r(765)),y(this)}),Object.defineProperty(P.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(P.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(P.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(t){this._readableState&&(this._readableState.flowing=t)}}),P._fromList=V,Object.defineProperty(P.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(P.from=function(t,e){return void 0===w&&(w=r(766)),w(P,t,e)})}).call(this,r(54),r(69))},function(t,e,r){t.exports=r(167).EventEmitter},function(t,e,r){"use strict";(function(e){function r(t,e){o(t,e),n(t)}function n(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function o(t,e){t.emit("error",e)}t.exports={destroy:function(t,h){var l=this,c=this._readableState&&this._readableState.destroyed,f=this._writableState&&this._writableState.destroyed;return c||f?(h?h(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(o,this,t)):e.nextTick(o,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!h&&t?l._writableState?l._writableState.errorEmitted?e.nextTick(n,l):(l._writableState.errorEmitted=!0,e.nextTick(r,l,t)):e.nextTick(r,l,t):h?(e.nextTick(n,l),h(t)):e.nextTick(n,l)})),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(t,e){var r=t._readableState,n=t._writableState;r&&r.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}}}).call(this,r(69))},function(t,e,r){"use strict";var n=r(192).codes.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(t,e,r,o){var h=function(t,e,r){return null!=t.highWaterMark?t.highWaterMark:e?t[r]:null}(e,o,r);if(null!=h){if(!isFinite(h)||Math.floor(h)!==h||h<0)throw new n(o?r:"highWaterMark",h);return Math.floor(h)}return t.objectMode?16:16384}}},function(t,e,r){"use strict";(function(e,n){function o(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;t.entry=null;for(;n;){var o=n.callback;e.pendingcb--,o(r),n=n.next}e.corkedRequestsFree.next=t}(e,t)}}var h;t.exports=P,P.WritableState=I;var l={deprecate:r(323)},c=r(547),f=r(61).Buffer,d=e.Uint8Array||function(){};var m,v=r(548),y=r(549).getHighWaterMark,w=r(192).codes,_=w.ERR_INVALID_ARG_TYPE,M=w.ERR_METHOD_NOT_IMPLEMENTED,S=w.ERR_MULTIPLE_CALLBACK,x=w.ERR_STREAM_CANNOT_PIPE,E=w.ERR_STREAM_DESTROYED,A=w.ERR_STREAM_NULL_VALUES,T=w.ERR_STREAM_WRITE_AFTER_END,k=w.ERR_UNKNOWN_ENCODING,C=v.errorOrDestroy;function O(){}function I(t,e,l){h=h||r(193),t=t||{},"boolean"!=typeof l&&(l=e instanceof h),this.objectMode=!!t.objectMode,l&&(this.objectMode=this.objectMode||!!t.writableObjectMode),this.highWaterMark=y(this,t,"writableHighWaterMark",l),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var c=!1===t.decodeStrings;this.decodeStrings=!c,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,o=r.sync,h=r.writecb;if("function"!=typeof h)throw new S;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,o,h){--e.pendingcb,r?(n.nextTick(h,o),n.nextTick(B,t,e),t._writableState.errorEmitted=!0,C(t,o)):(h(o),t._writableState.errorEmitted=!0,C(t,o),B(t,e))}(t,r,o,e,h);else{var l=L(r)||t.destroyed;l||r.corked||r.bufferProcessing||!r.bufferedRequest||N(t,r),o?n.nextTick(j,t,r,l,h):j(t,r,l,h)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==t.emitClose,this.autoDestroy=!!t.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function P(t){var e=this instanceof(h=h||r(193));if(!e&&!m.call(P,this))return new P(t);this._writableState=new I(t,this,e),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),c.call(this)}function R(t,e,r,n,o,h,l){e.writelen=n,e.writecb=l,e.writing=!0,e.sync=!0,e.destroyed?e.onwrite(new E("write")):r?t._writev(o,e.onwrite):t._write(o,h,e.onwrite),e.sync=!1}function j(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),B(t,e)}function N(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,h=new Array(n),l=e.corkedRequestsFree;l.entry=r;for(var c=0,f=!0;r;)h[c]=r,r.isBuf||(f=!1),r=r.next,c+=1;h.allBuffers=f,R(t,e,!0,e.length,h,"",l.finish),e.pendingcb++,e.lastBufferedRequest=null,l.next?(e.corkedRequestsFree=l.next,l.next=null):e.corkedRequestsFree=new o(e),e.bufferedRequestCount=0}else{for(;r;){var d=r.chunk,m=r.encoding,v=r.callback;if(R(t,e,!1,e.objectMode?1:d.length,d,m,v),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function L(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function D(t,e){t._final((function(r){e.pendingcb--,r&&C(t,r),e.prefinished=!0,t.emit("prefinish"),B(t,e)}))}function B(t,e){var r=L(e);if(r&&(function(t,e){e.prefinished||e.finalCalled||("function"!=typeof t._final||e.destroyed?(e.prefinished=!0,t.emit("prefinish")):(e.pendingcb++,e.finalCalled=!0,n.nextTick(D,t,e)))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"),e.autoDestroy))){var o=t._readableState;(!o||o.autoDestroy&&o.endEmitted)&&t.destroy()}return r}r(36)(P,c),I.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(I.prototype,"buffer",{get:l.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(m=Function.prototype[Symbol.hasInstance],Object.defineProperty(P,Symbol.hasInstance,{value:function(object){return!!m.call(this,object)||this===P&&(object&&object._writableState instanceof I)}})):m=function(object){return object instanceof this},P.prototype.pipe=function(){C(this,new x)},P.prototype.write=function(t,e,r){var o,h=this._writableState,l=!1,c=!h.objectMode&&(o=t,f.isBuffer(o)||o instanceof d);return c&&!f.isBuffer(t)&&(t=function(t){return f.from(t)}(t)),"function"==typeof e&&(r=e,e=null),c?e="buffer":e||(e=h.defaultEncoding),"function"!=typeof r&&(r=O),h.ending?function(t,e){var r=new T;C(t,r),n.nextTick(e,r)}(this,r):(c||function(t,e,r,o){var h;return null===r?h=new A:"string"==typeof r||e.objectMode||(h=new _("chunk",["string","Buffer"],r)),!h||(C(t,h),n.nextTick(o,h),!1)}(this,h,t,r))&&(h.pendingcb++,l=function(t,e,r,n,o,h){if(!r){var l=function(t,e,r){t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=f.from(e,r));return e}(e,n,o);n!==l&&(r=!0,o="buffer",n=l)}var c=e.objectMode?1:n.length;e.length+=c;var d=e.length<e.highWaterMark;d||(e.needDrain=!0);if(e.writing||e.corked){var m=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:o,isBuf:r,callback:h,next:null},m?m.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else R(t,e,!1,c,n,o,h);return d}(this,h,c,t,e,r)),l},P.prototype.cork=function(){this._writableState.corked++},P.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||N(this,t))},P.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new k(t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(P.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(P.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),P.prototype._write=function(t,e,r){r(new M("_write()"))},P.prototype._writev=null,P.prototype.end=function(t,e,r){var o=this._writableState;return"function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!=t&&this.write(t,e),o.corked&&(o.corked=1,this.uncork()),o.ending||function(t,e,r){e.ending=!0,B(t,e),r&&(e.finished?n.nextTick(r):t.once("finish",r));e.ended=!0,t.writable=!1}(this,o,r),this},Object.defineProperty(P.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(P.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),P.prototype.destroy=v.destroy,P.prototype._undestroy=v.undestroy,P.prototype._destroy=function(t,e){e(t)}}).call(this,r(54),r(69))},function(t,e,r){"use strict";t.exports=m;var n=r(192).codes,o=n.ERR_METHOD_NOT_IMPLEMENTED,h=n.ERR_MULTIPLE_CALLBACK,l=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,c=n.ERR_TRANSFORM_WITH_LENGTH_0,f=r(193);function d(t,data){var e=this._transformState;e.transforming=!1;var r=e.writecb;if(null===r)return this.emit("error",new h);e.writechunk=null,e.writecb=null,null!=data&&this.push(data),r(t);var n=this._readableState;n.reading=!1,(n.needReadable||n.length<n.highWaterMark)&&this._read(n.highWaterMark)}function m(t){if(!(this instanceof m))return new m(t);f.call(this,t),this._transformState={afterTransform:d.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",v)}function v(){var t=this;"function"!=typeof this._flush||this._readableState.destroyed?y(this,null,null):this._flush((function(e,data){y(t,e,data)}))}function y(t,e,data){if(e)return t.emit("error",e);if(null!=data&&t.push(data),t._writableState.length)throw new c;if(t._transformState.transforming)throw new l;return t.push(null)}r(36)(m,f),m.prototype.push=function(t,e){return this._transformState.needTransform=!1,f.prototype.push.call(this,t,e)},m.prototype._transform=function(t,e,r){r(new o("_transform()"))},m.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var o=this._readableState;(n.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},m.prototype._read=function(t){var e=this._transformState;null===e.writechunk||e.transforming?e.needTransform=!0:(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform))},m.prototype._destroy=function(t,e){f.prototype._destroy.call(this,t,(function(t){e(t)}))}},function(t,e,r){"use strict";var n=e;function o(t){return 1===t.length?"0"+t:t}function h(t){for(var e="",i=0;i<t.length;i++)e+=o(t[i].toString(16));return e}n.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if("string"!=typeof t){for(var i=0;i<t.length;i++)r[i]=0|t[i];return r}if("hex"===e){(t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t);for(i=0;i<t.length;i+=2)r.push(parseInt(t[i]+t[i+1],16))}else for(i=0;i<t.length;i++){var n=t.charCodeAt(i),o=n>>8,h=255&n;o?r.push(o,h):r.push(h)}return r},n.zero2=o,n.toHex=h,n.encode=function(t,e){return"hex"===e?h(t):t}},function(t,e,r){"use strict";var n=e;n.base=r(275),n.short=r(773),n.mont=r(774),n.edwards=r(775)},function(t,e,r){"use strict";var n=r(128).rotr32;function o(t,e,r){return t&e^~t&r}function h(t,e,r){return t&e^t&r^e&r}function l(t,e,r){return t^e^r}e.ft_1=function(s,t,e,r){return 0===s?o(t,e,r):1===s||3===s?l(t,e,r):2===s?h(t,e,r):void 0},e.ch32=o,e.maj32=h,e.p32=l,e.s0_256=function(t){return n(t,2)^n(t,13)^n(t,22)},e.s1_256=function(t){return n(t,6)^n(t,11)^n(t,25)},e.g0_256=function(t){return n(t,7)^n(t,18)^t>>>3},e.g1_256=function(t){return n(t,17)^n(t,19)^t>>>10}},function(t,e,r){"use strict";var n=r(128),o=r(231),h=r(554),l=r(114),c=n.sum32,f=n.sum32_4,d=n.sum32_5,m=h.ch32,v=h.maj32,y=h.s0_256,w=h.s1_256,_=h.g0_256,M=h.g1_256,S=o.BlockHash,x=[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 E(){if(!(this instanceof E))return new E;S.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=x,this.W=new Array(64)}n.inherits(E,S),t.exports=E,E.blockSize=512,E.outSize=256,E.hmacStrength=192,E.padLength=64,E.prototype._update=function(t,e){for(var r=this.W,i=0;i<16;i++)r[i]=t[e+i];for(;i<r.length;i++)r[i]=f(M(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],h=this.h[4],S=this.h[5],g=this.h[6],x=this.h[7];for(l(this.k.length===r.length),i=0;i<r.length;i++){var E=d(x,w(h),m(h,S,g),this.k[i],r[i]),A=c(y(a),v(a,b,n));x=g,g=S,S=h,h=c(o,E),o=n,n=b,b=a,a=c(E,A)}this.h[0]=c(this.h[0],a),this.h[1]=c(this.h[1],b),this.h[2]=c(this.h[2],n),this.h[3]=c(this.h[3],o),this.h[4]=c(this.h[4],h),this.h[5]=c(this.h[5],S),this.h[6]=c(this.h[6],g),this.h[7]=c(this.h[7],x)},E.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(t,e,r){"use strict";var n=r(128),o=r(231),h=r(114),l=n.rotr64_hi,c=n.rotr64_lo,f=n.shr64_hi,d=n.shr64_lo,m=n.sum64,v=n.sum64_hi,y=n.sum64_lo,w=n.sum64_4_hi,_=n.sum64_4_lo,M=n.sum64_5_hi,S=n.sum64_5_lo,x=o.BlockHash,E=[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];function A(){if(!(this instanceof A))return new A;x.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=E,this.W=new Array(160)}function T(t,e,r,n,o){var h=t&r^~t&o;return h<0&&(h+=4294967296),h}function k(t,e,r,n,o,h){var l=e&n^~e&h;return l<0&&(l+=4294967296),l}function C(t,e,r,n,o){var h=t&r^t&o^r&o;return h<0&&(h+=4294967296),h}function O(t,e,r,n,o,h){var l=e&n^e&h^n&h;return l<0&&(l+=4294967296),l}function I(t,e){var r=l(t,e,28)^l(e,t,2)^l(e,t,7);return r<0&&(r+=4294967296),r}function P(t,e){var r=c(t,e,28)^c(e,t,2)^c(e,t,7);return r<0&&(r+=4294967296),r}function R(t,e){var r=l(t,e,14)^l(t,e,18)^l(e,t,9);return r<0&&(r+=4294967296),r}function j(t,e){var r=c(t,e,14)^c(t,e,18)^c(e,t,9);return r<0&&(r+=4294967296),r}function N(t,e){var r=l(t,e,1)^l(t,e,8)^f(t,e,7);return r<0&&(r+=4294967296),r}function L(t,e){var r=c(t,e,1)^c(t,e,8)^d(t,e,7);return r<0&&(r+=4294967296),r}function D(t,e){var r=l(t,e,19)^l(e,t,29)^f(t,e,6);return r<0&&(r+=4294967296),r}function B(t,e){var r=c(t,e,19)^c(e,t,29)^d(t,e,6);return r<0&&(r+=4294967296),r}n.inherits(A,x),t.exports=A,A.blockSize=1024,A.outSize=512,A.hmacStrength=192,A.padLength=128,A.prototype._prepareBlock=function(t,e){for(var r=this.W,i=0;i<32;i++)r[i]=t[e+i];for(;i<r.length;i+=2){var n=D(r[i-4],r[i-3]),o=B(r[i-4],r[i-3]),h=r[i-14],l=r[i-13],c=N(r[i-30],r[i-29]),f=L(r[i-30],r[i-29]),d=r[i-32],m=r[i-31];r[i]=w(n,o,h,l,c,f,d,m),r[i+1]=_(n,o,h,l,c,f,d,m)}},A.prototype._update=function(t,e){this._prepareBlock(t,e);var r=this.W,n=this.h[0],o=this.h[1],l=this.h[2],c=this.h[3],f=this.h[4],d=this.h[5],w=this.h[6],dl=this.h[7],_=this.h[8],x=this.h[9],E=this.h[10],A=this.h[11],N=this.h[12],L=this.h[13],D=this.h[14],B=this.h[15];h(this.k.length===r.length);for(var i=0;i<r.length;i+=2){var F=D,U=B,z=R(_,x),H=j(_,x),G=T(_,x,E,A,N),V=k(_,x,E,A,N,L),$=this.k[i],W=this.k[i+1],Y=r[i],K=r[i+1],X=M(F,U,z,H,G,V,$,W,Y,K),Z=S(F,U,z,H,G,V,$,W,Y,K);F=I(n,o),U=P(n,o),z=C(n,o,l,c,f),H=O(n,o,l,c,f,d);var J=v(F,U,z,H),Q=y(F,U,z,H);D=N,B=L,N=E,L=A,E=_,A=x,_=v(w,dl,X,Z),x=y(dl,dl,X,Z),w=f,dl=d,f=l,d=c,l=n,c=o,n=v(X,Z,J,Q),o=y(X,Z,J,Q)}m(this.h,0,n,o),m(this.h,2,l,c),m(this.h,4,f,d),m(this.h,6,w,dl),m(this.h,8,_,x),m(this.h,10,E,A),m(this.h,12,N,L),m(this.h,14,D,B)},A.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(t,e,r){"use strict";const n=e;n.bignum=r(558),n.define=r(792).define,n.base=r(795),n.constants=r(796),n.decoders=r(561),n.encoders=r(559)},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function o(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function h(t,base,e){if(h.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==base&&"be"!==base||(e=base,base=10),this._init(t||0,base||10,e||"be"))}var l;"object"==typeof t?t.exports=h:e.BN=h,h.BN=h,h.wordSize=26;try{l=r(791).Buffer}catch(t){}function c(t,e,r){for(var n=0,o=Math.min(t.length,r),i=e;i<o;i++){var h=t.charCodeAt(i)-48;n<<=4,n|=h>=49&&h<=54?h-49+10:h>=17&&h<=22?h-17+10:15&h}return n}function f(t,e,r,n){for(var o=0,h=Math.min(t.length,r),i=e;i<h;i++){var l=t.charCodeAt(i)-48;o*=n,o+=l>=49?l-49+10:l>=17?l-17+10:l}return o}h.isBN=function(t){return t instanceof h||null!==t&&"object"==typeof t&&t.constructor.wordSize===h.wordSize&&Array.isArray(t.words)},h.max=function(t,e){return t.cmp(e)>0?t:e},h.min=function(t,e){return t.cmp(e)<0?t:e},h.prototype._init=function(t,base,e){if("number"==typeof t)return this._initNumber(t,base,e);if("object"==typeof t)return this._initArray(t,base,e);"hex"===base&&(base=16),n(base===(0|base)&&base>=2&&base<=36);var r=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&r++,16===base?this._parseHex(t,r):this._parseBase(t,base,r),"-"===t[0]&&(this.negative=1),this.strip(),"le"===e&&this._initArray(this.toArray(),base,e)},h.prototype._initNumber=function(t,base,e){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===e&&this._initArray(this.toArray(),base,e)},h.prototype._initArray=function(t,base,e){if(n("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var r,o,h=0;if("be"===e)for(i=t.length-1,r=0;i>=0;i-=3)o=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[r]|=o<<h&67108863,this.words[r+1]=o>>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);else if("le"===e)for(i=0,r=0;i<t.length;i+=3)o=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[r]|=o<<h&67108863,this.words[r+1]=o>>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);return this.strip()},h.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var r,n,o=0;for(i=t.length-6,r=0;i>=e;i-=6)n=c(t,i,i+6),this.words[r]|=n<<o&67108863,this.words[r+1]|=n>>>26-o&4194303,(o+=24)>=26&&(o-=26,r++);i+6!==e&&(n=c(t,e,i+6),this.words[r]|=n<<o&67108863,this.words[r+1]|=n>>>26-o&4194303),this.strip()},h.prototype._parseBase=function(t,base,e){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=t.length-e,h=o%r,l=Math.min(o,o-h)+e,c=0,i=e;i<l;i+=r)c=f(t,i,i+r,base),this.imuln(n),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==h){var d=1;for(c=f(t,i,t.length,base),i=0;i<h;i++)d*=base;this.imuln(d),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},h.prototype.copy=function(t){t.words=new Array(this.length);for(var i=0;i<this.length;i++)t.words[i]=this.words[i];t.length=this.length,t.negative=this.negative,t.red=this.red},h.prototype.clone=function(){var t=new h(null);return this.copy(t),t},h.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},h.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},h.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},h.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var d=["","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,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function y(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var a=0|t.words[0],b=0|e.words[0],o=a*b,h=67108863&o,l=o/67108864|0;r.words[0]=h;for(var c=1;c<n;c++){for(var f=l>>>26,d=67108863&l,m=Math.min(c,e.length-1),v=Math.max(0,c-t.length+1);v<=m;v++){var i=c-v|0;f+=(o=(a=0|t.words[i])*(b=0|e.words[v])+d)/67108864|0,d=67108863&o}r.words[c]=0|d,l=0|f}return 0!==l?r.words[c]=0|l:r.length--,r.strip()}h.prototype.toString=function(base,t){var e;if(t=0|t||1,16===(base=base||10)||"hex"===base){e="";for(var r=0,o=0,i=0;i<this.length;i++){var h=this.words[i],l=(16777215&(h<<r|o)).toString(16);e=0!==(o=h>>>24-r&16777215)||i!==this.length-1?d[6-l.length]+l+e:l+e,(r+=2)>=26&&(r-=26,i--)}for(0!==o&&(e=o.toString(16)+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}if(base===(0|base)&&base>=2&&base<=36){var c=m[base],f=v[base];e="";var y=this.clone();for(y.negative=0;!y.isZero();){var w=y.modn(f).toString(base);e=(y=y.idivn(f)).isZero()?w+e:d[c-w.length]+w+e}for(this.isZero()&&(e="0"+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}n(!1,"Base should be between 2 and 36")},h.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},h.prototype.toJSON=function(){return this.toString(16)},h.prototype.toBuffer=function(t,e){return n(void 0!==l),this.toArrayLike(l,t,e)},h.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},h.prototype.toArrayLike=function(t,e,r){var o=this.byteLength(),h=r||Math.max(1,o);n(o<=h,"byte array longer than desired length"),n(h>0,"Requested array length <= 0"),this.strip();var b,i,l="le"===e,c=new t(h),q=this.clone();if(l){for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),c[i]=b;for(;i<h;i++)c[i]=0}else{for(i=0;i<h-o;i++)c[i]=0;for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),c[h-i-1]=b}return c},Math.clz32?h.prototype._countBits=function(t){return 32-Math.clz32(t)}:h.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},h.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0==(8191&e)&&(r+=13,e>>>=13),0==(127&e)&&(r+=7,e>>>=7),0==(15&e)&&(r+=4,e>>>=4),0==(3&e)&&(r+=2,e>>>=2),0==(1&e)&&r++,r},h.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},h.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,i=0;i<this.length;i++){var b=this._zeroBits(this.words[i]);if(t+=b,26!==b)break}return t},h.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},h.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},h.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},h.prototype.isNeg=function(){return 0!==this.negative},h.prototype.neg=function(){return this.clone().ineg()},h.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},h.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var i=0;i<t.length;i++)this.words[i]=this.words[i]|t.words[i];return this.strip()},h.prototype.ior=function(t){return n(0==(this.negative|t.negative)),this.iuor(t)},h.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},h.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},h.prototype.iuand=function(t){var b;b=this.length>t.length?t:this;for(var i=0;i<b.length;i++)this.words[i]=this.words[i]&t.words[i];return this.length=b.length,this.strip()},h.prototype.iand=function(t){return n(0==(this.negative|t.negative)),this.iuand(t)},h.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},h.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},h.prototype.iuxor=function(t){var a,b;this.length>t.length?(a=this,b=t):(a=t,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()},h.prototype.ixor=function(t){return n(0==(this.negative|t.negative)),this.iuxor(t)},h.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},h.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},h.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},h.prototype.notn=function(t){return this.clone().inotn(t)},h.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var r=t/26|0,o=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<o:this.words[r]&~(1<<o),this.strip()},h.prototype.iadd=function(t){var e,a,b;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(a=this,b=t):(a=t,b=this);for(var r=0,i=0;i<b.length;i++)e=(0|a.words[i])+(0|b.words[i])+r,this.words[i]=67108863&e,r=e>>>26;for(;0!==r&&i<a.length;i++)e=(0|a.words[i])+r,this.words[i]=67108863&e,r=e>>>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},h.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},h.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var a,b,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(a=this,b=t):(a=t,b=this);for(var n=0,i=0;i<b.length;i++)n=(e=(0|a.words[i])-(0|b.words[i])+n)>>26,this.words[i]=67108863&e;for(;0!==n&&i<a.length;i++)n=(e=(0|a.words[i])+n)>>26,this.words[i]=67108863&e;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()},h.prototype.sub=function(t){return this.clone().isub(t)};var w=function(t,e,r){var n,o,h,a=t.words,b=e.words,l=r.words,c=0,f=0|a[0],d=8191&f,m=f>>>13,v=0|a[1],y=8191&v,w=v>>>13,_=0|a[2],M=8191&_,S=_>>>13,x=0|a[3],E=8191&x,A=x>>>13,T=0|a[4],k=8191&T,C=T>>>13,O=0|a[5],I=8191&O,P=O>>>13,R=0|a[6],j=8191&R,N=R>>>13,L=0|a[7],D=8191&L,B=L>>>13,F=0|a[8],U=8191&F,z=F>>>13,H=0|a[9],G=8191&H,V=H>>>13,$=0|b[0],W=8191&$,Y=$>>>13,K=0|b[1],X=8191&K,Z=K>>>13,J=0|b[2],Q=8191&J,tt=J>>>13,et=0|b[3],it=8191&et,nt=et>>>13,ot=0|b[4],at=8191&ot,st=ot>>>13,ht=0|b[5],ut=8191&ht,lt=ht>>>13,ct=0|b[6],ft=8191&ct,pt=ct>>>13,mt=0|b[7],gt=8191&mt,vt=mt>>>13,bt=0|b[8],yt=8191&bt,wt=bt>>>13,_t=0|b[9],Mt=8191&_t,St=_t>>>13;r.negative=t.negative^e.negative,r.length=19;var xt=(c+(n=Math.imul(d,W))|0)+((8191&(o=(o=Math.imul(d,Y))+Math.imul(m,W)|0))<<13)|0;c=((h=Math.imul(m,Y))+(o>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(y,W),o=(o=Math.imul(y,Y))+Math.imul(w,W)|0,h=Math.imul(w,Y);var Et=(c+(n=n+Math.imul(d,X)|0)|0)+((8191&(o=(o=o+Math.imul(d,Z)|0)+Math.imul(m,X)|0))<<13)|0;c=((h=h+Math.imul(m,Z)|0)+(o>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(M,W),o=(o=Math.imul(M,Y))+Math.imul(S,W)|0,h=Math.imul(S,Y),n=n+Math.imul(y,X)|0,o=(o=o+Math.imul(y,Z)|0)+Math.imul(w,X)|0,h=h+Math.imul(w,Z)|0;var At=(c+(n=n+Math.imul(d,Q)|0)|0)+((8191&(o=(o=o+Math.imul(d,tt)|0)+Math.imul(m,Q)|0))<<13)|0;c=((h=h+Math.imul(m,tt)|0)+(o>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(E,W),o=(o=Math.imul(E,Y))+Math.imul(A,W)|0,h=Math.imul(A,Y),n=n+Math.imul(M,X)|0,o=(o=o+Math.imul(M,Z)|0)+Math.imul(S,X)|0,h=h+Math.imul(S,Z)|0,n=n+Math.imul(y,Q)|0,o=(o=o+Math.imul(y,tt)|0)+Math.imul(w,Q)|0,h=h+Math.imul(w,tt)|0;var Tt=(c+(n=n+Math.imul(d,it)|0)|0)+((8191&(o=(o=o+Math.imul(d,nt)|0)+Math.imul(m,it)|0))<<13)|0;c=((h=h+Math.imul(m,nt)|0)+(o>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(k,W),o=(o=Math.imul(k,Y))+Math.imul(C,W)|0,h=Math.imul(C,Y),n=n+Math.imul(E,X)|0,o=(o=o+Math.imul(E,Z)|0)+Math.imul(A,X)|0,h=h+Math.imul(A,Z)|0,n=n+Math.imul(M,Q)|0,o=(o=o+Math.imul(M,tt)|0)+Math.imul(S,Q)|0,h=h+Math.imul(S,tt)|0,n=n+Math.imul(y,it)|0,o=(o=o+Math.imul(y,nt)|0)+Math.imul(w,it)|0,h=h+Math.imul(w,nt)|0;var kt=(c+(n=n+Math.imul(d,at)|0)|0)+((8191&(o=(o=o+Math.imul(d,st)|0)+Math.imul(m,at)|0))<<13)|0;c=((h=h+Math.imul(m,st)|0)+(o>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(I,W),o=(o=Math.imul(I,Y))+Math.imul(P,W)|0,h=Math.imul(P,Y),n=n+Math.imul(k,X)|0,o=(o=o+Math.imul(k,Z)|0)+Math.imul(C,X)|0,h=h+Math.imul(C,Z)|0,n=n+Math.imul(E,Q)|0,o=(o=o+Math.imul(E,tt)|0)+Math.imul(A,Q)|0,h=h+Math.imul(A,tt)|0,n=n+Math.imul(M,it)|0,o=(o=o+Math.imul(M,nt)|0)+Math.imul(S,it)|0,h=h+Math.imul(S,nt)|0,n=n+Math.imul(y,at)|0,o=(o=o+Math.imul(y,st)|0)+Math.imul(w,at)|0,h=h+Math.imul(w,st)|0;var Ct=(c+(n=n+Math.imul(d,ut)|0)|0)+((8191&(o=(o=o+Math.imul(d,lt)|0)+Math.imul(m,ut)|0))<<13)|0;c=((h=h+Math.imul(m,lt)|0)+(o>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(j,W),o=(o=Math.imul(j,Y))+Math.imul(N,W)|0,h=Math.imul(N,Y),n=n+Math.imul(I,X)|0,o=(o=o+Math.imul(I,Z)|0)+Math.imul(P,X)|0,h=h+Math.imul(P,Z)|0,n=n+Math.imul(k,Q)|0,o=(o=o+Math.imul(k,tt)|0)+Math.imul(C,Q)|0,h=h+Math.imul(C,tt)|0,n=n+Math.imul(E,it)|0,o=(o=o+Math.imul(E,nt)|0)+Math.imul(A,it)|0,h=h+Math.imul(A,nt)|0,n=n+Math.imul(M,at)|0,o=(o=o+Math.imul(M,st)|0)+Math.imul(S,at)|0,h=h+Math.imul(S,st)|0,n=n+Math.imul(y,ut)|0,o=(o=o+Math.imul(y,lt)|0)+Math.imul(w,ut)|0,h=h+Math.imul(w,lt)|0;var Ot=(c+(n=n+Math.imul(d,ft)|0)|0)+((8191&(o=(o=o+Math.imul(d,pt)|0)+Math.imul(m,ft)|0))<<13)|0;c=((h=h+Math.imul(m,pt)|0)+(o>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(D,W),o=(o=Math.imul(D,Y))+Math.imul(B,W)|0,h=Math.imul(B,Y),n=n+Math.imul(j,X)|0,o=(o=o+Math.imul(j,Z)|0)+Math.imul(N,X)|0,h=h+Math.imul(N,Z)|0,n=n+Math.imul(I,Q)|0,o=(o=o+Math.imul(I,tt)|0)+Math.imul(P,Q)|0,h=h+Math.imul(P,tt)|0,n=n+Math.imul(k,it)|0,o=(o=o+Math.imul(k,nt)|0)+Math.imul(C,it)|0,h=h+Math.imul(C,nt)|0,n=n+Math.imul(E,at)|0,o=(o=o+Math.imul(E,st)|0)+Math.imul(A,at)|0,h=h+Math.imul(A,st)|0,n=n+Math.imul(M,ut)|0,o=(o=o+Math.imul(M,lt)|0)+Math.imul(S,ut)|0,h=h+Math.imul(S,lt)|0,n=n+Math.imul(y,ft)|0,o=(o=o+Math.imul(y,pt)|0)+Math.imul(w,ft)|0,h=h+Math.imul(w,pt)|0;var It=(c+(n=n+Math.imul(d,gt)|0)|0)+((8191&(o=(o=o+Math.imul(d,vt)|0)+Math.imul(m,gt)|0))<<13)|0;c=((h=h+Math.imul(m,vt)|0)+(o>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(U,W),o=(o=Math.imul(U,Y))+Math.imul(z,W)|0,h=Math.imul(z,Y),n=n+Math.imul(D,X)|0,o=(o=o+Math.imul(D,Z)|0)+Math.imul(B,X)|0,h=h+Math.imul(B,Z)|0,n=n+Math.imul(j,Q)|0,o=(o=o+Math.imul(j,tt)|0)+Math.imul(N,Q)|0,h=h+Math.imul(N,tt)|0,n=n+Math.imul(I,it)|0,o=(o=o+Math.imul(I,nt)|0)+Math.imul(P,it)|0,h=h+Math.imul(P,nt)|0,n=n+Math.imul(k,at)|0,o=(o=o+Math.imul(k,st)|0)+Math.imul(C,at)|0,h=h+Math.imul(C,st)|0,n=n+Math.imul(E,ut)|0,o=(o=o+Math.imul(E,lt)|0)+Math.imul(A,ut)|0,h=h+Math.imul(A,lt)|0,n=n+Math.imul(M,ft)|0,o=(o=o+Math.imul(M,pt)|0)+Math.imul(S,ft)|0,h=h+Math.imul(S,pt)|0,n=n+Math.imul(y,gt)|0,o=(o=o+Math.imul(y,vt)|0)+Math.imul(w,gt)|0,h=h+Math.imul(w,vt)|0;var Pt=(c+(n=n+Math.imul(d,yt)|0)|0)+((8191&(o=(o=o+Math.imul(d,wt)|0)+Math.imul(m,yt)|0))<<13)|0;c=((h=h+Math.imul(m,wt)|0)+(o>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(G,W),o=(o=Math.imul(G,Y))+Math.imul(V,W)|0,h=Math.imul(V,Y),n=n+Math.imul(U,X)|0,o=(o=o+Math.imul(U,Z)|0)+Math.imul(z,X)|0,h=h+Math.imul(z,Z)|0,n=n+Math.imul(D,Q)|0,o=(o=o+Math.imul(D,tt)|0)+Math.imul(B,Q)|0,h=h+Math.imul(B,tt)|0,n=n+Math.imul(j,it)|0,o=(o=o+Math.imul(j,nt)|0)+Math.imul(N,it)|0,h=h+Math.imul(N,nt)|0,n=n+Math.imul(I,at)|0,o=(o=o+Math.imul(I,st)|0)+Math.imul(P,at)|0,h=h+Math.imul(P,st)|0,n=n+Math.imul(k,ut)|0,o=(o=o+Math.imul(k,lt)|0)+Math.imul(C,ut)|0,h=h+Math.imul(C,lt)|0,n=n+Math.imul(E,ft)|0,o=(o=o+Math.imul(E,pt)|0)+Math.imul(A,ft)|0,h=h+Math.imul(A,pt)|0,n=n+Math.imul(M,gt)|0,o=(o=o+Math.imul(M,vt)|0)+Math.imul(S,gt)|0,h=h+Math.imul(S,vt)|0,n=n+Math.imul(y,yt)|0,o=(o=o+Math.imul(y,wt)|0)+Math.imul(w,yt)|0,h=h+Math.imul(w,wt)|0;var Rt=(c+(n=n+Math.imul(d,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(d,St)|0)+Math.imul(m,Mt)|0))<<13)|0;c=((h=h+Math.imul(m,St)|0)+(o>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(G,X),o=(o=Math.imul(G,Z))+Math.imul(V,X)|0,h=Math.imul(V,Z),n=n+Math.imul(U,Q)|0,o=(o=o+Math.imul(U,tt)|0)+Math.imul(z,Q)|0,h=h+Math.imul(z,tt)|0,n=n+Math.imul(D,it)|0,o=(o=o+Math.imul(D,nt)|0)+Math.imul(B,it)|0,h=h+Math.imul(B,nt)|0,n=n+Math.imul(j,at)|0,o=(o=o+Math.imul(j,st)|0)+Math.imul(N,at)|0,h=h+Math.imul(N,st)|0,n=n+Math.imul(I,ut)|0,o=(o=o+Math.imul(I,lt)|0)+Math.imul(P,ut)|0,h=h+Math.imul(P,lt)|0,n=n+Math.imul(k,ft)|0,o=(o=o+Math.imul(k,pt)|0)+Math.imul(C,ft)|0,h=h+Math.imul(C,pt)|0,n=n+Math.imul(E,gt)|0,o=(o=o+Math.imul(E,vt)|0)+Math.imul(A,gt)|0,h=h+Math.imul(A,vt)|0,n=n+Math.imul(M,yt)|0,o=(o=o+Math.imul(M,wt)|0)+Math.imul(S,yt)|0,h=h+Math.imul(S,wt)|0;var jt=(c+(n=n+Math.imul(y,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(y,St)|0)+Math.imul(w,Mt)|0))<<13)|0;c=((h=h+Math.imul(w,St)|0)+(o>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(G,Q),o=(o=Math.imul(G,tt))+Math.imul(V,Q)|0,h=Math.imul(V,tt),n=n+Math.imul(U,it)|0,o=(o=o+Math.imul(U,nt)|0)+Math.imul(z,it)|0,h=h+Math.imul(z,nt)|0,n=n+Math.imul(D,at)|0,o=(o=o+Math.imul(D,st)|0)+Math.imul(B,at)|0,h=h+Math.imul(B,st)|0,n=n+Math.imul(j,ut)|0,o=(o=o+Math.imul(j,lt)|0)+Math.imul(N,ut)|0,h=h+Math.imul(N,lt)|0,n=n+Math.imul(I,ft)|0,o=(o=o+Math.imul(I,pt)|0)+Math.imul(P,ft)|0,h=h+Math.imul(P,pt)|0,n=n+Math.imul(k,gt)|0,o=(o=o+Math.imul(k,vt)|0)+Math.imul(C,gt)|0,h=h+Math.imul(C,vt)|0,n=n+Math.imul(E,yt)|0,o=(o=o+Math.imul(E,wt)|0)+Math.imul(A,yt)|0,h=h+Math.imul(A,wt)|0;var Nt=(c+(n=n+Math.imul(M,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(M,St)|0)+Math.imul(S,Mt)|0))<<13)|0;c=((h=h+Math.imul(S,St)|0)+(o>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul(G,it),o=(o=Math.imul(G,nt))+Math.imul(V,it)|0,h=Math.imul(V,nt),n=n+Math.imul(U,at)|0,o=(o=o+Math.imul(U,st)|0)+Math.imul(z,at)|0,h=h+Math.imul(z,st)|0,n=n+Math.imul(D,ut)|0,o=(o=o+Math.imul(D,lt)|0)+Math.imul(B,ut)|0,h=h+Math.imul(B,lt)|0,n=n+Math.imul(j,ft)|0,o=(o=o+Math.imul(j,pt)|0)+Math.imul(N,ft)|0,h=h+Math.imul(N,pt)|0,n=n+Math.imul(I,gt)|0,o=(o=o+Math.imul(I,vt)|0)+Math.imul(P,gt)|0,h=h+Math.imul(P,vt)|0,n=n+Math.imul(k,yt)|0,o=(o=o+Math.imul(k,wt)|0)+Math.imul(C,yt)|0,h=h+Math.imul(C,wt)|0;var Lt=(c+(n=n+Math.imul(E,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(E,St)|0)+Math.imul(A,Mt)|0))<<13)|0;c=((h=h+Math.imul(A,St)|0)+(o>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul(G,at),o=(o=Math.imul(G,st))+Math.imul(V,at)|0,h=Math.imul(V,st),n=n+Math.imul(U,ut)|0,o=(o=o+Math.imul(U,lt)|0)+Math.imul(z,ut)|0,h=h+Math.imul(z,lt)|0,n=n+Math.imul(D,ft)|0,o=(o=o+Math.imul(D,pt)|0)+Math.imul(B,ft)|0,h=h+Math.imul(B,pt)|0,n=n+Math.imul(j,gt)|0,o=(o=o+Math.imul(j,vt)|0)+Math.imul(N,gt)|0,h=h+Math.imul(N,vt)|0,n=n+Math.imul(I,yt)|0,o=(o=o+Math.imul(I,wt)|0)+Math.imul(P,yt)|0,h=h+Math.imul(P,wt)|0;var Dt=(c+(n=n+Math.imul(k,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(k,St)|0)+Math.imul(C,Mt)|0))<<13)|0;c=((h=h+Math.imul(C,St)|0)+(o>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(G,ut),o=(o=Math.imul(G,lt))+Math.imul(V,ut)|0,h=Math.imul(V,lt),n=n+Math.imul(U,ft)|0,o=(o=o+Math.imul(U,pt)|0)+Math.imul(z,ft)|0,h=h+Math.imul(z,pt)|0,n=n+Math.imul(D,gt)|0,o=(o=o+Math.imul(D,vt)|0)+Math.imul(B,gt)|0,h=h+Math.imul(B,vt)|0,n=n+Math.imul(j,yt)|0,o=(o=o+Math.imul(j,wt)|0)+Math.imul(N,yt)|0,h=h+Math.imul(N,wt)|0;var Bt=(c+(n=n+Math.imul(I,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(I,St)|0)+Math.imul(P,Mt)|0))<<13)|0;c=((h=h+Math.imul(P,St)|0)+(o>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul(G,ft),o=(o=Math.imul(G,pt))+Math.imul(V,ft)|0,h=Math.imul(V,pt),n=n+Math.imul(U,gt)|0,o=(o=o+Math.imul(U,vt)|0)+Math.imul(z,gt)|0,h=h+Math.imul(z,vt)|0,n=n+Math.imul(D,yt)|0,o=(o=o+Math.imul(D,wt)|0)+Math.imul(B,yt)|0,h=h+Math.imul(B,wt)|0;var Ft=(c+(n=n+Math.imul(j,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(j,St)|0)+Math.imul(N,Mt)|0))<<13)|0;c=((h=h+Math.imul(N,St)|0)+(o>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,n=Math.imul(G,gt),o=(o=Math.imul(G,vt))+Math.imul(V,gt)|0,h=Math.imul(V,vt),n=n+Math.imul(U,yt)|0,o=(o=o+Math.imul(U,wt)|0)+Math.imul(z,yt)|0,h=h+Math.imul(z,wt)|0;var Ut=(c+(n=n+Math.imul(D,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(D,St)|0)+Math.imul(B,Mt)|0))<<13)|0;c=((h=h+Math.imul(B,St)|0)+(o>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,n=Math.imul(G,yt),o=(o=Math.imul(G,wt))+Math.imul(V,yt)|0,h=Math.imul(V,wt);var qt=(c+(n=n+Math.imul(U,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(U,St)|0)+Math.imul(z,Mt)|0))<<13)|0;c=((h=h+Math.imul(z,St)|0)+(o>>>13)|0)+(qt>>>26)|0,qt&=67108863;var zt=(c+(n=Math.imul(G,Mt))|0)+((8191&(o=(o=Math.imul(G,St))+Math.imul(V,Mt)|0))<<13)|0;return c=((h=Math.imul(V,St))+(o>>>13)|0)+(zt>>>26)|0,zt&=67108863,l[0]=xt,l[1]=Et,l[2]=At,l[3]=Tt,l[4]=kt,l[5]=Ct,l[6]=Ot,l[7]=It,l[8]=Pt,l[9]=Rt,l[10]=jt,l[11]=Nt,l[12]=Lt,l[13]=Dt,l[14]=Bt,l[15]=Ft,l[16]=Ut,l[17]=qt,l[18]=zt,0!==c&&(l[19]=c,r.length++),r};function _(t,e,r){return(new M).mulp(t,e,r)}function M(t,e){this.x=t,this.y=e}Math.imul||(w=y),h.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?w(this,t,e):r<63?y(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,o=0,h=0;h<r.length-1;h++){var l=o;o=0;for(var c=67108863&n,f=Math.min(h,e.length-1),d=Math.max(0,h-t.length+1);d<=f;d++){var i=h-d,m=(0|t.words[i])*(0|e.words[d]),v=67108863&m;c=67108863&(v=v+c|0),o+=(l=(l=l+(m/67108864|0)|0)+(v>>>26)|0)>>>26,l&=67108863}r.words[h]=c,n=l,l=o}return 0!==n?r.words[h]=n:r.length--,r.strip()}(this,t,e):_(this,t,e)},M.prototype.makeRBT=function(t){for(var e=new Array(t),r=h.prototype._countBits(t)-1,i=0;i<t;i++)e[i]=this.revBin(i,r,t);return e},M.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},M.prototype.permute=function(t,e,r,n,o,h){for(var i=0;i<h;i++)n[i]=e[t[i]],o[i]=r[t[i]]},M.prototype.transform=function(t,e,r,n,o,h){this.permute(h,t,e,r,n,o);for(var s=1;s<o;s<<=1)for(var l=s<<1,c=Math.cos(2*Math.PI/l),f=Math.sin(2*Math.PI/l),p=0;p<o;p+=l)for(var d=c,m=f,v=0;v<s;v++){var y=r[p+v],w=n[p+v],_=r[p+v+s],M=n[p+v+s],S=d*_-m*M;M=d*M+m*_,_=S,r[p+v]=y+_,n[p+v]=w+M,r[p+v+s]=y-_,n[p+v+s]=w-M,v!==l&&(S=c*d-f*m,m=c*m+f*d,d=S)}},M.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},M.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var i=0;i<r/2;i++){var n=t[i];t[i]=t[r-i-1],t[r-i-1]=n,n=e[i],e[i]=-e[r-i-1],e[r-i-1]=-n}},M.prototype.normalize13b=function(t,e){for(var r=0,i=0;i<e/2;i++){var n=8192*Math.round(t[2*i+1]/e)+Math.round(t[2*i]/e)+r;t[i]=67108863&n,r=n<67108864?0:n/67108864|0}return t},M.prototype.convert13b=function(t,e,r,o){for(var h=0,i=0;i<e;i++)h+=0|t[i],r[2*i]=8191&h,h>>>=13,r[2*i+1]=8191&h,h>>>=13;for(i=2*e;i<o;++i)r[i]=0;n(0===h),n(0==(-8192&h))},M.prototype.stub=function(t){for(var e=new Array(t),i=0;i<t;i++)e[i]=0;return e},M.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),o=this.makeRBT(n),h=this.stub(n),l=new Array(n),c=new Array(n),f=new Array(n),d=new Array(n),m=new Array(n),v=new Array(n),y=r.words;y.length=n,this.convert13b(t.words,t.length,l,n),this.convert13b(e.words,e.length,d,n),this.transform(l,h,c,f,n,o),this.transform(d,h,m,v,n,o);for(var i=0;i<n;i++){var w=c[i]*m[i]-f[i]*v[i];f[i]=c[i]*v[i]+f[i]*m[i],c[i]=w}return this.conjugate(c,f,n),this.transform(c,f,y,h,n,o),this.conjugate(y,h,n),this.normalize13b(y,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},h.prototype.mul=function(t){var e=new h(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},h.prototype.mulf=function(t){var e=new h(null);return e.words=new Array(this.length+t.length),_(this,t,e)},h.prototype.imul=function(t){return this.clone().mulTo(t,this)},h.prototype.imuln=function(t){n("number"==typeof t),n(t<67108864);for(var e=0,i=0;i<this.length;i++){var r=(0|this.words[i])*t,o=(67108863&r)+(67108863&e);e>>=26,e+=r/67108864|0,e+=o>>>26,this.words[i]=67108863&o}return 0!==e&&(this.words[i]=e,this.length++),this},h.prototype.muln=function(t){return this.clone().imuln(t)},h.prototype.sqr=function(){return this.mul(this)},h.prototype.isqr=function(){return this.imul(this.clone())},h.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,o=r%26;e[r]=(t.words[n]&1<<o)>>>o}return e}(t);if(0===e.length)return new h(1);for(var r=this,i=0;i<e.length&&0===e[i];i++,r=r.sqr());if(++i<e.length)for(var q=r.sqr();i<e.length;i++,q=q.sqr())0!==e[i]&&(r=r.mul(q));return r},h.prototype.iushln=function(t){n("number"==typeof t&&t>=0);var i,e=t%26,s=(t-e)/26,r=67108863>>>26-e<<26-e;if(0!==e){var o=0;for(i=0;i<this.length;i++){var h=this.words[i]&r,l=(0|this.words[i])-h<<e;this.words[i]=l|o,o=h>>>26-e}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()},h.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},h.prototype.iushrn=function(t,e,r){var o;n("number"==typeof t&&t>=0),o=e?(e-e%26)/26:0;var h=t%26,s=Math.min((t-h)/26,this.length),mask=67108863^67108863>>>h<<h,l=r;if(o-=s,o=Math.max(0,o),l){for(var i=0;i<s;i++)l.words[i]=this.words[i];l.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 c=0;for(i=this.length-1;i>=0&&(0!==c||i>=o);i--){var f=0|this.words[i];this.words[i]=c<<26-h|f>>>h,c=f&mask}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},h.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},h.prototype.shln=function(t){return this.clone().ishln(t)},h.prototype.ushln=function(t){return this.clone().iushln(t)},h.prototype.shrn=function(t){return this.clone().ishrn(t)},h.prototype.ushrn=function(t){return this.clone().iushrn(t)},h.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26,q=1<<e;return!(this.length<=s)&&!!(this.words[s]&q)},h.prototype.imaskn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==e&&s++,this.length=Math.min(s,this.length),0!==e){var mask=67108863^67108863>>>e<<e;this.words[this.length-1]&=mask}return this.strip()},h.prototype.maskn=function(t){return this.clone().imaskn(t)},h.prototype.iaddn=function(t){return n("number"==typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},h.prototype._iaddn=function(t){this.words[0]+=t;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},h.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,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()},h.prototype.addn=function(t){return this.clone().iaddn(t)},h.prototype.subn=function(t){return this.clone().isubn(t)},h.prototype.iabs=function(){return this.negative=0,this},h.prototype.abs=function(){return this.clone().iabs()},h.prototype._ishlnsubmul=function(t,e,r){var i,o,h=t.length+r;this._expand(h);var l=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+l;var c=(0|t.words[i])*e;l=((o-=67108863&c)>>26)-(c/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)l=(o=(0|this.words[i+r])+l)>>26,this.words[i+r]=67108863&o;if(0===l)return this.strip();for(n(-1===l),l=0,i=0;i<this.length;i++)l=(o=-(0|this.words[i])+l)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},h.prototype._wordDiv=function(t,e){var r=(this.length,t.length),a=this.clone(),b=t,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"!==e){(q=new h(null)).length=o+1,q.words=new Array(q.length);for(var i=0;i<q.length;i++)q.words[i]=0}var l=a.clone()._ishlnsubmul(b,1,o);0===l.negative&&(a=l,q&&(q.words[o]=1));for(var c=o-1;c>=0;c--){var f=67108864*(0|a.words[b.length+c])+(0|a.words[b.length+c-1]);for(f=Math.min(f/n|0,67108863),a._ishlnsubmul(b,f,c);0!==a.negative;)f--,a.negative=0,a._ishlnsubmul(b,1,c),a.isZero()||(a.negative^=1);q&&(q.words[c]=f)}return q&&q.strip(),a.strip(),"div"!==e&&0!==r&&a.iushrn(r),{div:q||null,mod:a}},h.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new h(0),mod:new h(0)}:0!==this.negative&&0===t.negative?(l=this.neg().divmod(t,e),"mod"!==e&&(div=l.div.neg()),"div"!==e&&(o=l.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:div,mod:o}):0===this.negative&&0!==t.negative?(l=this.divmod(t.neg(),e),"mod"!==e&&(div=l.div.neg()),{div:div,mod:l.mod}):0!=(this.negative&t.negative)?(l=this.neg().divmod(t.neg(),e),"div"!==e&&(o=l.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:l.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new h(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new h(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new h(this.modn(t.words[0]))}:this._wordDiv(t,e);var div,o,l},h.prototype.div=function(t){return this.divmod(t,"div",!1).div},h.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},h.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},h.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),o=t.andln(1),h=r.cmp(n);return h<0||1===o&&0===h?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},h.prototype.modn=function(t){n(t<=67108863);for(var p=(1<<26)%t,e=0,i=this.length-1;i>=0;i--)e=(p*e+(0|this.words[i]))%t;return e},h.prototype.idivn=function(t){n(t<=67108863);for(var e=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+67108864*e;this.words[i]=r/t|0,e=r%t}return this.strip()},h.prototype.divn=function(t){return this.clone().idivn(t)},h.prototype.egcd=function(p){n(0===p.negative),n(!p.isZero());var t=this,e=p.clone();t=0!==t.negative?t.umod(p):t.clone();for(var r=new h(1),o=new h(0),l=new h(0),c=new h(1),g=0;t.isEven()&&e.isEven();)t.iushrn(1),e.iushrn(1),++g;for(var f=e.clone(),d=t.clone();!t.isZero();){for(var i=0,m=1;0==(t.words[0]&m)&&i<26;++i,m<<=1);if(i>0)for(t.iushrn(i);i-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(f),o.isub(d)),r.iushrn(1),o.iushrn(1);for(var v=0,y=1;0==(e.words[0]&y)&&v<26;++v,y<<=1);if(v>0)for(e.iushrn(v);v-- >0;)(l.isOdd()||c.isOdd())&&(l.iadd(f),c.isub(d)),l.iushrn(1),c.iushrn(1);t.cmp(e)>=0?(t.isub(e),r.isub(l),o.isub(c)):(e.isub(t),l.isub(r),c.isub(o))}return{a:l,b:c,gcd:e.iushln(g)}},h.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 t,e=new h(1),r=new h(0),o=b.clone();a.cmpn(1)>0&&b.cmpn(1)>0;){for(var i=0,l=1;0==(a.words[0]&l)&&i<26;++i,l<<=1);if(i>0)for(a.iushrn(i);i-- >0;)e.isOdd()&&e.iadd(o),e.iushrn(1);for(var c=0,f=1;0==(b.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(b.iushrn(c);c-- >0;)r.isOdd()&&r.iadd(o),r.iushrn(1);a.cmp(b)>=0?(a.isub(b),e.isub(r)):(b.isub(a),r.isub(e))}return(t=0===a.cmpn(1)?e:r).cmpn(0)<0&&t.iadd(p),t},h.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var a=this.clone(),b=t.clone();a.negative=0,b.negative=0;for(var e=0;a.isEven()&&b.isEven();e++)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(e)},h.prototype.invm=function(t){return this.egcd(t).a.umod(t)},h.prototype.isEven=function(){return 0==(1&this.words[0])},h.prototype.isOdd=function(){return 1==(1&this.words[0])},h.prototype.andln=function(t){return this.words[0]&t},h.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,s=(t-e)/26,q=1<<e;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},h.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},h.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var o=0|this.words[0];e=o===t?0:o<t?-1:1}return 0!==this.negative?0|-e:e},h.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},h.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,i=this.length-1;i>=0;i--){var a=0|this.words[i],b=0|t.words[i];if(a!==b){a<b?e=-1:a>b&&(e=1);break}}return e},h.prototype.gtn=function(t){return 1===this.cmpn(t)},h.prototype.gt=function(t){return 1===this.cmp(t)},h.prototype.gten=function(t){return this.cmpn(t)>=0},h.prototype.gte=function(t){return this.cmp(t)>=0},h.prototype.ltn=function(t){return-1===this.cmpn(t)},h.prototype.lt=function(t){return-1===this.cmp(t)},h.prototype.lten=function(t){return this.cmpn(t)<=0},h.prototype.lte=function(t){return this.cmp(t)<=0},h.prototype.eqn=function(t){return 0===this.cmpn(t)},h.prototype.eq=function(t){return 0===this.cmp(t)},h.red=function(t){return new C(t)},h.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},h.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},h.prototype._forceRed=function(t){return this.red=t,this},h.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},h.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},h.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},h.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},h.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},h.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},h.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},h.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},h.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},h.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},h.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},h.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},h.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},h.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var S={k256:null,p224:null,p192:null,p25519:null};function x(t,p){this.name=t,this.p=new h(p,16),this.n=this.p.bitLength(),this.k=new h(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function E(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function A(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function T(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function k(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(t){if("string"==typeof t){var e=h._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function O(t){C.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new h(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)}x.prototype._tmp=function(){var t=new h(null);return t.words=new Array(Math.ceil(this.n/13)),t},x.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<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},x.prototype.split=function(input,t){input.iushrn(this.n,0,t)},x.prototype.imulK=function(t){return t.imul(this.k)},o(E,x),E.prototype.split=function(input,output){for(var t=Math.min(input.length,9),i=0;i<t;i++)output.words[i]=input.words[i];if(output.length=t,input.length<=9)return input.words[0]=0,void(input.length=1);var e=input.words[9];for(output.words[output.length++]=4194303&e,i=10;i<input.length;i++){var r=0|input.words[i];input.words[i-10]=(4194303&r)<<4|e>>>22,e=r}e>>>=22,input.words[i-10]=e,0===e&&input.length>10?input.length-=10:input.length-=9},E.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,i=0;i<t.length;i++){var r=0|t.words[i];e+=977*r,t.words[i]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},o(A,x),o(T,x),o(k,x),k.prototype.imulK=function(t){for(var e=0,i=0;i<t.length;i++){var r=19*(0|t.words[i])+e,n=67108863&r;r>>>=26,t.words[i]=n,e=r}return 0!==e&&(t.words[t.length++]=e),t},h._prime=function(t){if(S[t])return S[t];var e;if("k256"===t)e=new E;else if("p224"===t)e=new A;else if("p192"===t)e=new T;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new k}return S[t]=e,e},C.prototype._verify1=function(a){n(0===a.negative,"red works only with positives"),n(a.red,"red works only with red numbers")},C.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")},C.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.umod(this.m)._forceRed(this)},C.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},C.prototype.add=function(a,b){this._verify2(a,b);var t=a.add(b);return t.cmp(this.m)>=0&&t.isub(this.m),t._forceRed(this)},C.prototype.iadd=function(a,b){this._verify2(a,b);var t=a.iadd(b);return t.cmp(this.m)>=0&&t.isub(this.m),t},C.prototype.sub=function(a,b){this._verify2(a,b);var t=a.sub(b);return t.cmpn(0)<0&&t.iadd(this.m),t._forceRed(this)},C.prototype.isub=function(a,b){this._verify2(a,b);var t=a.isub(b);return t.cmpn(0)<0&&t.iadd(this.m),t},C.prototype.shl=function(a,t){return this._verify1(a),this.imod(a.ushln(t))},C.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},C.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},C.prototype.isqr=function(a){return this.imul(a,a.clone())},C.prototype.sqr=function(a){return this.mul(a,a)},C.prototype.sqrt=function(a){if(a.isZero())return a.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var e=this.m.add(new h(1)).iushrn(2);return this.pow(a,e)}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 h(1).toRed(this),o=r.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new h(2*c*c).toRed(this);0!==this.pow(c,l).cmp(o);)c.redIAdd(o);for(var f=this.pow(c,q),d=this.pow(a,q.addn(1).iushrn(1)),m=this.pow(a,q),v=s;0!==m.cmp(r);){for(var y=m,i=0;0!==y.cmp(r);i++)y=y.redSqr();n(i<v);var b=this.pow(f,new h(1).iushln(v-i-1));d=d.redMul(b),f=b.redSqr(),m=m.redMul(f),v=i}return d},C.prototype.invm=function(a){var t=a._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},C.prototype.pow=function(a,t){if(t.isZero())return new h(1).toRed(this);if(0===t.cmpn(1))return a.clone();var e=new Array(16);e[0]=new h(1).toRed(this),e[1]=a;for(var i=2;i<e.length;i++)e[i]=this.mul(e[i-1],a);var r=e[0],n=0,o=0,l=t.bitLength()%26;for(0===l&&(l=26),i=t.length-1;i>=0;i--){for(var c=t.words[i],f=l-1;f>=0;f--){var d=c>>f&1;r!==e[0]&&(r=this.sqr(r)),0!==d||0!==n?(n<<=1,n|=d,(4===++o||0===i&&0===f)&&(r=this.mul(r,e[n]),o=0,n=0)):o=0}l=26}return r},C.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},C.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},h.mont=function(t){return new O(t)},o(O,C),O.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},O.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},O.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;var t=a.imul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).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 h(0)._forceRed(this);var t=a.mul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).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)}}(t,this)}).call(this,r(143)(t))},function(t,e,r){"use strict";const n=e;n.der=r(560),n.pem=r(793)},function(t,e,r){"use strict";const n=r(36),o=r(342).Buffer,h=r(343),l=r(345);function c(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new f,this.tree._init(t.body)}function f(t){h.call(this,"der",t)}function d(t){return t<10?"0"+t:t}t.exports=c,c.prototype.encode=function(data,t){return this.tree._encode(data,t).join()},n(f,h),f.prototype._encodeComposite=function(t,e,r,content){const n=function(t,e,r,n){let o;"seqof"===t?t="seq":"setof"===t&&(t="set");if(l.tagByName.hasOwnProperty(t))o=l.tagByName[t];else{if("number"!=typeof t||(0|t)!==t)return n.error("Unknown tag: "+t);o=t}if(o>=31)return n.error("Multi-octet tag encoding unsupported");e||(o|=32);return o|=l.tagClassByName[r||"universal"]<<6,o}(t,e,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 h=1;for(let i=content.length;i>=256;i>>=8)h++;const header=o.alloc(2+h);header[0]=n,header[1]=128|h;for(let i=1+h,t=content.length;t>0;i--,t>>=8)header[i]=255&t;return this._createEncoderBuffer([header,content])},f.prototype._encodeStr=function(t,e){if("bitstr"===e)return this._createEncoderBuffer([0|t.unused,t.data]);if("bmpstr"===e){const e=o.alloc(2*t.length);for(let i=0;i<t.length;i++)e.writeUInt16BE(t.charCodeAt(i),2*i);return this._createEncoderBuffer(e)}return"numstr"===e?this._isNumstr(t)?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===e?this._isPrintstr(t)?this._createEncoderBuffer(t):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(e)||"objDesc"===e?this._createEncoderBuffer(t):this.reporter.error("Encoding of string type: "+e+" unsupported")},f.prototype._encodeObjid=function(t,e,r){if("string"==typeof t){if(!e)return this.reporter.error("string objid given, but no values map found");if(!e.hasOwnProperty(t))return this.reporter.error("objid not found in values map");t=e[t].split(/[\s.]+/g);for(let i=0;i<t.length;i++)t[i]|=0}else if(Array.isArray(t)){t=t.slice();for(let i=0;i<t.length;i++)t[i]|=0}if(!Array.isArray(t))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(t));if(!r){if(t[1]>=40)return this.reporter.error("Second objid identifier OOB");t.splice(0,2,40*t[0]+t[1])}let n=0;for(let i=0;i<t.length;i++){let e=t[i];for(n++;e>=128;e>>=7)n++}const h=o.alloc(n);let l=h.length-1;for(let i=t.length-1;i>=0;i--){let e=t[i];for(h[l--]=127&e;(e>>=7)>0;)h[l--]=128|127&e}return this._createEncoderBuffer(h)},f.prototype._encodeTime=function(time,t){let e;const r=new Date(time);return"gentime"===t?e=[d(r.getUTCFullYear()),d(r.getUTCMonth()+1),d(r.getUTCDate()),d(r.getUTCHours()),d(r.getUTCMinutes()),d(r.getUTCSeconds()),"Z"].join(""):"utctime"===t?e=[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 "+t+" time is not supported yet"),this._encodeStr(e,"octstr")},f.prototype._encodeNull=function(){return this._createEncoderBuffer("")},f.prototype._encodeInt=function(t,e){if("string"==typeof t){if(!e)return this.reporter.error("String int or enum given, but no values map");if(!e.hasOwnProperty(t))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(t));t=e[t]}if("number"!=typeof t&&!o.isBuffer(t)){const e=t.toArray();!t.sign&&128&e[0]&&e.unshift(0),t=o.from(e)}if(o.isBuffer(t)){let e=t.length;0===t.length&&e++;const r=o.alloc(e);return t.copy(r),0===t.length&&(r[0]=0),this._createEncoderBuffer(r)}if(t<128)return this._createEncoderBuffer(t);if(t<256)return this._createEncoderBuffer([0,t]);let r=1;for(let i=t;i>=256;i>>=8)r++;const n=new Array(r);for(let i=n.length-1;i>=0;i--)n[i]=255&t,t>>=8;return 128&n[0]&&n.unshift(0),this._createEncoderBuffer(o.from(n))},f.prototype._encodeBool=function(t){return this._createEncoderBuffer(t?255:0)},f.prototype._use=function(t,e){return"function"==typeof t&&(t=t(e)),t._getEncoder("der").tree},f.prototype._skipDefault=function(t,e,r){const n=this._baseState;let i;if(null===n.default)return!1;const data=t.join();if(void 0===n.defaultBuffer&&(n.defaultBuffer=this._encodeValue(n.default,e,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(t,e,r){"use strict";const n=e;n.der=r(562),n.pem=r(794)},function(t,e,r){"use strict";const n=r(36),o=r(558),h=r(232).DecoderBuffer,l=r(343),c=r(345);function f(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new d,this.tree._init(t.body)}function d(t){l.call(this,"der",t)}function m(t,e){let r=t.readUInt8(e);if(t.isError(r))return r;const n=c.tagClass[r>>6],o=0==(32&r);if(31==(31&r)){let n=r;for(r=0;128==(128&n);){if(n=t.readUInt8(e),t.isError(n))return n;r<<=7,r|=127&n}}else r&=31;return{cls:n,primitive:o,tag:r,tagStr:c.tag[r]}}function v(t,e,r){let n=t.readUInt8(r);if(t.isError(n))return n;if(!e&&128===n)return null;if(0==(128&n))return n;const o=127&n;if(o>4)return t.error("length octect is too long");n=0;for(let i=0;i<o;i++){n<<=8;const e=t.readUInt8(r);if(t.isError(e))return e;n|=e}return n}t.exports=f,f.prototype.decode=function(data,t){return h.isDecoderBuffer(data)||(data=new h(data,t)),this.tree._decode(data,t)},n(d,l),d.prototype._peekTag=function(t,e,r){if(t.isEmpty())return!1;const n=t.save(),o=m(t,'Failed to peek tag: "'+e+'"');return t.isError(o)?o:(t.restore(n),o.tag===e||o.tagStr===e||o.tagStr+"of"===e||r)},d.prototype._decodeTag=function(t,e,r){const n=m(t,'Failed to decode tag of "'+e+'"');if(t.isError(n))return n;let o=v(t,n.primitive,'Failed to get length of "'+e+'"');if(t.isError(o))return o;if(!r&&n.tag!==e&&n.tagStr!==e&&n.tagStr+"of"!==e)return t.error('Failed to match tag: "'+e+'"');if(n.primitive||null!==o)return t.skip(o,'Failed to match body of: "'+e+'"');const h=t.save(),l=this._skipUntilEnd(t,'Failed to skip indefinite length body: "'+this.tag+'"');return t.isError(l)?l:(o=t.offset-h.offset,t.restore(h),t.skip(o,'Failed to match body of: "'+e+'"'))},d.prototype._skipUntilEnd=function(t,e){for(;;){const r=m(t,e);if(t.isError(r))return r;const n=v(t,r.primitive,e);if(t.isError(n))return n;let o;if(o=r.primitive||null!==n?t.skip(n):this._skipUntilEnd(t,e),t.isError(o))return o;if("end"===r.tagStr)break}},d.prototype._decodeList=function(t,e,r,n){const o=[];for(;!t.isEmpty();){const e=this._peekTag(t,"end");if(t.isError(e))return e;const h=r.decode(t,"der",n);if(t.isError(h)&&e)break;o.push(h)}return o},d.prototype._decodeStr=function(t,e){if("bitstr"===e){const e=t.readUInt8();return t.isError(e)?e:{unused:e,data:t.raw()}}if("bmpstr"===e){const e=t.raw();if(e.length%2==1)return t.error("Decoding of string type: bmpstr length mismatch");let r="";for(let i=0;i<e.length/2;i++)r+=String.fromCharCode(e.readUInt16BE(2*i));return r}if("numstr"===e){const e=t.raw().toString("ascii");return this._isNumstr(e)?e:t.error("Decoding of string type: numstr unsupported characters")}if("octstr"===e)return t.raw();if("objDesc"===e)return t.raw();if("printstr"===e){const e=t.raw().toString("ascii");return this._isPrintstr(e)?e:t.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(e)?t.raw().toString():t.error("Decoding of string type: "+e+" unsupported")},d.prototype._decodeObjid=function(t,e,r){let n;const o=[];let h=0,l=0;for(;!t.isEmpty();)l=t.readUInt8(),h<<=7,h|=127&l,0==(128&l)&&(o.push(h),h=0);128&l&&o.push(h);const c=o[0]/40|0,f=o[0]%40;if(n=r?o:[c,f].concat(o.slice(1)),e){let t=e[n.join(" ")];void 0===t&&(t=e[n.join(".")]),void 0!==t&&(n=t)}return n},d.prototype._decodeTime=function(t,e){const r=t.raw().toString();let n,o,h,l,c,f;if("gentime"===e)n=0|r.slice(0,4),o=0|r.slice(4,6),h=0|r.slice(6,8),l=0|r.slice(8,10),c=0|r.slice(10,12),f=0|r.slice(12,14);else{if("utctime"!==e)return t.error("Decoding "+e+" time is not supported yet");n=0|r.slice(0,2),o=0|r.slice(2,4),h=0|r.slice(4,6),l=0|r.slice(6,8),c=0|r.slice(8,10),f=0|r.slice(10,12),n=n<70?2e3+n:1900+n}return Date.UTC(n,o-1,h,l,c,f,0)},d.prototype._decodeNull=function(){return null},d.prototype._decodeBool=function(t){const e=t.readUInt8();return t.isError(e)?e:0!==e},d.prototype._decodeInt=function(t,e){const r=t.raw();let n=new o(r);return e&&(n=e[n.toString(10)]||n),n},d.prototype._use=function(t,e){return"function"==typeof t&&(t=t(e)),t._getDecoder("der").tree}},function(t){t.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(t,e,r){var n=r(229),o=r(45).Buffer;function h(t){var e=o.allocUnsafe(4);return e.writeUInt32BE(t,0),e}t.exports=function(t,e){for(var r,l=o.alloc(0),i=0;l.length<e;)r=h(i++),l=o.concat([l,n("sha1").update(t).update(r).digest()]);return l.slice(0,e)}},function(t,e){t.exports=function(a,b){for(var t=a.length,i=-1;++i<t;)a[i]^=b[i];return a}},function(t,e,r){var n=r(346),o=r(45).Buffer;t.exports=function(t,e){return o.from(t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed().toArray())}},,,function(t,e,r){const n=r(837),o={};for(const t of Object.keys(n))o[n[t]]=t;const h={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=h;for(const t of Object.keys(h)){if(!("channels"in h[t]))throw new Error("missing channels property: "+t);if(!("labels"in h[t]))throw new Error("missing channel labels property: "+t);if(h[t].labels.length!==h[t].channels)throw new Error("channel and label counts mismatch: "+t);const{channels:e,labels:r}=h[t];delete h[t].channels,delete h[t].labels,Object.defineProperty(h[t],"channels",{value:e}),Object.defineProperty(h[t],"labels",{value:r})}h.rgb.hsl=function(t){const e=t[0]/255,g=t[1]/255,b=t[2]/255,r=Math.min(e,g,b),n=Math.max(e,g,b),o=n-r;let h,s;n===r?h=0:e===n?h=(g-b)/o:g===n?h=2+(b-e)/o:b===n&&(h=4+(e-g)/o),h=Math.min(60*h,360),h<0&&(h+=360);const l=(r+n)/2;return s=n===r?0:l<=.5?o/(n+r):o/(2-n-r),[h,100*s,100*l]},h.rgb.hsv=function(t){let e,r,n,o,s;const h=t[0]/255,g=t[1]/255,b=t[2]/255,l=Math.max(h,g,b),c=l-Math.min(h,g,b),f=function(t){return(l-t)/6/c+.5};return 0===c?(o=0,s=0):(s=c/l,e=f(h),r=f(g),n=f(b),h===l?o=n-r:g===l?o=1/3+e-n:b===l&&(o=2/3+r-e),o<0?o+=1:o>1&&(o-=1)),[360*o,100*s,100*l]},h.rgb.hwb=function(t){const e=t[0],g=t[1];let b=t[2];const r=h.rgb.hsl(t)[0],n=1/255*Math.min(e,Math.min(g,b));return b=1-1/255*Math.max(e,Math.max(g,b)),[r,100*n,100*b]},h.rgb.cmyk=function(t){const e=t[0]/255,g=t[1]/255,b=t[2]/255,r=Math.min(1-e,1-g,1-b);return[100*((1-e-r)/(1-r)||0),100*((1-g-r)/(1-r)||0),100*((1-b-r)/(1-r)||0),100*r]},h.rgb.keyword=function(t){const e=o[t];if(e)return e;let r,h=1/0;for(const e of Object.keys(n)){const o=n[e],f=(c=o,((l=t)[0]-c[0])**2+(l[1]-c[1])**2+(l[2]-c[2])**2);f<h&&(h=f,r=e)}var l,c;return r},h.keyword.rgb=function(t){return n[t]},h.rgb.xyz=function(t){let e=t[0]/255,g=t[1]/255,b=t[2]/255;e=e>.04045?((e+.055)/1.055)**2.4:e/12.92,g=g>.04045?((g+.055)/1.055)**2.4:g/12.92,b=b>.04045?((b+.055)/1.055)**2.4:b/12.92;return[100*(.4124*e+.3576*g+.1805*b),100*(.2126*e+.7152*g+.0722*b),100*(.0193*e+.1192*g+.9505*b)]},h.rgb.lab=function(t){const e=h.rgb.xyz(t);let r=e[0],n=e[1],o=e[2];r/=95.047,n/=100,o/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;return[116*n-16,500*(r-n),200*(n-o)]},h.hsl.rgb=function(t){const e=t[0]/360,s=t[1]/100,r=t[2]/100;let n,o,h;if(0===s)return h=255*r,[h,h,h];n=r<.5?r*(1+s):r+s-r*s;const l=2*r-n,c=[0,0,0];for(let i=0;i<3;i++)o=e+1/3*-(i-1),o<0&&o++,o>1&&o--,h=6*o<1?l+6*(n-l)*o:2*o<1?n:3*o<2?l+(n-l)*(2/3-o)*6:l,c[i]=255*h;return c},h.hsl.hsv=function(t){const e=t[0];let s=t[1]/100,r=t[2]/100,n=s;const o=Math.max(r,.01);r*=2,s*=r<=1?r:2-r,n*=o<=1?o:2-o;return[e,100*(0===r?2*n/(o+n):2*s/(r+s)),100*((r+s)/2)]},h.hsv.rgb=function(t){const e=t[0]/60,s=t[1]/100;let r=t[2]/100;const n=Math.floor(e)%6,o=e-Math.floor(e),p=255*r*(1-s),q=255*r*(1-s*o),h=255*r*(1-s*(1-o));switch(r*=255,n){case 0:return[r,h,p];case 1:return[q,r,p];case 2:return[p,r,h];case 3:return[p,q,r];case 4:return[h,p,r];case 5:return[r,p,q]}},h.hsv.hsl=function(t){const e=t[0],s=t[1]/100,r=t[2]/100,n=Math.max(r,.01);let o,h;h=(2-s)*r;const l=(2-s)*n;return o=s*n,o/=l<=1?l:2-l,o=o||0,h/=2,[e,100*o,100*h]},h.hwb.rgb=function(t){const e=t[0]/360;let r=t[1]/100,n=t[2]/100;const o=r+n;let h;o>1&&(r/=o,n/=o);const i=Math.floor(6*e),l=1-n;h=6*e-i,0!=(1&i)&&(h=1-h);const c=r+h*(l-r);let f,g,b;switch(i){default:case 6:case 0:f=l,g=c,b=r;break;case 1:f=c,g=l,b=r;break;case 2:f=r,g=l,b=c;break;case 3:f=r,g=c,b=l;break;case 4:f=c,g=r,b=l;break;case 5:f=l,g=r,b=c}return[255*f,255*g,255*b]},h.cmyk.rgb=function(t){const e=t[0]/100,r=t[1]/100,n=t[2]/100,o=t[3]/100;return[255*(1-Math.min(1,e*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o))]},h.xyz.rgb=function(t){const e=t[0]/100,r=t[1]/100,n=t[2]/100;let o,g,b;return o=3.2406*e+-1.5372*r+-.4986*n,g=-.9689*e+1.8758*r+.0415*n,b=.0557*e+-.204*r+1.057*n,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,g=g>.0031308?1.055*g**(1/2.4)-.055:12.92*g,b=b>.0031308?1.055*b**(1/2.4)-.055:12.92*b,o=Math.min(Math.max(0,o),1),g=Math.min(Math.max(0,g),1),b=Math.min(Math.max(0,b),1),[255*o,255*g,255*b]},h.xyz.lab=function(t){let e=t[0],r=t[1],n=t[2];e/=95.047,r/=100,n/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;return[116*r-16,500*(e-r),200*(r-n)]},h.lab.xyz=function(t){let e,r,n;r=(t[0]+16)/116,e=t[1]/500+r,n=r-t[2]/200;const o=r**3,h=e**3,l=n**3;return r=o>.008856?o:(r-16/116)/7.787,e=h>.008856?h:(e-16/116)/7.787,n=l>.008856?l:(n-16/116)/7.787,e*=95.047,r*=100,n*=108.883,[e,r,n]},h.lab.lch=function(t){const e=t[0],a=t[1],b=t[2];let r;r=360*Math.atan2(b,a)/2/Math.PI,r<0&&(r+=360);return[e,Math.sqrt(a*a+b*b),r]},h.lch.lab=function(t){const e=t[0],r=t[1],hr=t[2]/360*2*Math.PI;return[e,r*Math.cos(hr),r*Math.sin(hr)]},h.rgb.ansi16=function(t,e=null){const[r,g,b]=t;let n=null===e?h.rgb.hsv(t)[2]:e;if(n=Math.round(n/50),0===n)return 30;let o=30+(Math.round(b/255)<<2|Math.round(g/255)<<1|Math.round(r/255));return 2===n&&(o+=60),o},h.hsv.ansi16=function(t){return h.rgb.ansi16(h.hsv.rgb(t),t[2])},h.rgb.ansi256=function(t){const e=t[0],g=t[1],b=t[2];if(e===g&&g===b)return e<8?16:e>248?231:Math.round((e-8)/247*24)+232;return 16+36*Math.round(e/255*5)+6*Math.round(g/255*5)+Math.round(b/255*5)},h.ansi16.rgb=function(t){let e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];const r=.5*(1+~~(t>50));return[(1&e)*r*255,(e>>1&1)*r*255,(e>>2&1)*r*255]},h.ansi256.rgb=function(t){if(t>=232){const e=10*(t-232)+8;return[e,e,e]}let e;t-=16;return[Math.floor(t/36)/5*255,Math.floor((e=t%36)/6)/5*255,e%6/5*255]},h.rgb.hex=function(t){const e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},h.hex.rgb=function(t){const e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];let r=e[0];3===e[0].length&&(r=r.split("").map(t=>t+t).join(""));const n=parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},h.rgb.hcg=function(t){const e=t[0]/255,g=t[1]/255,b=t[2]/255,r=Math.max(Math.max(e,g),b),n=Math.min(Math.min(e,g),b),o=r-n;let h,l;return h=o<1?n/(1-o):0,l=o<=0?0:r===e?(g-b)/o%6:r===g?2+(b-e)/o:4+(e-g)/o,l/=6,l%=1,[360*l,100*o,100*h]},h.hsl.hcg=function(t){const s=t[1]/100,e=t[2]/100,r=e<.5?2*s*e:2*s*(1-e);let n=0;return r<1&&(n=(e-.5*r)/(1-r)),[t[0],100*r,100*n]},h.hsv.hcg=function(t){const s=t[1]/100,e=t[2]/100,r=s*e;let n=0;return r<1&&(n=(e-r)/(1-r)),[t[0],100*r,100*n]},h.hcg.rgb=function(t){const e=t[0]/360,r=t[1]/100,g=t[2]/100;if(0===r)return[255*g,255*g,255*g];const n=[0,0,0],o=e%1*6,h=o%1,l=1-h;let c=0;switch(Math.floor(o)){case 0:n[0]=1,n[1]=h,n[2]=0;break;case 1:n[0]=l,n[1]=1,n[2]=0;break;case 2:n[0]=0,n[1]=1,n[2]=h;break;case 3:n[0]=0,n[1]=l,n[2]=1;break;case 4:n[0]=h,n[1]=0,n[2]=1;break;default:n[0]=1,n[1]=0,n[2]=l}return c=(1-r)*g,[255*(r*n[0]+c),255*(r*n[1]+c),255*(r*n[2]+c)]},h.hcg.hsv=function(t){const e=t[1]/100,r=e+t[2]/100*(1-e);let n=0;return r>0&&(n=e/r),[t[0],100*n,100*r]},h.hcg.hsl=function(t){const e=t[1]/100,r=t[2]/100*(1-e)+.5*e;let s=0;return r>0&&r<.5?s=e/(2*r):r>=.5&&r<1&&(s=e/(2*(1-r))),[t[0],100*s,100*r]},h.hcg.hwb=function(t){const e=t[1]/100,r=e+t[2]/100*(1-e);return[t[0],100*(r-e),100*(1-r)]},h.hwb.hcg=function(t){const e=t[1]/100,r=1-t[2]/100,n=r-e;let g=0;return n<1&&(g=(r-n)/(1-n)),[t[0],100*n,100*g]},h.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},h.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},h.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},h.gray.hsl=function(t){return[0,0,t[0]]},h.gray.hsv=h.gray.hsl,h.gray.hwb=function(t){return[0,100,t[0]]},h.gray.cmyk=function(t){return[0,0,0,t[0]]},h.gray.lab=function(t){return[t[0],0,0]},h.gray.hex=function(t){const e=255&Math.round(t[0]/100*255),r=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(r.length)+r},h.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}},function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.Parser=void 0;var o=n(r(571)),h=new Set(["input","option","optgroup","select","button","datalist","textarea"]),l=new Set(["p"]),c={tr:new Set(["tr","th","td"]),th:new Set(["th"]),td:new Set(["thead","th","td"]),body:new Set(["head","link","script"]),li:new Set(["li"]),p:l,h1:l,h2:l,h3:l,h4:l,h5:l,h6:l,select:h,input:h,output:h,button:h,datalist:h,textarea:h,option:new Set(["option"]),optgroup:new Set(["optgroup","option"]),dd:new Set(["dt","dd"]),dt:new Set(["dt","dd"]),address:l,article:l,aside:l,blockquote:l,details:l,div:l,dl:l,fieldset:l,figcaption:l,figure:l,footer:l,form:l,header:l,hr:l,main:l,nav:l,ol:l,pre:l,section:l,table:l,ul:l,rt:new Set(["rt","rp"]),rp:new Set(["rt","rp"]),tbody:new Set(["thead","tbody"]),tfoot:new Set(["thead","tbody"])},f=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),d=new Set(["math","svg"]),m=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),v=/\s|\//,y=function(){function t(t,e){var r,n,h,l,c;void 0===e&&(e={}),this.startIndex=0,this.endIndex=null,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.options=e,this.cbs=null!=t?t:{},this.lowerCaseTagNames=null!==(r=e.lowerCaseTags)&&void 0!==r?r:!e.xmlMode,this.lowerCaseAttributeNames=null!==(n=e.lowerCaseAttributeNames)&&void 0!==n?n:!e.xmlMode,this.tokenizer=new(null!==(h=e.Tokenizer)&&void 0!==h?h:o.default)(this.options,this),null===(c=(l=this.cbs).onparserinit)||void 0===c||c.call(l,this)}return t.prototype.updatePosition=function(t){null===this.endIndex?this.tokenizer.sectionStart<=t?this.startIndex=0:this.startIndex=this.tokenizer.sectionStart-t:this.startIndex=this.endIndex+1,this.endIndex=this.tokenizer.getAbsoluteIndex()},t.prototype.ontext=function(data){var t,e;this.updatePosition(1),this.endIndex--,null===(e=(t=this.cbs).ontext)||void 0===e||e.call(t,data)},t.prototype.onopentagname=function(t){var e,r;if(this.lowerCaseTagNames&&(t=t.toLowerCase()),this.tagname=t,!this.options.xmlMode&&Object.prototype.hasOwnProperty.call(c,t))for(var n=void 0;this.stack.length>0&&c[t].has(n=this.stack[this.stack.length-1]);)this.onclosetag(n);!this.options.xmlMode&&f.has(t)||(this.stack.push(t),d.has(t)?this.foreignContext.push(!0):m.has(t)&&this.foreignContext.push(!1)),null===(r=(e=this.cbs).onopentagname)||void 0===r||r.call(e,t),this.cbs.onopentag&&(this.attribs={})},t.prototype.onopentagend=function(){var t,e;this.updatePosition(1),this.attribs&&(null===(e=(t=this.cbs).onopentag)||void 0===e||e.call(t,this.tagname,this.attribs),this.attribs=null),!this.options.xmlMode&&this.cbs.onclosetag&&f.has(this.tagname)&&this.cbs.onclosetag(this.tagname),this.tagname=""},t.prototype.onclosetag=function(t){if(this.updatePosition(1),this.lowerCaseTagNames&&(t=t.toLowerCase()),(d.has(t)||m.has(t))&&this.foreignContext.pop(),!this.stack.length||!this.options.xmlMode&&f.has(t))this.options.xmlMode||"br"!==t&&"p"!==t||(this.onopentagname(t),this.closeCurrentTag());else{var e=this.stack.lastIndexOf(t);if(-1!==e)if(this.cbs.onclosetag)for(e=this.stack.length-e;e--;)this.cbs.onclosetag(this.stack.pop());else this.stack.length=e;else"p"!==t||this.options.xmlMode||(this.onopentagname(t),this.closeCurrentTag())}},t.prototype.onselfclosingtag=function(){this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?this.closeCurrentTag():this.onopentagend()},t.prototype.closeCurrentTag=function(){var t,e,r=this.tagname;this.onopentagend(),this.stack[this.stack.length-1]===r&&(null===(e=(t=this.cbs).onclosetag)||void 0===e||e.call(t,r),this.stack.pop())},t.prototype.onattribname=function(t){this.lowerCaseAttributeNames&&(t=t.toLowerCase()),this.attribname=t},t.prototype.onattribdata=function(t){this.attribvalue+=t},t.prototype.onattribend=function(t){var e,r;null===(r=(e=this.cbs).onattribute)||void 0===r||r.call(e,this.attribname,this.attribvalue,t),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribname="",this.attribvalue=""},t.prototype.getInstructionName=function(t){var e=t.search(v),r=e<0?t:t.substr(0,e);return this.lowerCaseTagNames&&(r=r.toLowerCase()),r},t.prototype.ondeclaration=function(t){if(this.cbs.onprocessinginstruction){var e=this.getInstructionName(t);this.cbs.onprocessinginstruction("!"+e,"!"+t)}},t.prototype.onprocessinginstruction=function(t){if(this.cbs.onprocessinginstruction){var e=this.getInstructionName(t);this.cbs.onprocessinginstruction("?"+e,"?"+t)}},t.prototype.oncomment=function(t){var e,r,n,o;this.updatePosition(4),null===(r=(e=this.cbs).oncomment)||void 0===r||r.call(e,t),null===(o=(n=this.cbs).oncommentend)||void 0===o||o.call(n)},t.prototype.oncdata=function(t){var e,r,n,o,h,l;this.updatePosition(1),this.options.xmlMode||this.options.recognizeCDATA?(null===(r=(e=this.cbs).oncdatastart)||void 0===r||r.call(e),null===(o=(n=this.cbs).ontext)||void 0===o||o.call(n,t),null===(l=(h=this.cbs).oncdataend)||void 0===l||l.call(h)):this.oncomment("[CDATA["+t+"]]")},t.prototype.onerror=function(t){var e,r;null===(r=(e=this.cbs).onerror)||void 0===r||r.call(e,t)},t.prototype.onend=function(){var t,e;if(this.cbs.onclosetag)for(var i=this.stack.length;i>0;this.cbs.onclosetag(this.stack[--i]));null===(e=(t=this.cbs).onend)||void 0===e||e.call(t)},t.prototype.reset=function(){var t,e,r,n;null===(e=(t=this.cbs).onreset)||void 0===e||e.call(t),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack=[],null===(n=(r=this.cbs).onparserinit)||void 0===n||n.call(r,this)},t.prototype.parseComplete=function(data){this.reset(),this.end(data)},t.prototype.write=function(t){this.tokenizer.write(t)},t.prototype.end=function(t){this.tokenizer.end(t)},t.prototype.pause=function(){this.tokenizer.pause()},t.prototype.resume=function(){this.tokenizer.resume()},t.prototype.parseChunk=function(t){this.write(t)},t.prototype.done=function(t){this.end(t)},t}();e.Parser=y},function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=n(r(572)),h=n(r(347)),l=n(r(573)),c=n(r(348));function f(t){return" "===t||"\n"===t||"\t"===t||"\f"===t||"\r"===t}function d(t){return t>="a"&&t<="z"||t>="A"&&t<="Z"}function m(t,e,r){var n=t.toLowerCase();return t===n?function(t,o){o===n?t._state=e:(t._state=r,t._index--)}:function(o,h){h===n||h===t?o._state=e:(o._state=r,o._index--)}}function v(t,e){var r=t.toLowerCase();return function(n,o){o===r||o===t?n._state=e:(n._state=3,n._index--)}}var y=m("C",24,16),w=m("D",25,16),_=m("A",26,16),M=m("T",27,16),S=m("A",28,16),x=v("R",35),E=v("I",36),A=v("P",37),T=v("T",38),k=m("R",40,1),C=m("I",41,1),O=m("P",42,1),I=m("T",43,1),P=v("Y",45),R=v("L",46),j=v("E",47),N=m("Y",49,1),L=m("L",50,1),D=m("E",51,1),B=v("I",54),F=v("T",55),U=v("L",56),z=v("E",57),H=m("I",58,1),G=m("T",59,1),V=m("L",60,1),$=m("E",61,1),W=m("#",63,64),Y=m("X",66,65),K=function(){function t(t,e){var r;this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1,this.cbs=e,this.xmlMode=!!(null==t?void 0:t.xmlMode),this.decodeEntities=null===(r=null==t?void 0:t.decodeEntities)||void 0===r||r}return t.prototype.reset=function(){this._state=1,this.buffer="",this.sectionStart=0,this._index=0,this.bufferOffset=0,this.baseState=1,this.special=1,this.running=!0,this.ended=!1},t.prototype.write=function(t){this.ended&&this.cbs.onerror(Error(".write() after done!")),this.buffer+=t,this.parse()},t.prototype.end=function(t){this.ended&&this.cbs.onerror(Error(".end() after done!")),t&&this.write(t),this.ended=!0,this.running&&this.finish()},t.prototype.pause=function(){this.running=!1},t.prototype.resume=function(){this.running=!0,this._index<this.buffer.length&&this.parse(),this.ended&&this.finish()},t.prototype.getAbsoluteIndex=function(){return this.bufferOffset+this._index},t.prototype.stateText=function(t){"<"===t?(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this._state=2,this.sectionStart=this._index):!this.decodeEntities||"&"!==t||1!==this.special&&4!==this.special||(this._index>this.sectionStart&&this.cbs.ontext(this.getSection()),this.baseState=1,this._state=62,this.sectionStart=this._index)},t.prototype.isTagStartChar=function(t){return d(t)||this.xmlMode&&!f(t)&&"/"!==t&&">"!==t},t.prototype.stateBeforeTagName=function(t){"/"===t?this._state=5:"<"===t?(this.cbs.ontext(this.getSection()),this.sectionStart=this._index):">"===t||1!==this.special||f(t)?this._state=1:"!"===t?(this._state=15,this.sectionStart=this._index+1):"?"===t?(this._state=17,this.sectionStart=this._index+1):this.isTagStartChar(t)?(this._state=this.xmlMode||"s"!==t&&"S"!==t?this.xmlMode||"t"!==t&&"T"!==t?3:52:32,this.sectionStart=this._index):this._state=1},t.prototype.stateInTagName=function(t){("/"===t||">"===t||f(t))&&(this.emitToken("onopentagname"),this._state=8,this._index--)},t.prototype.stateBeforeClosingTagName=function(t){f(t)||(">"===t?this._state=1:1!==this.special?4===this.special||"s"!==t&&"S"!==t?4!==this.special||"t"!==t&&"T"!==t?(this._state=1,this._index--):this._state=53:this._state=33:this.isTagStartChar(t)?(this._state=6,this.sectionStart=this._index):(this._state=20,this.sectionStart=this._index))},t.prototype.stateInClosingTagName=function(t){(">"===t||f(t))&&(this.emitToken("onclosetag"),this._state=7,this._index--)},t.prototype.stateAfterClosingTagName=function(t){">"===t&&(this._state=1,this.sectionStart=this._index+1)},t.prototype.stateBeforeAttributeName=function(t){">"===t?(this.cbs.onopentagend(),this._state=1,this.sectionStart=this._index+1):"/"===t?this._state=4:f(t)||(this._state=9,this.sectionStart=this._index)},t.prototype.stateInSelfClosingTag=function(t){">"===t?(this.cbs.onselfclosingtag(),this._state=1,this.sectionStart=this._index+1,this.special=1):f(t)||(this._state=8,this._index--)},t.prototype.stateInAttributeName=function(t){("="===t||"/"===t||">"===t||f(t))&&(this.cbs.onattribname(this.getSection()),this.sectionStart=-1,this._state=10,this._index--)},t.prototype.stateAfterAttributeName=function(t){"="===t?this._state=11:"/"===t||">"===t?(this.cbs.onattribend(void 0),this._state=8,this._index--):f(t)||(this.cbs.onattribend(void 0),this._state=9,this.sectionStart=this._index)},t.prototype.stateBeforeAttributeValue=function(t){'"'===t?(this._state=12,this.sectionStart=this._index+1):"'"===t?(this._state=13,this.sectionStart=this._index+1):f(t)||(this._state=14,this.sectionStart=this._index,this._index--)},t.prototype.handleInAttributeValue=function(t,e){t===e?(this.emitToken("onattribdata"),this.cbs.onattribend(e),this._state=8):this.decodeEntities&&"&"===t&&(this.emitToken("onattribdata"),this.baseState=this._state,this._state=62,this.sectionStart=this._index)},t.prototype.stateInAttributeValueDoubleQuotes=function(t){this.handleInAttributeValue(t,'"')},t.prototype.stateInAttributeValueSingleQuotes=function(t){this.handleInAttributeValue(t,"'")},t.prototype.stateInAttributeValueNoQuotes=function(t){f(t)||">"===t?(this.emitToken("onattribdata"),this.cbs.onattribend(null),this._state=8,this._index--):this.decodeEntities&&"&"===t&&(this.emitToken("onattribdata"),this.baseState=this._state,this._state=62,this.sectionStart=this._index)},t.prototype.stateBeforeDeclaration=function(t){this._state="["===t?23:"-"===t?18:16},t.prototype.stateInDeclaration=function(t){">"===t&&(this.cbs.ondeclaration(this.getSection()),this._state=1,this.sectionStart=this._index+1)},t.prototype.stateInProcessingInstruction=function(t){">"===t&&(this.cbs.onprocessinginstruction(this.getSection()),this._state=1,this.sectionStart=this._index+1)},t.prototype.stateBeforeComment=function(t){"-"===t?(this._state=19,this.sectionStart=this._index+1):this._state=16},t.prototype.stateInComment=function(t){"-"===t&&(this._state=21)},t.prototype.stateInSpecialComment=function(t){">"===t&&(this.cbs.oncomment(this.buffer.substring(this.sectionStart,this._index)),this._state=1,this.sectionStart=this._index+1)},t.prototype.stateAfterComment1=function(t){this._state="-"===t?22:19},t.prototype.stateAfterComment2=function(t){">"===t?(this.cbs.oncomment(this.buffer.substring(this.sectionStart,this._index-2)),this._state=1,this.sectionStart=this._index+1):"-"!==t&&(this._state=19)},t.prototype.stateBeforeCdata6=function(t){"["===t?(this._state=29,this.sectionStart=this._index+1):(this._state=16,this._index--)},t.prototype.stateInCdata=function(t){"]"===t&&(this._state=30)},t.prototype.stateAfterCdata1=function(t){this._state="]"===t?31:29},t.prototype.stateAfterCdata2=function(t){">"===t?(this.cbs.oncdata(this.buffer.substring(this.sectionStart,this._index-2)),this._state=1,this.sectionStart=this._index+1):"]"!==t&&(this._state=29)},t.prototype.stateBeforeSpecialS=function(t){"c"===t||"C"===t?this._state=34:"t"===t||"T"===t?this._state=44:(this._state=3,this._index--)},t.prototype.stateBeforeSpecialSEnd=function(t){2!==this.special||"c"!==t&&"C"!==t?3!==this.special||"t"!==t&&"T"!==t?this._state=1:this._state=48:this._state=39},t.prototype.stateBeforeSpecialLast=function(t,e){("/"===t||">"===t||f(t))&&(this.special=e),this._state=3,this._index--},t.prototype.stateAfterSpecialLast=function(t,e){">"===t||f(t)?(this.special=1,this._state=6,this.sectionStart=this._index-e,this._index--):this._state=1},t.prototype.parseFixedEntity=function(map){if(void 0===map&&(map=this.xmlMode?c.default:h.default),this.sectionStart+1<this._index){var t=this.buffer.substring(this.sectionStart+1,this._index);Object.prototype.hasOwnProperty.call(map,t)&&(this.emitPartial(map[t]),this.sectionStart=this._index+1)}},t.prototype.parseLegacyEntity=function(){for(var t=this.sectionStart+1,e=Math.min(this._index-t,6);e>=2;){var r=this.buffer.substr(t,e);if(Object.prototype.hasOwnProperty.call(l.default,r))return this.emitPartial(l.default[r]),void(this.sectionStart+=e+1);e--}},t.prototype.stateInNamedEntity=function(t){";"===t?(this.parseFixedEntity(),1===this.baseState&&this.sectionStart+1<this._index&&!this.xmlMode&&this.parseLegacyEntity(),this._state=this.baseState):(t<"0"||t>"9")&&!d(t)&&(this.xmlMode||this.sectionStart+1===this._index||(1!==this.baseState?"="!==t&&this.parseFixedEntity(l.default):this.parseLegacyEntity()),this._state=this.baseState,this._index--)},t.prototype.decodeNumericEntity=function(t,base,e){var r=this.sectionStart+t;if(r!==this._index){var n=this.buffer.substring(r,this._index),h=parseInt(n,base);this.emitPartial(o.default(h)),this.sectionStart=e?this._index+1:this._index}this._state=this.baseState},t.prototype.stateInNumericEntity=function(t){";"===t?this.decodeNumericEntity(2,10,!0):(t<"0"||t>"9")&&(this.xmlMode?this._state=this.baseState:this.decodeNumericEntity(2,10,!1),this._index--)},t.prototype.stateInHexEntity=function(t){";"===t?this.decodeNumericEntity(3,16,!0):(t<"a"||t>"f")&&(t<"A"||t>"F")&&(t<"0"||t>"9")&&(this.xmlMode?this._state=this.baseState:this.decodeNumericEntity(3,16,!1),this._index--)},t.prototype.cleanup=function(){this.sectionStart<0?(this.buffer="",this.bufferOffset+=this._index,this._index=0):this.running&&(1===this._state?(this.sectionStart!==this._index&&this.cbs.ontext(this.buffer.substr(this.sectionStart)),this.buffer="",this.bufferOffset+=this._index,this._index=0):this.sectionStart===this._index?(this.buffer="",this.bufferOffset+=this._index,this._index=0):(this.buffer=this.buffer.substr(this.sectionStart),this._index-=this.sectionStart,this.bufferOffset+=this.sectionStart),this.sectionStart=0)},t.prototype.parse=function(){for(;this._index<this.buffer.length&&this.running;){var t=this.buffer.charAt(this._index);1===this._state?this.stateText(t):12===this._state?this.stateInAttributeValueDoubleQuotes(t):9===this._state?this.stateInAttributeName(t):19===this._state?this.stateInComment(t):20===this._state?this.stateInSpecialComment(t):8===this._state?this.stateBeforeAttributeName(t):3===this._state?this.stateInTagName(t):6===this._state?this.stateInClosingTagName(t):2===this._state?this.stateBeforeTagName(t):10===this._state?this.stateAfterAttributeName(t):13===this._state?this.stateInAttributeValueSingleQuotes(t):11===this._state?this.stateBeforeAttributeValue(t):5===this._state?this.stateBeforeClosingTagName(t):7===this._state?this.stateAfterClosingTagName(t):32===this._state?this.stateBeforeSpecialS(t):21===this._state?this.stateAfterComment1(t):14===this._state?this.stateInAttributeValueNoQuotes(t):4===this._state?this.stateInSelfClosingTag(t):16===this._state?this.stateInDeclaration(t):15===this._state?this.stateBeforeDeclaration(t):22===this._state?this.stateAfterComment2(t):18===this._state?this.stateBeforeComment(t):33===this._state?this.stateBeforeSpecialSEnd(t):53===this._state?H(this,t):39===this._state?k(this,t):40===this._state?C(this,t):41===this._state?O(this,t):34===this._state?x(this,t):35===this._state?E(this,t):36===this._state?A(this,t):37===this._state?T(this,t):38===this._state?this.stateBeforeSpecialLast(t,2):42===this._state?I(this,t):43===this._state?this.stateAfterSpecialLast(t,6):44===this._state?P(this,t):29===this._state?this.stateInCdata(t):45===this._state?R(this,t):46===this._state?j(this,t):47===this._state?this.stateBeforeSpecialLast(t,3):48===this._state?N(this,t):49===this._state?L(this,t):50===this._state?D(this,t):51===this._state?this.stateAfterSpecialLast(t,5):52===this._state?B(this,t):54===this._state?F(this,t):55===this._state?U(this,t):56===this._state?z(this,t):57===this._state?this.stateBeforeSpecialLast(t,4):58===this._state?G(this,t):59===this._state?V(this,t):60===this._state?$(this,t):61===this._state?this.stateAfterSpecialLast(t,5):17===this._state?this.stateInProcessingInstruction(t):64===this._state?this.stateInNamedEntity(t):23===this._state?y(this,t):62===this._state?W(this,t):24===this._state?w(this,t):25===this._state?_(this,t):30===this._state?this.stateAfterCdata1(t):31===this._state?this.stateAfterCdata2(t):26===this._state?M(this,t):27===this._state?S(this,t):28===this._state?this.stateBeforeCdata6(t):66===this._state?this.stateInHexEntity(t):65===this._state?this.stateInNumericEntity(t):63===this._state?Y(this,t):this.cbs.onerror(Error("unknown _state"),this._state),this._index++}this.cleanup()},t.prototype.finish=function(){this.sectionStart<this._index&&this.handleTrailingData(),this.cbs.onend()},t.prototype.handleTrailingData=function(){var data=this.buffer.substr(this.sectionStart);29===this._state||30===this._state||31===this._state?this.cbs.oncdata(data):19===this._state||21===this._state||22===this._state?this.cbs.oncomment(data):64!==this._state||this.xmlMode?65!==this._state||this.xmlMode?66!==this._state||this.xmlMode?3!==this._state&&8!==this._state&&11!==this._state&&10!==this._state&&9!==this._state&&13!==this._state&&12!==this._state&&14!==this._state&&6!==this._state&&this.cbs.ontext(data):(this.decodeNumericEntity(3,16,!1),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData())):(this.decodeNumericEntity(2,10,!1),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData())):(this.parseLegacyEntity(),this.sectionStart<this._index&&(this._state=this.baseState,this.handleTrailingData()))},t.prototype.getSection=function(){return this.buffer.substring(this.sectionStart,this._index)},t.prototype.emitToken=function(t){this.cbs[t](this.getSection()),this.sectionStart=-1},t.prototype.emitPartial=function(t){1!==this.baseState?this.cbs.onattribdata(t):this.cbs.ontext(t)},t}();e.default=K},function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var o=n(r(840));e.default=function(t){if(t>=55296&&t<=57343||t>1114111)return"�";t in o.default&&(t=o.default[t]);var output="";return t>65535&&(t-=65536,output+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),output+=String.fromCharCode(t)}},function(t){t.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)},function(t,b){if("function"!=typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)}),h=this&&this.__assign||function(){return(h=Object.assign||function(t){for(var s,i=1,e=arguments.length;i<e;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.cloneNode=e.hasChildren=e.isDocument=e.isDirective=e.isComment=e.isText=e.isCDATA=e.isTag=e.Element=e.Document=e.NodeWithChildren=e.ProcessingInstruction=e.Comment=e.Text=e.DataNode=e.Node=void 0;var l=r(233),c=new Map([[l.ElementType.Tag,1],[l.ElementType.Script,1],[l.ElementType.Style,1],[l.ElementType.Directive,1],[l.ElementType.Text,3],[l.ElementType.CDATA,4],[l.ElementType.Comment,8],[l.ElementType.Root,9]]),f=function(){function t(t){this.type=t,this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(t.prototype,"nodeType",{get:function(){var t;return null!==(t=c.get(this.type))&&void 0!==t?t:1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parentNode",{get:function(){return this.parent},set:function(t){this.parent=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"previousSibling",{get:function(){return this.prev},set:function(t){this.prev=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nextSibling",{get:function(){return this.next},set:function(t){this.next=t},enumerable:!1,configurable:!0}),t.prototype.cloneNode=function(t){return void 0===t&&(t=!1),C(this,t)},t}();e.Node=f;var d=function(t){function e(e,data){var r=t.call(this,e)||this;return r.data=data,r}return o(e,t),Object.defineProperty(e.prototype,"nodeValue",{get:function(){return this.data},set:function(data){this.data=data},enumerable:!1,configurable:!0}),e}(f);e.DataNode=d;var m=function(t){function e(data){return t.call(this,l.ElementType.Text,data)||this}return o(e,t),e}(d);e.Text=m;var v=function(t){function e(data){return t.call(this,l.ElementType.Comment,data)||this}return o(e,t),e}(d);e.Comment=v;var y=function(t){function e(e,data){var r=t.call(this,l.ElementType.Directive,data)||this;return r.name=e,r}return o(e,t),e}(d);e.ProcessingInstruction=y;var w=function(t){function e(e,r){var n=t.call(this,e)||this;return n.children=r,n}return o(e,t),Object.defineProperty(e.prototype,"firstChild",{get:function(){var t;return null!==(t=this.children[0])&&void 0!==t?t:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"childNodes",{get:function(){return this.children},set:function(t){this.children=t},enumerable:!1,configurable:!0}),e}(f);e.NodeWithChildren=w;var _=function(t){function e(e){return t.call(this,l.ElementType.Root,e)||this}return o(e,t),e}(w);e.Document=_;var M=function(t){function e(e,r,n,o){void 0===n&&(n=[]),void 0===o&&(o="script"===e?l.ElementType.Script:"style"===e?l.ElementType.Style:l.ElementType.Tag);var h=t.call(this,o,n)||this;return h.name=e,h.attribs=r,h}return o(e,t),Object.defineProperty(e.prototype,"tagName",{get:function(){return this.name},set:function(t){this.name=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"attributes",{get:function(){var t=this;return Object.keys(this.attribs).map((function(e){var r,n;return{name:e,value:t.attribs[e],namespace:null===(r=t["x-attribsNamespace"])||void 0===r?void 0:r[e],prefix:null===(n=t["x-attribsPrefix"])||void 0===n?void 0:n[e]}}))},enumerable:!1,configurable:!0}),e}(w);function S(t){return l.isTag(t)}function x(t){return t.type===l.ElementType.CDATA}function E(t){return t.type===l.ElementType.Text}function A(t){return t.type===l.ElementType.Comment}function T(t){return t.type===l.ElementType.Directive}function k(t){return t.type===l.ElementType.Root}function C(t,e){var r;if(void 0===e&&(e=!1),E(t))r=new m(t.data);else if(A(t))r=new v(t.data);else if(S(t)){var n=e?O(t.children):[],o=new M(t.name,h({},t.attribs),n);n.forEach((function(t){return t.parent=o})),t["x-attribsNamespace"]&&(o["x-attribsNamespace"]=h({},t["x-attribsNamespace"])),t["x-attribsPrefix"]&&(o["x-attribsPrefix"]=h({},t["x-attribsPrefix"])),r=o}else if(x(t)){n=e?O(t.children):[];var c=new w(l.ElementType.CDATA,n);n.forEach((function(t){return t.parent=c})),r=c}else if(k(t)){n=e?O(t.children):[];var f=new _(n);n.forEach((function(t){return t.parent=f})),t["x-mode"]&&(f["x-mode"]=t["x-mode"]),r=f}else{if(!T(t))throw new Error("Not implemented yet: "+t.type);var d=new y(t.name,t.data);null!=t["x-name"]&&(d["x-name"]=t["x-name"],d["x-publicId"]=t["x-publicId"],d["x-systemId"]=t["x-systemId"]),r=d}return r.startIndex=t.startIndex,r.endIndex=t.endIndex,r}function O(t){for(var e=t.map((function(t){return C(t,!0)})),i=1;i<e.length;i++)e[i].prev=e[i-1],e[i-1].next=e[i];return e}e.Element=M,e.isTag=S,e.isCDATA=x,e.isText=E,e.isComment=A,e.isDirective=T,e.isDocument=k,e.hasChildren=function(t){return Object.prototype.hasOwnProperty.call(t,"children")},e.cloneNode=C},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)},function(t,b){if("function"!=typeof b&&null!==b)throw new TypeError("Class extends value "+String(b)+" is not a constructor or null");function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)}),h=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),l=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),c=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.prototype.hasOwnProperty.call(t,r)&&h(e,t,r);return l(e,t),e},f=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.parseFeed=e.FeedHandler=void 0;var d,m,v=f(r(156)),y=c(r(576)),w=r(570);!function(t){t[t.image=0]="image",t[t.audio=1]="audio",t[t.video=2]="video",t[t.document=3]="document",t[t.executable=4]="executable"}(d||(d={})),function(t){t[t.sample=0]="sample",t[t.full=1]="full",t[t.nonstop=2]="nonstop"}(m||(m={}));var _=function(t){function e(e,r){return"object"==typeof e&&(r=e=void 0),t.call(this,e,r)||this}return o(e,t),e.prototype.onend=function(){var t,e,r=x(k,this.dom);if(r){var n={};if("feed"===r.name){var o=r.children;n.type="atom",T(n,"id","id",o),T(n,"title","title",o);var h=A("href",x("link",o));h&&(n.link=h),T(n,"description","subtitle",o),(l=E("updated",o))&&(n.updated=new Date(l)),T(n,"author","email",o,!0),n.items=S("entry",o).map((function(t){var e={},r=t.children;T(e,"id","id",r),T(e,"title","title",r);var n=A("href",x("link",r));n&&(e.link=n);var o=E("summary",r)||E("content",r);o&&(e.description=o);var h=E("updated",r);return h&&(e.pubDate=new Date(h)),e.media=M(r),e}))}else{var l;o=null!==(e=null===(t=x("channel",r.children))||void 0===t?void 0:t.children)&&void 0!==e?e:[];n.type=r.name.substr(0,3),n.id="",T(n,"title","title",o),T(n,"link","link",o),T(n,"description","description",o),(l=E("lastBuildDate",o))&&(n.updated=new Date(l)),T(n,"author","managingEditor",o,!0),n.items=S("item",r.children).map((function(t){var e={},r=t.children;T(e,"id","guid",r),T(e,"title","title",r),T(e,"link","link",r),T(e,"description","description",r);var n=E("pubDate",r);return n&&(e.pubDate=new Date(n)),e.media=M(r),e}))}this.feed=n,this.handleCallback(null)}else this.handleCallback(new Error("couldn't find root of feed"))},e}(v.default);function M(t){return S("media:content",t).map((function(t){var e={medium:t.attribs.medium,isDefault:!!t.attribs.isDefault};return t.attribs.url&&(e.url=t.attribs.url),t.attribs.fileSize&&(e.fileSize=parseInt(t.attribs.fileSize,10)),t.attribs.type&&(e.type=t.attribs.type),t.attribs.expression&&(e.expression=t.attribs.expression),t.attribs.bitrate&&(e.bitrate=parseInt(t.attribs.bitrate,10)),t.attribs.framerate&&(e.framerate=parseInt(t.attribs.framerate,10)),t.attribs.samplingrate&&(e.samplingrate=parseInt(t.attribs.samplingrate,10)),t.attribs.channels&&(e.channels=parseInt(t.attribs.channels,10)),t.attribs.duration&&(e.duration=parseInt(t.attribs.duration,10)),t.attribs.height&&(e.height=parseInt(t.attribs.height,10)),t.attribs.width&&(e.width=parseInt(t.attribs.width,10)),t.attribs.lang&&(e.lang=t.attribs.lang),e}))}function S(t,e){return y.getElementsByTagName(t,e,!0)}function x(t,e){return y.getElementsByTagName(t,e,!0,1)[0]}function E(t,e,r){return void 0===r&&(r=!1),y.getText(y.getElementsByTagName(t,e,r,1)).trim()}function A(t,e){return e?e.attribs[t]:null}function T(t,e,r,n,o){void 0===o&&(o=!1);var h=E(r,n,o);h&&(t[e]=h)}function k(t){return"rss"===t||"feed"===t||"rdf:RDF"===t}e.FeedHandler=_,e.parseFeed=function(t,e){void 0===e&&(e={xmlMode:!0});var r=new _(e);return new w.Parser(r,e).end(t),r.feed}},function(t,e,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),o=this&&this.__exportStar||function(t,e){for(var p in t)"default"===p||Object.prototype.hasOwnProperty.call(e,p)||n(e,t,p)};Object.defineProperty(e,"__esModule",{value:!0}),e.hasChildren=e.isDocument=e.isComment=e.isText=e.isCDATA=e.isTag=void 0,o(r(841),e),o(r(845),e),o(r(846),e),o(r(579),e),o(r(847),e),o(r(848),e);var h=r(156);Object.defineProperty(e,"isTag",{enumerable:!0,get:function(){return h.isTag}}),Object.defineProperty(e,"isCDATA",{enumerable:!0,get:function(){return h.isCDATA}}),Object.defineProperty(e,"isText",{enumerable:!0,get:function(){return h.isText}}),Object.defineProperty(e,"isComment",{enumerable:!0,get:function(){return h.isComment}}),Object.defineProperty(e,"isDocument",{enumerable:!0,get:function(){return h.isDocument}}),Object.defineProperty(e,"hasChildren",{enumerable:!0,get:function(){return h.hasChildren}})},function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var o=n(r(347)),h=n(r(573)),l=n(r(348)),c=n(r(572));function f(map){var t=Object.keys(map).join("|"),e=m(map),r=new RegExp("&(?:"+(t+="|#[xX][\\da-fA-F]+|#\\d+")+");","g");return function(t){return String(t).replace(r,e)}}e.decodeXML=f(l.default),e.decodeHTMLStrict=f(o.default);var d=function(a,b){return a<b?1:-1};function m(map){return function(t){if("#"===t.charAt(1)){var e=t.charAt(2);return"X"===e||"x"===e?c.default(parseInt(t.substr(3),16)):c.default(parseInt(t.substr(2),10))}return map[t.slice(1,-1)]}}e.decodeHTML=function(){for(var t=Object.keys(h.default).sort(d),e=Object.keys(o.default).sort(d),i=0,r=0;i<e.length;i++)t[r]===e[i]?(e[i]+=";?",r++):e[i]+=";";var n=new RegExp("&(?:"+e.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),l=m(o.default);function c(t){return";"!==t.substr(-1)&&(t+=";"),l(t)}return function(t){return String(t).replace(n,c)}}()},function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.escape=e.encodeHTML=e.encodeXML=void 0;var o=f(n(r(348)).default),h=d(o);e.encodeXML=y(o,h);var l=f(n(r(347)).default),c=d(l);function f(t){return Object.keys(t).sort().reduce((function(e,r){return e[t[r]]="&"+r+";",e}),{})}function d(t){for(var e=[],r=[],n=0,o=Object.keys(t);n<o.length;n++){var h=o[n];1===h.length?e.push("\\"+h):r.push(h)}e.sort();for(var l=0;l<e.length-1;l++){for(var c=l;c<e.length-1&&e[c].charCodeAt(1)+1===e[c+1].charCodeAt(1);)c+=1;var f=1+c-l;f<3||e.splice(l,f,e[l]+"-"+e[c])}return r.unshift("["+e.join("")+"]"),new RegExp(r.join("|"),"g")}e.encodeHTML=y(l,c);var m=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g;function v(t){return"&#x"+t.codePointAt(0).toString(16).toUpperCase()+";"}function y(t,e){return function(data){return data.replace(e,(function(e){return t[e]})).replace(m,v)}}var w=d(o);e.escape=function(data){return data.replace(w,v).replace(m,v)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findAll=e.existsOne=e.findOne=e.findOneChild=e.find=e.filter=void 0;var n=r(156);function o(t,e,r,h){for(var l=[],c=0,f=e;c<f.length;c++){var d=f[c];if(t(d)&&(l.push(d),--h<=0))break;if(r&&n.hasChildren(d)&&d.children.length>0){var m=o(t,d.children,r,h);if(l.push.apply(l,m),(h-=m.length)<=0)break}}return l}e.filter=function(t,e,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),Array.isArray(e)||(e=[e]),o(t,e,r,n)},e.find=o,e.findOneChild=function(t,e){return e.find(t)},e.findOne=function t(e,r,o){void 0===o&&(o=!0);for(var h=null,i=0;i<r.length&&!h;i++){var l=r[i];n.isTag(l)&&(e(l)?h=l:o&&l.children.length>0&&(h=t(e,l.children)))}return h},e.existsOne=function t(e,r){return r.some((function(r){return n.isTag(r)&&(e(r)||r.children.length>0&&t(e,r.children))}))},e.findAll=function(t,e){for(var r,o,h=[],l=e.filter(n.isTag);o=l.shift();){var c=null===(r=o.children)||void 0===r?void 0:r.filter(n.isTag);c&&c.length>0&&l.unshift.apply(l,c),t(o)&&h.push(o)}return h}},,function(t,e,r){"use strict";const n={colon:": ",indent:"    ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};t.exports=class{constructor(t){this.builder=t}stringify(t,e){if(!this[t.type])throw new Error("Unknown AST node type "+t.type+". Maybe you need to change PostCSS stringifier.");this[t.type](t,e)}document(t){this.body(t)}root(t){this.body(t),t.raws.after&&this.builder(t.raws.after)}comment(t){let e=this.raw(t,"left","commentLeft"),r=this.raw(t,"right","commentRight");this.builder("/*"+e+t.text+r+"*/",t)}decl(t,e){let r=this.raw(t,"between","colon"),n=t.prop+r+this.rawValue(t,"value");t.important&&(n+=t.raws.important||" !important"),e&&(n+=";"),this.builder(n,t)}rule(t){this.block(t,this.rawValue(t,"selector")),t.raws.ownSemicolon&&this.builder(t.raws.ownSemicolon,t,"end")}atrule(t,e){let r="@"+t.name,n=t.params?this.rawValue(t,"params"):"";if(void 0!==t.raws.afterName?r+=t.raws.afterName:n&&(r+=" "),t.nodes)this.block(t,r+n);else{let o=(t.raws.between||"")+(e?";":"");this.builder(r+n+o,t)}}body(t){let e=t.nodes.length-1;for(;e>0&&"comment"===t.nodes[e].type;)e-=1;let r=this.raw(t,"semicolon");for(let i=0;i<t.nodes.length;i++){let n=t.nodes[i],o=this.raw(n,"before");o&&this.builder(o),this.stringify(n,e!==i||r)}}block(t,e){let r,n=this.raw(t,"between","beforeOpen");this.builder(e+n+"{",t,"start"),t.nodes&&t.nodes.length?(this.body(t),r=this.raw(t,"after")):r=this.raw(t,"after","emptyBody"),r&&this.builder(r),this.builder("}",t,"end")}raw(t,e,r){let o;if(r||(r=e),e&&(o=t.raws[e],void 0!==o))return o;let h=t.parent;if("before"===r){if(!h||"root"===h.type&&h.first===t)return"";if(h&&"document"===h.type)return""}if(!h)return n[r];let l=t.root();if(l.rawCache||(l.rawCache={}),void 0!==l.rawCache[r])return l.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(t,r);{let n="raw"+((c=r)[0].toUpperCase()+c.slice(1));this[n]?o=this[n](l,t):l.walk(i=>{if(o=i.raws[e],void 0!==o)return!1})}var c;return void 0===o&&(o=n[r]),l.rawCache[r]=o,o}rawSemicolon(t){let e;return t.walk(i=>{if(i.nodes&&i.nodes.length&&"decl"===i.last.type&&(e=i.raws.semicolon,void 0!==e))return!1}),e}rawEmptyBody(t){let e;return t.walk(i=>{if(i.nodes&&0===i.nodes.length&&(e=i.raws.after,void 0!==e))return!1}),e}rawIndent(t){if(t.raws.indent)return t.raws.indent;let e;return t.walk(i=>{let p=i.parent;if(p&&p!==t&&p.parent&&p.parent===t&&void 0!==i.raws.before){let t=i.raws.before.split("\n");return e=t[t.length-1],e=e.replace(/\S/g,""),!1}}),e}rawBeforeComment(t,e){let r;return t.walkComments(i=>{if(void 0!==i.raws.before)return r=i.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(e,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(t,e){let r;return t.walkDecls(i=>{if(void 0!==i.raws.before)return r=i.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(e,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeRule(t){let e;return t.walk(i=>{if(i.nodes&&(i.parent!==t||t.first!==i)&&void 0!==i.raws.before)return e=i.raws.before,e.includes("\n")&&(e=e.replace(/[^\n]+$/,"")),!1}),e&&(e=e.replace(/\S/g,"")),e}rawBeforeClose(t){let e;return t.walk(i=>{if(i.nodes&&i.nodes.length>0&&void 0!==i.raws.after)return e=i.raws.after,e.includes("\n")&&(e=e.replace(/[^\n]+$/,"")),!1}),e&&(e=e.replace(/\S/g,"")),e}rawBeforeOpen(t){let e;return t.walk(i=>{if("decl"!==i.type&&(e=i.raws.between,void 0!==e))return!1}),e}rawColon(t){let e;return t.walkDecls(i=>{if(void 0!==i.raws.between)return e=i.raws.between.replace(/[^\s:]/g,""),!1}),e}beforeAfter(t,e){let r;r="decl"===t.type?this.raw(t,null,"beforeDecl"):"comment"===t.type?this.raw(t,null,"beforeComment"):"before"===e?this.raw(t,null,"beforeRule"):this.raw(t,null,"beforeClose");let n=t.parent,o=0;for(;n&&"root"!==n.type;)o+=1,n=n.parent;if(r.includes("\n")){let e=this.raw(t,null,"indent");if(e.length)for(let t=0;t<o;t++)r+=e}return r}rawValue(t,e){let r=t[e],n=t.raws[e];return n&&n.value===r?n.raw:r}}},function(t,e,r){"use strict";let n=r(855),{isClean:o}=r(350),h=r(351),l=(r(856),r(584)),c=r(586),f=r(234),d=r(357);const m={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},v={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},y={postcssPlugin:!0,prepare:!0,Once:!0};function w(t){return"object"==typeof t&&"function"==typeof t.then}function _(t){let e=!1,r=m[t.type];return"decl"===t.type?e=t.prop.toLowerCase():"atrule"===t.type&&(e=t.name.toLowerCase()),e&&t.append?[r,r+"-"+e,0,r+"Exit",r+"Exit-"+e]:e?[r,r+"-"+e,r+"Exit",r+"Exit-"+e]:t.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function M(t){let e;return e="document"===t.type?["Document",0,"DocumentExit"]:"root"===t.type?["Root",0,"RootExit"]:_(t),{node:t,events:e,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function S(t){return t[o]=!1,t.nodes&&t.nodes.forEach(i=>S(i)),t}let x={};class E{constructor(t,e,r){let n;if(this.stringified=!1,this.processed=!1,"object"!=typeof e||null===e||"root"!==e.type&&"document"!==e.type)if(e instanceof E||e instanceof l)n=S(e.root),e.map&&(void 0===r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=e.map);else{let t=c;r.syntax&&(t=r.syntax.parse),r.parser&&(t=r.parser),t.parse&&(t=t.parse);try{n=t(e,r)}catch(t){this.processed=!0,this.error=t}}else n=S(e);this.result=new l(t,n,r),this.helpers={...x,result:this.result,postcss:x},this.plugins=this.processor.plugins.map(t=>"object"==typeof t&&t.prepare?{...t,...t.prepare(this.result)}:t)}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(t,e){return this.async().then(t,e)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let t of this.plugins){if(w(this.runOnRoot(t)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[o];)t[o]=!0,this.walkSync(t);if(this.listeners.OnceExit)if("document"===t.type)for(let e of t.nodes)this.visitSync(this.listeners.OnceExit,e);else this.visitSync(this.listeners.OnceExit,t)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let t=this.result.opts,e=h;t.syntax&&(e=t.syntax.stringify),t.stringifier&&(e=t.stringifier),e.stringify&&(e=e.stringify);let data=new n(e,this.result.root,this.result.opts).generate();return this.result.css=data[0],this.result.map=data[1],this.result}walkSync(t){t[o]=!0;let e=_(t);for(let r of e)if(0===r)t.nodes&&t.each(t=>{t[o]||this.walkSync(t)});else{let e=this.listeners[r];if(e&&this.visitSync(e,t.toProxy()))return}}visitSync(t,e){for(let[r,n]of t){let t;this.result.lastPlugin=r;try{t=n(e,this.helpers)}catch(t){throw this.handleError(t,e.proxyOf)}if("root"!==e.type&&"document"!==e.type&&!e.parent)return!0;if(w(t))throw this.getAsyncError()}}runOnRoot(t){this.result.lastPlugin=t;try{if("object"==typeof t&&t.Once){if("document"===this.result.root.type){let e=this.result.root.nodes.map(e=>t.Once(e,this.helpers));return w(e[0])?Promise.all(e):e}return t.Once(this.result.root,this.helpers)}if("function"==typeof t)return t(this.result.root,this.result)}catch(t){throw this.handleError(t)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(t,e){let r=this.result.lastPlugin;try{e&&e.addToError(t),this.error=t,"CssSyntaxError"!==t.name||t.plugin?r.postcssVersion:(t.plugin=r.postcssPlugin,t.setMessage())}catch(t){console&&console.error&&console.error(t)}return t}async runAsync(){this.plugin=0;for(let i=0;i<this.plugins.length;i++){let t=this.plugins[i],e=this.runOnRoot(t);if(w(e))try{await e}catch(t){throw this.handleError(t)}}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[o];){t[o]=!0;let e=[M(t)];for(;e.length>0;){let t=this.visitTick(e);if(w(t))try{await t}catch(t){let r=e[e.length-1].node;throw this.handleError(t,r)}}}if(this.listeners.OnceExit)for(let[e,r]of this.listeners.OnceExit){this.result.lastPlugin=e;try{if("document"===t.type){let e=t.nodes.map(t=>r(t,this.helpers));await Promise.all(e)}else await r(t,this.helpers)}catch(t){throw this.handleError(t)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let t=(t,e,r)=>{this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push([t,r])};for(let e of this.plugins)if("object"==typeof e)for(let r in e){if(!v[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${e.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!y[r])if("object"==typeof e[r])for(let filter in e[r])t(e,"*"===filter?r:r+"-"+filter.toLowerCase(),e[r][filter]);else"function"==typeof e[r]&&t(e,r,e[r])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(t){let e=t[t.length-1],{node:r,visitors:n}=e;if("root"!==r.type&&"document"!==r.type&&!r.parent)return void t.pop();if(n.length>0&&e.visitorIndex<n.length){let[t,o]=n[e.visitorIndex];e.visitorIndex+=1,e.visitorIndex===n.length&&(e.visitors=[],e.visitorIndex=0),this.result.lastPlugin=t;try{return o(r.toProxy(),this.helpers)}catch(t){throw this.handleError(t,r)}}if(0!==e.iterator){let n,h=e.iterator;for(;n=r.nodes[r.indexes[h]];)if(r.indexes[h]+=1,!n[o])return n[o]=!0,void t.push(M(n));e.iterator=0,delete r.indexes[h]}let h=e.events;for(;e.eventIndex<h.length;){let t=h[e.eventIndex];if(e.eventIndex+=1,0===t)return void(r.nodes&&r.nodes.length&&(r[o]=!0,e.iterator=r.getIterator()));if(this.listeners[t])return void(e.visitors=this.listeners[t])}t.pop()}}E.registerPostcss=t=>{x=t},t.exports=E,E.default=E,f.registerLazyResult(E),d.registerLazyResult(E)},,function(t,e,r){"use strict";let n=r(585);class o{constructor(t,e,r){this.processor=t,this.messages=[],this.root=e,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(text,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let e=new n(text,t);return this.messages.push(e),e}warnings(){return this.messages.filter(i=>"warning"===i.type)}get content(){return this.css}}t.exports=o,o.default=o},function(t,e,r){"use strict";class n{constructor(text,t={}){if(this.type="warning",this.text=text,t.node&&t.node.source){let e=t.node.positionBy(t);this.line=e.line,this.column=e.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}t.exports=n,n.default=n},function(t,e,r){"use strict";let n=r(194),o=r(857),h=r(356);function l(t,e){let input=new h(t,e),r=new o(input);try{r.parse()}catch(t){throw t}return r.root}t.exports=l,l.default=l,n.registerParse(l)},function(t,e,r){"use strict";let n={split(t,e,r){let n=[],o="",h=!1,l=0,c=!1,f=!1;for(let r of t)f?f=!1:"\\"===r?f=!0:c?r===c&&(c=!1):'"'===r||"'"===r?c=r:"("===r?l+=1:")"===r?l>0&&(l-=1):0===l&&e.includes(r)&&(h=!0),h?(""!==o&&n.push(o.trim()),o="",h=!1):o+=r;return(r||""!==o)&&n.push(o.trim()),n},space:t=>n.split(t,[" ","\n","\t"]),comma:t=>n.split(t,[","],!0)};t.exports=n,n.default=n},function(t,e,r){"use strict";(function(e){let{existsSync:n,readFileSync:o}=r(860),{dirname:h,join:l}=r(353),{SourceMapConsumer:c,SourceMapGenerator:f}=r(352);class d{constructor(t,e){if(!1===e.map)return;this.loadAnnotation(t),this.inline=this.startWith(this.annotation,"data:");let r=e.map?e.map.prev:void 0,text=this.loadMap(e.from,r);!this.mapFile&&e.from&&(this.mapFile=e.from),this.mapFile&&(this.root=h(this.mapFile)),text&&(this.text=text)}consumer(){return this.consumerCache||(this.consumerCache=new c(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(t,e){return!!t&&t.substr(0,e.length)===e}getAnnotationURL(t){return t.match(/\/\*\s*# sourceMappingURL=((?:(?!sourceMappingURL=).)*)\*\//)[1].trim()}loadAnnotation(t){let e=t.match(/\/\*\s*# sourceMappingURL=(?:(?!sourceMappingURL=).)*\*\//gm);if(e&&e.length>0){let t=e[e.length-1];t&&(this.annotation=this.getAnnotationURL(t))}}decodeInline(text){if(/^data:application\/json;charset=utf-?8,/.test(text)||/^data:application\/json,/.test(text))return decodeURIComponent(text.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(text)||/^data:application\/json;base64,/.test(text))return t=text.substr(RegExp.lastMatch.length),e?e.from(t,"base64").toString():window.atob(t);var t;let r=text.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)}loadFile(path){if(this.root=h(path),n(path))return this.mapFile=path,o(path,"utf-8").toString().trim()}loadMap(t,e){if(!1===e)return!1;if(e){if("string"==typeof e)return e;if("function"!=typeof e){if(e instanceof c)return f.fromSourceMap(e).toString();if(e instanceof f)return e.toString();if(this.isMap(e))return JSON.stringify(e);throw new Error("Unsupported previous source map format: "+e.toString())}{let r=e(t);if(r){let map=this.loadFile(r);if(!map)throw new Error("Unable to load previous source map: "+r.toString());return map}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let map=this.annotation;return t&&(map=l(h(t),map)),this.loadFile(map)}}}isMap(map){return"object"==typeof map&&("string"==typeof map.mappings||"string"==typeof map._mappings||Array.isArray(map.sections))}}t.exports=d,d.default=d}).call(this,r(61).Buffer)},function(t,e,r){"use strict";var n=r(29),o=r(27),h=r(21);var l={lastScrollTime:Object(h.i)(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:function(){return Object(n.b)().navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var t=Object(n.a)(),e="onwheel"in t;if(!e){var element=t.createElement("div");element.setAttribute("onwheel","return;"),e="function"==typeof element.onwheel}return!e&&t.implementation&&t.implementation.hasFeature&&!0!==t.implementation.hasFeature("","")&&(e=t.implementation.hasFeature("Events.wheel","3.0")),e}()?"wheel":"mousewheel"},normalize:function(t){var e=0,r=0,n=0,o=0;return"detail"in t&&(r=t.detail),"wheelDelta"in t&&(r=-t.wheelDelta/120),"wheelDeltaY"in t&&(r=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(e=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(e=r,r=0),n=10*e,o=10*r,"deltaY"in t&&(o=t.deltaY),"deltaX"in t&&(n=t.deltaX),t.shiftKey&&!n&&(n=o,o=0),(n||o)&&t.deltaMode&&(1===t.deltaMode?(n*=40,o*=40):(n*=800,o*=800)),n&&!e&&(e=n<1?-1:1),o&&!r&&(r=o<1?-1:1),{spinX:e,spinY:r,pixelX:n,pixelY:o}},handleMouseEnter:function(){this.enabled&&(this.mouseEntered=!0)},handleMouseLeave:function(){this.enabled&&(this.mouseEntered=!1)},handle:function(t){var e=t,r=this;if(r.enabled){var n=r.params.mousewheel;r.params.cssMode&&e.preventDefault();var c=r.$el;if("container"!==r.params.mousewheel.eventsTarget&&(c=Object(o.a)(r.params.mousewheel.eventsTarget)),!r.mouseEntered&&!c[0].contains(e.target)&&!n.releaseOnEdges)return!0;e.originalEvent&&(e=e.originalEvent);var f=0,d=r.rtlTranslate?-1:1,data=l.normalize(e);if(n.forceToAxis)if(r.isHorizontal()){if(!(Math.abs(data.pixelX)>Math.abs(data.pixelY)))return!0;f=-data.pixelX*d}else{if(!(Math.abs(data.pixelY)>Math.abs(data.pixelX)))return!0;f=-data.pixelY}else f=Math.abs(data.pixelX)>Math.abs(data.pixelY)?-data.pixelX*d:-data.pixelY;if(0===f)return!0;n.invert&&(f=-f);var m=r.getTranslate()+f*n.sensitivity;if(m>=r.minTranslate()&&(m=r.minTranslate()),m<=r.maxTranslate()&&(m=r.maxTranslate()),(!!r.params.loop||!(m===r.minTranslate()||m===r.maxTranslate()))&&r.params.nested&&e.stopPropagation(),r.params.freeMode){var v={time:Object(h.i)(),delta:Math.abs(f),direction:Math.sign(f)},y=r.mousewheel.lastEventBeforeSnap,w=y&&v.time<y.time+500&&v.delta<=y.delta&&v.direction===y.direction;if(!w){r.mousewheel.lastEventBeforeSnap=void 0,r.params.loop&&r.loopFix();var _=r.getTranslate()+f*n.sensitivity,M=r.isBeginning,S=r.isEnd;if(_>=r.minTranslate()&&(_=r.minTranslate()),_<=r.maxTranslate()&&(_=r.maxTranslate()),r.setTransition(0),r.setTranslate(_),r.updateProgress(),r.updateActiveIndex(),r.updateSlidesClasses(),(!M&&r.isBeginning||!S&&r.isEnd)&&r.updateSlidesClasses(),r.params.freeModeSticky){clearTimeout(r.mousewheel.timeout),r.mousewheel.timeout=void 0;var x=r.mousewheel.recentWheelEvents;x.length>=15&&x.shift();var E=x.length?x[x.length-1]:void 0,A=x[0];if(x.push(v),E&&(v.delta>E.delta||v.direction!==E.direction))x.splice(0);else if(x.length>=15&&v.time-A.time<500&&A.delta-v.delta>=1&&v.delta<=6){var T=f>0?.8:.2;r.mousewheel.lastEventBeforeSnap=v,x.splice(0),r.mousewheel.timeout=Object(h.h)((function(){r.slideToClosest(r.params.speed,!0,void 0,T)}),0)}r.mousewheel.timeout||(r.mousewheel.timeout=Object(h.h)((function(){r.mousewheel.lastEventBeforeSnap=v,x.splice(0),r.slideToClosest(r.params.speed,!0,void 0,.5)}),500))}if(w||r.emit("scroll",e),r.params.autoplay&&r.params.autoplayDisableOnInteraction&&r.autoplay.stop(),_===r.minTranslate()||_===r.maxTranslate())return!0}}else{var k={time:Object(h.i)(),delta:Math.abs(f),direction:Math.sign(f),raw:t},C=r.mousewheel.recentWheelEvents;C.length>=2&&C.shift();var O=C.length?C[C.length-1]:void 0;if(C.push(k),O?(k.direction!==O.direction||k.delta>O.delta||k.time>O.time+150)&&r.mousewheel.animateSlider(k):r.mousewheel.animateSlider(k),r.mousewheel.releaseScroll(k))return!0}return e.preventDefault?e.preventDefault():e.returnValue=!1,!1}},animateSlider:function(t){var e=Object(n.b)();return!(this.params.mousewheel.thresholdDelta&&t.delta<this.params.mousewheel.thresholdDelta)&&(!(this.params.mousewheel.thresholdTime&&Object(h.i)()-this.mousewheel.lastScrollTime<this.params.mousewheel.thresholdTime)&&(t.delta>=6&&Object(h.i)()-this.mousewheel.lastScrollTime<60||(t.direction<0?this.isEnd&&!this.params.loop||this.animating||(this.slideNext(),this.emit("scroll",t.raw)):this.isBeginning&&!this.params.loop||this.animating||(this.slidePrev(),this.emit("scroll",t.raw)),this.mousewheel.lastScrollTime=(new e.Date).getTime(),!1)))},releaseScroll:function(t){var e=this.params.mousewheel;if(t.direction<0){if(this.isEnd&&!this.params.loop&&e.releaseOnEdges)return!0}else if(this.isBeginning&&!this.params.loop&&e.releaseOnEdges)return!0;return!1},enable:function(){var t=l.event();if(this.params.cssMode)return this.wrapperEl.removeEventListener(t,this.mousewheel.handle),!0;if(!t)return!1;if(this.mousewheel.enabled)return!1;var e=this.$el;return"container"!==this.params.mousewheel.eventsTarget&&(e=Object(o.a)(this.params.mousewheel.eventsTarget)),e.on("mouseenter",this.mousewheel.handleMouseEnter),e.on("mouseleave",this.mousewheel.handleMouseLeave),e.on(t,this.mousewheel.handle),this.mousewheel.enabled=!0,!0},disable:function(){var t=l.event();if(this.params.cssMode)return this.wrapperEl.addEventListener(t,this.mousewheel.handle),!0;if(!t)return!1;if(!this.mousewheel.enabled)return!1;var e=this.$el;return"container"!==this.params.mousewheel.eventsTarget&&(e=Object(o.a)(this.params.mousewheel.eventsTarget)),e.off(t,this.mousewheel.handle),this.mousewheel.enabled=!1,!0}};e.a={name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}},create:function(){Object(h.a)(this,{mousewheel:{enabled:!1,lastScrollTime:Object(h.i)(),lastEventBeforeSnap:void 0,recentWheelEvents:[],enable:l.enable,disable:l.disable,handle:l.handle,handleMouseEnter:l.handleMouseEnter,handleMouseLeave:l.handleMouseLeave,animateSlider:l.animateSlider,releaseScroll:l.releaseScroll}})},on:{init:function(t){!t.params.mousewheel.enabled&&t.params.cssMode&&t.mousewheel.disable(),t.params.mousewheel.enabled&&t.mousewheel.enable()},destroy:function(t){t.params.cssMode&&t.mousewheel.enable(),t.mousewheel.enabled&&t.mousewheel.disable()}}}},function(t,e,r){"use strict";var n=r(27),o=r(21);function h(){return(h=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var e in source)Object.prototype.hasOwnProperty.call(source,e)&&(t[e]=source[e])}return t}).apply(this,arguments)}var l={toggleEl:function(t,e){t[e?"addClass":"removeClass"](this.params.navigation.disabledClass),t[0]&&"BUTTON"===t[0].tagName&&(t[0].disabled=e)},update:function(){var t=this.params.navigation,e=this.navigation.toggleEl;if(!this.params.loop){var r=this.navigation,n=r.$nextEl,o=r.$prevEl;o&&o.length>0&&(this.isBeginning?e(o,!0):e(o,!1),this.params.watchOverflow&&this.enabled&&o[this.isLocked?"addClass":"removeClass"](t.lockClass)),n&&n.length>0&&(this.isEnd?e(n,!0):e(n,!1),this.params.watchOverflow&&this.enabled&&n[this.isLocked?"addClass":"removeClass"](t.lockClass))}},onPrevClick:function(t){t.preventDefault(),this.isBeginning&&!this.params.loop||this.slidePrev()},onNextClick:function(t){t.preventDefault(),this.isEnd&&!this.params.loop||this.slideNext()},init:function(){var t,e,r=this.params.navigation;(this.params.navigation=Object(o.c)(this.$el,this.params.navigation,this.params.createElements,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),r.nextEl||r.prevEl)&&(r.nextEl&&(t=Object(n.a)(r.nextEl),this.params.uniqueNavElements&&"string"==typeof r.nextEl&&t.length>1&&1===this.$el.find(r.nextEl).length&&(t=this.$el.find(r.nextEl))),r.prevEl&&(e=Object(n.a)(r.prevEl),this.params.uniqueNavElements&&"string"==typeof r.prevEl&&e.length>1&&1===this.$el.find(r.prevEl).length&&(e=this.$el.find(r.prevEl))),t&&t.length>0&&t.on("click",this.navigation.onNextClick),e&&e.length>0&&e.on("click",this.navigation.onPrevClick),Object(o.e)(this.navigation,{$nextEl:t,nextEl:t&&t[0],$prevEl:e,prevEl:e&&e[0]}),this.enabled||(t&&t.addClass(r.lockClass),e&&e.addClass(r.lockClass)))},destroy:function(){var t=this.navigation,e=t.$nextEl,r=t.$prevEl;e&&e.length&&(e.off("click",this.navigation.onNextClick),e.removeClass(this.params.navigation.disabledClass)),r&&r.length&&(r.off("click",this.navigation.onPrevClick),r.removeClass(this.params.navigation.disabledClass))}};e.a={name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}},create:function(){Object(o.a)(this,{navigation:h({},l)})},on:{init:function(t){t.navigation.init(),t.navigation.update()},toEdge:function(t){t.navigation.update()},fromEdge:function(t){t.navigation.update()},destroy:function(t){t.navigation.destroy()},"enable disable":function(t){var e=t.navigation,r=e.$nextEl,n=e.$prevEl;r&&r[t.enabled?"removeClass":"addClass"](t.params.navigation.lockClass),n&&n[t.enabled?"removeClass":"addClass"](t.params.navigation.lockClass)},click:function(t,e){var r=t.navigation,o=r.$nextEl,h=r.$prevEl,l=e.target;if(t.params.navigation.hideOnClick&&!Object(n.a)(l).is(h)&&!Object(n.a)(l).is(o)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===l||t.pagination.el.contains(l)))return;var c;o?c=o.hasClass(t.params.navigation.hiddenClass):h&&(c=h.hasClass(t.params.navigation.hiddenClass)),!0===c?t.emit("navigationShow"):t.emit("navigationHide"),o&&o.toggleClass(t.params.navigation.hiddenClass),h&&h.toggleClass(t.params.navigation.hiddenClass)}}}}},function(t,e,r){"use strict";var n=r(27),o=r(21);function h(){return(h=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var e in source)Object.prototype.hasOwnProperty.call(source,e)&&(t[e]=source[e])}return t}).apply(this,arguments)}var l={update:function(){var t=this.rtl,e=this.params.pagination;if(e.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var r,h=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,l=this.pagination.$el,c=this.params.loop?Math.ceil((h-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length;if(this.params.loop?((r=Math.ceil((this.activeIndex-this.loopedSlides)/this.params.slidesPerGroup))>h-1-2*this.loopedSlides&&(r-=h-2*this.loopedSlides),r>c-1&&(r-=c),r<0&&"bullets"!==this.params.paginationType&&(r=c+r)):r=void 0!==this.snapIndex?this.snapIndex:this.activeIndex||0,"bullets"===e.type&&this.pagination.bullets&&this.pagination.bullets.length>0){var f,d,m,v=this.pagination.bullets;if(e.dynamicBullets&&(this.pagination.bulletSize=v.eq(0)[this.isHorizontal()?"outerWidth":"outerHeight"](!0),l.css(this.isHorizontal()?"width":"height",this.pagination.bulletSize*(e.dynamicMainBullets+4)+"px"),e.dynamicMainBullets>1&&void 0!==this.previousIndex&&(this.pagination.dynamicBulletIndex+=r-this.previousIndex,this.pagination.dynamicBulletIndex>e.dynamicMainBullets-1?this.pagination.dynamicBulletIndex=e.dynamicMainBullets-1:this.pagination.dynamicBulletIndex<0&&(this.pagination.dynamicBulletIndex=0)),f=r-this.pagination.dynamicBulletIndex,m=((d=f+(Math.min(v.length,e.dynamicMainBullets)-1))+f)/2),v.removeClass(e.bulletActiveClass+" "+e.bulletActiveClass+"-next "+e.bulletActiveClass+"-next-next "+e.bulletActiveClass+"-prev "+e.bulletActiveClass+"-prev-prev "+e.bulletActiveClass+"-main"),l.length>1)v.each((function(t){var o=Object(n.a)(t),h=o.index();h===r&&o.addClass(e.bulletActiveClass),e.dynamicBullets&&(h>=f&&h<=d&&o.addClass(e.bulletActiveClass+"-main"),h===f&&o.prev().addClass(e.bulletActiveClass+"-prev").prev().addClass(e.bulletActiveClass+"-prev-prev"),h===d&&o.next().addClass(e.bulletActiveClass+"-next").next().addClass(e.bulletActiveClass+"-next-next"))}));else{var y=v.eq(r),w=y.index();if(y.addClass(e.bulletActiveClass),e.dynamicBullets){for(var _=v.eq(f),M=v.eq(d),i=f;i<=d;i+=1)v.eq(i).addClass(e.bulletActiveClass+"-main");if(this.params.loop)if(w>=v.length-e.dynamicMainBullets){for(var S=e.dynamicMainBullets;S>=0;S-=1)v.eq(v.length-S).addClass(e.bulletActiveClass+"-main");v.eq(v.length-e.dynamicMainBullets-1).addClass(e.bulletActiveClass+"-prev")}else _.prev().addClass(e.bulletActiveClass+"-prev").prev().addClass(e.bulletActiveClass+"-prev-prev"),M.next().addClass(e.bulletActiveClass+"-next").next().addClass(e.bulletActiveClass+"-next-next");else _.prev().addClass(e.bulletActiveClass+"-prev").prev().addClass(e.bulletActiveClass+"-prev-prev"),M.next().addClass(e.bulletActiveClass+"-next").next().addClass(e.bulletActiveClass+"-next-next")}}if(e.dynamicBullets){var x=Math.min(v.length,e.dynamicMainBullets+4),E=(this.pagination.bulletSize*x-this.pagination.bulletSize)/2-m*this.pagination.bulletSize,A=t?"right":"left";v.css(this.isHorizontal()?A:"top",E+"px")}}if("fraction"===e.type&&(l.find(Object(o.b)(e.currentClass)).text(e.formatFractionCurrent(r+1)),l.find(Object(o.b)(e.totalClass)).text(e.formatFractionTotal(c))),"progressbar"===e.type){var T;T=e.progressbarOpposite?this.isHorizontal()?"vertical":"horizontal":this.isHorizontal()?"horizontal":"vertical";var k=(r+1)/c,C=1,O=1;"horizontal"===T?C=k:O=k,l.find(Object(o.b)(e.progressbarFillClass)).transform("translate3d(0,0,0) scaleX("+C+") scaleY("+O+")").transition(this.params.speed)}"custom"===e.type&&e.renderCustom?(l.html(e.renderCustom(this,r+1,c)),this.emit("paginationRender",l[0])):this.emit("paginationUpdate",l[0]),this.params.watchOverflow&&this.enabled&&l[this.isLocked?"addClass":"removeClass"](e.lockClass)}},render:function(){var t=this.params.pagination;if(t.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var e=this.virtual&&this.params.virtual.enabled?this.virtual.slides.length:this.slides.length,r=this.pagination.$el,n="";if("bullets"===t.type){var h=this.params.loop?Math.ceil((e-2*this.loopedSlides)/this.params.slidesPerGroup):this.snapGrid.length;this.params.freeMode&&!this.params.loop&&h>e&&(h=e);for(var i=0;i<h;i+=1)t.renderBullet?n+=t.renderBullet.call(this,i,t.bulletClass):n+="<"+t.bulletElement+' class="'+t.bulletClass+'"></'+t.bulletElement+">";r.html(n),this.pagination.bullets=r.find(Object(o.b)(t.bulletClass))}"fraction"===t.type&&(n=t.renderFraction?t.renderFraction.call(this,t.currentClass,t.totalClass):'<span class="'+t.currentClass+'"></span> / <span class="'+t.totalClass+'"></span>',r.html(n)),"progressbar"===t.type&&(n=t.renderProgressbar?t.renderProgressbar.call(this,t.progressbarFillClass):'<span class="'+t.progressbarFillClass+'"></span>',r.html(n)),"custom"!==t.type&&this.emit("paginationRender",this.pagination.$el[0])}},init:function(){var t=this;t.params.pagination=Object(o.c)(t.$el,t.params.pagination,t.params.createElements,{el:"swiper-pagination"});var e=t.params.pagination;if(e.el){var r=Object(n.a)(e.el);0!==r.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&r.length>1&&(r=t.$el.find(e.el)),"bullets"===e.type&&e.clickable&&r.addClass(e.clickableClass),r.addClass(e.modifierClass+e.type),"bullets"===e.type&&e.dynamicBullets&&(r.addClass(""+e.modifierClass+e.type+"-dynamic"),t.pagination.dynamicBulletIndex=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&r.addClass(e.progressbarOppositeClass),e.clickable&&r.on("click",Object(o.b)(e.bulletClass),(function(e){e.preventDefault();var r=Object(n.a)(this).index()*t.params.slidesPerGroup;t.params.loop&&(r+=t.loopedSlides),t.slideTo(r)})),Object(o.e)(t.pagination,{$el:r,el:r[0]}),t.enabled||r.addClass(e.lockClass))}},destroy:function(){var t=this.params.pagination;if(t.el&&this.pagination.el&&this.pagination.$el&&0!==this.pagination.$el.length){var e=this.pagination.$el;e.removeClass(t.hiddenClass),e.removeClass(t.modifierClass+t.type),this.pagination.bullets&&this.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&e.off("click",Object(o.b)(t.bulletClass))}}};e.a={name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(t){return t},formatFractionTotal:function(t){return t},bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",progressbarOppositeClass:"swiper-pagination-progressbar-opposite",clickableClass:"swiper-pagination-clickable",lockClass:"swiper-pagination-lock"}},create:function(){Object(o.a)(this,{pagination:h({dynamicBulletIndex:0},l)})},on:{init:function(t){t.pagination.init(),t.pagination.render(),t.pagination.update()},activeIndexChange:function(t){(t.params.loop||void 0===t.snapIndex)&&t.pagination.update()},snapIndexChange:function(t){t.params.loop||t.pagination.update()},slidesLengthChange:function(t){t.params.loop&&(t.pagination.render(),t.pagination.update())},snapGridLengthChange:function(t){t.params.loop||(t.pagination.render(),t.pagination.update())},destroy:function(t){t.pagination.destroy()},"enable disable":function(t){var e=t.pagination.$el;e&&e[t.enabled?"removeClass":"addClass"](t.params.pagination.lockClass)},click:function(t,e){var r=e.target;if(t.params.pagination.el&&t.params.pagination.hideOnClick&&t.pagination.$el.length>0&&!Object(n.a)(r).hasClass(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&r===t.navigation.nextEl||t.navigation.prevEl&&r===t.navigation.prevEl))return;!0===t.pagination.$el.hasClass(t.params.pagination.hiddenClass)?t.emit("paginationShow"):t.emit("paginationHide"),t.pagination.$el.toggleClass(t.params.pagination.hiddenClass)}}}}},function(t,e,r){"use strict";var n=r(29),o=r(21);function h(){return(h=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var e in source)Object.prototype.hasOwnProperty.call(source,e)&&(t[e]=source[e])}return t}).apply(this,arguments)}var l={run:function(){var t=this,e=t.slides.eq(t.activeIndex),r=t.params.autoplay.delay;e.attr("data-swiper-autoplay")&&(r=e.attr("data-swiper-autoplay")||t.params.autoplay.delay),clearTimeout(t.autoplay.timeout),t.autoplay.timeout=Object(o.h)((function(){var e;t.params.autoplay.reverseDirection?t.params.loop?(t.loopFix(),e=t.slidePrev(t.params.speed,!0,!0),t.emit("autoplay")):t.isBeginning?t.params.autoplay.stopOnLastSlide?t.autoplay.stop():(e=t.slideTo(t.slides.length-1,t.params.speed,!0,!0),t.emit("autoplay")):(e=t.slidePrev(t.params.speed,!0,!0),t.emit("autoplay")):t.params.loop?(t.loopFix(),e=t.slideNext(t.params.speed,!0,!0),t.emit("autoplay")):t.isEnd?t.params.autoplay.stopOnLastSlide?t.autoplay.stop():(e=t.slideTo(0,t.params.speed,!0,!0),t.emit("autoplay")):(e=t.slideNext(t.params.speed,!0,!0),t.emit("autoplay")),(t.params.cssMode&&t.autoplay.running||!1===e)&&t.autoplay.run()}),r)},start:function(){return void 0===this.autoplay.timeout&&(!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0))},stop:function(){return!!this.autoplay.running&&(void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout),this.autoplay.timeout=void 0),this.autoplay.running=!1,this.emit("autoplayStop"),!0))},pause:function(t){var e=this;e.autoplay.running&&(e.autoplay.paused||(e.autoplay.timeout&&clearTimeout(e.autoplay.timeout),e.autoplay.paused=!0,0!==t&&e.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach((function(t){e.$wrapperEl[0].addEventListener(t,e.autoplay.onTransitionEnd)})):(e.autoplay.paused=!1,e.autoplay.run())))},onVisibilityChange:function(){var t=Object(n.a)();"hidden"===t.visibilityState&&this.autoplay.running&&this.autoplay.pause(),"visible"===t.visibilityState&&this.autoplay.paused&&(this.autoplay.run(),this.autoplay.paused=!1)},onTransitionEnd:function(t){var e=this;e&&!e.destroyed&&e.$wrapperEl&&t.target===e.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach((function(t){e.$wrapperEl[0].removeEventListener(t,e.autoplay.onTransitionEnd)})),e.autoplay.paused=!1,e.autoplay.running?e.autoplay.run():e.autoplay.stop())},onMouseEnter:function(){var t=this;t.params.autoplay.disableOnInteraction?t.autoplay.stop():t.autoplay.pause(),["transitionend","webkitTransitionEnd"].forEach((function(e){t.$wrapperEl[0].removeEventListener(e,t.autoplay.onTransitionEnd)}))},onMouseLeave:function(){this.params.autoplay.disableOnInteraction||(this.autoplay.paused=!1,this.autoplay.run())},attachMouseEvents:function(){this.params.autoplay.pauseOnMouseEnter&&(this.$el.on("mouseenter",this.autoplay.onMouseEnter),this.$el.on("mouseleave",this.autoplay.onMouseLeave))},detachMouseEvents:function(){this.$el.off("mouseenter",this.autoplay.onMouseEnter),this.$el.off("mouseleave",this.autoplay.onMouseLeave)}};e.a={name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}},create:function(){Object(o.a)(this,{autoplay:h({},l,{running:!1,paused:!1})})},on:{init:function(t){t.params.autoplay.enabled&&(t.autoplay.start(),Object(n.a)().addEventListener("visibilitychange",t.autoplay.onVisibilityChange),t.autoplay.attachMouseEvents())},beforeTransitionStart:function(t,e,r){t.autoplay.running&&(r||!t.params.autoplay.disableOnInteraction?t.autoplay.pause(e):t.autoplay.stop())},sliderFirstMove:function(t){t.autoplay.running&&(t.params.autoplay.disableOnInteraction?t.autoplay.stop():t.autoplay.pause())},touchEnd:function(t){t.params.cssMode&&t.autoplay.paused&&!t.params.autoplay.disableOnInteraction&&t.autoplay.run()},destroy:function(t){t.autoplay.detachMouseEvents(),t.autoplay.running&&t.autoplay.stop(),Object(n.a)().removeEventListener("visibilitychange",t.autoplay.onVisibilityChange)}}}},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)},function(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0}),e.HitContext=e.SceneContext=e.Context=void 0;var h=r(52),l=r(47),c=["arc","arcTo","beginPath","bezierCurveTo","clearRect","clip","closePath","createLinearGradient","createPattern","createRadialGradient","drawImage","ellipse","fill","fillText","getImageData","createImageData","lineTo","moveTo","putImageData","quadraticCurveTo","rect","restore","rotate","save","scale","setLineDash","setTransform","stroke","strokeText","transform","translate"],f=function(){function t(canvas){this.canvas=canvas,this._context=canvas._canvas.getContext("2d"),l.Konva.enableTrace&&(this.traceArr=[],this._enableTrace())}return t.prototype.fillShape=function(t){t.fillEnabled()&&this._fill(t)},t.prototype._fill=function(t){},t.prototype.strokeShape=function(t){t.hasStroke()&&this._stroke(t)},t.prototype._stroke=function(t){},t.prototype.fillStrokeShape=function(t){t.attrs.fillAfterStrokeEnabled?(this.strokeShape(t),this.fillShape(t)):(this.fillShape(t),this.strokeShape(t))},t.prototype.getTrace=function(t){var e,r,n,o,l=this.traceArr,c=l.length,f="";for(e=0;e<c;e++)(n=(r=l[e]).method)?(o=r.args,f+=n,t?f+="()":h.Util._isArray(o[0])?f+="(["+o.join(",")+"])":f+="("+o.join(",")+")"):(f+=r.property,t||(f+="="+r.val)),f+=";";return f},t.prototype.clearTrace=function(){this.traceArr=[]},t.prototype._trace=function(t){var e=this.traceArr;e.push(t),e.length>=100&&e.shift()},t.prototype.reset=function(){var t=this.getCanvas().getPixelRatio();this.setTransform(1*t,0,0,1*t,0,0)},t.prototype.getCanvas=function(){return this.canvas},t.prototype.clear=function(t){var canvas=this.getCanvas();t?this.clearRect(t.x||0,t.y||0,t.width||0,t.height||0):this.clearRect(0,0,canvas.getWidth()/canvas.pixelRatio,canvas.getHeight()/canvas.pixelRatio)},t.prototype._applyLineCap=function(t){var e=t.getLineCap();e&&this.setAttr("lineCap",e)},t.prototype._applyOpacity=function(t){var e=t.getAbsoluteOpacity();1!==e&&this.setAttr("globalAlpha",e)},t.prototype._applyLineJoin=function(t){var e=t.attrs.lineJoin;e&&this.setAttr("lineJoin",e)},t.prototype.setAttr=function(t,e){this._context[t]=e},t.prototype.arc=function(t,e,r,n,o,h){this._context.arc(t,e,r,n,o,h)},t.prototype.arcTo=function(t,e,r,n,o){this._context.arcTo(t,e,r,n,o)},t.prototype.beginPath=function(){this._context.beginPath()},t.prototype.bezierCurveTo=function(t,e,r,n,o,h){this._context.bezierCurveTo(t,e,r,n,o,h)},t.prototype.clearRect=function(t,e,r,n){this._context.clearRect(t,e,r,n)},t.prototype.clip=function(){this._context.clip()},t.prototype.closePath=function(){this._context.closePath()},t.prototype.createImageData=function(t,e){var a=arguments;return 2===a.length?this._context.createImageData(t,e):1===a.length?this._context.createImageData(t):void 0},t.prototype.createLinearGradient=function(t,e,r,n){return this._context.createLinearGradient(t,e,r,n)},t.prototype.createPattern=function(t,e){return this._context.createPattern(t,e)},t.prototype.createRadialGradient=function(t,e,r,n,o,h){return this._context.createRadialGradient(t,e,r,n,o,h)},t.prototype.drawImage=function(t,e,r,n,o,h,l,c,f){var a=arguments,d=this._context;3===a.length?d.drawImage(t,e,r):5===a.length?d.drawImage(t,e,r,n,o):9===a.length&&d.drawImage(t,e,r,n,o,h,l,c,f)},t.prototype.ellipse=function(t,e,r,n,o,h,l,c){this._context.ellipse(t,e,r,n,o,h,l,c)},t.prototype.isPointInPath=function(t,e){return this._context.isPointInPath(t,e)},t.prototype.fill=function(){this._context.fill()},t.prototype.fillRect=function(t,e,r,n){this._context.fillRect(t,e,r,n)},t.prototype.strokeRect=function(t,e,r,n){this._context.strokeRect(t,e,r,n)},t.prototype.fillText=function(t,e,r){this._context.fillText(t,e,r)},t.prototype.measureText=function(text){return this._context.measureText(text)},t.prototype.getImageData=function(t,e,r,n){return this._context.getImageData(t,e,r,n)},t.prototype.lineTo=function(t,e){this._context.lineTo(t,e)},t.prototype.moveTo=function(t,e){this._context.moveTo(t,e)},t.prototype.rect=function(t,e,r,n){this._context.rect(t,e,r,n)},t.prototype.putImageData=function(t,e,r){this._context.putImageData(t,e,r)},t.prototype.quadraticCurveTo=function(t,e,r,n){this._context.quadraticCurveTo(t,e,r,n)},t.prototype.restore=function(){this._context.restore()},t.prototype.rotate=function(t){this._context.rotate(t)},t.prototype.save=function(){this._context.save()},t.prototype.scale=function(t,e){this._context.scale(t,e)},t.prototype.setLineDash=function(t){this._context.setLineDash?this._context.setLineDash(t):"mozDash"in this._context?this._context.mozDash=t:"webkitLineDash"in this._context&&(this._context.webkitLineDash=t)},t.prototype.getLineDash=function(){return this._context.getLineDash()},t.prototype.setTransform=function(t,e,r,n,o,h){this._context.setTransform(t,e,r,n,o,h)},t.prototype.stroke=function(){this._context.stroke()},t.prototype.strokeText=function(t,e,r,n){this._context.strokeText(t,e,r,n)},t.prototype.transform=function(t,e,r,n,o,h){this._context.transform(t,e,r,n,o,h)},t.prototype.translate=function(t,e){this._context.translate(t,e)},t.prototype._enableTrace=function(){var t,e,r=this,n=c.length,o=h.Util._simplifyArray,l=this.setAttr,f=function(t){var n,h=r[t];r[t]=function(){return e=o(Array.prototype.slice.call(arguments,0)),n=h.apply(r,arguments),r._trace({method:t,args:e}),n}};for(t=0;t<n;t++)f(c[t]);r.setAttr=function(){l.apply(r,arguments);var t=arguments[0],e=arguments[1];"shadowOffsetX"!==t&&"shadowOffsetY"!==t&&"shadowBlur"!==t||(e/=this.canvas.getPixelRatio()),r._trace({property:t,val:e})}},t.prototype._applyGlobalCompositeOperation=function(t){var e=t.getGlobalCompositeOperation();"source-over"!==e&&this.setAttr("globalCompositeOperation",e)},t}();e.Context=f,["fillStyle","strokeStyle","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","lineCap","lineDashOffset","lineJoin","lineWidth","miterLimit","font","textAlign","textBaseline","globalAlpha","globalCompositeOperation","imageSmoothingEnabled"].forEach((function(t){Object.defineProperty(f.prototype,t,{get:function(){return this._context[t]},set:function(e){this._context[t]=e}})}));var d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype._fillColor=function(t){var e=t.fill();this.setAttr("fillStyle",e),t._fillFunc(this)},e.prototype._fillPattern=function(t){var e=t.getFillPatternX(),r=t.getFillPatternY(),n=l.Konva.getAngle(t.getFillPatternRotation()),o=t.getFillPatternOffsetX(),h=t.getFillPatternOffsetY();t.getFillPatternScaleX(),t.getFillPatternScaleY();(e||r)&&this.translate(e||0,r||0),n&&this.rotate(n),(o||h)&&this.translate(-1*o,-1*h),this.setAttr("fillStyle",t._getFillPattern()),t._fillFunc(this)},e.prototype._fillLinearGradient=function(t){var e=t._getLinearGradient();e&&(this.setAttr("fillStyle",e),t._fillFunc(this))},e.prototype._fillRadialGradient=function(t){var e=t._getRadialGradient();e&&(this.setAttr("fillStyle",e),t._fillFunc(this))},e.prototype._fill=function(t){var e=t.fill(),r=t.getFillPriority();if(e&&"color"===r)this._fillColor(t);else{var n=t.getFillPatternImage();if(n&&"pattern"===r)this._fillPattern(t);else{var o=t.getFillLinearGradientColorStops();if(o&&"linear-gradient"===r)this._fillLinearGradient(t);else{var h=t.getFillRadialGradientColorStops();h&&"radial-gradient"===r?this._fillRadialGradient(t):e?this._fillColor(t):n?this._fillPattern(t):o?this._fillLinearGradient(t):h&&this._fillRadialGradient(t)}}}},e.prototype._strokeLinearGradient=function(t){var e=t.getStrokeLinearGradientStartPoint(),r=t.getStrokeLinearGradientEndPoint(),n=t.getStrokeLinearGradientColorStops(),o=this.createLinearGradient(e.x,e.y,r.x,r.y);if(n){for(var h=0;h<n.length;h+=2)o.addColorStop(n[h],n[h+1]);this.setAttr("strokeStyle",o)}},e.prototype._stroke=function(t){var e=t.dash(),r=t.getStrokeScaleEnabled();if(t.hasStroke()){if(!r){this.save();var n=this.getCanvas().getPixelRatio();this.setTransform(n,0,0,n,0,0)}this._applyLineCap(t),e&&t.dashEnabled()&&(this.setLineDash(e),this.setAttr("lineDashOffset",t.dashOffset())),this.setAttr("lineWidth",t.strokeWidth()),t.getShadowForStrokeEnabled()||this.setAttr("shadowColor","rgba(0,0,0,0)"),t.getStrokeLinearGradientColorStops()?this._strokeLinearGradient(t):this.setAttr("strokeStyle",t.stroke()),t._strokeFunc(this),r||this.restore()}},e.prototype._applyShadow=function(t){var e=h.Util,r=e.get(t.getShadowRGBA(),"black"),n=e.get(t.getShadowBlur(),5),o=e.get(t.getShadowOffset(),{x:0,y:0}),l=t.getAbsoluteScale(),c=this.canvas.getPixelRatio(),f=l.x*c,d=l.y*c;this.setAttr("shadowColor",r),this.setAttr("shadowBlur",n*Math.min(Math.abs(f),Math.abs(d))),this.setAttr("shadowOffsetX",o.x*f),this.setAttr("shadowOffsetY",o.y*d)},e}(f);e.SceneContext=d;var m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype._fill=function(t){this.save(),this.setAttr("fillStyle",t.colorKey),t._fillFuncHit(this),this.restore()},e.prototype.strokeShape=function(t){t.hasHitStroke()&&this._stroke(t)},e.prototype._stroke=function(t){if(t.hasHitStroke()){var e=t.getStrokeScaleEnabled();if(!e){this.save();var r=this.getCanvas().getPixelRatio();this.setTransform(r,0,0,r,0,0)}this._applyLineCap(t);var n=t.hitStrokeWidth(),o="auto"===n?t.strokeWidth():n;this.setAttr("lineWidth",o),this.setAttr("strokeStyle",t.colorKey),t._strokeFuncHit(this),e||this.restore()}},e}(f);e.HitContext=m},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.releaseCapture=e.setPointerCapture=e.hasPointerCapture=e.createEvent=e.getCapturedShape=void 0;var n=r(47),o=new Map,h=void 0!==n.Konva._global.PointerEvent;function l(t){return{evt:t,pointerId:t.pointerId}}function c(t,e){var r=o.get(t);if(r){var n=r.getStage();n&&n.content,o.delete(t),h&&r._fire("lostpointercapture",l(new PointerEvent("lostpointercapture")))}}e.getCapturedShape=function(t){return o.get(t)},e.createEvent=l,e.hasPointerCapture=function(t,e){return o.get(t)===e},e.setPointerCapture=function(t,e){c(t),e.getStage()&&(o.set(t,e),h&&e._fire("gotpointercapture",l(new PointerEvent("gotpointercapture"))))},e.releaseCapture=c},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)},function(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0}),e.Layer=void 0;var h=r(52),l=r(281),c=r(72),f=r(46),d=r(280),m=r(48),v=r(82),y=r(47),w=[{x:0,y:0},{x:-1,y:-1},{x:1,y:-1},{x:1,y:1},{x:-1,y:1}],_=w.length,M=function(t){function e(e){var r=t.call(this,e)||this;return r.canvas=new d.SceneCanvas,r.hitCanvas=new d.HitCanvas({pixelRatio:1}),r._waitingForDraw=!1,r.on("visibleChange.konva",r._checkVisibility),r._checkVisibility(),r.on("imageSmoothingEnabledChange.konva",r._setSmoothEnabled),r._setSmoothEnabled(),r}return o(e,t),e.prototype.createPNGStream=function(){return this.canvas._canvas.createPNGStream()},e.prototype.getCanvas=function(){return this.canvas},e.prototype.getHitCanvas=function(){return this.hitCanvas},e.prototype.getContext=function(){return this.getCanvas().getContext()},e.prototype.clear=function(t){return this.getContext().clear(t),this.getHitCanvas().getContext().clear(t),this},e.prototype.setZIndex=function(e){t.prototype.setZIndex.call(this,e);var r=this.getStage();return r&&(r.content.removeChild(this.getCanvas()._canvas),e<r.children.length-1?r.content.insertBefore(this.getCanvas()._canvas,r.children[e+1].getCanvas()._canvas):r.content.appendChild(this.getCanvas()._canvas)),this},e.prototype.moveToTop=function(){c.Node.prototype.moveToTop.call(this);var t=this.getStage();return t&&(t.content.removeChild(this.getCanvas()._canvas),t.content.appendChild(this.getCanvas()._canvas)),!0},e.prototype.moveUp=function(){if(!c.Node.prototype.moveUp.call(this))return!1;var t=this.getStage();return!!t&&(t.content.removeChild(this.getCanvas()._canvas),this.index<t.children.length-1?t.content.insertBefore(this.getCanvas()._canvas,t.children[this.index+1].getCanvas()._canvas):t.content.appendChild(this.getCanvas()._canvas),!0)},e.prototype.moveDown=function(){if(c.Node.prototype.moveDown.call(this)){var t=this.getStage();if(t){var e=t.children;t.content.removeChild(this.getCanvas()._canvas),t.content.insertBefore(this.getCanvas()._canvas,e[this.index+1].getCanvas()._canvas)}return!0}return!1},e.prototype.moveToBottom=function(){if(c.Node.prototype.moveToBottom.call(this)){var t=this.getStage();if(t){var e=t.children;t.content.removeChild(this.getCanvas()._canvas),t.content.insertBefore(this.getCanvas()._canvas,e[1].getCanvas()._canvas)}return!0}return!1},e.prototype.getLayer=function(){return this},e.prototype.remove=function(){var t=this.getCanvas()._canvas;return c.Node.prototype.remove.call(this),t&&t.parentNode&&h.Util._isInDocument(t)&&t.parentNode.removeChild(t),this},e.prototype.getStage=function(){return this.parent},e.prototype.setSize=function(t){var e=t.width,r=t.height;return this.canvas.setSize(e,r),this.hitCanvas.setSize(e,r),this._setSmoothEnabled(),this},e.prototype._validateAdd=function(t){var e=t.getType();"Group"!==e&&"Shape"!==e&&h.Util.throw("You may only add groups and shapes to a layer.")},e.prototype._toKonvaCanvas=function(t){return(t=t||{}).width=t.width||this.getWidth(),t.height=t.height||this.getHeight(),t.x=void 0!==t.x?t.x:this.x(),t.y=void 0!==t.y?t.y:this.y(),c.Node.prototype._toKonvaCanvas.call(this,t)},e.prototype._checkVisibility=function(){var t=this.visible();this.canvas._canvas.style.display=t?"block":"none"},e.prototype._setSmoothEnabled=function(){this.getContext()._context.imageSmoothingEnabled=this.imageSmoothingEnabled()},e.prototype.getWidth=function(){if(this.parent)return this.parent.width()},e.prototype.setWidth=function(){h.Util.warn('Can not change width of layer. Use "stage.width(value)" function instead.')},e.prototype.getHeight=function(){if(this.parent)return this.parent.height()},e.prototype.setHeight=function(){h.Util.warn('Can not change height of layer. Use "stage.height(value)" function instead.')},e.prototype.batchDraw=function(){var t=this;return this._waitingForDraw||(this._waitingForDraw=!0,h.Util.requestAnimFrame((function(){t.draw(),t._waitingForDraw=!1}))),this},e.prototype.getIntersection=function(t,e){if(!this.isListening()||!this.isVisible())return null;for(var r=1,n=!1;;){for(var i=0;i<_;i++){var o=w[i],h=this._getIntersection({x:t.x+o.x*r,y:t.y+o.y*r}),l=h.shape;if(l&&e)return l.findAncestor(e,!0);if(l)return l;if(n=!!h.antialiased,!h.antialiased)break}if(!n)return null;r+=1}},e.prototype._getIntersection=function(t){var e=this.hitCanvas.pixelRatio,p=this.hitCanvas.context.getImageData(Math.round(t.x*e),Math.round(t.y*e),1,1).data,r=p[3];if(255===r){var n=h.Util._rgbToHex(p[0],p[1],p[2]),o=v.shapes["#"+n];return o?{shape:o}:{antialiased:!0}}return r>0?{antialiased:!0}:{}},e.prototype.drawScene=function(t,e){var r=this.getLayer(),canvas=t||r&&r.getCanvas();return this._fire("beforeDraw",{node:this}),this.clearBeforeDraw()&&canvas.getContext().clear(),l.Container.prototype.drawScene.call(this,canvas,e),this._fire("draw",{node:this}),this},e.prototype.drawHit=function(t,e){var r=this.getLayer(),canvas=t||r&&r.hitCanvas;return r&&r.clearBeforeDraw()&&r.getHitCanvas().getContext().clear(),l.Container.prototype.drawHit.call(this,canvas,e),this},e.prototype.enableHitGraph=function(){return this.hitGraphEnabled(!0),this},e.prototype.disableHitGraph=function(){return this.hitGraphEnabled(!1),this},e.prototype.setHitGraphEnabled=function(t){h.Util.warn("hitGraphEnabled method is deprecated. Please use layer.listening() instead."),this.listening(t)},e.prototype.getHitGraphEnabled=function(t){return h.Util.warn("hitGraphEnabled method is deprecated. Please use layer.listening() instead."),this.listening()},e.prototype.toggleHitCanvas=function(){if(this.parent){var t=this.parent;!!this.hitCanvas._canvas.parentNode?t.content.removeChild(this.hitCanvas._canvas):t.content.appendChild(this.hitCanvas._canvas)}},e}(l.Container);e.Layer=M,M.prototype.nodeType="Layer",y._registerNode(M),f.Factory.addGetterSetter(M,"imageSmoothingEnabled",!0),f.Factory.addGetterSetter(M,"clearBeforeDraw",!0),f.Factory.addGetterSetter(M,"hitGraphEnabled",!0,m.getBooleanValidator()),h.Collection.mapMethods(M)},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)},function(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)}),h=this&&this.__spreadArrays||function(){for(var s=0,i=0,t=arguments.length;i<t;i++)s+=arguments[i].length;var e=Array(s),r=0;for(i=0;i<t;i++)for(var a=arguments[i],n=0,o=a.length;n<o;n++,r++)e[r]=a[n];return e};Object.defineProperty(e,"__esModule",{value:!0}),e.Line=void 0;var l=r(52),c=r(46),f=r(82),d=r(48),m=r(47),v=function(t){function e(e){var r=t.call(this,e)||this;return r.on("pointsChange.konva tensionChange.konva closedChange.konva bezierChange.konva",(function(){this._clearCache("tensionPoints")})),r}return o(e,t),e.prototype._sceneFunc=function(t){var e,r,n,o=this.points(),h=o.length,l=this.tension(),c=this.closed(),f=this.bezier();if(h){if(t.beginPath(),t.moveTo(o[0],o[1]),0!==l&&h>4){for(r=(e=this.getTensionPoints()).length,n=c?0:4,c||t.quadraticCurveTo(e[0],e[1],e[2],e[3]);n<r-2;)t.bezierCurveTo(e[n++],e[n++],e[n++],e[n++],e[n++],e[n++]);c||t.quadraticCurveTo(e[r-2],e[r-1],o[h-2],o[h-1])}else if(f)for(n=2;n<h;)t.bezierCurveTo(o[n++],o[n++],o[n++],o[n++],o[n++],o[n++]);else for(n=2;n<h;n+=2)t.lineTo(o[n],o[n+1]);c?(t.closePath(),t.fillStrokeShape(this)):t.strokeShape(this)}},e.prototype.getTensionPoints=function(){return this._getCache("tensionPoints",this._getTensionPoints)},e.prototype._getTensionPoints=function(){return this.closed()?this._getTensionPointsClosed():l.Util._expandPoints(this.points(),this.tension())},e.prototype._getTensionPointsClosed=function(){var p=this.points(),t=p.length,e=this.tension(),r=l.Util._getControlPoints(p[t-2],p[t-1],p[0],p[1],p[2],p[3],e),n=l.Util._getControlPoints(p[t-4],p[t-3],p[t-2],p[t-1],p[0],p[1],e),o=l.Util._expandPoints(p,e);return[r[2],r[3]].concat(o).concat([n[0],n[1],p[t-2],p[t-1],n[2],n[3],r[0],r[1],p[0],p[1]])},e.prototype.getWidth=function(){return this.getSelfRect().width},e.prototype.getHeight=function(){return this.getSelfRect().height},e.prototype.getSelfRect=function(){var t=this.points();if(t.length<4)return{x:t[0]||0,y:t[1]||0,width:0,height:0};for(var e,r,n=(t=0!==this.tension()?h([t[0],t[1]],this._getTensionPoints(),[t[t.length-2],t[t.length-1]]):this.points())[0],o=t[0],l=t[1],c=t[1],i=0;i<t.length/2;i++)e=t[2*i],r=t[2*i+1],n=Math.min(n,e),o=Math.max(o,e),l=Math.min(l,r),c=Math.max(c,r);return{x:n,y:l,width:o-n,height:c-l}},e}(f.Shape);e.Line=v,v.prototype.className="Line",v.prototype._attrsAffectingSize=["points","bezier","tension"],m._registerNode(v),c.Factory.addGetterSetter(v,"closed",!1),c.Factory.addGetterSetter(v,"bezier",!1),c.Factory.addGetterSetter(v,"tension",0,d.getNumberValidator()),c.Factory.addGetterSetter(v,"points",[],d.getNumberArrayValidator()),l.Collection.mapMethods(v)},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)},function(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0}),e.Path=void 0;var h=r(52),l=r(46),c=r(82),f=r(47),d=function(t){function e(r){var n=t.call(this,r)||this;n.dataArray=[],n.pathLength=0,n.dataArray=e.parsePathData(n.data()),n.pathLength=0;for(var i=0;i<n.dataArray.length;++i)n.pathLength+=n.dataArray[i].pathLength;return n.on("dataChange.konva",(function(){this.dataArray=e.parsePathData(this.data()),this.pathLength=0;for(var i=0;i<this.dataArray.length;++i)this.pathLength+=this.dataArray[i].pathLength})),n}return o(e,t),e.prototype._sceneFunc=function(t){var e=this.dataArray;t.beginPath();for(var r=!1,n=0;n<e.length;n++){var o=e[n].command,p=e[n].points;switch(o){case"L":t.lineTo(p[0],p[1]);break;case"M":t.moveTo(p[0],p[1]);break;case"C":t.bezierCurveTo(p[0],p[1],p[2],p[3],p[4],p[5]);break;case"Q":t.quadraticCurveTo(p[0],p[1],p[2],p[3]);break;case"A":var h=p[0],l=p[1],c=p[2],f=p[3],d=p[4],m=p[5],v=p[6],y=p[7],w=c>f?c:f,_=c>f?1:c/f,M=c>f?f/c:1;t.translate(h,l),t.rotate(v),t.scale(_,M),t.arc(0,0,w,d,d+m,1-y),t.scale(1/_,1/M),t.rotate(-v),t.translate(-h,-l);break;case"z":r=!0,t.closePath()}}r||this.hasFill()?t.fillStrokeShape(this):t.strokeShape(this)},e.prototype.getSelfRect=function(){var t=[];this.dataArray.forEach((function(data){if("A"===data.command){var r=data.points[4],n=data.points[5],o=data.points[4]+n,h=Math.PI/180;if(Math.abs(r-o)<h&&(h=Math.abs(r-o)),n<0)for(var l=r-h;l>o;l-=h){var c=e.getPointOnEllipticalArc(data.points[0],data.points[1],data.points[2],data.points[3],l,0);t.push(c.x,c.y)}else for(l=r+h;l<o;l+=h){c=e.getPointOnEllipticalArc(data.points[0],data.points[1],data.points[2],data.points[3],l,0);t.push(c.x,c.y)}}else if("C"===data.command)for(l=0;l<=1;l+=.01){c=e.getPointOnCubicBezier(l,data.start.x,data.start.y,data.points[0],data.points[1],data.points[2],data.points[3],data.points[4],data.points[5]);t.push(c.x,c.y)}else t=t.concat(data.points)}));for(var r,n,o=t[0],h=t[0],l=t[1],c=t[1],i=0;i<t.length/2;i++)r=t[2*i],n=t[2*i+1],isNaN(r)||(o=Math.min(o,r),h=Math.max(h,r)),isNaN(n)||(l=Math.min(l,n),c=Math.max(c,n));return{x:Math.round(o),y:Math.round(l),width:Math.round(h-o),height:Math.round(c-l)}},e.prototype.getLength=function(){return this.pathLength},e.prototype.getPointAtLength=function(t){var r,i=0,n=this.dataArray.length;if(!n)return null;for(;i<n&&t>this.dataArray[i].pathLength;)t-=this.dataArray[i].pathLength,++i;if(i===n)return{x:(r=this.dataArray[i-1].points.slice(-2))[0],y:r[1]};if(t<.01)return{x:(r=this.dataArray[i].points.slice(0,2))[0],y:r[1]};var o=this.dataArray[i],p=o.points;switch(o.command){case"L":return e.getPointOnLine(t,o.start.x,o.start.y,p[0],p[1]);case"C":return e.getPointOnCubicBezier(t/o.pathLength,o.start.x,o.start.y,p[0],p[1],p[2],p[3],p[4],p[5]);case"Q":return e.getPointOnQuadraticBezier(t/o.pathLength,o.start.x,o.start.y,p[0],p[1],p[2],p[3]);case"A":var h=p[0],l=p[1],c=p[2],f=p[3],d=p[4],m=p[5],v=p[6];return d+=m*t/o.pathLength,e.getPointOnEllipticalArc(h,l,c,f,d,v)}return null},e.getLineLength=function(t,e,r,n){return Math.sqrt((r-t)*(r-t)+(n-e)*(n-e))},e.getPointOnLine=function(t,e,r,n,o,h,l){void 0===h&&(h=e),void 0===l&&(l=r);var c=(o-r)/(n-e+1e-8),f=Math.sqrt(t*t/(1+c*c));n<e&&(f*=-1);var d,m=c*f;if(n===e)d={x:h,y:l+m};else if((l-r)/(h-e+1e-8)===c)d={x:h+f,y:l+m};else{var v,y,w=this.getLineLength(e,r,n,o),u=(h-e)*(n-e)+(l-r)*(o-r);v=e+(u/=w*w)*(n-e),y=r+u*(o-r);var _=this.getLineLength(h,l,v,y),M=Math.sqrt(t*t-_*_);f=Math.sqrt(M*M/(1+c*c)),n<e&&(f*=-1),d={x:v+f,y:y+(m=c*f)}}return d},e.getPointOnCubicBezier=function(t,e,r,n,o,h,l,c,f){function d(t){return t*t*t}function m(t){return 3*t*t*(1-t)}function v(t){return 3*t*(1-t)*(1-t)}function y(t){return(1-t)*(1-t)*(1-t)}return{x:c*d(t)+h*m(t)+n*v(t)+e*y(t),y:f*d(t)+l*m(t)+o*v(t)+r*y(t)}},e.getPointOnQuadraticBezier=function(t,e,r,n,o,h,l){function c(t){return t*t}function f(t){return 2*t*(1-t)}function d(t){return(1-t)*(1-t)}return{x:h*c(t)+n*f(t)+e*d(t),y:l*c(t)+o*f(t)+r*d(t)}},e.getPointOnEllipticalArc=function(t,e,r,n,o,h){var l=Math.cos(h),c=Math.sin(h),f=r*Math.cos(o),d=n*Math.sin(o);return{x:t+(f*l-d*c),y:e+(f*c+d*l)}},e.parsePathData=function(data){if(!data)return[];var t=data,e=["m","M","l","L","v","V","h","H","z","Z","c","C","q","Q","t","T","s","S","a","A"];t=t.replace(new RegExp(" ","g"),",");for(var r=0;r<e.length;r++)t=t.replace(new RegExp(e[r],"g"),"|"+e[r]);var n,o=t.split("|"),h=[],l=[],c=0,f=0,d=/([-+]?((\d+\.\d+)|((\d+)|(\.\d+)))(?:e[-+]?\d+)?)/gi;for(r=1;r<o.length;r++){var m=o[r],v=m.charAt(0);for(m=m.slice(1),l.length=0;n=d.exec(m);)l.push(n[0]);for(var p=[],y=0,w=l.length;y<w;y++){var _=parseFloat(l[y]);isNaN(_)?p.push(0):p.push(_)}for(;p.length>0&&!isNaN(p[0]);){var M,S,x,E,A,T,k,C,O,I,P=null,R=[],j=c,N=f;switch(v){case"l":c+=p.shift(),f+=p.shift(),P="L",R.push(c,f);break;case"L":c=p.shift(),f=p.shift(),R.push(c,f);break;case"m":var L=p.shift(),D=p.shift();if(c+=L,f+=D,P="M",h.length>2&&"z"===h[h.length-1].command)for(var B=h.length-2;B>=0;B--)if("M"===h[B].command){c=h[B].points[0]+L,f=h[B].points[1]+D;break}R.push(c,f),v="l";break;case"M":c=p.shift(),f=p.shift(),P="M",R.push(c,f),v="L";break;case"h":c+=p.shift(),P="L",R.push(c,f);break;case"H":c=p.shift(),P="L",R.push(c,f);break;case"v":f+=p.shift(),P="L",R.push(c,f);break;case"V":f=p.shift(),P="L",R.push(c,f);break;case"C":R.push(p.shift(),p.shift(),p.shift(),p.shift()),c=p.shift(),f=p.shift(),R.push(c,f);break;case"c":R.push(c+p.shift(),f+p.shift(),c+p.shift(),f+p.shift()),c+=p.shift(),f+=p.shift(),P="C",R.push(c,f);break;case"S":S=c,x=f,"C"===(M=h[h.length-1]).command&&(S=c+(c-M.points[2]),x=f+(f-M.points[3])),R.push(S,x,p.shift(),p.shift()),c=p.shift(),f=p.shift(),P="C",R.push(c,f);break;case"s":S=c,x=f,"C"===(M=h[h.length-1]).command&&(S=c+(c-M.points[2]),x=f+(f-M.points[3])),R.push(S,x,c+p.shift(),f+p.shift()),c+=p.shift(),f+=p.shift(),P="C",R.push(c,f);break;case"Q":R.push(p.shift(),p.shift()),c=p.shift(),f=p.shift(),R.push(c,f);break;case"q":R.push(c+p.shift(),f+p.shift()),c+=p.shift(),f+=p.shift(),P="Q",R.push(c,f);break;case"T":S=c,x=f,"Q"===(M=h[h.length-1]).command&&(S=c+(c-M.points[0]),x=f+(f-M.points[1])),c=p.shift(),f=p.shift(),P="Q",R.push(S,x,c,f);break;case"t":S=c,x=f,"Q"===(M=h[h.length-1]).command&&(S=c+(c-M.points[0]),x=f+(f-M.points[1])),c+=p.shift(),f+=p.shift(),P="Q",R.push(S,x,c,f);break;case"A":E=p.shift(),A=p.shift(),T=p.shift(),k=p.shift(),C=p.shift(),O=c,I=f,c=p.shift(),f=p.shift(),P="A",R=this.convertEndpointToCenterParameterization(O,I,c,f,k,C,E,A,T);break;case"a":E=p.shift(),A=p.shift(),T=p.shift(),k=p.shift(),C=p.shift(),O=c,I=f,c+=p.shift(),f+=p.shift(),P="A",R=this.convertEndpointToCenterParameterization(O,I,c,f,k,C,E,A,T)}h.push({command:P||v,points:R,start:{x:j,y:N},pathLength:this.calcLength(j,N,P||v,R)})}"z"!==v&&"Z"!==v||h.push({command:"z",points:[],start:void 0,pathLength:0})}return h},e.calcLength=function(t,r,n,o){var h,l,c,f,path=e;switch(n){case"L":return path.getLineLength(t,r,o[0],o[1]);case"C":for(h=0,l=path.getPointOnCubicBezier(0,t,r,o[0],o[1],o[2],o[3],o[4],o[5]),f=.01;f<=1;f+=.01)c=path.getPointOnCubicBezier(f,t,r,o[0],o[1],o[2],o[3],o[4],o[5]),h+=path.getLineLength(l.x,l.y,c.x,c.y),l=c;return h;case"Q":for(h=0,l=path.getPointOnQuadraticBezier(0,t,r,o[0],o[1],o[2],o[3]),f=.01;f<=1;f+=.01)c=path.getPointOnQuadraticBezier(f,t,r,o[0],o[1],o[2],o[3]),h+=path.getLineLength(l.x,l.y,c.x,c.y),l=c;return h;case"A":h=0;var d=o[4],m=o[5],v=o[4]+m,y=Math.PI/180;if(Math.abs(d-v)<y&&(y=Math.abs(d-v)),l=path.getPointOnEllipticalArc(o[0],o[1],o[2],o[3],d,0),m<0)for(f=d-y;f>v;f-=y)c=path.getPointOnEllipticalArc(o[0],o[1],o[2],o[3],f,0),h+=path.getLineLength(l.x,l.y,c.x,c.y),l=c;else for(f=d+y;f<v;f+=y)c=path.getPointOnEllipticalArc(o[0],o[1],o[2],o[3],f,0),h+=path.getLineLength(l.x,l.y,c.x,c.y),l=c;return c=path.getPointOnEllipticalArc(o[0],o[1],o[2],o[3],v,0),h+=path.getLineLength(l.x,l.y,c.x,c.y)}return 0},e.convertEndpointToCenterParameterization=function(t,e,r,n,o,h,l,c,f){var d=f*(Math.PI/180),m=Math.cos(d)*(t-r)/2+Math.sin(d)*(e-n)/2,v=-1*Math.sin(d)*(t-r)/2+Math.cos(d)*(e-n)/2,y=m*m/(l*l)+v*v/(c*c);y>1&&(l*=Math.sqrt(y),c*=Math.sqrt(y));var w=Math.sqrt((l*l*(c*c)-l*l*(v*v)-c*c*(m*m))/(l*l*(v*v)+c*c*(m*m)));o===h&&(w*=-1),isNaN(w)&&(w=0);var _=w*l*v/c,M=w*-c*m/l,S=(t+r)/2+Math.cos(d)*_-Math.sin(d)*M,x=(e+n)/2+Math.sin(d)*_+Math.cos(d)*M,E=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},A=function(u,t){return(u[0]*t[0]+u[1]*t[1])/(E(u)*E(t))},T=function(u,t){return(u[0]*t[1]<u[1]*t[0]?-1:1)*Math.acos(A(u,t))},k=T([1,0],[(m-_)/l,(v-M)/c]),u=[(m-_)/l,(v-M)/c],C=[(-1*m-_)/l,(-1*v-M)/c],O=T(u,C);return A(u,C)<=-1&&(O=Math.PI),A(u,C)>=1&&(O=0),0===h&&O>0&&(O-=2*Math.PI),1===h&&O<0&&(O+=2*Math.PI),[S,x,l,c,k,O,d,h]},e}(c.Shape);e.Path=d,d.prototype.className="Path",d.prototype._attrsAffectingSize=["data"],f._registerNode(d),l.Factory.addGetterSetter(d,"data"),h.Collection.mapMethods(d)},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)},function(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0}),e.Rect=void 0;var h=r(52),l=r(46),c=r(82),f=r(47),d=r(48),m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype._sceneFunc=function(t){var e=this.cornerRadius(),r=this.width(),n=this.height();if(t.beginPath(),e){var o=0,h=0,l=0,c=0;"number"==typeof e?o=h=l=c=Math.min(e,r/2,n/2):(o=Math.min(e[0]||0,r/2,n/2),h=Math.min(e[1]||0,r/2,n/2),c=Math.min(e[2]||0,r/2,n/2),l=Math.min(e[3]||0,r/2,n/2)),t.moveTo(o,0),t.lineTo(r-h,0),t.arc(r-h,h,h,3*Math.PI/2,0,!1),t.lineTo(r,n-c),t.arc(r-c,n-c,c,0,Math.PI/2,!1),t.lineTo(l,n),t.arc(l,n-l,l,Math.PI/2,Math.PI,!1),t.lineTo(0,o),t.arc(o,o,o,Math.PI,3*Math.PI/2,!1)}else t.rect(0,0,r,n);t.closePath(),t.fillStrokeShape(this)},e}(c.Shape);e.Rect=m,m.prototype.className="Rect",f._registerNode(m),l.Factory.addGetterSetter(m,"cornerRadius",0,d.getNumberOrArrayOfNumbersValidator(4)),h.Collection.mapMethods(m)},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)},function(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0}),e.Text=e.stringToArray=void 0;var h=r(52),l=r(46),c=r(82),f=r(47),d=r(48),m=r(47);function v(t){return Array.from(t)}e.stringToArray=v;var y,w=["fontFamily","fontSize","fontStyle","fontVariant","padding","align","verticalAlign","lineHeight","text","width","height","wrap","ellipsis","letterSpacing"],_=w.length;function M(){return y||(y=h.Util.createCanvasElement().getContext("2d"))}var S=function(t){function e(e){var r=t.call(this,function(t){return(t=t||{}).fillLinearGradientColorStops||t.fillRadialGradientColorStops||t.fillPatternImage||(t.fill=t.fill||"black"),t}(e))||this;r._partialTextX=0,r._partialTextY=0;for(var n=0;n<_;n++)r.on(w[n]+"Change.konva",r._setTextData);return r._setTextData(),r}return o(e,t),e.prototype._sceneFunc=function(t){var e=this.textArr,r=e.length;if(this.text()){var n,o=this.padding(),h=this.fontSize(),l=this.lineHeight()*h,c=this.verticalAlign(),f=0,d=this.align(),m=this.getWidth(),y=this.letterSpacing(),w=this.fill(),_=this.textDecoration(),M=-1!==_.indexOf("underline"),S=-1!==_.indexOf("line-through"),x=0,E=(x=l/2,0),A=0;for(t.setAttr("font",this._getContextFont()),t.setAttr("textBaseline","middle"),t.setAttr("textAlign","left"),"middle"===c?f=(this.getHeight()-r*l-2*o)/2:"bottom"===c&&(f=this.getHeight()-r*l-2*o),t.translate(o,f+o),n=0;n<r;n++){E=0,A=0;var T,k,C,O=e[n],text=O.text,I=O.width,P=n!==r-1;if(t.save(),"right"===d?E+=m-I-2*o:"center"===d&&(E+=(m-I-2*o)/2),M&&(t.save(),t.beginPath(),t.moveTo(E,x+A+Math.round(h/2)),k=0===(T=text.split(" ").length-1),C="justify"===d&&P&&!k?m-2*o:I,t.lineTo(E+Math.round(C),x+A+Math.round(h/2)),t.lineWidth=h/15,t.strokeStyle=w,t.stroke(),t.restore()),S&&(t.save(),t.beginPath(),t.moveTo(E,x+A),k=0===(T=text.split(" ").length-1),C="justify"===d&&P&&!k?m-2*o:I,t.lineTo(E+Math.round(C),x+A),t.lineWidth=h/15,t.strokeStyle=w,t.stroke(),t.restore()),0!==y||"justify"===d){T=text.split(" ").length-1;for(var R=v(text),li=0;li<R.length;li++){var j=R[li];" "===j&&n!==r-1&&"justify"===d&&(E+=(m-2*o-I)/T),this._partialTextX=E,this._partialTextY=x+A,this._partialText=j,t.fillStrokeShape(this),E+=this.measureSize(j).width+y}}else this._partialTextX=E,this._partialTextY=x+A,this._partialText=text,t.fillStrokeShape(this);t.restore(),r>1&&(x+=l)}}},e.prototype._hitFunc=function(t){var e=this.getWidth(),r=this.getHeight();t.beginPath(),t.rect(0,0,e,r),t.closePath(),t.fillStrokeShape(this)},e.prototype.setText=function(text){var t=h.Util._isString(text)?text:null==text?"":text+"";return this._setAttr("text",t),this},e.prototype.getWidth=function(){return"auto"===this.attrs.width||void 0===this.attrs.width?this.getTextWidth()+2*this.padding():this.attrs.width},e.prototype.getHeight=function(){return"auto"===this.attrs.height||void 0===this.attrs.height?this.fontSize()*this.textArr.length*this.lineHeight()+2*this.padding():this.attrs.height},e.prototype.getTextWidth=function(){return this.textWidth},e.prototype.getTextHeight=function(){return h.Util.warn("text.getTextHeight() method is deprecated. Use text.height() - for full height and text.fontSize() - for one line height."),this.textHeight},e.prototype.measureSize=function(text){var t,e=M(),r=this.fontSize();return e.save(),e.font=this._getContextFont(),t=e.measureText(text),e.restore(),{width:t.width,height:r}},e.prototype._getContextFont=function(){return f.Konva.UA.isIE?this.fontStyle()+" "+this.fontSize()+"px "+this.fontFamily():this.fontStyle()+" "+this.fontVariant()+" "+this.fontSize()+"px "+this.fontFamily().split(",").map((function(t){var e=(t=t.trim()).indexOf(" ")>=0,r=t.indexOf('"')>=0||t.indexOf("'")>=0;return e&&!r&&(t='"'+t+'"'),t})).join(", ")},e.prototype._addTextLine=function(line){"justify"===this.align()&&(line=line.trim());var t=this._getTextWidth(line);return this.textArr.push({text:line,width:t})},e.prototype._getTextWidth=function(text){var t=this.letterSpacing(),e=text.length;return M().measureText(text).width+(e?t*(e-1):0)},e.prototype._setTextData=function(){var t=this.text().split("\n"),e=+this.fontSize(),r=0,n=this.lineHeight()*e,o=this.attrs.width,h=this.attrs.height,l="auto"!==o&&void 0!==o,c="auto"!==h&&void 0!==h,f=this.padding(),d=o-2*f,m=h-2*f,v=0,y=this.wrap(),w="none"!==y,_="char"!==y&&w,S=this.ellipsis();this.textArr=[],M().font=this._getContextFont();for(var x=S?this._getTextWidth("…"):0,i=0,E=t.length;i<E;++i){var line=t[i],A=this._getTextWidth(line);if(l&&A>d)for(;line.length>0;){for(var T=0,k=line.length,C="",O=0;T<k;){var I=T+k>>>1,P=line.slice(0,I+1),R=this._getTextWidth(P)+x;R<=d?(T=I+1,C=P,O=R):k=I}if(!C)break;if(_){var j,N=line[C.length];(j=(" "===N||"-"===N)&&O<=d?C.length:Math.max(C.lastIndexOf(" "),C.lastIndexOf("-"))+1)>0&&(T=j,C=C.slice(0,T),O=this._getTextWidth(C))}if(C=C.trimRight(),this._addTextLine(C),r=Math.max(r,O),v+=n,!w||c&&v+n>m){var L=this.textArr[this.textArr.length-1];if(L)if(S)this._getTextWidth(L.text+"…")<d||(L.text=L.text.slice(0,L.text.length-3)),this.textArr.splice(this.textArr.length-1,1),this._addTextLine(L.text+"…");break}if((line=(line=line.slice(T)).trimLeft()).length>0&&(A=this._getTextWidth(line))<=d){this._addTextLine(line),v+=n,r=Math.max(r,A);break}}else this._addTextLine(line),v+=n,r=Math.max(r,A);if(c&&v+n>m)break}this.textHeight=e,this.textWidth=r},e.prototype.getStrokeScaleEnabled=function(){return!0},e}(c.Shape);e.Text=S,S.prototype._fillFunc=function(t){t.fillText(this._partialText,this._partialTextX,this._partialTextY)},S.prototype._strokeFunc=function(t){t.strokeText(this._partialText,this._partialTextX,this._partialTextY)},S.prototype.className="Text",S.prototype._attrsAffectingSize=["text","fontSize","padding","wrap","lineHeight","letterSpacing"],m._registerNode(S),l.Factory.overWriteSetter(S,"width",d.getNumberOrAutoValidator()),l.Factory.overWriteSetter(S,"height",d.getNumberOrAutoValidator()),l.Factory.addGetterSetter(S,"fontFamily","Arial"),l.Factory.addGetterSetter(S,"fontSize",12,d.getNumberValidator()),l.Factory.addGetterSetter(S,"fontStyle","normal"),l.Factory.addGetterSetter(S,"fontVariant","normal"),l.Factory.addGetterSetter(S,"padding",0,d.getNumberValidator()),l.Factory.addGetterSetter(S,"align","left"),l.Factory.addGetterSetter(S,"verticalAlign","top"),l.Factory.addGetterSetter(S,"lineHeight",1,d.getNumberValidator()),l.Factory.addGetterSetter(S,"wrap","word"),l.Factory.addGetterSetter(S,"ellipsis",!1,d.getBooleanValidator()),l.Factory.addGetterSetter(S,"letterSpacing",0,d.getNumberValidator()),l.Factory.addGetterSetter(S,"text","",d.getStringValidator()),l.Factory.addGetterSetter(S,"textDecoration",""),h.Collection.mapMethods(S)},,,,,,,,,,,,,function(t,e,r){e.UTF8_TO_JIS_TABLE=r(948),e.UTF8_TO_JISX0212_TABLE=r(949),e.JIS_TO_UTF8_TABLE=r(950),e.JISX0212_TO_UTF8_TABLE=r(951)},function(t,e){e.isBINARY=function(data){for(var t,i=0,e=data&&data.length;i<e;i++){if((t=data[i])>255)return!1;if(t>=0&&t<=7||255===t)return!0}return!1},e.isASCII=function(data){for(var b,i=0,t=data&&data.length;i<t;i++)if((b=data[i])>255||b>=128&&b<=255||27===b)return!1;return!0},e.isJIS=function(data){for(var b,t,e,i=0,r=data&&data.length;i<r;i++){if((b=data[i])>255||b>=128&&b<=255)return!1;if(27===b){if(i+2>=r)return!1;if(t=data[i+1],e=data[i+2],36===t){if(40===e||64===e||66===e)return!0}else{if(38===t&&64===e)return!0;if(40===t&&(66===e||73===e||74===e))return!0}}}return!1},e.isEUCJP=function(data){for(var b,i=0,t=data&&data.length;i<t;i++)if(!((b=data[i])<128)){if(b>255||b<142)return!1;if(142===b){if(i+1>=t)return!1;if((b=data[++i])<161||223<b)return!1}else if(143===b){if(i+2>=t)return!1;if((b=data[++i])<162||237<b)return!1;if((b=data[++i])<161||254<b)return!1}else{if(!(161<=b&&b<=254))return!1;if(i+1>=t)return!1;if((b=data[++i])<161||254<b)return!1}}return!0},e.isSJIS=function(data){for(var b,i=0,t=data&&data.length;i<t&&data[i]>128;)if(data[i++]>255)return!1;for(;i<t;i++)if(!((b=data[i])<=128||161<=b&&b<=223)){if(160===b||b>239||i+1>=t)return!1;if((b=data[++i])<64||127===b||b>252)return!1}return!0},e.isUTF8=function(data){for(var b,i=0,t=data&&data.length;i<t;i++){if((b=data[i])>255)return!1;if(!(9===b||10===b||13===b||b>=32&&b<=126))if(b>=194&&b<=223){if(i+1>=t||data[i+1]<128||data[i+1]>191)return!1;i++}else if(224===b){if(i+2>=t||data[i+1]<160||data[i+1]>191||data[i+2]<128||data[i+2]>191)return!1;i+=2}else if(b>=225&&b<=236||238===b||239===b){if(i+2>=t||data[i+1]<128||data[i+1]>191||data[i+2]<128||data[i+2]>191)return!1;i+=2}else if(237===b){if(i+2>=t||data[i+1]<128||data[i+1]>159||data[i+2]<128||data[i+2]>191)return!1;i+=2}else if(240===b){if(i+3>=t||data[i+1]<144||data[i+1]>191||data[i+2]<128||data[i+2]>191||data[i+3]<128||data[i+3]>191)return!1;i+=3}else if(b>=241&&b<=243){if(i+3>=t||data[i+1]<128||data[i+1]>191||data[i+2]<128||data[i+2]>191||data[i+3]<128||data[i+3]>191)return!1;i+=3}else{if(244!==b)return!1;if(i+3>=t||data[i+1]<128||data[i+1]>143||data[i+2]<128||data[i+2]>191||data[i+3]<128||data[i+3]>191)return!1;i+=3}}return!0},e.isUTF16=function(data){var t,e,r,n,i=0,o=data&&data.length,h=null;if(o<2){if(data[0]>255)return!1}else{if(t=data[0],e=data[1],255===t&&254===e)return!0;if(254===t&&255===e)return!0;for(;i<o;i++){if(0===data[i]){h=i;break}if(data[i]>255)return!1}if(null===h)return!1;if(void 0!==(r=data[h+1])&&r>0&&r<128)return!0;if(void 0!==(n=data[h-1])&&n>0&&n<128)return!0}return!1},e.isUTF16BE=function(data){var t,e,i=0,r=data&&data.length,n=null;if(r<2){if(data[0]>255)return!1}else{if(t=data[0],e=data[1],254===t&&255===e)return!0;for(;i<r;i++){if(0===data[i]){n=i;break}if(data[i]>255)return!1}if(null===n)return!1;if(n%2==0)return!0}return!1},e.isUTF16LE=function(data){var t,e,i=0,r=data&&data.length,n=null;if(r<2){if(data[0]>255)return!1}else{if(t=data[0],e=data[1],255===t&&254===e)return!0;for(;i<r;i++){if(0===data[i]){n=i;break}if(data[i]>255)return!1}if(null===n)return!1;if(n%2!=0)return!0}return!1},e.isUTF32=function(data){var t,e,r,n,o,h,i=0,l=data&&data.length,c=null;if(l<4){for(;i<l;i++)if(data[i]>255)return!1}else{if(t=data[0],e=data[1],r=data[2],n=data[3],0===t&&0===e&&254===r&&255===n)return!0;if(255===t&&254===e&&0===r&&0===n)return!0;for(;i<l;i++){if(0===data[i]&&0===data[i+1]&&0===data[i+2]){c=i;break}if(data[i]>255)return!1}if(null===c)return!1;if(void 0!==(o=data[c+3])&&o>0&&o<=127)return 0===data[c+2]&&0===data[c+1];if(void 0!==(h=data[c-1])&&h>0&&h<=127)return 0===data[c+1]&&0===data[c+2]}return!1},e.isUNICODE=function(data){for(var t,i=0,e=data&&data.length;i<e;i++)if((t=data[i])<0||t>1114111)return!1;return!0}},function(t,e,r){"use strict";r.r(e),r.d(e,"Swiper",(function(){return n.a})),r.d(e,"default",(function(){return n.a})),r.d(e,"Virtual",(function(){return f})),r.d(e,"Keyboard",(function(){return y})),r.d(e,"Mousewheel",(function(){return w.a})),r.d(e,"Navigation",(function(){return _.a})),r.d(e,"Pagination",(function(){return M.a})),r.d(e,"Scrollbar",(function(){return E})),r.d(e,"Parallax",(function(){return k})),r.d(e,"Zoom",(function(){return I})),r.d(e,"Lazy",(function(){return j})),r.d(e,"Controller",(function(){return D})),r.d(e,"A11y",(function(){return U})),r.d(e,"History",(function(){return G})),r.d(e,"HashNavigation",(function(){return W})),r.d(e,"Autoplay",(function(){return Y.a})),r.d(e,"EffectFade",(function(){return Z})),r.d(e,"EffectCube",(function(){return tt})),r.d(e,"EffectFlip",(function(){return nt})),r.d(e,"EffectCoverflow",(function(){return st})),r.d(e,"Thumbs",(function(){return lt}));var n=r(363),o=r(27),h=r(21);function l(){return(l=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var e in source)Object.prototype.hasOwnProperty.call(source,e)&&(t[e]=source[e])}return t}).apply(this,arguments)}var c={update:function(t){var e=this,r=e.params,n=r.slidesPerView,o=r.slidesPerGroup,l=r.centeredSlides,c=e.params.virtual,f=c.addSlidesBefore,d=c.addSlidesAfter,m=e.virtual,v=m.from,y=m.to,w=m.slides,_=m.slidesGrid,M=m.renderSlide,S=m.offset;e.updateActiveIndex();var x,E,A,T=e.activeIndex||0;x=e.rtlTranslate?"right":e.isHorizontal()?"left":"top",l?(E=Math.floor(n/2)+o+d,A=Math.floor(n/2)+o+f):(E=n+(o-1)+d,A=o+f);var k=Math.max((T||0)-A,0),C=Math.min((T||0)+E,w.length-1),O=(e.slidesGrid[k]||0)-(e.slidesGrid[0]||0);function I(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.lazy&&e.params.lazy.enabled&&e.lazy.load()}if(Object(h.e)(e.virtual,{from:k,to:C,offset:O,slidesGrid:e.slidesGrid}),v===k&&y===C&&!t)return e.slidesGrid!==_&&O!==S&&e.slides.css(x,O+"px"),void e.updateProgress();if(e.params.virtual.renderExternal)return e.params.virtual.renderExternal.call(e,{offset:O,from:k,to:C,slides:function(){for(var t=[],i=k;i<=C;i+=1)t.push(w[i]);return t}()}),void(e.params.virtual.renderExternalUpdate&&I());var P=[],R=[];if(t)e.$wrapperEl.find("."+e.params.slideClass).remove();else for(var i=v;i<=y;i+=1)(i<k||i>C)&&e.$wrapperEl.find("."+e.params.slideClass+'[data-swiper-slide-index="'+i+'"]').remove();for(var j=0;j<w.length;j+=1)j>=k&&j<=C&&(void 0===y||t?R.push(j):(j>y&&R.push(j),j<v&&P.push(j)));R.forEach((function(t){e.$wrapperEl.append(M(w[t],t))})),P.sort((function(a,b){return b-a})).forEach((function(t){e.$wrapperEl.prepend(M(w[t],t))})),e.$wrapperEl.children(".swiper-slide").css(x,O+"px"),I()},renderSlide:function(t,e){var r=this.params.virtual;if(r.cache&&this.virtual.cache[e])return this.virtual.cache[e];var n=r.renderSlide?Object(o.a)(r.renderSlide.call(this,t,e)):Object(o.a)('<div class="'+this.params.slideClass+'" data-swiper-slide-index="'+e+'">'+t+"</div>");return n.attr("data-swiper-slide-index")||n.attr("data-swiper-slide-index",e),r.cache&&(this.virtual.cache[e]=n),n},appendSlide:function(t){if("object"==typeof t&&"length"in t)for(var i=0;i<t.length;i+=1)t[i]&&this.virtual.slides.push(t[i]);else this.virtual.slides.push(t);this.virtual.update(!0)},prependSlide:function(t){var e=this.activeIndex,r=e+1,n=1;if(Array.isArray(t)){for(var i=0;i<t.length;i+=1)t[i]&&this.virtual.slides.unshift(t[i]);r=e+t.length,n=t.length}else this.virtual.slides.unshift(t);if(this.params.virtual.cache){var o=this.virtual.cache,h={};Object.keys(o).forEach((function(t){var e=o[t],r=e.attr("data-swiper-slide-index");r&&e.attr("data-swiper-slide-index",parseInt(r,10)+1),h[parseInt(t,10)+n]=e})),this.virtual.cache=h}this.virtual.update(!0),this.slideTo(r,0)},removeSlide:function(t){if(null!=t){var e=this.activeIndex;if(Array.isArray(t))for(var i=t.length-1;i>=0;i-=1)this.virtual.slides.splice(t[i],1),this.params.virtual.cache&&delete this.virtual.cache[t[i]],t[i]<e&&(e-=1),e=Math.max(e,0);else this.virtual.slides.splice(t,1),this.params.virtual.cache&&delete this.virtual.cache[t],t<e&&(e-=1),e=Math.max(e,0);this.virtual.update(!0),this.slideTo(e,0)}},removeAllSlides:function(){this.virtual.slides=[],this.params.virtual.cache&&(this.virtual.cache={}),this.virtual.update(!0),this.slideTo(0,0)}},f={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}},create:function(){Object(h.a)(this,{virtual:l({},c,{slides:this.params.virtual.slides,cache:{}})})},on:{beforeInit:function(t){if(t.params.virtual.enabled){t.classNames.push(t.params.containerModifierClass+"virtual");var e={watchSlidesProgress:!0};Object(h.e)(t.params,e),Object(h.e)(t.originalParams,e),t.params.initialSlide||t.virtual.update()}},setTranslate:function(t){t.params.virtual.enabled&&t.virtual.update()}}},d=r(29);function m(){return(m=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var e in source)Object.prototype.hasOwnProperty.call(source,e)&&(t[e]=source[e])}return t}).apply(this,arguments)}var v={handle:function(t){if(this.enabled){var e=Object(d.b)(),r=Object(d.a)(),n=this.rtlTranslate,o=t;o.originalEvent&&(o=o.originalEvent);var h=o.keyCode||o.charCode,l=this.params.keyboard.pageUpDown,c=l&&33===h,f=l&&34===h,m=37===h,v=39===h,y=38===h,w=40===h;if(!this.allowSlideNext&&(this.isHorizontal()&&v||this.isVertical()&&w||f))return!1;if(!this.allowSlidePrev&&(this.isHorizontal()&&m||this.isVertical()&&y||c))return!1;if(!(o.shiftKey||o.altKey||o.ctrlKey||o.metaKey||r.activeElement&&r.activeElement.nodeName&&("input"===r.activeElement.nodeName.toLowerCase()||"textarea"===r.activeElement.nodeName.toLowerCase()))){if(this.params.keyboard.onlyInViewport&&(c||f||m||v||y||w)){var _=!1;if(this.$el.parents("."+this.params.slideClass).length>0&&0===this.$el.parents("."+this.params.slideActiveClass).length)return;var M=this.$el,S=M[0].clientWidth,x=M[0].clientHeight,E=e.innerWidth,A=e.innerHeight,T=this.$el.offset();n&&(T.left-=this.$el[0].scrollLeft);for(var k=[[T.left,T.top],[T.left+S,T.top],[T.left,T.top+x],[T.left+S,T.top+x]],i=0;i<k.length;i+=1){var C=k[i];if(C[0]>=0&&C[0]<=E&&C[1]>=0&&C[1]<=A){if(0===C[0]&&0===C[1])continue;_=!0}}if(!_)return}this.isHorizontal()?((c||f||m||v)&&(o.preventDefault?o.preventDefault():o.returnValue=!1),((f||v)&&!n||(c||m)&&n)&&this.slideNext(),((c||m)&&!n||(f||v)&&n)&&this.slidePrev()):((c||f||y||w)&&(o.preventDefault?o.preventDefault():o.returnValue=!1),(f||w)&&this.slideNext(),(c||y)&&this.slidePrev()),this.emit("keyPress",h)}}},enable:function(){var t=Object(d.a)();this.keyboard.enabled||(Object(o.a)(t).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){var t=Object(d.a)();this.keyboard.enabled&&(Object(o.a)(t).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},y={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}},create:function(){Object(h.a)(this,{keyboard:m({enabled:!1},v)})},on:{init:function(t){t.params.keyboard.enabled&&t.keyboard.enable()},destroy:function(t){t.keyboard.enabled&&t.keyboard.disable()}}},w=r(589),_=r(590),M=r(591);function S(){return(S=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var e in source)Object.prototype.hasOwnProperty.call(source,e)&&(t[e]=source[e])}return t}).apply(this,arguments)}var x={setTranslate:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var t=this.scrollbar,e=this.rtlTranslate,progress=this.progress,r=t.dragSize,n=t.trackSize,o=t.$dragEl,h=t.$el,l=this.params.scrollbar,c=r,f=(n-r)*progress;e?(f=-f)>0?(c=r-f,f=0):-f+r>n&&(c=n+f):f<0?(c=r+f,f=0):f+r>n&&(c=n-f),this.isHorizontal()?(o.transform("translate3d("+f+"px, 0, 0)"),o[0].style.width=c+"px"):(o.transform("translate3d(0px, "+f+"px, 0)"),o[0].style.height=c+"px"),l.hide&&(clearTimeout(this.scrollbar.timeout),h[0].style.opacity=1,this.scrollbar.timeout=setTimeout((function(){h[0].style.opacity=0,h.transition(400)}),1e3))}},setTransition:function(t){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(t)},updateSize:function(){if(this.params.scrollbar.el&&this.scrollbar.el){var t=this.scrollbar,e=t.$dragEl,r=t.$el;e[0].style.width="",e[0].style.height="";var n,o=this.isHorizontal()?r[0].offsetWidth:r[0].offsetHeight,l=this.size/this.virtualSize,c=l*(o/this.size);n="auto"===this.params.scrollbar.dragSize?o*l:parseInt(this.params.scrollbar.dragSize,10),this.isHorizontal()?e[0].style.width=n+"px":e[0].style.height=n+"px",r[0].style.display=l>=1?"none":"",this.params.scrollbar.hide&&(r[0].style.opacity=0),Object(h.e)(t,{trackSize:o,divider:l,moveDivider:c,dragSize:n}),this.params.watchOverflow&&this.enabled&&t.$el[this.isLocked?"addClass":"removeClass"](this.params.scrollbar.lockClass)}},getPointerPosition:function(t){return this.isHorizontal()?"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientX:t.clientX:"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientY:t.clientY},setDragPosition:function(t){var e,r=this.scrollbar,n=this.rtlTranslate,o=r.$el,h=r.dragSize,l=r.trackSize,c=r.dragStartPos;e=(r.getPointerPosition(t)-o.offset()[this.isHorizontal()?"left":"top"]-(null!==c?c:h/2))/(l-h),e=Math.max(Math.min(e,1),0),n&&(e=1-e);var f=this.minTranslate()+(this.maxTranslate()-this.minTranslate())*e;this.updateProgress(f),this.setTranslate(f),this.updateActiveIndex(),this.updateSlidesClasses()},onDragStart:function(t){var e=this.params.scrollbar,r=this.scrollbar,n=this.$wrapperEl,o=r.$el,h=r.$dragEl;this.scrollbar.isTouched=!0,this.scrollbar.dragStartPos=t.target===h[0]||t.target===h?r.getPointerPosition(t)-t.target.getBoundingClientRect()[this.isHorizontal()?"left":"top"]:null,t.preventDefault(),t.stopPropagation(),n.transition(100),h.transition(100),r.setDragPosition(t),clearTimeout(this.scrollbar.dragTimeout),o.transition(0),e.hide&&o.css("opacity",1),this.params.cssMode&&this.$wrapperEl.css("scroll-snap-type","none"),this.emit("scrollbarDragStart",t)},onDragMove:function(t){var e=this.scrollbar,r=this.$wrapperEl,n=e.$el,o=e.$dragEl;this.scrollbar.isTouched&&(t.preventDefault?t.preventDefault():t.returnValue=!1,e.setDragPosition(t),r.transition(0),n.transition(0),o.transition(0),this.emit("scrollbarDragMove",t))},onDragEnd:function(t){var e=this.params.scrollbar,r=this.scrollbar,n=this.$wrapperEl,o=r.$el;this.scrollbar.isTouched&&(this.scrollbar.isTouched=!1,this.params.cssMode&&(this.$wrapperEl.css("scroll-snap-type",""),n.transition("")),e.hide&&(clearTimeout(this.scrollbar.dragTimeout),this.scrollbar.dragTimeout=Object(h.h)((function(){o.css("opacity",0),o.transition(400)}),1e3)),this.emit("scrollbarDragEnd",t),e.snapOnRelease&&this.slideToClosest())},enableDraggable:function(){if(this.params.scrollbar.el){var t=Object(d.a)(),e=this.scrollbar,r=this.touchEventsTouch,n=this.touchEventsDesktop,o=this.params,h=this.support,l=e.$el[0],c=!(!h.passiveListener||!o.passiveListeners)&&{passive:!1,capture:!1},f=!(!h.passiveListener||!o.passiveListeners)&&{passive:!0,capture:!1};l&&(h.touch?(l.addEventListener(r.start,this.scrollbar.onDragStart,c),l.addEventListener(r.move,this.scrollbar.onDragMove,c),l.addEventListener(r.end,this.scrollbar.onDragEnd,f)):(l.addEventListener(n.start,this.scrollbar.onDragStart,c),t.addEventListener(n.move,this.scrollbar.onDragMove,c),t.addEventListener(n.end,this.scrollbar.onDragEnd,f)))}},disableDraggable:function(){if(this.params.scrollbar.el){var t=Object(d.a)(),e=this.scrollbar,r=this.touchEventsTouch,n=this.touchEventsDesktop,o=this.params,h=this.support,l=e.$el[0],c=!(!h.passiveListener||!o.passiveListeners)&&{passive:!1,capture:!1},f=!(!h.passiveListener||!o.passiveListeners)&&{passive:!0,capture:!1};l&&(h.touch?(l.removeEventListener(r.start,this.scrollbar.onDragStart,c),l.removeEventListener(r.move,this.scrollbar.onDragMove,c),l.removeEventListener(r.end,this.scrollbar.onDragEnd,f)):(l.removeEventListener(n.start,this.scrollbar.onDragStart,c),t.removeEventListener(n.move,this.scrollbar.onDragMove,c),t.removeEventListener(n.end,this.scrollbar.onDragEnd,f)))}},init:function(){var t=this.scrollbar,e=this.$el;this.params.scrollbar=Object(h.c)(e,this.params.scrollbar,this.params.createElements,{el:"swiper-scrollbar"});var r=this.params.scrollbar;if(r.el){var n=Object(o.a)(r.el);this.params.uniqueNavElements&&"string"==typeof r.el&&n.length>1&&1===e.find(r.el).length&&(n=e.find(r.el));var l=n.find("."+this.params.scrollbar.dragClass);0===l.length&&(l=Object(o.a)('<div class="'+this.params.scrollbar.dragClass+'"></div>'),n.append(l)),Object(h.e)(t,{$el:n,el:n[0],$dragEl:l,dragEl:l[0]}),r.draggable&&t.enableDraggable(),n&&n[this.enabled?"removeClass":"addClass"](this.params.scrollbar.lockClass)}},destroy:function(){this.scrollbar.disableDraggable()}},E={name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){Object(h.a)(this,{scrollbar:S({isTouched:!1,timeout:null,dragTimeout:null},x)})},on:{init:function(t){t.scrollbar.init(),t.scrollbar.updateSize(),t.scrollbar.setTranslate()},update:function(t){t.scrollbar.updateSize()},resize:function(t){t.scrollbar.updateSize()},observerUpdate:function(t){t.scrollbar.updateSize()},setTranslate:function(t){t.scrollbar.setTranslate()},setTransition:function(t,e){t.scrollbar.setTransition(e)},"enable disable":function(t){var e=t.scrollbar.$el;e&&e[t.enabled?"removeClass":"addClass"](t.params.scrollbar.lockClass)},destroy:function(t){t.scrollbar.destroy()}}};function A(){return(A=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var e in source)Object.prototype.hasOwnProperty.call(source,e)&&(t[e]=source[e])}return t}).apply(this,arguments)}var T={setTransform:function(t,progress){var e=this.rtl,r=Object(o.a)(t),n=e?-1:1,p=r.attr("data-swiper-parallax")||"0",h=r.attr("data-swiper-parallax-x"),l=r.attr("data-swiper-parallax-y"),c=r.attr("data-swiper-parallax-scale"),f=r.attr("data-swiper-parallax-opacity");if(h||l?(h=h||"0",l=l||"0"):this.isHorizontal()?(h=p,l="0"):(l=p,h="0"),h=h.indexOf("%")>=0?parseInt(h,10)*progress*n+"%":h*progress*n+"px",l=l.indexOf("%")>=0?parseInt(l,10)*progress+"%":l*progress+"px",null!=f){var d=f-(f-1)*(1-Math.abs(progress));r[0].style.opacity=d}if(null==c)r.transform("translate3d("+h+", "+l+", 0px)");else{var m=c-(c-1)*(1-Math.abs(progress));r.transform("translate3d("+h+", "+l+", 0px) scale("+m+")")}},setTranslate:function(){var t=this,e=t.$el,r=t.slides,progress=t.progress,n=t.snapGrid;e.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(e){t.parallax.setTransform(e,progress)})),r.each((function(e,r){var h=e.progress;t.params.slidesPerGroup>1&&"auto"!==t.params.slidesPerView&&(h+=Math.ceil(r/2)-progress*(n.length-1)),h=Math.min(Math.max(h,-1),1),Object(o.a)(e).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(e){t.parallax.setTransform(e,h)}))}))},setTransition:function(t){void 0===t&&(t=this.params.speed);this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((function(e){var r=Object(o.a)(e),n=parseInt(r.attr("data-swiper-parallax-duration"),10)||t;0===t&&(n=0),r.transition(n)}))}},k={name:"parallax",params:{parallax:{enabled:!1}},create:function(){Object(h.a)(this,{parallax:A({},T)})},on:{beforeInit:function(t){t.params.parallax.enabled&&(t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0)},init:function(t){t.params.parallax.enabled&&t.parallax.setTranslate()},setTranslate:function(t){t.params.parallax.enabled&&t.parallax.setTranslate()},setTransition:function(t,e){t.params.parallax.enabled&&t.parallax.setTransition(e)}}};function C(){return(C=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var e in source)Object.prototype.hasOwnProperty.call(source,e)&&(t[e]=source[e])}return t}).apply(this,arguments)}var O={getDistanceBetweenTouches:function(t){if(t.targetTouches.length<2)return 1;var e=t.targetTouches[0].pageX,r=t.targetTouches[0].pageY,n=t.targetTouches[1].pageX,o=t.targetTouches[1].pageY;return Math.sqrt(Math.pow(n-e,2)+Math.pow(o-r,2))},onGestureStart:function(t){var e=this.support,r=this.params.zoom,n=this.zoom,h=n.gesture;if(n.fakeGestureTouched=!1,n.fakeGestureMoved=!1,!e.gestures){if("touchstart"!==t.type||"touchstart"===t.type&&t.targetTouches.length<2)return;n.fakeGestureTouched=!0,h.scaleStart=O.getDistanceBetweenTouches(t)}h.$slideEl&&h.$slideEl.length||(h.$slideEl=Object(o.a)(t.target).closest("."+this.params.slideClass),0===h.$slideEl.length&&(h.$slideEl=this.slides.eq(this.activeIndex)),h.$imageEl=h.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),h.$imageWrapEl=h.$imageEl.parent("."+r.containerClass),h.maxRatio=h.$imageWrapEl.attr("data-swiper-zoom")||r.maxRatio,0!==h.$imageWrapEl.length)?(h.$imageEl&&h.$imageEl.transition(0),this.zoom.isScaling=!0):h.$imageEl=void 0},onGestureChange:function(t){var e=this.support,r=this.params.zoom,n=this.zoom,o=n.gesture;if(!e.gestures){if("touchmove"!==t.type||"touchmove"===t.type&&t.targetTouches.length<2)return;n.fakeGestureMoved=!0,o.scaleMove=O.getDistanceBetweenTouches(t)}o.$imageEl&&0!==o.$imageEl.length?(e.gestures?n.scale=t.scale*n.currentScale:n.scale=o.scaleMove/o.scaleStart*n.currentScale,n.scale>o.maxRatio&&(n.scale=o.maxRatio-1+Math.pow(n.scale-o.maxRatio+1,.5)),n.scale<r.minRatio&&(n.scale=r.minRatio+1-Math.pow(r.minRatio-n.scale+1,.5)),o.$imageEl.transform("translate3d(0,0,0) scale("+n.scale+")")):"gesturechange"===t.type&&n.onGestureStart(t)},onGestureEnd:function(t){var e=this.device,r=this.support,n=this.params.zoom,o=this.zoom,h=o.gesture;if(!r.gestures){if(!o.fakeGestureTouched||!o.fakeGestureMoved)return;if("touchend"!==t.type||"touchend"===t.type&&t.changedTouches.length<2&&!e.android)return;o.fakeGestureTouched=!1,o.fakeGestureMoved=!1}h.$imageEl&&0!==h.$imageEl.length&&(o.scale=Math.max(Math.min(o.scale,h.maxRatio),n.minRatio),h.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale("+o.scale+")"),o.currentScale=o.scale,o.isScaling=!1,1===o.scale&&(h.$slideEl=void 0))},onTouchStart:function(t){var e=this.device,r=this.zoom,n=r.gesture,image=r.image;n.$imageEl&&0!==n.$imageEl.length&&(image.isTouched||(e.android&&t.cancelable&&t.preventDefault(),image.isTouched=!0,image.touchesStart.x="touchstart"===t.type?t.targetTouches[0].pageX:t.pageX,image.touchesStart.y="touchstart"===t.type?t.targetTouches[0].pageY:t.pageY))},onTouchMove:function(t){var e=this.zoom,r=e.gesture,image=e.image,n=e.velocity;if(r.$imageEl&&0!==r.$imageEl.length&&(this.allowClick=!1,image.isTouched&&r.$slideEl)){image.isMoved||(image.width=r.$imageEl[0].offsetWidth,image.height=r.$imageEl[0].offsetHeight,image.startX=Object(h.f)(r.$imageWrapEl[0],"x")||0,image.startY=Object(h.f)(r.$imageWrapEl[0],"y")||0,r.slideWidth=r.$slideEl[0].offsetWidth,r.slideHeight=r.$slideEl[0].offsetHeight,r.$imageWrapEl.transition(0));var o=image.width*e.scale,l=image.height*e.scale;if(!(o<r.slideWidth&&l<r.slideHeight)){if(image.minX=Math.min(r.slideWidth/2-o/2,0),image.maxX=-image.minX,image.minY=Math.min(r.slideHeight/2-l/2,0),image.maxY=-image.minY,image.touchesCurrent.x="touchmove"===t.type?t.targetTouches[0].pageX:t.pageX,image.touchesCurrent.y="touchmove"===t.type?t.targetTouches[0].pageY:t.pageY,!image.isMoved&&!e.isScaling){if(this.isHorizontal()&&(Math.floor(image.minX)===Math.floor(image.startX)&&image.touchesCurrent.x<image.touchesStart.x||Math.floor(image.maxX)===Math.floor(image.startX)&&image.touchesCurrent.x>image.touchesStart.x))return void(image.isTouched=!1);if(!this.isHorizontal()&&(Math.floor(image.minY)===Math.floor(image.startY)&&image.touchesCurrent.y<image.touchesStart.y||Math.floor(image.maxY)===Math.floor(image.startY)&&image.touchesCurrent.y>image.touchesStart.y))return void(image.isTouched=!1)}t.cancelable&&t.preventDefault(),t.stopPropagation(),image.isMoved=!0,image.currentX=image.touchesCurrent.x-image.touchesStart.x+image.startX,image.currentY=image.touchesCurrent.y-image.touchesStart.y+image.startY,image.currentX<image.minX&&(image.currentX=image.minX+1-Math.pow(image.minX-image.currentX+1,.8)),image.currentX>image.maxX&&(image.currentX=image.maxX-1+Math.pow(image.currentX-image.maxX+1,.8)),image.currentY<image.minY&&(image.currentY=image.minY+1-Math.pow(image.minY-image.currentY+1,.8)),image.currentY>image.maxY&&(image.currentY=image.maxY-1+Math.pow(image.currentY-image.maxY+1,.8)),n.prevPositionX||(n.prevPositionX=image.touchesCurrent.x),n.prevPositionY||(n.prevPositionY=image.touchesCurrent.y),n.prevTime||(n.prevTime=Date.now()),n.x=(image.touchesCurrent.x-n.prevPositionX)/(Date.now()-n.prevTime)/2,n.y=(image.touchesCurrent.y-n.prevPositionY)/(Date.now()-n.prevTime)/2,Math.abs(image.touchesCurrent.x-n.prevPositionX)<2&&(n.x=0),Math.abs(image.touchesCurrent.y-n.prevPositionY)<2&&(n.y=0),n.prevPositionX=image.touchesCurrent.x,n.prevPositionY=image.touchesCurrent.y,n.prevTime=Date.now(),r.$imageWrapEl.transform("translate3d("+image.currentX+"px, "+image.currentY+"px,0)")}}},onTouchEnd:function(){var t=this.zoom,e=t.gesture,image=t.image,r=t.velocity;if(e.$imageEl&&0!==e.$imageEl.length){if(!image.isTouched||!image.isMoved)return image.isTouched=!1,void(image.isMoved=!1);image.isTouched=!1,image.isMoved=!1;var n=300,o=300,h=r.x*n,l=image.currentX+h,c=r.y*o,f=image.currentY+c;0!==r.x&&(n=Math.abs((l-image.currentX)/r.x)),0!==r.y&&(o=Math.abs((f-image.currentY)/r.y));var d=Math.max(n,o);image.currentX=l,image.currentY=f;var m=image.width*t.scale,v=image.height*t.scale;image.minX=Math.min(e.slideWidth/2-m/2,0),image.maxX=-image.minX,image.minY=Math.min(e.slideHeight/2-v/2,0),image.maxY=-image.minY,image.currentX=Math.max(Math.min(image.currentX,image.maxX),image.minX),image.currentY=Math.max(Math.min(image.currentY,image.maxY),image.minY),e.$imageWrapEl.transition(d).transform("translate3d("+image.currentX+"px, "+image.currentY+"px,0)")}},onTransitionEnd:function(){var t=this.zoom,e=t.gesture;e.$slideEl&&this.previousIndex!==this.activeIndex&&(e.$imageEl&&e.$imageEl.transform("translate3d(0,0,0) scale(1)"),e.$imageWrapEl&&e.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,t.currentScale=1,e.$slideEl=void 0,e.$imageEl=void 0,e.$imageWrapEl=void 0)},toggle:function(t){var e=this.zoom;e.scale&&1!==e.scale?e.out():e.in(t)},in:function(t){var e,r,n,h,l,c,f,m,v,y,w,_,M,S,x,E,A=Object(d.b)(),T=this.zoom,k=this.params.zoom,C=T.gesture,image=T.image;(C.$slideEl||(t&&t.target&&(C.$slideEl=Object(o.a)(t.target).closest("."+this.params.slideClass)),C.$slideEl||(this.params.virtual&&this.params.virtual.enabled&&this.virtual?C.$slideEl=this.$wrapperEl.children("."+this.params.slideActiveClass):C.$slideEl=this.slides.eq(this.activeIndex)),C.$imageEl=C.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),C.$imageWrapEl=C.$imageEl.parent("."+k.containerClass)),C.$imageEl&&0!==C.$imageEl.length&&C.$imageWrapEl&&0!==C.$imageWrapEl.length)&&(C.$slideEl.addClass(""+k.zoomedSlideClass),void 0===image.touchesStart.x&&t?(e="touchend"===t.type?t.changedTouches[0].pageX:t.pageX,r="touchend"===t.type?t.changedTouches[0].pageY:t.pageY):(e=image.touchesStart.x,r=image.touchesStart.y),T.scale=C.$imageWrapEl.attr("data-swiper-zoom")||k.maxRatio,T.currentScale=C.$imageWrapEl.attr("data-swiper-zoom")||k.maxRatio,t?(x=C.$slideEl[0].offsetWidth,E=C.$slideEl[0].offsetHeight,n=C.$slideEl.offset().left+A.scrollX+x/2-e,h=C.$slideEl.offset().top+A.scrollY+E/2-r,f=C.$imageEl[0].offsetWidth,m=C.$imageEl[0].offsetHeight,v=f*T.scale,y=m*T.scale,M=-(w=Math.min(x/2-v/2,0)),S=-(_=Math.min(E/2-y/2,0)),(l=n*T.scale)<w&&(l=w),l>M&&(l=M),(c=h*T.scale)<_&&(c=_),c>S&&(c=S)):(l=0,c=0),C.$imageWrapEl.transition(300).transform("translate3d("+l+"px, "+c+"px,0)"),C.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+T.scale+")"))},out:function(){var t=this.zoom,e=this.params.zoom,r=t.gesture;r.$slideEl||(this.params.virtual&&this.params.virtual.enabled&&this.virtual?r.$slideEl=this.$wrapperEl.children("."+this.params.slideActiveClass):r.$slideEl=this.slides.eq(this.activeIndex),r.$imageEl=r.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),r.$imageWrapEl=r.$imageEl.parent("."+e.containerClass)),r.$imageEl&&0!==r.$imageEl.length&&r.$imageWrapEl&&0!==r.$imageWrapEl.length&&(t.scale=1,t.currentScale=1,r.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),r.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),r.$slideEl.removeClass(""+e.zoomedSlideClass),r.$slideEl=void 0)},toggleGestures:function(t){var e=this.zoom,r=e.slideSelector,n=e.passiveListener;this.$wrapperEl[t]("gesturestart",r,e.onGestureStart,n),this.$wrapperEl[t]("gesturechange",r,e.onGestureChange,n),this.$wrapperEl[t]("gestureend",r,e.onGestureEnd,n)},enableGestures:function(){this.zoom.gesturesEnabled||(this.zoom.gesturesEnabled=!0,this.zoom.toggleGestures("on"))},disableGestures:function(){this.zoom.gesturesEnabled&&(this.zoom.gesturesEnabled=!1,this.zoom.toggleGestures("off"))},enable:function(){var t=this.support,e=this.zoom;if(!e.enabled){e.enabled=!0;var r=!("touchstart"!==this.touchEvents.start||!t.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},n=!t.passiveListener||{passive:!1,capture:!0},o="."+this.params.slideClass;this.zoom.passiveListener=r,this.zoom.slideSelector=o,t.gestures?(this.$wrapperEl.on(this.touchEvents.start,this.zoom.enableGestures,r),this.$wrapperEl.on(this.touchEvents.end,this.zoom.disableGestures,r)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.on(this.touchEvents.start,o,e.onGestureStart,r),this.$wrapperEl.on(this.touchEvents.move,o,e.onGestureChange,n),this.$wrapperEl.on(this.touchEvents.end,o,e.onGestureEnd,r),this.touchEvents.cancel&&this.$wrapperEl.on(this.touchEvents.cancel,o,e.onGestureEnd,r)),this.$wrapperEl.on(this.touchEvents.move,"."+this.params.zoom.containerClass,e.onTouchMove,n)}},disable:function(){var t=this.zoom;if(t.enabled){var e=this.support;this.zoom.enabled=!1;var r=!("touchstart"!==this.touchEvents.start||!e.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1},n=!e.passiveListener||{passive:!1,capture:!0},o="."+this.params.slideClass;e.gestures?(this.$wrapperEl.off(this.touchEvents.start,this.zoom.enableGestures,r),this.$wrapperEl.off(this.touchEvents.end,this.zoom.disableGestures,r)):"touchstart"===this.touchEvents.start&&(this.$wrapperEl.off(this.touchEvents.start,o,t.onGestureStart,r),this.$wrapperEl.off(this.touchEvents.move,o,t.onGestureChange,n),this.$wrapperEl.off(this.touchEvents.end,o,t.onGestureEnd,r),this.touchEvents.cancel&&this.$wrapperEl.off(this.touchEvents.cancel,o,t.onGestureEnd,r)),this.$wrapperEl.off(this.touchEvents.move,"."+this.params.zoom.containerClass,t.onTouchMove,n)}}},I={name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var t=this;Object(h.a)(t,{zoom:C({enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}},O)});var e=1;Object.defineProperty(t.zoom,"scale",{get:function(){return e},set:function(r){if(e!==r){var n=t.zoom.gesture.$imageEl?t.zoom.gesture.$imageEl[0]:void 0,o=t.zoom.gesture.$slideEl?t.zoom.gesture.$slideEl[0]:void 0;t.emit("zoomChange",r,n,o)}e=r}})},on:{init:function(t){t.params.zoom.enabled&&t.zoom.enable()},destroy:function(t){t.zoom.disable()},touchStart:function(t,e){t.zoom.enabled&&t.zoom.onTouchStart(e)},touchEnd:function(t,e){t.zoom.enabled&&t.zoom.onTouchEnd(e)},doubleTap:function(t,e){!t.animating&&t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&t.zoom.toggle(e)},transitionEnd:function(t){t.zoom.enabled&&t.params.zoom.enabled&&t.zoom.onTransitionEnd()},slideChange:function(t){t.zoom.enabled&&t.params.zoom.enabled&&t.params.cssMode&&t.zoom.onTransitionEnd()}}};function P(){return(P=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var e in source)Object.prototype.hasOwnProperty.call(source,e)&&(t[e]=source[e])}return t}).apply(this,arguments)}var R={loadInSlide:function(t,e){void 0===e&&(e=!0);var r=this,n=r.params.lazy;if(void 0!==t&&0!==r.slides.length){var h=r.virtual&&r.params.virtual.enabled?r.$wrapperEl.children("."+r.params.slideClass+'[data-swiper-slide-index="'+t+'"]'):r.slides.eq(t),l=h.find("."+n.elementClass+":not(."+n.loadedClass+"):not(."+n.loadingClass+")");!h.hasClass(n.elementClass)||h.hasClass(n.loadedClass)||h.hasClass(n.loadingClass)||l.push(h[0]),0!==l.length&&l.each((function(t){var l=Object(o.a)(t);l.addClass(n.loadingClass);var c=l.attr("data-background"),f=l.attr("data-src"),d=l.attr("data-srcset"),m=l.attr("data-sizes"),v=l.parent("picture");r.loadImage(l[0],f||c,d,m,!1,(function(){if(null!=r&&r&&(!r||r.params)&&!r.destroyed){if(c?(l.css("background-image",'url("'+c+'")'),l.removeAttr("data-background")):(d&&(l.attr("srcset",d),l.removeAttr("data-srcset")),m&&(l.attr("sizes",m),l.removeAttr("data-sizes")),v.length&&v.children("source").each((function(t){var e=Object(o.a)(t);e.attr("data-srcset")&&(e.attr("srcset",e.attr("data-srcset")),e.removeAttr("data-srcset"))})),f&&(l.attr("src",f),l.removeAttr("data-src"))),l.addClass(n.loadedClass).removeClass(n.loadingClass),h.find("."+n.preloaderClass).remove(),r.params.loop&&e){var t=h.attr("data-swiper-slide-index");if(h.hasClass(r.params.slideDuplicateClass)){var y=r.$wrapperEl.children('[data-swiper-slide-index="'+t+'"]:not(.'+r.params.slideDuplicateClass+")");r.lazy.loadInSlide(y.index(),!1)}else{var w=r.$wrapperEl.children("."+r.params.slideDuplicateClass+'[data-swiper-slide-index="'+t+'"]');r.lazy.loadInSlide(w.index(),!1)}}r.emit("lazyImageReady",h[0],l[0]),r.params.autoHeight&&r.updateAutoHeight()}})),r.emit("lazyImageLoad",h[0],l[0])}))}},load:function(){var t=this,e=t.$wrapperEl,r=t.params,n=t.slides,h=t.activeIndex,l=t.virtual&&r.virtual.enabled,c=r.lazy,f=r.slidesPerView;function d(t){if(l){if(e.children("."+r.slideClass+'[data-swiper-slide-index="'+t+'"]').length)return!0}else if(n[t])return!0;return!1}function m(t){return l?Object(o.a)(t).attr("data-swiper-slide-index"):Object(o.a)(t).index()}if("auto"===f&&(f=0),t.lazy.initialImageLoaded||(t.lazy.initialImageLoaded=!0),t.params.watchSlidesVisibility)e.children("."+r.slideVisibleClass).each((function(e){var r=l?Object(o.a)(e).attr("data-swiper-slide-index"):Object(o.a)(e).index();t.lazy.loadInSlide(r)}));else if(f>1)for(var i=h;i<h+f;i+=1)d(i)&&t.lazy.loadInSlide(i);else t.lazy.loadInSlide(h);if(c.loadPrevNext)if(f>1||c.loadPrevNextAmount&&c.loadPrevNextAmount>1){for(var v=c.loadPrevNextAmount,y=f,w=Math.min(h+y+Math.max(v,y),n.length),_=Math.max(h-Math.max(y,v),0),M=h+f;M<w;M+=1)d(M)&&t.lazy.loadInSlide(M);for(var S=_;S<h;S+=1)d(S)&&t.lazy.loadInSlide(S)}else{var x=e.children("."+r.slideNextClass);x.length>0&&t.lazy.loadInSlide(m(x));var E=e.children("."+r.slidePrevClass);E.length>0&&t.lazy.loadInSlide(m(E))}},checkInViewOnLoad:function(){var t=Object(d.b)();if(this&&!this.destroyed){var e=this.params.lazy.scrollingElement?Object(o.a)(this.params.lazy.scrollingElement):Object(o.a)(t),r=e[0]===t,n=r?t.innerWidth:e[0].offsetWidth,h=r?t.innerHeight:e[0].offsetHeight,l=this.$el.offset(),c=!1;this.rtlTranslate&&(l.left-=this.$el[0].scrollLeft);for(var f=[[l.left,l.top],[l.left+this.width,l.top],[l.left,l.top+this.height],[l.left+this.width,l.top+this.height]],i=0;i<f.length;i+=1){var m=f[i];if(m[0]>=0&&m[0]<=n&&m[1]>=0&&m[1]<=h){if(0===m[0]&&0===m[1])continue;c=!0}}var v=!("touchstart"!==this.touchEvents.start||!this.support.passiveListener||!this.params.passiveListeners)&&{passive:!0,capture:!1};c?(this.lazy.load(),e.off("scroll",this.lazy.checkInViewOnLoad,v)):this.lazy.scrollHandlerAttached||(this.lazy.scrollHandlerAttached=!0,e.on("scroll",this.lazy.checkInViewOnLoad,v))}}},j={name:"lazy",params:{lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){Object(h.a)(this,{lazy:P({initialImageLoaded:!1},R)})},on:{beforeInit:function(t){t.params.lazy.enabled&&t.params.preloadImages&&(t.params.preloadImages=!1)},init:function(t){t.params.lazy.enabled&&!t.params.loop&&0===t.params.initialSlide&&(t.params.lazy.checkInView?t.lazy.checkInViewOnLoad():t.lazy.load())},scroll:function(t){t.params.freeMode&&!t.params.freeModeSticky&&t.lazy.load()},"scrollbarDragMove resize _freeModeNoMomentumRelease":function(t){t.params.lazy.enabled&&t.lazy.load()},transitionStart:function(t){t.params.lazy.enabled&&(t.params.lazy.loadOnTransitionStart||!t.params.lazy.loadOnTransitionStart&&!t.lazy.initialImageLoaded)&&t.lazy.load()},transitionEnd:function(t){t.params.lazy.enabled&&!t.params.lazy.loadOnTransitionStart&&t.lazy.load()},slideChange:function(t){var e=t.params,r=e.lazy,n=e.cssMode,o=e.watchSlidesVisibility,h=e.watchSlidesProgress,l=e.touchReleaseOnEdges,c=e.resistanceRatio;r.enabled&&(n||(o||h)&&(l||0===c))&&t.lazy.load()}}};function N(){return(N=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var e in source)Object.prototype.hasOwnProperty.call(source,e)&&(t[e]=source[e])}return t}).apply(this,arguments)}var L={LinearSpline:function(t,e){var r,n,o,h,l,c=function(t,e){for(n=-1,r=t.length;r-n>1;)t[o=r+n>>1]<=e?n=o:r=o;return r};return this.x=t,this.y=e,this.lastIndex=t.length-1,this.interpolate=function(t){return t?(l=c(this.x,t),h=l-1,(t-this.x[h])*(this.y[l]-this.y[h])/(this.x[l]-this.x[h])+this.y[h]):0},this},getInterpolateFunction:function(t){this.controller.spline||(this.controller.spline=this.params.loop?new L.LinearSpline(this.slidesGrid,t.slidesGrid):new L.LinearSpline(this.snapGrid,t.snapGrid))},setTranslate:function(t,e){var r,n,o=this,h=o.controller.control,l=o.constructor;function c(t){var e=o.rtlTranslate?-o.translate:o.translate;"slide"===o.params.controller.by&&(o.controller.getInterpolateFunction(t),n=-o.controller.spline.interpolate(-e)),n&&"container"!==o.params.controller.by||(r=(t.maxTranslate()-t.minTranslate())/(o.maxTranslate()-o.minTranslate()),n=(e-o.minTranslate())*r+t.minTranslate()),o.params.controller.inverse&&(n=t.maxTranslate()-n),t.updateProgress(n),t.setTranslate(n,o),t.updateActiveIndex(),t.updateSlidesClasses()}if(Array.isArray(h))for(var i=0;i<h.length;i+=1)h[i]!==e&&h[i]instanceof l&&c(h[i]);else h instanceof l&&e!==h&&c(h)},setTransition:function(t,e){var i,r=this,n=r.constructor,o=r.controller.control;function l(e){e.setTransition(t,r),0!==t&&(e.transitionStart(),e.params.autoHeight&&Object(h.h)((function(){e.updateAutoHeight()})),e.$wrapperEl.transitionEnd((function(){o&&(e.params.loop&&"slide"===r.params.controller.by&&e.loopFix(),e.transitionEnd())})))}if(Array.isArray(o))for(i=0;i<o.length;i+=1)o[i]!==e&&o[i]instanceof n&&l(o[i]);else o instanceof n&&e!==o&&l(o)}},D={name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){Object(h.a)(this,{controller:N({control:this.params.controller.control},L)})},on:{update:function(t){t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)},resize:function(t){t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)},observerUpdate:function(t){t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)},setTranslate:function(t,e,r){t.controller.control&&t.controller.setTranslate(e,r)},setTransition:function(t,e,r){t.controller.control&&t.controller.setTransition(e,r)}}};function B(){return(B=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var e in source)Object.prototype.hasOwnProperty.call(source,e)&&(t[e]=source[e])}return t}).apply(this,arguments)}var F={getRandomNumber:function(t){void 0===t&&(t=16);return"x".repeat(t).replace(/x/g,(function(){return Math.round(16*Math.random()).toString(16)}))},makeElFocusable:function(t){return t.attr("tabIndex","0"),t},makeElNotFocusable:function(t){return t.attr("tabIndex","-1"),t},addElRole:function(t,e){return t.attr("role",e),t},addElRoleDescription:function(t,e){return t.attr("aria-roledescription",e),t},addElControls:function(t,e){return t.attr("aria-controls",e),t},addElLabel:function(t,label){return t.attr("aria-label",label),t},addElId:function(t,e){return t.attr("id",e),t},addElLive:function(t,e){return t.attr("aria-live",e),t},disableEl:function(t){return t.attr("aria-disabled",!0),t},enableEl:function(t){return t.attr("aria-disabled",!1),t},onEnterOrSpaceKey:function(t){if(13===t.keyCode||32===t.keyCode){var e=this.params.a11y,r=Object(o.a)(t.target);this.navigation&&this.navigation.$nextEl&&r.is(this.navigation.$nextEl)&&(this.isEnd&&!this.params.loop||this.slideNext(),this.isEnd?this.a11y.notify(e.lastSlideMessage):this.a11y.notify(e.nextSlideMessage)),this.navigation&&this.navigation.$prevEl&&r.is(this.navigation.$prevEl)&&(this.isBeginning&&!this.params.loop||this.slidePrev(),this.isBeginning?this.a11y.notify(e.firstSlideMessage):this.a11y.notify(e.prevSlideMessage)),this.pagination&&r.is(Object(h.b)(this.params.pagination.bulletClass))&&r[0].click()}},notify:function(t){var e=this.a11y.liveRegion;0!==e.length&&(e.html(""),e.html(t))},updateNavigation:function(){if(!this.params.loop&&this.navigation){var t=this.navigation,e=t.$nextEl,r=t.$prevEl;r&&r.length>0&&(this.isBeginning?(this.a11y.disableEl(r),this.a11y.makeElNotFocusable(r)):(this.a11y.enableEl(r),this.a11y.makeElFocusable(r))),e&&e.length>0&&(this.isEnd?(this.a11y.disableEl(e),this.a11y.makeElNotFocusable(e)):(this.a11y.enableEl(e),this.a11y.makeElFocusable(e)))}},updatePagination:function(){var t=this,e=t.params.a11y;t.pagination&&t.params.pagination.clickable&&t.pagination.bullets&&t.pagination.bullets.length&&t.pagination.bullets.each((function(r){var n=Object(o.a)(r);t.a11y.makeElFocusable(n),t.params.pagination.renderBullet||(t.a11y.addElRole(n,"button"),t.a11y.addElLabel(n,e.paginationBulletMessage.replace(/\{\{index\}\}/,n.index()+1)))}))},init:function(){var t=this,e=t.params.a11y;t.$el.append(t.a11y.liveRegion);var r=t.$el;e.containerRoleDescriptionMessage&&t.a11y.addElRoleDescription(r,e.containerRoleDescriptionMessage),e.containerMessage&&t.a11y.addElLabel(r,e.containerMessage);var n=t.$wrapperEl,l=n.attr("id")||"swiper-wrapper-"+t.a11y.getRandomNumber(16),c=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";t.a11y.addElId(n,l),t.a11y.addElLive(n,c),e.itemRoleDescriptionMessage&&t.a11y.addElRoleDescription(Object(o.a)(t.slides),e.itemRoleDescriptionMessage),t.a11y.addElRole(Object(o.a)(t.slides),e.slideRole);var f,d,m=t.params.loop?t.slides.filter((function(e){return!e.classList.contains(t.params.slideDuplicateClass)})).length:t.slides.length;t.slides.each((function(r,n){var h=Object(o.a)(r),l=t.params.loop?parseInt(h.attr("data-swiper-slide-index"),10):n,c=e.slideLabelMessage.replace(/\{\{index\}\}/,l+1).replace(/\{\{slidesLength\}\}/,m);t.a11y.addElLabel(h,c)})),t.navigation&&t.navigation.$nextEl&&(f=t.navigation.$nextEl),t.navigation&&t.navigation.$prevEl&&(d=t.navigation.$prevEl),f&&f.length&&(t.a11y.makeElFocusable(f),"BUTTON"!==f[0].tagName&&(t.a11y.addElRole(f,"button"),f.on("keydown",t.a11y.onEnterOrSpaceKey)),t.a11y.addElLabel(f,e.nextSlideMessage),t.a11y.addElControls(f,l)),d&&d.length&&(t.a11y.makeElFocusable(d),"BUTTON"!==d[0].tagName&&(t.a11y.addElRole(d,"button"),d.on("keydown",t.a11y.onEnterOrSpaceKey)),t.a11y.addElLabel(d,e.prevSlideMessage),t.a11y.addElControls(d,l)),t.pagination&&t.params.pagination.clickable&&t.pagination.bullets&&t.pagination.bullets.length&&t.pagination.$el.on("keydown",Object(h.b)(t.params.pagination.bulletClass),t.a11y.onEnterOrSpaceKey)},destroy:function(){var t,e;this.a11y.liveRegion&&this.a11y.liveRegion.length>0&&this.a11y.liveRegion.remove(),this.navigation&&this.navigation.$nextEl&&(t=this.navigation.$nextEl),this.navigation&&this.navigation.$prevEl&&(e=this.navigation.$prevEl),t&&t.off("keydown",this.a11y.onEnterOrSpaceKey),e&&e.off("keydown",this.a11y.onEnterOrSpaceKey),this.pagination&&this.params.pagination.clickable&&this.pagination.bullets&&this.pagination.bullets.length&&this.pagination.$el.off("keydown",Object(h.b)(this.params.pagination.bulletClass),this.a11y.onEnterOrSpaceKey)}},U={name:"a11y",params:{a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group"}},create:function(){Object(h.a)(this,{a11y:B({},F,{liveRegion:Object(o.a)('<span class="'+this.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')})})},on:{afterInit:function(t){t.params.a11y.enabled&&(t.a11y.init(),t.a11y.updateNavigation())},toEdge:function(t){t.params.a11y.enabled&&t.a11y.updateNavigation()},fromEdge:function(t){t.params.a11y.enabled&&t.a11y.updateNavigation()},paginationUpdate:function(t){t.params.a11y.enabled&&t.a11y.updatePagination()},destroy:function(t){t.params.a11y.enabled&&t.a11y.destroy()}}};function z(){return(z=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var e in source)Object.prototype.hasOwnProperty.call(source,e)&&(t[e]=source[e])}return t}).apply(this,arguments)}var H={init:function(){var t=Object(d.b)();if(this.params.history){if(!t.history||!t.history.pushState)return this.params.history.enabled=!1,void(this.params.hashNavigation.enabled=!0);var e=this.history;e.initialized=!0,e.paths=H.getPathValues(this.params.url),(e.paths.key||e.paths.value)&&(e.scrollToSlide(0,e.paths.value,this.params.runCallbacksOnInit),this.params.history.replaceState||t.addEventListener("popstate",this.history.setHistoryPopState))}},destroy:function(){var t=Object(d.b)();this.params.history.replaceState||t.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=H.getPathValues(this.params.url),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(t){var e=Object(d.b)(),r=(t?new URL(t):e.location).pathname.slice(1).split("/").filter((function(t){return""!==t})),n=r.length;return{key:r[n-2],value:r[n-1]}},setHistory:function(t,e){var r=Object(d.b)();if(this.history.initialized&&this.params.history.enabled){var n;n=this.params.url?new URL(this.params.url):r.location;var o=this.slides.eq(e),h=H.slugify(o.attr("data-history"));if(this.params.history.root.length>0){var l=this.params.history.root;"/"===l[l.length-1]&&(l=l.slice(0,l.length-1)),h=l+"/"+t+"/"+h}else n.pathname.includes(t)||(h=t+"/"+h);var c=r.history.state;c&&c.value===h||(this.params.history.replaceState?r.history.replaceState({value:h},null,h):r.history.pushState({value:h},null,h))}},slugify:function(text){return text.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(t,e,r){if(e)for(var i=0,n=this.slides.length;i<n;i+=1){var o=this.slides.eq(i);if(H.slugify(o.attr("data-history"))===e&&!o.hasClass(this.params.slideDuplicateClass)){var h=o.index();this.slideTo(h,t,r)}}else this.slideTo(0,t,r)}},G={name:"history",params:{history:{enabled:!1,root:"",replaceState:!1,key:"slides"}},create:function(){Object(h.a)(this,{history:z({},H)})},on:{init:function(t){t.params.history.enabled&&t.history.init()},destroy:function(t){t.params.history.enabled&&t.history.destroy()},"transitionEnd _freeModeNoMomentumRelease":function(t){t.history.initialized&&t.history.setHistory(t.params.history.key,t.activeIndex)},slideChange:function(t){t.history.initialized&&t.params.cssMode&&t.history.setHistory(t.params.history.key,t.activeIndex)}}};function V(){return(V=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var e in source)Object.prototype.hasOwnProperty.call(source,e)&&(t[e]=source[e])}return t}).apply(this,arguments)}var $={onHashChange:function(){var t=Object(d.a)();this.emit("hashChange");var e=t.location.hash.replace("#","");if(e!==this.slides.eq(this.activeIndex).attr("data-hash")){var r=this.$wrapperEl.children("."+this.params.slideClass+'[data-hash="'+e+'"]').index();if(void 0===r)return;this.slideTo(r)}},setHash:function(){var t=Object(d.b)(),e=Object(d.a)();if(this.hashNavigation.initialized&&this.params.hashNavigation.enabled)if(this.params.hashNavigation.replaceState&&t.history&&t.history.replaceState)t.history.replaceState(null,null,"#"+this.slides.eq(this.activeIndex).attr("data-hash")||!1),this.emit("hashSet");else{var r=this.slides.eq(this.activeIndex),n=r.attr("data-hash")||r.attr("data-history");e.location.hash=n||"",this.emit("hashSet")}},init:function(){var t=Object(d.a)(),e=Object(d.b)();if(!(!this.params.hashNavigation.enabled||this.params.history&&this.params.history.enabled)){this.hashNavigation.initialized=!0;var r=t.location.hash.replace("#","");if(r)for(var i=0,n=this.slides.length;i<n;i+=1){var h=this.slides.eq(i);if((h.attr("data-hash")||h.attr("data-history"))===r&&!h.hasClass(this.params.slideDuplicateClass)){var l=h.index();this.slideTo(l,0,this.params.runCallbacksOnInit,!0)}}this.params.hashNavigation.watchState&&Object(o.a)(e).on("hashchange",this.hashNavigation.onHashChange)}},destroy:function(){var t=Object(d.b)();this.params.hashNavigation.watchState&&Object(o.a)(t).off("hashchange",this.hashNavigation.onHashChange)}},W={name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){Object(h.a)(this,{hashNavigation:V({initialized:!1},$)})},on:{init:function(t){t.params.hashNavigation.enabled&&t.hashNavigation.init()},destroy:function(t){t.params.hashNavigation.enabled&&t.hashNavigation.destroy()},"transitionEnd _freeModeNoMomentumRelease":function(t){t.hashNavigation.initialized&&t.hashNavigation.setHash()},slideChange:function(t){t.hashNavigation.initialized&&t.params.cssMode&&t.hashNavigation.setHash()}}},Y=r(592);function K(){return(K=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var e in source)Object.prototype.hasOwnProperty.call(source,e)&&(t[e]=source[e])}return t}).apply(this,arguments)}var X={setTranslate:function(){for(var t=this.slides,i=0;i<t.length;i+=1){var e=this.slides.eq(i),r=-e[0].swiperSlideOffset;this.params.virtualTranslate||(r-=this.translate);var n=0;this.isHorizontal()||(n=r,r=0);var o=this.params.fadeEffect.crossFade?Math.max(1-Math.abs(e[0].progress),0):1+Math.min(Math.max(e[0].progress,-1),0);e.css({opacity:o}).transform("translate3d("+r+"px, "+n+"px, 0px)")}},setTransition:function(t){var e=this,r=e.slides,n=e.$wrapperEl;if(r.transition(t),e.params.virtualTranslate&&0!==t){var o=!1;r.transitionEnd((function(){if(!o&&e&&!e.destroyed){o=!0,e.animating=!1;for(var t=["webkitTransitionEnd","transitionend"],i=0;i<t.length;i+=1)n.trigger(t[i])}}))}}},Z={name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){Object(h.a)(this,{fadeEffect:K({},X)})},on:{beforeInit:function(t){if("fade"===t.params.effect){t.classNames.push(t.params.containerModifierClass+"fade");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};Object(h.e)(t.params,e),Object(h.e)(t.originalParams,e)}},setTranslate:function(t){"fade"===t.params.effect&&t.fadeEffect.setTranslate()},setTransition:function(t,e){"fade"===t.params.effect&&t.fadeEffect.setTransition(e)}}};function J(){return(J=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var e in source)Object.prototype.hasOwnProperty.call(source,e)&&(t[e]=source[e])}return t}).apply(this,arguments)}var Q={setTranslate:function(){var t,e=this.$el,r=this.$wrapperEl,n=this.slides,h=this.width,l=this.height,c=this.rtlTranslate,f=this.size,d=this.browser,m=this.params.cubeEffect,v=this.isHorizontal(),y=this.virtual&&this.params.virtual.enabled,w=0;m.shadow&&(v?(0===(t=r.find(".swiper-cube-shadow")).length&&(t=Object(o.a)('<div class="swiper-cube-shadow"></div>'),r.append(t)),t.css({height:h+"px"})):0===(t=e.find(".swiper-cube-shadow")).length&&(t=Object(o.a)('<div class="swiper-cube-shadow"></div>'),e.append(t)));for(var i=0;i<n.length;i+=1){var _=n.eq(i),M=i;y&&(M=parseInt(_.attr("data-swiper-slide-index"),10));var S=90*M,x=Math.floor(S/360);c&&(S=-S,x=Math.floor(-S/360));var progress=Math.max(Math.min(_[0].progress,1),-1),E=0,A=0,T=0;M%4==0?(E=4*-x*f,T=0):(M-1)%4==0?(E=0,T=4*-x*f):(M-2)%4==0?(E=f+4*x*f,T=f):(M-3)%4==0&&(E=-f,T=3*f+4*f*x),c&&(E=-E),v||(A=E,E=0);var k="rotateX("+(v?0:-S)+"deg) rotateY("+(v?S:0)+"deg) translate3d("+E+"px, "+A+"px, "+T+"px)";if(progress<=1&&progress>-1&&(w=90*M+90*progress,c&&(w=90*-M-90*progress)),_.transform(k),m.slideShadows){var C=v?_.find(".swiper-slide-shadow-left"):_.find(".swiper-slide-shadow-top"),O=v?_.find(".swiper-slide-shadow-right"):_.find(".swiper-slide-shadow-bottom");0===C.length&&(C=Object(o.a)('<div class="swiper-slide-shadow-'+(v?"left":"top")+'"></div>'),_.append(C)),0===O.length&&(O=Object(o.a)('<div class="swiper-slide-shadow-'+(v?"right":"bottom")+'"></div>'),_.append(O)),C.length&&(C[0].style.opacity=Math.max(-progress,0)),O.length&&(O[0].style.opacity=Math.max(progress,0))}}if(r.css({"-webkit-transform-origin":"50% 50% -"+f/2+"px","-moz-transform-origin":"50% 50% -"+f/2+"px","-ms-transform-origin":"50% 50% -"+f/2+"px","transform-origin":"50% 50% -"+f/2+"px"}),m.shadow)if(v)t.transform("translate3d(0px, "+(h/2+m.shadowOffset)+"px, "+-h/2+"px) rotateX(90deg) rotateZ(0deg) scale("+m.shadowScale+")");else{var I=Math.abs(w)-90*Math.floor(Math.abs(w)/90),P=1.5-(Math.sin(2*I*Math.PI/360)/2+Math.cos(2*I*Math.PI/360)/2),R=m.shadowScale,j=m.shadowScale/P,N=m.shadowOffset;t.transform("scale3d("+R+", 1, "+j+") translate3d(0px, "+(l/2+N)+"px, "+-l/2/j+"px) rotateX(-90deg)")}var L=d.isSafari||d.isWebView?-f/2:0;r.transform("translate3d(0px,0,"+L+"px) rotateX("+(this.isHorizontal()?0:w)+"deg) rotateY("+(this.isHorizontal()?-w:0)+"deg)")},setTransition:function(t){var e=this.$el;this.slides.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),this.params.cubeEffect.shadow&&!this.isHorizontal()&&e.find(".swiper-cube-shadow").transition(t)}},tt={name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){Object(h.a)(this,{cubeEffect:J({},Q)})},on:{beforeInit:function(t){if("cube"===t.params.effect){t.classNames.push(t.params.containerModifierClass+"cube"),t.classNames.push(t.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};Object(h.e)(t.params,e),Object(h.e)(t.originalParams,e)}},setTranslate:function(t){"cube"===t.params.effect&&t.cubeEffect.setTranslate()},setTransition:function(t,e){"cube"===t.params.effect&&t.cubeEffect.setTransition(e)}}};function et(){return(et=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var e in source)Object.prototype.hasOwnProperty.call(source,e)&&(t[e]=source[e])}return t}).apply(this,arguments)}var it={setTranslate:function(){for(var t=this.slides,e=this.rtlTranslate,i=0;i<t.length;i+=1){var r=t.eq(i),progress=r[0].progress;this.params.flipEffect.limitRotation&&(progress=Math.max(Math.min(r[0].progress,1),-1));var n=-180*progress,h=0,l=-r[0].swiperSlideOffset,c=0;if(this.isHorizontal()?e&&(n=-n):(c=l,l=0,h=-n,n=0),r[0].style.zIndex=-Math.abs(Math.round(progress))+t.length,this.params.flipEffect.slideShadows){var f=this.isHorizontal()?r.find(".swiper-slide-shadow-left"):r.find(".swiper-slide-shadow-top"),d=this.isHorizontal()?r.find(".swiper-slide-shadow-right"):r.find(".swiper-slide-shadow-bottom");0===f.length&&(f=Object(o.a)('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"left":"top")+'"></div>'),r.append(f)),0===d.length&&(d=Object(o.a)('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"right":"bottom")+'"></div>'),r.append(d)),f.length&&(f[0].style.opacity=Math.max(-progress,0)),d.length&&(d[0].style.opacity=Math.max(progress,0))}r.transform("translate3d("+l+"px, "+c+"px, 0px) rotateX("+h+"deg) rotateY("+n+"deg)")}},setTransition:function(t){var e=this,r=e.slides,n=e.activeIndex,o=e.$wrapperEl;if(r.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),e.params.virtualTranslate&&0!==t){var h=!1;r.eq(n).transitionEnd((function(){if(!h&&e&&!e.destroyed){h=!0,e.animating=!1;for(var t=["webkitTransitionEnd","transitionend"],i=0;i<t.length;i+=1)o.trigger(t[i])}}))}}},nt={name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){Object(h.a)(this,{flipEffect:et({},it)})},on:{beforeInit:function(t){if("flip"===t.params.effect){t.classNames.push(t.params.containerModifierClass+"flip"),t.classNames.push(t.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};Object(h.e)(t.params,e),Object(h.e)(t.originalParams,e)}},setTranslate:function(t){"flip"===t.params.effect&&t.flipEffect.setTranslate()},setTransition:function(t,e){"flip"===t.params.effect&&t.flipEffect.setTransition(e)}}};function ot(){return(ot=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var e in source)Object.prototype.hasOwnProperty.call(source,e)&&(t[e]=source[e])}return t}).apply(this,arguments)}var at={setTranslate:function(){for(var t=this.width,e=this.height,r=this.slides,n=this.slidesSizesGrid,h=this.params.coverflowEffect,l=this.isHorizontal(),c=this.translate,f=l?t/2-c:e/2-c,d=l?h.rotate:-h.rotate,m=h.depth,i=0,v=r.length;i<v;i+=1){var y=r.eq(i),w=n[i],_=(f-y[0].swiperSlideOffset-w/2)/w*h.modifier,M=l?d*_:0,S=l?0:d*_,x=-m*Math.abs(_),E=h.stretch;"string"==typeof E&&-1!==E.indexOf("%")&&(E=parseFloat(h.stretch)/100*w);var A=l?0:E*_,T=l?E*_:0,k=1-(1-h.scale)*Math.abs(_);Math.abs(T)<.001&&(T=0),Math.abs(A)<.001&&(A=0),Math.abs(x)<.001&&(x=0),Math.abs(M)<.001&&(M=0),Math.abs(S)<.001&&(S=0),Math.abs(k)<.001&&(k=0);var C="translate3d("+T+"px,"+A+"px,"+x+"px)  rotateX("+S+"deg) rotateY("+M+"deg) scale("+k+")";if(y.transform(C),y[0].style.zIndex=1-Math.abs(Math.round(_)),h.slideShadows){var O=l?y.find(".swiper-slide-shadow-left"):y.find(".swiper-slide-shadow-top"),I=l?y.find(".swiper-slide-shadow-right"):y.find(".swiper-slide-shadow-bottom");0===O.length&&(O=Object(o.a)('<div class="swiper-slide-shadow-'+(l?"left":"top")+'"></div>'),y.append(O)),0===I.length&&(I=Object(o.a)('<div class="swiper-slide-shadow-'+(l?"right":"bottom")+'"></div>'),y.append(I)),O.length&&(O[0].style.opacity=_>0?_:0),I.length&&(I[0].style.opacity=-_>0?-_:0)}}},setTransition:function(t){this.slides.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t)}},st={name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}},create:function(){Object(h.a)(this,{coverflowEffect:ot({},at)})},on:{beforeInit:function(t){"coverflow"===t.params.effect&&(t.classNames.push(t.params.containerModifierClass+"coverflow"),t.classNames.push(t.params.containerModifierClass+"3d"),t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0)},setTranslate:function(t){"coverflow"===t.params.effect&&t.coverflowEffect.setTranslate()},setTransition:function(t,e){"coverflow"===t.params.effect&&t.coverflowEffect.setTransition(e)}}};function ht(){return(ht=Object.assign||function(t){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var e in source)Object.prototype.hasOwnProperty.call(source,e)&&(t[e]=source[e])}return t}).apply(this,arguments)}var ut={init:function(){var t=this.params.thumbs;if(this.thumbs.initialized)return!1;this.thumbs.initialized=!0;var e=this.constructor;return t.swiper instanceof e?(this.thumbs.swiper=t.swiper,Object(h.e)(this.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object(h.e)(this.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):Object(h.g)(t.swiper)&&(this.thumbs.swiper=new e(Object(h.e)({},t.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),this.thumbs.swiperCreated=!0),this.thumbs.swiper.$el.addClass(this.params.thumbs.thumbsContainerClass),this.thumbs.swiper.on("tap",this.thumbs.onThumbClick),!0},onThumbClick:function(){var t=this.thumbs.swiper;if(t){var e=t.clickedIndex,r=t.clickedSlide;if(!(r&&Object(o.a)(r).hasClass(this.params.thumbs.slideThumbActiveClass)||null==e)){var n;if(n=t.params.loop?parseInt(Object(o.a)(t.clickedSlide).attr("data-swiper-slide-index"),10):e,this.params.loop){var h=this.activeIndex;this.slides.eq(h).hasClass(this.params.slideDuplicateClass)&&(this.loopFix(),this._clientLeft=this.$wrapperEl[0].clientLeft,h=this.activeIndex);var l=this.slides.eq(h).prevAll('[data-swiper-slide-index="'+n+'"]').eq(0).index(),c=this.slides.eq(h).nextAll('[data-swiper-slide-index="'+n+'"]').eq(0).index();n=void 0===l?c:void 0===c?l:c-h<h-l?c:l}this.slideTo(n)}}},update:function(t){var e=this.thumbs.swiper;if(e){var r="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():e.params.slidesPerView,n=this.params.thumbs.autoScrollOffset,o=n&&!e.params.loop;if(this.realIndex!==e.realIndex||o){var h,l,c=e.activeIndex;if(e.params.loop){e.slides.eq(c).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,c=e.activeIndex);var f=e.slides.eq(c).prevAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index(),d=e.slides.eq(c).nextAll('[data-swiper-slide-index="'+this.realIndex+'"]').eq(0).index();h=void 0===f?d:void 0===d?f:d-c==c-f?e.params.slidesPerGroup>1?d:c:d-c<c-f?d:f,l=this.activeIndex>this.previousIndex?"next":"prev"}else l=(h=this.realIndex)>this.previousIndex?"next":"prev";o&&(h+="next"===l?n:-1*n),e.visibleSlidesIndexes&&e.visibleSlidesIndexes.indexOf(h)<0&&(e.params.centeredSlides?h=h>c?h-Math.floor(r/2)+1:h+Math.floor(r/2)-1:h>c&&e.params.slidesPerGroup,e.slideTo(h,t?0:void 0))}var m=1,v=this.params.thumbs.slideThumbActiveClass;if(this.params.slidesPerView>1&&!this.params.centeredSlides&&(m=this.params.slidesPerView),this.params.thumbs.multipleActiveThumbs||(m=1),m=Math.floor(m),e.slides.removeClass(v),e.params.loop||e.params.virtual&&e.params.virtual.enabled)for(var i=0;i<m;i+=1)e.$wrapperEl.children('[data-swiper-slide-index="'+(this.realIndex+i)+'"]').addClass(v);else for(var y=0;y<m;y+=1)e.slides.eq(this.realIndex+y).addClass(v)}}},lt={name:"thumbs",params:{thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){Object(h.a)(this,{thumbs:ht({swiper:null,initialized:!1},ut)})},on:{beforeInit:function(t){var e=t.params.thumbs;e&&e.swiper&&(t.thumbs.init(),t.thumbs.update(!0))},slideChange:function(t){t.thumbs.swiper&&t.thumbs.update()},update:function(t){t.thumbs.swiper&&t.thumbs.update()},resize:function(t){t.thumbs.swiper&&t.thumbs.update()},observerUpdate:function(t){t.thumbs.swiper&&t.thumbs.update()},setTransition:function(t,e){var r=t.thumbs.swiper;r&&r.setTransition(e)},beforeDestroy:function(t){var e=t.thumbs.swiper;e&&t.thumbs.swiperCreated&&e&&e.destroy()}}}},,,,,function(t,e,r){"use strict";e.a=function(t,e){return e=e||{},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(t){return i[t.toLowerCase()]},has:function(t){return t.toLowerCase()in i}}}};for(var h in s.open(e.method||"get",t,!0),s.onload=function(){s.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(t,e,r){o.push(e=e.toLowerCase()),u.push([e,r]),i[e]=i[e]?i[e]+","+r:r})),r(a())},s.onerror=n,s.withCredentials="include"==e.credentials,e.headers)s.setRequestHeader(h,e.headers[h]);s.send(e.body||null)}))}},,function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));function n(t){try{return t&&"function"==typeof t&&t.name||"<anonymous>"}catch(t){return"<anonymous>"}}},function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));var n=function(){function t(){this._hasWeakSet="function"==typeof WeakSet,this._inner=this._hasWeakSet?new WeakSet:[]}return t.prototype.memoize=function(t){if(this._hasWeakSet)return!!this._inner.has(t)||(this._inner.add(t),!1);for(var i=0;i<this._inner.length;i++){if(this._inner[i]===t)return!0}return this._inner.push(t),!1},t.prototype.unmemoize=function(t){if(this._hasWeakSet)this._inner.delete(t);else for(var i=0;i<this._inner.length;i++)if(this._inner[i]===t){this._inner.splice(i,1);break}},t}()},,,function(t,e,r){t.exports=function(){"use strict";return function(t,e){e.prototype.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)}}}()},function(t,e,r){t.exports=function(){"use strict";return function(t,i){i.prototype.isSameOrBefore=function(t,i){return this.isSame(t,i)||this.isBefore(t,i)}}}()},function(t,e,r){"use strict";e.randomBytes=e.rng=e.pseudoRandomBytes=e.prng=r(188),e.createHash=e.Hash=r(229),e.createHmac=e.Hmac=r(528);var n=r(736),o=Object.keys(n),h=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(o);e.getHashes=function(){return h};var p=r(531);e.pbkdf2=p.pbkdf2,e.pbkdf2Sync=p.pbkdf2Sync;var l=r(738);e.Cipher=l.Cipher,e.createCipher=l.createCipher,e.Cipheriv=l.Cipheriv,e.createCipheriv=l.createCipheriv,e.Decipher=l.Decipher,e.createDecipher=l.createDecipher,e.Decipheriv=l.Decipheriv,e.createDecipheriv=l.createDecipheriv,e.getCiphers=l.getCiphers,e.listCiphers=l.listCiphers;var c=r(753);e.DiffieHellmanGroup=c.DiffieHellmanGroup,e.createDiffieHellmanGroup=c.createDiffieHellmanGroup,e.getDiffieHellman=c.getDiffieHellman,e.createDiffieHellman=c.createDiffieHellman,e.DiffieHellman=c.DiffieHellman;var f=r(760);e.createSign=f.createSign,e.Sign=f.Sign,e.createVerify=f.createVerify,e.Verify=f.Verify,e.createECDH=r(801);var d=r(804);e.publicEncrypt=d.publicEncrypt,e.privateEncrypt=d.privateEncrypt,e.publicDecrypt=d.publicDecrypt,e.privateDecrypt=d.privateDecrypt;var m=r(808);e.randomFill=m.randomFill,e.randomFillSync=m.randomFillSync,e.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},e.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(t,e,r){const n=r(839),o=r(849),{klona:h}=r(850),{isPlainObject:l}=r(851),c=r(383),f=r(852),{parse:d}=r(853),m=["img","audio","video","picture","svg","object","map","iframe","embed"],v=["script","style"];function y(t,e){t&&Object.keys(t).forEach((function(r){e(t[r],r)}))}function w(t,e){return{}.hasOwnProperty.call(t,e)}function filter(a,t){const e=[];return y(a,(function(r){t(r)&&e.push(r)})),e}t.exports=M;const _=/^[^\0\t\n\f\r /<=>]+$/;function M(html,t,e){let r="",x="";function E(t,e){const n=this;this.tag=t,this.attribs=e||{},this.tagPosition=r.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){if(j.length){j[j.length-1].text+=n.text}},this.updateParentNodeMediaChildren=function(){if(j.length&&m.includes(this.tag)){j[j.length-1].mediaChildren.push(this.tag)}}}(t=Object.assign({},M.defaults,t)).parser=Object.assign({},S,t.parser),v.forEach((function(e){t.allowedTags&&t.allowedTags.indexOf(e)>-1&&!t.allowVulnerableTags&&console.warn(`\n\n⚠️ Your \`allowedTags\` option includes, \`${e}\`, which is inherently\nvulnerable to XSS attacks. Please remove it from \`allowedTags\`.\nOr, to disable this warning, add the \`allowVulnerableTags\` option\nand ensure you are accounting for this risk.\n\n`)}));const A=t.nonTextTags||["script","style","textarea","option"];let T,k;t.allowedAttributes&&(T={},k={},y(t.allowedAttributes,(function(t,e){T[e]=[];const r=[];t.forEach((function(t){"string"==typeof t&&t.indexOf("*")>=0?r.push(o(t).replace(/\\\*/g,".*")):T[e].push(t)})),r.length&&(k[e]=new RegExp("^("+r.join("|")+")$"))})));const C={},O={};y(t.allowedClasses,(function(t,e){T&&(w(T,e)||(T[e]=[]),T[e].push("class")),C[e]=[];const r=[];t.forEach((function(t){"string"==typeof t&&t.indexOf("*")>=0?r.push(o(t).replace(/\\\*/g,".*")):C[e].push(t)})),r.length&&(O[e]=new RegExp("^("+r.join("|")+")$"))}));const I={};let P,R,j,N,L,D,B;y(t.transformTags,(function(t,e){let r;"function"==typeof t?r=t:"string"==typeof t&&(r=M.simpleTransform(t)),"*"===e?P=r:I[e]=r}));let F=!1;z();const U=new n.Parser({onopentag:function(e,n){if(t.enforceHtmlBoundary&&"html"===e&&z(),D)return void B++;const o=new E(e,n);j.push(o);let m=!1;const v=!!o.text;let M;if(w(I,e)&&(M=I[e](e,n),o.attribs=n=M.attribs,void 0!==M.text&&(o.innerText=M.text),e!==M.tagName&&(o.name=e=M.tagName,L[R]=M.tagName)),P&&(M=P(e,n),o.attribs=n=M.attribs,e!==M.tagName&&(o.name=e=M.tagName,L[R]=M.tagName)),(t.allowedTags&&-1===t.allowedTags.indexOf(e)||"recursiveEscape"===t.disallowedTagsMode&&!function(t){for(const e in t)if(w(t,e))return!1;return!0}(N)||null!=t.nestingLimit&&R>=t.nestingLimit)&&(m=!0,N[R]=!0,"discard"===t.disallowedTagsMode&&-1!==A.indexOf(e)&&(D=!0,B=1),N[R]=!0),R++,m){if("discard"===t.disallowedTagsMode)return;x=r,r=""}r+="<"+e,(!T||w(T,e)||T["*"])&&y(n,(function(n,a){if(!_.test(a))return void delete o.attribs[a];let m,v=!1;if(!T||w(T,e)&&-1!==T[e].indexOf(a)||T["*"]&&-1!==T["*"].indexOf(a)||w(k,e)&&k[e].test(a)||k["*"]&&k["*"].test(a))v=!0;else if(T&&T[e])for(const t of T[e])if(l(t)&&t.name&&t.name===a){v=!0;let e="";if(!0===t.multiple){const r=n.split(" ");for(const s of r)-1!==t.values.indexOf(s)&&(""===e?e=s:e+=" "+s)}else t.values.indexOf(n)>=0&&(e=n);n=e}if(v){if(-1!==t.allowedSchemesAppliedToAttributes.indexOf(a)&&G(e,n))return void delete o.attribs[a];if("iframe"===e&&"src"===a){let e=!0;try{if((n=n.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/,"$1//")).startsWith("relative:"))throw new Error("relative: exploit attempt");let base="relative://relative-site";for(let i=0;i<100;i++)base+="/"+i;const r=new URL(n,base);if(r&&"relative-site"===r.hostname&&"relative:"===r.protocol)e=w(t,"allowIframeRelativeUrls")?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains;else if(t.allowedIframeHostnames||t.allowedIframeDomains){const n=(t.allowedIframeHostnames||[]).find((function(t){return t===r.hostname})),o=(t.allowedIframeDomains||[]).find((function(t){return r.hostname===t||r.hostname.endsWith("."+t)}));e=n||o}}catch(t){e=!1}if(!e)return void delete o.attribs[a]}if("srcset"===a)try{if(m=f(n),m.forEach((function(t){G("srcset",t.url)&&(t.evil=!0)})),m=filter(m,(function(t){return!t.evil})),!m.length)return void delete o.attribs[a];n=filter(m,(function(t){return!t.evil})).map((function(t){if(!t.url)throw new Error("URL missing");return t.url+(t.w?` ${t.w}w`:"")+(t.h?` ${t.h}h`:"")+(t.d?` ${t.d}x`:"")})).join(", "),o.attribs[a]=n}catch(t){return void delete o.attribs[a]}if("class"===a){const t=C[e],r=C["*"],h=[O[e],O["*"]].filter((function(t){return t}));if(!(n=V(n,t&&r?c(t,r):t||r,h)).length)return void delete o.attribs[a]}if("style"===a)try{const r=d(e+" {"+n+"}");if(0===(n=function(t){return t.nodes[0].nodes.reduce((function(t,e){return t.push(e.prop+":"+e.value),t}),[]).join(";")}(function(t,e){if(!e)return t;const r=h(t),n=t.nodes[0];let o;o=e[n.selector]&&e["*"]?c(e[n.selector],e["*"]):e[n.selector]||e["*"];o&&(r.nodes[0].nodes=n.nodes.reduce(function(t){return function(e,r){if(w(t,r.prop)){t[r.prop].some((function(t){return t.test(r.value)}))&&e.push(r)}return e}}(o),[]));return r}(r,t.allowedStyles))).length)return void delete o.attribs[a]}catch(t){return void delete o.attribs[a]}r+=" "+a,n&&n.length&&(r+='="'+H(n,!0)+'"')}else delete o.attribs[a]})),-1!==t.selfClosing.indexOf(e)?r+=" />":(r+=">",!o.innerText||v||t.textFilter||(r+=H(o.innerText),F=!0)),m&&(r=x+H(r),x="")},ontext:function(text){if(D)return;const e=j[j.length-1];let n;if(e&&(n=e.tag,text=void 0!==e.innerText?e.innerText:text),"discard"!==t.disallowedTagsMode||"script"!==n&&"style"!==n){const e=H(text,!1);t.textFilter&&!F?r+=t.textFilter(e,n):F||(r+=e)}else r+=text;if(j.length){j[j.length-1].text+=text}},onclosetag:function(e){if(D){if(B--,B)return;D=!1}const n=j.pop();if(!n)return;D=!!t.enforceHtmlBoundary&&"html"===e,R--;const o=N[R];if(o){if(delete N[R],"discard"===t.disallowedTagsMode)return void n.updateParentNodeText();x=r,r=""}L[R]&&(e=L[R],delete L[R]),t.exclusiveFilter&&t.exclusiveFilter(n)?r=r.substr(0,n.tagPosition):(n.updateParentNodeMediaChildren(),n.updateParentNodeText(),-1===t.selfClosing.indexOf(e)?(r+="</"+e+">",o&&(r=x+H(r),x="")):o&&(r=x,x=""))}},t.parser);return U.write(html),U.end(),r;function z(){r="",R=0,j=[],N={},L={},D=!1,B=0}function H(s,e){return"string"!=typeof s&&(s+=""),t.parser.decodeEntities&&(s=s.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),e&&(s=s.replace(/"/g,"&quot;"))),s=s.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),e&&(s=s.replace(/"/g,"&quot;")),s}function G(e,r){const n=(r=(r=r.replace(/[\x00-\x20]+/g,"")).replace(/<!--.*?-->/g,"")).match(/^([a-zA-Z][a-zA-Z0-9.\-+]*):/);if(!n)return!!r.match(/^[/\\]{2}/)&&!t.allowProtocolRelative;const o=n[1].toLowerCase();return w(t.allowedSchemesByTag,e)?-1===t.allowedSchemesByTag[e].indexOf(o):!t.allowedSchemes||-1===t.allowedSchemes.indexOf(o)}function V(t,e,r){return e?(t=t.split(/\s+/)).filter((function(t){return-1!==e.indexOf(t)||r.some((function(e){return e.test(t)}))})).join(" "):t}}const S={decodeEntities:!0};M.defaults={allowedTags:["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","main","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],disallowedTagsMode:"discard",allowedAttributes:{a:["href","name","target"],img:["src"]},selfClosing:["img","br","hr","area","base","basefont","input","link","meta"],allowedSchemes:["http","https","ftp","mailto","tel"],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:["href","src","cite"],allowProtocolRelative:!0,enforceHtmlBoundary:!1},M.simpleTransform=function(t,e,r){return r=void 0===r||r,e=e||{},function(n,o){let h;if(r)for(h in e)o[h]=e[h];else o=e;return{tagName:t,attribs:o}}}},function(t,e,r){t.exports=function(){"use strict";var t={year:0,month:1,day:2,hour:3,minute:4,second:5},e={};return function(r,i,n){var o,a=function(t,r,i){void 0===i&&(i={});var n=new Date(t);return function(t,r){void 0===r&&(r={});var i=r.timeZoneName||"short",n=t+"|"+i,o=e[n];return o||(o=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:i}),e[n]=o),o}(r,i).formatToParts(n)},u=function(e,r){for(var i=a(e,r),o=[],u=0;u<i.length;u+=1){var h=i[u],s=h.type,l=h.value,c=t[s];c>=0&&(o[c]=parseInt(l,10))}var f=o[3],d=24===f?0:f,m=o[0]+"-"+o[1]+"-"+o[2]+" "+d+":"+o[4]+":"+o[5]+":000",v=+e;return(n.utc(m).valueOf()-(v-=v%1e3))/6e4},h=i.prototype;h.tz=function(t,e){void 0===t&&(t=o);var r=this.utcOffset(),i=this.toDate(),a=i.toLocaleString("en-US",{timeZone:t}),u=Math.round((i-new Date(a))/1e3/60),h=n(a,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(i.getTimezoneOffset()/15)-u,!0);if(e){var s=h.utcOffset();h=h.add(r-s,"minute")}return h.$x.$timezone=t,h},h.offsetName=function(t){var e=this.$x.$timezone||n.tz.guess(),r=a(this.valueOf(),e,{timeZoneName:t}).find((function(t){return"timezonename"===t.type.toLowerCase()}));return r&&r.value};var s=h.startOf;h.startOf=function(t,e){if(!this.$x||!this.$x.$timezone)return s.call(this,t,e);var r=n(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return s.call(r,t,e).tz(this.$x.$timezone,!0)},n.tz=function(t,e,r){var i=r&&e,a=r||e||o,h=u(+n(),a);if("string"!=typeof t)return n(t).tz(a);var s=function(t,e,r){var i=t-60*e*1e3,n=u(i,r);if(e===n)return[i,e];var o=u(i-=60*(n-e)*1e3,r);return n===o?[i,n]:[t-60*Math.min(n,o)*1e3,Math.max(n,o)]}(n.utc(t,i).valueOf(),h,a),l=s[0],c=s[1],f=n(l).utcOffset(c);return f.$x.$timezone=a,f},n.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},n.tz.setDefault=function(t){o=t}}}()},,function(t,e,r){"use strict";var n=r(282);r.d(e,"a",(function(){return n.a}))},function(t,e,r){"use strict";function n(t){return null!==t&&"object"==typeof t}function o(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",h=arguments.length>3?arguments[3]:void 0;if(!n(e))return o(t,{},r,h);var l=Object.assign({},e);for(var c in t)if("__proto__"!==c&&"constructor"!==c){var f=t[c];null!==f&&(h&&h(l,c,f,r)||(Array.isArray(f)&&Array.isArray(l[c])?l[c]=l[c].concat(f):n(f)&&n(l[c])?l[c]=o(f,l[c],(r?"".concat(r,"."):"")+c.toString(),h):l[c]=f))}return l}function h(t){return function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return r.reduce((function(p,e){return o(p,e,"",t)}),{})}}var l=h();l.fn=h((function(t,e,r,n){if(void 0!==t[e]&&"function"==typeof r)return t[e]=r(t[e]),!0})),l.arrayFn=h((function(t,e,r,n){if(Array.isArray(t[e])&&"function"==typeof r)return t[e]=r(t[e]),!0})),l.extend=h,t.exports=l},function(t){t.exports=JSON.parse('{"code":"ja","messages":{"alpha":"{_field_}はアルファベットのみ使用できます","alpha_num":"{_field_}は英数字のみ使用できます","alpha_dash":"{_field_}は英数字とハイフン、アンダースコアのみ使用できます","alpha_spaces":"{_field_}はアルファベットと空白のみ使用できます","between":"{_field_}は{min}から{max}の間でなければなりません","confirmed":"{_field_}が一致しません","digits":"{_field_}は{length}桁の数字でなければなりません","dimensions":"{_field_}は幅{width}px、高さ{height}px以内でなければなりません","email":"{_field_}は有効なメールアドレスではありません","excluded":"{_field_}は不正な値です","ext":"{_field_}は有効なファイル形式ではありません","image":"{_field_}は有効な画像形式ではありません","integer":"{_field_}は整数のみ使用できます","is":"{_field_}が一致しません","length":"{_field_}は{length}文字でなければなりません","max_value":"{_field_}は{max}以下でなければなりません","max":"{_field_}は{length}文字以内にしてください","mimes":"{_field_}は有効なファイル形式ではありません","min_value":"{_field_}は{min}以上でなければなりません","min":"{_field_}は{length}文字以上でなければなりません","numeric":"{_field_}は数字のみ使用できます","oneOf":"{_field_}は有効な値ではありません","regex":"{_field_}のフォーマットが正しくありません","required":"{_field_}は必須項目です","required_if":"{_field_}は必須項目です","size":"{_field_}は{size}KB以内でなければなりません"}}')},function(t,e,r){"use strict";var n="bfred-it:object-fit-images",o=/(object-fit|object-position)\s*:\s*([-.\w\s%]+)/g,h="undefined"==typeof Image?{style:{"object-position":1}}:new Image,l="object-fit"in h.style,c="object-position"in h.style,f="background-size"in h.style,d="string"==typeof h.currentSrc,m=h.getAttribute,v=h.setAttribute,y=!1;function w(img,t,e){var r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='"+(t||1)+"' height='"+(e||0)+"'%3E%3C/svg%3E";m.call(img,"src")!==r&&v.call(img,"src",r)}function _(img,t){img.naturalWidth?t(img):setTimeout(_,100,img,t)}function M(t){var style=function(t){for(var e,style=getComputedStyle(t).fontFamily,r={};null!==(e=o.exec(style));)r[e[1]]=e[2];return r}(t),e=t[n];if(style["object-fit"]=style["object-fit"]||"fill",!e.img){if("fill"===style["object-fit"])return;if(!e.skipTest&&l&&!style["object-position"])return}if(!e.img){e.img=new Image(t.width,t.height),e.img.srcset=m.call(t,"data-ofi-srcset")||t.srcset,e.img.src=m.call(t,"data-ofi-src")||t.src,v.call(t,"data-ofi-src",t.src),t.srcset&&v.call(t,"data-ofi-srcset",t.srcset),w(t,t.naturalWidth||t.width,t.naturalHeight||t.height),t.srcset&&(t.srcset="");try{!function(t){var e={get:function(e){return t[n].img[e||"src"]},set:function(e,r){return t[n].img[r||"src"]=e,v.call(t,"data-ofi-"+r,e),M(t),e}};Object.defineProperty(t,"src",e),Object.defineProperty(t,"currentSrc",{get:function(){return e.get("currentSrc")}}),Object.defineProperty(t,"srcset",{get:function(){return e.get("srcset")},set:function(t){return e.set(t,"srcset")}})}(t)}catch(t){window.console&&console.warn("https://bit.ly/ofi-old-browser")}}!function(t){if(t.srcset&&!d&&window.picturefill){var e=window.picturefill._;t[e.ns]&&t[e.ns].evaled||e.fillImg(t,{reselect:!0}),t[e.ns].curSrc||(t[e.ns].supported=!1,e.fillImg(t,{reselect:!0})),t.currentSrc=t[e.ns].curSrc||t.src}}(e.img),t.style.backgroundImage='url("'+(e.img.currentSrc||e.img.src).replace(/"/g,'\\"')+'")',t.style.backgroundPosition=style["object-position"]||"center",t.style.backgroundRepeat="no-repeat",t.style.backgroundOrigin="content-box",/scale-down/.test(style["object-fit"])?_(e.img,(function(){e.img.naturalWidth>t.width||e.img.naturalHeight>t.height?t.style.backgroundSize="contain":t.style.backgroundSize="auto"})):t.style.backgroundSize=style["object-fit"].replace("none","auto").replace("fill","100% 100%"),_(e.img,(function(img){w(t,img.naturalWidth,img.naturalHeight)}))}function S(t,e){var r=!y&&!t;if(e=e||{},t=t||"img",c&&!e.skipTest||!f)return!1;"img"===t?t=document.getElementsByTagName("img"):"string"==typeof t?t=document.querySelectorAll(t):"length"in t||(t=[t]);for(var i=0;i<t.length;i++)t[i][n]=t[i][n]||{skipTest:e.skipTest},M(t[i]);r&&(document.body.addEventListener("load",(function(t){"IMG"===t.target.tagName&&S(t.target,{skipTest:e.skipTest})}),!0),y=!0,t="img"),e.watchMQ&&window.addEventListener("resize",S.bind(null,t,{skipTest:e.skipTest}))}S.supportsObjectFit=l,S.supportsObjectPosition=c,function(){function t(t,e){return t[n]&&t[n].img&&("src"===e||"srcset"===e)?t[n].img:t}c||(HTMLImageElement.prototype.getAttribute=function(e){return m.call(t(this,e),e)},HTMLImageElement.prototype.setAttribute=function(e,r){return v.call(t(this,e),e,String(r))})}(),t.exports=S},function(t,e,r){t.exports=function(t){"use strict";var e;t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t,function(t){t.SwiperComponent="Swiper",t.SwiperSlideComponent="SwiperSlide",t.SwiperDirective="swiper",t.SwiperInstance="$swiper"}(e||(e={}));var r,n,o=Object.freeze({containerClass:"swiper-container",wrapperClass:"swiper-wrapper",slideClass:"swiper-slide"});(function(t){t.Ready="ready",t.ClickSlide="clickSlide"})(r||(r={})),function(t){t.AutoUpdate="autoUpdate",t.AutoDestroy="autoDestroy",t.DeleteInstanceOnDestroy="deleteInstanceOnDestroy",t.CleanupStylesOnDestroy="cleanupStylesOnDestroy"}(n||(n={}));var h=["init","beforeDestroy","slideChange","slideChangeTransitionStart","slideChangeTransitionEnd","slideNextTransitionStart","slideNextTransitionEnd","slidePrevTransitionStart","slidePrevTransitionEnd","transitionStart","transitionEnd","touchStart","touchMove","touchMoveOpposite","sliderMove","touchEnd","click","tap","doubleTap","imagesReady","progress","reachBeginning","reachEnd","fromEdge","setTranslate","setTransition","resize","observerUpdate","beforeLoopFix","loopFix"];function l(){for(var s=0,i=0,t=arguments.length;i<t;i++)s+=arguments[i].length;var e=Array(s),r=0;for(i=0;i<t;i++)for(var a=arguments[i],n=0,o=a.length;n<o;n++,r++)e[r]=a[n];return e}var c,f=function(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/\s+/g,"-").toLowerCase()},d=function(t,e,n){var o,h,l;if(t&&!t.destroyed){var c=(null===(o=e.composedPath)||void 0===o?void 0:o.call(e))||e.path;if((null==e?void 0:e.target)&&c){var d=Array.from(t.slides),m=Array.from(c);if(d.includes(e.target)||m.some((function(t){return d.includes(t)}))){var v=t.clickedIndex,y=Number(null===(l=null===(h=t.clickedSlide)||void 0===h?void 0:h.dataset)||void 0===l?void 0:l.swiperSlideIndex),w=Number.isInteger(y)?y:null;n(r.ClickSlide,v,w),n(f(r.ClickSlide),v,w)}}}},m=function(t,e){h.forEach((function(r){t.on(r,(function(){for(var t=arguments,n=[],o=0;o<arguments.length;o++)n[o]=t[o];e.apply(void 0,l([r],n));var h=f(r);h!==r&&e.apply(void 0,l([h],n))}))}))};function v(t,h){var l=function(t,e){var r,n,o,h,l=null===(n=null===(r=t.data)||void 0===r?void 0:r.attrs)||void 0===n?void 0:n[e];return void 0!==l?l:null===(h=null===(o=t.data)||void 0===o?void 0:o.attrs)||void 0===h?void 0:h[f(e)]},c=function(element,t,r){return t.arg||l(r,"instanceName")||element.id||e.SwiperInstance},v=function(element,t,e){var r=c(element,t,e);return e.context[r]||null},y=function(t){return t.value||h},w=function(input){return[!0,void 0,null,""].includes(input)},_=function(t){var e,r,n=(null===(e=t.data)||void 0===e?void 0:e.on)||(null===(r=t.componentOptions)||void 0===r?void 0:r.listeners);return function(t){for(var e,r=arguments,o=[],h=1;h<arguments.length;h++)o[h-1]=r[h];var l=null===(e=n)||void 0===e?void 0:e[t];l&&l.fns.apply(l,o)}};return{bind:function(element,t,e){-1===element.className.indexOf(o.containerClass)&&(element.className+=(element.className?" ":"")+o.containerClass),element.addEventListener("click",(function(r){var n=_(e),o=v(element,t,e);d(o,r,n)}))},inserted:function(element,e,n){var o=n.context,h=y(e),l=c(element,e,n),f=_(n),d=o,v=null==d?void 0:d[l];v&&!v.destroyed||(v=new t(element,h),d[l]=v,m(v,f),f(r.Ready,v))},componentUpdated:function(element,t,e){var r,o,h,c,f,d,m,_,M,S,x,E,A=l(e,n.AutoUpdate);if(w(A)){var T=v(element,t,e);if(T){var k=y(t).loop;k&&(null===(o=null===(r=T)||void 0===r?void 0:r.loopDestroy)||void 0===o||o.call(r)),null===(h=null==T?void 0:T.update)||void 0===h||h.call(T),null===(f=null===(c=T.navigation)||void 0===c?void 0:c.update)||void 0===f||f.call(c),null===(m=null===(d=T.pagination)||void 0===d?void 0:d.render)||void 0===m||m.call(d),null===(M=null===(_=T.pagination)||void 0===_?void 0:_.update)||void 0===M||M.call(_),k&&(null===(x=null===(S=T)||void 0===S?void 0:S.loopCreate)||void 0===x||x.call(S),null===(E=null==T?void 0:T.update)||void 0===E||E.call(T))}}},unbind:function(element,t,e){var r,o=l(e,n.AutoDestroy);if(w(o)){var h=v(element,t,e);h&&h.initialized&&(null===(r=null==h?void 0:h.destroy)||void 0===r||r.call(h,w(l(e,n.DeleteInstanceOnDestroy)),w(l(e,n.CleanupStylesOnDestroy))))}}}}function y(h){var l;return t.extend({name:e.SwiperComponent,props:(l={defaultOptions:{type:Object,required:!1,default:function(){return{}}},options:{type:Object,required:!1}},l[n.AutoUpdate]={type:Boolean,default:!0},l[n.AutoDestroy]={type:Boolean,default:!0},l[n.DeleteInstanceOnDestroy]={type:Boolean,required:!1,default:!0},l[n.CleanupStylesOnDestroy]={type:Boolean,required:!1,default:!0},l),data:function(){var t;return(t={})[e.SwiperInstance]=null,t},computed:{swiperInstance:{cache:!1,set:function(t){this[e.SwiperInstance]=t},get:function(){return this[e.SwiperInstance]}},swiperOptions:function(){return this.options||this.defaultOptions},wrapperClass:function(){return this.swiperOptions.wrapperClass||o.wrapperClass}},methods:{handleSwiperClick:function(t){d(this.swiperInstance,t,this.$emit.bind(this))},autoReLoopSwiper:function(){var t,e;if(this.swiperInstance&&this.swiperOptions.loop){var r=this.swiperInstance;null===(t=null==r?void 0:r.loopDestroy)||void 0===t||t.call(r),null===(e=null==r?void 0:r.loopCreate)||void 0===e||e.call(r)}},updateSwiper:function(){var t,e,r,o,h,l,c,f;this[n.AutoUpdate]&&this.swiperInstance&&(this.autoReLoopSwiper(),null===(e=null===(t=this.swiperInstance)||void 0===t?void 0:t.update)||void 0===e||e.call(t),null===(o=null===(r=this.swiperInstance.navigation)||void 0===r?void 0:r.update)||void 0===o||o.call(r),null===(l=null===(h=this.swiperInstance.pagination)||void 0===h?void 0:h.render)||void 0===l||l.call(h),null===(f=null===(c=this.swiperInstance.pagination)||void 0===c?void 0:c.update)||void 0===f||f.call(c))},destroySwiper:function(){var t,e;this[n.AutoDestroy]&&this.swiperInstance&&this.swiperInstance.initialized&&(null===(e=null===(t=this.swiperInstance)||void 0===t?void 0:t.destroy)||void 0===e||e.call(t,this[n.DeleteInstanceOnDestroy],this[n.CleanupStylesOnDestroy]))},initSwiper:function(){this.swiperInstance=new h(this.$el,this.swiperOptions),m(this.swiperInstance,this.$emit.bind(this)),this.$emit(r.Ready,this.swiperInstance)}},mounted:function(){this.swiperInstance||this.initSwiper()},activated:function(){this.updateSwiper()},updated:function(){this.updateSwiper()},beforeDestroy:function(){this.$nextTick(this.destroySwiper)},render:function(t){return t("div",{staticClass:o.containerClass,on:{click:this.handleSwiperClick}},[this.$slots[c.ParallaxBg],t("div",{class:this.wrapperClass},this.$slots.default),this.$slots[c.Pagination],this.$slots[c.PrevButton],this.$slots[c.NextButton],this.$slots[c.Scrollbar]])}})}!function(t){t.ParallaxBg="parallax-bg",t.Pagination="pagination",t.Scrollbar="scrollbar",t.PrevButton="button-prev",t.NextButton="button-next"}(c||(c={}));var w=t.extend({name:e.SwiperSlideComponent,computed:{slideClass:function(){var t,e;return(null===(e=null===(t=this.$parent)||void 0===t?void 0:t.swiperOptions)||void 0===e?void 0:e.slideClass)||o.slideClass}},methods:{update:function(){var t,e=this.$parent;e[n.AutoUpdate]&&(null===(t=null==e?void 0:e.swiperInstance)||void 0===t||t.update())}},mounted:function(){this.update()},updated:function(){this.update()},render:function(t){return t("div",{class:this.slideClass},this.$slots.default)}}),_=function(t){var r=function(n,o){if(!r.installed){var h=y(t);o&&(h.options.props.defaultOptions.default=function(){return o}),n.component(e.SwiperComponent,h),n.component(e.SwiperSlideComponent,w),n.directive(e.SwiperDirective,v(t,o)),r.installed=!0}};return r};return function(t){var r;return(r={version:"4.1.1",install:_(t),directive:v(t)})[e.SwiperComponent]=y(t),r[e.SwiperSlideComponent]=w,r}}(r(17))},,function(t,e,r){"use strict";r.d(e,"a",(function(){return j})),r.d(e,"b",(function(){return N}));var n,o,h=r(32);!function(t){t.Ok="ok",t.Exited="exited",t.Crashed="crashed",t.Abnormal="abnormal"}(n||(n={})),function(t){t.Ok="ok",t.Errored="errored",t.Crashed="crashed"}(o||(o={}));var l=r(133);r(175);function c(){var t=Object(l.a)(),e=t.crypto||t.msCrypto;if(void 0!==e&&e.getRandomValues){var r=new Uint16Array(8);e.getRandomValues(r),r[3]=4095&r[3]|16384,r[4]=16383&r[4]|32768;var n=function(t){for(var e=t.toString(16);e.length<4;)e="0"+e;return e};return n(r[0])+n(r[1])+n(r[2])+n(r[3])+n(r[4])+n(r[5])+n(r[6])+n(r[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))}var time=r(957),f=Object(l.a)(),d="Sentry Logger ";function m(t){var e=Object(l.a)();if(!("console"in e))return t();var r=e.console,n={};["debug","info","warn","error","log","assert"].forEach((function(t){t in e.console&&r[t].__sentry_original__&&(n[t]=r[t],r[t]=r[t].__sentry_original__)}));var o=t();return Object.keys(n).forEach((function(t){r[t]=n[t]})),o}var v=function(){function t(){this._enabled=!1}return t.prototype.disable=function(){this._enabled=!1},t.prototype.enable=function(){this._enabled=!0},t.prototype.log=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&m((function(){f.console.log(d+"[Log]: "+t.join(" "))}))},t.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&m((function(){f.console.warn(d+"[Warn]: "+t.join(" "))}))},t.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._enabled&&m((function(){f.console.error(d+"[Error]: "+t.join(" "))}))},t}();f.__SENTRY__=f.__SENTRY__||{};var y=f.__SENTRY__.logger||(f.__SENTRY__.logger=new v),w=r(236),_=r(83),M=function(){function t(t){var e=this;this._state="PENDING",this._handlers=[],this._resolve=function(t){e._setResult("RESOLVED",t)},this._reject=function(t){e._setResult("REJECTED",t)},this._setResult=function(t,r){"PENDING"===e._state&&(Object(_.j)(r)?r.then(e._resolve,e._reject):(e._state=t,e._value=r,e._executeHandlers()))},this._attachHandler=function(t){e._handlers=e._handlers.concat(t),e._executeHandlers()},this._executeHandlers=function(){if("PENDING"!==e._state){var t=e._handlers.slice();e._handlers=[],t.forEach((function(t){t.done||("RESOLVED"===e._state&&t.onfulfilled&&t.onfulfilled(e._value),"REJECTED"===e._state&&t.onrejected&&t.onrejected(e._value),t.done=!0)}))}};try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}return t.resolve=function(e){return new t((function(t){t(e)}))},t.reject=function(e){return new t((function(t,r){r(e)}))},t.all=function(e){return new t((function(r,n){if(Array.isArray(e))if(0!==e.length){var o=e.length,h=[];e.forEach((function(e,l){t.resolve(e).then((function(t){h[l]=t,0===(o-=1)&&r(h)})).then(null,n)}))}else r([]);else n(new TypeError("Promise.all requires an array as input."))}))},t.prototype.then=function(e,r){var n=this;return new t((function(t,o){n._attachHandler({done:!1,onfulfilled:function(r){if(e)try{return void t(e(r))}catch(t){return void o(t)}else t(r)},onrejected:function(e){if(r)try{return void t(r(e))}catch(t){return void o(t)}else o(e)}})}))},t.prototype.catch=function(t){return this.then((function(t){return t}),t)},t.prototype.finally=function(e){var r=this;return new t((function(t,n){var o,h;return r.then((function(t){h=!1,o=t,e&&e()}),(function(t){h=!0,o=t,e&&e()})).then((function(){h?n(o):t(o)}))}))},t.prototype.toString=function(){return"[object SyncPromise]"},t}(),S=function(){function t(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={}}return t.clone=function(e){var r=new t;return e&&(r._breadcrumbs=Object(h.__spread)(e._breadcrumbs),r._tags=Object(h.__assign)({},e._tags),r._extra=Object(h.__assign)({},e._extra),r._contexts=Object(h.__assign)({},e._contexts),r._user=e._user,r._level=e._level,r._span=e._span,r._session=e._session,r._transactionName=e._transactionName,r._fingerprint=e._fingerprint,r._eventProcessors=Object(h.__spread)(e._eventProcessors),r._requestSession=e._requestSession),r},t.prototype.addScopeListener=function(t){this._scopeListeners.push(t)},t.prototype.addEventProcessor=function(t){return this._eventProcessors.push(t),this},t.prototype.setUser=function(t){return this._user=t||{},this._session&&this._session.update({user:t}),this._notifyScopeListeners(),this},t.prototype.getUser=function(){return this._user},t.prototype.getRequestSession=function(){return this._requestSession},t.prototype.setRequestSession=function(t){return this._requestSession=t,this},t.prototype.setTags=function(t){return this._tags=Object(h.__assign)(Object(h.__assign)({},this._tags),t),this._notifyScopeListeners(),this},t.prototype.setTag=function(t,e){var r;return this._tags=Object(h.__assign)(Object(h.__assign)({},this._tags),((r={})[t]=e,r)),this._notifyScopeListeners(),this},t.prototype.setExtras=function(t){return this._extra=Object(h.__assign)(Object(h.__assign)({},this._extra),t),this._notifyScopeListeners(),this},t.prototype.setExtra=function(t,e){var r;return this._extra=Object(h.__assign)(Object(h.__assign)({},this._extra),((r={})[t]=e,r)),this._notifyScopeListeners(),this},t.prototype.setFingerprint=function(t){return this._fingerprint=t,this._notifyScopeListeners(),this},t.prototype.setLevel=function(t){return this._level=t,this._notifyScopeListeners(),this},t.prototype.setTransactionName=function(t){return this._transactionName=t,this._notifyScopeListeners(),this},t.prototype.setTransaction=function(t){return this.setTransactionName(t)},t.prototype.setContext=function(t,e){var r;return null===e?delete this._contexts[t]:this._contexts=Object(h.__assign)(Object(h.__assign)({},this._contexts),((r={})[t]=e,r)),this._notifyScopeListeners(),this},t.prototype.setSpan=function(span){return this._span=span,this._notifyScopeListeners(),this},t.prototype.getSpan=function(){return this._span},t.prototype.getTransaction=function(){var t,e,r,n,span=this.getSpan();return(null===(t=span)||void 0===t?void 0:t.transaction)?null===(e=span)||void 0===e?void 0:e.transaction:(null===(n=null===(r=span)||void 0===r?void 0:r.spanRecorder)||void 0===n?void 0:n.spans[0])?span.spanRecorder.spans[0]:void 0},t.prototype.setSession=function(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this},t.prototype.getSession=function(){return this._session},t.prototype.update=function(e){if(!e)return this;if("function"==typeof e){var r=e(this);return r instanceof t?r:this}return e instanceof t?(this._tags=Object(h.__assign)(Object(h.__assign)({},this._tags),e._tags),this._extra=Object(h.__assign)(Object(h.__assign)({},this._extra),e._extra),this._contexts=Object(h.__assign)(Object(h.__assign)({},this._contexts),e._contexts),e._user&&Object.keys(e._user).length&&(this._user=e._user),e._level&&(this._level=e._level),e._fingerprint&&(this._fingerprint=e._fingerprint),e._requestSession&&(this._requestSession=e._requestSession)):Object(_.e)(e)&&(e=e,this._tags=Object(h.__assign)(Object(h.__assign)({},this._tags),e.tags),this._extra=Object(h.__assign)(Object(h.__assign)({},this._extra),e.extra),this._contexts=Object(h.__assign)(Object(h.__assign)({},this._contexts),e.contexts),e.user&&(this._user=e.user),e.level&&(this._level=e.level),e.fingerprint&&(this._fingerprint=e.fingerprint),e.requestSession&&(this._requestSession=e.requestSession)),this},t.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this},t.prototype.addBreadcrumb=function(t,e){var r="number"==typeof e?Math.min(e,100):100;if(r<=0)return this;var n=Object(h.__assign)({timestamp:Object(time.a)()},t);return this._breadcrumbs=Object(h.__spread)(this._breadcrumbs,[n]).slice(-r),this._notifyScopeListeners(),this},t.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},t.prototype.applyToEvent=function(t,e){var r;if(this._extra&&Object.keys(this._extra).length&&(t.extra=Object(h.__assign)(Object(h.__assign)({},this._extra),t.extra)),this._tags&&Object.keys(this._tags).length&&(t.tags=Object(h.__assign)(Object(h.__assign)({},this._tags),t.tags)),this._user&&Object.keys(this._user).length&&(t.user=Object(h.__assign)(Object(h.__assign)({},this._user),t.user)),this._contexts&&Object.keys(this._contexts).length&&(t.contexts=Object(h.__assign)(Object(h.__assign)({},this._contexts),t.contexts)),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts=Object(h.__assign)({trace:this._span.getTraceContext()},t.contexts);var n=null===(r=this._span.transaction)||void 0===r?void 0:r.name;n&&(t.tags=Object(h.__assign)({transaction:n},t.tags))}return this._applyFingerprint(t),t.breadcrumbs=Object(h.__spread)(t.breadcrumbs||[],this._breadcrumbs),t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,this._notifyEventProcessors(Object(h.__spread)(x(),this._eventProcessors),t,e)},t.prototype._notifyEventProcessors=function(t,e,r,n){var o=this;return void 0===n&&(n=0),new M((function(l,c){var f=t[n];if(null===e||"function"!=typeof f)l(e);else{var d=f(Object(h.__assign)({},e),r);Object(_.j)(d)?d.then((function(e){return o._notifyEventProcessors(t,e,r,n+1).then(l)})).then(null,c):o._notifyEventProcessors(t,d,r,n+1).then(l).then(null,c)}}))},t.prototype._notifyScopeListeners=function(){var t=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((function(e){e(t)})),this._notifyingListeners=!1)},t.prototype._applyFingerprint=function(t){t.fingerprint=t.fingerprint?Array.isArray(t.fingerprint)?t.fingerprint:[t.fingerprint]:[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint},t}();function x(){var t=Object(l.a)();return t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.globalEventProcessors=t.__SENTRY__.globalEventProcessors||[],t.__SENTRY__.globalEventProcessors}var object=r(958),E=function(){function t(t){this.errors=0,this.sid=c(),this.duration=0,this.status=n.Ok,this.init=!0,this.ignoreDuration=!1;var e=Object(time.b)();this.timestamp=e,this.started=e,t&&this.update(t)}return t.prototype.update=function(t){if(void 0===t&&(t={}),t.user&&(!this.ipAddress&&t.user.ip_address&&(this.ipAddress=t.user.ip_address),this.did||t.did||(this.did=t.user.id||t.user.email||t.user.username)),this.timestamp=t.timestamp||Object(time.b)(),t.ignoreDuration&&(this.ignoreDuration=t.ignoreDuration),t.sid&&(this.sid=32===t.sid.length?t.sid:c()),void 0!==t.init&&(this.init=t.init),!this.did&&t.did&&(this.did=""+t.did),"number"==typeof t.started&&(this.started=t.started),this.ignoreDuration)this.duration=void 0;else if("number"==typeof t.duration)this.duration=t.duration;else{var e=this.timestamp-this.started;this.duration=e>=0?e:0}t.release&&(this.release=t.release),t.environment&&(this.environment=t.environment),!this.ipAddress&&t.ipAddress&&(this.ipAddress=t.ipAddress),!this.userAgent&&t.userAgent&&(this.userAgent=t.userAgent),"number"==typeof t.errors&&(this.errors=t.errors),t.status&&(this.status=t.status)},t.prototype.close=function(t){t?this.update({status:t}):this.status===n.Ok?this.update({status:n.Exited}):this.update()},t.prototype.toJSON=function(){return Object(object.a)({sid:""+this.sid,init:this.init,started:new Date(1e3*this.started).toISOString(),timestamp:new Date(1e3*this.timestamp).toISOString(),status:this.status,errors:this.errors,did:"number"==typeof this.did||"string"==typeof this.did?""+this.did:void 0,duration:this.duration,attrs:Object(object.a)({release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent})})},t}(),A=function(){function t(t,e,r){void 0===e&&(e=new S),void 0===r&&(r=4),this._version=r,this._stack=[{}],this.getStackTop().scope=e,t&&this.bindClient(t)}return t.prototype.isOlderThan=function(t){return this._version<t},t.prototype.bindClient=function(t){this.getStackTop().client=t,t&&t.setupIntegrations&&t.setupIntegrations()},t.prototype.pushScope=function(){var t=S.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t},t.prototype.popScope=function(){return!(this.getStack().length<=1)&&!!this.getStack().pop()},t.prototype.withScope=function(t){var e=this.pushScope();try{t(e)}finally{this.popScope()}},t.prototype.getClient=function(){return this.getStackTop().client},t.prototype.getScope=function(){return this.getStackTop().scope},t.prototype.getStack=function(){return this._stack},t.prototype.getStackTop=function(){return this._stack[this._stack.length-1]},t.prototype.captureException=function(t,e){var r=this._lastEventId=c(),n=e;if(!e){var o=void 0;try{throw new Error("Sentry syntheticException")}catch(t){o=t}n={originalException:t,syntheticException:o}}return this._invokeClient("captureException",t,Object(h.__assign)(Object(h.__assign)({},n),{event_id:r})),r},t.prototype.captureMessage=function(t,e,r){var n=this._lastEventId=c(),o=r;if(!r){var l=void 0;try{throw new Error(t)}catch(t){l=t}o={originalException:t,syntheticException:l}}return this._invokeClient("captureMessage",t,e,Object(h.__assign)(Object(h.__assign)({},o),{event_id:n})),n},t.prototype.captureEvent=function(t,e){var r=c();return"transaction"!==t.type&&(this._lastEventId=r),this._invokeClient("captureEvent",t,Object(h.__assign)(Object(h.__assign)({},e),{event_id:r})),r},t.prototype.lastEventId=function(){return this._lastEventId},t.prototype.addBreadcrumb=function(t,e){var r=this.getStackTop(),n=r.scope,o=r.client;if(n&&o){var l=o.getOptions&&o.getOptions()||{},c=l.beforeBreadcrumb,f=void 0===c?null:c,d=l.maxBreadcrumbs,v=void 0===d?100:d;if(!(v<=0)){var y=Object(time.a)(),w=Object(h.__assign)({timestamp:y},t),_=f?m((function(){return f(w,e)})):w;null!==_&&n.addBreadcrumb(_,v)}}},t.prototype.setUser=function(t){var e=this.getScope();e&&e.setUser(t)},t.prototype.setTags=function(t){var e=this.getScope();e&&e.setTags(t)},t.prototype.setExtras=function(t){var e=this.getScope();e&&e.setExtras(t)},t.prototype.setTag=function(t,e){var r=this.getScope();r&&r.setTag(t,e)},t.prototype.setExtra=function(t,e){var r=this.getScope();r&&r.setExtra(t,e)},t.prototype.setContext=function(t,e){var r=this.getScope();r&&r.setContext(t,e)},t.prototype.configureScope=function(t){var e=this.getStackTop(),r=e.scope,n=e.client;r&&n&&t(r)},t.prototype.run=function(t){var e=k(this);try{t(this)}finally{k(e)}},t.prototype.getIntegration=function(t){var e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(e){return y.warn("Cannot retrieve integration "+t.id+" from the current Hub"),null}},t.prototype.startSpan=function(t){return this._callExtensionMethod("startSpan",t)},t.prototype.startTransaction=function(t,e){return this._callExtensionMethod("startTransaction",t,e)},t.prototype.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},t.prototype.captureSession=function(t){if(void 0===t&&(t=!1),t)return this.endSession();this._sendSessionUpdate()},t.prototype.endSession=function(){var t,e,r,n,o;null===(r=null===(e=null===(t=this.getStackTop())||void 0===t?void 0:t.scope)||void 0===e?void 0:e.getSession())||void 0===r||r.close(),this._sendSessionUpdate(),null===(o=null===(n=this.getStackTop())||void 0===n?void 0:n.scope)||void 0===o||o.setSession()},t.prototype.startSession=function(t){var e=this.getStackTop(),r=e.scope,o=e.client,c=o&&o.getOptions()||{},f=c.release,d=c.environment,m=(Object(l.a)().navigator||{}).userAgent,v=new E(Object(h.__assign)(Object(h.__assign)(Object(h.__assign)({release:f,environment:d},r&&{user:r.getUser()}),m&&{userAgent:m}),t));if(r){var y=r.getSession&&r.getSession();y&&y.status===n.Ok&&y.update({status:n.Exited}),this.endSession(),r.setSession(v)}return v},t.prototype._sendSessionUpdate=function(){var t=this.getStackTop(),e=t.scope,r=t.client;if(e){var n=e.getSession&&e.getSession();n&&r&&r.captureSession&&r.captureSession(n)}},t.prototype._invokeClient=function(t){for(var e,r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var o=this.getStackTop(),l=o.scope,c=o.client;c&&c[t]&&(e=c)[t].apply(e,Object(h.__spread)(r,[l]))},t.prototype._callExtensionMethod=function(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=T(),o=n.__SENTRY__;if(o&&o.extensions&&"function"==typeof o.extensions[t])return o.extensions[t].apply(this,e);y.warn("Extension method "+t+" couldn't be found, doing nothing.")},t}();function T(){var t=Object(l.a)();return t.__SENTRY__=t.__SENTRY__||{extensions:{},hub:void 0},t}function k(t){var e=T(),r=I(e);return P(e,t),r}function C(){var t=T();return O(t)&&!I(t).isOlderThan(4)||P(t,new A),Object(w.b)()?function(t){var e,r,n;try{var o=null===(n=null===(r=null===(e=T().__SENTRY__)||void 0===e?void 0:e.extensions)||void 0===r?void 0:r.domain)||void 0===n?void 0:n.active;if(!o)return I(t);if(!O(o)||I(o).isOlderThan(4)){var h=I(t).getStackTop();P(o,new A(h.client,S.clone(h.scope)))}return I(o)}catch(e){return I(t)}}(t):I(t)}function O(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function I(t){return t&&t.__SENTRY__&&t.__SENTRY__.hub||(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=new A),t.__SENTRY__.hub}function P(t,e){return!!t&&(t.__SENTRY__=t.__SENTRY__||{},t.__SENTRY__.hub=e,!0)}function R(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=C();if(n&&n[t])return n[t].apply(n,Object(h.__spread)(e));throw new Error("No hub defined or "+t+" was not found on the hub, please open a bug report.")}function j(t,e){var r;try{throw new Error("Sentry syntheticException")}catch(t){r=t}return R("captureException",t,{captureContext:e,originalException:t,syntheticException:r})}function N(t,e){var r;try{throw new Error(t)}catch(t){r=t}var n="string"!=typeof e?{captureContext:e}:void 0;return R("captureMessage",t,"string"==typeof e?e:void 0,Object(h.__assign)({originalException:t,syntheticException:r},n))}},,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){(function(t){var n=r(663),o=r(490),h=r(671),l=r(672),c=r(495),f=e;f.request=function(e,r){e="string"==typeof e?c.parse(e):h(e);var o=-1===t.location.protocol.search(/^https?:$/)?"http:":"",l=e.protocol||o,f=e.hostname||e.host,d=e.port,path=e.path||"/";f&&-1!==f.indexOf(":")&&(f="["+f+"]"),e.url=(f?l+"//"+f:"")+(d?":"+d:"")+path,e.method=(e.method||"GET").toUpperCase(),e.headers=e.headers||{};var m=new n(e);return r&&m.on("response",r),m},f.get=function(t,e){var r=f.request(t,e);return r.end(),r},f.ClientRequest=n,f.IncomingMessage=o.IncomingMessage,f.Agent=function(){},f.Agent.defaultMaxSockets=4,f.globalAgent=new f.Agent,f.STATUS_CODES=l,f.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(54))},function(t,e,r){(function(e,n,o){var h=r(489),l=r(36),c=r(490),f=r(226),d=r(670),m=c.IncomingMessage,v=c.readyStates;var y=t.exports=function(t){var r,n=this;f.Writable.call(n),n._opts=t,n._body=[],n._headers={},t.auth&&n.setHeader("Authorization","Basic "+new e(t.auth).toString("base64")),Object.keys(t.headers).forEach((function(e){n.setHeader(e,t.headers[e])}));var o=!0;if("disable-fetch"===t.mode||"requestTimeout"in t&&!h.abortController)o=!1,r=!0;else if("prefer-streaming"===t.mode)r=!1;else if("allow-wrong-content-type"===t.mode)r=!h.overrideMimeType;else{if(t.mode&&"default"!==t.mode&&"prefer-fast"!==t.mode)throw new Error("Invalid value for opts.mode");r=!0}n._mode=function(t,e){return h.fetch&&e?"fetch":h.mozchunkedarraybuffer?"moz-chunked-arraybuffer":h.msstream?"ms-stream":h.arraybuffer&&t?"arraybuffer":h.vbArray&&t?"text:vbarray":"text"}(r,o),n._fetchTimer=null,n.on("finish",(function(){n._onFinish()}))};l(y,f.Writable),y.prototype.setHeader=function(t,e){var r=t.toLowerCase();-1===w.indexOf(r)&&(this._headers[r]={name:t,value:e})},y.prototype.getHeader=function(t){var header=this._headers[t.toLowerCase()];return header?header.value:null},y.prototype.removeHeader=function(t){delete this._headers[t.toLowerCase()]},y.prototype._onFinish=function(){var t=this;if(!t._destroyed){var r=t._opts,l=t._headers,body=null;"GET"!==r.method&&"HEAD"!==r.method&&(body=h.arraybuffer?d(e.concat(t._body)):h.blobConstructor?new n.Blob(t._body.map((function(t){return d(t)})),{type:(l["content-type"]||{}).value||""}):e.concat(t._body).toString());var c=[];if(Object.keys(l).forEach((function(t){var e=l[t].name,r=l[t].value;Array.isArray(r)?r.forEach((function(t){c.push([e,t])})):c.push([e,r])})),"fetch"===t._mode){var f=null;if(h.abortController){var m=new AbortController;f=m.signal,t._fetchAbortController=m,"requestTimeout"in r&&0!==r.requestTimeout&&(t._fetchTimer=n.setTimeout((function(){t.emit("requestTimeout"),t._fetchAbortController&&t._fetchAbortController.abort()}),r.requestTimeout))}n.fetch(t._opts.url,{method:t._opts.method,headers:c,body:body||void 0,mode:"cors",credentials:r.withCredentials?"include":"same-origin",signal:f}).then((function(e){t._fetchResponse=e,t._connect()}),(function(e){n.clearTimeout(t._fetchTimer),t._destroyed||t.emit("error",e)}))}else{var y=t._xhr=new n.XMLHttpRequest;try{y.open(t._opts.method,t._opts.url,!0)}catch(e){return void o.nextTick((function(){t.emit("error",e)}))}"responseType"in y&&(y.responseType=t._mode.split(":")[0]),"withCredentials"in y&&(y.withCredentials=!!r.withCredentials),"text"===t._mode&&"overrideMimeType"in y&&y.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in r&&(y.timeout=r.requestTimeout,y.ontimeout=function(){t.emit("requestTimeout")}),c.forEach((function(header){y.setRequestHeader(header[0],header[1])})),t._response=null,y.onreadystatechange=function(){switch(y.readyState){case v.LOADING:case v.DONE:t._onXHRProgress()}},"moz-chunked-arraybuffer"===t._mode&&(y.onprogress=function(){t._onXHRProgress()}),y.onerror=function(){t._destroyed||t.emit("error",new Error("XHR error"))};try{y.send(body)}catch(e){return void o.nextTick((function(){t.emit("error",e)}))}}}},y.prototype._onXHRProgress=function(){(function(t){try{var e=t.status;return null!==e&&0!==e}catch(t){return!1}})(this._xhr)&&!this._destroyed&&(this._response||this._connect(),this._response._onXHRProgress())},y.prototype._connect=function(){var t=this;t._destroyed||(t._response=new m(t._xhr,t._fetchResponse,t._mode,t._fetchTimer),t._response.on("error",(function(e){t.emit("error",e)})),t.emit("response",t._response))},y.prototype._write=function(t,e,r){this._body.push(t),r()},y.prototype.abort=y.prototype.destroy=function(){this._destroyed=!0,n.clearTimeout(this._fetchTimer),this._response&&(this._response._destroyed=!0),this._xhr?this._xhr.abort():this._fetchAbortController&&this._fetchAbortController.abort()},y.prototype.end=function(data,t,e){"function"==typeof data&&(e=data,data=void 0),f.Writable.prototype.end.call(this,data,t,e)},y.prototype.flushHeaders=function(){},y.prototype.setTimeout=function(){},y.prototype.setNoDelay=function(){},y.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(61).Buffer,r(54),r(69))},function(t,e,r){"use strict";e.byteLength=function(t){var e=c(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,i,r=c(t),n=r[0],l=r[1],f=new h(function(t,e,r){return 3*(e+r)/4-r}(0,n,l)),d=0,m=l>0?n-4:n;for(i=0;i<m;i+=4)e=o[t.charCodeAt(i)]<<18|o[t.charCodeAt(i+1)]<<12|o[t.charCodeAt(i+2)]<<6|o[t.charCodeAt(i+3)],f[d++]=e>>16&255,f[d++]=e>>8&255,f[d++]=255&e;2===l&&(e=o[t.charCodeAt(i)]<<2|o[t.charCodeAt(i+1)]>>4,f[d++]=255&e);1===l&&(e=o[t.charCodeAt(i)]<<10|o[t.charCodeAt(i+1)]<<4|o[t.charCodeAt(i+2)]>>2,f[d++]=e>>8&255,f[d++]=255&e);return f},e.fromByteArray=function(t){for(var e,r=t.length,o=r%3,h=[],i=0,l=r-o;i<l;i+=16383)h.push(f(t,i,i+16383>l?l:i+16383));1===o?(e=t[r-1],h.push(n[e>>2]+n[e<<4&63]+"==")):2===o&&(e=(t[r-2]<<8)+t[r-1],h.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return h.join("")};for(var n=[],o=[],h="undefined"!=typeof Uint8Array?Uint8Array:Array,code="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,l=code.length;i<l;++i)n[i]=code[i],o[code.charCodeAt(i)]=i;function c(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function f(t,e,r){for(var o,h,output=[],i=e;i<r;i+=3)o=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(255&t[i+2]),output.push(n[(h=o)>>18&63]+n[h>>12&63]+n[h>>6&63]+n[63&h]);return output.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,r,n,o){var h,l,c=8*o-n-1,f=(1<<c)-1,d=f>>1,m=-7,i=r?o-1:0,v=r?-1:1,s=t[e+i];for(i+=v,h=s&(1<<-m)-1,s>>=-m,m+=c;m>0;h=256*h+t[e+i],i+=v,m-=8);for(l=h&(1<<-m)-1,h>>=-m,m+=n;m>0;l=256*l+t[e+i],i+=v,m-=8);if(0===h)h=1-d;else{if(h===f)return l?NaN:1/0*(s?-1:1);l+=Math.pow(2,n),h-=d}return(s?-1:1)*l*Math.pow(2,h-n)},e.write=function(t,e,r,n,o,h){var l,c,f,d=8*h-o-1,m=(1<<d)-1,v=m>>1,rt=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,i=n?0:h-1,y=n?1:-1,s=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,l=m):(l=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-l))<1&&(l--,f*=2),(e+=l+v>=1?rt/f:rt*Math.pow(2,1-v))*f>=2&&(l++,f/=2),l+v>=m?(c=0,l=m):l+v>=1?(c=(e*f-1)*Math.pow(2,o),l+=v):(c=e*Math.pow(2,v-1)*Math.pow(2,o),l=0));o>=8;t[r+i]=255&c,i+=y,c/=256,o-=8);for(l=l<<o|c,d+=o;d>0;t[r+i]=255&l,i+=y,l/=256,d-=8);t[r+i-y]|=128*s}},,function(t,e,r){"use strict";var n=r(45).Buffer,o=r(668);t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(s){if(0===this.length)return"";for(var p=this.head,t=""+p.data;p=p.next;)t+=s+p.data;return t},t.prototype.concat=function(t){if(0===this.length)return n.alloc(0);if(1===this.length)return this.head.data;for(var e,r,o,h=n.allocUnsafe(t>>>0),p=this.head,i=0;p;)e=p.data,r=h,o=i,e.copy(r,o),i+=p.data.length,p=p.next;return h},t}(),o&&o.inspect&&o.inspect.custom&&(t.exports.prototype[o.inspect.custom]=function(){var t=o.inspect({length:this.length});return this.constructor.name+" "+t})},,function(t,e,r){"use strict";t.exports=h;var n=r(494),o=Object.create(r(227));function h(t){if(!(this instanceof h))return new h(t);n.call(this,t)}o.inherits=r(36),o.inherits(h,n),h.prototype._transform=function(t,e,r){r(null,t)}},function(t,e,r){var n=r(61).Buffer;t.exports=function(t){if(t instanceof Uint8Array){if(0===t.byteOffset&&t.byteLength===t.buffer.byteLength)return t.buffer;if("function"==typeof t.buffer.slice)return t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength)}if(n.isBuffer(t)){for(var e=new Uint8Array(t.length),r=t.length,i=0;i<r;i++)e[i]=t[i];return e.buffer}throw new Error("Argument must be a Buffer")}},function(t,e){t.exports=function(){for(var t={},i=0;i<arguments.length;i++){var source=arguments[i];for(var e in source)r.call(source,e)&&(t[e]=source[e])}return t};var r=Object.prototype.hasOwnProperty},function(t,e){t.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(t,e,r){(function(t,n){var o;!function(h){e&&e.nodeType,t&&t.nodeType;var l="object"==typeof n&&n;l.global!==l&&l.window!==l&&l.self;var c,f=2147483647,d=/^xn--/,m=/[^\x20-\x7E]/,v=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=Math.floor,_=String.fromCharCode;function M(t){throw new RangeError(y[t])}function map(t,e){for(var r=t.length,n=[];r--;)n[r]=e(t[r]);return n}function S(t,e){var r=t.split("@"),n="";return r.length>1&&(n=r[0]+"@",t=r[1]),n+map((t=t.replace(v,".")).split("."),e).join(".")}function x(t){for(var e,r,output=[],n=0,o=t.length;n<o;)(e=t.charCodeAt(n++))>=55296&&e<=56319&&n<o?56320==(64512&(r=t.charCodeAt(n++)))?output.push(((1023&e)<<10)+(1023&r)+65536):(output.push(e),n--):output.push(e);return output}function E(t){return map(t,(function(t){var output="";return t>65535&&(output+=_((t-=65536)>>>10&1023|55296),t=56320|1023&t),output+=_(t)})).join("")}function A(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function T(t,e,r){var n=0;for(t=r?w(t/700):t>>1,t+=w(t/e);t>455;n+=36)t=w(t/35);return w(n+36*t/(t+38))}function k(input){var t,e,r,n,o,h,l,c,d,m,v,output=[],y=input.length,i=0,_=128,S=72;for((e=input.lastIndexOf("-"))<0&&(e=0),r=0;r<e;++r)input.charCodeAt(r)>=128&&M("not-basic"),output.push(input.charCodeAt(r));for(n=e>0?e+1:0;n<y;){for(o=i,h=1,l=36;n>=y&&M("invalid-input"),((c=(v=input.charCodeAt(n++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:36)>=36||c>w((f-i)/h))&&M("overflow"),i+=c*h,!(c<(d=l<=S?1:l>=S+26?26:l-S));l+=36)h>w(f/(m=36-d))&&M("overflow"),h*=m;S=T(i-o,t=output.length+1,0==o),w(i/t)>f-_&&M("overflow"),_+=w(i/t),i%=t,output.splice(i++,0,_)}return E(output)}function C(input){var t,e,r,n,o,h,l,q,c,d,m,v,y,S,E,output=[];for(v=(input=x(input)).length,t=128,e=0,o=72,h=0;h<v;++h)(m=input[h])<128&&output.push(_(m));for(r=n=output.length,n&&output.push("-");r<v;){for(l=f,h=0;h<v;++h)(m=input[h])>=t&&m<l&&(l=m);for(l-t>w((f-e)/(y=r+1))&&M("overflow"),e+=(l-t)*y,t=l,h=0;h<v;++h)if((m=input[h])<t&&++e>f&&M("overflow"),m==t){for(q=e,c=36;!(q<(d=c<=o?1:c>=o+26?26:c-o));c+=36)E=q-d,S=36-d,output.push(_(A(d+E%S,0))),q=w(E/S);output.push(_(A(q,0))),o=T(e,y,r==n),e=0,++r}++e,++t}return output.join("")}c={version:"1.4.1",ucs2:{decode:x,encode:E},decode:k,encode:C,toASCII:function(input){return S(input,(function(t){return m.test(t)?"xn--"+C(t):t}))},toUnicode:function(input){return S(input,(function(t){return d.test(t)?k(t.slice(4).toLowerCase()):t}))}},void 0===(o=function(){return c}.call(e,r,e,t))||(t.exports=o)}()}).call(this,r(143)(t),r(54))},function(t,e,r){"use strict";t.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},function(t,e,r){"use strict";e.decode=e.parse=r(676),e.encode=e.stringify=r(677)},function(t,e,r){"use strict";function n(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,e,r,h){e=e||"&",r=r||"=";var l={};if("string"!=typeof t||0===t.length)return l;var c=/\+/g;t=t.split(e);var f=1e3;h&&"number"==typeof h.maxKeys&&(f=h.maxKeys);var d=t.length;f>0&&d>f&&(d=f);for(var i=0;i<d;++i){var m,v,y,w,_=t[i].replace(c,"%20"),M=_.indexOf(r);M>=0?(m=_.substr(0,M),v=_.substr(M+1)):(m=_,v=""),y=decodeURIComponent(m),w=decodeURIComponent(v),n(l,y)?o(l[y])?l[y].push(w):l[y]=[l[y],w]:l[y]=w}return l};var o=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},function(t,e,r){"use strict";var n=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,e,r,l){return e=e||"&",r=r||"=",null===t&&(t=void 0),"object"==typeof t?map(h(t),(function(h){var l=encodeURIComponent(n(h))+r;return o(t[h])?map(t[h],(function(t){return l+encodeURIComponent(n(t))})).join(e):l+encodeURIComponent(n(t[h]))})).join(e):l?encodeURIComponent(n(l))+r+encodeURIComponent(n(t)):""};var o=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function map(t,e){if(t.map)return t.map(e);for(var r=[],i=0;i<t.length;i++)r.push(e(t[i],i));return r}var h=Object.keys||function(t){var e=[];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.push(r);return e}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(32),o=r(497),h=function(){function t(t,e,r){this.name=t,this.instanceFactory=e,this.type=r,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY"}return t.prototype.setInstantiationMode=function(t){return this.instantiationMode=t,this},t.prototype.setMultipleInstances=function(t){return this.multipleInstances=t,this},t.prototype.setServiceProps=function(t){return this.serviceProps=t,this},t}(),l=function(){function t(t,e){this.name=t,this.container=e,this.component=null,this.instances=new Map,this.instancesDeferred=new Map}return t.prototype.get=function(t){void 0===t&&(t="[DEFAULT]");var e=this.normalizeInstanceIdentifier(t);if(!this.instancesDeferred.has(e)){var r=new o.Deferred;this.instancesDeferred.set(e,r);try{var n=this.getOrInitializeService(e);n&&r.resolve(n)}catch(t){}}return this.instancesDeferred.get(e).promise},t.prototype.getImmediate=function(t){var e=n.__assign({identifier:"[DEFAULT]",optional:!1},t),r=e.identifier,o=e.optional,h=this.normalizeInstanceIdentifier(r);try{var l=this.getOrInitializeService(h);if(!l){if(o)return null;throw Error("Service "+this.name+" is not available")}return l}catch(t){if(o)return null;throw t}},t.prototype.getComponent=function(){return this.component},t.prototype.setComponent=function(component){var t,e;if(component.name!==this.name)throw Error("Mismatching Component "+component.name+" for Provider "+this.name+".");if(this.component)throw Error("Component for "+this.name+" has already been provided");if(this.component=component,function(component){return"EAGER"===component.instantiationMode}(component))try{this.getOrInitializeService("[DEFAULT]")}catch(t){}try{for(var r=n.__values(this.instancesDeferred.entries()),o=r.next();!o.done;o=r.next()){var h=n.__read(o.value,2),l=h[0],c=h[1],f=this.normalizeInstanceIdentifier(l);try{var d=this.getOrInitializeService(f);c.resolve(d)}catch(t){}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}},t.prototype.clearInstance=function(t){void 0===t&&(t="[DEFAULT]"),this.instancesDeferred.delete(t),this.instances.delete(t)},t.prototype.delete=function(){return n.__awaiter(this,void 0,void 0,(function(){var t;return n.__generator(this,(function(e){switch(e.label){case 0:return t=Array.from(this.instances.values()),[4,Promise.all(t.filter((function(t){return"INTERNAL"in t})).map((function(t){return t.INTERNAL.delete()})))];case 1:return e.sent(),[2]}}))}))},t.prototype.isComponentSet=function(){return null!=this.component},t.prototype.getOrInitializeService=function(t){var e=this.instances.get(t);return!e&&this.component&&(e=this.component.instanceFactory(this.container,function(t){return"[DEFAULT]"===t?void 0:t}(t)),this.instances.set(t,e)),e||null},t.prototype.normalizeInstanceIdentifier=function(t){return this.component?this.component.multipleInstances?t:"[DEFAULT]":t},t}();var c=function(){function t(t){this.name=t,this.providers=new Map}return t.prototype.addComponent=function(component){var t=this.getProvider(component.name);if(t.isComponentSet())throw new Error("Component "+component.name+" has already been registered with "+this.name);t.setComponent(component)},t.prototype.addOrOverwriteComponent=function(component){this.getProvider(component.name).isComponentSet()&&this.providers.delete(component.name),this.addComponent(component)},t.prototype.getProvider=function(t){if(this.providers.has(t))return this.providers.get(t);var e=new l(t,this);return this.providers.set(t,e),e},t.prototype.getProviders=function(){return Array.from(this.providers.values())},t}();e.Component=h,e.ComponentContainer=c,e.Provider=l},function(t,e,r){"use strict";function n(){for(var s=0,i=0,t=arguments.length;i<t;i++)s+=arguments[i].length;var e=Array(s),r=0;for(i=0;i<t;i++)for(var a=arguments[i],n=0,o=a.length;n<o;n++,r++)e[r]=a[n];return e}var o;r.r(e),r.d(e,"LogLevel",(function(){return h})),r.d(e,"Logger",(function(){return v})),r.d(e,"setLogLevel",(function(){return y})),r.d(e,"setUserLogHandler",(function(){return w}));var h,l=[];!function(t){t[t.DEBUG=0]="DEBUG",t[t.VERBOSE=1]="VERBOSE",t[t.INFO=2]="INFO",t[t.WARN=3]="WARN",t[t.ERROR=4]="ERROR",t[t.SILENT=5]="SILENT"}(h||(h={}));var c={debug:h.DEBUG,verbose:h.VERBOSE,info:h.INFO,warn:h.WARN,error:h.ERROR,silent:h.SILENT},f=h.INFO,d=((o={})[h.DEBUG]="log",o[h.VERBOSE]="log",o[h.INFO]="info",o[h.WARN]="warn",o[h.ERROR]="error",o),m=function(t,e){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];if(!(e<t.logLevel)){var h=(new Date).toISOString(),l=d[e];if(!l)throw new Error("Attempted to log a message with an invalid logType (value: "+e+")");console[l].apply(console,n(["["+h+"]  "+t.name+":"],r))}},v=function(){function t(t){this.name=t,this._logLevel=f,this._logHandler=m,this._userLogHandler=null,l.push(this)}return Object.defineProperty(t.prototype,"logLevel",{get:function(){return this._logLevel},set:function(t){if(!(t in h))throw new TypeError('Invalid value "'+t+'" assigned to `logLevel`');this._logLevel=t},enumerable:!1,configurable:!0}),t.prototype.setLogLevel=function(t){this._logLevel="string"==typeof t?c[t]:t},Object.defineProperty(t.prototype,"logHandler",{get:function(){return this._logHandler},set:function(t){if("function"!=typeof t)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"userLogHandler",{get:function(){return this._userLogHandler},set:function(t){this._userLogHandler=t},enumerable:!1,configurable:!0}),t.prototype.debug=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._userLogHandler&&this._userLogHandler.apply(this,n([this,h.DEBUG],t)),this._logHandler.apply(this,n([this,h.DEBUG],t))},t.prototype.log=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._userLogHandler&&this._userLogHandler.apply(this,n([this,h.VERBOSE],t)),this._logHandler.apply(this,n([this,h.VERBOSE],t))},t.prototype.info=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._userLogHandler&&this._userLogHandler.apply(this,n([this,h.INFO],t)),this._logHandler.apply(this,n([this,h.INFO],t))},t.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._userLogHandler&&this._userLogHandler.apply(this,n([this,h.WARN],t)),this._logHandler.apply(this,n([this,h.WARN],t))},t.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this._userLogHandler&&this._userLogHandler.apply(this,n([this,h.ERROR],t)),this._logHandler.apply(this,n([this,h.ERROR],t))},t}();function y(t){l.forEach((function(e){e.setLogLevel(t)}))}function w(t,e){for(var r=function(r){var n=null;e&&e.level&&(n=c[e.level]),r.userLogHandler=null===t?null:function(e,r){for(var o=[],l=2;l<arguments.length;l++)o[l-2]=arguments[l];var c=o.map((function(t){if(null==t)return null;if("string"==typeof t)return t;if("number"==typeof t||"boolean"==typeof t)return t.toString();if(t instanceof Error)return t.message;try{return JSON.stringify(t)}catch(t){return null}})).filter((function(t){return t})).join(" ");r>=(null!=n?n:e.logLevel)&&t({level:h[r].toLowerCase(),message:c,args:o,type:e.name})}},n=0,o=l;n<o.length;n++){r(o[n])}}},function(t,e,r){(function(t){(function(){var e,n=r(496).default,o="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,t){a!=Array.prototype&&a!=Object.prototype&&(a[b]=t.value)};var h=function(a){a=["object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof t&&t,a];for(var b=0;b<a.length;++b){var e=a[b];if(e&&e.Math==Math)return e}return globalThis}(this);function l(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}function c(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:l(a)}}!function(a,b){if(b){var t=h;a=a.split(".");for(var e=0;e<a.length-1;e++){var r=a[e];r in t||(t[r]={}),t=t[r]}(b=b(e=t[a=a[a.length-1]]))!=e&&null!=b&&o(t,a,{configurable:!0,writable:!0,value:b})}}("Promise",(function(a){function b(g){this.b=0,this.c=void 0,this.a=[];var t=this.f();try{g(t.resolve,t.reject)}catch(e){t.reject(e)}}function t(){this.a=null}function e(g){return g instanceof b?g:new b((function(t){t(g)}))}if(a)return a;t.prototype.b=function(g){if(null==this.a){this.a=[];var t=this;this.c((function(){t.g()}))}this.a.push(g)};var r=h.setTimeout;t.prototype.c=function(g){r(g,0)},t.prototype.g=function(){for(;this.a&&this.a.length;){var g=this.a;this.a=[];for(var t=0;t<g.length;++t){var e=g[t];g[t]=null;try{e()}catch(t){this.f(t)}}}this.a=null},t.prototype.f=function(g){this.c((function(){throw g}))},b.prototype.f=function(){function g(p){return function(r){e||(e=!0,p.call(t,r))}}var t=this,e=!1;return{resolve:g(this.m),reject:g(this.g)}},b.prototype.m=function(g){if(g===this)this.g(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof b)this.s(g);else{t:switch(typeof g){case"object":var t=null!=g;break t;case"function":t=!0;break t;default:t=!1}t?this.u(g):this.h(g)}},b.prototype.u=function(g){var t=void 0;try{t=g.then}catch(t){return void this.g(t)}"function"==typeof t?this.w(t,g):this.h(g)},b.prototype.g=function(g){this.i(2,g)},b.prototype.h=function(g){this.i(1,g)},b.prototype.i=function(g,t){if(0!=this.b)throw Error("Cannot settle("+g+", "+t+"): Promise already settled in state"+this.b);this.b=g,this.c=t,this.l()},b.prototype.l=function(){if(null!=this.a){for(var g=0;g<this.a.length;++g)n.b(this.a[g]);this.a=null}};var n=new t;return b.prototype.s=function(g){var t=this.f();g.Oa(t.resolve,t.reject)},b.prototype.w=function(g,t){var e=this.f();try{g.call(t,e.resolve,e.reject)}catch(t){e.reject(t)}},b.prototype.then=function(g,t){function e(t,e){return"function"==typeof t?function(e){try{p(t(e))}catch(t){r(t)}}:e}var p,r,n=new b((function(t,e){p=t,r=e}));return this.Oa(e(g,p),e(t,r)),n},b.prototype.catch=function(g){return this.then(void 0,g)},b.prototype.Oa=function(g,t){function e(){switch(p.b){case 1:g(p.c);break;case 2:t(p.c);break;default:throw Error("Unexpected state: "+p.b)}}var p=this;null==this.a?n.b(e):this.a.push(e)},b.resolve=e,b.reject=function(g){return new b((function(t,e){e(g)}))},b.race=function(g){return new b((function(t,r){for(var p=c(g),n=p.next();!n.done;n=p.next())e(n.value).Oa(t,r)}))},b.all=function(g){var t=c(g),r=t.next();return r.done?e([]):new b((function(p,n){function o(t){return function(e){h[t]=e,0==--l&&p(h)}}var h=[],l=0;do{h.push(void 0),l++,e(r.value).Oa(o(h.length-1),n),r=t.next()}while(!r.done)}))},b}));var f=f||{},d=this||self,m=/^[\w+/_-]+[=]{0,2}$/,v=null;function y(){}function w(a){var b=typeof a;if("object"==b){if(!a)return"null";if(a instanceof Array)return"array";if(a instanceof Object)return b;var t=Object.prototype.toString.call(a);if("[object Window]"==t)return"object";if("[object Array]"==t||"number"==typeof a.length&&void 0!==a.splice&&void 0!==a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==t||void 0!==a.call&&void 0!==a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else if("function"==b&&void 0===a.call)return"object";return b}function _(a){var b=w(a);return"array"==b||"object"==b&&"number"==typeof a.length}function M(a){return"function"==w(a)}function S(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}function x(a){return Object.prototype.hasOwnProperty.call(a,E)&&a[E]||(a[E]=++A)}var E="closure_uid_"+(1e9*Math.random()>>>0),A=0;function T(a,b,t){return a.call.apply(a.bind,arguments)}function k(a,b,t){if(!a)throw Error();if(2<arguments.length){var e=Array.prototype.slice.call(arguments,2);return function(){var t=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(t,e),a.apply(b,t)}}return function(){return a.apply(b,arguments)}}function q(a,b,t){return(q=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?T:k).apply(null,arguments)}function C(a,b){var t=Array.prototype.slice.call(arguments,1);return function(){var e=t.slice();return e.push.apply(e,arguments),a.apply(this,e)}}var O=Date.now||function(){return+new Date};function I(a,b){function t(){}t.prototype=b.prototype,a.Za=b.prototype,a.prototype=new t,a.prototype.constructor=a}function P(a,b,t){this.code=N+a,this.message=b||L[a]||"",this.a=t||null}function R(a){var b=a&&a.code;return b?new P(b.substring(N.length),a.message,a.serverResponse):null}I(P,Error),P.prototype.v=function(){var a={code:this.code,message:this.message};return this.a&&(a.serverResponse=this.a),a},P.prototype.toJSON=function(){return this.v()};var j,N="auth/",L={"admin-restricted-operation":"This operation is restricted to administrators only.","argument-error":"","app-not-authorized":"This app, identified by the domain where it's hosted, is not authorized to use Firebase Authentication with the provided API key. Review your key configuration in the Google API console.","app-not-installed":"The requested mobile application corresponding to the identifier (Android package name or iOS bundle ID) provided is not installed on this device.","captcha-check-failed":"The reCAPTCHA response token provided is either invalid, expired, already used or the domain associated with it does not match the list of whitelisted domains.","code-expired":"The SMS code has expired. Please re-send the verification code to try again.","cordova-not-ready":"Cordova framework is not ready.","cors-unsupported":"This browser is not supported.","credential-already-in-use":"This credential is already associated with a different user account.","custom-token-mismatch":"The custom token corresponds to a different audience.","requires-recent-login":"This operation is sensitive and requires recent authentication. Log in again before retrying this request.","dynamic-link-not-activated":"Please activate Dynamic Links in the Firebase Console and agree to the terms and conditions.","email-change-needs-verification":"Multi-factor users must always have a verified email.","email-already-in-use":"The email address is already in use by another account.","expired-action-code":"The action code has expired. ","cancelled-popup-request":"This operation has been cancelled due to another conflicting popup being opened.","internal-error":"An internal error has occurred.","invalid-app-credential":"The phone verification request contains an invalid application verifier. The reCAPTCHA token response is either invalid or expired.","invalid-app-id":"The mobile app identifier is not registed for the current project.","invalid-user-token":"This user's credential isn't valid for this project. This can happen if the user's token has been tampered with, or if the user isn't for the project associated with this API key.","invalid-auth-event":"An internal error has occurred.","invalid-verification-code":"The SMS verification code used to create the phone auth credential is invalid. Please resend the verification code sms and be sure use the verification code provided by the user.","invalid-continue-uri":"The continue URL provided in the request is invalid.","invalid-cordova-configuration":"The following Cordova plugins must be installed to enable OAuth sign-in: cordova-plugin-buildinfo, cordova-universal-links-plugin, cordova-plugin-browsertab, cordova-plugin-inappbrowser and cordova-plugin-customurlscheme.","invalid-custom-token":"The custom token format is incorrect. Please check the documentation.","invalid-dynamic-link-domain":"The provided dynamic link domain is not configured or authorized for the current project.","invalid-email":"The email address is badly formatted.","invalid-api-key":"Your API key is invalid, please check you have copied it correctly.","invalid-cert-hash":"The SHA-1 certificate hash provided is invalid.","invalid-credential":"The supplied auth credential is malformed or has expired.","invalid-message-payload":"The email template corresponding to this action contains invalid characters in its message. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-multi-factor-session":"The request does not contain a valid proof of first factor successful sign-in.","invalid-oauth-provider":"EmailAuthProvider is not supported for this operation. This operation only supports OAuth providers.","invalid-oauth-client-id":"The OAuth client ID provided is either invalid or does not match the specified API key.","unauthorized-domain":"This domain is not authorized for OAuth operations for your Firebase project. Edit the list of authorized domains from the Firebase console.","invalid-action-code":"The action code is invalid. This can happen if the code is malformed, expired, or has already been used.","wrong-password":"The password is invalid or the user does not have a password.","invalid-persistence-type":"The specified persistence type is invalid. It can only be local, session or none.","invalid-phone-number":"The format of the phone number provided is incorrect. Please enter the phone number in a format that can be parsed into E.164 format. E.164 phone numbers are written in the format [+][country code][subscriber number including area code].","invalid-provider-id":"The specified provider ID is invalid.","invalid-recipient-email":"The email corresponding to this action failed to send as the provided recipient email address is invalid.","invalid-sender":"The email template corresponding to this action contains an invalid sender email or name. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-verification-id":"The verification ID used to create the phone auth credential is invalid.","invalid-tenant-id":"The Auth instance's tenant ID is invalid.","multi-factor-info-not-found":"The user does not have a second factor matching the identifier provided.","multi-factor-auth-required":"Proof of ownership of a second factor is required to complete sign-in.","missing-android-pkg-name":"An Android Package Name must be provided if the Android App is required to be installed.","auth-domain-config-required":"Be sure to include authDomain when calling firebase.initializeApp(), by following the instructions in the Firebase console.","missing-app-credential":"The phone verification request is missing an application verifier assertion. A reCAPTCHA response token needs to be provided.","missing-verification-code":"The phone auth credential was created with an empty SMS verification code.","missing-continue-uri":"A continue URL must be provided in the request.","missing-iframe-start":"An internal error has occurred.","missing-ios-bundle-id":"An iOS Bundle ID must be provided if an App Store ID is provided.","missing-multi-factor-info":"No second factor identifier is provided.","missing-multi-factor-session":"The request is missing proof of first factor successful sign-in.","missing-or-invalid-nonce":"The request does not contain a valid nonce. This can occur if the SHA-256 hash of the provided raw nonce does not match the hashed nonce in the ID token payload.","missing-phone-number":"To send verification codes, provide a phone number for the recipient.","missing-verification-id":"The phone auth credential was created with an empty verification ID.","app-deleted":"This instance of FirebaseApp has been deleted.","account-exists-with-different-credential":"An account already exists with the same email address but different sign-in credentials. Sign in using a provider associated with this email address.","network-request-failed":"A network error (such as timeout, interrupted connection or unreachable host) has occurred.","no-auth-event":"An internal error has occurred.","no-such-provider":"User was not linked to an account with the given provider.","null-user":"A null user object was provided as the argument for an operation which requires a non-null user object.","operation-not-allowed":"The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console, under the sign-in method tab of the Auth section.","operation-not-supported-in-this-environment":'This operation is not supported in the environment this application is running on. "location.protocol" must be http, https or chrome-extension and web storage must be enabled.',"popup-blocked":"Unable to establish a connection with the popup. It may have been blocked by the browser.","popup-closed-by-user":"The popup has been closed by the user before finalizing the operation.","provider-already-linked":"User can only be linked to one identity for the given provider.","quota-exceeded":"The project's quota for this operation has been exceeded.","redirect-cancelled-by-user":"The redirect operation has been cancelled by the user before finalizing.","redirect-operation-pending":"A redirect sign-in operation is already pending.","rejected-credential":"The request contains malformed or mismatching credentials.","second-factor-already-in-use":"The second factor is already enrolled on this account.","maximum-second-factor-count-exceeded":"The maximum allowed number of second factors on a user has been exceeded.","tenant-id-mismatch":"The provided tenant ID does not match the Auth instance's tenant ID",timeout:"The operation has timed out.","user-token-expired":"The user's credential is no longer valid. The user must sign in again.","too-many-requests":"We have blocked all requests from this device due to unusual activity. Try again later.","unauthorized-continue-uri":"The domain of the continue URL is not whitelisted.  Please whitelist the domain in the Firebase console.","unsupported-first-factor":"Enrolling a second factor or signing in with a multi-factor account requires sign-in with a supported first factor.","unsupported-persistence-type":"The current environment does not support the specified persistence type.","unsupported-tenant-operation":"This operation is not supported in a multi-tenant context.","unverified-email":"The operation requires a verified email.","user-cancelled":"The user did not grant your application the permissions it requested.","user-not-found":"There is no user record corresponding to this identifier. The user may have been deleted.","user-disabled":"The user account has been disabled by an administrator.","user-mismatch":"The supplied credentials do not correspond to the previously signed in user.","user-signed-out":"","weak-password":"The password must be 6 characters long or more.","web-storage-unsupported":"This browser is not supported or 3rd party cookies and data may be disabled."},D={hd:{Ra:"https://staging-identitytoolkit.sandbox.googleapis.com/identitytoolkit/v3/relyingparty/",Xa:"https://staging-securetoken.sandbox.googleapis.com/v1/token",Ua:"https://staging-identitytoolkit.sandbox.googleapis.com/v2/",id:"b"},pd:{Ra:"https://www.googleapis.com/identitytoolkit/v3/relyingparty/",Xa:"https://securetoken.googleapis.com/v1/token",Ua:"https://identitytoolkit.googleapis.com/v2/",id:"p"},rd:{Ra:"https://staging-www.sandbox.googleapis.com/identitytoolkit/v3/relyingparty/",Xa:"https://staging-securetoken.sandbox.googleapis.com/v1/token",Ua:"https://staging-identitytoolkit.sandbox.googleapis.com/v2/",id:"s"},sd:{Ra:"https://www-googleapis-test.sandbox.google.com/identitytoolkit/v3/relyingparty/",Xa:"https://test-securetoken.sandbox.googleapis.com/v1/token",Ua:"https://test-identitytoolkit.sandbox.googleapis.com/v2/",id:"t"}};function B(a){for(var b in D)if(D[b].id===a)return{firebaseEndpoint:(a=D[b]).Ra,secureTokenEndpoint:a.Xa,identityPlatformEndpoint:a.Ua};return null}function F(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(t){return!1}}function u(a){if(Error.captureStackTrace)Error.captureStackTrace(this,u);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))}function U(a,b){for(var t="",e=(a=a.split("%s")).length-1,r=0;r<e;r++)t+=a[r]+(r<b.length?b[r]:"%s");u.call(this,t+a[e])}function z(a,b){throw new U("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1))}function H(a,b){this.c=a,this.f=b,this.b=0,this.a=null}function G(a,b){a.f(b),100>a.b&&(a.b++,b.next=a.a,a.a=b)}function V(){this.b=this.a=null}j=B("__EID__")?"__EID__":void 0,I(u,Error),u.prototype.name="CustomError",I(U,u),U.prototype.name="AssertionError",H.prototype.get=function(){if(0<this.b){this.b--;var a=this.a;this.a=a.next,a.next=null}else a=this.c();return a};var $=new H((function(){return new Y}),(function(a){a.reset()}));function W(){var a=Ae,b=null;return a.a&&(b=a.a,a.a=a.a.next,a.a||(a.b=null),b.next=null),b}function Y(){this.next=this.b=this.a=null}V.prototype.add=function(a,b){var t=$.get();t.set(a,b),this.b?this.b.next=t:this.a=t,this.b=t},Y.prototype.set=function(a,b){this.a=a,this.b=b,this.next=null},Y.prototype.reset=function(){this.next=this.b=this.a=null};var K=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"==typeof a)return"string"!=typeof b||1!=b.length?-1:a.indexOf(b,0);for(var t=0;t<a.length;t++)if(t in a&&a[t]===b)return t;return-1},X=Array.prototype.forEach?function(a,b,t){Array.prototype.forEach.call(a,b,t)}:function(a,b,t){for(var e=a.length,r="string"==typeof a?a.split(""):a,n=0;n<e;n++)n in r&&b.call(t,r[n],n,a)};var Z=Array.prototype.filter?function(a,b){return Array.prototype.filter.call(a,b,void 0)}:function(a,b){for(var t=a.length,e=[],r=0,n="string"==typeof a?a.split(""):a,g=0;g<t;g++)if(g in n){var o=n[g];b.call(void 0,o,g,a)&&(e[r++]=o)}return e},J=Array.prototype.map?function(a,b){return Array.prototype.map.call(a,b,void 0)}:function(a,b){for(var t=a.length,e=Array(t),r="string"==typeof a?a.split(""):a,n=0;n<t;n++)n in r&&(e[n]=b.call(void 0,r[n],n,a));return e},Q=Array.prototype.some?function(a,b){return Array.prototype.some.call(a,b,void 0)}:function(a,b){for(var t=a.length,e="string"==typeof a?a.split(""):a,r=0;r<t;r++)if(r in e&&b.call(void 0,e[r],r,a))return!0;return!1};function tt(a,b){return 0<=K(a,b)}function et(a,b){var t;return(t=0<=(b=K(a,b)))&&Array.prototype.splice.call(a,b,1),t}function it(a,b){!function(a,b){for(var t="string"==typeof a?a.split(""):a,e=a.length-1;0<=e;--e)e in t&&b.call(void 0,t[e],e,a)}(a,(function(t,e){b.call(void 0,t,e,a)&&1==Array.prototype.splice.call(a,e,1).length&&0}))}function nt(a){return Array.prototype.concat.apply([],arguments)}function ot(a){var b=a.length;if(0<b){for(var t=Array(b),e=0;e<b;e++)t[e]=a[e];return t}return[]}var at,st=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},ht=/&/g,ut=/</g,lt=/>/g,ct=/"/g,ft=/'/g,pt=/\x00/g,mt=/[\x00&<>"']/;function gt(a,b){return-1!=a.indexOf(b)}function vt(a,b){return a<b?-1:a>b?1:0}t:{var bt=d.navigator;if(bt){var yt=bt.userAgent;if(yt){at=yt;break t}}at=""}function wt(a){return gt(at,a)}function _t(a,b){for(var t in a)b.call(void 0,a[t],t,a)}function Mt(a){for(var b in a)return!1;return!0}function St(a){var t,b={};for(t in a)b[t]=a[t];return b}var xt="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function Et(a,b){for(var t,e,r=1;r<arguments.length;r++){for(t in e=arguments[r])a[t]=e[t];for(var n=0;n<xt.length;n++)t=xt[n],Object.prototype.hasOwnProperty.call(e,t)&&(a[t]=e[t])}}function At(a,b){t:{try{var t=a&&a.ownerDocument,e=t&&(t.defaultView||t.parentWindow);if((e=e||d).Element&&e.Location){var r=e;break t}}catch(t){}r=null}if(r&&void 0!==r[b]&&(!a||!(a instanceof r[b])&&(a instanceof r.Location||a instanceof r.Element))){if(S(a))try{var n=a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a)}catch(t){n="<object could not be stringified>"}else n=void 0===a?"undefined":null===a?"null":typeof a;z("Argument is not a %s (or a non-Element, non-Location mock); got: %s",b,n)}}function Tt(a,b){this.a=a===Ot&&b||"",this.b=Ct}function kt(a){return a instanceof Tt&&a.constructor===Tt&&a.b===Ct?a.a:(z("expected object of type Const, got '"+a+"'"),"type_error:Const")}Tt.prototype.ra=!0,Tt.prototype.qa=function(){return this.a},Tt.prototype.toString=function(){return"Const{"+this.a+"}"};var Ct={},Ot={},It=new Tt(Ot,"");function Pt(a,b){this.a=a===Bt&&b||"",this.b=Dt}function Rt(a){return a instanceof Pt&&a.constructor===Pt&&a.b===Dt?a.a:(z("expected object of type TrustedResourceUrl, got '"+a+"' of type "+w(a)),"type_error:TrustedResourceUrl")}function jt(a,b){var t=kt(a);if(!Lt.test(t))throw Error("Invalid TrustedResourceUrl format: "+t);return a=t.replace(Nt,(function(e,r){if(!Object.prototype.hasOwnProperty.call(b,r))throw Error('Found marker, "'+r+'", in format string, "'+t+'", but no valid label mapping found in args: '+JSON.stringify(b));return(e=b[r])instanceof Tt?kt(e):encodeURIComponent(String(e))})),new Pt(Bt,a)}Pt.prototype.ra=!0,Pt.prototype.qa=function(){return this.a.toString()},Pt.prototype.toString=function(){return"TrustedResourceUrl{"+this.a+"}"};var Nt=/%{(\w+)}/g,Lt=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,Dt={},Bt={};function Ft(a,b){this.a=a===Gt&&b||"",this.b=Ht}function Ut(a){return a instanceof Ft&&a.constructor===Ft&&a.b===Ht?a.a:(z("expected object of type SafeUrl, got '"+a+"' of type "+w(a)),"type_error:SafeUrl")}Ft.prototype.ra=!0,Ft.prototype.qa=function(){return this.a.toString()},Ft.prototype.toString=function(){return"SafeUrl{"+this.a+"}"};var qt=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i;function zt(a){return a instanceof Ft?a:(a="object"==typeof a&&a.ra?a.qa():String(a),qt.test(a)||(a="about:invalid#zClosurez"),new Ft(Gt,a))}var Ht={},Gt={};function Vt(){this.a="",this.b=Wt}function $t(a){return a instanceof Vt&&a.constructor===Vt&&a.b===Wt?a.a:(z("expected object of type SafeHtml, got '"+a+"' of type "+w(a)),"type_error:SafeHtml")}Vt.prototype.ra=!0,Vt.prototype.qa=function(){return this.a.toString()},Vt.prototype.toString=function(){return"SafeHtml{"+this.a+"}"};var Wt={};function Yt(a){var b=new Vt;return b.a=a,b}Yt("<!DOCTYPE html>");var Kt=Yt("");function Xt(a,b){for(var t=a.split("%s"),e="",r=Array.prototype.slice.call(arguments,1);r.length&&1<t.length;)e+=t.shift()+r.shift();return e+t.join("%s")}function Zt(a){return mt.test(a)&&(-1!=a.indexOf("&")&&(a=a.replace(ht,"&amp;")),-1!=a.indexOf("<")&&(a=a.replace(ut,"&lt;")),-1!=a.indexOf(">")&&(a=a.replace(lt,"&gt;")),-1!=a.indexOf('"')&&(a=a.replace(ct,"&quot;")),-1!=a.indexOf("'")&&(a=a.replace(ft,"&#39;")),-1!=a.indexOf("\0")&&(a=a.replace(pt,"&#0;"))),a}function Jt(a){return Jt[" "](a),a}Yt("<br>"),Jt[" "]=y;var Qt,a,te=wt("Opera"),ee=wt("Trident")||wt("MSIE"),re=wt("Edge"),ie=re||ee,ne=wt("Gecko")&&!(gt(at.toLowerCase(),"webkit")&&!wt("Edge"))&&!(wt("Trident")||wt("MSIE"))&&!wt("Edge"),oe=gt(at.toLowerCase(),"webkit")&&!wt("Edge");function ae(){var a=d.document;return a?a.documentMode:void 0}t:{var se="",he=(a=at,ne?/rv:([^\);]+)(\)|;)/.exec(a):re?/Edge\/([\d\.]+)/.exec(a):ee?/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a):oe?/WebKit\/(\S+)/.exec(a):te?/(?:Version)[ \/]?(\S+)/.exec(a):void 0);if(he&&(se=he?he[1]:""),ee){var ue=ae();if(null!=ue&&ue>parseFloat(se)){Qt=String(ue);break t}}Qt=se}var le,ce={};function fe(a){return function(a,b){var t=ce;return Object.prototype.hasOwnProperty.call(t,a)?t[a]:t[a]=b(a)}(a,(function(){for(var b=0,t=st(String(Qt)).split("."),e=st(String(a)).split("."),r=Math.max(t.length,e.length),n=0;0==b&&n<r;n++){var g=t[n]||"",o=e[n]||"";do{if(g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""],o=/(\d*)(\D*)(.*)/.exec(o)||["","","",""],0==g[0].length&&0==o[0].length)break;b=vt(0==g[1].length?0:parseInt(g[1],10),0==o[1].length?0:parseInt(o[1],10))||vt(0==g[2].length,0==o[2].length)||vt(g[2],o[2]),g=g[3],o=o[3]}while(0==b)}return 0<=b}))}le=d.document&&ee?ae():void 0;try{new self.OffscreenCanvas(0,0).getContext("2d")}catch(a){}var de=!ee||9<=Number(le);function pe(a){var b=document;return"string"==typeof a?b.getElementById(a):a}function me(a,b){_t(b,(function(t,e){t&&"object"==typeof t&&t.ra&&(t=t.qa()),"style"==e?a.style.cssText=t:"class"==e?a.className=t:"for"==e?a.htmlFor=t:be.hasOwnProperty(e)?a.setAttribute(be[e],t):0==e.lastIndexOf("aria-",0)||0==e.lastIndexOf("data-",0)?a.setAttribute(e,t):a[e]=t}))}var ge,ve,be={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};function ye(a,b,t){function e(g){g&&b.appendChild("string"==typeof g?a.createTextNode(g):g)}for(var r=2;r<t.length;r++){var n=t[r];!_(n)||S(n)&&0<n.nodeType?e(n):X(_e(n)?ot(n):n,e)}}function we(a,b){return b=String(b),"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase()),a.createElement(b)}function _e(a){if(a&&"number"==typeof a.length){if(S(a))return"function"==typeof a.item||"string"==typeof a.item;if(M(a))return"function"==typeof a.item}return!1}function Me(a){d.setTimeout((function(){throw a}),0)}function Se(){var a=d.MessageChannel;if(void 0===a&&"undefined"!=typeof window&&window.postMessage&&window.addEventListener&&!wt("Presto")&&(a=function(){var t=we(document,"IFRAME");t.style.display="none",function(a){var b=new Pt(Bt,kt(It));At(a,"HTMLIFrameElement"),a.src=Rt(b).toString()}(t),document.documentElement.appendChild(t);var e=t.contentWindow;(t=e.document).open(),t.write($t(Kt)),t.close();var g="callImmediate"+Math.random(),r="file:"==e.location.protocol?"*":e.location.protocol+"//"+e.location.host;t=q((function(t){"*"!=r&&t.origin!=r||t.data!=g||this.port1.onmessage()}),this),e.addEventListener("message",t,!1),this.port1={},this.port2={postMessage:function(){e.postMessage(g,r)}}}),void 0!==a&&!wt("Trident")&&!wt("MSIE")){var b=new a,t={},e=t;return b.port1.onmessage=function(){if(void 0!==t.next){var e=(t=t.next).Db;t.Db=null,e()}},function(t){e.next={Db:t},e=e.next,b.port2.postMessage(0)}}return function(t){d.setTimeout(t,0)}}function xe(a,b){ve||function(){if(d.Promise&&d.Promise.resolve){var a=d.Promise.resolve(void 0);ve=function(){a.then(Te)}}else ve=function(){var b=Te;!M(d.setImmediate)||d.Window&&d.Window.prototype&&!wt("Edge")&&d.Window.prototype.setImmediate==d.setImmediate?(ge||(ge=Se()),ge(b)):d.setImmediate(b)}}(),Ee||(ve(),Ee=!0),Ae.add(a,b)}var Ee=!1,Ae=new V;function Te(){for(var a;a=W();){try{a.a.call(a.b)}catch(t){Me(t)}G($,a)}Ee=!1}function ke(a,b){if(this.a=Ce,this.i=void 0,this.f=this.b=this.c=null,this.g=this.h=!1,a!=y)try{var t=this;a.call(b,(function(e){qe(t,Oe,e)}),(function(e){if(!(e instanceof Ye))try{if(e instanceof Error)throw e;throw Error("Promise rejected.")}catch(t){}qe(t,Ie,e)}))}catch(t){qe(this,Ie,t)}}var Ce=0,Oe=2,Ie=3;function Pe(){this.next=this.f=this.b=this.g=this.a=null,this.c=!1}Pe.prototype.reset=function(){this.f=this.b=this.g=this.a=null,this.c=!1};var Re=new H((function(){return new Pe}),(function(a){a.reset()}));function je(a,b,t){var e=Re.get();return e.g=a,e.b=b,e.f=t,e}function Ne(a){if(a instanceof ke)return a;var b=new ke(y);return qe(b,Oe,a),b}function Le(a){return new ke((function(b,t){t(a)}))}function De(a,b,t){ze(a,b,t,null)||xe(C(b,a))}function Be(a){return new ke((function(b){var t=a.length,e=[];if(t)for(var r=function(r,n,p){t--,e[r]=n?{Mb:!0,value:p}:{Mb:!1,reason:p},0==t&&b(e)},n=0;n<a.length;n++)De(a[n],C(r,n,!0),C(r,n,!1));else b(e)}))}function Fe(a,b){a.b||a.a!=Oe&&a.a!=Ie||He(a),a.f?a.f.next=b:a.b=b,a.f=b}function Ue(a,b,t,e){var r=je(null,null,null);return r.a=new ke((function(n,g){r.g=b?function(t){try{var r=b.call(e,t);n(r)}catch(t){g(t)}}:n,r.b=t?function(r){try{var o=t.call(e,r);void 0===o&&r instanceof Ye?g(r):n(o)}catch(t){g(t)}}:g})),r.a.c=a,Fe(a,r),r.a}function qe(a,b,t){a.a==Ce&&(a===t&&(b=Ie,t=new TypeError("Promise cannot resolve to itself")),a.a=1,ze(t,a.Yc,a.Zc,a)||(a.i=t,a.a=b,a.c=null,He(a),b!=Ie||t instanceof Ye||function(a,b){a.g=!0,xe((function(){a.g&&We.call(null,b)}))}(a,t)))}function ze(a,b,t,e){if(a instanceof ke)return Fe(a,je(b||y,t||null,e)),!0;if(F(a))return a.then(b,t,e),!0;if(S(a))try{var r=a.then;if(M(r))return function(a,b,t,e,r){function n(t){o||(o=!0,e.call(r,t))}var o=!1;try{b.call(a,(function(e){o||(o=!0,t.call(r,e))}),n)}catch(t){n(t)}}(a,r,b,t,e),!0}catch(r){return t.call(e,r),!0}return!1}function He(a){a.h||(a.h=!0,xe(a.ec,a))}function Ge(a){var b=null;return a.b&&(b=a.b,a.b=b.next,b.next=null),a.b||(a.f=null),b}function Ve(a,b,t,e){if(t==Ie&&b.b&&!b.c)for(;a&&a.g;a=a.c)a.g=!1;if(b.a)b.a.c=null,$e(b,t,e);else try{b.c?b.g.call(b.f):$e(b,t,e)}catch(t){We.call(null,t)}G(Re,b)}function $e(a,b,t){b==Oe?a.g.call(a.f,t):a.b&&a.b.call(a.f,t)}ke.prototype.then=function(a,b,t){return Ue(this,M(a)?a:null,M(b)?b:null,t)},ke.prototype.$goog_Thenable=!0,(e=ke.prototype).ma=function(a,b){return(a=je(a,a,b)).c=!0,Fe(this,a),this},e.o=function(a,b){return Ue(this,null,a,b)},e.cancel=function(a){if(this.a==Ce){var b=new Ye(a);xe((function(){!function t(a,b){if(a.a==Ce)if(a.c){var e=a.c;if(e.b){for(var r=0,n=null,o=null,g=e.b;g&&(g.c||(r++,g.a==a&&(n=g),!(n&&1<r)));g=g.next)n||(o=g);n&&(e.a==Ce&&1==r?t(e,b):(o?((r=o).next==e.f&&(e.f=r),r.next=r.next.next):Ge(e),Ve(e,n,Ie,b)))}a.c=null}else qe(a,Ie,b)}(this,b)}),this)}},e.Yc=function(a){this.a=Ce,qe(this,Oe,a)},e.Zc=function(a){this.a=Ce,qe(this,Ie,a)},e.ec=function(){for(var a;a=Ge(this);)Ve(this,a,this.a,this.i);this.h=!1};var We=Me;function Ye(a){u.call(this,a)}function Ke(){0!=Xe&&(Ze[x(this)]=this),this.wa=this.wa,this.na=this.na}I(Ye,u),Ye.prototype.name="cancel";var Xe=0,Ze={};function Je(a){if(!a.wa&&(a.wa=!0,a.Ba(),0!=Xe)){var b=x(a);if(0!=Xe&&a.na&&0<a.na.length)throw Error(a+" did not empty its onDisposeCallbacks queue. This probably means it overrode dispose() or disposeInternal() without calling the superclass' method.");delete Ze[b]}}Ke.prototype.wa=!1,Ke.prototype.Ba=function(){if(this.na)for(;this.na.length;)this.na.shift()()};var Qe=Object.freeze||function(a){return a},er=!ee||9<=Number(le),rr=ee&&!fe("9"),ir=function(){if(!d.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{d.addEventListener("test",y,b),d.removeEventListener("test",y,b)}catch(t){}return a}();function nr(a,b){this.type=a,this.b=this.target=b,this.defaultPrevented=!1}function or(a,b){if(nr.call(this,a?a.type:""),this.relatedTarget=this.b=this.target=null,this.button=this.screenY=this.screenX=this.clientY=this.clientX=0,this.key="",this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1,this.pointerId=0,this.pointerType="",this.a=null,a){var t=this.type=a.type,e=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;if(this.target=a.target||a.srcElement,this.b=b,b=a.relatedTarget){if(ne){t:{try{Jt(b.nodeName);var r=!0;break t}catch(t){}r=!1}r||(b=null)}}else"mouseover"==t?b=a.fromElement:"mouseout"==t&&(b=a.toElement);this.relatedTarget=b,e?(this.clientX=void 0!==e.clientX?e.clientX:e.pageX,this.clientY=void 0!==e.clientY?e.clientY:e.pageY,this.screenX=e.screenX||0,this.screenY=e.screenY||0):(this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0),this.button=a.button,this.key=a.key||"",this.ctrlKey=a.ctrlKey,this.altKey=a.altKey,this.shiftKey=a.shiftKey,this.metaKey=a.metaKey,this.pointerId=a.pointerId||0,this.pointerType="string"==typeof a.pointerType?a.pointerType:ar[a.pointerType]||"",this.a=a,a.defaultPrevented&&this.preventDefault()}}nr.prototype.preventDefault=function(){this.defaultPrevented=!0},I(or,nr);var ar=Qe({2:"touch",3:"pen",4:"mouse"});or.prototype.preventDefault=function(){or.Za.preventDefault.call(this);var a=this.a;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,rr)try{(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)&&(a.keyCode=-1)}catch(t){}},or.prototype.f=function(){return this.a};var sr="closure_listenable_"+(1e6*Math.random()|0),ur=0;function lr(a,b,t,e,r){this.listener=a,this.proxy=null,this.src=b,this.type=t,this.capture=!!e,this.Ta=r,this.key=++ur,this.ua=this.Na=!1}function cr(a){a.ua=!0,a.listener=null,a.proxy=null,a.src=null,a.Ta=null}function dd(a){this.src=a,this.a={},this.b=0}function fr(a,b){var t=b.type;t in a.a&&et(a.a[t],b)&&(cr(b),0==a.a[t].length&&(delete a.a[t],a.b--))}function dr(a,b,t,e){for(var r=0;r<a.length;++r){var n=a[r];if(!n.ua&&n.listener==b&&n.capture==!!t&&n.Ta==e)return r}return-1}dd.prototype.add=function(a,b,t,e,r){var n=a.toString();(a=this.a[n])||(a=this.a[n]=[],this.b++);var g=dr(a,b,e,r);return-1<g?(b=a[g],t||(b.Na=!1)):((b=new lr(b,this.src,n,!!e,r)).Na=t,a.push(b)),b};var pr="closure_lm_"+(1e6*Math.random()|0),mr={};function gr(a,b,t,e,r){if(e&&e.once)yr(a,b,t,e,r);else if(Array.isArray(b))for(var n=0;n<b.length;n++)gr(a,b[n],t,e,r);else t=Tr(t),a&&a[sr]?Cr(a,b,t,S(e)?!!e.capture:!!e,r):vr(a,b,t,!1,e,r)}function vr(a,b,t,e,r,n){if(!b)throw Error("Invalid event type");var g=S(r)?!!r.capture:!!r,o=Er(a);if(o||(a[pr]=o=new dd(a)),!(t=o.add(b,t,e,g,n)).proxy){if(e=function(){var a=xr,b=er?function(t){return a.call(b.src,b.listener,t)}:function(t){if(!(t=a.call(b.src,b.listener,t)))return t};return b}(),t.proxy=e,e.src=a,e.listener=t,a.addEventListener)ir||(r=g),void 0===r&&(r=!1),a.addEventListener(b.toString(),e,r);else if(a.attachEvent)a.attachEvent(_r(b.toString()),e);else{if(!a.addListener||!a.removeListener)throw Error("addEventListener and attachEvent are unavailable.");a.addListener(e)}0}}function yr(a,b,t,e,r){if(Array.isArray(b))for(var n=0;n<b.length;n++)yr(a,b[n],t,e,r);else t=Tr(t),a&&a[sr]?Or(a,b,t,S(e)?!!e.capture:!!e,r):vr(a,b,t,!0,e,r)}function td(a,b,t,e,r){if(Array.isArray(b))for(var n=0;n<b.length;n++)td(a,b[n],t,e,r);else e=S(e)?!!e.capture:!!e,t=Tr(t),a&&a[sr]?(a=a.u,(b=String(b).toString())in a.a&&(-1<(t=dr(n=a.a[b],t,e,r))&&(cr(n[t]),Array.prototype.splice.call(n,t,1),0==n.length&&(delete a.a[b],a.b--)))):a&&(a=Er(a))&&(b=a.a[b.toString()],a=-1,b&&(a=dr(b,t,e,r)),(t=-1<a?b[a]:null)&&wr(t))}function wr(a){if("number"!=typeof a&&a&&!a.ua){var b=a.src;if(b&&b[sr])fr(b.u,a);else{var t=a.type,e=a.proxy;b.removeEventListener?b.removeEventListener(t,e,a.capture):b.detachEvent?b.detachEvent(_r(t),e):b.addListener&&b.removeListener&&b.removeListener(e),(t=Er(b))?(fr(t,a),0==t.b&&(t.src=null,b[pr]=null)):cr(a)}}}function _r(a){return a in mr?mr[a]:mr[a]="on"+a}function Mr(a,b,t,e){var r=!0;if((a=Er(a))&&(b=a.a[b.toString()]))for(b=b.concat(),a=0;a<b.length;a++){var n=b[a];n&&n.capture==t&&!n.ua&&(n=Sr(n,e),r=r&&!1!==n)}return r}function Sr(a,b){var t=a.listener,e=a.Ta||a.src;return a.Na&&wr(a),t.call(e,b)}function xr(a,b){if(a.ua)return!0;if(!er){if(!b)t:{b=["window","event"];for(var t=d,e=0;e<b.length;e++)if(null==(t=t[b[e]])){b=null;break t}b=t}if(b=new or(e=b,this),t=!0,!(0>e.keyCode||null!=e.returnValue)){t:{var r=!1;if(0==e.keyCode)try{e.keyCode=-1;break t}catch(t){r=!0}(r||null==e.returnValue)&&(e.returnValue=!0)}for(e=[],r=b.b;r;r=r.parentNode)e.push(r);for(a=a.type,r=e.length-1;0<=r;r--){b.b=e[r];var n=Mr(e[r],a,!0,b);t=t&&n}for(r=0;r<e.length;r++)b.b=e[r],n=Mr(e[r],a,!1,b),t=t&&n}return t}return Sr(a,new or(b,this))}function Er(a){return(a=a[pr])instanceof dd?a:null}var Ar="__closure_events_fn_"+(1e9*Math.random()>>>0);function Tr(a){return M(a)?a:(a[Ar]||(a[Ar]=function(b){return a.handleEvent(b)}),a[Ar])}function kr(){Ke.call(this),this.u=new dd(this),this.Yb=this,this.eb=null}function Cr(a,b,t,e,r){a.u.add(String(b),t,!1,e,r)}function Or(a,b,t,e,r){a.u.add(String(b),t,!0,e,r)}function Ir(a,b,t,e){if(!(b=a.u.a[String(b)]))return!0;b=b.concat();for(var r=!0,n=0;n<b.length;++n){var g=b[n];if(g&&!g.ua&&g.capture==t){var o=g.listener,h=g.Ta||g.src;g.Na&&fr(a.u,g),r=!1!==o.call(h,e)&&r}}return r&&!e.defaultPrevented}function Pr(a,b,t){if(M(a))t&&(a=q(a,t));else{if(!a||"function"!=typeof a.handleEvent)throw Error("Invalid listener argument");a=q(a.handleEvent,a)}return 2147483647<Number(b)?-1:d.setTimeout(a,b||0)}function Rr(a){var b=null;return new ke((function(t,e){-1==(b=Pr((function(){t(void 0)}),a))&&e(Error("Failed to schedule timer."))})).o((function(t){throw d.clearTimeout(b),t}))}function jr(a){if(a.V&&"function"==typeof a.V)return a.V();if("string"==typeof a)return a.split("");if(_(a)){for(var b=[],t=a.length,e=0;e<t;e++)b.push(a[e]);return b}for(e in b=[],t=0,a)b[t++]=a[e];return b}function Nr(a){if(a.X&&"function"==typeof a.X)return a.X();if(!a.V||"function"!=typeof a.V){if(_(a)||"string"==typeof a){var b=[];a=a.length;for(var t=0;t<a;t++)b.push(t);return b}for(var e in b=[],t=0,a)b[t++]=e;return b}}function Lr(a,b){this.b={},this.a=[],this.c=0;var t=arguments.length;if(1<t){if(t%2)throw Error("Uneven number of arguments");for(var e=0;e<t;e+=2)this.set(arguments[e],arguments[e+1])}else if(a)if(a instanceof Lr)for(t=a.X(),e=0;e<t.length;e++)this.set(t[e],a.get(t[e]));else for(e in a)this.set(e,a[e])}function Dr(a){if(a.c!=a.a.length){for(var b=0,t=0;b<a.a.length;){var e=a.a[b];Br(a.b,e)&&(a.a[t++]=e),b++}a.a.length=t}if(a.c!=a.a.length){var r={};for(t=b=0;b<a.a.length;)Br(r,e=a.a[b])||(a.a[t++]=e,r[e]=1),b++;a.a.length=t}}function Br(a,b){return Object.prototype.hasOwnProperty.call(a,b)}I(kr,Ke),kr.prototype[sr]=!0,kr.prototype.addEventListener=function(a,b,t,e){gr(this,a,b,t,e)},kr.prototype.removeEventListener=function(a,b,t,e){td(this,a,b,t,e)},kr.prototype.dispatchEvent=function(a){var b,t=this.eb;if(t)for(b=[];t;t=t.eb)b.push(t);t=this.Yb;var e=a.type||a;if("string"==typeof a)a=new nr(a,t);else if(a instanceof nr)a.target=a.target||t;else{var r=a;Et(a=new nr(e,t),r)}if(r=!0,b)for(var n=b.length-1;0<=n;n--){var g=a.b=b[n];r=Ir(g,e,!0,a)&&r}if(r=Ir(g=a.b=t,e,!0,a)&&r,r=Ir(g,e,!1,a)&&r,b)for(n=0;n<b.length;n++)r=Ir(g=a.b=b[n],e,!1,a)&&r;return r},kr.prototype.Ba=function(){if(kr.Za.Ba.call(this),this.u){var t,a=this.u;for(t in a.a){for(var e=a.a[t],r=0;r<e.length;r++)cr(e[r]);delete a.a[t],a.b--}}this.eb=null},(e=Lr.prototype).V=function(){Dr(this);for(var a=[],b=0;b<this.a.length;b++)a.push(this.b[this.a[b]]);return a},e.X=function(){return Dr(this),this.a.concat()},e.clear=function(){this.b={},this.c=this.a.length=0},e.get=function(a,b){return Br(this.b,a)?this.b[a]:b},e.set=function(a,b){Br(this.b,a)||(this.c++,this.a.push(a)),this.b[a]=b},e.forEach=function(a,b){for(var t=this.X(),e=0;e<t.length;e++){var r=t[e],n=this.get(r);a.call(b,n,r,this)}};var Fr=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/\\#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/;function Ur(a,b){var t;this.b=this.i=this.f="",this.l=null,this.g=this.c="",this.h=!1,a instanceof Ur?(this.h=void 0!==b?b:a.h,qr(this,a.f),this.i=a.i,this.b=a.b,zr(this,a.l),this.c=a.c,Hr(this,hi(a.a)),this.g=a.g):a&&(t=String(a).match(Fr))?(this.h=!!b,qr(this,t[1]||"",!0),this.i=Yr(t[2]||""),this.b=Yr(t[3]||"",!0),zr(this,t[4]),this.c=Yr(t[5]||"",!0),Hr(this,t[6]||"",!0),this.g=Yr(t[7]||"")):(this.h=!!b,this.a=new ri(null,this.h))}function qr(a,b,t){a.f=t?Yr(b,!0):b,a.f&&(a.f=a.f.replace(/:$/,""))}function zr(a,b){if(b){if(b=Number(b),isNaN(b)||0>b)throw Error("Bad port number "+b);a.l=b}else a.l=null}function Hr(a,b,t){b instanceof ri?(a.a=b,function(a,b){b&&!a.f&&(ii(a),a.c=null,a.a.forEach((function(t,e){var r=e.toLowerCase();e!=r&&(oi(this,e),si(this,r,t))}),a)),a.f=b}(a.a,a.h)):(t||(b=Kr(b,ti)),a.a=new ri(b,a.h))}function Gr(a,b,t){a.a.set(b,t)}function Vr(a,b){return a.a.get(b)}function $r(a){return a instanceof Ur?new Ur(a):new Ur(a,void 0)}function Wr(a,b){var t=new Ur(null,void 0);return qr(t,"https"),a&&(t.b=a),b&&(t.c=b),t}function Yr(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function Kr(a,b,t){return"string"==typeof a?(a=encodeURI(a).replace(b,Xr),t&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}function Xr(a){return"%"+((a=a.charCodeAt(0))>>4&15).toString(16)+(15&a).toString(16)}Ur.prototype.toString=function(){var a=[],b=this.f;b&&a.push(Kr(b,Zr,!0),":");var t=this.b;return(t||"file"==b)&&(a.push("//"),(b=this.i)&&a.push(Kr(b,Zr,!0),"@"),a.push(encodeURIComponent(String(t)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(t=this.l)&&a.push(":",String(t))),(t=this.c)&&(this.b&&"/"!=t.charAt(0)&&a.push("/"),a.push(Kr(t,"/"==t.charAt(0)?Qr:Jr,!0))),(t=this.a.toString())&&a.push("?",t),(t=this.g)&&a.push("#",Kr(t,ei)),a.join("")},Ur.prototype.resolve=function(a){var b=new Ur(this),t=!!a.f;t?qr(b,a.f):t=!!a.i,t?b.i=a.i:t=!!a.b,t?b.b=a.b:t=null!=a.l;var e=a.c;if(t)zr(b,a.l);else if(t=!!a.c){if("/"!=e.charAt(0))if(this.b&&!this.c)e="/"+e;else{var r=b.c.lastIndexOf("/");-1!=r&&(e=b.c.substr(0,r+1)+e)}if(".."==(r=e)||"."==r)e="";else if(gt(r,"./")||gt(r,"/.")){e=0==r.lastIndexOf("/",0),r=r.split("/");for(var n=[],g=0;g<r.length;){var o=r[g++];"."==o?e&&g==r.length&&n.push(""):".."==o?((1<n.length||1==n.length&&""!=n[0])&&n.pop(),e&&g==r.length&&n.push("")):(n.push(o),e=!0)}e=n.join("/")}else e=r}return t?b.c=e:t=""!==a.a.toString(),t?Hr(b,hi(a.a)):t=!!a.g,t&&(b.g=a.g),b};var Zr=/[#\/\?@]/g,Jr=/[#\?:]/g,Qr=/[#\?]/g,ti=/[#\?@]/g,ei=/#/g;function ri(a,b){this.b=this.a=null,this.c=a||null,this.f=!!b}function ii(a){a.a||(a.a=new Lr,a.b=0,a.c&&function(a,b){if(a){a=a.split("&");for(var t=0;t<a.length;t++){var e=a[t].indexOf("="),r=null;if(0<=e){var n=a[t].substring(0,e);r=a[t].substring(e+1)}else n=a[t];b(n,r?decodeURIComponent(r.replace(/\+/g," ")):"")}}}(a.c,(function(b,t){a.add(decodeURIComponent(b.replace(/\+/g," ")),t)})))}function ni(a){var b=Nr(a);if(void 0===b)throw Error("Keys are undefined");var t=new ri(null,void 0);a=jr(a);for(var e=0;e<b.length;e++){var r=b[e],n=a[e];Array.isArray(n)?si(t,r,n):t.add(r,n)}return t}function oi(a,b){ii(a),b=ui(a,b),Br(a.a.b,b)&&(a.c=null,a.b-=a.a.get(b).length,Br((a=a.a).b,b)&&(delete a.b[b],a.c--,a.a.length>2*a.c&&Dr(a)))}function ai(a,b){return ii(a),b=ui(a,b),Br(a.a.b,b)}function si(a,b,t){oi(a,b),0<t.length&&(a.c=null,a.a.set(ui(a,b),ot(t)),a.b+=t.length)}function hi(a){var b=new ri;return b.c=a.c,a.a&&(b.a=new Lr(a.a),b.b=a.b),b}function ui(a,b){return b=String(b),a.f&&(b=b.toLowerCase()),b}function ci(a){var b=[];return function t(a,b,e){if(null==b)e.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var r=b;b=r.length,e.push("[");for(var n="",o=0;o<b;o++)e.push(n),t(a,r[o],e),n=",";return void e.push("]")}if(!(b instanceof String||b instanceof Number||b instanceof Boolean)){for(r in e.push("{"),n="",b)Object.prototype.hasOwnProperty.call(b,r)&&("function"!=typeof(o=b[r])&&(e.push(n),mi(r,e),e.push(":"),t(a,o,e),n=","));return void e.push("}")}b=b.valueOf()}switch(typeof b){case"string":mi(b,e);break;case"number":e.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case"boolean":e.push(String(b));break;case"function":e.push("null");break;default:throw Error("Unknown type: "+typeof b)}}}(new fi,a,b),b.join("")}function fi(){}(e=ri.prototype).add=function(a,b){ii(this),this.c=null,a=ui(this,a);var t=this.a.get(a);return t||this.a.set(a,t=[]),t.push(b),this.b+=1,this},e.clear=function(){this.a=this.c=null,this.b=0},e.forEach=function(a,b){ii(this),this.a.forEach((function(t,e){X(t,(function(t){a.call(b,t,e,this)}),this)}),this)},e.X=function(){ii(this);for(var a=this.a.V(),b=this.a.X(),t=[],e=0;e<b.length;e++)for(var r=a[e],n=0;n<r.length;n++)t.push(b[e]);return t},e.V=function(a){ii(this);var b=[];if("string"==typeof a)ai(this,a)&&(b=nt(b,this.a.get(ui(this,a))));else{a=this.a.V();for(var t=0;t<a.length;t++)b=nt(b,a[t])}return b},e.set=function(a,b){return ii(this),this.c=null,ai(this,a=ui(this,a))&&(this.b-=this.a.get(a).length),this.a.set(a,[b]),this.b+=1,this},e.get=function(a,b){return a&&0<(a=this.V(a)).length?String(a[0]):b},e.toString=function(){if(this.c)return this.c;if(!this.a)return"";for(var a=[],b=this.a.X(),t=0;t<b.length;t++){var e=b[t],r=encodeURIComponent(String(e));e=this.V(e);for(var n=0;n<e.length;n++){var g=r;""!==e[n]&&(g+="="+encodeURIComponent(String(e[n]))),a.push(g)}}return this.c=a.join("&")};var di={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},pi=/\uffff/.test("￿")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g;function mi(a,b){b.push('"',a.replace(pi,(function(t){var e=di[t];return e||(e="\\u"+(65536|t.charCodeAt(0)).toString(16).substr(1),di[t]=e),e})),'"')}function gi(){var a=Ni();return ee&&!!le&&11==le||/Edge\/\d+/.test(a)}function vi(){return d.window&&d.window.location.href||self&&self.location&&self.location.href||""}function bi(a,b){b=b||d.window;var t="about:blank";a&&(t=Ut(zt(a))),b.location.href=t}function yi(a){return!!((a=(a||Ni()).toLowerCase()).match(/android/)||a.match(/webos/)||a.match(/iphone|ipad|ipod/)||a.match(/blackberry/)||a.match(/windows phone/)||a.match(/iemobile/))}function wi(a){a=a||d.window;try{a.close()}catch(t){}}function _i(a,b,t){var e=Math.floor(1e9*Math.random()).toString();b=b||500,t=t||600;var r=(window.screen.availHeight-t)/2,n=(window.screen.availWidth-b)/2;for(g in b={width:b,height:t,top:0<r?r:0,left:0<n?n:0,location:!0,resizable:!0,statusbar:!0,toolbar:!1},t=Ni().toLowerCase(),e&&(b.target=e,gt(t,"crios/")&&(b.target="_blank")),Pi(Ni())==Oi&&(a=a||"http://localhost",b.scrollbars=!0),t=a||"",(a=b)||(a={}),e=window,b=t instanceof Ft?t:zt(void 0!==t.href?t.href:String(t)),t=a.target||t.target,r=[],a)switch(g){case"width":case"height":case"top":case"left":r.push(g+"="+a[g]);break;case"target":case"noopener":case"noreferrer":break;default:r.push(g+"="+(a[g]?1:0))}var g=r.join(",");if((wt("iPhone")&&!wt("iPod")&&!wt("iPad")||wt("iPad")||wt("iPod"))&&e.navigator&&e.navigator.standalone&&t&&"_self"!=t?(At(g=we(document,"A"),"HTMLAnchorElement"),b instanceof Ft||b instanceof Ft||(b="object"==typeof b&&b.ra?b.qa():String(b),qt.test(b)||(b="about:invalid#zClosurez"),b=new Ft(Gt,b)),g.href=Ut(b),g.setAttribute("target",t),a.noreferrer&&g.setAttribute("rel","noreferrer"),(a=document.createEvent("MouseEvent")).initMouseEvent("click",!0,!0,e,1),g.dispatchEvent(a),g={}):a.noreferrer?(g=e.open("",t,g),a=Ut(b),g&&(ie&&gt(a,";")&&(a="'"+a.replace(/'/g,"%27")+"'"),g.opener=null,a=Yt('<meta name="referrer" content="no-referrer"><meta http-equiv="refresh" content="0; url='+Zt(a)+'">'),e=g.document)&&(e.write($t(a)),e.close())):(g=e.open(Ut(b),t,g))&&a.noopener&&(g.opener=null),g)try{g.focus()}catch(t){}return g}var Mi=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,Si=/^[^@]+@[^@]+$/;function xi(){var a=null;return new ke((function(b){"complete"==d.document.readyState?b():(a=function(){b()},yr(window,"load",a))})).o((function(b){throw td(window,"load",a),b}))}function Ei(a){return a=a||Ni(),!("file:"!==Ui()&&"ionic:"!==Ui()||!a.toLowerCase().match(/iphone|ipad|ipod|android/))}function Ai(){var a=d.window;try{return!(!a||a==a.top)}catch(t){return!1}}function Ti(){return void 0!==d.WorkerGlobalScope&&"function"==typeof d.importScripts}function ki(){return n.INTERNAL.hasOwnProperty("reactNative")?"ReactNative":n.INTERNAL.hasOwnProperty("node")?"Node":Ti()?"Worker":"Browser"}function Ci(){var a=ki();return"ReactNative"===a||"Node"===a}var Oi="Firefox",Ii="Chrome";function Pi(a){var b=a.toLowerCase();return gt(b,"opera/")||gt(b,"opr/")||gt(b,"opios/")?"Opera":gt(b,"iemobile")?"IEMobile":gt(b,"msie")||gt(b,"trident/")?"IE":gt(b,"edge/")?"Edge":gt(b,"firefox/")?Oi:gt(b,"silk/")?"Silk":gt(b,"blackberry")?"Blackberry":gt(b,"webos")?"Webos":!gt(b,"safari/")||gt(b,"chrome/")||gt(b,"crios/")||gt(b,"android")?!gt(b,"chrome/")&&!gt(b,"crios/")||gt(b,"edge/")?gt(b,"android")?"Android":(a=a.match(/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/))&&2==a.length?a[1]:"Other":Ii:"Safari"}var Ri={jd:"FirebaseCore-web",ld:"FirebaseUI-web"};function ji(a,b){b=b||[];var t,e=[],r={};for(t in Ri)r[Ri[t]]=!0;for(t=0;t<b.length;t++)void 0!==r[b[t]]&&(delete r[b[t]],e.push(b[t]));return e.sort(),(b=e).length||(b=["FirebaseCore-web"]),"Browser"===(e=ki())?e=Pi(r=Ni()):"Worker"===e&&(e=Pi(r=Ni())+"-"+e),e+"/JsCore/"+a+"/"+b.join(",")}function Ni(){return d.navigator&&d.navigator.userAgent||""}function Li(a,b){a=a.split("."),b=b||d;for(var t=0;t<a.length&&"object"==typeof b&&null!=b;t++)b=b[a[t]];return t!=a.length&&(b=void 0),b}function Di(){try{var a=d.localStorage,b=Vi();if(a)return a.setItem(b,"1"),a.removeItem(b),!gi()||!!d.indexedDB}catch(t){return Ti()&&!!d.indexedDB}return!1}function Bi(){return(Fi()||"chrome-extension:"===Ui()||Ei())&&!Ci()&&Di()&&!Ti()}function Fi(){return"http:"===Ui()||"https:"===Ui()}function Ui(){return d.location&&d.location.protocol||null}function qi(a){return!yi(a=a||Ni())&&Pi(a)!=Oi}function zi(a){return void 0===a?null:ci(a)}function Hi(a){var t,b={};for(t in a)a.hasOwnProperty(t)&&null!==a[t]&&void 0!==a[t]&&(b[t]=a[t]);return b}function Gi(a){if(null!==a)return JSON.parse(a)}function Vi(a){return a||Math.floor(1e9*Math.random()).toString()}function $i(a){return"Safari"!=Pi(a=a||Ni())&&!a.toLowerCase().match(/iphone|ipad|ipod/)}function Wi(){var a=d.___jsl;if(a&&a.H)for(var b in a.H)if(a.H[b].r=a.H[b].r||[],a.H[b].L=a.H[b].L||[],a.H[b].r=a.H[b].L.concat(),a.CP)for(var t=0;t<a.CP.length;t++)a.CP[t]=null}function Yi(a,b){if(a>b)throw Error("Short delay should be less than long delay!");this.a=a,this.c=b,a=Ni(),b=ki(),this.b=yi(a)||"ReactNative"===b}function Ki(){var a=d.document;return!a||void 0===a.visibilityState||"visible"==a.visibilityState}function Xi(a){try{var b=new Date(parseInt(a,10));if(!isNaN(b.getTime())&&!/[^0-9]/.test(a))return b.toUTCString()}catch(t){}return null}function Zi(){return!(!Li("fireauth.oauthhelper",d)&&!Li("fireauth.iframe",d))}Yi.prototype.get=function(){var a=d.navigator;return!a||"boolean"!=typeof a.onLine||!Fi()&&"chrome-extension:"!==Ui()&&void 0===a.connection||a.onLine?this.b?this.c:this.a:Math.min(5e3,this.a)};var Ji,Qi={};function tn(a){Qi[a]||(Qi[a]=!0,"undefined"!=typeof console&&"function"==typeof console.warn&&console.warn(a))}try{var en={};Object.defineProperty(en,"abcd",{configurable:!0,enumerable:!0,value:1}),Object.defineProperty(en,"abcd",{configurable:!0,enumerable:!0,value:2}),Ji=2==en.abcd}catch(a){Ji=!1}function rn(a,b,t){Ji?Object.defineProperty(a,b,{configurable:!0,enumerable:!0,value:t}):a[b]=t}function nn(a,b){if(b)for(var t in b)b.hasOwnProperty(t)&&rn(a,t,b[t])}function on(a){var b={};return nn(b,a),b}function an(a){var b=a;if("object"==typeof a&&null!=a)for(var t in b="length"in a?[]:{},a)rn(b,t,an(a[t]));return b}function sn(a){var b=a&&(a[fn]?"phone":null);if(!(b&&a&&a[cn]))throw new P("internal-error","Internal assert: invalid MultiFactorInfo object");rn(this,"uid",a[cn]),rn(this,"displayName",a[un]||null);var t=null;a[ln]&&(t=new Date(a[ln]).toUTCString()),rn(this,"enrollmentTime",t),rn(this,"factorId",b)}function hn(a){try{var b=new dn(a)}catch(t){b=null}return b}sn.prototype.v=function(){return{uid:this.uid,displayName:this.displayName,factorId:this.factorId,enrollmentTime:this.enrollmentTime}};var un="displayName",ln="enrolledAt",cn="mfaEnrollmentId",fn="phoneInfo";function dn(a){sn.call(this,a),rn(this,"phoneNumber",a[fn])}function pn(a){var b={},t=a[bn],e=a[wn],r=a[_n];if(a=hn(a[yn]),!r||r!=gn&&r!=vn&&!t||r==vn&&!e||r==mn&&!a)throw Error("Invalid checkActionCode response!");r==vn?(b[Sn]=t||null,b[En]=t||null,b[Mn]=e):(b[Sn]=e||null,b[En]=e||null,b[Mn]=t||null),b[xn]=a||null,rn(this,Tn,r),rn(this,An,an(b))}I(dn,sn),dn.prototype.v=function(){var a=dn.Za.v.call(this);return a.phoneNumber=this.phoneNumber,a};var mn="REVERT_SECOND_FACTOR_ADDITION",gn="EMAIL_SIGNIN",vn="VERIFY_AND_CHANGE_EMAIL",bn="email",yn="mfaInfo",wn="newEmail",_n="requestType",Mn="email",Sn="fromEmail",xn="multiFactorInfo",En="previousEmail",An="data",Tn="operation";function kn(a){var b=Vr(a=$r(a),Cn)||null,t=Vr(a,On)||null,e=Vr(a,Rn)||null;if(e=e&&Nn[e]||null,!b||!t||!e)throw new P("argument-error",Cn+", "+On+"and "+Rn+" are required in a valid action code URL.");nn(this,{apiKey:b,operation:e,code:t,continueUrl:Vr(a,In)||null,languageCode:Vr(a,Pn)||null,tenantId:Vr(a,jn)||null})}var Cn="apiKey",On="oobCode",In="continueUrl",Pn="languageCode",Rn="mode",jn="tenantId",Nn={recoverEmail:"RECOVER_EMAIL",resetPassword:"PASSWORD_RESET",revertSecondFactorAddition:mn,signIn:gn,verifyAndChangeEmail:vn,verifyEmail:"VERIFY_EMAIL"};function Ln(a){try{return new kn(a)}catch(t){return null}}function Dn(a){var b=a[zn];if(void 0===b)throw new P("missing-continue-uri");if("string"!=typeof b||"string"==typeof b&&!b.length)throw new P("invalid-continue-uri");this.h=b,this.b=this.a=null,this.g=!1;var t=a[Bn];if(t&&"object"==typeof t){b=t[Vn];var e=t[Hn];if(t=t[Gn],"string"==typeof b&&b.length){if(this.a=b,void 0!==e&&"boolean"!=typeof e)throw new P("argument-error",Hn+" property must be a boolean when specified.");if(this.g=!!e,void 0!==t&&("string"!=typeof t||"string"==typeof t&&!t.length))throw new P("argument-error",Gn+" property must be a non empty string when specified.");this.b=t||null}else{if(void 0!==b)throw new P("argument-error",Vn+" property must be a non empty string when specified.");if(void 0!==e||void 0!==t)throw new P("missing-android-pkg-name")}}else if(void 0!==t)throw new P("argument-error",Bn+" property must be a non null object when specified.");if(this.f=null,(b=a[qn])&&"object"==typeof b){if("string"==typeof(b=b[$n])&&b.length)this.f=b;else if(void 0!==b)throw new P("argument-error",$n+" property must be a non empty string when specified.")}else if(void 0!==b)throw new P("argument-error",qn+" property must be a non null object when specified.");if(void 0!==(b=a[Un])&&"boolean"!=typeof b)throw new P("argument-error",Un+" property must be a boolean when specified.");if(this.c=!!b,void 0!==(a=a[Fn])&&("string"!=typeof a||"string"==typeof a&&!a.length))throw new P("argument-error",Fn+" property must be a non empty string when specified.");this.i=a||null}var Bn="android",Fn="dynamicLinkDomain",Un="handleCodeInApp",qn="iOS",zn="url",Hn="installApp",Gn="minimumVersion",Vn="packageName",$n="bundleId";function Wn(a){var b={};for(var t in b.continueUrl=a.h,b.canHandleCodeInApp=a.c,(b.androidPackageName=a.a)&&(b.androidMinimumVersion=a.b,b.androidInstallApp=a.g),b.iOSBundleId=a.f,b.dynamicLinkDomain=a.i,b)null===b[t]&&delete b[t];return b}var Yn=null;function Kn(a){var b="";return function(a,b){function t(t){for(;e<a.length;){var p=a.charAt(e++),r=Yn[p];if(null!=r)return r;if(!/^[\s\xa0]*$/.test(p))throw Error("Unknown base64 encoding at char: "+p)}return t}!function(){if(!Yn){Yn={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],t=0;5>t;t++)for(var e=a.concat(b[t].split("")),r=0;r<e.length;r++){var n=e[r];void 0===Yn[n]&&(Yn[n]=r)}}}();for(var e=0;;){var r=t(-1),n=t(0),g=t(64),o=t(64);if(64===o&&-1===r)break;b(r<<2|n>>4),64!=g&&(b(n<<4&240|g>>2),64!=o&&b(g<<6&192|o))}}(a,(function(t){b+=String.fromCharCode(t)})),b}function Xn(a){var b=Jn(a);if(!(b&&b.sub&&b.iss&&b.aud&&b.exp))throw Error("Invalid JWT");this.g=a,this.c=b.exp,this.h=b.sub,O(),this.a=b.provider_id||b.firebase&&b.firebase.sign_in_provider||null,this.f=b.firebase&&b.firebase.tenant||null,this.b=!!b.is_anonymous||"anonymous"==this.a}function Zn(a){try{return new Xn(a)}catch(t){return null}}function Jn(a){if(!a)return null;if(3!=(a=a.split(".")).length)return null;for(var b=(4-(a=a[1]).length%4)%4,t=0;t<b;t++)a+=".";try{return JSON.parse(Kn(a))}catch(t){}return null}Xn.prototype.S=function(){return this.f},Xn.prototype.i=function(){return this.b},Xn.prototype.toString=function(){return this.g};var Qn="oauth_consumer_key oauth_nonce oauth_signature oauth_signature_method oauth_timestamp oauth_token oauth_version".split(" "),to=["client_id","response_type","scope","redirect_uri","state"],eo={kd:{Ha:"locale",ta:700,sa:600,ea:"facebook.com",Va:to},md:{Ha:null,ta:500,sa:750,ea:"github.com",Va:to},nd:{Ha:"hl",ta:515,sa:680,ea:"google.com",Va:to},td:{Ha:"lang",ta:485,sa:705,ea:"twitter.com",Va:Qn},gd:{Ha:"locale",ta:640,sa:600,ea:"apple.com",Va:[]}};function ro(a){for(var b in eo)if(eo[b].ea==a)return eo[b];return null}function io(a){var b={};b["facebook.com"]=ho,b["google.com"]=lo,b["github.com"]=uo,b["twitter.com"]=co;var t=a&&a[oo];try{if(t)return b[t]?new b[t](a):new so(a);if(void 0!==a[no])return new ao(a)}catch(t){}return null}var no="idToken",oo="providerId";function ao(a){var b=a[oo];if(!b&&a[no]){var t=Zn(a[no]);t&&t.a&&(b=t.a)}if(!b)throw Error("Invalid additional user info!");"anonymous"!=b&&"custom"!=b||(b=null),t=!1,void 0!==a.isNewUser?t=!!a.isNewUser:"identitytoolkit#SignupNewUserResponse"===a.kind&&(t=!0),rn(this,"providerId",b),rn(this,"isNewUser",t)}function so(a){ao.call(this,a),rn(this,"profile",an((a=Gi(a.rawUserInfo||"{}"))||{}))}function ho(a){if(so.call(this,a),"facebook.com"!=this.providerId)throw Error("Invalid provider ID!")}function uo(a){if(so.call(this,a),"github.com"!=this.providerId)throw Error("Invalid provider ID!");rn(this,"username",this.profile&&this.profile.login||null)}function lo(a){if(so.call(this,a),"google.com"!=this.providerId)throw Error("Invalid provider ID!")}function co(a){if(so.call(this,a),"twitter.com"!=this.providerId)throw Error("Invalid provider ID!");rn(this,"username",a.screenName||null)}function fo(a){var b=$r(a),t=Vr(b,"link"),e=Vr($r(t),"link");return b=Vr(b,"deep_link_id"),Vr($r(b),"link")||b||e||t||a}function po(a,b){if(!a&&!b)throw new P("internal-error","Internal assert: no raw session string available");if(a&&b)throw new P("internal-error","Internal assert: unable to determine the session type");this.a=a||null,this.b=b||null,this.type=this.a?mo:go}I(so,ao),I(ho,so),I(uo,so),I(lo,so),I(co,so);var mo="enroll",go="signin";function vo(){}function bo(a,b){return a.then((function(t){if(t[is]){var e=Zn(t[is]);if(!e||b!=e.h)throw new P("user-mismatch");return t}throw new P("user-mismatch")})).o((function(t){throw t&&t.code&&t.code==N+"user-not-found"?new P("user-mismatch"):t}))}function yo(a,b){if(!b)throw new P("internal-error","failed to construct a credential");this.a=b,rn(this,"providerId",a),rn(this,"signInMethod",a)}function wo(a){return{pendingToken:a.a,requestUri:"http://localhost"}}function _o(a){if(a&&a.providerId&&a.signInMethod&&0==a.providerId.indexOf("saml.")&&a.pendingToken)try{return new yo(a.providerId,a.pendingToken)}catch(t){}return null}function Mo(a,b,t){if(this.a=null,b.idToken||b.accessToken)b.idToken&&rn(this,"idToken",b.idToken),b.accessToken&&rn(this,"accessToken",b.accessToken),b.nonce&&!b.pendingToken&&rn(this,"nonce",b.nonce),b.pendingToken&&(this.a=b.pendingToken);else{if(!b.oauthToken||!b.oauthTokenSecret)throw new P("internal-error","failed to construct a credential");rn(this,"accessToken",b.oauthToken),rn(this,"secret",b.oauthTokenSecret)}rn(this,"providerId",a),rn(this,"signInMethod",t)}function So(a){var b={};return a.idToken&&(b.id_token=a.idToken),a.accessToken&&(b.access_token=a.accessToken),a.secret&&(b.oauth_token_secret=a.secret),b.providerId=a.providerId,a.nonce&&!a.a&&(b.nonce=a.nonce),b={postBody:ni(b).toString(),requestUri:"http://localhost"},a.a&&(delete b.postBody,b.pendingToken=a.a),b}function xo(a){if(a&&a.providerId&&a.signInMethod){var b={idToken:a.oauthIdToken,accessToken:a.oauthTokenSecret?null:a.oauthAccessToken,oauthTokenSecret:a.oauthTokenSecret,oauthToken:a.oauthTokenSecret&&a.oauthAccessToken,nonce:a.nonce,pendingToken:a.pendingToken};try{return new Mo(a.providerId,b,a.signInMethod)}catch(t){}}return null}function Eo(a,b){this.Oc=b||[],nn(this,{providerId:a,isOAuthProvider:!0}),this.Fb={},this.lb=(ro(a)||{}).Ha||null,this.kb=null}function Ao(a){if("string"!=typeof a||0!=a.indexOf("saml."))throw new P("argument-error",'SAML provider IDs must be prefixed with "saml."');Eo.call(this,a,[])}function To(a){Eo.call(this,a,to),this.a=[]}function ko(){To.call(this,"facebook.com")}function Co(a){if(!a)throw new P("argument-error","credential failed: expected 1 argument (the OAuth access token).");var b=a;return S(a)&&(b=a.accessToken),(new ko).credential({accessToken:b})}function Oo(){To.call(this,"github.com")}function Io(a){if(!a)throw new P("argument-error","credential failed: expected 1 argument (the OAuth access token).");var b=a;return S(a)&&(b=a.accessToken),(new Oo).credential({accessToken:b})}function Po(){To.call(this,"google.com"),this.Aa("profile")}function Ro(a,b){var t=a;return S(a)&&(t=a.idToken,b=a.accessToken),(new Po).credential({idToken:t,accessToken:b})}function jo(){Eo.call(this,"twitter.com",Qn)}function No(a,b){var t=a;if(S(t)||(t={oauthToken:a,oauthTokenSecret:b}),!t.oauthToken||!t.oauthTokenSecret)throw new P("argument-error","credential failed: expected 2 arguments (the OAuth access token and secret).");return new Mo("twitter.com",t,"twitter.com")}function Lo(a,b,t){this.a=a,this.f=b,rn(this,"providerId","password"),rn(this,"signInMethod",t===Bo.EMAIL_LINK_SIGN_IN_METHOD?Bo.EMAIL_LINK_SIGN_IN_METHOD:Bo.EMAIL_PASSWORD_SIGN_IN_METHOD)}function Do(a){return a&&a.email&&a.password?new Lo(a.email,a.password,a.signInMethod):null}function Bo(){nn(this,{providerId:"password",isOAuthProvider:!1})}function Fo(a,b){if(!(b=Uo(b)))throw new P("argument-error","Invalid email link!");return new Lo(a,b.code,Bo.EMAIL_LINK_SIGN_IN_METHOD)}function Uo(a){return(a=Ln(a=fo(a)))&&a.operation===gn?a:null}function qo(a){if(!(a.bb&&a.ab||a.Ja&&a.da))throw new P("internal-error");this.a=a,rn(this,"providerId","phone"),this.ea="phone",rn(this,"signInMethod","phone")}function zo(a){if(a&&"phone"===a.providerId&&(a.verificationId&&a.verificationCode||a.temporaryProof&&a.phoneNumber)){var b={};return X(["verificationId","verificationCode","temporaryProof","phoneNumber"],(function(t){a[t]&&(b[t]=a[t])})),new qo(b)}return null}function Ho(a){return a.a.Ja&&a.a.da?{temporaryProof:a.a.Ja,phoneNumber:a.a.da}:{sessionInfo:a.a.bb,code:a.a.ab}}function Go(a){try{this.a=a||n.auth()}catch(t){throw new P("argument-error","Either an instance of firebase.auth.Auth must be passed as an argument to the firebase.auth.PhoneAuthProvider constructor, or the default firebase App instance must be initialized via firebase.initializeApp().")}nn(this,{providerId:"phone",isOAuthProvider:!1})}function Vo(a,b){if(!a)throw new P("missing-verification-id");if(!b)throw new P("missing-verification-code");return new qo({bb:a,ab:b})}function $o(a){if(a.temporaryProof&&a.phoneNumber)return new qo({Ja:a.temporaryProof,da:a.phoneNumber});var b=a&&a.providerId;if(!b||"password"===b)return null;var t=a&&a.oauthAccessToken,e=a&&a.oauthTokenSecret,r=a&&a.nonce,n=a&&a.oauthIdToken,g=a&&a.pendingToken;try{switch(b){case"google.com":return Ro(n,t);case"facebook.com":return Co(t);case"github.com":return Io(t);case"twitter.com":return No(t,e);default:return t||e||n||g?g?0==b.indexOf("saml.")?new yo(b,g):new Mo(b,{pendingToken:g,idToken:a.oauthIdToken,accessToken:a.oauthAccessToken},b):new To(b).credential({idToken:n,accessToken:t,rawNonce:r}):null}}catch(t){return null}}function Wo(a){if(!a.isOAuthProvider)throw new P("invalid-oauth-provider")}function Yo(a,b,t,e,r,n,g){if(this.c=a,this.b=b||null,this.g=t||null,this.f=e||null,this.i=n||null,this.h=g||null,this.a=r||null,!this.g&&!this.a)throw new P("invalid-auth-event");if(this.g&&this.a)throw new P("invalid-auth-event");if(this.g&&!this.f)throw new P("invalid-auth-event")}function Ko(a){return(a=a||{}).type?new Yo(a.type,a.eventId,a.urlResponse,a.sessionId,a.error&&R(a.error),a.postBody,a.tenantId):null}function Xo(){this.b=null,this.a=[]}po.prototype.Fa=function(){return this.a?Ne(this.a):Ne(this.b)},po.prototype.v=function(){return this.type==mo?{multiFactorSession:{idToken:this.a}}:{multiFactorSession:{pendingCredential:this.b}}},vo.prototype.ia=function(){},vo.prototype.b=function(){},vo.prototype.c=function(){},vo.prototype.v=function(){},yo.prototype.ia=function(a){return Ss(a,wo(this))},yo.prototype.b=function(a,b){var t=wo(this);return t.idToken=b,xs(a,t)},yo.prototype.c=function(a,b){return bo(Es(a,wo(this)),b)},yo.prototype.v=function(){return{providerId:this.providerId,signInMethod:this.signInMethod,pendingToken:this.a}},Mo.prototype.ia=function(a){return Ss(a,So(this))},Mo.prototype.b=function(a,b){var t=So(this);return t.idToken=b,xs(a,t)},Mo.prototype.c=function(a,b){return bo(Es(a,So(this)),b)},Mo.prototype.v=function(){var a={providerId:this.providerId,signInMethod:this.signInMethod};return this.idToken&&(a.oauthIdToken=this.idToken),this.accessToken&&(a.oauthAccessToken=this.accessToken),this.secret&&(a.oauthTokenSecret=this.secret),this.nonce&&(a.nonce=this.nonce),this.a&&(a.pendingToken=this.a),a},Eo.prototype.Ia=function(a){return this.Fb=St(a),this},I(Ao,Eo),I(To,Eo),To.prototype.Aa=function(a){return tt(this.a,a)||this.a.push(a),this},To.prototype.Nb=function(){return ot(this.a)},To.prototype.credential=function(a,b){var t;if(!(t=S(a)?{idToken:a.idToken||null,accessToken:a.accessToken||null,nonce:a.rawNonce||null}:{idToken:a||null,accessToken:b||null}).idToken&&!t.accessToken)throw new P("argument-error","credential failed: must provide the ID token and/or the access token.");return new Mo(this.providerId,t,this.providerId)},I(ko,To),rn(ko,"PROVIDER_ID","facebook.com"),rn(ko,"FACEBOOK_SIGN_IN_METHOD","facebook.com"),I(Oo,To),rn(Oo,"PROVIDER_ID","github.com"),rn(Oo,"GITHUB_SIGN_IN_METHOD","github.com"),I(Po,To),rn(Po,"PROVIDER_ID","google.com"),rn(Po,"GOOGLE_SIGN_IN_METHOD","google.com"),I(jo,Eo),rn(jo,"PROVIDER_ID","twitter.com"),rn(jo,"TWITTER_SIGN_IN_METHOD","twitter.com"),Lo.prototype.ia=function(a){return this.signInMethod==Bo.EMAIL_LINK_SIGN_IN_METHOD?sh(a,Rs,{email:this.a,oobCode:this.f}):sh(a,rh,{email:this.a,password:this.f})},Lo.prototype.b=function(a,b){return this.signInMethod==Bo.EMAIL_LINK_SIGN_IN_METHOD?sh(a,js,{idToken:b,email:this.a,oobCode:this.f}):sh(a,Ws,{idToken:b,email:this.a,password:this.f})},Lo.prototype.c=function(a,b){return bo(this.ia(a),b)},Lo.prototype.v=function(){return{email:this.a,password:this.f,signInMethod:this.signInMethod}},nn(Bo,{PROVIDER_ID:"password"}),nn(Bo,{EMAIL_LINK_SIGN_IN_METHOD:"emailLink"}),nn(Bo,{EMAIL_PASSWORD_SIGN_IN_METHOD:"password"}),qo.prototype.ia=function(a){return a.cb(Ho(this))},qo.prototype.b=function(a,b){var t=Ho(this);return t.idToken=b,sh(a,nh,t)},qo.prototype.c=function(a,b){var t=Ho(this);return t.operation="REAUTH",bo(a=sh(a,oh,t),b)},qo.prototype.v=function(){var a={providerId:"phone"};return this.a.bb&&(a.verificationId=this.a.bb),this.a.ab&&(a.verificationCode=this.a.ab),this.a.Ja&&(a.temporaryProof=this.a.Ja),this.a.da&&(a.phoneNumber=this.a.da),a},Go.prototype.cb=function(a,b){var t=this.a.b;return Ne(b.verify()).then((function(e){if("string"!=typeof e)throw new P("argument-error","An implementation of firebase.auth.ApplicationVerifier.prototype.verify() must return a firebase.Promise that resolves with a string.");switch(b.type){case"recaptcha":var r=S(a)?a.session:null,n=S(a)?a.phoneNumber:a;return(r&&r.type==mo?r.Fa().then((function(r){return function(a,b){return sh(a,Ks,b).then((function(t){return t.phoneSessionInfo.sessionInfo}))}(t,{idToken:r,phoneEnrollmentInfo:{phoneNumber:n,recaptchaToken:e}})})):r&&r.type==go?r.Fa().then((function(r){return function(a,b){return sh(a,Xs,b).then((function(t){return t.phoneResponseInfo.sessionInfo}))}(t,{mfaPendingCredential:r,mfaEnrollmentId:a.multiFactorHint&&a.multiFactorHint.uid||a.multiFactorUid,phoneSignInInfo:{recaptchaToken:e}})})):function(a,b){return sh(a,Vs,b)}(t,{phoneNumber:n,recaptchaToken:e})).then((function(t){return"function"==typeof b.reset&&b.reset(),t}),(function(t){throw"function"==typeof b.reset&&b.reset(),t}));default:throw new P("argument-error",'Only firebase.auth.ApplicationVerifiers with type="recaptcha" are currently supported.')}}))},nn(Go,{PROVIDER_ID:"phone"}),nn(Go,{PHONE_SIGN_IN_METHOD:"phone"}),Yo.prototype.getUid=function(){var a=[];return a.push(this.c),this.b&&a.push(this.b),this.f&&a.push(this.f),this.h&&a.push(this.h),a.join("-")},Yo.prototype.S=function(){return this.h},Yo.prototype.v=function(){return{type:this.c,eventId:this.b,urlResponse:this.g,sessionId:this.f,postBody:this.i,tenantId:this.h,error:this.a&&this.a.v()}};var Zo,Jo=null;function th(a){var b="unauthorized-domain",t=void 0,e=$r(a);a=e.b,"chrome-extension"==(e=e.f)?t=Xt("This chrome extension ID (chrome-extension://%s) is not authorized to run this operation. Add it to the OAuth redirect domains list in the Firebase console -> Auth section -> Sign in method tab.",a):"http"==e||"https"==e?t=Xt("This domain (%s) is not authorized to run this operation. Add it to the OAuth redirect domains list in the Firebase console -> Auth section -> Sign in method tab.",a):b="operation-not-supported-in-this-environment",P.call(this,b,t)}function Qo(a,b,t){P.call(this,a,t),(a=b||{}).Gb&&rn(this,"email",a.Gb),a.da&&rn(this,"phoneNumber",a.da),a.credential&&rn(this,"credential",a.credential),a.Wb&&rn(this,"tenantId",a.Wb)}function ta(a){if(a.code){var b=a.code||"";0==b.indexOf(N)&&(b=b.substring(N.length));var t={credential:$o(a),Wb:a.tenantId};if(a.email)t.Gb=a.email;else if(a.phoneNumber)t.da=a.phoneNumber;else if(!t.credential)return new P(b,a.message||void 0);return new Qo(b,t,a.message)}return null}function ea(){}function ra(a){return a.c||(a.c=a.b())}function ia(){}function na(a){if(!a.f&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var b=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],t=0;t<b.length;t++){var e=b[t];try{return new ActiveXObject(e),a.f=e}catch(t){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed")}return a.f}function oa(){}function aa(){this.a=new XDomainRequest,this.readyState=0,this.onreadystatechange=null,this.responseType=this.responseText=this.response="",this.status=-1,this.statusText="",this.a.onload=q(this.oc,this),this.a.onerror=q(this.Pb,this),this.a.onprogress=q(this.pc,this),this.a.ontimeout=q(this.tc,this)}function sa(a,b){a.readyState=b,a.onreadystatechange&&a.onreadystatechange()}function ha(a,b,t){this.reset(a,b,t,void 0,void 0)}I(th,P),I(Qo,P),Qo.prototype.v=function(){var a={code:this.code,message:this.message};this.email&&(a.email=this.email),this.phoneNumber&&(a.phoneNumber=this.phoneNumber),this.tenantId&&(a.tenantId=this.tenantId);var b=this.credential&&this.credential.v();return b&&Et(a,b),a},Qo.prototype.toJSON=function(){return this.v()},ea.prototype.c=null,I(ia,ea),ia.prototype.a=function(){var a=na(this);return a?new ActiveXObject(a):new XMLHttpRequest},ia.prototype.b=function(){var a={};return na(this)&&(a[0]=!0,a[1]=!0),a},Zo=new ia,I(oa,ea),oa.prototype.a=function(){var a=new XMLHttpRequest;if("withCredentials"in a)return a;if("undefined"!=typeof XDomainRequest)return new aa;throw Error("Unsupported browser")},oa.prototype.b=function(){return{}},(e=aa.prototype).open=function(a,b,t){if(null!=t&&!t)throw Error("Only async requests are supported.");this.a.open(a,b)},e.send=function(a){if(a){if("string"!=typeof a)throw Error("Only string data is supported");this.a.send(a)}else this.a.send()},e.abort=function(){this.a.abort()},e.setRequestHeader=function(){},e.getResponseHeader=function(a){return"content-type"==a.toLowerCase()?this.a.contentType:""},e.oc=function(){this.status=200,this.response=this.responseText=this.a.responseText,sa(this,4)},e.Pb=function(){this.status=500,this.response=this.responseText="",sa(this,4)},e.tc=function(){this.Pb()},e.pc=function(){this.status=200,sa(this,1)},e.getAllResponseHeaders=function(){return"content-type: "+this.a.contentType},ha.prototype.a=null;function ua(a){this.f=a,this.b=this.c=this.a=null}function la(a,b){this.name=a,this.value=b}ha.prototype.reset=function(a,b,t,e,r){"number"==typeof r||0,e||O(),delete this.a},la.prototype.toString=function(){return this.name};var ca=new la("SEVERE",1e3),fa=new la("WARNING",900),da=new la("CONFIG",700),pa=new la("FINE",500);ua.prototype.log=function(a,b,t){if(a.value>=function t(a){return a.c?a.c:a.a?t(a.a):(z("Root logger has no level set."),null)}(this).value)for(M(b)&&(b=b()),a=new ha(a,String(b),this.f),t&&(a.a=t),t=this;t;)t=t.a};var ma={},ga=null;function va(a){var b;if(ga||(ga=new ua(""),ma[""]=ga,ga.c=da),!(b=ma[a])){b=new ua(a);var t=a.lastIndexOf("."),e=a.substr(t+1);(t=va(a.substr(0,t))).b||(t.b={}),t.b[e]=b,b.a=t,ma[a]=b}return b}function ba(a,b){a&&a.log(pa,b,void 0)}function ya(a){this.f=a}function wa(a){kr.call(this),this.s=a,this.readyState=_a,this.status=0,this.responseType=this.responseText=this.response=this.statusText="",this.onreadystatechange=null,this.i=new Headers,this.b=null,this.m="GET",this.g="",this.a=!1,this.h=va("goog.net.FetchXmlHttp"),this.l=this.c=this.f=null}I(ya,ea),ya.prototype.a=function(){return new wa(this.f)},ya.prototype.b=function(a){return function(){return a}}({}),I(wa,kr);var _a=0;function Ma(a){a.c.read().then(a.nc.bind(a)).catch(a.Sa.bind(a))}function Sa(a,b){b&&a.f&&(a.status=a.f.status,a.statusText=a.f.statusText),a.readyState=4,a.f=null,a.c=null,a.l=null,xa(a)}function xa(a){a.onreadystatechange&&a.onreadystatechange.call(a)}function Ea(a){kr.call(this),this.headers=new Lr,this.D=a||null,this.c=!1,this.B=this.a=null,this.h=this.P=this.l="",this.f=this.O=this.i=this.N=!1,this.g=0,this.s=null,this.m=Aa,this.w=this.R=!1}(e=wa.prototype).open=function(a,b){if(this.readyState!=_a)throw this.abort(),Error("Error reopening a connection");this.m=a,this.g=b,this.readyState=1,xa(this)},e.send=function(a){if(1!=this.readyState)throw this.abort(),Error("need to call open() first. ");this.a=!0;var b={headers:this.i,method:this.m,credentials:void 0,cache:void 0};a&&(b.body=a),this.s.fetch(new Request(this.g,b)).then(this.sc.bind(this),this.Sa.bind(this))},e.abort=function(){this.response=this.responseText="",this.i=new Headers,this.status=0,this.c&&this.c.cancel("Request was aborted."),1<=this.readyState&&this.a&&4!=this.readyState&&(this.a=!1,Sa(this,!1)),this.readyState=_a},e.sc=function(a){this.a&&(this.f=a,this.b||(this.b=a.headers,this.readyState=2,xa(this)),this.a&&(this.readyState=3,xa(this),this.a&&("arraybuffer"===this.responseType?a.arrayBuffer().then(this.qc.bind(this),this.Sa.bind(this)):void 0!==d.ReadableStream&&"body"in a?(this.response=this.responseText="",this.c=a.body.getReader(),this.l=new TextDecoder,Ma(this)):a.text().then(this.rc.bind(this),this.Sa.bind(this)))))},e.nc=function(a){if(this.a){var b=this.l.decode(a.value?a.value:new Uint8Array(0),{stream:!a.done});b&&(this.response=this.responseText+=b),a.done?Sa(this,!0):xa(this),3==this.readyState&&Ma(this)}},e.rc=function(a){this.a&&(this.response=this.responseText=a,Sa(this,!0))},e.qc=function(a){this.a&&(this.response=a,Sa(this,!0))},e.Sa=function(a){var b=this.h;b&&b.log(fa,"Failed to fetch url "+this.g,a instanceof Error?a:Error(a)),this.a&&Sa(this,!0)},e.setRequestHeader=function(a,b){this.i.append(a,b)},e.getResponseHeader=function(a){return this.b?this.b.get(a.toLowerCase())||"":((a=this.h)&&a.log(fa,"Attempting to get response header but no headers have been received for url: "+this.g,void 0),"")},e.getAllResponseHeaders=function(){if(!this.b){var a=this.h;return a&&a.log(fa,"Attempting to get all response headers but no headers have been received for url: "+this.g,void 0),""}a=[];for(var b=this.b.entries(),t=b.next();!t.done;)t=t.value,a.push(t[0]+": "+t[1]),t=b.next();return a.join("\r\n")},I(Ea,kr);var Aa="";Ea.prototype.b=va("goog.net.XhrIo");var Ta=/^https?$/i,ka=["POST","PUT"];function Ca(a,b,t,e,r){if(a.a)throw Error("[goog.net.XhrIo] Object is active with another request="+a.l+"; newUri="+b);t=t?t.toUpperCase():"GET",a.l=b,a.h="",a.P=t,a.N=!1,a.c=!0,a.a=a.D?a.D.a():Zo.a(),a.B=a.D?ra(a.D):ra(Zo),a.a.onreadystatechange=q(a.Sb,a);try{ba(a.b,Ba(a,"Opening Xhr")),a.O=!0,a.a.open(t,String(b),!0),a.O=!1}catch(t){return ba(a.b,Ba(a,"Error opening Xhr: "+t.message)),void Ia(a,t)}b=e||"";var n=new Lr(a.headers);r&&function(a,b){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,void 0);else if(_(a)||"string"==typeof a)X(a,b,void 0);else for(var t=Nr(a),e=jr(a),r=e.length,n=0;n<r;n++)b.call(void 0,e[n],t&&t[n],a)}(r,(function(g,t){n.set(t,g)})),r=function(a){t:{for(var b=Oa,t=a.length,e="string"==typeof a?a.split(""):a,r=0;r<t;r++)if(r in e&&b.call(void 0,e[r],r,a)){b=r;break t}b=-1}return 0>b?null:"string"==typeof a?a.charAt(b):a[b]}(n.X()),e=d.FormData&&b instanceof d.FormData,!tt(ka,t)||r||e||n.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8"),n.forEach((function(g,t){this.a.setRequestHeader(t,g)}),a),a.m&&(a.a.responseType=a.m),"withCredentials"in a.a&&a.a.withCredentials!==a.R&&(a.a.withCredentials=a.R);try{Na(a),0<a.g&&(a.w=function(a){return ee&&fe(9)&&"number"==typeof a.timeout&&void 0!==a.ontimeout}(a.a),ba(a.b,Ba(a,"Will abort after "+a.g+"ms if incomplete, xhr2 "+a.w)),a.w?(a.a.timeout=a.g,a.a.ontimeout=q(a.Ka,a)):a.s=Pr(a.Ka,a.g,a)),ba(a.b,Ba(a,"Sending request")),a.i=!0,a.a.send(b),a.i=!1}catch(t){ba(a.b,Ba(a,"Send error: "+t.message)),Ia(a,t)}}function Oa(a){return"content-type"==a.toLowerCase()}function Ia(a,b){a.c=!1,a.a&&(a.f=!0,a.a.abort(),a.f=!1),a.h=b,Pa(a),ja(a)}function Pa(a){a.N||(a.N=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))}function Ra(a){if(a.c&&void 0!==f)if(a.B[1]&&4==La(a)&&2==Da(a))ba(a.b,Ba(a,"Local request error detected and ignored"));else if(a.i&&4==La(a))Pr(a.Sb,0,a);else if(a.dispatchEvent("readystatechange"),4==La(a)){ba(a.b,Ba(a,"Request complete")),a.c=!1;try{var t,b=Da(a);t:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var e=!0;break t;default:e=!1}if(!(t=e)){var r;if(r=0===b){var n=String(a.l).match(Fr)[1]||null;if(!n&&d.self&&d.self.location){var g=d.self.location.protocol;n=g.substr(0,g.length-1)}r=!Ta.test(n?n.toLowerCase():"")}t=r}if(t)a.dispatchEvent("complete"),a.dispatchEvent("success");else{try{var o=2<La(a)?a.a.statusText:""}catch(t){ba(a.b,"Can not get status: "+t.message),o=""}a.h=o+" ["+Da(a)+"]",Pa(a)}}finally{ja(a)}}}function ja(a,b){if(a.a){Na(a);var t=a.a,e=a.B[0]?y:null;a.a=null,a.B=null,b||a.dispatchEvent("ready");try{t.onreadystatechange=e}catch(t){(a=a.b)&&a.log(ca,"Problem encountered resetting onreadystatechange: "+t.message,void 0)}}}function Na(a){a.a&&a.w&&(a.a.ontimeout=null),a.s&&(d.clearTimeout(a.s),a.s=null)}function La(a){return a.a?a.a.readyState:0}function Da(a){try{return 2<La(a)?a.a.status:-1}catch(t){return-1}}function Ba(a,b){return b+" ["+a.P+" "+a.l+" "+Da(a)+"]"}function li(a){var b=Ka;this.g=[],this.w=b,this.s=a||null,this.f=this.a=!1,this.c=void 0,this.u=this.B=this.i=!1,this.h=0,this.b=null,this.l=0}function Fa(a,b,t){a.a=!0,a.c=t,a.f=!b,Ha(a)}function Ua(a){if(a.a){if(!a.u)throw new Ga(a);a.u=!1}}function qa(a,b,t,e){a.g.push([b,t,e]),a.a&&Ha(a)}function za(a){return Q(a.g,(function(b){return M(b[1])}))}function Ha(a){if(a.h&&a.a&&za(a)){var b=a.h,t=Wa[b];t&&(d.clearTimeout(t.a),delete Wa[b]),a.h=0}a.b&&(a.b.l--,delete a.b),b=a.c;for(var e=t=!1;a.g.length&&!a.i;){var r=a.g.shift(),n=r[0],g=r[1];if(r=r[2],n=a.f?g:n)try{var o=n.call(r||a.s,b);void 0!==o&&(a.f=a.f&&(o==b||o instanceof Error),a.c=b=o),(F(b)||"function"==typeof d.Promise&&b instanceof d.Promise)&&(e=!0,a.i=!0)}catch(e){b=e,a.f=!0,za(a)||(t=!0)}}a.c=b,e&&(o=q(a.m,a,!0),e=q(a.m,a,!1),b instanceof li?(qa(b,o,e),b.B=!0):b.then(o,e)),t&&(b=new $a(b),Wa[b.a]=b,a.h=b.a)}function Ga(){u.call(this)}function Va(){u.call(this)}function $a(a){this.a=d.setTimeout(q(this.c,this),0),this.b=a}(e=Ea.prototype).Ka=function(){void 0!==f&&this.a&&(this.h="Timed out after "+this.g+"ms, aborting",ba(this.b,Ba(this,this.h)),this.dispatchEvent("timeout"),this.abort(8))},e.abort=function(){this.a&&this.c&&(ba(this.b,Ba(this,"Aborting")),this.c=!1,this.f=!0,this.a.abort(),this.f=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),ja(this))},e.Ba=function(){this.a&&(this.c&&(this.c=!1,this.f=!0,this.a.abort(),this.f=!1),ja(this,!0)),Ea.Za.Ba.call(this)},e.Sb=function(){this.wa||(this.O||this.i||this.f?Ra(this):this.Hc())},e.Hc=function(){Ra(this)},e.getResponse=function(){try{if(!this.a)return null;if("response"in this.a)return this.a.response;switch(this.m){case Aa:case"text":return this.a.responseText;case"arraybuffer":if("mozResponseArrayBuffer"in this.a)return this.a.mozResponseArrayBuffer}var a=this.b;return a&&a.log(ca,"Response type "+this.m+" is not supported on this browser",void 0),null}catch(t){return ba(this.b,"Can not get response: "+t.message),null}},li.prototype.cancel=function(a){if(this.a)this.c instanceof li&&this.c.cancel();else{if(this.b){var b=this.b;delete this.b,a?b.cancel(a):(b.l--,0>=b.l&&b.cancel())}this.w?this.w.call(this.s,this):this.u=!0,this.a||(a=new Va(this),Ua(this),Fa(this,!1,a))}},li.prototype.m=function(a,b){this.i=!1,Fa(this,a,b)},li.prototype.then=function(a,b,t){var e,r,n=new ke((function(g,t){e=g,r=t}));return qa(this,e,(function(g){g instanceof Va?n.cancel():r(g)})),n.then(a,b,t)},li.prototype.$goog_Thenable=!0,I(Ga,u),Ga.prototype.message="Deferred has already fired",Ga.prototype.name="AlreadyCalledError",I(Va,u),Va.prototype.message="Deferred was canceled",Va.prototype.name="CanceledError",$a.prototype.c=function(){throw delete Wa[this.a],this.b};var Wa={};function Ya(a){var b={},t=b.document||document,e=Rt(a).toString(),r=we(document,"SCRIPT"),n={Tb:r,Ka:void 0},g=new li(n),o=null,h=null!=b.timeout?b.timeout:5e3;return 0<h&&(o=window.setTimeout((function(){Xa(r,!0);var p=new Qa(Ja,"Timeout reached for loading script "+e);Ua(g),Fa(g,!1,p)}),h),n.Ka=o),r.onload=r.onreadystatechange=function(){r.readyState&&"loaded"!=r.readyState&&"complete"!=r.readyState||(Xa(r,b.ud||!1,o),Ua(g),Fa(g,!0,null))},r.onerror=function(){Xa(r,!0,o);var p=new Qa(Za,"Error while loading script "+e);Ua(g),Fa(g,!1,p)},Et(n=b.attributes||{},{type:"text/javascript",charset:"UTF-8"}),me(r,n),function(a,b){At(a,"HTMLScriptElement"),a.src=Rt(b),null===v&&(v=(b=(b=d.document).querySelector&&b.querySelector("script[nonce]"))&&(b=b.nonce||b.getAttribute("nonce"))&&m.test(b)?b:""),(b=v)&&a.setAttribute("nonce",b)}(r,a),function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&0!=b.length?b[0]:a.documentElement}(t).appendChild(r),g}function Ka(){if(this&&this.Tb){var a=this.Tb;a&&"SCRIPT"==a.tagName&&Xa(a,!0,this.Ka)}}function Xa(a,b,t){null!=t&&d.clearTimeout(t),a.onload=y,a.onerror=y,a.onreadystatechange=y,b&&window.setTimeout((function(){a&&a.parentNode&&a.parentNode.removeChild(a)}),0)}var Za=0,Ja=1;function Qa(a,b){var t="Jsloader error (code #"+a+")";b&&(t+=": "+b),u.call(this,t),this.code=a}function ts(a){this.f=a}function es(a,b,t){if(this.c=a,a=b||{},this.u=a.secureTokenEndpoint||"https://securetoken.googleapis.com/v1/token",this.m=a.secureTokenTimeout||ns,this.g=St(a.secureTokenHeaders||os),this.h=a.firebaseEndpoint||"https://www.googleapis.com/identitytoolkit/v3/relyingparty/",this.l=a.identityPlatformEndpoint||"https://identitytoolkit.googleapis.com/v2/",this.i=a.firebaseTimeout||as,this.a=St(a.firebaseHeaders||ss),t&&(this.a["X-Client-Version"]=t,this.g["X-Client-Version"]=t),t="Node"==ki(),!(t=d.XMLHttpRequest||t&&n.INTERNAL.node&&n.INTERNAL.node.XMLHttpRequest)&&!Ti())throw new P("internal-error","The XMLHttpRequest compatibility library was not found.");this.f=void 0,Ti()?this.f=new ya(self):Ci()?this.f=new ts(t):this.f=new oa,this.b=null}I(Qa,u),I(ts,ea),ts.prototype.a=function(){return new this.f},ts.prototype.b=function(){return{}};var rs,is="idToken",ns=new Yi(3e4,6e4),os={"Content-Type":"application/x-www-form-urlencoded"},as=new Yi(3e4,6e4),ss={"Content-Type":"application/json"};function hs(a,b){b?a.a["X-Firebase-Locale"]=b:delete a.a["X-Firebase-Locale"]}function us(a,b){b?(a.a["X-Client-Version"]=b,a.g["X-Client-Version"]=b):(delete a.a["X-Client-Version"],delete a.g["X-Client-Version"])}function ls(a,b,t,e,r,n,g){(function(){var a=Ni();return!((a=Pi(a)!=Ii?null:(a=a.match(/\sChrome\/(\d+)/i))&&2==a.length?parseInt(a[1],10):null)&&30>a)&&(!ee||!le||9<le)})()||Ti()?a=q(a.w,a):(rs||(rs=new ke((function(t,e){!function(a,b){if(((window.gapi||{}).client||{}).request)a();else{d[fs]=function(){((window.gapi||{}).client||{}).request?a():b(Error("CORS_UNSUPPORTED"))},function(a,b){qa(a,null,b,void 0)}(Ya(jt(cs,{onload:fs})),(function(){b(Error("CORS_UNSUPPORTED"))}))}}(t,e)}))),a=q(a.s,a)),a(b,t,e,r,n,g)}es.prototype.S=function(){return this.b},es.prototype.w=function(a,b,t,e,r,n){if(Ti()&&(void 0===d.fetch||void 0===d.Headers||void 0===d.Request))throw new P("operation-not-supported-in-this-environment","fetch, Headers and Request native APIs or equivalent Polyfills must be available to support HTTP requests from a Worker environment.");var g=new Ea(this.f);if(n){g.g=Math.max(0,n);var o=setTimeout((function(){g.dispatchEvent("timeout")}),n)}Cr(g,"complete",(function(){o&&clearTimeout(o);var t=null;try{t=JSON.parse(function(a){try{return a.a?a.a.responseText:""}catch(t){return ba(a.b,"Can not get responseText: "+t.message),""}}(this))||null}catch(e){t=null}b&&b(t)})),Or(g,"ready",(function(){o&&clearTimeout(o),Je(this)})),Or(g,"timeout",(function(){o&&clearTimeout(o),Je(this),b&&b(null)})),Ca(g,a,t,e,r)};var cs=new Tt(Ot,"https://apis.google.com/js/client.js?onload=%{onload}"),fs="__fcb"+Math.floor(1e6*Math.random()).toString();function ds(a,b,t,e,r,n,g){var o=$r(b+t);Gr(o,"key",a.c),g&&Gr(o,"cb",O().toString());var h="GET"==e;if(h)for(var p in r)r.hasOwnProperty(p)&&Gr(o,p,r[p]);return new ke((function(t,l){ls(a,o.toString(),(function(e){e?e.error?l(uh(e,n||{})):t(e):l(new P("network-request-failed"))}),e,h?void 0:ci(Hi(r)),a.a,a.i.get())}))}function ps(a){if("string"!=typeof(a=a.email)||!Si.test(a))throw new P("invalid-email")}function ms(a){"email"in a&&ps(a)}function gs(a){if(!a[is]){if(a.mfaPendingCredential)throw new P("multi-factor-auth-required",null,St(a));throw new P("internal-error")}}function vs(a){if(a.phoneNumber||a.temporaryProof){if(!a.phoneNumber||!a.temporaryProof)throw new P("internal-error")}else{if(!a.sessionInfo)throw new P("missing-verification-id");if(!a.code)throw new P("missing-verification-code")}}es.prototype.s=function(a,b,t,e,r){var n=this;rs.then((function(){window.gapi.client.setApiKey(n.c);var g=window.gapi.auth.getToken();window.gapi.auth.setToken(null),window.gapi.client.request({path:a,method:t,body:e,headers:r,authType:"none",callback:function(t){window.gapi.auth.setToken(g),b&&b(t)}})})).o((function(g){b&&b({error:{message:g&&g.message||"CORS_UNSUPPORTED"}})}))},es.prototype.vb=function(){return sh(this,Ys,{})},es.prototype.xb=function(a,b){return sh(this,$s,{idToken:a,email:b})},es.prototype.yb=function(a,b){return sh(this,Ws,{idToken:a,password:b})};var bs={displayName:"DISPLAY_NAME",photoUrl:"PHOTO_URL"};function ys(a){if(!a.phoneVerificationInfo)throw new P("internal-error");if(!a.phoneVerificationInfo.sessionInfo)throw new P("missing-verification-id");if(!a.phoneVerificationInfo.code)throw new P("missing-verification-code")}function ws(a){if(!a.requestUri||!a.sessionId&&!a.postBody&&!a.pendingToken)throw new P("internal-error")}function _s(a,b){return b.oauthIdToken&&b.providerId&&0==b.providerId.indexOf("oidc.")&&!b.pendingToken&&(a.sessionId?b.nonce=a.sessionId:a.postBody&&(ai(a=new ri(a.postBody),"nonce")&&(b.nonce=a.get("nonce")))),b}function Ms(a){var b=null;if(a.needConfirmation?(a.code="account-exists-with-different-credential",b=ta(a)):"FEDERATED_USER_ID_ALREADY_LINKED"==a.errorMessage?(a.code="credential-already-in-use",b=ta(a)):"EMAIL_EXISTS"==a.errorMessage?(a.code="email-already-in-use",b=ta(a)):a.errorMessage&&(b=hh(a.errorMessage)),b)throw b;gs(a)}function Ss(a,b){return b.returnIdpCredential=!0,sh(a,Zs,b)}function xs(a,b){return b.returnIdpCredential=!0,sh(a,Qs,b)}function Es(a,b){return b.returnIdpCredential=!0,b.autoCreate=!1,sh(a,Js,b)}function As(a){if(!a.oobCode)throw new P("invalid-action-code")}(e=es.prototype).zb=function(a,b){var t={idToken:a},e=[];return _t(bs,(function(r,n){var g=b[n];null===g?e.push(r):n in b&&(t[n]=g)})),e.length&&(t.deleteAttribute=e),sh(this,$s,t)},e.rb=function(a,b){return Et(a={requestType:"PASSWORD_RESET",email:a},b),sh(this,qs,a)},e.sb=function(a,b){return Et(a={requestType:"EMAIL_SIGNIN",email:a},b),sh(this,Bs,a)},e.qb=function(a,b){return Et(a={requestType:"VERIFY_EMAIL",idToken:a},b),sh(this,Fs,a)},e.Ab=function(a,b,t){return Et(a={requestType:"VERIFY_AND_CHANGE_EMAIL",idToken:a,newEmail:b},t),sh(this,Us,a)},e.cb=function(a){return sh(this,ih,a)},e.jb=function(a,b){return sh(this,Gs,{oobCode:a,newPassword:b})},e.Pa=function(a){return sh(this,ks,{oobCode:a})},e.fb=function(a){return sh(this,Ts,{oobCode:a})};var Ts={endpoint:"setAccountInfo",A:As,Y:"email",C:!0},ks={endpoint:"resetPassword",A:As,G:function(a){var b=a.requestType;if(!b||!a.email&&"EMAIL_SIGNIN"!=b&&"VERIFY_AND_CHANGE_EMAIL"!=b)throw new P("internal-error")},C:!0},Cs={endpoint:"signupNewUser",A:function(a){if(ps(a),!a.password)throw new P("weak-password")},G:gs,U:!0,C:!0},Os={endpoint:"createAuthUri",C:!0},Is={endpoint:"deleteAccount",M:["idToken"]},Ps={endpoint:"setAccountInfo",M:["idToken","deleteProvider"],A:function(a){if("array"!=w(a.deleteProvider))throw new P("internal-error")}},Rs={endpoint:"emailLinkSignin",M:["email","oobCode"],A:ps,G:gs,U:!0,C:!0},js={endpoint:"emailLinkSignin",M:["idToken","email","oobCode"],A:ps,G:gs,U:!0},Ns={endpoint:"accounts/mfaEnrollment:finalize",M:["idToken","phoneVerificationInfo"],A:ys,G:gs,C:!0,La:!0},Ls={endpoint:"accounts/mfaSignIn:finalize",M:["mfaPendingCredential","phoneVerificationInfo"],A:ys,G:gs,C:!0,La:!0},Ds={endpoint:"getAccountInfo"},Bs={endpoint:"getOobConfirmationCode",M:["requestType"],A:function(a){if("EMAIL_SIGNIN"!=a.requestType)throw new P("internal-error");ps(a)},Y:"email",C:!0},Fs={endpoint:"getOobConfirmationCode",M:["idToken","requestType"],A:function(a){if("VERIFY_EMAIL"!=a.requestType)throw new P("internal-error")},Y:"email",C:!0},Us={endpoint:"getOobConfirmationCode",M:["idToken","newEmail","requestType"],A:function(a){if("VERIFY_AND_CHANGE_EMAIL"!=a.requestType)throw new P("internal-error")},Y:"email",C:!0},qs={endpoint:"getOobConfirmationCode",M:["requestType"],A:function(a){if("PASSWORD_RESET"!=a.requestType)throw new P("internal-error");ps(a)},Y:"email",C:!0},zs={hb:!0,endpoint:"getProjectConfig",Rb:"GET"},Hs={hb:!0,endpoint:"getRecaptchaParam",Rb:"GET",G:function(a){if(!a.recaptchaSiteKey)throw new P("internal-error")}},Gs={endpoint:"resetPassword",A:As,Y:"email",C:!0},Vs={endpoint:"sendVerificationCode",M:["phoneNumber","recaptchaToken"],Y:"sessionInfo",C:!0},$s={endpoint:"setAccountInfo",M:["idToken"],A:ms,U:!0},Ws={endpoint:"setAccountInfo",M:["idToken"],A:function(a){if(ms(a),!a.password)throw new P("weak-password")},G:gs,U:!0},Ys={endpoint:"signupNewUser",G:gs,U:!0,C:!0},Ks={endpoint:"accounts/mfaEnrollment:start",M:["idToken","phoneEnrollmentInfo"],A:function(a){if(!a.phoneEnrollmentInfo)throw new P("internal-error");if(!a.phoneEnrollmentInfo.phoneNumber)throw new P("missing-phone-number");if(!a.phoneEnrollmentInfo.recaptchaToken)throw new P("missing-app-credential")},G:function(a){if(!a.phoneSessionInfo||!a.phoneSessionInfo.sessionInfo)throw new P("internal-error")},C:!0,La:!0},Xs={endpoint:"accounts/mfaSignIn:start",M:["mfaPendingCredential","mfaEnrollmentId","phoneSignInInfo"],A:function(a){if(!a.phoneSignInInfo||!a.phoneSignInInfo.recaptchaToken)throw new P("missing-app-credential")},G:function(a){if(!a.phoneResponseInfo||!a.phoneResponseInfo.sessionInfo)throw new P("internal-error")},C:!0,La:!0},Zs={endpoint:"verifyAssertion",A:ws,Wa:_s,G:Ms,U:!0,C:!0},Js={endpoint:"verifyAssertion",A:ws,Wa:_s,G:function(a){if(a.errorMessage&&"USER_NOT_FOUND"==a.errorMessage)throw new P("user-not-found");if(a.errorMessage)throw hh(a.errorMessage);gs(a)},U:!0,C:!0},Qs={endpoint:"verifyAssertion",A:function(a){if(ws(a),!a.idToken)throw new P("internal-error")},Wa:_s,G:Ms,U:!0},eh={endpoint:"verifyCustomToken",A:function(a){if(!a.token)throw new P("invalid-custom-token")},G:gs,U:!0,C:!0},rh={endpoint:"verifyPassword",A:function(a){if(ps(a),!a.password)throw new P("wrong-password")},G:gs,U:!0,C:!0},ih={endpoint:"verifyPhoneNumber",A:vs,G:gs,C:!0},nh={endpoint:"verifyPhoneNumber",A:function(a){if(!a.idToken)throw new P("internal-error");vs(a)},G:function(a){if(a.temporaryProof)throw a.code="credential-already-in-use",ta(a);gs(a)}},oh={Eb:{USER_NOT_FOUND:"user-not-found"},endpoint:"verifyPhoneNumber",A:vs,G:gs,C:!0},ah={endpoint:"accounts/mfaEnrollment:withdraw",M:["idToken","mfaEnrollmentId"],G:function(a){if(!!a[is]^!!a.refreshToken)throw new P("internal-error")},C:!0,La:!0};function sh(a,b,t){if(!function(a,b){if(!b||!b.length)return!0;if(!a)return!1;for(var t=0;t<b.length;t++){var e=a[b[t]];if(null==e||""===e)return!1}return!0}(t,b.M))return Le(new P("internal-error"));var e,r=!!b.La,n=b.Rb||"POST";return Ne(t).then(b.A).then((function(){return b.U&&(t.returnSecureToken=!0),b.C&&a.b&&void 0===t.tenantId&&(t.tenantId=a.b),ds(a,r?a.l:a.h,b.endpoint,n,t,b.Eb,b.hb||!1)})).then((function(g){return e=g,b.Wa?b.Wa(t,e):e})).then(b.G).then((function(){if(!b.Y)return e;if(!(b.Y in e))throw new P("internal-error");return e[b.Y]}))}function hh(a){return uh({error:{errors:[{message:a}],code:400,message:a}})}function uh(a,b){var t=(a.error&&a.error.errors&&a.error.errors[0]||{}).reason||"",e={keyInvalid:"invalid-api-key",ipRefererBlocked:"app-not-authorized"};if(t=e[t]?new P(e[t]):null)return t;for(var r in t=a.error&&a.error.message||"",Et(e={INVALID_CUSTOM_TOKEN:"invalid-custom-token",CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_EMAIL:"invalid-email",INVALID_PASSWORD:"wrong-password",USER_DISABLED:"user-disabled",MISSING_PASSWORD:"internal-error",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",INVALID_PENDING_TOKEN:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",MISSING_OR_INVALID_NONCE:"missing-or-invalid-nonce",INVALID_MESSAGE_PAYLOAD:"invalid-message-payload",INVALID_RECIPIENT_EMAIL:"invalid-recipient-email",INVALID_SENDER:"invalid-sender",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",INVALID_PROVIDER_ID:"invalid-provider-id",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",CORS_UNSUPPORTED:"cors-unsupported",DYNAMIC_LINK_NOT_ACTIVATED:"dynamic-link-not-activated",INVALID_APP_ID:"invalid-app-id",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",WEAK_PASSWORD:"weak-password",OPERATION_NOT_ALLOWED:"operation-not-allowed",USER_CANCELLED:"user-cancelled",CAPTCHA_CHECK_FAILED:"captcha-check-failed",INVALID_APP_CREDENTIAL:"invalid-app-credential",INVALID_CODE:"invalid-verification-code",INVALID_PHONE_NUMBER:"invalid-phone-number",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_APP_CREDENTIAL:"missing-app-credential",MISSING_CODE:"missing-verification-code",MISSING_PHONE_NUMBER:"missing-phone-number",MISSING_SESSION_INFO:"missing-verification-id",QUOTA_EXCEEDED:"quota-exceeded",SESSION_EXPIRED:"code-expired",REJECTED_CREDENTIAL:"rejected-credential",INVALID_CONTINUE_URI:"invalid-continue-uri",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",MISSING_IOS_BUNDLE_ID:"missing-ios-bundle-id",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_DYNAMIC_LINK_DOMAIN:"invalid-dynamic-link-domain",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",INVALID_CERT_HASH:"invalid-cert-hash",UNSUPPORTED_TENANT_OPERATION:"unsupported-tenant-operation",INVALID_TENANT_ID:"invalid-tenant-id",TENANT_ID_MISMATCH:"tenant-id-mismatch",ADMIN_ONLY_OPERATION:"admin-restricted-operation",INVALID_MFA_PENDING_CREDENTIAL:"invalid-multi-factor-session",MFA_ENROLLMENT_NOT_FOUND:"multi-factor-info-not-found",MISSING_MFA_PENDING_CREDENTIAL:"missing-multi-factor-session",MISSING_MFA_ENROLLMENT_ID:"missing-multi-factor-info",EMAIL_CHANGE_NEEDS_VERIFICATION:"email-change-needs-verification",SECOND_FACTOR_EXISTS:"second-factor-already-in-use",SECOND_FACTOR_LIMIT_EXCEEDED:"maximum-second-factor-count-exceeded",UNSUPPORTED_FIRST_FACTOR:"unsupported-first-factor",UNVERIFIED_EMAIL:"unverified-email"},b||{}),b=(b=t.match(/^[^\s]+\s*:\s*([\s\S]*)$/))&&1<b.length?b[1]:void 0,e)if(0===t.indexOf(r))return new P(e[r],b);return!b&&a&&(b=zi(a)),new P("internal-error",b)}function lh(a){this.b=a,this.a=null,this.nb=function(a){return(ph||(ph=new ke((function(a,b){function t(){Wi(),Li("gapi.load")("gapi.iframes",{callback:a,ontimeout:function(){Wi(),b(Error("Network Error"))},timeout:fh.get()})}if(Li("gapi.iframes.Iframe"))a();else if(Li("gapi.load"))t();else{var e="__iframefcb"+Math.floor(1e6*Math.random()).toString();d[e]=function(){Li("gapi.load")?t():b(Error("Network Error"))},Ne(Ya(e=jt(ch,{onload:e}))).o((function(){b(Error("Network Error"))}))}})).o((function(a){throw ph=null,a})))).then((function(){return new ke((function(b,t){Li("gapi.iframes.getContext")().open({where:document.body,url:a.b,messageHandlersFilter:Li("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"),attributes:{style:{position:"absolute",top:"-100px",width:"1px",height:"1px"}},dontclear:!0},(function(e){function r(){clearTimeout(n),b()}a.a=e,a.a.restyle({setHideOnLeave:!1});var n=setTimeout((function(){t(Error("Network Error"))}),dh.get());e.ping(r).then(r,(function(){t(Error("Network Error"))}))}))}))}))}(this)}var ch=new Tt(Ot,"https://apis.google.com/js/api.js?onload=%{onload}"),fh=new Yi(3e4,6e4),dh=new Yi(5e3,15e3),ph=null;function mh(a,b,t){this.i=a,this.g=b,this.h=t,this.f=null,this.a=Wr(this.i,"/__/auth/iframe"),Gr(this.a,"apiKey",this.g),Gr(this.a,"appName",this.h),this.b=null,this.c=[]}function gh(a,b,t,e,r){this.s=a,this.m=b,this.c=t,this.u=e,this.i=this.g=this.l=null,this.a=r,this.h=this.f=null}function vh(a){try{return n.app(a).auth().Ea()}catch(t){return[]}}function bh(a,b,t,e,r){this.u=a,this.f=b,this.b=t,this.c=e||null,this.h=r||null,this.m=this.s=this.w=null,this.g=[],this.l=this.a=null}function yh(a){var b=vi();return function(a){return sh(a,zs,{}).then((function(b){return b.authorizedDomains||[]}))}(a).then((function(t){t:{var e=$r(b),r=e.f;e=e.b;for(var n=0;n<t.length;n++){var g=t[n],o=e,h=r;if(0==g.indexOf("chrome-extension://")?o=$r(g).b==o&&"chrome-extension"==h:"http"!=h&&"https"!=h?o=!1:Mi.test(g)?o=o==g:(g=g.split(".").join("\\."),o=new RegExp("^(.+\\."+g+"|"+g+")$","i").test(o)),o){t=!0;break t}}t=!1}if(!t)throw new th(vi())}))}function wh(a){return a.l||(a.l=xi().then((function(){if(!a.s){var b=a.c,t=a.h,e=vh(a.b),r=new mh(a.u,a.f,a.b);r.f=b,r.b=t,r.c=ot(e||[]),a.s=r.toString()}a.i=new lh(a.s),function(a){if(!a.i)throw Error("IfcHandler must be initialized!");!function(a,b){a.nb.then((function(){a.a.register("authEvent",b,Li("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"))}))}(a.i,(function(b){var t={};if(b&&b.authEvent){var e=!1;for(b=Ko(b.authEvent),t=0;t<a.g.length;t++)e=a.g[t](b)||e;return(t={}).status=e?"ACK":"ERROR",Ne(t)}return t.status="ERROR",Ne(t)}))}(a)}))),a.l}function _h(a){return a.m||(a.w=a.c?ji(a.c,vh(a.b)):null,a.m=new es(a.f,B(a.h),a.w)),a.m}function Mh(a,b,t,e,r,n,g,o,h,p,l){return(a=new gh(a,b,t,e,r)).l=n,a.g=g,a.i=o,a.b=St(h||null),a.f=p,a.ub(l).toString()}function Sh(a){if(this.a=a||n.INTERNAL.reactNative&&n.INTERNAL.reactNative.AsyncStorage,!this.a)throw new P("internal-error","The React Native compatibility library was not found.");this.type="asyncStorage"}function xh(a){this.b=a,this.a={},this.f=q(this.c,this)}mh.prototype.toString=function(){return this.f?Gr(this.a,"v",this.f):oi(this.a.a,"v"),this.b?Gr(this.a,"eid",this.b):oi(this.a.a,"eid"),this.c.length?Gr(this.a,"fw",this.c.join(",")):oi(this.a.a,"fw"),this.a.toString()},gh.prototype.ub=function(a){return this.h=a,this},gh.prototype.toString=function(){var a=Wr(this.s,"/__/auth/handler");if(Gr(a,"apiKey",this.m),Gr(a,"appName",this.c),Gr(a,"authType",this.u),this.a.isOAuthProvider){var b=this.a;try{var t=n.app(this.c).auth().ja()}catch(e){t=null}for(var e in b.kb=t,Gr(a,"providerId",this.a.providerId),t=Hi((b=this.a).Fb))t[e]=t[e].toString();e=b.Oc,t=St(t);for(var r=0;r<e.length;r++){var o=e[r];o in t&&delete t[o]}b.lb&&b.kb&&!t[b.lb]&&(t[b.lb]=b.kb),Mt(t)||Gr(a,"customParameters",zi(t))}if("function"==typeof this.a.Nb&&((b=this.a.Nb()).length&&Gr(a,"scopes",b.join(","))),this.l?Gr(a,"redirectUrl",this.l):oi(a.a,"redirectUrl"),this.g?Gr(a,"eventId",this.g):oi(a.a,"eventId"),this.i?Gr(a,"v",this.i):oi(a.a,"v"),this.b)for(var g in this.b)this.b.hasOwnProperty(g)&&!Vr(a,g)&&Gr(a,g,this.b[g]);return this.h?Gr(a,"tid",this.h):oi(a.a,"tid"),this.f?Gr(a,"eid",this.f):oi(a.a,"eid"),(g=vh(this.c)).length&&Gr(a,"fw",g.join(",")),a.toString()},(e=bh.prototype).Lb=function(a,b,t){var e=new P("popup-closed-by-user"),r=new P("web-storage-unsupported"),n=this,g=!1;return this.ka().then((function(){(function(a){var b={type:"webStorageSupport"};return wh(a).then((function(){return function(a,b){return a.nb.then((function(){return new ke((function(t){a.a.send(b.type,b,t,Li("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER"))}))}))}(a.i,b)})).then((function(t){if(t&&t.length&&void 0!==t[0].webStorageSupport)return t[0].webStorageSupport;throw Error()}))})(n).then((function(t){t||(a&&wi(a),b(r),g=!0)}))})).o((function(){})).then((function(){if(!g)return function(a){return new ke((function(b){return function t(){Rr(2e3).then((function(){if(a&&!a.closed)return t();b()}))}()}))}(a)})).then((function(){if(!g)return Rr(t).then((function(){b(e)}))}))},e.Ub=function(){var a=Ni();return!qi(a)&&!$i(a)},e.Qb=function(){return!1},e.Jb=function(a,b,t,e,r,n,g,o){if(!a)return Le(new P("popup-blocked"));if(g&&!qi())return this.ka().o((function(p){wi(a),r(p)})),e(),Ne();this.a||(this.a=yh(_h(this)));var h=this;return this.a.then((function(){var p=h.ka().o((function(t){throw wi(a),r(t),t}));return e(),p})).then((function(){(Wo(t),g)||bi(Mh(h.u,h.f,h.b,b,t,null,n,h.c,void 0,h.h,o),a)})).o((function(p){throw"auth/network-request-failed"==p.code&&(h.a=null),p}))},e.Kb=function(a,b,t,e){this.a||(this.a=yh(_h(this)));var r=this;return this.a.then((function(){Wo(b),bi(Mh(r.u,r.f,r.b,a,b,vi(),t,r.c,void 0,r.h,e))})).o((function(t){throw"auth/network-request-failed"==t.code&&(r.a=null),t}))},e.ka=function(){var a=this;return wh(this).then((function(){return a.i.nb})).o((function(){throw a.a=null,new P("network-request-failed")}))},e.Xb=function(){return!0},e.Ca=function(a){this.g.push(a)},e.Qa=function(a){it(this.g,(function(b){return b==a}))},(e=Sh.prototype).get=function(a){return Ne(this.a.getItem(a)).then((function(b){return b&&Gi(b)}))},e.set=function(a,b){return Ne(this.a.setItem(a,zi(b)))},e.T=function(a){return Ne(this.a.removeItem(a))},e.ba=function(){},e.ha=function(){};var Eh,Ah=[];function Th(a,b,t){Mt(a.a)&&a.b.addEventListener("message",a.f),void 0===a.a[b]&&(a.a[b]=[]),a.a[b].push(t)}function kh(a){this.a=a}function Ch(a){this.c=a,this.b=!1,this.a=[]}function Oh(a,b,t,e){var r,g,n,o,h=t||{},p=null;if(a.b)return Le(Error("connection_unavailable"));var l=e?800:50,c="undefined"!=typeof MessageChannel?new MessageChannel:null;return new ke((function(t,e){c?(r=Math.floor(Math.random()*Math.pow(10,20)).toString(),c.port1.start(),n=setTimeout((function(){e(Error("unsupported_event"))}),l),p={messageChannel:c,onMessage:g=function(h){h.data.eventId===r&&("ack"===h.data.status?(clearTimeout(n),o=setTimeout((function(){e(Error("timeout"))}),3e3)):"done"===h.data.status?(clearTimeout(o),void 0!==h.data.response?t(h.data.response):e(Error("unknown_error"))):(clearTimeout(n),clearTimeout(o),e(Error("invalid_response"))))}},a.a.push(p),c.port1.addEventListener("message",g),a.c.postMessage({eventType:b,eventId:r,data:h},[c.port2])):e(Error("connection_unavailable"))})).then((function(t){return Ih(a,p),t})).o((function(t){throw Ih(a,p),t}))}function Ih(a,b){if(b){var t=b.messageChannel,e=b.onMessage;t&&(t.port1.removeEventListener("message",e),t.port1.close()),it(a.a,(function(t){return t==b}))}}function Ph(){if(!Nh())throw new P("web-storage-unsupported");this.c={},this.a=[],this.b=0,this.u=d.indexedDB,this.type="indexedDB",this.g=this.l=this.f=this.i=null,this.s=!1,this.h=null;var a=this;Ti()&&self?(this.l=function(){var a=Ti()?self:null;if(X(Ah,(function(t){t.b==a&&(b=t)})),!b){var b=new xh(a);Ah.push(b)}return b}(),Th(this.l,"keyChanged",(function(b,t){return Uh(a).then((function(e){return 0<e.length&&X(a.a,(function(t){t(e)})),{keyProcessed:tt(e,t.key)}}))})),Th(this.l,"ping",(function(){return Ne(["keyChanged"])}))):function(){var a=d.navigator;return a&&a.serviceWorker?Ne().then((function(){return a.serviceWorker.ready})).then((function(b){return b.active||null})).o((function(){return null})):Ne(null)}().then((function(b){(a.h=b)&&(a.g=new Ch(new kh(b)),Oh(a.g,"ping",null,!0).then((function(t){t[0].fulfilled&&tt(t[0].value,"keyChanged")&&(a.s=!0)})).o((function(){})))}))}function Rh(a){return new ke((function(b,t){var e=a.u.open("firebaseLocalStorageDb",1);e.onerror=function(e){try{e.preventDefault()}catch(t){}t(Error(e.target.error))},e.onupgradeneeded=function(e){e=e.target.result;try{e.createObjectStore("firebaseLocalStorage",{keyPath:"fbase_key"})}catch(e){t(e)}},e.onsuccess=function(e){(e=e.target.result).objectStoreNames.contains("firebaseLocalStorage")?b(e):function(a){return new ke((function(b,t){var e=a.u.deleteDatabase("firebaseLocalStorageDb");e.onsuccess=function(){b()},e.onerror=function(e){t(Error(e.target.error))}}))}(a).then((function(){return Rh(a)})).then((function(t){b(t)})).o((function(e){t(e)}))}}))}function jh(a){return a.m||(a.m=Rh(a)),a.m}function Nh(){try{return!!d.indexedDB}catch(t){return!1}}function Lh(a){return a.objectStore("firebaseLocalStorage")}function Dh(a,b){return a.transaction(["firebaseLocalStorage"],b?"readwrite":"readonly")}function Bh(a){return new ke((function(b,t){a.onsuccess=function(t){t&&t.target?b(t.target.result):b()},a.onerror=function(e){t(e.target.error)}}))}function Fh(a,b){return a.g&&a.h&&function(){var a=d.navigator;return a&&a.serviceWorker&&a.serviceWorker.controller||null}()===a.h?Oh(a.g,"keyChanged",{key:b},a.s).then((function(){})).o((function(){})):Ne()}function Uh(a){return jh(a).then((function(b){var t=Lh(Dh(b,!1));return t.getAll?Bh(t.getAll()):new ke((function(e,r){var n=[],g=t.openCursor();g.onsuccess=function(t){(t=t.target.result)?(n.push(t.value),t.continue()):e(n)},g.onerror=function(t){r(t.target.error)}}))})).then((function(b){var t={},e=[];if(0==a.b){for(e=0;e<b.length;e++)t[b[e].fbase_key]=b[e].value;e=function t(a,b){var e,r=[];for(e in a)e in b?typeof a[e]!=typeof b[e]?r.push(e):"object"==typeof a[e]&&null!=a[e]&&null!=b[e]?0<t(a[e],b[e]).length&&r.push(e):a[e]!==b[e]&&r.push(e):r.push(e);for(e in b)e in a||r.push(e);return r}(a.c,t),a.c=t}return e}))}function qh(a){a.i&&a.i.cancel("STOP_EVENT"),a.f&&(clearTimeout(a.f),a.f=null)}function zh(a){var b=this,t=null;this.a=[],this.type="indexedDB",this.c=a,this.b=Ne().then((function(){if(Nh()){var e=Vi(),r="__sak"+e;return Eh||(Eh=new Ph),(t=Eh).set(r,e).then((function(){return t.get(r)})).then((function(n){if(n!==e)throw Error("indexedDB not supported!");return t.T(r)})).then((function(){return t})).o((function(){return b.c}))}return b.c})).then((function(t){return b.type=t.type,t.ba((function(t){X(b.a,(function(e){e(t)}))})),t}))}function Hh(){this.a={},this.type="inMemory"}function Gh(){if(!function(){var a="Node"==ki();if(!(a=Vh()||a&&n.INTERNAL.node&&n.INTERNAL.node.localStorage))return!1;try{return a.setItem("__sak","1"),a.removeItem("__sak"),!0}catch(t){return!1}}()){if("Node"==ki())throw new P("internal-error","The LocalStorage compatibility library was not found.");throw new P("web-storage-unsupported")}this.a=Vh()||n.INTERNAL.node.localStorage,this.type="localStorage"}function Vh(){try{var a=d.localStorage,b=Vi();return a&&(a.setItem(b,"1"),a.removeItem(b)),a}catch(t){return null}}function $h(){this.type="nullStorage"}function Wh(){if(!function(){var a="Node"==ki();if(!(a=Yh()||a&&n.INTERNAL.node&&n.INTERNAL.node.sessionStorage))return!1;try{return a.setItem("__sak","1"),a.removeItem("__sak"),!0}catch(t){return!1}}()){if("Node"==ki())throw new P("internal-error","The SessionStorage compatibility library was not found.");throw new P("web-storage-unsupported")}this.a=Yh()||n.INTERNAL.node.sessionStorage,this.type="sessionStorage"}function Yh(){try{var a=d.sessionStorage,b=Vi();return a&&(a.setItem(b,"1"),a.removeItem(b)),a}catch(t){return null}}function Kh(){var a={};a.Browser=Jh,a.Node=Qh,a.ReactNative=tu,a.Worker=eu,this.a=a[ki()]}xh.prototype.c=function(a){var b=a.data.eventType,t=a.data.eventId,e=this.a[b];if(e&&0<e.length){a.ports[0].postMessage({status:"ack",eventId:t,eventType:b,response:null});var r=[];X(e,(function(t){r.push(Ne().then((function(){return t(a.origin,a.data.data)})))})),Be(r).then((function(e){var g=[];X(e,(function(t){g.push({fulfilled:t.Mb,value:t.value,reason:t.reason?t.reason.message:void 0})})),X(g,(function(t){for(var e in t)void 0===t[e]&&delete t[e]})),a.ports[0].postMessage({status:"done",eventId:t,eventType:b,response:g})}))}},kh.prototype.postMessage=function(a,b){this.a.postMessage(a,b)},Ch.prototype.close=function(){for(;0<this.a.length;)Ih(this,this.a[0]);this.b=!0},(e=Ph.prototype).set=function(a,b){var t,e=!1,r=this;return jh(this).then((function(e){return Bh((e=Lh(Dh(t=e,!0))).get(a))})).then((function(n){var g=Lh(Dh(t,!0));return n?(n.value=b,Bh(g.put(n))):(r.b++,e=!0,(n={}).fbase_key=a,n.value=b,Bh(g.add(n)))})).then((function(){return r.c[a]=b,Fh(r,a)})).ma((function(){e&&r.b--}))},e.get=function(a){return jh(this).then((function(b){return Bh(Lh(Dh(b,!1)).get(a))})).then((function(b){return b&&b.value}))},e.T=function(a){var b=!1,t=this;return jh(this).then((function(e){return b=!0,t.b++,Bh(Lh(Dh(e,!0)).delete(a))})).then((function(){return delete t.c[a],Fh(t,a)})).ma((function(){b&&t.b--}))},e.ba=function(a){0==this.a.length&&function(a){qh(a),function b(){a.f=setTimeout((function(){a.i=Uh(a).then((function(t){0<t.length&&X(a.a,(function(e){e(t)}))})).then((function(){b()})).o((function(t){"STOP_EVENT"!=t.message&&b()}))}),800)}()}(this),this.a.push(a)},e.ha=function(a){it(this.a,(function(b){return b==a})),0==this.a.length&&qh(this)},(e=zh.prototype).get=function(a){return this.b.then((function(b){return b.get(a)}))},e.set=function(a,b){return this.b.then((function(t){return t.set(a,b)}))},e.T=function(a){return this.b.then((function(b){return b.T(a)}))},e.ba=function(a){this.a.push(a)},e.ha=function(a){it(this.a,(function(b){return b==a}))},(e=Hh.prototype).get=function(a){return Ne(this.a[a])},e.set=function(a,b){return this.a[a]=b,Ne()},e.T=function(a){return delete this.a[a],Ne()},e.ba=function(){},e.ha=function(){},(e=Gh.prototype).get=function(a){var b=this;return Ne().then((function(){return Gi(b.a.getItem(a))}))},e.set=function(a,b){var t=this;return Ne().then((function(){var e=zi(b);null===e?t.T(a):t.a.setItem(a,e)}))},e.T=function(a){var b=this;return Ne().then((function(){b.a.removeItem(a)}))},e.ba=function(a){d.window&&gr(d.window,"storage",a)},e.ha=function(a){d.window&&td(d.window,"storage",a)},(e=$h.prototype).get=function(){return Ne(null)},e.set=function(){return Ne()},e.T=function(){return Ne()},e.ba=function(){},e.ha=function(){},(e=Wh.prototype).get=function(a){var b=this;return Ne().then((function(){return Gi(b.a.getItem(a))}))},e.set=function(a,b){var t=this;return Ne().then((function(){var e=zi(b);null===e?t.T(a):t.a.setItem(a,e)}))},e.T=function(a){var b=this;return Ne().then((function(){b.a.removeItem(a)}))},e.ba=function(){},e.ha=function(){};var Xh,Zh,Jh={F:Gh,$a:Wh},Qh={F:Gh,$a:Wh},tu={F:Sh,$a:$h},eu={F:Gh,$a:$h},ru={od:"local",NONE:"none",qd:"session"};function iu(){var a=!($i(Ni())||!Ai()),b=qi(),t=Di();this.m=a,this.h=b,this.l=t,this.a={},Xh||(Xh=new Kh),a=Xh;try{this.g=!gi()&&Zi()||!d.indexedDB?new a.a.F:new zh(Ti()?new Hh:new a.a.F)}catch(t){this.g=new Hh,this.h=!0}try{this.i=new a.a.$a}catch(t){this.i=new Hh}this.u=new Hh,this.f=q(this.Vb,this),this.b={}}function nu(){return Zh||(Zh=new iu),Zh}function ou(a,b){switch(b){case"session":return a.i;case"none":return a.u;default:return a.g}}function au(a,b){return"firebase:"+a.name+(b?":"+b:"")}function su(a,b,t){return t=au(b,t),"local"==b.F&&(a.b[t]=null),ou(a,b.F).T(t)}function hu(a){a.c&&(clearInterval(a.c),a.c=null)}function uu(a){this.a=a,this.b=nu()}(e=iu.prototype).get=function(a,b){return ou(this,a.F).get(au(a,b))},e.set=function(a,b,t){var e=au(a,t),r=this,n=ou(this,a.F);return n.set(e,b).then((function(){return n.get(e)})).then((function(g){"local"==a.F&&(r.b[e]=g)}))},e.addListener=function(a,b,t){a=au(a,b),this.l&&(this.b[a]=d.localStorage.getItem(a)),Mt(this.a)&&(ou(this,"local").ba(this.f),this.h||(gi()||!Zi())&&d.indexedDB||!this.l||function(a){hu(a),a.c=setInterval((function(){for(var b in a.a){var t=d.localStorage.getItem(b),e=a.b[b];t!=e&&(a.b[b]=t,t=new or({type:"storage",key:b,target:window,oldValue:e,newValue:t,a:!0}),a.Vb(t))}}),1e3)}(this)),this.a[a]||(this.a[a]=[]),this.a[a].push(t)},e.removeListener=function(a,b,t){a=au(a,b),this.a[a]&&(it(this.a[a],(function(e){return e==t})),0==this.a[a].length&&delete this.a[a]),Mt(this.a)&&(ou(this,"local").ha(this.f),hu(this))},e.Vb=function(a){if(a&&a.f){var b=a.a.key;if(null==b)for(var t in this.a){var e=this.b[t];void 0===e&&(e=null);var r=d.localStorage.getItem(t);r!==e&&(this.b[t]=r,this.ib(t))}else if(0==b.indexOf("firebase:")&&this.a[b]){if(void 0!==a.a.a?ou(this,"local").ha(this.f):hu(this),this.m)if(t=d.localStorage.getItem(b),(e=a.a.newValue)!==t)null!==e?d.localStorage.setItem(b,e):d.localStorage.removeItem(b);else if(this.b[b]===e&&void 0===a.a.a)return;var n=this;t=function(){void 0===a.a.a&&n.b[b]===d.localStorage.getItem(b)||(n.b[b]=d.localStorage.getItem(b),n.ib(b))},ee&&le&&10==le&&d.localStorage.getItem(b)!==a.a.newValue&&a.a.newValue!==a.a.oldValue?setTimeout(t,10):t()}}else X(a,q(this.ib,this))},e.ib=function(a){this.a[a]&&X(this.a[a],(function(b){b()}))};var lu,cu={name:"authEvent",F:"local"};function fu(){this.a=nu()}function du(a,b){this.b=pu,this.f=d.Uint8Array?new Uint8Array(this.b):Array(this.b),this.g=this.c=0,this.a=[],this.i=a,this.h=b,this.l=d.Int32Array?new Int32Array(64):Array(64),void 0===lu&&(lu=d.Int32Array?new Int32Array(wu):wu),this.reset()}I(du,(function(){this.b=-1}));for(var pu=64,dl=pu-1,mu=[],gu=0;gu<dl;gu++)mu[gu]=0;var vu=nt(128,mu);function bu(a){for(var b=a.f,t=a.l,e=0,r=0;r<b.length;)t[e++]=b[r]<<24|b[r+1]<<16|b[r+2]<<8|b[r+3],r=4*e;for(b=16;64>b;b++){r=0|t[b-15],e=0|t[b-2];var n=(0|t[b-16])+((r>>>7|r<<25)^(r>>>18|r<<14)^r>>>3)|0,g=(0|t[b-7])+((e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)|0;t[b]=n+g|0}e=0|a.a[0],r=0|a.a[1];var o=0|a.a[2],h=0|a.a[3],p=0|a.a[4],l=0|a.a[5],c=0|a.a[6];for(n=0|a.a[7],b=0;64>b;b++){var f=((e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10))+(e&r^e&o^r&o)|0;g=(n=n+((p>>>6|p<<26)^(p>>>11|p<<21)^(p>>>25|p<<7))|0)+((g=(g=p&l^~p&c)+(0|lu[b])|0)+(0|t[b])|0)|0,n=c,c=l,l=p,p=h+g|0,h=o,o=r,r=e,e=g+f|0}a.a[0]=a.a[0]+e|0,a.a[1]=a.a[1]+r|0,a.a[2]=a.a[2]+o|0,a.a[3]=a.a[3]+h|0,a.a[4]=a.a[4]+p|0,a.a[5]=a.a[5]+l|0,a.a[6]=a.a[6]+c|0,a.a[7]=a.a[7]+n|0}function yu(a,b,t){void 0===t&&(t=b.length);var e=0,r=a.c;if("string"==typeof b)for(;e<t;)a.f[r++]=b.charCodeAt(e++),r==a.b&&(bu(a),r=0);else{if(!_(b))throw Error("message must be string or array");for(;e<t;){var n=b[e++];if(!("number"==typeof n&&0<=n&&255>=n&&n==(0|n)))throw Error("message must be a byte array");a.f[r++]=n,r==a.b&&(bu(a),r=0)}}a.c=r,a.g+=t}du.prototype.reset=function(){this.g=this.c=0,this.a=d.Int32Array?new Int32Array(this.h):ot(this.h)};var wu=[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 _u(){du.call(this,8,Mu)}I(_u,du);var Mu=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];function Su(a,b,t,e,r){this.u=a,this.i=b,this.l=t,this.m=e||null,this.s=r||null,this.h=b+":"+t,this.w=new fu,this.g=new uu(this.h),this.f=null,this.b=[],this.a=this.c=null}function xu(a){return new P("invalid-cordova-configuration",a)}function ol(a){var b=new _u;yu(b,a),a=[];var t=8*b.g;56>b.c?yu(b,vu,56-b.c):yu(b,vu,b.b-(b.c-56));for(var e=63;56<=e;e--)b.f[e]=255&t,t/=256;for(bu(b),e=t=0;e<b.i;e++)for(var r=24;0<=r;r-=8)a[t++]=b.a[e]>>r&255;return function(a){return J(a,(function(b){return 1<(b=b.toString(16)).length?b:"0"+b})).join("")}(a)}function Eu(a,b){for(var t=0;t<a.b.length;t++)try{a.b[t](b)}catch(t){}}function Au(a){return a.f||(a.f=a.ka().then((function(){return new ke((function(b){a.Ca((function t(e){return b(e),a.Qa(t),!1})),function(a){function b(g){e=!0,r&&r.cancel(),Tu(a).then((function(e){var r=t;if(e&&g&&g.url){var p=null;-1!=(r=fo(g.url)).indexOf("/__/auth/callback")&&(p=(p="object"==typeof(p=Gi(Vr(p=$r(r),"firebaseError")||null))?R(p):null)?new Yo(e.c,e.b,null,null,p,null,e.S()):new Yo(e.c,e.b,r,e.f,null,null,e.S())),r=p||t}Eu(a,r)}))}var t=new Yo("unknown",null,null,null,new P("no-auth-event")),e=!1,r=Rr(500).then((function(){return Tu(a).then((function(){e||Eu(a,t)}))})),n=d.handleOpenURL;d.handleOpenURL=function(g){if(0==g.toLowerCase().indexOf(Li("BuildInfo.packageName",d).toLowerCase()+"://")&&b({url:g}),"function"==typeof n)try{n(g)}catch(t){console.error(t)}},Jo||(Jo=new Xo),function(a){var b=Jo;b.a.push(a),b.b||(b.b=function(t){for(var e=0;e<b.a.length;e++)b.a[e](t)},"function"==typeof(a=Li("universalLinks.subscribe",d))&&a(null,b.b))}(b)}(a)}))}))),a.f}function Tu(a){var b=null;return function(a){return a.b.get(cu,a.a).then((function(b){return Ko(b)}))}(a.g).then((function(t){return b=t,su((t=a.g).b,cu,t.a)})).then((function(){return b}))}function ul(a){this.a=a,this.b=nu()}(e=Su.prototype).ka=function(){return this.Ga?this.Ga:this.Ga=(Ei(void 0)?xi().then((function(){return new ke((function(a,b){var t=d.document,e=setTimeout((function(){b(Error("Cordova framework is not ready."))}),1e3);t.addEventListener("deviceready",(function(){clearTimeout(e),a()}),!1)}))})):Le(Error("Cordova must run in an Android or iOS file scheme."))).then((function(){if("function"!=typeof Li("universalLinks.subscribe",d))throw xu("cordova-universal-links-plugin-fix is not installed");if(void 0===Li("BuildInfo.packageName",d))throw xu("cordova-plugin-buildinfo is not installed");if("function"!=typeof Li("cordova.plugins.browsertab.openUrl",d))throw xu("cordova-plugin-browsertab is not installed");if("function"!=typeof Li("cordova.InAppBrowser.open",d))throw xu("cordova-plugin-inappbrowser is not installed")}),(function(){throw new P("cordova-not-ready")}))},e.Lb=function(a,b){return b(new P("operation-not-supported-in-this-environment")),Ne()},e.Jb=function(){return Le(new P("operation-not-supported-in-this-environment"))},e.Xb=function(){return!1},e.Ub=function(){return!0},e.Qb=function(){return!0},e.Kb=function(a,b,t,e){if(this.c)return Le(new P("redirect-operation-pending"));var r=this,n=d.document,g=null,o=null,h=null,p=null;return this.c=Ne().then((function(){return Wo(b),Au(r)})).then((function(){return function(a,b,t,e,r){var n=function(){for(var a=20,b=[];0<a;)b.push("1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(Math.floor(62*Math.random()))),a--;return b.join("")}(),g=new Yo(b,e,null,n,new P("no-auth-event"),null,r),o=Li("BuildInfo.packageName",d);if("string"!=typeof o)throw new P("invalid-cordova-configuration");var h=Li("BuildInfo.displayName",d),p={};if(Ni().toLowerCase().match(/iphone|ipad|ipod/))p.ibi=o;else{if(!Ni().toLowerCase().match(/android/))return Le(new P("operation-not-supported-in-this-environment"));p.apn=o}h&&(p.appDisplayName=h),n=ol(n),p.sessionId=n;var l=Mh(a.u,a.i,a.l,b,t,null,e,a.m,p,a.s,r);return a.ka().then((function(){var t=a.h;return a.w.a.set(cu,g.v(),t)})).then((function(){var t=Li("cordova.plugins.browsertab.isAvailable",d);if("function"!=typeof t)throw new P("invalid-cordova-configuration");var e=null;t((function(t){if(t){if("function"!=typeof(e=Li("cordova.plugins.browsertab.openUrl",d)))throw new P("invalid-cordova-configuration");e(l)}else{if("function"!=typeof(e=Li("cordova.InAppBrowser.open",d)))throw new P("invalid-cordova-configuration");t=Ni(),a.a=e(l,t.match(/(iPad|iPhone|iPod).*OS 7_\d/i)||t.match(/(iPad|iPhone|iPod).*OS 8_\d/i)?"_blank":"_system","location=yes")}}))}))}(r,a,b,t,e)})).then((function(){return new ke((function(t,e){o=function(){var e=Li("cordova.plugins.browsertab.close",d);return t(),"function"==typeof e&&e(),r.a&&"function"==typeof r.a.close&&(r.a.close(),r.a=null),!1},r.Ca(o),h=function(){g||(g=Rr(2e3).then((function(){e(new P("redirect-cancelled-by-user"))})))},p=function(){Ki()&&h()},n.addEventListener("resume",h,!1),Ni().toLowerCase().match(/android/)||n.addEventListener("visibilitychange",p,!1)})).o((function(t){return Tu(r).then((function(){throw t}))}))})).ma((function(){h&&n.removeEventListener("resume",h,!1),p&&n.removeEventListener("visibilitychange",p,!1),g&&g.cancel(),o&&r.Qa(o),r.c=null}))},e.Ca=function(a){this.b.push(a),Au(this).o((function(b){"auth/invalid-cordova-configuration"===b.code&&(b=new Yo("unknown",null,null,null,new P("no-auth-event")),a(b))}))},e.Qa=function(a){it(this.b,(function(b){return b==a}))};var ku={name:"pendingRedirect",F:"session"};function Cu(a){return su(a.b,ku,a.a)}function Ou(a,b,t){this.i={},this.w=0,this.D=a,this.u=b,this.m=t,this.h=[],this.f=!1,this.l=q(this.s,this),this.b=new Gu,this.B=new Ku,this.g=new ul(this.u+":"+this.m),this.c={},this.c.unknown=this.b,this.c.signInViaRedirect=this.b,this.c.linkViaRedirect=this.b,this.c.reauthViaRedirect=this.b,this.c.signInViaPopup=this.B,this.c.linkViaPopup=this.B,this.c.reauthViaPopup=this.B,this.a=Iu(this.D,this.u,this.m,j)}function Iu(a,b,t,e){var r=n.SDK_VERSION||null;return Ei()?new Su(a,b,t,r,e):new bh(a,b,t,r,e)}function Pu(a){a.f||(a.f=!0,a.a.Ca(a.l));var b=a.a;return a.a.ka().o((function(t){throw a.a==b&&a.reset(),t}))}function Ru(a){a.a.Ub()&&Pu(a).o((function(b){var t=new Yo("unknown",null,null,null,new P("operation-not-supported-in-this-environment"));Fu(b)&&a.s(t)})),a.a.Qb()||Vu(a.b)}function ju(a,b){tt(a.h,b)||a.h.push(b),a.f||function(a){return a.b.get(ku,a.a).then((function(b){return"pending"==b}))}(a.g).then((function(t){t?Cu(a.g).then((function(){Pu(a).o((function(t){var e=new Yo("unknown",null,null,null,new P("operation-not-supported-in-this-environment"));Fu(t)&&a.s(e)}))})):Ru(a)})).o((function(){Ru(a)}))}function Nu(a,b){it(a.h,(function(t){return t==b}))}Ou.prototype.reset=function(){this.f=!1,this.a.Qa(this.l),this.a=Iu(this.D,this.u,this.m),this.i={}},Ou.prototype.s=function(a){if(!a)throw new P("invalid-auth-event");if(6e5<=O()-this.w&&(this.i={},this.w=0),a&&a.getUid()&&this.i.hasOwnProperty(a.getUid()))return!1;for(var b=!1,t=0;t<this.h.length;t++){var e=this.h[t];if(e.Cb(a.c,a.b)){(b=this.c[a.c])&&(b.h(a,e),a&&(a.f||a.b)&&(this.i[a.getUid()]=!0,this.w=O())),b=!0;break}}return Vu(this.b),b};var Lu=new Yi(2e3,1e4),Du=new Yi(3e4,6e4);function Bu(a,b,t,e,r,n,g){return a.a.Jb(b,t,e,(function(){a.f||(a.f=!0,a.a.Ca(a.l))}),(function(){a.reset()}),r,n,g)}function Fu(a){return!(!a||"auth/cordova-not-ready"!=a.code)}function Uu(a,b,t,e,r){var n;return function(a){return a.b.set(ku,"pending",a.a)}(a.g).then((function(){return a.a.Kb(b,t,e,r).o((function(g){if(Fu(g))throw new P("operation-not-supported-in-this-environment");return n=g,Cu(a.g).then((function(){throw n}))})).then((function(){return a.a.Xb()?new ke((function(){})):Cu(a.g).then((function(){return a.pa()})).then((function(){})).o((function(){}))}))}))}function qu(a,b,t,e,r){return a.a.Lb(e,(function(e){b.la(t,null,e,r)}),Lu.get())}Ou.prototype.pa=function(){return this.b.pa()};var zu={};function Hu(a,b,t){var e=b+":"+t;return zu[e]||(zu[e]=new Ou(a,b,t)),zu[e]}function Gu(){this.b=null,this.f=[],this.c=[],this.a=null,this.i=this.g=!1}function Vu(a){a.g||(a.g=!0,Yu(a,!1,null,null))}function $u(a){a.g&&!a.i&&Yu(a,!1,null,null)}function Wu(a,b){if(a.b=function(){return Ne(b)},a.f.length)for(var t=0;t<a.f.length;t++)a.f[t](b)}function Yu(a,b,t,e){b?e?function(a,b){if(a.b=function(){return Le(b)},a.c.length)for(var t=0;t<a.c.length;t++)a.c[t](b)}(a,e):Wu(a,t):Wu(a,{user:null}),a.f=[],a.c=[]}function Ku(){}function Xu(){this.Bb=!1,Object.defineProperty(this,"appVerificationDisabled",{get:function(){return this.Bb},set:function(a){this.Bb=a},enumerable:!1})}function Zu(a,b){this.a=b,rn(this,"verificationId",a)}function Ju(a,b,t,e){return new Go(a).cb(b,t).then((function(t){return new Zu(t,e)}))}function Qu(a){var b=Jn(a);if(!(b&&b.exp&&b.auth_time&&b.iat))throw new P("internal-error","An internal error occurred. The token obtained by Firebase appears to be malformed. Please retry the operation.");nn(this,{token:a,expirationTime:Xi(1e3*b.exp),authTime:Xi(1e3*b.auth_time),issuedAtTime:Xi(1e3*b.iat),signInProvider:b.firebase&&b.firebase.sign_in_provider?b.firebase.sign_in_provider:null,signInSecondFactor:b.firebase&&b.firebase.sign_in_second_factor?b.firebase.sign_in_second_factor:null,claims:b})}function tl(a,b,t){var e=b&&b[rl];if(!e)throw new P("argument-error","Internal assert: Invalid MultiFactorResolver");this.a=a,this.f=St(b),this.g=t,this.c=new po(null,e),this.b=[];var r=this;X(b[el]||[],(function(t){(t=hn(t))&&r.b.push(t)})),rn(this,"auth",this.a),rn(this,"session",this.c),rn(this,"hints",this.b)}Gu.prototype.reset=function(){this.b=null,this.a&&(this.a.cancel(),this.a=null)},Gu.prototype.h=function(a,b){if(a){this.reset(),this.g=!0;var t=a.c,e=a.b,r=a.a&&"auth/web-storage-unsupported"==a.a.code,n=a.a&&"auth/operation-not-supported-in-this-environment"==a.a.code;this.i=!(!r&&!n),"unknown"!=t||r||n?a.a?(Yu(this,!0,null,a.a),Ne()):b.Da(t,e)?function(a,b,t){t=t.Da(b.c,b.b);var e=b.g,r=b.f,n=b.i,g=b.S(),o=!!b.c.match(/Redirect$/);t(e,r,g,n).then((function(t){Yu(a,o,t,null)})).o((function(t){Yu(a,o,null,t)}))}(this,a,b):Le(new P("invalid-auth-event")):(Yu(this,!1,null,null),Ne())}else Le(new P("invalid-auth-event"))},Gu.prototype.pa=function(){var a=this;return new ke((function(b,t){a.b?a.b().then(b,t):(a.f.push(b),a.c.push(t),function(a){var b=new P("timeout");a.a&&a.a.cancel(),a.a=Rr(Du.get()).then((function(){a.b||(a.g=!0,Yu(a,!0,null,b))}))}(a))}))},Ku.prototype.h=function(a,b){if(a){var t=a.c,e=a.b;a.a?(b.la(a.c,null,a.a,a.b),Ne()):b.Da(t,e)?function(a,b){var t=a.b,e=a.c;b.Da(e,t)(a.g,a.f,a.S(),a.i).then((function(r){b.la(e,r,null,t)})).o((function(r){b.la(e,null,r,t)}))}(a,b):Le(new P("invalid-auth-event"))}else Le(new P("invalid-auth-event"))},Zu.prototype.confirm=function(a){return a=Vo(this.verificationId,a),this.a(a)};var el="mfaInfo",rl="mfaPendingCredential";function il(a,b,t,e){P.call(this,"multi-factor-auth-required",e,b),this.b=new tl(a,b,t),rn(this,"resolver",this.b)}function em(a,b,t){if(a&&S(a.serverResponse)&&"auth/multi-factor-auth-required"===a.code)try{return new il(b,a.serverResponse,t,a.message)}catch(t){}return null}function nl(){}function al(a){rn(this,"factorId",a.ea),this.a=a}function sl(a){if(al.call(this,a),this.a.ea!=Go.PROVIDER_ID)throw new P("argument-error","firebase.auth.PhoneMultiFactorAssertion requires a valid firebase.auth.PhoneAuthCredential")}function hl(a,b){for(var t in nr.call(this,a),b)this[t]=b[t]}function ll(a,b){this.a=a,this.b=[],this.c=q(this.wc,this),gr(this.a,"userReloaded",this.c);var t=[];b&&b.multiFactor&&b.multiFactor.enrolledFactors&&X(b.multiFactor.enrolledFactors,(function(e){var r=null,n={};if(e){e.uid&&(n[cn]=e.uid),e.displayName&&(n[un]=e.displayName),e.enrollmentTime&&(n[ln]=new Date(e.enrollmentTime).toISOString()),e.phoneNumber&&(n[fn]=e.phoneNumber);try{r=new dn(n)}catch(t){}e=r}else e=null;e&&t.push(e)})),cl(this,t)}function cl(a,b){a.b=b,rn(a,"enrolledFactors",b)}function fl(a,b,t){if(this.h=a,this.i=b,this.g=t,this.c=3e4,this.f=96e4,this.b=null,this.a=this.c,this.f<this.c)throw Error("Proactive refresh lower bound greater than upper bound!")}function pl(a){this.c=a,this.b=this.a=null}function ml(a){return a.b&&1e3*a.b.c||0}function gl(a,b){var t=b.refreshToken;a.b=Zn(b[is]||""),a.a=t}function vl(a,b){return function(a,b){return new ke((function(t,e){"refresh_token"==b.grant_type&&b.refresh_token||"authorization_code"==b.grant_type&&b.code?ls(a,a.u+"?key="+encodeURIComponent(a.c),(function(r){r?r.error?e(uh(r)):r.access_token&&r.refresh_token?t(r):e(new P("internal-error")):e(new P("network-request-failed"))}),"POST",ni(b).toString(),a.g,a.m.get()):e(new P("internal-error"))}))}(a.c,b).then((function(t){return a.b=Zn(t.access_token),a.a=t.refresh_token,{accessToken:a.b.toString(),refreshToken:a.a}})).o((function(t){throw"auth/user-token-expired"==t.code&&(a.a=null),t}))}function bl(a,b){this.a=a||null,this.b=b||null,nn(this,{lastSignInTime:Xi(b||null),creationTime:Xi(a||null)})}function yl(a,b,t,e,r,n){nn(this,{uid:a,displayName:e||null,photoURL:r||null,email:t||null,phoneNumber:n||null,providerId:b})}function wl(a,b,t){this.N=[],this.l=a.apiKey,this.m=a.appName,this.s=a.authDomain||null,a=n.SDK_VERSION?ji(n.SDK_VERSION):null,this.a=new es(this.l,B(j),a),this.b=new pl(this.a),Tl(this,b[is]),gl(this.b,b),rn(this,"refreshToken",this.b.a),Ol(this,t||{}),kr.call(this),this.P=!1,this.s&&Bi()&&(this.i=Hu(this.s,this.l,this.m)),this.R=[],this.h=null,this.B=function(a){return new fl((function(){return a.I(!0)}),(function(b){return!(!b||"auth/network-request-failed"!=b.code)}),(function(){var b=ml(a.b)-O()-3e5;return 0<b?b:0}))}(this),this.Z=q(this.Ma,this);var e=this;this.oa=null,this.za=function(t){e.va(t.g)},this.aa=null,this.W=[],this.ya=function(t){Ml(e,t.c)},this.$=null,this.O=new ll(this,t),rn(this,"multiFactor",this.O)}function _l(a,b){a.aa&&td(a.aa,"languageCodeChanged",a.za),(a.aa=b)&&gr(b,"languageCodeChanged",a.za)}function Ml(a,b){a.W=b,us(a.a,n.SDK_VERSION?ji(n.SDK_VERSION,a.W):null)}function Sl(a,b){a.$&&td(a.$,"frameworkChanged",a.ya),(a.$=b)&&gr(b,"frameworkChanged",a.ya)}function xl(a){try{return n.app(a.m).auth()}catch(t){throw new P("internal-error","No firebase.auth.Auth instance is available for the Firebase App '"+a.m+"'!")}}function El(a){a.D||a.B.b||(a.B.start(),td(a,"tokenChanged",a.Z),gr(a,"tokenChanged",a.Z))}function Al(a){td(a,"tokenChanged",a.Z),a.B.stop()}function Tl(a,b){a.xa=b,rn(a,"_lat",b)}function kl(a){for(var b=[],t=0;t<a.R.length;t++)b.push(a.R[t](a));return Be(b).then((function(){return a}))}function Cl(a){a.i&&!a.P&&(a.P=!0,ju(a.i,a))}function Ol(a,b){nn(a,{uid:b.uid,displayName:b.displayName||null,photoURL:b.photoURL||null,email:b.email||null,emailVerified:b.emailVerified||!1,phoneNumber:b.phoneNumber||null,isAnonymous:b.isAnonymous||!1,tenantId:b.tenantId||null,metadata:new bl(b.createdAt,b.lastLoginAt),providerData:[]}),a.a.b=a.tenantId}function Il(){}function Pl(a){return Ne().then((function(){if(a.D)throw new P("app-deleted")}))}function Rl(a){return J(a.providerData,(function(b){return b.providerId}))}function jl(a,b){b&&(Nl(a,b.providerId),a.providerData.push(b))}function Nl(a,b){it(a.providerData,(function(t){return t.providerId==b}))}function Ll(a,b,t){("uid"!=b||t)&&a.hasOwnProperty(b)&&rn(a,b,t)}function Dl(a,b){a!=b&&(nn(a,{uid:b.uid,displayName:b.displayName,photoURL:b.photoURL,email:b.email,emailVerified:b.emailVerified,phoneNumber:b.phoneNumber,isAnonymous:b.isAnonymous,tenantId:b.tenantId,providerData:[]}),b.metadata?rn(a,"metadata",function(a){return new bl(a.a,a.b)}(b.metadata)):rn(a,"metadata",new bl),X(b.providerData,(function(t){jl(a,t)})),function(a,b){a.b=b.b,a.a=b.a}(a.b,b.b),rn(a,"refreshToken",a.b.a),cl(a.O,b.O.b))}function Bl(a){return a.I().then((function(b){var t=a.isAnonymous;return function(a,b){return sh(a.a,Ds,{idToken:b}).then(q(a.Ic,a))}(a,b).then((function(){return t||Ll(a,"isAnonymous",!1),b}))}))}function Fl(a,b){b[is]&&a.xa!=b[is]&&(gl(a.b,b),a.dispatchEvent(new hl("tokenChanged")),Tl(a,b[is]),Ll(a,"refreshToken",a.b.a))}function Ul(a,b){return Bl(a).then((function(){if(tt(Rl(a),b))return kl(a).then((function(){throw new P("provider-already-linked")}))}))}function ql(a,b,t){return on({user:a,credential:$o(b),additionalUserInfo:b=io(b),operationType:t})}function zl(a,b){return Fl(a,b),a.reload().then((function(){return a}))}function Hl(a,b,t,e,r){if(!Bi())return Le(new P("operation-not-supported-in-this-environment"));if(a.h&&!r)return Le(a.h);var o=ro(t.providerId),g=Vi(a.uid+":::"),h=null;(!qi()||Ai())&&a.s&&t.isOAuthProvider&&(h=Mh(a.s,a.l,a.m,b,t,null,g,n.SDK_VERSION||null,null,null,a.tenantId));var l=_i(h,o&&o.ta,o&&o.sa);return e=e().then((function(){if(Vl(a),!r)return a.I().then((function(){}))})).then((function(){return Bu(a.i,l,b,t,g,!!h,a.tenantId)})).then((function(){return new ke((function(p,t){a.la(b,null,new P("cancelled-popup-request"),a.g||null),a.f=p,a.w=t,a.g=g,a.c=qu(a.i,a,b,l,g)}))})).then((function(p){return l&&wi(l),p?on(p):null})).o((function(p){throw l&&wi(l),p})),$l(a,e,r)}function Gl(a,b,t,e,r){if(!Bi())return Le(new P("operation-not-supported-in-this-environment"));if(a.h&&!r)return Le(a.h);var n=null,g=Vi(a.uid+":::");return e=e().then((function(){if(Vl(a),!r)return a.I().then((function(){}))})).then((function(){return a.fa=g,kl(a)})).then((function(t){return a.ga&&(t=(t=a.ga).b.set(Kl,a.v(),t.a)),t})).then((function(){return Uu(a.i,b,t,g,a.tenantId)})).o((function(t){if(n=t,a.ga)return Xl(a.ga);throw n})).then((function(){if(n)throw n})),$l(a,e,r)}function Vl(a){if(!a.i||!a.P){if(a.i&&!a.P)throw new P("internal-error");throw new P("auth-domain-config-required")}}function $l(a,b,t){var e=function(a,b,t){return a.h&&!t?(b.cancel(),Le(a.h)):b.o((function(t){throw!t||"auth/user-disabled"!=t.code&&"auth/user-token-expired"!=t.code||(a.h||a.dispatchEvent(new hl("userInvalidated")),a.h=t),t}))}(a,b,t);return a.N.push(e),e.ma((function(){et(a.N,e)})),e.o((function(t){var e=null;throw t&&"auth/multi-factor-auth-required"===t.code&&(e=em(t.v(),xl(a),q(a.hc,a))),e||t}))}function Wl(a){if(!a.apiKey)return null;var b={apiKey:a.apiKey,authDomain:a.authDomain,appName:a.appName},t={};if(!a.stsTokenManager||!a.stsTokenManager.accessToken)return null;t[is]=a.stsTokenManager.accessToken,t.refreshToken=a.stsTokenManager.refreshToken||null;var e=new wl(b,t,a);return a.providerData&&X(a.providerData,(function(t){t&&jl(e,on(t))})),a.redirectEventId&&(e.fa=a.redirectEventId),e}function Yl(a){this.a=a,this.b=nu()}tl.prototype.Pc=function(a){var b=this;return a.ob(this.a.b,this.c).then((function(t){var e=St(b.f);return delete e[el],delete e[rl],Et(e,t),b.g(e)}))},I(il,P),nl.prototype.ob=function(a,b,t){return b.type==mo?function(a,b,t,e){return t.Fa().then((function(t){return t={idToken:t},void 0!==e&&(t.displayName=e),Et(t,{phoneVerificationInfo:Ho(a.a)}),sh(b,Ns,t)}))}(this,a,b,t):function(a,b,t){return t.Fa().then((function(t){return Et(t={mfaPendingCredential:t},{phoneVerificationInfo:Ho(a.a)}),sh(b,Ls,t)}))}(this,a,b)},I(al,nl),I(sl,al),I(hl,nr),(e=ll.prototype).wc=function(a){cl(this,function(a){var b=[];return X(a.mfaInfo||[],(function(t){(t=hn(t))&&b.push(t)})),b}(a.ed))},e.Ob=function(){return this.a.I().then((function(a){return new po(a,null)}))},e.dc=function(a,b){var t=this,e=this.a.a;return this.Ob().then((function(t){return a.ob(e,t,b)})).then((function(e){return Fl(t.a,e),t.a.reload()}))},e.$c=function(a){var b=this,t="string"==typeof a?a:a.uid,e=this.a.a;return this.a.I().then((function(r){return sh(e,ah,{idToken:r,mfaEnrollmentId:t})})).then((function(e){var r=Z(b.b,(function(g){return g.uid!=t}));return cl(b,r),Fl(b.a,e),b.a.reload().o((function(g){if("auth/user-token-expired"!=g.code)throw g}))}))},e.v=function(){return{multiFactor:{enrolledFactors:J(this.b,(function(a){return a.v()}))}}},fl.prototype.start=function(){this.a=this.c,function t(a,b){a.stop(),a.b=Rr(function(a,b){return b?(a.a=a.c,a.g()):(b=a.a,a.a*=2,a.a>a.f&&(a.a=a.f),b)}(a,b)).then((function(){return function(){var a=d.document,b=null;return Ki()||!a?Ne():new ke((function(t){b=function(){Ki()&&(a.removeEventListener("visibilitychange",b,!1),t())},a.addEventListener("visibilitychange",b,!1)})).o((function(t){throw a.removeEventListener("visibilitychange",b,!1),t}))}()})).then((function(){return a.h()})).then((function(){t(a,!0)})).o((function(e){a.i(e)&&t(a,!1)}))}(this,!0)},fl.prototype.stop=function(){this.b&&(this.b.cancel(),this.b=null)},pl.prototype.v=function(){return{apiKey:this.c.c,refreshToken:this.a,accessToken:this.b&&this.b.toString(),expirationTime:ml(this)}},pl.prototype.getToken=function(a){return a=!!a,this.b&&!this.a?Le(new P("user-token-expired")):a||!this.b||O()>ml(this)-3e4?this.a?vl(this,{grant_type:"refresh_token",refresh_token:this.a}):Ne(null):Ne({accessToken:this.b.toString(),refreshToken:this.a})},bl.prototype.v=function(){return{lastLoginAt:this.b,createdAt:this.a}},I(wl,kr),wl.prototype.va=function(a){this.oa=a,hs(this.a,a)},wl.prototype.ja=function(){return this.oa},wl.prototype.Ea=function(){return ot(this.W)},wl.prototype.Ma=function(){this.B.b&&(this.B.stop(),this.B.start())},rn(wl.prototype,"providerId","firebase"),(e=wl.prototype).reload=function(){var a=this;return $l(this,Pl(this).then((function(){return Bl(a).then((function(){return kl(a)})).then(Il)})))},e.mc=function(a){return this.I(a).then((function(b){return new Qu(b)}))},e.I=function(a){var b=this;return $l(this,Pl(this).then((function(){return b.b.getToken(a)})).then((function(t){if(!t)throw new P("internal-error");return t.accessToken!=b.xa&&(Tl(b,t.accessToken),b.dispatchEvent(new hl("tokenChanged"))),Ll(b,"refreshToken",t.refreshToken),t.accessToken})))},e.Ic=function(a){if(!(a=a.users)||!a.length)throw new P("internal-error");Ol(this,{uid:(a=a[0]).localId,displayName:a.displayName,photoURL:a.photoUrl,email:a.email,emailVerified:!!a.emailVerified,phoneNumber:a.phoneNumber,lastLoginAt:a.lastLoginAt,createdAt:a.createdAt,tenantId:a.tenantId});for(var b=function(a){return(a=a.providerUserInfo)&&a.length?J(a,(function(b){return new yl(b.rawId,b.providerId,b.email,b.displayName,b.photoUrl,b.phoneNumber)})):[]}(a),t=0;t<b.length;t++)jl(this,b[t]);Ll(this,"isAnonymous",!(this.email&&a.passwordHash||this.providerData&&this.providerData.length)),this.dispatchEvent(new hl("userReloaded",{ed:a}))},e.Jc=function(a){return tn("firebase.User.prototype.reauthenticateAndRetrieveDataWithCredential is deprecated. Please use firebase.User.prototype.reauthenticateWithCredential instead."),this.pb(a)},e.pb=function(a){var b=this,t=null;return $l(this,a.c(this.a,this.uid).then((function(e){return Fl(b,e),t=ql(b,e,"reauthenticate"),b.h=null,b.reload()})).then((function(){return t})),!0)},e.Ac=function(a){return tn("firebase.User.prototype.linkAndRetrieveDataWithCredential is deprecated. Please use firebase.User.prototype.linkWithCredential instead."),this.mb(a)},e.mb=function(a){var b=this,t=null;return $l(this,Ul(this,a.providerId).then((function(){return b.I()})).then((function(t){return a.b(b.a,t)})).then((function(e){return t=ql(b,e,"link"),zl(b,e)})).then((function(){return t})))},e.Bc=function(a,b){var t=this;return $l(this,Ul(this,"phone").then((function(){return Ju(xl(t),a,b,q(t.mb,t))})))},e.Kc=function(a,b){var t=this;return $l(this,Ne().then((function(){return Ju(xl(t),a,b,q(t.pb,t))})),!0)},e.xb=function(a){var b=this;return $l(this,this.I().then((function(t){return b.a.xb(t,a)})).then((function(t){return Fl(b,t),b.reload()})))},e.cd=function(a){var b=this;return $l(this,this.I().then((function(t){return a.b(b.a,t)})).then((function(t){return Fl(b,t),b.reload()})))},e.yb=function(a){var b=this;return $l(this,this.I().then((function(t){return b.a.yb(t,a)})).then((function(t){return Fl(b,t),b.reload()})))},e.zb=function(a){if(void 0===a.displayName&&void 0===a.photoURL)return Pl(this);var b=this;return $l(this,this.I().then((function(t){return b.a.zb(t,{displayName:a.displayName,photoUrl:a.photoURL})})).then((function(t){return Fl(b,t),Ll(b,"displayName",t.displayName||null),Ll(b,"photoURL",t.photoUrl||null),X(b.providerData,(function(t){"password"===t.providerId&&(rn(t,"displayName",b.displayName),rn(t,"photoURL",b.photoURL))})),kl(b)})).then(Il))},e.ad=function(a){var b=this;return $l(this,Bl(this).then((function(t){return tt(Rl(b),a)?function(a,b,t){return sh(a,Ps,{idToken:b,deleteProvider:t})}(b.a,t,[a]).then((function(t){var e={};return X(t.providerUserInfo||[],(function(t){e[t.providerId]=!0})),X(Rl(b),(function(t){e[t]||Nl(b,t)})),e[Go.PROVIDER_ID]||rn(b,"phoneNumber",null),kl(b)})):kl(b).then((function(){throw new P("no-such-provider")}))})))},e.delete=function(){var a=this;return $l(this,this.I().then((function(b){return sh(a.a,Is,{idToken:b})})).then((function(){a.dispatchEvent(new hl("userDeleted"))}))).then((function(){for(var b=0;b<a.N.length;b++)a.N[b].cancel("app-deleted");_l(a,null),Sl(a,null),a.N=[],a.D=!0,Al(a),rn(a,"refreshToken",null),a.i&&Nu(a.i,a)}))},e.Cb=function(a,b){return!!("linkViaPopup"==a&&(this.g||null)==b&&this.f||"reauthViaPopup"==a&&(this.g||null)==b&&this.f||"linkViaRedirect"==a&&(this.fa||null)==b||"reauthViaRedirect"==a&&(this.fa||null)==b)},e.la=function(a,b,t,e){"linkViaPopup"!=a&&"reauthViaPopup"!=a||e!=(this.g||null)||(t&&this.w?this.w(t):b&&!t&&this.f&&this.f(b),this.c&&(this.c.cancel(),this.c=null),delete this.f,delete this.w)},e.Da=function(a,b){return"linkViaPopup"==a&&b==(this.g||null)?q(this.Hb,this):"reauthViaPopup"==a&&b==(this.g||null)?q(this.Ib,this):"linkViaRedirect"==a&&(this.fa||null)==b?q(this.Hb,this):"reauthViaRedirect"==a&&(this.fa||null)==b?q(this.Ib,this):null},e.Cc=function(a){var b=this;return Hl(this,"linkViaPopup",a,(function(){return Ul(b,a.providerId).then((function(){return kl(b)}))}),!1)},e.Lc=function(a){return Hl(this,"reauthViaPopup",a,(function(){return Ne()}),!0)},e.Dc=function(a){var b=this;return Gl(this,"linkViaRedirect",a,(function(){return Ul(b,a.providerId)}),!1)},e.Mc=function(a){return Gl(this,"reauthViaRedirect",a,(function(){return Ne()}),!0)},e.Hb=function(a,b,t,e){var r=this;this.c&&(this.c.cancel(),this.c=null);var n=null;return $l(this,this.I().then((function(g){return xs(r.a,{requestUri:a,postBody:e,sessionId:b,idToken:g})})).then((function(g){return n=ql(r,g,"link"),zl(r,g)})).then((function(){return n})))},e.Ib=function(a,b,t,e){var r=this;this.c&&(this.c.cancel(),this.c=null);var n=null;return $l(this,Ne().then((function(){return bo(Es(r.a,{requestUri:a,sessionId:b,postBody:e,tenantId:t}),r.uid)})).then((function(t){return n=ql(r,t,"reauthenticate"),Fl(r,t),r.h=null,r.reload()})).then((function(){return n})),!0)},e.qb=function(a){var b=this,t=null;return $l(this,this.I().then((function(e){return t=e,void 0===a||Mt(a)?{}:Wn(new Dn(a))})).then((function(e){return b.a.qb(t,e)})).then((function(t){if(b.email!=t)return b.reload()})).then((function(){})))},e.Ab=function(a,b){var t=this,e=null;return $l(this,this.I().then((function(t){return e=t,void 0===b||Mt(b)?{}:Wn(new Dn(b))})).then((function(r){return t.a.Ab(e,a,r)})).then((function(e){if(t.email!=e)return t.reload()})).then((function(){})))},e.hc=function(a){var b=null,t=this;return $l(this,a=bo(Ne(a),t.uid).then((function(e){return b=ql(t,e,"reauthenticate"),Fl(t,e),t.h=null,t.reload()})).then((function(){return b})),!0)},e.toJSON=function(){return this.v()},e.v=function(){var a={uid:this.uid,displayName:this.displayName,photoURL:this.photoURL,email:this.email,emailVerified:this.emailVerified,phoneNumber:this.phoneNumber,isAnonymous:this.isAnonymous,tenantId:this.tenantId,providerData:[],apiKey:this.l,appName:this.m,authDomain:this.s,stsTokenManager:this.b.v(),redirectEventId:this.fa||null};return this.metadata&&Et(a,this.metadata.v()),X(this.providerData,(function(b){a.providerData.push(function(a){var t,b={};for(t in a)a.hasOwnProperty(t)&&(b[t]=a[t]);return b}(b))})),Et(a,this.O.v()),a};var Kl={name:"redirectUser",F:"session"};function Xl(a){return su(a.b,Kl,a.a)}function Zl(a){this.a=a,this.b=nu(),this.c=null,this.f=function(a){var b=tc("local"),t=tc("session"),e=tc("none");return function(a,b,t){var e=au(b,t),r=ou(a,b.F);return a.get(b,t).then((function(n){var g=null;try{g=Gi(d.localStorage.getItem(e))}catch(t){}if(g&&!n)return d.localStorage.removeItem(e),a.set(b,g,t);g&&n&&"localStorage"!=r.type&&d.localStorage.removeItem(e)}))}(a.b,b,a.a).then((function(){return a.b.get(t,a.a)})).then((function(r){return r?t:a.b.get(e,a.a).then((function(t){return t?e:a.b.get(b,a.a).then((function(g){return g?b:a.b.get(Ql,a.a).then((function(t){return t?tc(t):b}))}))}))})).then((function(t){return a.c=t,Jl(a,t.F)})).o((function(){a.c||(a.c=b)}))}(this),this.b.addListener(tc("local"),this.a,q(this.g,this))}function Jl(a,b){var t,e=[];for(t in ru)ru[t]!==b&&e.push(su(a.b,tc(ru[t]),a.a));return e.push(su(a.b,Ql,a.a)),function(a){return new ke((function(b,t){var e=a.length,r=[];if(e)for(var n=function(p,t){e--,r[p]=t,0==e&&b(r)},g=function(p){t(p)},o=0;o<a.length;o++)De(a[o],C(n,o),g);else b(r)}))}(e)}Zl.prototype.g=function(){var a=this,b=tc("local");nc(this,(function(){return Ne().then((function(){return a.c&&"local"!=a.c.F?a.b.get(b,a.a):null})).then((function(t){if(t)return Jl(a,"local").then((function(){a.c=b}))}))}))};var Ql={name:"persistence",F:"session"};function tc(a){return{name:"authUser",F:a}}function ec(a,b){return nc(a,(function(){return a.b.set(a.c,b.v(),a.a)}))}function rc(a){return nc(a,(function(){return su(a.b,a.c,a.a)}))}function ic(a,b){return nc(a,(function(){return a.b.get(a.c,a.a).then((function(t){return t&&b&&(t.authDomain=b),Wl(t||{})}))}))}function nc(a,b){return a.f=a.f.then(b,b),a.f}function oc(a){if(this.l=!1,rn(this,"settings",new Xu),rn(this,"app",a),!dc(this).options||!dc(this).options.apiKey)throw new P("invalid-api-key");a=n.SDK_VERSION?ji(n.SDK_VERSION):null,this.b=new es(dc(this).options&&dc(this).options.apiKey,B(j),a),this.P=[],this.m=[],this.O=[],this.$b=n.INTERNAL.createSubscribe(q(this.xc,this)),this.W=void 0,this.ac=n.INTERNAL.createSubscribe(q(this.yc,this)),cc(this,null),this.i=new Zl(dc(this).options.apiKey+":"+dc(this).name),this.B=new Yl(dc(this).options.apiKey+":"+dc(this).name),this.Z=vc(this,function(a){var b=dc(a).options.authDomain,t=function(a){var b=function(a,b){return a.b.get(Kl,a.a).then((function(t){return t&&b&&(t.authDomain=b),Wl(t||{})}))}(a.B,dc(a).options.authDomain).then((function(t){return(a.D=t)&&(t.ga=a.B),Xl(a.B)}));return vc(a,b)}(a).then((function(){return ic(a.i,b)})).then((function(t){return t?(t.ga=a.B,a.D&&(a.D.fa||null)==(t.fa||null)?t:t.reload().then((function(){return ec(a.i,t).then((function(){return t}))})).o((function(e){return"auth/network-request-failed"==e.code?t:rc(a.i)}))):null})).then((function(t){cc(a,t||null)}));return vc(a,t)}(this)),this.h=vc(this,function(a){return a.Z.then((function(){return uc(a)})).o((function(){})).then((function(){if(!a.l)return a.oa()})).o((function(){})).then((function(){if(!a.l){a.aa=!0;var b=a.i;b.b.addListener(tc("local"),b.a,a.oa)}}))}(this)),this.aa=!1,this.oa=q(this.Xc,this),this.Ma=q(this.ca,this),this.xa=q(this.jc,this),this.ya=q(this.uc,this),this.za=q(this.vc,this),this.a=null,function(a){var b=dc(a).options.authDomain,t=dc(a).options.apiKey;b&&Bi()&&(a.Zb=a.Z.then((function(){if(!a.l){if(a.a=Hu(b,t,dc(a).name),ju(a.a,a),pc(a)&&Cl(pc(a)),a.D){Cl(a.D);var e=a.D;e.va(a.ja()),_l(e,a),Ml(e=a.D,a.N),Sl(e,a),a.D=null}return a.a}})))}(this),this.INTERNAL={},this.INTERNAL.delete=q(this.delete,this),this.INTERNAL.logFramework=q(this.Ec,this),this.s=0,kr.call(this),function(a){Object.defineProperty(a,"lc",{get:function(){return this.ja()},set:function(b){this.va(b)},enumerable:!1}),a.$=null,Object.defineProperty(a,"ti",{get:function(){return this.S()},set:function(b){this.ub(b)},enumerable:!1}),a.R=null}(this),this.N=[]}function ac(a){nr.call(this,"languageCodeChanged"),this.g=a}function sc(a){nr.call(this,"frameworkChanged"),this.c=a}function hc(a){return a.Zb||Le(new P("auth-domain-config-required"))}function uc(a){if(!Bi())return Le(new P("operation-not-supported-in-this-environment"));var b=hc(a).then((function(){return a.a.pa()})).then((function(t){return t?on(t):null}));return vc(a,b)}function lc(a,b){var t={};return t.apiKey=dc(a).options.apiKey,t.authDomain=dc(a).options.authDomain,t.appName=dc(a).name,a.Z.then((function(){return function(a,b,t,e){var r=new wl(a,b);return t&&(r.ga=t),e&&Ml(r,e),r.reload().then((function(){return r}))}(t,b,a.B,a.Ea())})).then((function(t){return pc(a)&&t.uid==pc(a).uid?(Dl(pc(a),t),a.ca(t)):(cc(a,t),Cl(t),a.ca(t))})).then((function(){gc(a)}))}function cc(a,b){pc(a)&&(function(a,b){it(a.R,(function(t){return t==b}))}(pc(a),a.Ma),td(pc(a),"tokenChanged",a.xa),td(pc(a),"userDeleted",a.ya),td(pc(a),"userInvalidated",a.za),Al(pc(a))),b&&(b.R.push(a.Ma),gr(b,"tokenChanged",a.xa),gr(b,"userDeleted",a.ya),gr(b,"userInvalidated",a.za),0<a.s&&El(b)),rn(a,"currentUser",b),b&&(b.va(a.ja()),_l(b,a),Ml(b,a.N),Sl(b,a))}function fc(a,b){var t=null,e=null;return vc(a,b.then((function(r){return t=$o(r),e=io(r),lc(a,r)}),(function(t){var e=null;throw t&&"auth/multi-factor-auth-required"===t.code&&(e=em(t.v(),a,q(a.ic,a))),e||t})).then((function(){return on({user:pc(a),credential:t,additionalUserInfo:e,operationType:"signIn"})})))}function dc(a){return a.app}function pc(a){return a.currentUser}function mc(a){return pc(a)&&pc(a)._lat||null}function gc(a){if(a.aa){for(var b=0;b<a.m.length;b++)a.m[b]&&a.m[b](mc(a));if(a.W!==a.getUid()&&a.O.length)for(a.W=a.getUid(),b=0;b<a.O.length;b++)a.O[b]&&a.O[b](mc(a))}}function vc(a,b){return a.P.push(b),b.ma((function(){et(a.P,b)})),b}function bc(){}function yc(){this.a={},this.b=1e12}Zl.prototype.tb=function(a){var b=null,t=this;return function(a){var b=new P("invalid-persistence-type"),t=new P("unsupported-persistence-type");t:{for(e in ru)if(ru[e]==a){var e=!0;break t}e=!1}if(!e||"string"!=typeof a)throw b;switch(ki()){case"ReactNative":if("session"===a)throw t;break;case"Node":if("none"!==a)throw t;break;case"Worker":if("session"===a||!Nh()&&"none"!==a)throw t;break;default:if(!Di()&&"none"!==a)throw t}}(a),nc(this,(function(){return a!=t.c.F?t.b.get(t.c,t.a).then((function(e){return b=e,Jl(t,a)})).then((function(){if(t.c=tc(a),b)return t.b.set(t.c,b,t.a)})):Ne()}))},I(oc,kr),I(ac,nr),I(sc,nr),(e=oc.prototype).tb=function(a){return vc(this,a=this.i.tb(a))},e.va=function(a){this.$===a||this.l||(this.$=a,hs(this.b,this.$),this.dispatchEvent(new ac(this.ja())))},e.ja=function(){return this.$},e.dd=function(){var a=d.navigator;this.va(a&&(a.languages&&a.languages[0]||a.language||a.userLanguage)||null)},e.Ec=function(a){this.N.push(a),us(this.b,n.SDK_VERSION?ji(n.SDK_VERSION,this.N):null),this.dispatchEvent(new sc(this.N))},e.Ea=function(){return ot(this.N)},e.ub=function(a){this.R===a||this.l||(this.R=a,this.b.b=this.R)},e.S=function(){return this.R},e.toJSON=function(){return{apiKey:dc(this).options.apiKey,authDomain:dc(this).options.authDomain,appName:dc(this).name,currentUser:pc(this)&&pc(this).v()}},e.Cb=function(a,b){switch(a){case"unknown":case"signInViaRedirect":return!0;case"signInViaPopup":return this.g==b&&!!this.f;default:return!1}},e.la=function(a,b,t,e){"signInViaPopup"==a&&this.g==e&&(t&&this.w?this.w(t):b&&!t&&this.f&&this.f(b),this.c&&(this.c.cancel(),this.c=null),delete this.f,delete this.w)},e.Da=function(a,b){return"signInViaRedirect"==a||"signInViaPopup"==a&&this.g==b&&this.f?q(this.gc,this):null},e.gc=function(a,b,t,e){var r=this,n={requestUri:a,postBody:e,sessionId:b,tenantId:t};return this.c&&(this.c.cancel(),this.c=null),r.Z.then((function(){return fc(r,Ss(r.b,n))}))},e.Vc=function(a){if(!Bi())return Le(new P("operation-not-supported-in-this-environment"));var b=this,t=ro(a.providerId),e=Vi(),r=null;(!qi()||Ai())&&dc(this).options.authDomain&&a.isOAuthProvider&&(r=Mh(dc(this).options.authDomain,dc(this).options.apiKey,dc(this).name,"signInViaPopup",a,null,e,n.SDK_VERSION||null,null,null,this.S()));var o=_i(r,t&&t.ta,t&&t.sa);return vc(this,t=hc(this).then((function(g){return Bu(g,o,"signInViaPopup",a,e,!!r,b.S())})).then((function(){return new ke((function(g,t){b.la("signInViaPopup",null,new P("cancelled-popup-request"),b.g),b.f=g,b.w=t,b.g=e,b.c=qu(b.a,b,"signInViaPopup",o,e)}))})).then((function(g){return o&&wi(o),g?on(g):null})).o((function(g){throw o&&wi(o),g})))},e.Wc=function(a){if(!Bi())return Le(new P("operation-not-supported-in-this-environment"));var b=this;return vc(this,hc(this).then((function(){return function(a){return nc(a,(function(){return a.b.set(Ql,a.c.F,a.a)}))}(b.i)})).then((function(){return Uu(b.a,"signInViaRedirect",a,void 0,b.S())})))},e.pa=function(){var a=this;return uc(this).then((function(b){return a.a&&$u(a.a.b),b})).o((function(b){throw a.a&&$u(a.a.b),b}))},e.bd=function(a){if(!a)return Le(new P("null-user"));if(this.R!=a.tenantId)return Le(new P("tenant-id-mismatch"));var b=this,t={};t.apiKey=dc(this).options.apiKey,t.authDomain=dc(this).options.authDomain,t.appName=dc(this).name;var e=function(a,b,t,e){var r=a.b,n={};return n[is]=r.b&&r.b.toString(),n.refreshToken=r.a,b=new wl(b||{apiKey:a.l,authDomain:a.s,appName:a.m},n),t&&(b.ga=t),e&&Ml(b,e),Dl(b,a),b}(a,t,b.B,b.Ea());return vc(this,this.h.then((function(){if(dc(b).options.apiKey!=a.l)return e.reload()})).then((function(){return pc(b)&&a.uid==pc(b).uid?(Dl(pc(b),a),b.ca(a)):(cc(b,e),Cl(e),b.ca(e))})).then((function(){gc(b)})))},e.wb=function(){var a=this;return vc(this,this.h.then((function(){return a.a&&$u(a.a.b),pc(a)?(cc(a,null),rc(a.i).then((function(){gc(a)}))):Ne()})))},e.Xc=function(){var a=this;return ic(this.i,dc(this).options.authDomain).then((function(b){if(!a.l){var t;if(t=pc(a)&&b){t=pc(a).uid;var e=b.uid;t=null!=t&&""!==t&&null!=e&&""!==e&&t==e}if(t)return Dl(pc(a),b),pc(a).I();(pc(a)||b)&&(cc(a,b),b&&(Cl(b),b.ga=a.B),a.a&&ju(a.a,a),gc(a))}}))},e.ca=function(a){return ec(this.i,a)},e.jc=function(){gc(this),this.ca(pc(this))},e.uc=function(){this.wb()},e.vc=function(){this.wb()},e.ic=function(a){var b=this;return this.h.then((function(){return fc(b,Ne(a))}))},e.xc=function(a){var b=this;this.addAuthTokenListener((function(){a.next(pc(b))}))},e.yc=function(a){var b=this;!function(a,b){a.O.push(b),vc(a,a.h.then((function(){!a.l&&tt(a.O,b)&&a.W!==a.getUid()&&(a.W=a.getUid(),b(mc(a)))})))}(this,(function(){a.next(pc(b))}))},e.Gc=function(a,b,t){var e=this;return this.aa&&Promise.resolve().then((function(){"function"==typeof a?a(pc(e)):"function"==typeof a.next&&a.next(pc(e))})),this.$b(a,b,t)},e.Fc=function(a,b,t){var e=this;return this.aa&&Promise.resolve().then((function(){e.W=e.getUid(),"function"==typeof a?a(pc(e)):"function"==typeof a.next&&a.next(pc(e))})),this.ac(a,b,t)},e.kc=function(a){var b=this;return vc(this,this.h.then((function(){return pc(b)?pc(b).I(a).then((function(t){return{accessToken:t}})):null})))},e.Rc=function(a){var b=this;return this.h.then((function(){return fc(b,sh(b.b,eh,{token:a}))})).then((function(t){var e=t.user;return Ll(e,"isAnonymous",!1),b.ca(e),t}))},e.Sc=function(a,b){var t=this;return this.h.then((function(){return fc(t,sh(t.b,rh,{email:a,password:b}))}))},e.cc=function(a,b){var t=this;return this.h.then((function(){return fc(t,sh(t.b,Cs,{email:a,password:b}))}))},e.Ya=function(a){var b=this;return this.h.then((function(){return fc(b,a.ia(b.b))}))},e.Qc=function(a){return tn("firebase.auth.Auth.prototype.signInAndRetrieveDataWithCredential is deprecated. Please use firebase.auth.Auth.prototype.signInWithCredential instead."),this.Ya(a)},e.vb=function(){var a=this;return this.h.then((function(){var b=pc(a);if(b&&b.isAnonymous){var t=on({providerId:null,isNewUser:!1});return on({user:b,credential:null,additionalUserInfo:t,operationType:"signIn"})}return fc(a,a.b.vb()).then((function(t){var e=t.user;return Ll(e,"isAnonymous",!0),a.ca(e),t}))}))},e.getUid=function(){return pc(this)&&pc(this).uid||null},e.bc=function(a){this.addAuthTokenListener(a),this.s++,0<this.s&&pc(this)&&El(pc(this))},e.Nc=function(a){var b=this;X(this.m,(function(t){t==a&&b.s--})),0>this.s&&(this.s=0),0==this.s&&pc(this)&&Al(pc(this)),this.removeAuthTokenListener(a)},e.addAuthTokenListener=function(a){var b=this;this.m.push(a),vc(this,this.h.then((function(){b.l||tt(b.m,a)&&a(mc(b))})))},e.removeAuthTokenListener=function(a){it(this.m,(function(b){return b==a}))},e.delete=function(){this.l=!0;for(var a=0;a<this.P.length;a++)this.P[a].cancel("app-deleted");return this.P=[],this.i&&(a=this.i).b.removeListener(tc("local"),a.a,this.oa),this.a&&(Nu(this.a,this),$u(this.a.b)),Promise.resolve()},e.fc=function(a){return vc(this,function(a,b){return sh(a,Os,{identifier:b,continueUri:Fi()?vi():"http://localhost"}).then((function(t){return t.signinMethods||[]}))}(this.b,a))},e.zc=function(a){return!!Uo(a)},e.sb=function(a,b){var t=this;return vc(this,Ne().then((function(){var t=new Dn(b);if(!t.c)throw new P("argument-error",Un+" must be true when sending sign in link to email");return Wn(t)})).then((function(e){return t.b.sb(a,e)})).then((function(){})))},e.fd=function(a){return this.Pa(a).then((function(b){return b.data.email}))},e.jb=function(a,b){return vc(this,this.b.jb(a,b).then((function(){})))},e.Pa=function(a){return vc(this,this.b.Pa(a).then((function(b){return new pn(b)})))},e.fb=function(a){return vc(this,this.b.fb(a).then((function(){})))},e.rb=function(a,b){var t=this;return vc(this,Ne().then((function(){return void 0===b||Mt(b)?{}:Wn(new Dn(b))})).then((function(e){return t.b.rb(a,e)})).then((function(){})))},e.Uc=function(a,b){return vc(this,Ju(this,a,b,q(this.Ya,this)))},e.Tc=function(a,b){var t=this;return vc(this,Ne().then((function(){var e=b||vi(),r=Fo(a,e);if(!(e=Uo(e)))throw new P("argument-error","Invalid email link!");if(e.tenantId!==t.S())throw new P("tenant-id-mismatch");return t.Ya(r)})))},bc.prototype.render=function(){},bc.prototype.reset=function(){},bc.prototype.getResponse=function(){},bc.prototype.execute=function(){};var wc=null;function _c(a,b){return(b=Mc(b))&&a.a[b]||null}function Mc(a){return(a=void 0===a?1e12:a)?a.toString():null}function Sc(a,b){this.g=!1,this.c=b,this.a=this.b=null,this.h="invisible"!==this.c.size,this.f=pe(a);var t=this;this.i=function(){t.execute()},this.h?this.execute():gr(this.f,"click",this.i)}function xc(a){if(a.g)throw Error("reCAPTCHA mock was already deleted!")}function Ec(){}function Ac(){}yc.prototype.render=function(a,b){return this.a[this.b.toString()]=new Sc(a,b),this.b++},yc.prototype.reset=function(a){var b=_c(this,a);a=Mc(a),b&&a&&(b.delete(),delete this.a[a])},yc.prototype.getResponse=function(a){return(a=_c(this,a))?a.getResponse():null},yc.prototype.execute=function(a){(a=_c(this,a))&&a.execute()},Sc.prototype.getResponse=function(){return xc(this),this.b},Sc.prototype.execute=function(){xc(this);var a=this;this.a||(this.a=setTimeout((function(){a.b=function(){for(var a=50,b=[];0<a;)b.push("1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".charAt(Math.floor(62*Math.random()))),a--;return b.join("")}();var b=a.c.callback,t=a.c["expired-callback"];if(b)try{b(a.b)}catch(t){}a.a=setTimeout((function(){if(a.a=null,a.b=null,t)try{t()}catch(t){}a.h&&a.execute()}),6e4)}),500))},Sc.prototype.delete=function(){xc(this),this.g=!0,clearTimeout(this.a),this.a=null,td(this.f,"click",this.i)},rn(Ec,"FACTOR_ID","phone"),Ac.prototype.g=function(){return wc||(wc=new yc),Ne(wc)},Ac.prototype.c=function(){};var Tc=null;function kc(){this.b=d.grecaptcha?1/0:0,this.f=null,this.a="__rcb"+Math.floor(1e6*Math.random()).toString()}var Cc=new Tt(Ot,"https://www.google.com/recaptcha/api.js?onload=%{onload}&render=explicit&hl=%{hl}"),Oc=new Yi(3e4,6e4);kc.prototype.g=function(a){var b=this;return new ke((function(t,e){var r=setTimeout((function(){e(new P("network-request-failed"))}),Oc.get());!d.grecaptcha||a!==b.f&&!b.b?(d[b.a]=function(){if(d.grecaptcha){b.f=a;var g=d.grecaptcha.render;d.grecaptcha.render=function(t,e){return t=g(t,e),b.b++,t},clearTimeout(r),t(d.grecaptcha)}else clearTimeout(r),e(new P("internal-error"));delete d[b.a]},Ne(Ya(jt(Cc,{onload:b.a,hl:a||""}))).o((function(){clearTimeout(r),e(new P("internal-error","Unable to load external reCAPTCHA dependencies!"))}))):(clearTimeout(r),t(d.grecaptcha))}))},kc.prototype.c=function(){this.b--};var Ic=null;function Pc(a,b,t,e,r,n,g){if(rn(this,"type","recaptcha"),this.c=this.f=null,this.D=!1,this.u=b,this.g=null,g?(Tc||(Tc=new Ac),g=Tc):(Ic||(Ic=new kc),g=Ic),this.m=g,this.a=t||{theme:"light",type:"image"},this.h=[],this.a[Nc])throw new P("argument-error","sitekey should not be provided for reCAPTCHA as one is automatically provisioned for the current project.");if(this.i="invisible"===this.a[Lc],!d.document)throw new P("operation-not-supported-in-this-environment","RecaptchaVerifier is only supported in a browser HTTP/HTTPS environment with DOM support.");if(!pe(b)||!this.i&&pe(b).hasChildNodes())throw new P("argument-error","reCAPTCHA container is either not found or already contains inner elements!");this.s=new es(a,n||null,r||null),this.w=e||function(){return null};var o=this;this.l=[];var h=this.a[Rc];this.a[Rc]=function(t){if(Dc(o,t),"function"==typeof h)h(t);else if("string"==typeof h){var e=Li(h,d);"function"==typeof e&&e(t)}};var p=this.a[jc];this.a[jc]=function(){if(Dc(o,null),"function"==typeof p)p();else if("string"==typeof p){var t=Li(p,d);"function"==typeof t&&t()}}}var Rc="callback",jc="expired-callback",Nc="sitekey",Lc="size";function Dc(a,b){for(var t=0;t<a.l.length;t++)try{a.l[t](b)}catch(t){}}function Bc(a,b){return a.h.push(b),b.ma((function(){et(a.h,b)})),b}function Fc(a){if(a.D)throw new P("internal-error","RecaptchaVerifier instance has been destroyed.")}function Uc(a,b,t){var e=!1;try{this.b=t||n.app()}catch(t){throw new P("argument-error","No firebase.app.App instance is currently initialized.")}if(!this.b.options||!this.b.options.apiKey)throw new P("invalid-api-key");t=this.b.options.apiKey;var r=this,o=null;try{o=this.b.auth().Ea()}catch(t){}try{e=this.b.auth().settings.appVerificationDisabledForTesting}catch(t){}o=n.SDK_VERSION?ji(n.SDK_VERSION,o):null,Pc.call(this,t,a,b,(function(){try{var g=r.b.auth().ja()}catch(t){g=null}return g}),o,B(j),e)}function qc(a,b,t,e){t:{t=Array.prototype.slice.call(t);for(var r=0,n=!1,g=0;g<b.length;g++)if(b[g].optional)n=!0;else{if(n)throw new P("internal-error","Argument validator encountered a required argument after an optional argument.");r++}if(n=b.length,t.length<r||n<t.length)e="Expected "+(r==n?1==r?"1 argument":r+" arguments":r+"-"+n+" arguments")+" but got "+t.length+".";else{for(r=0;r<t.length;r++)if(n=b[r].optional&&void 0===t[r],!b[r].K(t[r])&&!n){if(b=b[r],0>r||r>=zc.length)throw new P("internal-error","Argument validator received an unsupported number of arguments.");t=zc[r],e=(e?"":t+" argument ")+(b.name?'"'+b.name+'" ':"")+"must be "+b.J+".";break t}e=null}}if(e)throw new P("argument-error",a+" failed: "+e)}(e=Pc.prototype).Ga=function(){var a=this;return this.f?this.f:this.f=Bc(this,Ne().then((function(){if(Fi()&&!Ti())return xi();throw new P("operation-not-supported-in-this-environment","RecaptchaVerifier is only supported in a browser HTTP/HTTPS environment.")})).then((function(){return a.m.g(a.w())})).then((function(b){return a.g=b,sh(a.s,Hs,{})})).then((function(b){a.a[Nc]=b.recaptchaSiteKey})).o((function(b){throw a.f=null,b})))},e.render=function(){Fc(this);var a=this;return Bc(this,this.Ga().then((function(){if(null===a.c){var b=a.u;if(!a.i){var t=pe(b);b=function(a,b,t){var e=arguments,r=document,n=String(e[0]),g=e[1];if(!de&&g&&(g.name||g.type)){if(n=["<",n],g.name&&n.push(' name="',Zt(g.name),'"'),g.type){n.push(' type="',Zt(g.type),'"');var o={};Et(o,g),delete o.type,g=o}n.push(">"),n=n.join("")}return n=we(r,n),g&&("string"==typeof g?n.className=g:Array.isArray(g)?n.className=g.join(" "):me(n,g)),2<e.length&&ye(r,n,e),n}("DIV"),t.appendChild(b)}a.c=a.g.render(b,a.a)}return a.c})))},e.verify=function(){Fc(this);var a=this;return Bc(this,this.render().then((function(b){return new ke((function(t){var e=a.g.getResponse(b);if(e)t(e);else{var r=function(e){e&&(function(a,b){it(a.l,(function(t){return t==b}))}(a,r),t(e))};a.l.push(r),a.i&&a.g.execute(a.c)}}))})))},e.reset=function(){Fc(this),null!==this.c&&this.g.reset(this.c)},e.clear=function(){Fc(this),this.D=!0,this.m.c();for(var a=0;a<this.h.length;a++)this.h[a].cancel("RecaptchaVerifier instance has been destroyed.");if(!this.i){a=pe(this.u);for(var b;b=a.firstChild;)a.removeChild(b)}},I(Uc,Pc);var zc="First Second Third Fourth Fifth Sixth Seventh Eighth Ninth".split(" ");function Hc(a,b){return{name:a||"",J:"a valid string",optional:!!b,K:function(t){return"string"==typeof t}}}function Gc(a,b){return{name:a||"",J:"a boolean",optional:!!b,K:function(t){return"boolean"==typeof t}}}function Vc(a,b){return{name:a||"",J:"a valid object",optional:!!b,K:S}}function $c(a,b){return{name:a||"",J:"a function",optional:!!b,K:function(t){return"function"==typeof t}}}function Wc(a,b){return{name:a||"",J:"null",optional:!!b,K:function(t){return null===t}}}function Yc(a){return{name:a?a+"Credential":"credential",J:a?"a valid "+a+" credential":"a valid credential",optional:!1,K:function(b){if(!b)return!1;var t=!a||b.providerId===a;return!(!b.ia||!t)}}}function Kc(a,b){return S(a)&&"string"==typeof a.type&&a.type===b&&"function"==typeof a.Fa}function Xc(a){return S(a)&&"string"==typeof a.uid}function Zc(a,b,t,e){return{name:t||"",J:a.J+" or "+b.J,optional:!!e,K:function(t){return a.K(t)||b.K(t)}}}function Jc(a,b){for(var t in b){var e=b[t].name;a[e]=ef(e,a[t],b[t].j)}}function Qc(a,b){for(var t in b){var e=b[t].name;e!==t&&Object.defineProperty(a,e,{get:C((function(t){return this[t]}),t),set:C((function(t,e,g,r){qc(t,[g],[r],!0),this[e]=r}),e,t,b[t].gb),enumerable:!0})}}function tf(a,b,t,e){a[b]=ef(b,t,e)}function ef(a,b,t){function e(){var g=Array.prototype.slice.call(arguments);return qc(n,t,g),b.apply(this,g)}if(!t)return b;var r,n=function(a){return(a=a.split("."))[a.length-1]}(a);for(r in b)e[r]=b[r];for(r in b.prototype)e.prototype[r]=b.prototype[r];return e}Jc(oc.prototype,{fb:{name:"applyActionCode",j:[Hc("code")]},Pa:{name:"checkActionCode",j:[Hc("code")]},jb:{name:"confirmPasswordReset",j:[Hc("code"),Hc("newPassword")]},cc:{name:"createUserWithEmailAndPassword",j:[Hc("email"),Hc("password")]},fc:{name:"fetchSignInMethodsForEmail",j:[Hc("email")]},pa:{name:"getRedirectResult",j:[]},zc:{name:"isSignInWithEmailLink",j:[Hc("emailLink")]},Fc:{name:"onAuthStateChanged",j:[Zc(Vc(),$c(),"nextOrObserver"),$c("opt_error",!0),$c("opt_completed",!0)]},Gc:{name:"onIdTokenChanged",j:[Zc(Vc(),$c(),"nextOrObserver"),$c("opt_error",!0),$c("opt_completed",!0)]},rb:{name:"sendPasswordResetEmail",j:[Hc("email"),Zc(Vc("opt_actionCodeSettings",!0),Wc(null,!0),"opt_actionCodeSettings",!0)]},sb:{name:"sendSignInLinkToEmail",j:[Hc("email"),Vc("actionCodeSettings")]},tb:{name:"setPersistence",j:[Hc("persistence")]},Qc:{name:"signInAndRetrieveDataWithCredential",j:[Yc()]},vb:{name:"signInAnonymously",j:[]},Ya:{name:"signInWithCredential",j:[Yc()]},Rc:{name:"signInWithCustomToken",j:[Hc("token")]},Sc:{name:"signInWithEmailAndPassword",j:[Hc("email"),Hc("password")]},Tc:{name:"signInWithEmailLink",j:[Hc("email"),Hc("emailLink",!0)]},Uc:{name:"signInWithPhoneNumber",j:[Hc("phoneNumber"),{name:"applicationVerifier",J:"an implementation of firebase.auth.ApplicationVerifier",optional:!1,K:function(a){return!(!a||"string"!=typeof a.type||"function"!=typeof a.verify)}}]},Vc:{name:"signInWithPopup",j:[{name:"authProvider",J:"a valid Auth provider",optional:!1,K:function(a){return!!(a&&a.providerId&&a.hasOwnProperty&&a.hasOwnProperty("isOAuthProvider"))}}]},Wc:{name:"signInWithRedirect",j:[{name:"authProvider",J:"a valid Auth provider",optional:!1,K:function(a){return!!(a&&a.providerId&&a.hasOwnProperty&&a.hasOwnProperty("isOAuthProvider"))}}]},bd:{name:"updateCurrentUser",j:[Zc({name:"user",J:"an instance of Firebase User",optional:!1,K:function(b){return!!(b&&b instanceof wl)}},Wc(),"user")]},wb:{name:"signOut",j:[]},toJSON:{name:"toJSON",j:[Hc(null,!0)]},dd:{name:"useDeviceLanguage",j:[]},fd:{name:"verifyPasswordResetCode",j:[Hc("code")]}}),Qc(oc.prototype,{lc:{name:"languageCode",gb:Zc(Hc(),Wc(),"languageCode")},ti:{name:"tenantId",gb:Zc(Hc(),Wc(),"tenantId")}}),oc.Persistence=ru,oc.Persistence.LOCAL="local",oc.Persistence.SESSION="session",oc.Persistence.NONE="none",Jc(wl.prototype,{delete:{name:"delete",j:[]},mc:{name:"getIdTokenResult",j:[Gc("opt_forceRefresh",!0)]},I:{name:"getIdToken",j:[Gc("opt_forceRefresh",!0)]},Ac:{name:"linkAndRetrieveDataWithCredential",j:[Yc()]},mb:{name:"linkWithCredential",j:[Yc()]},Bc:{name:"linkWithPhoneNumber",j:[Hc("phoneNumber"),{name:"applicationVerifier",J:"an implementation of firebase.auth.ApplicationVerifier",optional:!1,K:function(a){return!(!a||"string"!=typeof a.type||"function"!=typeof a.verify)}}]},Cc:{name:"linkWithPopup",j:[{name:"authProvider",J:"a valid Auth provider",optional:!1,K:function(a){return!!(a&&a.providerId&&a.hasOwnProperty&&a.hasOwnProperty("isOAuthProvider"))}}]},Dc:{name:"linkWithRedirect",j:[{name:"authProvider",J:"a valid Auth provider",optional:!1,K:function(a){return!!(a&&a.providerId&&a.hasOwnProperty&&a.hasOwnProperty("isOAuthProvider"))}}]},Jc:{name:"reauthenticateAndRetrieveDataWithCredential",j:[Yc()]},pb:{name:"reauthenticateWithCredential",j:[Yc()]},Kc:{name:"reauthenticateWithPhoneNumber",j:[Hc("phoneNumber"),{name:"applicationVerifier",J:"an implementation of firebase.auth.ApplicationVerifier",optional:!1,K:function(a){return!(!a||"string"!=typeof a.type||"function"!=typeof a.verify)}}]},Lc:{name:"reauthenticateWithPopup",j:[{name:"authProvider",J:"a valid Auth provider",optional:!1,K:function(a){return!!(a&&a.providerId&&a.hasOwnProperty&&a.hasOwnProperty("isOAuthProvider"))}}]},Mc:{name:"reauthenticateWithRedirect",j:[{name:"authProvider",J:"a valid Auth provider",optional:!1,K:function(a){return!!(a&&a.providerId&&a.hasOwnProperty&&a.hasOwnProperty("isOAuthProvider"))}}]},reload:{name:"reload",j:[]},qb:{name:"sendEmailVerification",j:[Zc(Vc("opt_actionCodeSettings",!0),Wc(null,!0),"opt_actionCodeSettings",!0)]},toJSON:{name:"toJSON",j:[Hc(null,!0)]},ad:{name:"unlink",j:[Hc("provider")]},xb:{name:"updateEmail",j:[Hc("email")]},yb:{name:"updatePassword",j:[Hc("password")]},cd:{name:"updatePhoneNumber",j:[Yc("phone")]},zb:{name:"updateProfile",j:[Vc("profile")]},Ab:{name:"verifyBeforeUpdateEmail",j:[Hc("email"),Zc(Vc("opt_actionCodeSettings",!0),Wc(null,!0),"opt_actionCodeSettings",!0)]}}),Jc(yc.prototype,{execute:{name:"execute"},render:{name:"render"},reset:{name:"reset"},getResponse:{name:"getResponse"}}),Jc(bc.prototype,{execute:{name:"execute"},render:{name:"render"},reset:{name:"reset"},getResponse:{name:"getResponse"}}),Jc(ke.prototype,{ma:{name:"finally"},o:{name:"catch"},then:{name:"then"}}),Qc(Xu.prototype,{appVerificationDisabled:{name:"appVerificationDisabledForTesting",gb:Gc("appVerificationDisabledForTesting")}}),Jc(Zu.prototype,{confirm:{name:"confirm",j:[Hc("verificationCode")]}}),tf(vo,"fromJSON",(function(a){a="string"==typeof a?JSON.parse(a):a;for(var b,t=[xo,Do,zo,_o],e=0;e<t.length;e++)if(b=t[e](a))return b;return null}),[Zc(Hc(),Vc(),"json")]),tf(Bo,"credential",(function(a,b){return new Lo(a,b)}),[Hc("email"),Hc("password")]),Jc(Lo.prototype,{v:{name:"toJSON",j:[Hc(null,!0)]}}),Jc(ko.prototype,{Aa:{name:"addScope",j:[Hc("scope")]},Ia:{name:"setCustomParameters",j:[Vc("customOAuthParameters")]}}),tf(ko,"credential",Co,[Zc(Hc(),Vc(),"token")]),tf(Bo,"credentialWithLink",Fo,[Hc("email"),Hc("emailLink")]),Jc(Oo.prototype,{Aa:{name:"addScope",j:[Hc("scope")]},Ia:{name:"setCustomParameters",j:[Vc("customOAuthParameters")]}}),tf(Oo,"credential",Io,[Zc(Hc(),Vc(),"token")]),Jc(Po.prototype,{Aa:{name:"addScope",j:[Hc("scope")]},Ia:{name:"setCustomParameters",j:[Vc("customOAuthParameters")]}}),tf(Po,"credential",Ro,[Zc(Hc(),Zc(Vc(),Wc()),"idToken"),Zc(Hc(),Wc(),"accessToken",!0)]),Jc(jo.prototype,{Ia:{name:"setCustomParameters",j:[Vc("customOAuthParameters")]}}),tf(jo,"credential",No,[Zc(Hc(),Vc(),"token"),Hc("secret",!0)]),Jc(To.prototype,{Aa:{name:"addScope",j:[Hc("scope")]},credential:{name:"credential",j:[Zc(Hc(),Zc(Vc(),Wc()),"optionsOrIdToken"),Zc(Hc(),Wc(),"accessToken",!0)]},Ia:{name:"setCustomParameters",j:[Vc("customOAuthParameters")]}}),Jc(Mo.prototype,{v:{name:"toJSON",j:[Hc(null,!0)]}}),Jc(yo.prototype,{v:{name:"toJSON",j:[Hc(null,!0)]}}),tf(Go,"credential",Vo,[Hc("verificationId"),Hc("verificationCode")]),Jc(Go.prototype,{cb:{name:"verifyPhoneNumber",j:[Zc(Hc(),{name:"phoneInfoOptions",J:"valid phone info options",optional:!1,K:function(t){return!!t&&(t.session&&t.phoneNumber?Kc(t.session,mo)&&"string"==typeof t.phoneNumber:t.session&&t.multiFactorHint?Kc(t.session,go)&&Xc(t.multiFactorHint):t.session&&t.multiFactorUid?Kc(t.session,go)&&"string"==typeof t.multiFactorUid:!!t.phoneNumber&&"string"==typeof t.phoneNumber)}},"phoneInfoOptions"),{name:"applicationVerifier",J:"an implementation of firebase.auth.ApplicationVerifier",optional:!1,K:function(a){return!(!a||"string"!=typeof a.type||"function"!=typeof a.verify)}}]}}),Jc(qo.prototype,{v:{name:"toJSON",j:[Hc(null,!0)]}}),Jc(P.prototype,{toJSON:{name:"toJSON",j:[Hc(null,!0)]}}),Jc(Qo.prototype,{toJSON:{name:"toJSON",j:[Hc(null,!0)]}}),Jc(th.prototype,{toJSON:{name:"toJSON",j:[Hc(null,!0)]}}),Jc(il.prototype,{toJSON:{name:"toJSON",j:[Hc(null,!0)]}}),Jc(tl.prototype,{Pc:{name:"resolveSignIn",j:[{name:"multiFactorAssertion",J:"a valid multiFactorAssertion",optional:!1,K:function(a){return!!a&&!!a.ob}}]}}),Jc(ll.prototype,{Ob:{name:"getSession",j:[]},dc:{name:"enroll",j:[{name:"multiFactorAssertion",J:"a valid multiFactorAssertion",optional:!1,K:function(a){return!!a&&!!a.ob}},Hc("displayName",!0)]},$c:{name:"unenroll",j:[Zc({name:"multiFactorInfo",J:"a valid multiFactorInfo",optional:!1,K:Xc},Hc(),"multiFactorInfoIdentifier")]}}),Jc(Uc.prototype,{clear:{name:"clear",j:[]},render:{name:"render",j:[]},verify:{name:"verify",j:[]}}),tf(kn,"parseLink",Ln,[Hc("link")]),tf(Ec,"assertion",(function(a){return new sl(a)}),[Yc("phone")]),function(){if(void 0===n||!n.INTERNAL||!n.INTERNAL.registerComponent)throw Error("Cannot find the firebase namespace; be sure to include firebase-app.js before this library.");var a={ActionCodeInfo:{Operation:{EMAIL_SIGNIN:gn,PASSWORD_RESET:"PASSWORD_RESET",RECOVER_EMAIL:"RECOVER_EMAIL",REVERT_SECOND_FACTOR_ADDITION:mn,VERIFY_AND_CHANGE_EMAIL:vn,VERIFY_EMAIL:"VERIFY_EMAIL"}},Auth:oc,AuthCredential:vo,Error:P};tf(a,"EmailAuthProvider",Bo,[]),tf(a,"FacebookAuthProvider",ko,[]),tf(a,"GithubAuthProvider",Oo,[]),tf(a,"GoogleAuthProvider",Po,[]),tf(a,"TwitterAuthProvider",jo,[]),tf(a,"OAuthProvider",To,[Hc("providerId")]),tf(a,"SAMLAuthProvider",Ao,[Hc("providerId")]),tf(a,"PhoneAuthProvider",Go,[{name:"auth",J:"an instance of Firebase Auth",optional:!0,K:function(a){return!!(a&&a instanceof oc)}}]),tf(a,"RecaptchaVerifier",Uc,[Zc(Hc(),{name:"",J:"an HTML element",optional:!1,K:function(a){return!!(a&&a instanceof Element)}},"recaptchaContainer"),Vc("recaptchaParameters",!0),{name:"app",J:"an instance of Firebase App",optional:!0,K:function(a){return!!(a&&a instanceof n.app.App)}}]),tf(a,"ActionCodeURL",kn,[]),tf(a,"PhoneMultiFactorGenerator",Ec,[]),n.INTERNAL.registerComponent({name:"auth",instanceFactory:function(b){return new oc(b=b.getProvider("app").getImmediate())},multipleInstances:!1,serviceProps:a,instantiationMode:"LAZY",type:"PUBLIC"}),n.INTERNAL.registerComponent({name:"auth-internal",instanceFactory:function(b){return{getUid:q((b=b.getProvider("auth").getImmediate()).getUid,b),getToken:q(b.kc,b),addAuthTokenListener:q(b.bc,b),removeAuthTokenListener:q(b.Nc,b)}},multipleInstances:!1,instantiationMode:"LAZY",type:"PRIVATE"}),n.registerVersion("@firebase/auth","0.14.9"),n.INTERNAL.extendNamespace({User:wl})}()}).apply(void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})}).call(this,r(54))},,function(t,e,r){"use strict";var n=r(324),o=r(500),h=Object.prototype.hasOwnProperty,l={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},c=Array.isArray,f=Array.prototype.push,d=function(t,e){f.apply(t,c(e)?e:[e])},m=Date.prototype.toISOString,v=o.default,y={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:n.encode,encodeValuesOnly:!1,format:v,formatter:o.formatters[v],indices:!1,serializeDate:function(t){return m.call(t)},skipNulls:!1,strictNullHandling:!1},w=function t(object,e,r,o,h,l,filter,f,m,v,w,_,M){var S,x=object;if("function"==typeof filter?x=filter(e,x):x instanceof Date?x=v(x):"comma"===r&&c(x)&&(x=n.maybeMap(x,(function(t){return t instanceof Date?v(t):t})).join(",")),null===x){if(o)return l&&!_?l(e,y.encoder,M,"key"):e;x=""}if("string"==typeof(S=x)||"number"==typeof S||"boolean"==typeof S||"symbol"==typeof S||"bigint"==typeof S||n.isBuffer(x))return l?[w(_?e:l(e,y.encoder,M,"key"))+"="+w(l(x,y.encoder,M,"value"))]:[w(e)+"="+w(String(x))];var E,A=[];if(void 0===x)return A;if(c(filter))E=filter;else{var T=Object.keys(x);E=f?T.sort(f):T}for(var i=0;i<E.length;++i){var k=E[i],C=x[k];if(!h||null!==C){var O=c(x)?"function"==typeof r?r(e,k):e:e+(m?"."+k:"["+k+"]");d(A,t(C,O,r,o,h,l,filter,f,m,v,w,_,M))}}return A};t.exports=function(object,t){var e,r=object,n=function(t){if(!t)return y;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||y.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=o.default;if(void 0!==t.format){if(!h.call(o.formatters,t.format))throw new TypeError("Unknown format option provided.");r=t.format}var n=o.formatters[r],filter=y.filter;return("function"==typeof t.filter||c(t.filter))&&(filter=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:y.addQueryPrefix,allowDots:void 0===t.allowDots?y.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:y.charsetSentinel,delimiter:void 0===t.delimiter?y.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:y.encode,encoder:"function"==typeof t.encoder?t.encoder:y.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:y.encodeValuesOnly,filter:filter,formatter:n,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:y.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:y.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:y.strictNullHandling}}(t);"function"==typeof n.filter?r=(0,n.filter)("",r):c(n.filter)&&(e=n.filter);var f,m=[];if("object"!=typeof r||null===r)return"";f=t&&t.arrayFormat in l?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var v=l[f];e||(e=Object.keys(r)),n.sort&&e.sort(n.sort);for(var i=0;i<e.length;++i){var _=e[i];n.skipNulls&&null===r[_]||d(m,w(r[_],_,v,n.strictNullHandling,n.skipNulls,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.formatter,n.encodeValuesOnly,n.charset))}var M=m.join(n.delimiter),S=!0===n.addQueryPrefix?"?":"";return n.charsetSentinel&&("iso-8859-1"===n.charset?S+="utf8=%26%2310003%3B&":S+="utf8=%E2%9C%93&"),M.length>0?S+M:""}},function(t,e,r){"use strict";var n=r(324),o=Object.prototype.hasOwnProperty,h=Array.isArray,l={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},c=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},f=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},d=function(t,e,r,n){if(t){var h=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,l=/(\[[^[\]]*])/g,c=r.depth>0&&/(\[[^[\]]*])/.exec(h),d=c?h.slice(0,c.index):h,m=[];if(d){if(!r.plainObjects&&o.call(Object.prototype,d)&&!r.allowPrototypes)return;m.push(d)}for(var i=0;r.depth>0&&null!==(c=l.exec(h))&&i<r.depth;){if(i+=1,!r.plainObjects&&o.call(Object.prototype,c[1].slice(1,-1))&&!r.allowPrototypes)return;m.push(c[1])}return c&&m.push("["+h.slice(c.index)+"]"),function(t,e,r,n){for(var o=n?e:f(e,r),i=t.length-1;i>=0;--i){var h,l=t[i];if("[]"===l&&r.parseArrays)h=[].concat(o);else{h=r.plainObjects?Object.create(null):{};var c="["===l.charAt(0)&&"]"===l.charAt(l.length-1)?l.slice(1,-1):l,d=parseInt(c,10);r.parseArrays||""!==c?!isNaN(d)&&l!==c&&String(d)===c&&d>=0&&r.parseArrays&&d<=r.arrayLimit?(h=[])[d]=o:h[c]=o:h={0:o}}o=h}return o}(m,e,r,n)}};t.exports=function(t,e){var r=function(t){if(!t)return l;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?l.charset:t.charset;return{allowDots:void 0===t.allowDots?l.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:l.allowPrototypes,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:l.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:l.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:l.comma,decoder:"function"==typeof t.decoder?t.decoder:l.decoder,delimiter:"string"==typeof t.delimiter||n.isRegExp(t.delimiter)?t.delimiter:l.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:l.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:l.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:l.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:l.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:l.strictNullHandling}}(e);if(""===t||null==t)return r.plainObjects?Object.create(null):{};for(var m="string"==typeof t?function(t,e){var i,r={},d=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,m=e.parameterLimit===1/0?void 0:e.parameterLimit,v=d.split(e.delimiter,m),y=-1,w=e.charset;if(e.charsetSentinel)for(i=0;i<v.length;++i)0===v[i].indexOf("utf8=")&&("utf8=%E2%9C%93"===v[i]?w="utf-8":"utf8=%26%2310003%3B"===v[i]&&(w="iso-8859-1"),y=i,i=v.length);for(i=0;i<v.length;++i)if(i!==y){var _,M,S=v[i],x=S.indexOf("]="),E=-1===x?S.indexOf("="):x+1;-1===E?(_=e.decoder(S,l.decoder,w,"key"),M=e.strictNullHandling?null:""):(_=e.decoder(S.slice(0,E),l.decoder,w,"key"),M=n.maybeMap(f(S.slice(E+1),e),(function(t){return e.decoder(t,l.decoder,w,"value")}))),M&&e.interpretNumericEntities&&"iso-8859-1"===w&&(M=c(M)),S.indexOf("[]=")>-1&&(M=h(M)?[M]:M),o.call(r,_)?r[_]=n.combine(r[_],M):r[_]=M}return r}(t,r):t,v=r.plainObjects?Object.create(null):{},y=Object.keys(m),i=0;i<y.length;++i){var w=y[i],_=d(w,m[w],r,"string"==typeof t);v=n.merge(v,_,r)}return n.compact(v)}},,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";const n=t=>"object"==typeof t&&null!==t,o=t=>n(t)&&!(t instanceof RegExp)&&!(t instanceof Error)&&!(t instanceof Date),h=(object,t,e,r=new WeakMap)=>{if(e={deep:!1,target:{},...e},r.has(object))return r.get(object);r.set(object,e.target);const{target:n}=e;delete e.target;const l=n=>n.map(element=>o(element)?h(element,t,e,r):element);if(Array.isArray(object))return l(object);for(const[c,f]of Object.entries(object)){let[d,m]=t(c,f,object);e.deep&&o(m)&&(m=Array.isArray(m)?l(m):h(m,t,e,r)),n[d]=m}return n};t.exports=(object,t,e)=>{if(!n(object))throw new TypeError(`Expected an object, got \`${object}\` (${typeof object})`);return h(object,t,e)}},function(t,e,r){var n=r(706);t.exports=function(t){return n(t).replace(/\s/g,"_")}},function(t,e,r){var n=r(707);t.exports=function(t){return n(t).replace(/[\W_]+(.|$)/g,(function(t,e){return e?" "+e:""})).trim()}},function(t,e){t.exports=function(t){return r.test(t)?t.toLowerCase():n.test(t)?(function(t){return t.replace(h,(function(t,e){return e?" "+e:""}))}(t)||t).toLowerCase():o.test(t)?function(t){return t.replace(l,(function(t,e,r){return e+" "+r.toLowerCase().split("").join(" ")}))}(t).toLowerCase():t.toLowerCase()};var r=/\s/,n=/(_|-|\.|:)/,o=/([a-z][A-Z]|[A-Z][a-z])/;var h=/[\W_]+(.|$)/g;var l=/(.)([A-Z]+)/g},,,,,,,,,,function(t,e,r){var n=r(61),o=n.Buffer;function h(t,e){for(var r in t)e[r]=t[r]}function l(t,e,r){return o(t,e,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?t.exports=n:(h(n,e),e.Buffer=l),l.prototype=Object.create(o.prototype),h(o,l),l.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return o(t,e,r)},l.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var n=o(t);return void 0!==e?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},l.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return o(t)},l.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},function(t,e,r){(e=t.exports=r(520)).Stream=e,e.Readable=e,e.Writable=r(524),e.Duplex=r(190),e.Transform=r(525),e.PassThrough=r(724),e.finished=r(328),e.pipeline=r(725)},,function(t,e,r){"use strict";function n(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function h(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var l=r(61).Buffer,c=r(721).inspect,f=c&&c.custom||"inspect";t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}var e,r,d;return e=t,(r=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{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,t=""+p.data;p=p.next;)t+=s+p.data;return t}},{key:"concat",value:function(t){if(0===this.length)return l.alloc(0);for(var e,r,n,o=l.allocUnsafe(t>>>0),p=this.head,i=0;p;)e=p.data,r=o,n=i,l.prototype.copy.call(e,r,n),i+=p.data.length,p=p.next;return o}},{key:"consume",value:function(t,e){var r;return t<this.head.data.length?(r=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):r=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var p=this.head,e=1,r=p.data;for(t-=r.length;p=p.next;){var n=p.data,o=t>n.length?n.length:t;if(o===n.length?r+=n:r+=n.slice(0,t),0==(t-=o)){o===n.length?(++e,p.next?this.head=p.next:this.head=this.tail=null):(this.head=p,p.data=n.slice(o));break}++e}return this.length-=e,r}},{key:"_getBuffer",value:function(t){var e=l.allocUnsafe(t),p=this.head,r=1;for(p.data.copy(e),t-=p.data.length;p=p.next;){var n=p.data,o=t>n.length?n.length:t;if(n.copy(e,e.length-t,0,o),0==(t-=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,e}},{key:f,value:function(t,e){return c(this,function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?n(Object(source),!0).forEach((function(e){o(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):n(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({},e,{depth:0,customInspect:!1}))}}])&&h(e.prototype,r),d&&h(e,d),t}()},,function(t,e,r){"use strict";(function(e){var n;function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var h=r(328),l=Symbol("lastResolve"),c=Symbol("lastReject"),f=Symbol("error"),d=Symbol("ended"),m=Symbol("lastPromise"),v=Symbol("handlePromise"),y=Symbol("stream");function w(t,e){return{value:t,done:e}}function _(t){var e=t[l];if(null!==e){var data=t[y].read();null!==data&&(t[m]=null,t[l]=null,t[c]=null,e(w(data,!1)))}}function M(t){e.nextTick(_,t)}var S=Object.getPrototypeOf((function(){})),x=Object.setPrototypeOf((o(n={get stream(){return this[y]},next:function(){var t=this,r=this[f];if(null!==r)return Promise.reject(r);if(this[d])return Promise.resolve(w(void 0,!0));if(this[y].destroyed)return new Promise((function(r,n){e.nextTick((function(){t[f]?n(t[f]):r(w(void 0,!0))}))}));var n,o=this[m];if(o)n=new Promise(function(t,e){return function(r,n){t.then((function(){e[d]?r(w(void 0,!0)):e[v](r,n)}),n)}}(o,this));else{var data=this[y].read();if(null!==data)return Promise.resolve(w(data,!1));n=new Promise(this[v])}return this[m]=n,n}},Symbol.asyncIterator,(function(){return this})),o(n,"return",(function(){var t=this;return new Promise((function(e,r){t[y].destroy(null,(function(t){t?r(t):e(w(void 0,!0))}))}))})),n),S);t.exports=function(t){var e,r=Object.create(x,(o(e={},y,{value:t,writable:!0}),o(e,l,{value:null,writable:!0}),o(e,c,{value:null,writable:!0}),o(e,f,{value:null,writable:!0}),o(e,d,{value:t._readableState.endEmitted,writable:!0}),o(e,v,{value:function(t,e){var data=r[y].read();data?(r[m]=null,r[l]=null,r[c]=null,t(w(data,!1))):(r[l]=t,r[c]=e)},writable:!0}),e));return r[m]=null,h(t,(function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=r[c];return null!==e&&(r[m]=null,r[l]=null,r[c]=null,e(t)),void(r[f]=t)}var n=r[l];null!==n&&(r[m]=null,r[l]=null,r[c]=null,n(w(void 0,!0))),r[d]=!0})),t.on("readable",M.bind(null,r)),r}}).call(this,r(69))},function(t,e){t.exports=function(){throw new Error("Readable.from is not available in the browser")}},function(t,e,r){"use strict";t.exports=o;var n=r(525);function o(t){if(!(this instanceof o))return new o(t);n.call(this,t)}r(36)(o,n),o.prototype._transform=function(t,e,r){r(null,t)}},function(t,e,r){"use strict";var n;var o=r(189).codes,h=o.ERR_MISSING_ARGS,l=o.ERR_STREAM_DESTROYED;function c(t){if(t)throw t}function f(t,e,o,h){h=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(h);var c=!1;t.on("close",(function(){c=!0})),void 0===n&&(n=r(328)),n(t,{readable:e,writable:o},(function(t){if(t)return h(t);c=!0,h()}));var f=!1;return function(e){if(!c&&!f)return f=!0,function(t){return t.setHeader&&"function"==typeof t.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void h(e||new l("pipe"))}}function d(t){t()}function m(t,e){return t.pipe(e)}function v(t){return t.length?"function"!=typeof t[t.length-1]?c:t.pop():c}t.exports=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n,o=v(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new h("streams");var l=e.map((function(t,i){var r=i<e.length-1;return f(t,r,i>0,(function(t){n||(n=t),t&&l.forEach(d),r||(l.forEach(d),o(n))}))}));return e.reduce(m)}},function(t,e,r){var n=r(36),o=r(191),h=r(45).Buffer,l=[1518500249,1859775393,-1894007588,-899497514],c=new Array(80);function f(){this.init(),this._w=c,o.call(this,64,56)}function d(t){return t<<30|t>>>2}function m(s,b,t,e){return 0===s?b&t|~b&e:2===s?b&t|b&e|t&e:b^t^e}n(f,o),f.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},f.prototype._update=function(t){for(var e,r=this._w,a=0|this._a,b=0|this._b,n=0|this._c,o=0|this._d,h=0|this._e,i=0;i<16;++i)r[i]=t.readInt32BE(4*i);for(;i<80;++i)r[i]=r[i-3]^r[i-8]^r[i-14]^r[i-16];for(var c=0;c<80;++c){var s=~~(c/20),f=0|((e=a)<<5|e>>>27)+m(s,b,n,o)+h+r[c]+l[s];h=o,o=n,n=d(b),b=a,a=f}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=h+this._e|0},f.prototype._hash=function(){var t=h.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=f},function(t,e,r){var n=r(36),o=r(191),h=r(45).Buffer,l=[1518500249,1859775393,-1894007588,-899497514],c=new Array(80);function f(){this.init(),this._w=c,o.call(this,64,56)}function d(t){return t<<5|t>>>27}function m(t){return t<<30|t>>>2}function v(s,b,t,e){return 0===s?b&t|~b&e:2===s?b&t|b&e|t&e:b^t^e}n(f,o),f.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},f.prototype._update=function(t){for(var e,r=this._w,a=0|this._a,b=0|this._b,n=0|this._c,o=0|this._d,h=0|this._e,i=0;i<16;++i)r[i]=t.readInt32BE(4*i);for(;i<80;++i)r[i]=(e=r[i-3]^r[i-8]^r[i-14]^r[i-16])<<1|e>>>31;for(var c=0;c<80;++c){var s=~~(c/20),f=d(a)+v(s,b,n,o)+h+r[c]+l[s]|0;h=o,o=n,n=m(b),b=a,a=f}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=h+this._e|0},f.prototype._hash=function(){var t=h.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=f},function(t,e,r){var n=r(36),o=r(526),h=r(191),l=r(45).Buffer,c=new Array(64);function f(){this.init(),this._w=c,h.call(this,64,56)}n(f,o),f.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},f.prototype._hash=function(){var t=l.allocUnsafe(28);return t.writeInt32BE(this._a,0),t.writeInt32BE(this._b,4),t.writeInt32BE(this._c,8),t.writeInt32BE(this._d,12),t.writeInt32BE(this._e,16),t.writeInt32BE(this._f,20),t.writeInt32BE(this._g,24),t},t.exports=f},function(t,e,r){var n=r(36),o=r(527),h=r(191),l=r(45).Buffer,c=new Array(160);function f(){this.init(),this._w=c,h.call(this,128,112)}n(f,o),f.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},f.prototype._hash=function(){var t=l.allocUnsafe(48);function e(e,r,n){t.writeInt32BE(e,n),t.writeInt32BE(r,n+4)}return e(this._ah,this._al,0),e(this._bh,this._bl,8),e(this._ch,this._cl,16),e(this._dh,this._dl,24),e(this._eh,this._el,32),e(this._fh,this._fl,40),t},t.exports=f},function(t,e,r){t.exports=o;var n=r(167).EventEmitter;function o(){n.call(this)}r(36)(o,n),o.Readable=r(226),o.Writable=r(731),o.Duplex=r(732),o.Transform=r(733),o.PassThrough=r(734),o.Stream=o,o.prototype.pipe=function(t,e){var source=this;function r(e){t.writable&&!1===t.write(e)&&source.pause&&source.pause()}function o(){source.readable&&source.resume&&source.resume()}source.on("data",r),t.on("drain",o),t._isStdio||e&&!1===e.end||(source.on("end",l),source.on("close",c));var h=!1;function l(){h||(h=!0,t.end())}function c(){h||(h=!0,"function"==typeof t.destroy&&t.destroy())}function f(t){if(d(),0===n.listenerCount(this,"error"))throw t}function d(){source.removeListener("data",r),t.removeListener("drain",o),source.removeListener("end",l),source.removeListener("close",c),source.removeListener("error",f),t.removeListener("error",f),source.removeListener("end",d),source.removeListener("close",d),t.removeListener("close",d)}return source.on("error",f),t.on("error",f),source.on("end",d),source.on("close",d),t.on("close",d),t.emit("pipe",source),t}},function(t,e,r){t.exports=r(322)},function(t,e,r){t.exports=r(168)},function(t,e,r){t.exports=r(226).Transform},function(t,e,r){t.exports=r(226).PassThrough},function(t,e,r){"use strict";var n=r(36),o=r(45).Buffer,h=r(155),l=o.alloc(128);function c(t,e){h.call(this,"digest"),"string"==typeof e&&(e=o.from(e)),this._alg=t,this._key=e,e.length>64?e=t(e):e.length<64&&(e=o.concat([e,l],64));for(var r=this._ipad=o.allocUnsafe(64),n=this._opad=o.allocUnsafe(64),i=0;i<64;i++)r[i]=54^e[i],n[i]=92^e[i];this._hash=[r]}n(c,h),c.prototype._update=function(data){this._hash.push(data)},c.prototype._final=function(){var t=this._alg(o.concat(this._hash));return this._alg(o.concat([this._opad,t]))},t.exports=c},function(t,e,r){t.exports=r(530)},function(t,e,r){(function(e,n){var o,h=r(45).Buffer,l=r(532),c=r(533),f=r(534),d=r(535),m=e.crypto&&e.crypto.subtle,v={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"},y=[];function w(t,e,r,n,o){return m.importKey("raw",t,{name:"PBKDF2"},!1,["deriveBits"]).then((function(t){return m.deriveBits({name:"PBKDF2",salt:e,iterations:r,hash:{name:o}},t,n<<3)})).then((function(t){return h.from(t)}))}t.exports=function(t,r,_,M,S,x){"function"==typeof S&&(x=S,S=void 0);var E=v[(S=S||"sha1").toLowerCase()];if(!E||"function"!=typeof e.Promise)return n.nextTick((function(){var e;try{e=f(t,r,_,M,S)}catch(t){return x(t)}x(null,e)}));if(l(_,M),t=d(t,c,"Password"),r=d(r,c,"Salt"),"function"!=typeof x)throw new Error("No callback provided to pbkdf2");!function(t,e){t.then((function(t){n.nextTick((function(){e(null,t)}))}),(function(t){n.nextTick((function(){e(t)}))}))}(function(t){if(e.process&&!e.process.browser)return Promise.resolve(!1);if(!m||!m.importKey||!m.deriveBits)return Promise.resolve(!1);if(void 0!==y[t])return y[t];var r=w(o=o||h.alloc(8),o,10,128,t).then((function(){return!0})).catch((function(){return!1}));return y[t]=r,r}(E).then((function(e){return e?w(t,r,_,M,E):f(t,r,_,M,S)})),x)}}).call(this,r(54),r(69))},function(t,e,r){var n=r(739),o=r(332),h=r(333),l=r(752),c=r(274);function f(t,e,r){if(t=t.toLowerCase(),h[t])return o.createCipheriv(t,e,r);if(l[t])return new n({key:e,iv:r,mode:t});throw new TypeError("invalid suite type")}function d(t,e,r){if(t=t.toLowerCase(),h[t])return o.createDecipheriv(t,e,r);if(l[t])return new n({key:e,iv:r,mode:t,decrypt:!0});throw new TypeError("invalid suite type")}e.createCipher=e.Cipher=function(t,e){var r,n;if(t=t.toLowerCase(),h[t])r=h[t].key,n=h[t].iv;else{if(!l[t])throw new TypeError("invalid suite type");r=8*l[t].key,n=l[t].iv}var o=c(e,!1,r,n);return f(t,o.key,o.iv)},e.createCipheriv=e.Cipheriv=f,e.createDecipher=e.Decipher=function(t,e){var r,n;if(t=t.toLowerCase(),h[t])r=h[t].key,n=h[t].iv;else{if(!l[t])throw new TypeError("invalid suite type");r=8*l[t].key,n=l[t].iv}var o=c(e,!1,r,n);return d(t,o.key,o.iv)},e.createDecipheriv=e.Decipheriv=d,e.listCiphers=e.getCiphers=function(){return Object.keys(l).concat(o.getCiphers())}},function(t,e,r){var n=r(155),o=r(740),h=r(36),l=r(45).Buffer,c={"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 f(t){n.call(this);var e,r=t.mode.toLowerCase(),o=c[r];e=t.decrypt?"decrypt":"encrypt";var h=t.key;l.isBuffer(h)||(h=l.from(h)),"des-ede"!==r&&"des-ede-cbc"!==r||(h=l.concat([h,h.slice(0,8)]));var f=t.iv;l.isBuffer(f)||(f=l.from(f)),this._des=o.create({key:h,iv:f,type:e})}c.des=c["des-cbc"],c.des3=c["des-ede3-cbc"],t.exports=f,h(f,n),f.prototype._update=function(data){return l.from(this._des.update(data))},f.prototype._final=function(){return l.from(this._des.final())}},function(t,e,r){"use strict";e.utils=r(536),e.Cipher=r(331),e.DES=r(537),e.CBC=r(741),e.EDE=r(742)},function(t,e,r){"use strict";var n=r(114),o=r(36),h={};function l(t){n.equal(t.length,8,"Invalid IV length"),this.iv=new Array(8);for(var i=0;i<this.iv.length;i++)this.iv[i]=t[i]}e.instantiate=function(t){function e(e){t.call(this,e),this._cbcInit()}o(e,t);for(var r=Object.keys(h),i=0;i<r.length;i++){var n=r[i];e.prototype[n]=h[n]}return e.create=function(t){return new e(t)},e},h._cbcInit=function(){var t=new l(this.options.iv);this._cbcState=t},h._update=function(t,e,r,n){var o=this._cbcState,h=this.constructor.super_.prototype,l=o.iv;if("encrypt"===this.type){for(var i=0;i<this.blockSize;i++)l[i]^=t[e+i];h._update.call(this,l,0,r,n);for(i=0;i<this.blockSize;i++)l[i]=r[n+i]}else{h._update.call(this,t,e,r,n);for(i=0;i<this.blockSize;i++)r[n+i]^=l[i];for(i=0;i<this.blockSize;i++)l[i]=t[e+i]}}},function(t,e,r){"use strict";var n=r(114),o=r(36),h=r(331),l=r(537);function c(t,e){n.equal(e.length,24,"Invalid key length");var r=e.slice(0,8),o=e.slice(8,16),h=e.slice(16,24);this.ciphers="encrypt"===t?[l.create({type:"encrypt",key:r}),l.create({type:"decrypt",key:o}),l.create({type:"encrypt",key:h})]:[l.create({type:"decrypt",key:h}),l.create({type:"encrypt",key:o}),l.create({type:"decrypt",key:r})]}function f(t){h.call(this,t);var e=new c(this.type,this.options.key);this._edeState=e}o(f,h),t.exports=f,f.create=function(t){return new f(t)},f.prototype._update=function(t,e,r,n){var o=this._edeState;o.ciphers[0]._update(t,e,r,n),o.ciphers[1]._update(r,n,r,n),o.ciphers[2]._update(r,n,r,n)},f.prototype._pad=l.prototype._pad,f.prototype._unpad=l.prototype._unpad},function(t,e,r){var n=r(333),o=r(541),h=r(45).Buffer,l=r(542),c=r(155),f=r(273),d=r(274);function m(t,e,r){c.call(this),this._cache=new y,this._cipher=new f.AES(e),this._prev=h.from(r),this._mode=t,this._autopadding=!0}r(36)(m,c),m.prototype._update=function(data){var t,e;this._cache.add(data);for(var r=[];t=this._cache.get();)e=this._mode.encrypt(this,t),r.push(e);return h.concat(r)};var v=h.alloc(16,16);function y(){this.cache=h.allocUnsafe(0)}function w(t,e,r){var c=n[t.toLowerCase()];if(!c)throw new TypeError("invalid suite type");if("string"==typeof e&&(e=h.from(e)),e.length!==c.key/8)throw new TypeError("invalid key length "+e.length);if("string"==typeof r&&(r=h.from(r)),"GCM"!==c.mode&&r.length!==c.iv)throw new TypeError("invalid iv length "+r.length);return"stream"===c.type?new l(c.module,e,r):"auth"===c.type?new o(c.module,e,r):new m(c.module,e,r)}m.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return t=this._mode.encrypt(this,t),this._cipher.scrub(),t;if(!t.equals(v))throw this._cipher.scrub(),new Error("data not multiple of block length")},m.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},y.prototype.add=function(data){this.cache=h.concat([this.cache,data])},y.prototype.get=function(){if(this.cache.length>15){var t=this.cache.slice(0,16);return this.cache=this.cache.slice(16),t}return null},y.prototype.flush=function(){for(var t=16-this.cache.length,e=h.allocUnsafe(t),i=-1;++i<t;)e.writeUInt8(t,i);return h.concat([this.cache,e])},e.createCipheriv=w,e.createCipher=function(t,e){var r=n[t.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var o=d(e,!1,r.key,r.iv);return w(t,o.key,o.iv)}},function(t,e){e.encrypt=function(t,e){return t._cipher.encryptBlock(e)},e.decrypt=function(t,e){return t._cipher.decryptBlock(e)}},function(t,e,r){var n=r(230);e.encrypt=function(t,e){var data=n(e,t._prev);return t._prev=t._cipher.encryptBlock(data),t._prev},e.decrypt=function(t,e){var r=t._prev;t._prev=e;var o=t._cipher.decryptBlock(e);return n(o,r)}},function(t,e,r){var n=r(45).Buffer,o=r(230);function h(t,data,e){var r=data.length,h=o(data,t._cache);return t._cache=t._cache.slice(r),t._prev=n.concat([t._prev,e?data:h]),h}e.encrypt=function(t,data,e){for(var r,o=n.allocUnsafe(0);data.length;){if(0===t._cache.length&&(t._cache=t._cipher.encryptBlock(t._prev),t._prev=n.allocUnsafe(0)),!(t._cache.length<=data.length)){o=n.concat([o,h(t,data,e)]);break}r=t._cache.length,o=n.concat([o,h(t,data.slice(0,r),e)]),data=data.slice(r)}return o}},function(t,e,r){var n=r(45).Buffer;function o(t,e,r){var o=t._cipher.encryptBlock(t._prev)[0]^e;return t._prev=n.concat([t._prev.slice(1),n.from([r?e:o])]),o}e.encrypt=function(t,e,r){for(var h=e.length,l=n.allocUnsafe(h),i=-1;++i<h;)l[i]=o(t,e[i],r);return l}},function(t,e,r){var n=r(45).Buffer;function o(t,e,r){for(var n,o,i=-1,l=0;++i<8;)n=e&1<<7-i?128:0,l+=(128&(o=t._cipher.encryptBlock(t._prev)[0]^n))>>i%8,t._prev=h(t._prev,r?n:o);return l}function h(t,e){var r=t.length,i=-1,o=n.allocUnsafe(t.length);for(t=n.concat([t,n.from([e])]);++i<r;)o[i]=t[i]<<1|t[i+1]>>7;return o}e.encrypt=function(t,e,r){for(var h=e.length,l=n.allocUnsafe(h),i=-1;++i<h;)l[i]=o(t,e[i],r);return l}},function(t,e,r){(function(t){var n=r(230);function o(t){return t._prev=t._cipher.encryptBlock(t._prev),t._prev}e.encrypt=function(e,r){for(;e._cache.length<r.length;)e._cache=t.concat([e._cache,o(e)]);var h=e._cache.slice(0,r.length);return e._cache=e._cache.slice(r.length),n(r,h)}}).call(this,r(61).Buffer)},function(t,e,r){var n=r(45).Buffer,o=n.alloc(16,0);function h(t){var e=n.allocUnsafe(16);return e.writeUInt32BE(t[0]>>>0,0),e.writeUInt32BE(t[1]>>>0,4),e.writeUInt32BE(t[2]>>>0,8),e.writeUInt32BE(t[3]>>>0,12),e}function l(t){this.h=t,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}l.prototype.ghash=function(t){for(var i=-1;++i<t.length;)this.state[i]^=t[i];this._multiply()},l.prototype._multiply=function(){for(var t,e,r,n=[(t=this.h).readUInt32BE(0),t.readUInt32BE(4),t.readUInt32BE(8),t.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]),e=3;e>0;e--)n[e]=n[e]>>>1|(1&n[e-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=h(o)},l.prototype.update=function(t){var e;for(this.cache=n.concat([this.cache,t]);this.cache.length>=16;)e=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(e)},l.prototype.final=function(t,e){return this.cache.length&&this.ghash(n.concat([this.cache,o],16)),this.ghash(h([0,t,0,e])),this.state},t.exports=l},function(t,e,r){var n=r(541),o=r(45).Buffer,h=r(333),l=r(542),c=r(155),f=r(273),d=r(274);function m(t,e,r){c.call(this),this._cache=new v,this._last=void 0,this._cipher=new f.AES(e),this._prev=o.from(r),this._mode=t,this._autopadding=!0}function v(){this.cache=o.allocUnsafe(0)}function y(t,e,r){var c=h[t.toLowerCase()];if(!c)throw new TypeError("invalid suite type");if("string"==typeof r&&(r=o.from(r)),"GCM"!==c.mode&&r.length!==c.iv)throw new TypeError("invalid iv length "+r.length);if("string"==typeof e&&(e=o.from(e)),e.length!==c.key/8)throw new TypeError("invalid key length "+e.length);return"stream"===c.type?new l(c.module,e,r,!0):"auth"===c.type?new n(c.module,e,r,!0):new m(c.module,e,r)}r(36)(m,c),m.prototype._update=function(data){var t,e;this._cache.add(data);for(var r=[];t=this._cache.get(this._autopadding);)e=this._mode.decrypt(this,t),r.push(e);return o.concat(r)},m.prototype._final=function(){var t=this._cache.flush();if(this._autopadding)return function(t){var e=t[15];if(e<1||e>16)throw new Error("unable to decrypt data");var i=-1;for(;++i<e;)if(t[i+(16-e)]!==e)throw new Error("unable to decrypt data");if(16===e)return;return t.slice(0,16-e)}(this._mode.decrypt(this,t));if(t)throw new Error("data not multiple of block length")},m.prototype.setAutoPadding=function(t){return this._autopadding=!!t,this},v.prototype.add=function(data){this.cache=o.concat([this.cache,data])},v.prototype.get=function(t){var e;if(t){if(this.cache.length>16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e}else if(this.cache.length>=16)return e=this.cache.slice(0,16),this.cache=this.cache.slice(16),e;return null},v.prototype.flush=function(){if(this.cache.length)return this.cache},e.createDecipher=function(t,e){var r=h[t.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=d(e,!1,r.key,r.iv);return y(t,n.key,n.iv)},e.createDecipheriv=y},function(t,e){e["des-ecb"]={key:8,iv:0},e["des-cbc"]=e.des={key:8,iv:8},e["des-ede3-cbc"]=e.des3={key:24,iv:8},e["des-ede3"]={key:24,iv:0},e["des-ede-cbc"]={key:16,iv:8},e["des-ede"]={key:16,iv:0}},function(t,e,r){(function(t){var n=r(543),o=r(758),h=r(759);var l={binary:!0,hex:!0,base64:!0};e.DiffieHellmanGroup=e.createDiffieHellmanGroup=e.getDiffieHellman=function(e){var r=new t(o[e].prime,"hex"),n=new t(o[e].gen,"hex");return new h(r,n)},e.createDiffieHellman=e.DiffieHellman=function e(r,o,c,f){return t.isBuffer(o)||void 0===l[o]?e(r,"binary",o,c):(o=o||"binary",f=f||"binary",c=c||new t([2]),t.isBuffer(c)||(c=new t(c,f)),"number"==typeof r?new h(n(r,c),c,!0):(t.isBuffer(r)||(r=new t(r,o)),new h(r,c,!0)))}}).call(this,r(61).Buffer)},,function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function o(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function h(t,base,e){if(h.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==base&&"be"!==base||(e=base,base=10),this._init(t||0,base||10,e||"be"))}var l;"object"==typeof t?t.exports=h:e.BN=h,h.BN=h,h.wordSize=26;try{l=r(756).Buffer}catch(t){}function c(t,e,r){for(var n=0,o=Math.min(t.length,r),i=e;i<o;i++){var h=t.charCodeAt(i)-48;n<<=4,n|=h>=49&&h<=54?h-49+10:h>=17&&h<=22?h-17+10:15&h}return n}function f(t,e,r,n){for(var o=0,h=Math.min(t.length,r),i=e;i<h;i++){var l=t.charCodeAt(i)-48;o*=n,o+=l>=49?l-49+10:l>=17?l-17+10:l}return o}h.isBN=function(t){return t instanceof h||null!==t&&"object"==typeof t&&t.constructor.wordSize===h.wordSize&&Array.isArray(t.words)},h.max=function(t,e){return t.cmp(e)>0?t:e},h.min=function(t,e){return t.cmp(e)<0?t:e},h.prototype._init=function(t,base,e){if("number"==typeof t)return this._initNumber(t,base,e);if("object"==typeof t)return this._initArray(t,base,e);"hex"===base&&(base=16),n(base===(0|base)&&base>=2&&base<=36);var r=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&r++,16===base?this._parseHex(t,r):this._parseBase(t,base,r),"-"===t[0]&&(this.negative=1),this.strip(),"le"===e&&this._initArray(this.toArray(),base,e)},h.prototype._initNumber=function(t,base,e){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===e&&this._initArray(this.toArray(),base,e)},h.prototype._initArray=function(t,base,e){if(n("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var r,o,h=0;if("be"===e)for(i=t.length-1,r=0;i>=0;i-=3)o=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[r]|=o<<h&67108863,this.words[r+1]=o>>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);else if("le"===e)for(i=0,r=0;i<t.length;i+=3)o=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[r]|=o<<h&67108863,this.words[r+1]=o>>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);return this.strip()},h.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var r,n,o=0;for(i=t.length-6,r=0;i>=e;i-=6)n=c(t,i,i+6),this.words[r]|=n<<o&67108863,this.words[r+1]|=n>>>26-o&4194303,(o+=24)>=26&&(o-=26,r++);i+6!==e&&(n=c(t,e,i+6),this.words[r]|=n<<o&67108863,this.words[r+1]|=n>>>26-o&4194303),this.strip()},h.prototype._parseBase=function(t,base,e){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=t.length-e,h=o%r,l=Math.min(o,o-h)+e,c=0,i=e;i<l;i+=r)c=f(t,i,i+r,base),this.imuln(n),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==h){var d=1;for(c=f(t,i,t.length,base),i=0;i<h;i++)d*=base;this.imuln(d),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},h.prototype.copy=function(t){t.words=new Array(this.length);for(var i=0;i<this.length;i++)t.words[i]=this.words[i];t.length=this.length,t.negative=this.negative,t.red=this.red},h.prototype.clone=function(){var t=new h(null);return this.copy(t),t},h.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},h.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},h.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},h.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var d=["","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,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function y(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var a=0|t.words[0],b=0|e.words[0],o=a*b,h=67108863&o,l=o/67108864|0;r.words[0]=h;for(var c=1;c<n;c++){for(var f=l>>>26,d=67108863&l,m=Math.min(c,e.length-1),v=Math.max(0,c-t.length+1);v<=m;v++){var i=c-v|0;f+=(o=(a=0|t.words[i])*(b=0|e.words[v])+d)/67108864|0,d=67108863&o}r.words[c]=0|d,l=0|f}return 0!==l?r.words[c]=0|l:r.length--,r.strip()}h.prototype.toString=function(base,t){var e;if(t=0|t||1,16===(base=base||10)||"hex"===base){e="";for(var r=0,o=0,i=0;i<this.length;i++){var h=this.words[i],l=(16777215&(h<<r|o)).toString(16);e=0!==(o=h>>>24-r&16777215)||i!==this.length-1?d[6-l.length]+l+e:l+e,(r+=2)>=26&&(r-=26,i--)}for(0!==o&&(e=o.toString(16)+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}if(base===(0|base)&&base>=2&&base<=36){var c=m[base],f=v[base];e="";var y=this.clone();for(y.negative=0;!y.isZero();){var w=y.modn(f).toString(base);e=(y=y.idivn(f)).isZero()?w+e:d[c-w.length]+w+e}for(this.isZero()&&(e="0"+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}n(!1,"Base should be between 2 and 36")},h.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},h.prototype.toJSON=function(){return this.toString(16)},h.prototype.toBuffer=function(t,e){return n(void 0!==l),this.toArrayLike(l,t,e)},h.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},h.prototype.toArrayLike=function(t,e,r){var o=this.byteLength(),h=r||Math.max(1,o);n(o<=h,"byte array longer than desired length"),n(h>0,"Requested array length <= 0"),this.strip();var b,i,l="le"===e,c=new t(h),q=this.clone();if(l){for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),c[i]=b;for(;i<h;i++)c[i]=0}else{for(i=0;i<h-o;i++)c[i]=0;for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),c[h-i-1]=b}return c},Math.clz32?h.prototype._countBits=function(t){return 32-Math.clz32(t)}:h.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},h.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0==(8191&e)&&(r+=13,e>>>=13),0==(127&e)&&(r+=7,e>>>=7),0==(15&e)&&(r+=4,e>>>=4),0==(3&e)&&(r+=2,e>>>=2),0==(1&e)&&r++,r},h.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},h.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,i=0;i<this.length;i++){var b=this._zeroBits(this.words[i]);if(t+=b,26!==b)break}return t},h.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},h.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},h.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},h.prototype.isNeg=function(){return 0!==this.negative},h.prototype.neg=function(){return this.clone().ineg()},h.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},h.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var i=0;i<t.length;i++)this.words[i]=this.words[i]|t.words[i];return this.strip()},h.prototype.ior=function(t){return n(0==(this.negative|t.negative)),this.iuor(t)},h.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},h.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},h.prototype.iuand=function(t){var b;b=this.length>t.length?t:this;for(var i=0;i<b.length;i++)this.words[i]=this.words[i]&t.words[i];return this.length=b.length,this.strip()},h.prototype.iand=function(t){return n(0==(this.negative|t.negative)),this.iuand(t)},h.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},h.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},h.prototype.iuxor=function(t){var a,b;this.length>t.length?(a=this,b=t):(a=t,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()},h.prototype.ixor=function(t){return n(0==(this.negative|t.negative)),this.iuxor(t)},h.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},h.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},h.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},h.prototype.notn=function(t){return this.clone().inotn(t)},h.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var r=t/26|0,o=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<o:this.words[r]&~(1<<o),this.strip()},h.prototype.iadd=function(t){var e,a,b;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(a=this,b=t):(a=t,b=this);for(var r=0,i=0;i<b.length;i++)e=(0|a.words[i])+(0|b.words[i])+r,this.words[i]=67108863&e,r=e>>>26;for(;0!==r&&i<a.length;i++)e=(0|a.words[i])+r,this.words[i]=67108863&e,r=e>>>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},h.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},h.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var a,b,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(a=this,b=t):(a=t,b=this);for(var n=0,i=0;i<b.length;i++)n=(e=(0|a.words[i])-(0|b.words[i])+n)>>26,this.words[i]=67108863&e;for(;0!==n&&i<a.length;i++)n=(e=(0|a.words[i])+n)>>26,this.words[i]=67108863&e;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()},h.prototype.sub=function(t){return this.clone().isub(t)};var w=function(t,e,r){var n,o,h,a=t.words,b=e.words,l=r.words,c=0,f=0|a[0],d=8191&f,m=f>>>13,v=0|a[1],y=8191&v,w=v>>>13,_=0|a[2],M=8191&_,S=_>>>13,x=0|a[3],E=8191&x,A=x>>>13,T=0|a[4],k=8191&T,C=T>>>13,O=0|a[5],I=8191&O,P=O>>>13,R=0|a[6],j=8191&R,N=R>>>13,L=0|a[7],D=8191&L,B=L>>>13,F=0|a[8],U=8191&F,z=F>>>13,H=0|a[9],G=8191&H,V=H>>>13,$=0|b[0],W=8191&$,Y=$>>>13,K=0|b[1],X=8191&K,Z=K>>>13,J=0|b[2],Q=8191&J,tt=J>>>13,et=0|b[3],it=8191&et,nt=et>>>13,ot=0|b[4],at=8191&ot,st=ot>>>13,ht=0|b[5],ut=8191&ht,lt=ht>>>13,ct=0|b[6],ft=8191&ct,pt=ct>>>13,mt=0|b[7],gt=8191&mt,vt=mt>>>13,bt=0|b[8],yt=8191&bt,wt=bt>>>13,_t=0|b[9],Mt=8191&_t,St=_t>>>13;r.negative=t.negative^e.negative,r.length=19;var xt=(c+(n=Math.imul(d,W))|0)+((8191&(o=(o=Math.imul(d,Y))+Math.imul(m,W)|0))<<13)|0;c=((h=Math.imul(m,Y))+(o>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(y,W),o=(o=Math.imul(y,Y))+Math.imul(w,W)|0,h=Math.imul(w,Y);var Et=(c+(n=n+Math.imul(d,X)|0)|0)+((8191&(o=(o=o+Math.imul(d,Z)|0)+Math.imul(m,X)|0))<<13)|0;c=((h=h+Math.imul(m,Z)|0)+(o>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(M,W),o=(o=Math.imul(M,Y))+Math.imul(S,W)|0,h=Math.imul(S,Y),n=n+Math.imul(y,X)|0,o=(o=o+Math.imul(y,Z)|0)+Math.imul(w,X)|0,h=h+Math.imul(w,Z)|0;var At=(c+(n=n+Math.imul(d,Q)|0)|0)+((8191&(o=(o=o+Math.imul(d,tt)|0)+Math.imul(m,Q)|0))<<13)|0;c=((h=h+Math.imul(m,tt)|0)+(o>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(E,W),o=(o=Math.imul(E,Y))+Math.imul(A,W)|0,h=Math.imul(A,Y),n=n+Math.imul(M,X)|0,o=(o=o+Math.imul(M,Z)|0)+Math.imul(S,X)|0,h=h+Math.imul(S,Z)|0,n=n+Math.imul(y,Q)|0,o=(o=o+Math.imul(y,tt)|0)+Math.imul(w,Q)|0,h=h+Math.imul(w,tt)|0;var Tt=(c+(n=n+Math.imul(d,it)|0)|0)+((8191&(o=(o=o+Math.imul(d,nt)|0)+Math.imul(m,it)|0))<<13)|0;c=((h=h+Math.imul(m,nt)|0)+(o>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(k,W),o=(o=Math.imul(k,Y))+Math.imul(C,W)|0,h=Math.imul(C,Y),n=n+Math.imul(E,X)|0,o=(o=o+Math.imul(E,Z)|0)+Math.imul(A,X)|0,h=h+Math.imul(A,Z)|0,n=n+Math.imul(M,Q)|0,o=(o=o+Math.imul(M,tt)|0)+Math.imul(S,Q)|0,h=h+Math.imul(S,tt)|0,n=n+Math.imul(y,it)|0,o=(o=o+Math.imul(y,nt)|0)+Math.imul(w,it)|0,h=h+Math.imul(w,nt)|0;var kt=(c+(n=n+Math.imul(d,at)|0)|0)+((8191&(o=(o=o+Math.imul(d,st)|0)+Math.imul(m,at)|0))<<13)|0;c=((h=h+Math.imul(m,st)|0)+(o>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(I,W),o=(o=Math.imul(I,Y))+Math.imul(P,W)|0,h=Math.imul(P,Y),n=n+Math.imul(k,X)|0,o=(o=o+Math.imul(k,Z)|0)+Math.imul(C,X)|0,h=h+Math.imul(C,Z)|0,n=n+Math.imul(E,Q)|0,o=(o=o+Math.imul(E,tt)|0)+Math.imul(A,Q)|0,h=h+Math.imul(A,tt)|0,n=n+Math.imul(M,it)|0,o=(o=o+Math.imul(M,nt)|0)+Math.imul(S,it)|0,h=h+Math.imul(S,nt)|0,n=n+Math.imul(y,at)|0,o=(o=o+Math.imul(y,st)|0)+Math.imul(w,at)|0,h=h+Math.imul(w,st)|0;var Ct=(c+(n=n+Math.imul(d,ut)|0)|0)+((8191&(o=(o=o+Math.imul(d,lt)|0)+Math.imul(m,ut)|0))<<13)|0;c=((h=h+Math.imul(m,lt)|0)+(o>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(j,W),o=(o=Math.imul(j,Y))+Math.imul(N,W)|0,h=Math.imul(N,Y),n=n+Math.imul(I,X)|0,o=(o=o+Math.imul(I,Z)|0)+Math.imul(P,X)|0,h=h+Math.imul(P,Z)|0,n=n+Math.imul(k,Q)|0,o=(o=o+Math.imul(k,tt)|0)+Math.imul(C,Q)|0,h=h+Math.imul(C,tt)|0,n=n+Math.imul(E,it)|0,o=(o=o+Math.imul(E,nt)|0)+Math.imul(A,it)|0,h=h+Math.imul(A,nt)|0,n=n+Math.imul(M,at)|0,o=(o=o+Math.imul(M,st)|0)+Math.imul(S,at)|0,h=h+Math.imul(S,st)|0,n=n+Math.imul(y,ut)|0,o=(o=o+Math.imul(y,lt)|0)+Math.imul(w,ut)|0,h=h+Math.imul(w,lt)|0;var Ot=(c+(n=n+Math.imul(d,ft)|0)|0)+((8191&(o=(o=o+Math.imul(d,pt)|0)+Math.imul(m,ft)|0))<<13)|0;c=((h=h+Math.imul(m,pt)|0)+(o>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(D,W),o=(o=Math.imul(D,Y))+Math.imul(B,W)|0,h=Math.imul(B,Y),n=n+Math.imul(j,X)|0,o=(o=o+Math.imul(j,Z)|0)+Math.imul(N,X)|0,h=h+Math.imul(N,Z)|0,n=n+Math.imul(I,Q)|0,o=(o=o+Math.imul(I,tt)|0)+Math.imul(P,Q)|0,h=h+Math.imul(P,tt)|0,n=n+Math.imul(k,it)|0,o=(o=o+Math.imul(k,nt)|0)+Math.imul(C,it)|0,h=h+Math.imul(C,nt)|0,n=n+Math.imul(E,at)|0,o=(o=o+Math.imul(E,st)|0)+Math.imul(A,at)|0,h=h+Math.imul(A,st)|0,n=n+Math.imul(M,ut)|0,o=(o=o+Math.imul(M,lt)|0)+Math.imul(S,ut)|0,h=h+Math.imul(S,lt)|0,n=n+Math.imul(y,ft)|0,o=(o=o+Math.imul(y,pt)|0)+Math.imul(w,ft)|0,h=h+Math.imul(w,pt)|0;var It=(c+(n=n+Math.imul(d,gt)|0)|0)+((8191&(o=(o=o+Math.imul(d,vt)|0)+Math.imul(m,gt)|0))<<13)|0;c=((h=h+Math.imul(m,vt)|0)+(o>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(U,W),o=(o=Math.imul(U,Y))+Math.imul(z,W)|0,h=Math.imul(z,Y),n=n+Math.imul(D,X)|0,o=(o=o+Math.imul(D,Z)|0)+Math.imul(B,X)|0,h=h+Math.imul(B,Z)|0,n=n+Math.imul(j,Q)|0,o=(o=o+Math.imul(j,tt)|0)+Math.imul(N,Q)|0,h=h+Math.imul(N,tt)|0,n=n+Math.imul(I,it)|0,o=(o=o+Math.imul(I,nt)|0)+Math.imul(P,it)|0,h=h+Math.imul(P,nt)|0,n=n+Math.imul(k,at)|0,o=(o=o+Math.imul(k,st)|0)+Math.imul(C,at)|0,h=h+Math.imul(C,st)|0,n=n+Math.imul(E,ut)|0,o=(o=o+Math.imul(E,lt)|0)+Math.imul(A,ut)|0,h=h+Math.imul(A,lt)|0,n=n+Math.imul(M,ft)|0,o=(o=o+Math.imul(M,pt)|0)+Math.imul(S,ft)|0,h=h+Math.imul(S,pt)|0,n=n+Math.imul(y,gt)|0,o=(o=o+Math.imul(y,vt)|0)+Math.imul(w,gt)|0,h=h+Math.imul(w,vt)|0;var Pt=(c+(n=n+Math.imul(d,yt)|0)|0)+((8191&(o=(o=o+Math.imul(d,wt)|0)+Math.imul(m,yt)|0))<<13)|0;c=((h=h+Math.imul(m,wt)|0)+(o>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(G,W),o=(o=Math.imul(G,Y))+Math.imul(V,W)|0,h=Math.imul(V,Y),n=n+Math.imul(U,X)|0,o=(o=o+Math.imul(U,Z)|0)+Math.imul(z,X)|0,h=h+Math.imul(z,Z)|0,n=n+Math.imul(D,Q)|0,o=(o=o+Math.imul(D,tt)|0)+Math.imul(B,Q)|0,h=h+Math.imul(B,tt)|0,n=n+Math.imul(j,it)|0,o=(o=o+Math.imul(j,nt)|0)+Math.imul(N,it)|0,h=h+Math.imul(N,nt)|0,n=n+Math.imul(I,at)|0,o=(o=o+Math.imul(I,st)|0)+Math.imul(P,at)|0,h=h+Math.imul(P,st)|0,n=n+Math.imul(k,ut)|0,o=(o=o+Math.imul(k,lt)|0)+Math.imul(C,ut)|0,h=h+Math.imul(C,lt)|0,n=n+Math.imul(E,ft)|0,o=(o=o+Math.imul(E,pt)|0)+Math.imul(A,ft)|0,h=h+Math.imul(A,pt)|0,n=n+Math.imul(M,gt)|0,o=(o=o+Math.imul(M,vt)|0)+Math.imul(S,gt)|0,h=h+Math.imul(S,vt)|0,n=n+Math.imul(y,yt)|0,o=(o=o+Math.imul(y,wt)|0)+Math.imul(w,yt)|0,h=h+Math.imul(w,wt)|0;var Rt=(c+(n=n+Math.imul(d,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(d,St)|0)+Math.imul(m,Mt)|0))<<13)|0;c=((h=h+Math.imul(m,St)|0)+(o>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(G,X),o=(o=Math.imul(G,Z))+Math.imul(V,X)|0,h=Math.imul(V,Z),n=n+Math.imul(U,Q)|0,o=(o=o+Math.imul(U,tt)|0)+Math.imul(z,Q)|0,h=h+Math.imul(z,tt)|0,n=n+Math.imul(D,it)|0,o=(o=o+Math.imul(D,nt)|0)+Math.imul(B,it)|0,h=h+Math.imul(B,nt)|0,n=n+Math.imul(j,at)|0,o=(o=o+Math.imul(j,st)|0)+Math.imul(N,at)|0,h=h+Math.imul(N,st)|0,n=n+Math.imul(I,ut)|0,o=(o=o+Math.imul(I,lt)|0)+Math.imul(P,ut)|0,h=h+Math.imul(P,lt)|0,n=n+Math.imul(k,ft)|0,o=(o=o+Math.imul(k,pt)|0)+Math.imul(C,ft)|0,h=h+Math.imul(C,pt)|0,n=n+Math.imul(E,gt)|0,o=(o=o+Math.imul(E,vt)|0)+Math.imul(A,gt)|0,h=h+Math.imul(A,vt)|0,n=n+Math.imul(M,yt)|0,o=(o=o+Math.imul(M,wt)|0)+Math.imul(S,yt)|0,h=h+Math.imul(S,wt)|0;var jt=(c+(n=n+Math.imul(y,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(y,St)|0)+Math.imul(w,Mt)|0))<<13)|0;c=((h=h+Math.imul(w,St)|0)+(o>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(G,Q),o=(o=Math.imul(G,tt))+Math.imul(V,Q)|0,h=Math.imul(V,tt),n=n+Math.imul(U,it)|0,o=(o=o+Math.imul(U,nt)|0)+Math.imul(z,it)|0,h=h+Math.imul(z,nt)|0,n=n+Math.imul(D,at)|0,o=(o=o+Math.imul(D,st)|0)+Math.imul(B,at)|0,h=h+Math.imul(B,st)|0,n=n+Math.imul(j,ut)|0,o=(o=o+Math.imul(j,lt)|0)+Math.imul(N,ut)|0,h=h+Math.imul(N,lt)|0,n=n+Math.imul(I,ft)|0,o=(o=o+Math.imul(I,pt)|0)+Math.imul(P,ft)|0,h=h+Math.imul(P,pt)|0,n=n+Math.imul(k,gt)|0,o=(o=o+Math.imul(k,vt)|0)+Math.imul(C,gt)|0,h=h+Math.imul(C,vt)|0,n=n+Math.imul(E,yt)|0,o=(o=o+Math.imul(E,wt)|0)+Math.imul(A,yt)|0,h=h+Math.imul(A,wt)|0;var Nt=(c+(n=n+Math.imul(M,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(M,St)|0)+Math.imul(S,Mt)|0))<<13)|0;c=((h=h+Math.imul(S,St)|0)+(o>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul(G,it),o=(o=Math.imul(G,nt))+Math.imul(V,it)|0,h=Math.imul(V,nt),n=n+Math.imul(U,at)|0,o=(o=o+Math.imul(U,st)|0)+Math.imul(z,at)|0,h=h+Math.imul(z,st)|0,n=n+Math.imul(D,ut)|0,o=(o=o+Math.imul(D,lt)|0)+Math.imul(B,ut)|0,h=h+Math.imul(B,lt)|0,n=n+Math.imul(j,ft)|0,o=(o=o+Math.imul(j,pt)|0)+Math.imul(N,ft)|0,h=h+Math.imul(N,pt)|0,n=n+Math.imul(I,gt)|0,o=(o=o+Math.imul(I,vt)|0)+Math.imul(P,gt)|0,h=h+Math.imul(P,vt)|0,n=n+Math.imul(k,yt)|0,o=(o=o+Math.imul(k,wt)|0)+Math.imul(C,yt)|0,h=h+Math.imul(C,wt)|0;var Lt=(c+(n=n+Math.imul(E,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(E,St)|0)+Math.imul(A,Mt)|0))<<13)|0;c=((h=h+Math.imul(A,St)|0)+(o>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul(G,at),o=(o=Math.imul(G,st))+Math.imul(V,at)|0,h=Math.imul(V,st),n=n+Math.imul(U,ut)|0,o=(o=o+Math.imul(U,lt)|0)+Math.imul(z,ut)|0,h=h+Math.imul(z,lt)|0,n=n+Math.imul(D,ft)|0,o=(o=o+Math.imul(D,pt)|0)+Math.imul(B,ft)|0,h=h+Math.imul(B,pt)|0,n=n+Math.imul(j,gt)|0,o=(o=o+Math.imul(j,vt)|0)+Math.imul(N,gt)|0,h=h+Math.imul(N,vt)|0,n=n+Math.imul(I,yt)|0,o=(o=o+Math.imul(I,wt)|0)+Math.imul(P,yt)|0,h=h+Math.imul(P,wt)|0;var Dt=(c+(n=n+Math.imul(k,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(k,St)|0)+Math.imul(C,Mt)|0))<<13)|0;c=((h=h+Math.imul(C,St)|0)+(o>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(G,ut),o=(o=Math.imul(G,lt))+Math.imul(V,ut)|0,h=Math.imul(V,lt),n=n+Math.imul(U,ft)|0,o=(o=o+Math.imul(U,pt)|0)+Math.imul(z,ft)|0,h=h+Math.imul(z,pt)|0,n=n+Math.imul(D,gt)|0,o=(o=o+Math.imul(D,vt)|0)+Math.imul(B,gt)|0,h=h+Math.imul(B,vt)|0,n=n+Math.imul(j,yt)|0,o=(o=o+Math.imul(j,wt)|0)+Math.imul(N,yt)|0,h=h+Math.imul(N,wt)|0;var Bt=(c+(n=n+Math.imul(I,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(I,St)|0)+Math.imul(P,Mt)|0))<<13)|0;c=((h=h+Math.imul(P,St)|0)+(o>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul(G,ft),o=(o=Math.imul(G,pt))+Math.imul(V,ft)|0,h=Math.imul(V,pt),n=n+Math.imul(U,gt)|0,o=(o=o+Math.imul(U,vt)|0)+Math.imul(z,gt)|0,h=h+Math.imul(z,vt)|0,n=n+Math.imul(D,yt)|0,o=(o=o+Math.imul(D,wt)|0)+Math.imul(B,yt)|0,h=h+Math.imul(B,wt)|0;var Ft=(c+(n=n+Math.imul(j,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(j,St)|0)+Math.imul(N,Mt)|0))<<13)|0;c=((h=h+Math.imul(N,St)|0)+(o>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,n=Math.imul(G,gt),o=(o=Math.imul(G,vt))+Math.imul(V,gt)|0,h=Math.imul(V,vt),n=n+Math.imul(U,yt)|0,o=(o=o+Math.imul(U,wt)|0)+Math.imul(z,yt)|0,h=h+Math.imul(z,wt)|0;var Ut=(c+(n=n+Math.imul(D,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(D,St)|0)+Math.imul(B,Mt)|0))<<13)|0;c=((h=h+Math.imul(B,St)|0)+(o>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,n=Math.imul(G,yt),o=(o=Math.imul(G,wt))+Math.imul(V,yt)|0,h=Math.imul(V,wt);var qt=(c+(n=n+Math.imul(U,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(U,St)|0)+Math.imul(z,Mt)|0))<<13)|0;c=((h=h+Math.imul(z,St)|0)+(o>>>13)|0)+(qt>>>26)|0,qt&=67108863;var zt=(c+(n=Math.imul(G,Mt))|0)+((8191&(o=(o=Math.imul(G,St))+Math.imul(V,Mt)|0))<<13)|0;return c=((h=Math.imul(V,St))+(o>>>13)|0)+(zt>>>26)|0,zt&=67108863,l[0]=xt,l[1]=Et,l[2]=At,l[3]=Tt,l[4]=kt,l[5]=Ct,l[6]=Ot,l[7]=It,l[8]=Pt,l[9]=Rt,l[10]=jt,l[11]=Nt,l[12]=Lt,l[13]=Dt,l[14]=Bt,l[15]=Ft,l[16]=Ut,l[17]=qt,l[18]=zt,0!==c&&(l[19]=c,r.length++),r};function _(t,e,r){return(new M).mulp(t,e,r)}function M(t,e){this.x=t,this.y=e}Math.imul||(w=y),h.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?w(this,t,e):r<63?y(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,o=0,h=0;h<r.length-1;h++){var l=o;o=0;for(var c=67108863&n,f=Math.min(h,e.length-1),d=Math.max(0,h-t.length+1);d<=f;d++){var i=h-d,m=(0|t.words[i])*(0|e.words[d]),v=67108863&m;c=67108863&(v=v+c|0),o+=(l=(l=l+(m/67108864|0)|0)+(v>>>26)|0)>>>26,l&=67108863}r.words[h]=c,n=l,l=o}return 0!==n?r.words[h]=n:r.length--,r.strip()}(this,t,e):_(this,t,e)},M.prototype.makeRBT=function(t){for(var e=new Array(t),r=h.prototype._countBits(t)-1,i=0;i<t;i++)e[i]=this.revBin(i,r,t);return e},M.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},M.prototype.permute=function(t,e,r,n,o,h){for(var i=0;i<h;i++)n[i]=e[t[i]],o[i]=r[t[i]]},M.prototype.transform=function(t,e,r,n,o,h){this.permute(h,t,e,r,n,o);for(var s=1;s<o;s<<=1)for(var l=s<<1,c=Math.cos(2*Math.PI/l),f=Math.sin(2*Math.PI/l),p=0;p<o;p+=l)for(var d=c,m=f,v=0;v<s;v++){var y=r[p+v],w=n[p+v],_=r[p+v+s],M=n[p+v+s],S=d*_-m*M;M=d*M+m*_,_=S,r[p+v]=y+_,n[p+v]=w+M,r[p+v+s]=y-_,n[p+v+s]=w-M,v!==l&&(S=c*d-f*m,m=c*m+f*d,d=S)}},M.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},M.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var i=0;i<r/2;i++){var n=t[i];t[i]=t[r-i-1],t[r-i-1]=n,n=e[i],e[i]=-e[r-i-1],e[r-i-1]=-n}},M.prototype.normalize13b=function(t,e){for(var r=0,i=0;i<e/2;i++){var n=8192*Math.round(t[2*i+1]/e)+Math.round(t[2*i]/e)+r;t[i]=67108863&n,r=n<67108864?0:n/67108864|0}return t},M.prototype.convert13b=function(t,e,r,o){for(var h=0,i=0;i<e;i++)h+=0|t[i],r[2*i]=8191&h,h>>>=13,r[2*i+1]=8191&h,h>>>=13;for(i=2*e;i<o;++i)r[i]=0;n(0===h),n(0==(-8192&h))},M.prototype.stub=function(t){for(var e=new Array(t),i=0;i<t;i++)e[i]=0;return e},M.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),o=this.makeRBT(n),h=this.stub(n),l=new Array(n),c=new Array(n),f=new Array(n),d=new Array(n),m=new Array(n),v=new Array(n),y=r.words;y.length=n,this.convert13b(t.words,t.length,l,n),this.convert13b(e.words,e.length,d,n),this.transform(l,h,c,f,n,o),this.transform(d,h,m,v,n,o);for(var i=0;i<n;i++){var w=c[i]*m[i]-f[i]*v[i];f[i]=c[i]*v[i]+f[i]*m[i],c[i]=w}return this.conjugate(c,f,n),this.transform(c,f,y,h,n,o),this.conjugate(y,h,n),this.normalize13b(y,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},h.prototype.mul=function(t){var e=new h(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},h.prototype.mulf=function(t){var e=new h(null);return e.words=new Array(this.length+t.length),_(this,t,e)},h.prototype.imul=function(t){return this.clone().mulTo(t,this)},h.prototype.imuln=function(t){n("number"==typeof t),n(t<67108864);for(var e=0,i=0;i<this.length;i++){var r=(0|this.words[i])*t,o=(67108863&r)+(67108863&e);e>>=26,e+=r/67108864|0,e+=o>>>26,this.words[i]=67108863&o}return 0!==e&&(this.words[i]=e,this.length++),this},h.prototype.muln=function(t){return this.clone().imuln(t)},h.prototype.sqr=function(){return this.mul(this)},h.prototype.isqr=function(){return this.imul(this.clone())},h.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,o=r%26;e[r]=(t.words[n]&1<<o)>>>o}return e}(t);if(0===e.length)return new h(1);for(var r=this,i=0;i<e.length&&0===e[i];i++,r=r.sqr());if(++i<e.length)for(var q=r.sqr();i<e.length;i++,q=q.sqr())0!==e[i]&&(r=r.mul(q));return r},h.prototype.iushln=function(t){n("number"==typeof t&&t>=0);var i,e=t%26,s=(t-e)/26,r=67108863>>>26-e<<26-e;if(0!==e){var o=0;for(i=0;i<this.length;i++){var h=this.words[i]&r,l=(0|this.words[i])-h<<e;this.words[i]=l|o,o=h>>>26-e}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()},h.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},h.prototype.iushrn=function(t,e,r){var o;n("number"==typeof t&&t>=0),o=e?(e-e%26)/26:0;var h=t%26,s=Math.min((t-h)/26,this.length),mask=67108863^67108863>>>h<<h,l=r;if(o-=s,o=Math.max(0,o),l){for(var i=0;i<s;i++)l.words[i]=this.words[i];l.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 c=0;for(i=this.length-1;i>=0&&(0!==c||i>=o);i--){var f=0|this.words[i];this.words[i]=c<<26-h|f>>>h,c=f&mask}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},h.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},h.prototype.shln=function(t){return this.clone().ishln(t)},h.prototype.ushln=function(t){return this.clone().iushln(t)},h.prototype.shrn=function(t){return this.clone().ishrn(t)},h.prototype.ushrn=function(t){return this.clone().iushrn(t)},h.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26,q=1<<e;return!(this.length<=s)&&!!(this.words[s]&q)},h.prototype.imaskn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==e&&s++,this.length=Math.min(s,this.length),0!==e){var mask=67108863^67108863>>>e<<e;this.words[this.length-1]&=mask}return this.strip()},h.prototype.maskn=function(t){return this.clone().imaskn(t)},h.prototype.iaddn=function(t){return n("number"==typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},h.prototype._iaddn=function(t){this.words[0]+=t;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},h.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,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()},h.prototype.addn=function(t){return this.clone().iaddn(t)},h.prototype.subn=function(t){return this.clone().isubn(t)},h.prototype.iabs=function(){return this.negative=0,this},h.prototype.abs=function(){return this.clone().iabs()},h.prototype._ishlnsubmul=function(t,e,r){var i,o,h=t.length+r;this._expand(h);var l=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+l;var c=(0|t.words[i])*e;l=((o-=67108863&c)>>26)-(c/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)l=(o=(0|this.words[i+r])+l)>>26,this.words[i+r]=67108863&o;if(0===l)return this.strip();for(n(-1===l),l=0,i=0;i<this.length;i++)l=(o=-(0|this.words[i])+l)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},h.prototype._wordDiv=function(t,e){var r=(this.length,t.length),a=this.clone(),b=t,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"!==e){(q=new h(null)).length=o+1,q.words=new Array(q.length);for(var i=0;i<q.length;i++)q.words[i]=0}var l=a.clone()._ishlnsubmul(b,1,o);0===l.negative&&(a=l,q&&(q.words[o]=1));for(var c=o-1;c>=0;c--){var f=67108864*(0|a.words[b.length+c])+(0|a.words[b.length+c-1]);for(f=Math.min(f/n|0,67108863),a._ishlnsubmul(b,f,c);0!==a.negative;)f--,a.negative=0,a._ishlnsubmul(b,1,c),a.isZero()||(a.negative^=1);q&&(q.words[c]=f)}return q&&q.strip(),a.strip(),"div"!==e&&0!==r&&a.iushrn(r),{div:q||null,mod:a}},h.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new h(0),mod:new h(0)}:0!==this.negative&&0===t.negative?(l=this.neg().divmod(t,e),"mod"!==e&&(div=l.div.neg()),"div"!==e&&(o=l.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:div,mod:o}):0===this.negative&&0!==t.negative?(l=this.divmod(t.neg(),e),"mod"!==e&&(div=l.div.neg()),{div:div,mod:l.mod}):0!=(this.negative&t.negative)?(l=this.neg().divmod(t.neg(),e),"div"!==e&&(o=l.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:l.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new h(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new h(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new h(this.modn(t.words[0]))}:this._wordDiv(t,e);var div,o,l},h.prototype.div=function(t){return this.divmod(t,"div",!1).div},h.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},h.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},h.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),o=t.andln(1),h=r.cmp(n);return h<0||1===o&&0===h?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},h.prototype.modn=function(t){n(t<=67108863);for(var p=(1<<26)%t,e=0,i=this.length-1;i>=0;i--)e=(p*e+(0|this.words[i]))%t;return e},h.prototype.idivn=function(t){n(t<=67108863);for(var e=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+67108864*e;this.words[i]=r/t|0,e=r%t}return this.strip()},h.prototype.divn=function(t){return this.clone().idivn(t)},h.prototype.egcd=function(p){n(0===p.negative),n(!p.isZero());var t=this,e=p.clone();t=0!==t.negative?t.umod(p):t.clone();for(var r=new h(1),o=new h(0),l=new h(0),c=new h(1),g=0;t.isEven()&&e.isEven();)t.iushrn(1),e.iushrn(1),++g;for(var f=e.clone(),d=t.clone();!t.isZero();){for(var i=0,m=1;0==(t.words[0]&m)&&i<26;++i,m<<=1);if(i>0)for(t.iushrn(i);i-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(f),o.isub(d)),r.iushrn(1),o.iushrn(1);for(var v=0,y=1;0==(e.words[0]&y)&&v<26;++v,y<<=1);if(v>0)for(e.iushrn(v);v-- >0;)(l.isOdd()||c.isOdd())&&(l.iadd(f),c.isub(d)),l.iushrn(1),c.iushrn(1);t.cmp(e)>=0?(t.isub(e),r.isub(l),o.isub(c)):(e.isub(t),l.isub(r),c.isub(o))}return{a:l,b:c,gcd:e.iushln(g)}},h.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 t,e=new h(1),r=new h(0),o=b.clone();a.cmpn(1)>0&&b.cmpn(1)>0;){for(var i=0,l=1;0==(a.words[0]&l)&&i<26;++i,l<<=1);if(i>0)for(a.iushrn(i);i-- >0;)e.isOdd()&&e.iadd(o),e.iushrn(1);for(var c=0,f=1;0==(b.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(b.iushrn(c);c-- >0;)r.isOdd()&&r.iadd(o),r.iushrn(1);a.cmp(b)>=0?(a.isub(b),e.isub(r)):(b.isub(a),r.isub(e))}return(t=0===a.cmpn(1)?e:r).cmpn(0)<0&&t.iadd(p),t},h.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var a=this.clone(),b=t.clone();a.negative=0,b.negative=0;for(var e=0;a.isEven()&&b.isEven();e++)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(e)},h.prototype.invm=function(t){return this.egcd(t).a.umod(t)},h.prototype.isEven=function(){return 0==(1&this.words[0])},h.prototype.isOdd=function(){return 1==(1&this.words[0])},h.prototype.andln=function(t){return this.words[0]&t},h.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,s=(t-e)/26,q=1<<e;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},h.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},h.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var o=0|this.words[0];e=o===t?0:o<t?-1:1}return 0!==this.negative?0|-e:e},h.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},h.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,i=this.length-1;i>=0;i--){var a=0|this.words[i],b=0|t.words[i];if(a!==b){a<b?e=-1:a>b&&(e=1);break}}return e},h.prototype.gtn=function(t){return 1===this.cmpn(t)},h.prototype.gt=function(t){return 1===this.cmp(t)},h.prototype.gten=function(t){return this.cmpn(t)>=0},h.prototype.gte=function(t){return this.cmp(t)>=0},h.prototype.ltn=function(t){return-1===this.cmpn(t)},h.prototype.lt=function(t){return-1===this.cmp(t)},h.prototype.lten=function(t){return this.cmpn(t)<=0},h.prototype.lte=function(t){return this.cmp(t)<=0},h.prototype.eqn=function(t){return 0===this.cmpn(t)},h.prototype.eq=function(t){return 0===this.cmp(t)},h.red=function(t){return new C(t)},h.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},h.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},h.prototype._forceRed=function(t){return this.red=t,this},h.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},h.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},h.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},h.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},h.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},h.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},h.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},h.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},h.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},h.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},h.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},h.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},h.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},h.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var S={k256:null,p224:null,p192:null,p25519:null};function x(t,p){this.name=t,this.p=new h(p,16),this.n=this.p.bitLength(),this.k=new h(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function E(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function A(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function T(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function k(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(t){if("string"==typeof t){var e=h._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function O(t){C.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new h(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)}x.prototype._tmp=function(){var t=new h(null);return t.words=new Array(Math.ceil(this.n/13)),t},x.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<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},x.prototype.split=function(input,t){input.iushrn(this.n,0,t)},x.prototype.imulK=function(t){return t.imul(this.k)},o(E,x),E.prototype.split=function(input,output){for(var t=Math.min(input.length,9),i=0;i<t;i++)output.words[i]=input.words[i];if(output.length=t,input.length<=9)return input.words[0]=0,void(input.length=1);var e=input.words[9];for(output.words[output.length++]=4194303&e,i=10;i<input.length;i++){var r=0|input.words[i];input.words[i-10]=(4194303&r)<<4|e>>>22,e=r}e>>>=22,input.words[i-10]=e,0===e&&input.length>10?input.length-=10:input.length-=9},E.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,i=0;i<t.length;i++){var r=0|t.words[i];e+=977*r,t.words[i]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},o(A,x),o(T,x),o(k,x),k.prototype.imulK=function(t){for(var e=0,i=0;i<t.length;i++){var r=19*(0|t.words[i])+e,n=67108863&r;r>>>=26,t.words[i]=n,e=r}return 0!==e&&(t.words[t.length++]=e),t},h._prime=function(t){if(S[t])return S[t];var e;if("k256"===t)e=new E;else if("p224"===t)e=new A;else if("p192"===t)e=new T;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new k}return S[t]=e,e},C.prototype._verify1=function(a){n(0===a.negative,"red works only with positives"),n(a.red,"red works only with red numbers")},C.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")},C.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.umod(this.m)._forceRed(this)},C.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},C.prototype.add=function(a,b){this._verify2(a,b);var t=a.add(b);return t.cmp(this.m)>=0&&t.isub(this.m),t._forceRed(this)},C.prototype.iadd=function(a,b){this._verify2(a,b);var t=a.iadd(b);return t.cmp(this.m)>=0&&t.isub(this.m),t},C.prototype.sub=function(a,b){this._verify2(a,b);var t=a.sub(b);return t.cmpn(0)<0&&t.iadd(this.m),t._forceRed(this)},C.prototype.isub=function(a,b){this._verify2(a,b);var t=a.isub(b);return t.cmpn(0)<0&&t.iadd(this.m),t},C.prototype.shl=function(a,t){return this._verify1(a),this.imod(a.ushln(t))},C.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},C.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},C.prototype.isqr=function(a){return this.imul(a,a.clone())},C.prototype.sqr=function(a){return this.mul(a,a)},C.prototype.sqrt=function(a){if(a.isZero())return a.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var e=this.m.add(new h(1)).iushrn(2);return this.pow(a,e)}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 h(1).toRed(this),o=r.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new h(2*c*c).toRed(this);0!==this.pow(c,l).cmp(o);)c.redIAdd(o);for(var f=this.pow(c,q),d=this.pow(a,q.addn(1).iushrn(1)),m=this.pow(a,q),v=s;0!==m.cmp(r);){for(var y=m,i=0;0!==y.cmp(r);i++)y=y.redSqr();n(i<v);var b=this.pow(f,new h(1).iushln(v-i-1));d=d.redMul(b),f=b.redSqr(),m=m.redMul(f),v=i}return d},C.prototype.invm=function(a){var t=a._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},C.prototype.pow=function(a,t){if(t.isZero())return new h(1).toRed(this);if(0===t.cmpn(1))return a.clone();var e=new Array(16);e[0]=new h(1).toRed(this),e[1]=a;for(var i=2;i<e.length;i++)e[i]=this.mul(e[i-1],a);var r=e[0],n=0,o=0,l=t.bitLength()%26;for(0===l&&(l=26),i=t.length-1;i>=0;i--){for(var c=t.words[i],f=l-1;f>=0;f--){var d=c>>f&1;r!==e[0]&&(r=this.sqr(r)),0!==d||0!==n?(n<<=1,n|=d,(4===++o||0===i&&0===f)&&(r=this.mul(r,e[n]),o=0,n=0)):o=0}l=26}return r},C.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},C.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},h.mont=function(t){return new O(t)},o(O,C),O.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},O.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},O.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;var t=a.imul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).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 h(0)._forceRed(this);var t=a.mul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).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)}}(t,this)}).call(this,r(143)(t))},,,function(t){t.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":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},function(t,e,r){(function(e){var n=r(544),o=new(r(545)),h=new n(24),l=new n(11),c=new n(10),f=new n(3),d=new n(7),m=r(543),v=r(188);function y(t,r){return r=r||"utf8",e.isBuffer(t)||(t=new e(t,r)),this._pub=new n(t),this}function w(t,r){return r=r||"utf8",e.isBuffer(t)||(t=new e(t,r)),this._priv=new n(t),this}t.exports=M;var _={};function M(t,e,r){this.setGenerator(e),this.__prime=new n(t),this._prime=n.mont(this.__prime),this._primeLen=t.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=y,this.setPrivateKey=w):this._primeCode=8}function S(t,r){var n=new e(t.toArray());return r?n.toString(r):n}Object.defineProperty(M.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(t,e){var r=e.toString("hex"),n=[r,t.toString(16)].join("_");if(n in _)return _[n];var v,y=0;if(t.isEven()||!m.simpleSieve||!m.fermatTest(t)||!o.test(t))return y+=1,y+="02"===r||"05"===r?8:4,_[n]=y,y;switch(o.test(t.shrn(1))||(y+=2),r){case"02":t.mod(h).cmp(l)&&(y+=8);break;case"05":(v=t.mod(c)).cmp(f)&&v.cmp(d)&&(y+=8);break;default:y+=4}return _[n]=y,y}(this.__prime,this.__gen)),this._primeCode}}),M.prototype.generateKeys=function(){return this._priv||(this._priv=new n(v(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},M.prototype.computeSecret=function(t){var r=(t=(t=new n(t)).toRed(this._prime)).redPow(this._priv).fromRed(),o=new e(r.toArray()),h=this.getPrime();if(o.length<h.length){var l=new e(h.length-o.length);l.fill(0),o=e.concat([l,o])}return o},M.prototype.getPublicKey=function(t){return S(this._pub,t)},M.prototype.getPrivateKey=function(t){return S(this._priv,t)},M.prototype.getPrime=function(t){return S(this.__prime,t)},M.prototype.getGenerator=function(t){return S(this._gen,t)},M.prototype.setGenerator=function(t,r){return r=r||"utf8",e.isBuffer(t)||(t=new e(t,r)),this.__gen=t,this._gen=new n(t),this}}).call(this,r(61).Buffer)},function(t,e,r){var n=r(335).Buffer,o=r(229),h=r(761),l=r(36),c=r(769),f=r(800),d=r(530);function m(t){h.Writable.call(this);var data=d[t];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 v(t){h.Writable.call(this);var data=d[t];if(!data)throw new Error("Unknown message digest");this._hash=o(data.hash),this._tag=data.id,this._signType=data.sign}function y(t){return new m(t)}function w(t){return new v(t)}Object.keys(d).forEach((function(t){d[t].id=n.from(d[t].id,"hex"),d[t.toLowerCase()]=d[t]})),l(m,h.Writable),m.prototype._write=function(data,t,e){this._hash.update(data),e()},m.prototype.update=function(data,t){return"string"==typeof data&&(data=n.from(data,t)),this._hash.update(data),this},m.prototype.sign=function(t,e){this.end();var r=this._hash.digest(),n=c(r,t,this._hashType,this._signType,this._tag);return e?n.toString(e):n},l(v,h.Writable),v.prototype._write=function(data,t,e){this._hash.update(data),e()},v.prototype.update=function(data,t){return"string"==typeof data&&(data=n.from(data,t)),this._hash.update(data),this},v.prototype.verify=function(t,e,r){"string"==typeof e&&(e=n.from(e,r)),this.end();var o=this._hash.digest();return f(e,o,t,this._signType,this._tag)},t.exports={Sign:y,Verify:w,createSign:y,createVerify:w}},function(t,e,r){(e=t.exports=r(546)).Stream=e,e.Readable=e,e.Writable=r(550),e.Duplex=r(193),e.Transform=r(551),e.PassThrough=r(767),e.finished=r(336),e.pipeline=r(768)},,function(t,e,r){"use strict";function n(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function h(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var l=r(61).Buffer,c=r(764).inspect,f=c&&c.custom||"inspect";t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}var e,r,d;return e=t,(r=[{key:"push",value:function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length}},{key:"unshift",value:function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length}},{key:"shift",value:function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}}},{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,t=""+p.data;p=p.next;)t+=s+p.data;return t}},{key:"concat",value:function(t){if(0===this.length)return l.alloc(0);for(var e,r,n,o=l.allocUnsafe(t>>>0),p=this.head,i=0;p;)e=p.data,r=o,n=i,l.prototype.copy.call(e,r,n),i+=p.data.length,p=p.next;return o}},{key:"consume",value:function(t,e){var r;return t<this.head.data.length?(r=this.head.data.slice(0,t),this.head.data=this.head.data.slice(t)):r=t===this.head.data.length?this.shift():e?this._getString(t):this._getBuffer(t),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(t){var p=this.head,e=1,r=p.data;for(t-=r.length;p=p.next;){var n=p.data,o=t>n.length?n.length:t;if(o===n.length?r+=n:r+=n.slice(0,t),0==(t-=o)){o===n.length?(++e,p.next?this.head=p.next:this.head=this.tail=null):(this.head=p,p.data=n.slice(o));break}++e}return this.length-=e,r}},{key:"_getBuffer",value:function(t){var e=l.allocUnsafe(t),p=this.head,r=1;for(p.data.copy(e),t-=p.data.length;p=p.next;){var n=p.data,o=t>n.length?n.length:t;if(n.copy(e,e.length-t,0,o),0==(t-=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,e}},{key:f,value:function(t,e){return c(this,function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?n(Object(source),!0).forEach((function(e){o(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):n(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({},e,{depth:0,customInspect:!1}))}}])&&h(e.prototype,r),d&&h(e,d),t}()},,function(t,e,r){"use strict";(function(e){var n;function o(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var h=r(336),l=Symbol("lastResolve"),c=Symbol("lastReject"),f=Symbol("error"),d=Symbol("ended"),m=Symbol("lastPromise"),v=Symbol("handlePromise"),y=Symbol("stream");function w(t,e){return{value:t,done:e}}function _(t){var e=t[l];if(null!==e){var data=t[y].read();null!==data&&(t[m]=null,t[l]=null,t[c]=null,e(w(data,!1)))}}function M(t){e.nextTick(_,t)}var S=Object.getPrototypeOf((function(){})),x=Object.setPrototypeOf((o(n={get stream(){return this[y]},next:function(){var t=this,r=this[f];if(null!==r)return Promise.reject(r);if(this[d])return Promise.resolve(w(void 0,!0));if(this[y].destroyed)return new Promise((function(r,n){e.nextTick((function(){t[f]?n(t[f]):r(w(void 0,!0))}))}));var n,o=this[m];if(o)n=new Promise(function(t,e){return function(r,n){t.then((function(){e[d]?r(w(void 0,!0)):e[v](r,n)}),n)}}(o,this));else{var data=this[y].read();if(null!==data)return Promise.resolve(w(data,!1));n=new Promise(this[v])}return this[m]=n,n}},Symbol.asyncIterator,(function(){return this})),o(n,"return",(function(){var t=this;return new Promise((function(e,r){t[y].destroy(null,(function(t){t?r(t):e(w(void 0,!0))}))}))})),n),S);t.exports=function(t){var e,r=Object.create(x,(o(e={},y,{value:t,writable:!0}),o(e,l,{value:null,writable:!0}),o(e,c,{value:null,writable:!0}),o(e,f,{value:null,writable:!0}),o(e,d,{value:t._readableState.endEmitted,writable:!0}),o(e,v,{value:function(t,e){var data=r[y].read();data?(r[m]=null,r[l]=null,r[c]=null,t(w(data,!1))):(r[l]=t,r[c]=e)},writable:!0}),e));return r[m]=null,h(t,(function(t){if(t&&"ERR_STREAM_PREMATURE_CLOSE"!==t.code){var e=r[c];return null!==e&&(r[m]=null,r[l]=null,r[c]=null,e(t)),void(r[f]=t)}var n=r[l];null!==n&&(r[m]=null,r[l]=null,r[c]=null,n(w(void 0,!0))),r[d]=!0})),t.on("readable",M.bind(null,r)),r}}).call(this,r(69))},function(t,e){t.exports=function(){throw new Error("Readable.from is not available in the browser")}},function(t,e,r){"use strict";t.exports=o;var n=r(551);function o(t){if(!(this instanceof o))return new o(t);n.call(this,t)}r(36)(o,n),o.prototype._transform=function(t,e,r){r(null,t)}},function(t,e,r){"use strict";var n;var o=r(192).codes,h=o.ERR_MISSING_ARGS,l=o.ERR_STREAM_DESTROYED;function c(t){if(t)throw t}function f(t,e,o,h){h=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(h);var c=!1;t.on("close",(function(){c=!0})),void 0===n&&(n=r(336)),n(t,{readable:e,writable:o},(function(t){if(t)return h(t);c=!0,h()}));var f=!1;return function(e){if(!c&&!f)return f=!0,function(t){return t.setHeader&&"function"==typeof t.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void h(e||new l("pipe"))}}function d(t){t()}function m(t,e){return t.pipe(e)}function v(t){return t.length?"function"!=typeof t[t.length-1]?c:t.pop():c}t.exports=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var n,o=v(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new h("streams");var l=e.map((function(t,i){var r=i<e.length-1;return f(t,r,i>0,(function(t){n||(n=t),t&&l.forEach(d),r||(l.forEach(d),o(n))}))}));return e.reduce(m)}},function(t,e,r){var n=r(335).Buffer,o=r(528),h=r(337),l=r(339).ec,c=r(338),f=r(276),d=r(563);function m(t,q,e,r){if((t=n.from(t.toArray())).length<q.byteLength()){var h=n.alloc(q.byteLength()-t.length);t=n.concat([h,t])}var l=e.length,c=function(t,q){t=(t=v(t,q)).mod(q);var e=n.from(t.toArray());if(e.length<q.byteLength()){var r=n.alloc(q.byteLength()-e.length);e=n.concat([r,e])}return e}(e,q),f=n.alloc(l);f.fill(1);var d=n.alloc(l);return d=o(r,d).update(f).update(n.from([0])).update(t).update(c).digest(),f=o(r,d).update(f).digest(),{k:d=o(r,d).update(f).update(n.from([1])).update(t).update(c).digest(),v:f=o(r,d).update(f).digest()}}function v(t,q){var e=new c(t),r=(t.length<<3)-q.bitLength();return r>0&&e.ishrn(r),e}function y(q,t,e){var r,h;do{for(r=n.alloc(0);8*r.length<q.bitLength();)t.v=o(e,t.k).update(t.v).digest(),r=n.concat([r,t.v]);h=v(r,q),t.k=o(e,t.k).update(t.v).update(n.from([0])).digest(),t.v=o(e,t.k).update(t.v).digest()}while(-1!==h.cmp(q));return h}function w(g,t,p,q){return g.toRed(c.mont(p)).redPow(t).fromRed().mod(q)}t.exports=function(t,e,r,o,_){var M=f(e);if(M.curve){if("ecdsa"!==o&&"ecdsa/rsa"!==o)throw new Error("wrong private key type");return function(t,e){var r=d[e.curve.join(".")];if(!r)throw new Error("unknown curve "+e.curve.join("."));var o=new l(r).keyFromPrivate(e.privateKey).sign(t);return n.from(o.toDER())}(t,M)}if("dsa"===M.type){if("dsa"!==o)throw new Error("wrong private key type");return function(t,e,r){var o,h=e.params.priv_key,p=e.params.p,q=e.params.q,g=e.params.g,l=new c(0),f=v(t,q).mod(q),s=!1,d=m(h,q,t,r);for(;!1===s;)o=y(q,d,r),l=w(g,o,p,q),0===(s=o.invm(q).imul(f.add(h.mul(l))).mod(q)).cmpn(0)&&(s=!1,l=new c(0));return function(t,s){t=t.toArray(),s=s.toArray(),128&t[0]&&(t=[0].concat(t));128&s[0]&&(s=[0].concat(s));var e=[48,t.length+s.length+4,2,t.length];return e=e.concat(t,[2,s.length],s),n.from(e)}(l,s)}(t,M,r)}if("rsa"!==o&&"ecdsa/rsa"!==o)throw new Error("wrong private key type");t=n.concat([_,t]);for(var S=M.modulus.byteLength(),x=[0,1];t.length+x.length+1<S;)x.push(255);x.push(0);for(var i=-1;++i<t.length;)x.push(t[i]);return h(x,M)},t.exports.getKey=m,t.exports.makeKey=y},,function(t){t.exports=JSON.parse('{"name":"elliptic","version":"6.5.3","description":"EC cryptography","main":"lib/elliptic.js","files":["lib"],"scripts":{"jscs":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","jshint":"jscs benchmarks/*.js lib/*.js lib/**/*.js lib/**/**/*.js test/index.js","lint":"npm run jscs && npm run jshint","unit":"istanbul test _mocha --reporter=spec test/index.js","test":"npm run lint && npm run unit","version":"grunt dist && git add dist/"},"repository":{"type":"git","url":"git@github.com:indutny/elliptic"},"keywords":["EC","Elliptic","curve","Cryptography"],"author":"Fedor Indutny <fedor@indutny.com>","license":"MIT","bugs":{"url":"https://github.com/indutny/elliptic/issues"},"homepage":"https://github.com/indutny/elliptic","devDependencies":{"brfs":"^1.4.3","coveralls":"^3.0.8","grunt":"^1.0.4","grunt-browserify":"^5.0.0","grunt-cli":"^1.2.0","grunt-contrib-connect":"^1.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^1.0.1","grunt-mocha-istanbul":"^3.0.1","grunt-saucelabs":"^9.0.1","istanbul":"^0.4.2","jscs":"^3.0.7","jshint":"^2.10.3","mocha":"^6.2.2"},"dependencies":{"bn.js":"^4.4.0","brorand":"^1.0.1","hash.js":"^1.0.0","hmac-drbg":"^1.0.0","inherits":"^2.0.1","minimalistic-assert":"^1.0.0","minimalistic-crypto-utils":"^1.0.0"},"_resolved":"https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz","_integrity":"sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==","_from":"elliptic@6.5.3"}')},,function(t,e,r){"use strict";var n=r(115),o=r(144),h=r(36),l=r(275),c=n.assert;function f(t){l.call(this,"short",t),this.a=new o(t.a,16).toRed(this.red),this.b=new o(t.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(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function d(t,e,r,n){l.BasePoint.call(this,t,"affine"),null===e&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new o(e,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 m(t,e,r,n){l.BasePoint.call(this,t,"jacobian"),null===e&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new o(0)):(this.x=new o(e,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}h(f,l),t.exports=f,f.prototype._getEndomorphism=function(t){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var e,r;if(t.beta)e=new o(t.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);e=(e=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(t.lambda)r=new o(t.lambda,16);else{var h=this._getEndoRoots(this.n);0===this.g.mul(h[0]).x.cmp(this.g.x.redMul(e))?r=h[0]:(r=h[1],c(0===this.g.mul(r).x.cmp(this.g.x.redMul(e))))}return{beta:e,lambda:r,basis:t.basis?t.basis.map((function(t){return{a:new o(t.a,16),b:new o(t.b,16)}})):this._getEndoBasis(r)}}},f.prototype._getEndoRoots=function(t){var e=t===this.p?this.red:o.mont(t),r=new o(2).toRed(e).redInvm(),n=r.redNeg(),s=new o(3).toRed(e).redNeg().redSqrt().redMul(r);return[n.redAdd(s).fromRed(),n.redSub(s).fromRed()]},f.prototype._getEndoBasis=function(t){for(var e,r,n,h,l,c,f,d,m,v=this.n.ushrn(Math.floor(this.n.bitLength()/2)),u=t,y=this.n.clone(),w=new o(1),_=new o(0),M=new o(0),S=new o(1),i=0;0!==u.cmpn(0);){var q=y.div(u);d=y.sub(q.mul(u)),m=M.sub(q.mul(w));var x=S.sub(q.mul(_));if(!n&&d.cmp(v)<0)e=f.neg(),r=w,n=d.neg(),h=m;else if(n&&2==++i)break;f=d,y=u,u=d,M=w,w=m,S=_,_=x}l=d.neg(),c=m;var E=n.sqr().add(h.sqr());return l.sqr().add(c.sqr()).cmp(E)>=0&&(l=e,c=r),n.negative&&(n=n.neg(),h=h.neg()),l.negative&&(l=l.neg(),c=c.neg()),[{a:n,b:h},{a:l,b:c}]},f.prototype._endoSplit=function(t){var e=this.endo.basis,r=e[0],n=e[1],o=n.b.mul(t).divRound(this.n),h=r.b.neg().mul(t).divRound(this.n),l=o.mul(r.a),c=h.mul(n.a),f=o.mul(r.b),d=h.mul(n.b);return{k1:t.sub(l).sub(c),k2:f.add(d).neg()}},f.prototype.pointFromX=function(t,e){(t=new o(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var h=n.fromRed().isOdd();return(e&&!h||!e&&h)&&(n=n.redNeg()),this.point(t,n)},f.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,r=t.y,n=this.a.redMul(e),o=e.redSqr().redMul(e).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(o).cmpn(0)},f.prototype._endoWnafMulAdd=function(t,e,r){for(var n=this._endoWnafT1,o=this._endoWnafT2,i=0;i<t.length;i++){var h=this._endoSplit(e[i]),p=t[i],l=p._getBeta();h.k1.negative&&(h.k1.ineg(),p=p.neg(!0)),h.k2.negative&&(h.k2.ineg(),l=l.neg(!0)),n[2*i]=p,n[2*i+1]=l,o[2*i]=h.k1,o[2*i+1]=h.k2}for(var c=this._wnafMulAdd(1,n,o,2*i,r),f=0;f<2*i;f++)n[f]=null,o[f]=null;return c},h(d,l.BasePoint),f.prototype.point=function(t,e,r){return new d(this,t,e,r)},f.prototype.pointFromJSON=function(t,e){return d.fromJSON(this,t,e)},d.prototype._getBeta=function(){if(this.curve.endo){var pre=this.precomputed;if(pre&&pre.beta)return pre.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(pre){var e=this.curve,r=function(p){return e.point(p.x.redMul(e.endo.beta),p.y)};pre.beta=t,t.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 t}},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(t,e,r){"string"==typeof e&&(e=JSON.parse(e));var n=t.point(e[0],e[1],r);if(!e[2])return n;function o(e){return t.point(e[0],e[1],r)}var pre=e[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 t=this.y.redSub(p.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(p.x).redInvm()));var e=t.redSqr().redISub(this.x).redISub(p.x),r=t.redMul(this.x.redSub(e)).redISub(this.y);return this.curve.point(e,r)},d.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var a=this.curve.a,e=this.x.redSqr(),r=t.redInvm(),n=e.redAdd(e).redIAdd(e).redIAdd(a).redMul(r),o=n.redSqr().redISub(this.x.redAdd(this.x)),h=n.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,h)},d.prototype.getX=function(){return this.x.fromRed()},d.prototype.getY=function(){return this.y.fromRed()},d.prototype.mul=function(t){return t=new o(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},d.prototype.mulAdd=function(t,e,r){var n=[this,e],o=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,o):this.curve._wnafMulAdd(1,n,o,2)},d.prototype.jmulAdd=function(t,e,r){var n=[this,e],o=[t,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(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var pre=this.precomputed,r=function(p){return p.neg()};e.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 e},d.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},h(m,l.BasePoint),f.prototype.jpoint=function(t,e,r){return new m(this,t,e,r)},m.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),r=this.x.redMul(e),n=this.y.redMul(e).redMul(t);return this.curve.point(r,n)},m.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},m.prototype.add=function(p){if(this.isInfinity())return p;if(p.isInfinity())return this;var t=p.z.redSqr(),e=this.z.redSqr(),r=this.x.redMul(t),n=p.x.redMul(e),o=this.y.redMul(t.redMul(p.z)),h=p.y.redMul(e.redMul(this.z)),l=r.redSub(n),c=o.redSub(h);if(0===l.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var h2=l.redSqr(),h3=h2.redMul(l),f=r.redMul(h2),d=c.redSqr().redIAdd(h3).redISub(f).redISub(f),m=c.redMul(f.redISub(d)).redISub(o.redMul(h3)),v=this.z.redMul(p.z).redMul(l);return this.curve.jpoint(d,m,v)},m.prototype.mixedAdd=function(p){if(this.isInfinity())return p.toJ();if(p.isInfinity())return this;var t=this.z.redSqr(),e=this.x,r=p.x.redMul(t),n=this.y,o=p.y.redMul(t).redMul(this.z),h=e.redSub(r),l=n.redSub(o);if(0===h.cmpn(0))return 0!==l.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var h2=h.redSqr(),h3=h2.redMul(h),c=e.redMul(h2),f=l.redSqr().redIAdd(h3).redISub(c).redISub(c),d=l.redMul(c.redISub(f)).redISub(n.redMul(h3)),m=this.z.redMul(h);return this.curve.jpoint(f,d,m)},m.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var e=this,i=0;i<t;i++)e=e.dbl();return e}var a=this.curve.a,r=this.curve.tinv,n=this.x,o=this.y,h=this.z,l=h.redSqr().redSqr(),c=o.redAdd(o);for(i=0;i<t;i++){var f=n.redSqr(),d=c.redSqr(),m=d.redSqr(),v=f.redAdd(f).redIAdd(f).redIAdd(a.redMul(l)),y=n.redMul(d),w=v.redSqr().redISub(y.redAdd(y)),_=y.redISub(w),M=v.redMul(_);M=M.redIAdd(M).redISub(m);var S=c.redMul(h);i+1<t&&(l=l.redMul(m)),n=w,h=S,c=M}return this.curve.jpoint(n,c.redMul(r),h)},m.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},m.prototype._zeroDbl=function(){var t,e,r;if(this.zOne){var n=this.x.redSqr(),o=this.y.redSqr(),h=o.redSqr(),s=this.x.redAdd(o).redSqr().redISub(n).redISub(h);s=s.redIAdd(s);var l=n.redAdd(n).redIAdd(n),c=l.redSqr().redISub(s).redISub(s),f=h.redIAdd(h);f=(f=f.redIAdd(f)).redIAdd(f),t=c,e=l.redMul(s.redISub(c)).redISub(f),r=this.y.redAdd(this.y)}else{var a=this.x.redSqr(),b=this.y.redSqr(),d=b.redSqr(),m=this.x.redAdd(b).redSqr().redISub(a).redISub(d);m=m.redIAdd(m);var v=a.redAdd(a).redIAdd(a),y=v.redSqr(),w=d.redIAdd(d);w=(w=w.redIAdd(w)).redIAdd(w),t=y.redISub(m).redISub(m),e=v.redMul(m.redISub(t)).redISub(w),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(t,e,r)},m.prototype._threeDbl=function(){var t,e,r;if(this.zOne){var n=this.x.redSqr(),o=this.y.redSqr(),h=o.redSqr(),s=this.x.redAdd(o).redSqr().redISub(n).redISub(h);s=s.redIAdd(s);var l=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),c=l.redSqr().redISub(s).redISub(s);t=c;var f=h.redIAdd(h);f=(f=f.redIAdd(f)).redIAdd(f),e=l.redMul(s.redISub(c)).redISub(f),r=this.y.redAdd(this.y)}else{var d=this.z.redSqr(),m=this.y.redSqr(),v=this.x.redMul(m),y=this.x.redSub(d).redMul(this.x.redAdd(d));y=y.redAdd(y).redIAdd(y);var w=v.redIAdd(v),_=(w=w.redIAdd(w)).redAdd(w);t=y.redSqr().redISub(_),r=this.y.redAdd(this.z).redSqr().redISub(m).redISub(d);var M=m.redSqr();M=(M=(M=M.redIAdd(M)).redIAdd(M)).redIAdd(M),e=y.redMul(w.redISub(t)).redISub(M)}return this.curve.jpoint(t,e,r)},m.prototype._dbl=function(){var a=this.curve.a,t=this.x,e=this.y,r=this.z,n=r.redSqr().redSqr(),o=t.redSqr(),h=e.redSqr(),l=o.redAdd(o).redIAdd(o).redIAdd(a.redMul(n)),c=t.redAdd(t),f=(c=c.redIAdd(c)).redMul(h),d=l.redSqr().redISub(f.redAdd(f)),m=f.redISub(d),v=h.redSqr();v=(v=(v=v.redIAdd(v)).redIAdd(v)).redIAdd(v);var y=l.redMul(m).redISub(v),w=e.redAdd(e).redMul(r);return this.curve.jpoint(d,y,w)},m.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var t=this.x.redSqr(),e=this.y.redSqr(),r=this.z.redSqr(),n=e.redSqr(),o=t.redAdd(t).redIAdd(t),h=o.redSqr(),l=this.x.redAdd(e).redSqr().redISub(t).redISub(n),c=(l=(l=(l=l.redIAdd(l)).redAdd(l).redIAdd(l)).redISub(h)).redSqr(),f=n.redIAdd(n);f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var u=o.redIAdd(l).redSqr().redISub(h).redISub(c).redISub(f),d=e.redMul(u);d=(d=d.redIAdd(d)).redIAdd(d);var m=this.x.redMul(c).redISub(d);m=(m=m.redIAdd(m)).redIAdd(m);var v=this.y.redMul(u.redMul(f.redISub(u)).redISub(l.redMul(c)));v=(v=(v=v.redIAdd(v)).redIAdd(v)).redIAdd(v);var y=this.z.redAdd(l).redSqr().redISub(r).redISub(c);return this.curve.jpoint(m,v,y)},m.prototype.mul=function(t,e){return t=new o(t,e),this.curve._wnafMul(this,t)},m.prototype.eq=function(p){if("affine"===p.type)return this.eq(p.toJ());if(this===p)return!0;var t=this.z.redSqr(),e=p.z.redSqr();if(0!==this.x.redMul(e).redISub(p.x.redMul(t)).cmpn(0))return!1;var r=t.redMul(this.z),n=e.redMul(p.z);return 0===this.y.redMul(n).redISub(p.y.redMul(r)).cmpn(0)},m.prototype.eqXToP=function(t){var e=this.z.redSqr(),r=t.toRed(this.curve.red).redMul(e);if(0===this.x.cmp(r))return!0;for(var n=t.clone(),o=this.curve.redN.redMul(e);;){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}},m.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)+">"},m.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},function(t,e,r){"use strict";var n=r(144),o=r(36),h=r(275),l=r(115);function c(t){h.call(this,"mont",t),this.a=new n(t.a,16).toRed(this.red),this.b=new n(t.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 f(t,e,r){h.BasePoint.call(this,t,"projective"),null===e&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(e,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(c,h),t.exports=c,c.prototype.validate=function(t){var e=t.normalize().x,r=e.redSqr(),n=r.redMul(e).redAdd(r.redMul(this.a)).redAdd(e);return 0===n.redSqrt().redSqr().cmp(n)},o(f,h.BasePoint),c.prototype.decodePoint=function(t,e){return this.point(l.toArray(t,e),1)},c.prototype.point=function(t,e){return new f(this,t,e)},c.prototype.pointFromJSON=function(t){return f.fromJSON(this,t)},f.prototype.precompute=function(){},f.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},f.fromJSON=function(t,e){return new f(t,e[0],e[1]||t.one)},f.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)+">"},f.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},f.prototype.dbl=function(){var t=this.x.redAdd(this.z).redSqr(),e=this.x.redSub(this.z).redSqr(),r=t.redSub(e),n=t.redMul(e),o=r.redMul(e.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,o)},f.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},f.prototype.diffAdd=function(p,t){var a=this.x.redAdd(this.z),b=this.x.redSub(this.z),e=p.x.redAdd(p.z),r=p.x.redSub(p.z).redMul(a),n=e.redMul(b),o=t.z.redMul(r.redAdd(n).redSqr()),h=t.x.redMul(r.redISub(n).redSqr());return this.curve.point(o,h)},f.prototype.mul=function(t){for(var e=t.clone(),a=this,b=this.curve.point(null,null),r=[];0!==e.cmpn(0);e.iushrn(1))r.push(e.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},f.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},f.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},f.prototype.eq=function(t){return 0===this.getX().cmp(t.getX())},f.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},f.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},function(t,e,r){"use strict";var n=r(115),o=r(144),h=r(36),l=r(275),c=n.assert;function f(t){this.twisted=1!=(0|t.a),this.mOneA=this.twisted&&-1==(0|t.a),this.extended=this.mOneA,l.call(this,"edwards",t),this.a=new o(t.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new o(t.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new o(t.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),c(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|t.c)}function d(t,e,r,n,h){l.BasePoint.call(this,t,"projective"),null===e&&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(e,16),this.y=new o(r,16),this.z=n?new o(n,16):this.curve.one,this.t=h&&new o(h,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()))))}h(f,l),t.exports=f,f.prototype._mulA=function(t){return this.mOneA?t.redNeg():this.a.redMul(t)},f.prototype._mulC=function(t){return this.oneC?t:this.c.redMul(t)},f.prototype.jpoint=function(t,e,r,n){return this.point(t,e,r,n)},f.prototype.pointFromX=function(t,e){(t=new o(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr(),n=this.c2.redSub(this.a.redMul(r)),h=this.one.redSub(this.c2.redMul(this.d).redMul(r)),l=n.redMul(h.redInvm()),c=l.redSqrt();if(0!==c.redSqr().redSub(l).cmp(this.zero))throw new Error("invalid point");var f=c.fromRed().isOdd();return(e&&!f||!e&&f)&&(c=c.redNeg()),this.point(t,c)},f.prototype.pointFromY=function(t,e){(t=new o(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr(),n=r.redSub(this.c2),h=r.redMul(this.d).redMul(this.c2).redSub(this.a),l=n.redMul(h.redInvm());if(0===l.cmp(this.zero)){if(e)throw new Error("invalid point");return this.point(this.zero,t)}var c=l.redSqrt();if(0!==c.redSqr().redSub(l).cmp(this.zero))throw new Error("invalid point");return c.fromRed().isOdd()!==e&&(c=c.redNeg()),this.point(c,t)},f.prototype.validate=function(t){if(t.isInfinity())return!0;t.normalize();var e=t.x.redSqr(),r=t.y.redSqr(),n=e.redMul(this.a).redAdd(r),o=this.c2.redMul(this.one.redAdd(this.d.redMul(e).redMul(r)));return 0===n.cmp(o)},h(d,l.BasePoint),f.prototype.pointFromJSON=function(t){return d.fromJSON(this,t)},f.prototype.point=function(t,e,r,n){return new d(this,t,e,r,n)},d.fromJSON=function(t,e){return new d(t,e[0],e[1],e[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(),t=this.z.redSqr();t=t.redIAdd(t);var e=this.curve._mulA(a),r=this.x.redAdd(this.y).redSqr().redISub(a).redISub(b),g=e.redAdd(b),n=g.redSub(t),o=e.redSub(b),h=r.redMul(n),l=g.redMul(o),c=r.redMul(o),f=n.redMul(g);return this.curve.point(h,l,f,c)},d.prototype._projDbl=function(){var t,e,r,b=this.x.redAdd(this.y).redSqr(),n=this.x.redSqr(),o=this.y.redSqr();if(this.curve.twisted){var h=(f=this.curve._mulA(n)).redAdd(o);if(this.zOne)t=b.redSub(n).redSub(o).redMul(h.redSub(this.curve.two)),e=h.redMul(f.redSub(o)),r=h.redSqr().redSub(h).redSub(h);else{var l=this.z.redSqr(),c=h.redSub(l).redISub(l);t=b.redSub(n).redISub(o).redMul(c),e=h.redMul(f.redSub(o)),r=h.redMul(c)}}else{var f=n.redAdd(o);l=this.curve._mulC(this.z).redSqr(),c=f.redSub(l).redSub(l);t=this.curve._mulC(b.redISub(f)).redMul(c),e=this.curve._mulC(f).redMul(n.redISub(o)),r=f.redMul(c)}return this.curve.point(t,e,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)),t=this.t.redMul(this.curve.dd).redMul(p.t),e=this.z.redMul(p.z.redAdd(p.z)),r=b.redSub(a),n=e.redSub(t),g=e.redAdd(t),o=b.redAdd(a),h=r.redMul(n),l=g.redMul(o),c=r.redMul(o),f=n.redMul(g);return this.curve.point(h,l,f,c)},d.prototype._projAdd=function(p){var t,e,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),h=b.redSub(o),g=b.redAdd(o),l=this.x.redAdd(this.y).redMul(p.x.redAdd(p.y)).redISub(r).redISub(n),c=a.redMul(h).redMul(l);return this.curve.twisted?(t=a.redMul(g).redMul(n.redSub(this.curve._mulA(r))),e=h.redMul(g)):(t=a.redMul(g).redMul(n.redSub(r)),e=this.curve._mulC(h).redMul(g)),this.curve.point(c,t,e)},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(t){return this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve._wnafMul(this,t)},d.prototype.mulAdd=function(t,p,e){return this.curve._wnafMulAdd(1,[this,p],[t,e],2,!1)},d.prototype.jmulAdd=function(t,p,e){return this.curve._wnafMulAdd(1,[this,p],[t,e],2,!0)},d.prototype.normalize=function(){if(this.zOne)return this;var t=this.z.redInvm();return this.x=this.x.redMul(t),this.y=this.y.redMul(t),this.t&&(this.t=this.t.redMul(t)),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(t){return this===t||0===this.getX().cmp(t.getX())&&0===this.getY().cmp(t.getY())},d.prototype.eqXToP=function(t){var e=t.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(e))return!0;for(var r=t.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(e.redIAdd(n),0===this.x.cmp(e))return!0}},d.prototype.toP=d.prototype.normalize,d.prototype.mixedAdd=d.prototype.add},function(t,e,r){"use strict";e.sha1=r(777),e.sha224=r(778),e.sha256=r(555),e.sha384=r(779),e.sha512=r(556)},function(t,e,r){"use strict";var n=r(128),o=r(231),h=r(554),l=n.rotl32,c=n.sum32,f=n.sum32_5,d=h.ft_1,m=o.BlockHash,v=[1518500249,1859775393,2400959708,3395469782];function y(){if(!(this instanceof y))return new y;m.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(y,m),t.exports=y,y.blockSize=512,y.outSize=160,y.hmacStrength=80,y.padLength=64,y.prototype._update=function(t,e){for(var r=this.W,i=0;i<16;i++)r[i]=t[e+i];for(;i<r.length;i++)r[i]=l(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],h=this.h[4];for(i=0;i<r.length;i++){var s=~~(i/20),m=f(l(a,5),d(s,b,n,o),h,r[i],v[s]);h=o,o=n,n=l(b,30),b=a,a=m}this.h[0]=c(this.h[0],a),this.h[1]=c(this.h[1],b),this.h[2]=c(this.h[2],n),this.h[3]=c(this.h[3],o),this.h[4]=c(this.h[4],h)},y.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},function(t,e,r){"use strict";var n=r(128),o=r(555);function h(){if(!(this instanceof h))return new h;o.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(h,o),t.exports=h,h.blockSize=512,h.outSize=224,h.hmacStrength=192,h.padLength=64,h.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},function(t,e,r){"use strict";var n=r(128),o=r(556);function h(){if(!(this instanceof h))return new h;o.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}n.inherits(h,o),t.exports=h,h.blockSize=1024,h.outSize=384,h.hmacStrength=192,h.padLength=128,h.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")}},function(t,e,r){"use strict";var n=r(128),o=r(231),h=n.rotl32,l=n.sum32,c=n.sum32_3,f=n.sum32_4,d=o.BlockHash;function m(){if(!(this instanceof m))return new m;d.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function v(t,e,r,n){return t<=15?e^r^n:t<=31?e&r|~e&n:t<=47?(e|~r)^n:t<=63?e&n|r&~n:e^(r|~n)}function y(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function w(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}n.inherits(m,d),e.ripemd160=m,m.blockSize=512,m.outSize=160,m.hmacStrength=192,m.padLength=64,m.prototype._update=function(t,e){for(var r=this.h[0],n=this.h[1],o=this.h[2],d=this.h[3],m=this.h[4],x=r,E=n,A=o,T=d,k=m,C=0;C<80;C++){var O=l(h(f(r,v(C,n,o,d),t[_[C]+e],y(C)),s[C]),m);r=m,m=d,d=h(o,10),o=n,n=O,O=l(h(f(x,v(79-C,E,A,T),t[M[C]+e],w(C)),S[C]),k),x=k,k=T,T=h(A,10),A=E,E=O}O=c(this.h[1],o,T),this.h[1]=c(this.h[2],d,k),this.h[2]=c(this.h[3],m,x),this.h[3]=c(this.h[4],r,E),this.h[4]=c(this.h[0],n,A),this.h[0]=O},m.prototype._digest=function(t){return"hex"===t?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],M=[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(t,e,r){"use strict";var n=r(128),o=r(114);function h(t,e,r){if(!(this instanceof h))return new h(t,e,r);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(e,r))}t.exports=h,h.prototype._init=function(t){t.length>this.blockSize&&(t=(new this.Hash).update(t).digest()),o(t.length<=this.blockSize);for(var i=t.length;i<this.blockSize;i++)t.push(0);for(i=0;i<t.length;i++)t[i]^=54;for(this.inner=(new this.Hash).update(t),i=0;i<t.length;i++)t[i]^=106;this.outer=(new this.Hash).update(t)},h.prototype.update=function(t,e){return this.inner.update(t,e),this},h.prototype.digest=function(t){return this.outer.update(this.inner.digest()),this.outer.digest(t)}},function(t,e){t.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"]]}}},function(t,e,r){"use strict";var n=r(144),o=r(784),h=r(115),l=r(340),c=r(334),f=h.assert,d=r(785),m=r(786);function v(t){if(!(this instanceof v))return new v(t);"string"==typeof t&&(f(l.hasOwnProperty(t),"Unknown curve "+t),t=l[t]),t instanceof l.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}t.exports=v,v.prototype.keyPair=function(t){return new d(this,t)},v.prototype.keyFromPrivate=function(t,e){return d.fromPrivate(this,t,e)},v.prototype.keyFromPublic=function(t,e){return d.fromPublic(this,t,e)},v.prototype.genKeyPair=function(t){t||(t={});for(var e=new o({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||c(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),h=this.n.sub(new n(2));;){var l=new n(e.generate(r));if(!(l.cmp(h)>0))return l.iaddn(1),this.keyFromPrivate(l)}},v.prototype._truncateToN=function(t,e){var r=8*t.byteLength()-this.n.bitLength();return r>0&&(t=t.ushrn(r)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},v.prototype.sign=function(t,e,r,h){"object"==typeof r&&(h=r,r=null),h||(h={}),e=this.keyFromPrivate(e,r),t=this._truncateToN(new n(t,16));for(var l=this.n.byteLength(),c=e.getPrivate().toArray("be",l),f=t.toArray("be",l),d=new o({hash:this.hash,entropy:c,nonce:f,pers:h.pers,persEnc:h.persEnc||"utf8"}),v=this.n.sub(new n(1)),y=0;;y++){var w=h.k?h.k(y):new n(d.generate(this.n.byteLength()));if(!((w=this._truncateToN(w,!0)).cmpn(1)<=0||w.cmp(v)>=0)){var _=this.g.mul(w);if(!_.isInfinity()){var M=_.getX(),S=M.umod(this.n);if(0!==S.cmpn(0)){var s=w.invm(this.n).mul(S.mul(e.getPrivate()).iadd(t));if(0!==(s=s.umod(this.n)).cmpn(0)){var x=(_.getY().isOdd()?1:0)|(0!==M.cmp(S)?2:0);return h.canonical&&s.cmp(this.nh)>0&&(s=this.n.sub(s),x^=1),new m({r:S,s:s,recoveryParam:x})}}}}}},v.prototype.verify=function(t,e,r,o){t=this._truncateToN(new n(t,16)),r=this.keyFromPublic(r,o);var h=(e=new m(e,"hex")).r,s=e.s;if(h.cmpn(1)<0||h.cmp(this.n)>=0)return!1;if(s.cmpn(1)<0||s.cmp(this.n)>=0)return!1;var p,l=s.invm(this.n),c=l.mul(t).umod(this.n),f=l.mul(h).umod(this.n);return this.curve._maxwellTrick?!(p=this.g.jmulAdd(c,r.getPublic(),f)).isInfinity()&&p.eqXToP(h):!(p=this.g.mulAdd(c,r.getPublic(),f)).isInfinity()&&0===p.getX().umod(this.n).cmp(h)},v.prototype.recoverPubKey=function(t,e,r,o){f((3&r)===r,"The recovery param is more than two bits"),e=new m(e,o);var h=this.n,l=new n(t),c=e.r,s=e.s,d=1&r,v=r>>1;if(c.cmp(this.curve.p.umod(this.curve.n))>=0&&v)throw new Error("Unable to find sencond key candinate");c=v?this.curve.pointFromX(c.add(this.curve.n),d):this.curve.pointFromX(c,d);var y=e.r.invm(h),w=h.sub(l).mul(y).umod(h),_=s.mul(y).umod(h);return this.g.mulAdd(w,c,_)},v.prototype.getKeyRecoveryParam=function(t,e,r,n){if(null!==(e=new m(e,n)).recoveryParam)return e.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(t,e,i)}catch(t){continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},function(t,e,r){"use strict";var n=r(341),o=r(552),h=r(114);function l(t){if(!(this instanceof l))return new l(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=o.toArray(t.entropy,t.entropyEnc||"hex"),r=o.toArray(t.nonce,t.nonceEnc||"hex"),n=o.toArray(t.pers,t.persEnc||"hex");h(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,r,n)}t.exports=l,l.prototype._init=function(t,e,r){var n=t.concat(e).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},l.prototype._hmac=function(){return new n.hmac(this.hash,this.K)},l.prototype._update=function(t){var e=this._hmac().update(this.V).update([0]);t&&(e=e.update(t)),this.K=e.digest(),this.V=this._hmac().update(this.V).digest(),t&&(this.K=this._hmac().update(this.V).update([1]).update(t).digest(),this.V=this._hmac().update(this.V).digest())},l.prototype.reseed=function(t,e,r,n){"string"!=typeof e&&(n=r,r=e,e=null),t=o.toArray(t,e),r=o.toArray(r,n),h(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(r||[])),this._reseed=1},l.prototype.generate=function(t,e,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof e&&(n=r,r=e,e=null),r&&(r=o.toArray(r,n||"hex"),this._update(r));for(var h=[];h.length<t;)this.V=this._hmac().update(this.V).digest(),h=h.concat(this.V);var l=h.slice(0,t);return this._update(r),this._reseed++,o.encode(l,e)}},function(t,e,r){"use strict";var n=r(144),o=r(115).assert;function h(t,e){this.ec=t,this.priv=null,this.pub=null,e.priv&&this._importPrivate(e.priv,e.privEnc),e.pub&&this._importPublic(e.pub,e.pubEnc)}t.exports=h,h.fromPublic=function(t,e,r){return e instanceof h?e:new h(t,{pub:e,pubEnc:r})},h.fromPrivate=function(t,e,r){return e instanceof h?e:new h(t,{priv:e,privEnc:r})},h.prototype.validate=function(){var t=this.getPublic();return t.isInfinity()?{result:!1,reason:"Invalid public key"}:t.validate()?t.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"}},h.prototype.getPublic=function(t,e){return"string"==typeof t&&(e=t,t=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),e?this.pub.encode(e,t):this.pub},h.prototype.getPrivate=function(t){return"hex"===t?this.priv.toString(16,2):this.priv},h.prototype._importPrivate=function(t,e){this.priv=new n(t,e||16),this.priv=this.priv.umod(this.ec.curve.n)},h.prototype._importPublic=function(t,e){if(t.x||t.y)return"mont"===this.ec.curve.type?o(t.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||o(t.x&&t.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(t.x,t.y));this.pub=this.ec.curve.decodePoint(t,e)},h.prototype.derive=function(t){return t.mul(this.priv).getX()},h.prototype.sign=function(t,e,r){return this.ec.sign(t,this,e,r)},h.prototype.verify=function(t,e){return this.ec.verify(t,e,this)},h.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},function(t,e,r){"use strict";var n=r(144),o=r(115),h=o.assert;function l(t,e){if(t instanceof l)return t;this._importDER(t,e)||(h(t.r&&t.s,"Signature without r or s"),this.r=new n(t.r,16),this.s=new n(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}function c(){this.place=0}function f(t,p){var e=t[p.place++];if(!(128&e))return e;var r=15&e;if(0===r||r>4)return!1;for(var n=0,i=0,o=p.place;i<r;i++,o++)n<<=8,n|=t[o],n>>>=0;return!(n<=127)&&(p.place=o,n)}function d(t){for(var i=0,e=t.length-1;!t[i]&&!(128&t[i+1])&&i<e;)i++;return 0===i?t:t.slice(i)}function m(t,e){if(e<128)t.push(e);else{var r=1+(Math.log(e)/Math.LN2>>>3);for(t.push(128|r);--r;)t.push(e>>>(r<<3)&255);t.push(e)}}t.exports=l,l.prototype._importDER=function(data,t){data=o.toArray(data,t);var p=new c;if(48!==data[p.place++])return!1;var e=f(data,p);if(!1===e)return!1;if(e+p.place!==data.length)return!1;if(2!==data[p.place++])return!1;var r=f(data,p);if(!1===r)return!1;var h=data.slice(p.place,r+p.place);if(p.place+=r,2!==data[p.place++])return!1;var l=f(data,p);if(!1===l)return!1;if(data.length!==l+p.place)return!1;var s=data.slice(p.place,l+p.place);if(0===h[0]){if(!(128&h[1]))return!1;h=h.slice(1)}if(0===s[0]){if(!(128&s[1]))return!1;s=s.slice(1)}return this.r=new n(h),this.s=new n(s),this.recoveryParam=null,!0},l.prototype.toDER=function(t){var e=this.r.toArray(),s=this.s.toArray();for(128&e[0]&&(e=[0].concat(e)),128&s[0]&&(s=[0].concat(s)),e=d(e),s=d(s);!(s[0]||128&s[1]);)s=s.slice(1);var r=[2];m(r,e.length),(r=r.concat(e)).push(2),m(r,s.length);var n=r.concat(s),h=[48];return m(h,n.length),h=h.concat(n),o.encode(h,t)}},function(t,e,r){"use strict";var n=r(341),o=r(340),h=r(115),l=h.assert,c=h.parseBytes,f=r(788),d=r(789);function m(t){if(l("ed25519"===t,"only tested with ed25519 so far"),!(this instanceof m))return new m(t);t=o[t].curve;this.curve=t,this.g=t.g,this.g.precompute(t.n.bitLength()+1),this.pointClass=t.point().constructor,this.encodingLength=Math.ceil(t.n.bitLength()/8),this.hash=n.sha512}t.exports=m,m.prototype.sign=function(t,e){t=c(t);var r=this.keyFromSecret(e),n=this.hashInt(r.messagePrefix(),t),o=this.g.mul(n),h=this.encodePoint(o),l=this.hashInt(h,r.pubBytes(),t).mul(r.priv()),f=n.add(l).umod(this.curve.n);return this.makeSignature({R:o,S:f,Rencoded:h})},m.prototype.verify=function(t,e,r){t=c(t),e=this.makeSignature(e);var n=this.keyFromPublic(r),o=this.hashInt(e.Rencoded(),n.pubBytes(),t),h=this.g.mul(e.S());return e.R().add(n.pub().mul(o)).eq(h)},m.prototype.hashInt=function(){for(var t=this.hash(),i=0;i<arguments.length;i++)t.update(arguments[i]);return h.intFromLE(t.digest()).umod(this.curve.n)},m.prototype.keyFromPublic=function(t){return f.fromPublic(this,t)},m.prototype.keyFromSecret=function(t){return f.fromSecret(this,t)},m.prototype.makeSignature=function(t){return t instanceof d?t:new d(this,t)},m.prototype.encodePoint=function(t){var e=t.getY().toArray("le",this.encodingLength);return e[this.encodingLength-1]|=t.getX().isOdd()?128:0,e},m.prototype.decodePoint=function(t){var e=(t=h.parseBytes(t)).length-1,r=t.slice(0,e).concat(-129&t[e]),n=0!=(128&t[e]),o=h.intFromLE(r);return this.curve.pointFromY(o,n)},m.prototype.encodeInt=function(t){return t.toArray("le",this.encodingLength)},m.prototype.decodeInt=function(t){return h.intFromLE(t)},m.prototype.isPoint=function(t){return t instanceof this.pointClass}},function(t,e,r){"use strict";var n=r(115),o=n.assert,h=n.parseBytes,l=n.cachedProperty;function c(t,e){this.eddsa=t,this._secret=h(e.secret),t.isPoint(e.pub)?this._pub=e.pub:this._pubBytes=h(e.pub)}c.fromPublic=function(t,e){return e instanceof c?e:new c(t,{pub:e})},c.fromSecret=function(t,e){return e instanceof c?e:new c(t,{secret:e})},c.prototype.secret=function(){return this._secret},l(c,"pubBytes",(function(){return this.eddsa.encodePoint(this.pub())})),l(c,"pub",(function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())})),l(c,"privBytes",(function(){var t=this.eddsa,e=this.hash(),r=t.encodingLength-1,a=e.slice(0,t.encodingLength);return a[0]&=248,a[r]&=127,a[r]|=64,a})),l(c,"priv",(function(){return this.eddsa.decodeInt(this.privBytes())})),l(c,"hash",(function(){return this.eddsa.hash().update(this.secret()).digest()})),l(c,"messagePrefix",(function(){return this.hash().slice(this.eddsa.encodingLength)})),c.prototype.sign=function(t){return o(this._secret,"KeyPair can only verify"),this.eddsa.sign(t,this)},c.prototype.verify=function(t,e){return this.eddsa.verify(t,e,this)},c.prototype.getSecret=function(t){return o(this._secret,"KeyPair is public only"),n.encode(this.secret(),t)},c.prototype.getPublic=function(t){return n.encode(this.pubBytes(),t)},t.exports=c},function(t,e,r){"use strict";var n=r(144),o=r(115),h=o.assert,l=o.cachedProperty,c=o.parseBytes;function f(t,e){this.eddsa=t,"object"!=typeof e&&(e=c(e)),Array.isArray(e)&&(e={R:e.slice(0,t.encodingLength),S:e.slice(t.encodingLength)}),h(e.R&&e.S,"Signature without R or S"),t.isPoint(e.R)&&(this._R=e.R),e.S instanceof n&&(this._S=e.S),this._Rencoded=Array.isArray(e.R)?e.R:e.Rencoded,this._Sencoded=Array.isArray(e.S)?e.S:e.Sencoded}l(f,"S",(function(){return this.eddsa.decodeInt(this.Sencoded())})),l(f,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),l(f,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),l(f,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),f.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},f.prototype.toHex=function(){return o.encode(this.toBytes(),"hex").toUpperCase()},t.exports=f},function(t,e,r){"use strict";var n=r(557);e.certificate=r(797);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())}));e.RSAPrivateKey=o;var h=n.define("RSAPublicKey",(function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())}));e.RSAPublicKey=h;var l=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(c),this.key("subjectPublicKey").bitstr())}));e.PublicKey=l;var c=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())})),f=n.define("PrivateKeyInfo",(function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(c),this.key("subjectPrivateKey").octstr())}));e.PrivateKey=f;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())}));e.EncryptedPrivateKey=d;var m=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())}));e.DSAPrivateKey=m,e.DSAparam=n.define("DSAparam",(function(){this.int()}));var v=n.define("ECPrivateKey",(function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(y),this.key("publicKey").optional().explicit(1).bitstr())}));e.ECPrivateKey=v;var y=n.define("ECParameters",(function(){this.choice({namedCurve:this.objid()})}));e.signature=n.define("signature",(function(){this.seq().obj(this.key("r").int(),this.key("s").int())}))},,function(t,e,r){"use strict";const n=r(559),o=r(561),h=r(36);function l(t,body){this.name=t,this.body=body,this.decoders={},this.encoders={}}e.define=function(t,body){return new l(t,body)},l.prototype._createNamed=function(t){const e=this.name;function r(t){this._initNamed(t,e)}return h(r,t),r.prototype._initNamed=function(e,r){t.call(this,e,r)},new r(this)},l.prototype._getDecoder=function(t){return t=t||"der",this.decoders.hasOwnProperty(t)||(this.decoders[t]=this._createNamed(o[t])),this.decoders[t]},l.prototype.decode=function(data,t,e){return this._getDecoder(t).decode(data,e)},l.prototype._getEncoder=function(t){return t=t||"der",this.encoders.hasOwnProperty(t)||(this.encoders[t]=this._createNamed(n[t])),this.encoders[t]},l.prototype.encode=function(data,t,e){return this._getEncoder(t).encode(data,e)}},function(t,e,r){"use strict";const n=r(36),o=r(560);function h(t){o.call(this,t),this.enc="pem"}n(h,o),t.exports=h,h.prototype.encode=function(data,t){const p=o.prototype.encode.call(this,data).toString("base64"),e=["-----BEGIN "+t.label+"-----"];for(let i=0;i<p.length;i+=64)e.push(p.slice(i,i+64));return e.push("-----END "+t.label+"-----"),e.join("\n")}},function(t,e,r){"use strict";const n=r(36),o=r(342).Buffer,h=r(562);function l(t){h.call(this,t),this.enc="pem"}n(l,h),t.exports=l,l.prototype.decode=function(data,t){const e=data.toString().split(/[\r\n]+/g),label=t.label.toUpperCase(),r=/^-----(BEGIN|END) ([^-]+)-----$/;let n=-1,l=-1;for(let i=0;i<e.length;i++){const t=e[i].match(r);if(null!==t&&t[2]===label){if(-1!==n){if("END"!==t[1])break;l=i;break}if("BEGIN"!==t[1])break;n=i}}if(-1===n||-1===l)throw new Error("PEM section not found for: "+label);const c=e.slice(n+1,l).join("");c.replace(/[^a-z0-9+/=]+/gi,"");const input=o.from(c,"base64");return h.prototype.decode.call(this,input,t)}},function(t,e,r){"use strict";const base=e;base.Reporter=r(344).Reporter,base.DecoderBuffer=r(232).DecoderBuffer,base.EncoderBuffer=r(232).EncoderBuffer,base.Node=r(343)},function(t,e,r){"use strict";const n=e;n._reverse=function(map){const t={};return Object.keys(map).forEach((function(e){(0|e)==e&&(e|=0);const r=map[e];t[r]=e})),t},n.der=r(345)},function(t,e,r){"use strict";var n=r(557),o=n.define("Time",(function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})})),h=n.define("AttributeTypeValue",(function(){this.seq().obj(this.key("type").objid(),this.key("value").any())})),l=n.define("AlgorithmIdentifier",(function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())})),c=n.define("SubjectPublicKeyInfo",(function(){this.seq().obj(this.key("algorithm").use(l),this.key("subjectPublicKey").bitstr())})),f=n.define("RelativeDistinguishedName",(function(){this.setof(h)})),d=n.define("RDNSequence",(function(){this.seqof(f)})),m=n.define("Name",(function(){this.choice({rdnSequence:this.use(d)})})),v=n.define("Validity",(function(){this.seq().obj(this.key("notBefore").use(o),this.key("notAfter").use(o))})),y=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(l),this.key("issuer").use(m),this.key("validity").use(v),this.key("subject").use(m),this.key("subjectPublicKeyInfo").use(c),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(y).optional())})),_=n.define("X509Certificate",(function(){this.seq().obj(this.key("tbsCertificate").use(w),this.key("signatureAlgorithm").use(l),this.key("signatureValue").bitstr())}));t.exports=_},function(t){t.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(t,e,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,h=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,l=r(274),c=r(332),f=r(45).Buffer;t.exports=function(t,e){var r,d=t.toString(),m=d.match(n);if(m){var v="aes"+m[1],y=f.from(m[2],"hex"),w=f.from(m[3].replace(/[\r\n]/g,""),"base64"),_=l(e,y.slice(0,8),parseInt(m[1],10)).key,M=[],S=c.createDecipheriv(v,_,y);M.push(S.update(w)),M.push(S.final()),r=f.concat(M)}else{var x=d.match(h);r=f.from(x[2].replace(/[\r\n]/g,""),"base64")}return{tag:d.match(o)[1],data:r}}},function(t,e,r){var n=r(335).Buffer,o=r(338),h=r(339).ec,l=r(276),c=r(563);function f(b,q){if(b.cmpn(0)<=0)throw new Error("invalid sig");if(b.cmp(q)>=q)throw new Error("invalid sig")}t.exports=function(t,e,r,d,m){var v=l(r);if("ec"===v.type){if("ecdsa"!==d&&"ecdsa/rsa"!==d)throw new Error("wrong public key type");return function(t,e,r){var n=c[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var o=new h(n),l=r.data.subjectPrivateKey.data;return o.verify(e,t,l)}(t,e,v)}if("dsa"===v.type){if("dsa"!==d)throw new Error("wrong public key type");return function(t,e,r){var p=r.data.p,q=r.data.q,g=r.data.g,n=r.data.pub_key,h=l.signature.decode(t,"der"),s=h.s,c=h.r;f(s,q),f(c,q);var d=o.mont(p),m=s.invm(q);return 0===g.toRed(d).redPow(new o(e).mul(m).mod(q)).fromRed().mul(n.toRed(d).redPow(c.mul(m).mod(q)).fromRed()).mod(p).mod(q).cmp(c)}(t,e,v)}if("rsa"!==d&&"ecdsa/rsa"!==d)throw new Error("wrong public key type");e=n.concat([m,e]);for(var y=v.modulus.byteLength(),w=[1],_=0;e.length+w.length+2<y;)w.push(255),_++;w.push(0);for(var i=-1;++i<e.length;)w.push(e[i]);w=n.from(w);var M=o.mont(v.modulus);t=(t=new o(t).toRed(M)).redPow(new o(v.publicExponent)),t=n.from(t.fromRed().toArray());var S=_<8?1:0;for(y=Math.min(t.length,w.length),t.length!==w.length&&(S=1),i=-1;++i<y;)S|=t[i]^w[i];return 0===S}},function(t,e,r){(function(e){var n=r(339),o=r(802);t.exports=function(t){return new l(t)};var h={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 l(t){this.curveType=h[t],this.curveType||(this.curveType={name:t}),this.curve=new n.ec(this.curveType.name),this.keys=void 0}function c(t,r,n){Array.isArray(t)||(t=t.toArray());var o=new e(t);if(n&&o.length<n){var h=new e(n-o.length);h.fill(0),o=e.concat([h,o])}return r?o.toString(r):o}h.p224=h.secp224r1,h.p256=h.secp256r1=h.prime256v1,h.p192=h.secp192r1=h.prime192v1,h.p384=h.secp384r1,h.p521=h.secp521r1,l.prototype.generateKeys=function(t,e){return this.keys=this.curve.genKeyPair(),this.getPublicKey(t,e)},l.prototype.computeSecret=function(t,r,n){return r=r||"utf8",e.isBuffer(t)||(t=new e(t,r)),c(this.curve.keyFromPublic(t).getPublic().mul(this.keys.getPrivate()).getX(),n,this.curveType.byteLength)},l.prototype.getPublicKey=function(t,e){var r=this.keys.getPublic("compressed"===e,!0);return"hybrid"===e&&(r[r.length-1]%2?r[0]=7:r[0]=6),c(r,t)},l.prototype.getPrivateKey=function(t){return c(this.keys.getPrivate(),t)},l.prototype.setPublicKey=function(t,r){return r=r||"utf8",e.isBuffer(t)||(t=new e(t,r)),this.keys._importPublic(t),this},l.prototype.setPrivateKey=function(t,r){r=r||"utf8",e.isBuffer(t)||(t=new e(t,r));var n=new o(t);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this}}).call(this,r(61).Buffer)},function(t,e,r){(function(t){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function o(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function h(t,base,e){if(h.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==base&&"be"!==base||(e=base,base=10),this._init(t||0,base||10,e||"be"))}var l;"object"==typeof t?t.exports=h:e.BN=h,h.BN=h,h.wordSize=26;try{l=r(803).Buffer}catch(t){}function c(t,e,r){for(var n=0,o=Math.min(t.length,r),i=e;i<o;i++){var h=t.charCodeAt(i)-48;n<<=4,n|=h>=49&&h<=54?h-49+10:h>=17&&h<=22?h-17+10:15&h}return n}function f(t,e,r,n){for(var o=0,h=Math.min(t.length,r),i=e;i<h;i++){var l=t.charCodeAt(i)-48;o*=n,o+=l>=49?l-49+10:l>=17?l-17+10:l}return o}h.isBN=function(t){return t instanceof h||null!==t&&"object"==typeof t&&t.constructor.wordSize===h.wordSize&&Array.isArray(t.words)},h.max=function(t,e){return t.cmp(e)>0?t:e},h.min=function(t,e){return t.cmp(e)<0?t:e},h.prototype._init=function(t,base,e){if("number"==typeof t)return this._initNumber(t,base,e);if("object"==typeof t)return this._initArray(t,base,e);"hex"===base&&(base=16),n(base===(0|base)&&base>=2&&base<=36);var r=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&r++,16===base?this._parseHex(t,r):this._parseBase(t,base,r),"-"===t[0]&&(this.negative=1),this.strip(),"le"===e&&this._initArray(this.toArray(),base,e)},h.prototype._initNumber=function(t,base,e){t<0&&(this.negative=1,t=-t),t<67108864?(this.words=[67108863&t],this.length=1):t<4503599627370496?(this.words=[67108863&t,t/67108864&67108863],this.length=2):(n(t<9007199254740992),this.words=[67108863&t,t/67108864&67108863,1],this.length=3),"le"===e&&this._initArray(this.toArray(),base,e)},h.prototype._initArray=function(t,base,e){if(n("number"==typeof t.length),t.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(t.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var r,o,h=0;if("be"===e)for(i=t.length-1,r=0;i>=0;i-=3)o=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[r]|=o<<h&67108863,this.words[r+1]=o>>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);else if("le"===e)for(i=0,r=0;i<t.length;i+=3)o=t[i]|t[i+1]<<8|t[i+2]<<16,this.words[r]|=o<<h&67108863,this.words[r+1]=o>>>26-h&67108863,(h+=24)>=26&&(h-=26,r++);return this.strip()},h.prototype._parseHex=function(t,e){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var r,n,o=0;for(i=t.length-6,r=0;i>=e;i-=6)n=c(t,i,i+6),this.words[r]|=n<<o&67108863,this.words[r+1]|=n>>>26-o&4194303,(o+=24)>=26&&(o-=26,r++);i+6!==e&&(n=c(t,e,i+6),this.words[r]|=n<<o&67108863,this.words[r+1]|=n>>>26-o&4194303),this.strip()},h.prototype._parseBase=function(t,base,e){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=t.length-e,h=o%r,l=Math.min(o,o-h)+e,c=0,i=e;i<l;i+=r)c=f(t,i,i+r,base),this.imuln(n),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c);if(0!==h){var d=1;for(c=f(t,i,t.length,base),i=0;i<h;i++)d*=base;this.imuln(d),this.words[0]+c<67108864?this.words[0]+=c:this._iaddn(c)}},h.prototype.copy=function(t){t.words=new Array(this.length);for(var i=0;i<this.length;i++)t.words[i]=this.words[i];t.length=this.length,t.negative=this.negative,t.red=this.red},h.prototype.clone=function(){var t=new h(null);return this.copy(t),t},h.prototype._expand=function(t){for(;this.length<t;)this.words[this.length++]=0;return this},h.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},h.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},h.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var d=["","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,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function y(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var a=0|t.words[0],b=0|e.words[0],o=a*b,h=67108863&o,l=o/67108864|0;r.words[0]=h;for(var c=1;c<n;c++){for(var f=l>>>26,d=67108863&l,m=Math.min(c,e.length-1),v=Math.max(0,c-t.length+1);v<=m;v++){var i=c-v|0;f+=(o=(a=0|t.words[i])*(b=0|e.words[v])+d)/67108864|0,d=67108863&o}r.words[c]=0|d,l=0|f}return 0!==l?r.words[c]=0|l:r.length--,r.strip()}h.prototype.toString=function(base,t){var e;if(t=0|t||1,16===(base=base||10)||"hex"===base){e="";for(var r=0,o=0,i=0;i<this.length;i++){var h=this.words[i],l=(16777215&(h<<r|o)).toString(16);e=0!==(o=h>>>24-r&16777215)||i!==this.length-1?d[6-l.length]+l+e:l+e,(r+=2)>=26&&(r-=26,i--)}for(0!==o&&(e=o.toString(16)+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}if(base===(0|base)&&base>=2&&base<=36){var c=m[base],f=v[base];e="";var y=this.clone();for(y.negative=0;!y.isZero();){var w=y.modn(f).toString(base);e=(y=y.idivn(f)).isZero()?w+e:d[c-w.length]+w+e}for(this.isZero()&&(e="0"+e);e.length%t!=0;)e="0"+e;return 0!==this.negative&&(e="-"+e),e}n(!1,"Base should be between 2 and 36")},h.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},h.prototype.toJSON=function(){return this.toString(16)},h.prototype.toBuffer=function(t,e){return n(void 0!==l),this.toArrayLike(l,t,e)},h.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)},h.prototype.toArrayLike=function(t,e,r){var o=this.byteLength(),h=r||Math.max(1,o);n(o<=h,"byte array longer than desired length"),n(h>0,"Requested array length <= 0"),this.strip();var b,i,l="le"===e,c=new t(h),q=this.clone();if(l){for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),c[i]=b;for(;i<h;i++)c[i]=0}else{for(i=0;i<h-o;i++)c[i]=0;for(i=0;!q.isZero();i++)b=q.andln(255),q.iushrn(8),c[h-i-1]=b}return c},Math.clz32?h.prototype._countBits=function(t){return 32-Math.clz32(t)}:h.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},h.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0==(8191&e)&&(r+=13,e>>>=13),0==(127&e)&&(r+=7,e>>>=7),0==(15&e)&&(r+=4,e>>>=4),0==(3&e)&&(r+=2,e>>>=2),0==(1&e)&&r++,r},h.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},h.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,i=0;i<this.length;i++){var b=this._zeroBits(this.words[i]);if(t+=b,26!==b)break}return t},h.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},h.prototype.toTwos=function(t){return 0!==this.negative?this.abs().inotn(t).iaddn(1):this.clone()},h.prototype.fromTwos=function(t){return this.testn(t-1)?this.notn(t).iaddn(1).ineg():this.clone()},h.prototype.isNeg=function(){return 0!==this.negative},h.prototype.neg=function(){return this.clone().ineg()},h.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},h.prototype.iuor=function(t){for(;this.length<t.length;)this.words[this.length++]=0;for(var i=0;i<t.length;i++)this.words[i]=this.words[i]|t.words[i];return this.strip()},h.prototype.ior=function(t){return n(0==(this.negative|t.negative)),this.iuor(t)},h.prototype.or=function(t){return this.length>t.length?this.clone().ior(t):t.clone().ior(this)},h.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},h.prototype.iuand=function(t){var b;b=this.length>t.length?t:this;for(var i=0;i<b.length;i++)this.words[i]=this.words[i]&t.words[i];return this.length=b.length,this.strip()},h.prototype.iand=function(t){return n(0==(this.negative|t.negative)),this.iuand(t)},h.prototype.and=function(t){return this.length>t.length?this.clone().iand(t):t.clone().iand(this)},h.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},h.prototype.iuxor=function(t){var a,b;this.length>t.length?(a=this,b=t):(a=t,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()},h.prototype.ixor=function(t){return n(0==(this.negative|t.negative)),this.iuxor(t)},h.prototype.xor=function(t){return this.length>t.length?this.clone().ixor(t):t.clone().ixor(this)},h.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},h.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i<e;i++)this.words[i]=67108863&~this.words[i];return r>0&&(this.words[i]=~this.words[i]&67108863>>26-r),this.strip()},h.prototype.notn=function(t){return this.clone().inotn(t)},h.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var r=t/26|0,o=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<<o:this.words[r]&~(1<<o),this.strip()},h.prototype.iadd=function(t){var e,a,b;if(0!==this.negative&&0===t.negative)return this.negative=0,e=this.isub(t),this.negative^=1,this._normSign();if(0===this.negative&&0!==t.negative)return t.negative=0,e=this.isub(t),t.negative=1,e._normSign();this.length>t.length?(a=this,b=t):(a=t,b=this);for(var r=0,i=0;i<b.length;i++)e=(0|a.words[i])+(0|b.words[i])+r,this.words[i]=67108863&e,r=e>>>26;for(;0!==r&&i<a.length;i++)e=(0|a.words[i])+r,this.words[i]=67108863&e,r=e>>>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},h.prototype.add=function(t){var e;return 0!==t.negative&&0===this.negative?(t.negative=0,e=this.sub(t),t.negative^=1,e):0===t.negative&&0!==this.negative?(this.negative=0,e=t.sub(this),this.negative=1,e):this.length>t.length?this.clone().iadd(t):t.clone().iadd(this)},h.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var a,b,r=this.cmp(t);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(a=this,b=t):(a=t,b=this);for(var n=0,i=0;i<b.length;i++)n=(e=(0|a.words[i])-(0|b.words[i])+n)>>26,this.words[i]=67108863&e;for(;0!==n&&i<a.length;i++)n=(e=(0|a.words[i])+n)>>26,this.words[i]=67108863&e;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()},h.prototype.sub=function(t){return this.clone().isub(t)};var w=function(t,e,r){var n,o,h,a=t.words,b=e.words,l=r.words,c=0,f=0|a[0],d=8191&f,m=f>>>13,v=0|a[1],y=8191&v,w=v>>>13,_=0|a[2],M=8191&_,S=_>>>13,x=0|a[3],E=8191&x,A=x>>>13,T=0|a[4],k=8191&T,C=T>>>13,O=0|a[5],I=8191&O,P=O>>>13,R=0|a[6],j=8191&R,N=R>>>13,L=0|a[7],D=8191&L,B=L>>>13,F=0|a[8],U=8191&F,z=F>>>13,H=0|a[9],G=8191&H,V=H>>>13,$=0|b[0],W=8191&$,Y=$>>>13,K=0|b[1],X=8191&K,Z=K>>>13,J=0|b[2],Q=8191&J,tt=J>>>13,et=0|b[3],it=8191&et,nt=et>>>13,ot=0|b[4],at=8191&ot,st=ot>>>13,ht=0|b[5],ut=8191&ht,lt=ht>>>13,ct=0|b[6],ft=8191&ct,pt=ct>>>13,mt=0|b[7],gt=8191&mt,vt=mt>>>13,bt=0|b[8],yt=8191&bt,wt=bt>>>13,_t=0|b[9],Mt=8191&_t,St=_t>>>13;r.negative=t.negative^e.negative,r.length=19;var xt=(c+(n=Math.imul(d,W))|0)+((8191&(o=(o=Math.imul(d,Y))+Math.imul(m,W)|0))<<13)|0;c=((h=Math.imul(m,Y))+(o>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(y,W),o=(o=Math.imul(y,Y))+Math.imul(w,W)|0,h=Math.imul(w,Y);var Et=(c+(n=n+Math.imul(d,X)|0)|0)+((8191&(o=(o=o+Math.imul(d,Z)|0)+Math.imul(m,X)|0))<<13)|0;c=((h=h+Math.imul(m,Z)|0)+(o>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(M,W),o=(o=Math.imul(M,Y))+Math.imul(S,W)|0,h=Math.imul(S,Y),n=n+Math.imul(y,X)|0,o=(o=o+Math.imul(y,Z)|0)+Math.imul(w,X)|0,h=h+Math.imul(w,Z)|0;var At=(c+(n=n+Math.imul(d,Q)|0)|0)+((8191&(o=(o=o+Math.imul(d,tt)|0)+Math.imul(m,Q)|0))<<13)|0;c=((h=h+Math.imul(m,tt)|0)+(o>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(E,W),o=(o=Math.imul(E,Y))+Math.imul(A,W)|0,h=Math.imul(A,Y),n=n+Math.imul(M,X)|0,o=(o=o+Math.imul(M,Z)|0)+Math.imul(S,X)|0,h=h+Math.imul(S,Z)|0,n=n+Math.imul(y,Q)|0,o=(o=o+Math.imul(y,tt)|0)+Math.imul(w,Q)|0,h=h+Math.imul(w,tt)|0;var Tt=(c+(n=n+Math.imul(d,it)|0)|0)+((8191&(o=(o=o+Math.imul(d,nt)|0)+Math.imul(m,it)|0))<<13)|0;c=((h=h+Math.imul(m,nt)|0)+(o>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(k,W),o=(o=Math.imul(k,Y))+Math.imul(C,W)|0,h=Math.imul(C,Y),n=n+Math.imul(E,X)|0,o=(o=o+Math.imul(E,Z)|0)+Math.imul(A,X)|0,h=h+Math.imul(A,Z)|0,n=n+Math.imul(M,Q)|0,o=(o=o+Math.imul(M,tt)|0)+Math.imul(S,Q)|0,h=h+Math.imul(S,tt)|0,n=n+Math.imul(y,it)|0,o=(o=o+Math.imul(y,nt)|0)+Math.imul(w,it)|0,h=h+Math.imul(w,nt)|0;var kt=(c+(n=n+Math.imul(d,at)|0)|0)+((8191&(o=(o=o+Math.imul(d,st)|0)+Math.imul(m,at)|0))<<13)|0;c=((h=h+Math.imul(m,st)|0)+(o>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(I,W),o=(o=Math.imul(I,Y))+Math.imul(P,W)|0,h=Math.imul(P,Y),n=n+Math.imul(k,X)|0,o=(o=o+Math.imul(k,Z)|0)+Math.imul(C,X)|0,h=h+Math.imul(C,Z)|0,n=n+Math.imul(E,Q)|0,o=(o=o+Math.imul(E,tt)|0)+Math.imul(A,Q)|0,h=h+Math.imul(A,tt)|0,n=n+Math.imul(M,it)|0,o=(o=o+Math.imul(M,nt)|0)+Math.imul(S,it)|0,h=h+Math.imul(S,nt)|0,n=n+Math.imul(y,at)|0,o=(o=o+Math.imul(y,st)|0)+Math.imul(w,at)|0,h=h+Math.imul(w,st)|0;var Ct=(c+(n=n+Math.imul(d,ut)|0)|0)+((8191&(o=(o=o+Math.imul(d,lt)|0)+Math.imul(m,ut)|0))<<13)|0;c=((h=h+Math.imul(m,lt)|0)+(o>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(j,W),o=(o=Math.imul(j,Y))+Math.imul(N,W)|0,h=Math.imul(N,Y),n=n+Math.imul(I,X)|0,o=(o=o+Math.imul(I,Z)|0)+Math.imul(P,X)|0,h=h+Math.imul(P,Z)|0,n=n+Math.imul(k,Q)|0,o=(o=o+Math.imul(k,tt)|0)+Math.imul(C,Q)|0,h=h+Math.imul(C,tt)|0,n=n+Math.imul(E,it)|0,o=(o=o+Math.imul(E,nt)|0)+Math.imul(A,it)|0,h=h+Math.imul(A,nt)|0,n=n+Math.imul(M,at)|0,o=(o=o+Math.imul(M,st)|0)+Math.imul(S,at)|0,h=h+Math.imul(S,st)|0,n=n+Math.imul(y,ut)|0,o=(o=o+Math.imul(y,lt)|0)+Math.imul(w,ut)|0,h=h+Math.imul(w,lt)|0;var Ot=(c+(n=n+Math.imul(d,ft)|0)|0)+((8191&(o=(o=o+Math.imul(d,pt)|0)+Math.imul(m,ft)|0))<<13)|0;c=((h=h+Math.imul(m,pt)|0)+(o>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n=Math.imul(D,W),o=(o=Math.imul(D,Y))+Math.imul(B,W)|0,h=Math.imul(B,Y),n=n+Math.imul(j,X)|0,o=(o=o+Math.imul(j,Z)|0)+Math.imul(N,X)|0,h=h+Math.imul(N,Z)|0,n=n+Math.imul(I,Q)|0,o=(o=o+Math.imul(I,tt)|0)+Math.imul(P,Q)|0,h=h+Math.imul(P,tt)|0,n=n+Math.imul(k,it)|0,o=(o=o+Math.imul(k,nt)|0)+Math.imul(C,it)|0,h=h+Math.imul(C,nt)|0,n=n+Math.imul(E,at)|0,o=(o=o+Math.imul(E,st)|0)+Math.imul(A,at)|0,h=h+Math.imul(A,st)|0,n=n+Math.imul(M,ut)|0,o=(o=o+Math.imul(M,lt)|0)+Math.imul(S,ut)|0,h=h+Math.imul(S,lt)|0,n=n+Math.imul(y,ft)|0,o=(o=o+Math.imul(y,pt)|0)+Math.imul(w,ft)|0,h=h+Math.imul(w,pt)|0;var It=(c+(n=n+Math.imul(d,gt)|0)|0)+((8191&(o=(o=o+Math.imul(d,vt)|0)+Math.imul(m,gt)|0))<<13)|0;c=((h=h+Math.imul(m,vt)|0)+(o>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(U,W),o=(o=Math.imul(U,Y))+Math.imul(z,W)|0,h=Math.imul(z,Y),n=n+Math.imul(D,X)|0,o=(o=o+Math.imul(D,Z)|0)+Math.imul(B,X)|0,h=h+Math.imul(B,Z)|0,n=n+Math.imul(j,Q)|0,o=(o=o+Math.imul(j,tt)|0)+Math.imul(N,Q)|0,h=h+Math.imul(N,tt)|0,n=n+Math.imul(I,it)|0,o=(o=o+Math.imul(I,nt)|0)+Math.imul(P,it)|0,h=h+Math.imul(P,nt)|0,n=n+Math.imul(k,at)|0,o=(o=o+Math.imul(k,st)|0)+Math.imul(C,at)|0,h=h+Math.imul(C,st)|0,n=n+Math.imul(E,ut)|0,o=(o=o+Math.imul(E,lt)|0)+Math.imul(A,ut)|0,h=h+Math.imul(A,lt)|0,n=n+Math.imul(M,ft)|0,o=(o=o+Math.imul(M,pt)|0)+Math.imul(S,ft)|0,h=h+Math.imul(S,pt)|0,n=n+Math.imul(y,gt)|0,o=(o=o+Math.imul(y,vt)|0)+Math.imul(w,gt)|0,h=h+Math.imul(w,vt)|0;var Pt=(c+(n=n+Math.imul(d,yt)|0)|0)+((8191&(o=(o=o+Math.imul(d,wt)|0)+Math.imul(m,yt)|0))<<13)|0;c=((h=h+Math.imul(m,wt)|0)+(o>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(G,W),o=(o=Math.imul(G,Y))+Math.imul(V,W)|0,h=Math.imul(V,Y),n=n+Math.imul(U,X)|0,o=(o=o+Math.imul(U,Z)|0)+Math.imul(z,X)|0,h=h+Math.imul(z,Z)|0,n=n+Math.imul(D,Q)|0,o=(o=o+Math.imul(D,tt)|0)+Math.imul(B,Q)|0,h=h+Math.imul(B,tt)|0,n=n+Math.imul(j,it)|0,o=(o=o+Math.imul(j,nt)|0)+Math.imul(N,it)|0,h=h+Math.imul(N,nt)|0,n=n+Math.imul(I,at)|0,o=(o=o+Math.imul(I,st)|0)+Math.imul(P,at)|0,h=h+Math.imul(P,st)|0,n=n+Math.imul(k,ut)|0,o=(o=o+Math.imul(k,lt)|0)+Math.imul(C,ut)|0,h=h+Math.imul(C,lt)|0,n=n+Math.imul(E,ft)|0,o=(o=o+Math.imul(E,pt)|0)+Math.imul(A,ft)|0,h=h+Math.imul(A,pt)|0,n=n+Math.imul(M,gt)|0,o=(o=o+Math.imul(M,vt)|0)+Math.imul(S,gt)|0,h=h+Math.imul(S,vt)|0,n=n+Math.imul(y,yt)|0,o=(o=o+Math.imul(y,wt)|0)+Math.imul(w,yt)|0,h=h+Math.imul(w,wt)|0;var Rt=(c+(n=n+Math.imul(d,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(d,St)|0)+Math.imul(m,Mt)|0))<<13)|0;c=((h=h+Math.imul(m,St)|0)+(o>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,n=Math.imul(G,X),o=(o=Math.imul(G,Z))+Math.imul(V,X)|0,h=Math.imul(V,Z),n=n+Math.imul(U,Q)|0,o=(o=o+Math.imul(U,tt)|0)+Math.imul(z,Q)|0,h=h+Math.imul(z,tt)|0,n=n+Math.imul(D,it)|0,o=(o=o+Math.imul(D,nt)|0)+Math.imul(B,it)|0,h=h+Math.imul(B,nt)|0,n=n+Math.imul(j,at)|0,o=(o=o+Math.imul(j,st)|0)+Math.imul(N,at)|0,h=h+Math.imul(N,st)|0,n=n+Math.imul(I,ut)|0,o=(o=o+Math.imul(I,lt)|0)+Math.imul(P,ut)|0,h=h+Math.imul(P,lt)|0,n=n+Math.imul(k,ft)|0,o=(o=o+Math.imul(k,pt)|0)+Math.imul(C,ft)|0,h=h+Math.imul(C,pt)|0,n=n+Math.imul(E,gt)|0,o=(o=o+Math.imul(E,vt)|0)+Math.imul(A,gt)|0,h=h+Math.imul(A,vt)|0,n=n+Math.imul(M,yt)|0,o=(o=o+Math.imul(M,wt)|0)+Math.imul(S,yt)|0,h=h+Math.imul(S,wt)|0;var jt=(c+(n=n+Math.imul(y,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(y,St)|0)+Math.imul(w,Mt)|0))<<13)|0;c=((h=h+Math.imul(w,St)|0)+(o>>>13)|0)+(jt>>>26)|0,jt&=67108863,n=Math.imul(G,Q),o=(o=Math.imul(G,tt))+Math.imul(V,Q)|0,h=Math.imul(V,tt),n=n+Math.imul(U,it)|0,o=(o=o+Math.imul(U,nt)|0)+Math.imul(z,it)|0,h=h+Math.imul(z,nt)|0,n=n+Math.imul(D,at)|0,o=(o=o+Math.imul(D,st)|0)+Math.imul(B,at)|0,h=h+Math.imul(B,st)|0,n=n+Math.imul(j,ut)|0,o=(o=o+Math.imul(j,lt)|0)+Math.imul(N,ut)|0,h=h+Math.imul(N,lt)|0,n=n+Math.imul(I,ft)|0,o=(o=o+Math.imul(I,pt)|0)+Math.imul(P,ft)|0,h=h+Math.imul(P,pt)|0,n=n+Math.imul(k,gt)|0,o=(o=o+Math.imul(k,vt)|0)+Math.imul(C,gt)|0,h=h+Math.imul(C,vt)|0,n=n+Math.imul(E,yt)|0,o=(o=o+Math.imul(E,wt)|0)+Math.imul(A,yt)|0,h=h+Math.imul(A,wt)|0;var Nt=(c+(n=n+Math.imul(M,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(M,St)|0)+Math.imul(S,Mt)|0))<<13)|0;c=((h=h+Math.imul(S,St)|0)+(o>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul(G,it),o=(o=Math.imul(G,nt))+Math.imul(V,it)|0,h=Math.imul(V,nt),n=n+Math.imul(U,at)|0,o=(o=o+Math.imul(U,st)|0)+Math.imul(z,at)|0,h=h+Math.imul(z,st)|0,n=n+Math.imul(D,ut)|0,o=(o=o+Math.imul(D,lt)|0)+Math.imul(B,ut)|0,h=h+Math.imul(B,lt)|0,n=n+Math.imul(j,ft)|0,o=(o=o+Math.imul(j,pt)|0)+Math.imul(N,ft)|0,h=h+Math.imul(N,pt)|0,n=n+Math.imul(I,gt)|0,o=(o=o+Math.imul(I,vt)|0)+Math.imul(P,gt)|0,h=h+Math.imul(P,vt)|0,n=n+Math.imul(k,yt)|0,o=(o=o+Math.imul(k,wt)|0)+Math.imul(C,yt)|0,h=h+Math.imul(C,wt)|0;var Lt=(c+(n=n+Math.imul(E,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(E,St)|0)+Math.imul(A,Mt)|0))<<13)|0;c=((h=h+Math.imul(A,St)|0)+(o>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,n=Math.imul(G,at),o=(o=Math.imul(G,st))+Math.imul(V,at)|0,h=Math.imul(V,st),n=n+Math.imul(U,ut)|0,o=(o=o+Math.imul(U,lt)|0)+Math.imul(z,ut)|0,h=h+Math.imul(z,lt)|0,n=n+Math.imul(D,ft)|0,o=(o=o+Math.imul(D,pt)|0)+Math.imul(B,ft)|0,h=h+Math.imul(B,pt)|0,n=n+Math.imul(j,gt)|0,o=(o=o+Math.imul(j,vt)|0)+Math.imul(N,gt)|0,h=h+Math.imul(N,vt)|0,n=n+Math.imul(I,yt)|0,o=(o=o+Math.imul(I,wt)|0)+Math.imul(P,yt)|0,h=h+Math.imul(P,wt)|0;var Dt=(c+(n=n+Math.imul(k,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(k,St)|0)+Math.imul(C,Mt)|0))<<13)|0;c=((h=h+Math.imul(C,St)|0)+(o>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,n=Math.imul(G,ut),o=(o=Math.imul(G,lt))+Math.imul(V,ut)|0,h=Math.imul(V,lt),n=n+Math.imul(U,ft)|0,o=(o=o+Math.imul(U,pt)|0)+Math.imul(z,ft)|0,h=h+Math.imul(z,pt)|0,n=n+Math.imul(D,gt)|0,o=(o=o+Math.imul(D,vt)|0)+Math.imul(B,gt)|0,h=h+Math.imul(B,vt)|0,n=n+Math.imul(j,yt)|0,o=(o=o+Math.imul(j,wt)|0)+Math.imul(N,yt)|0,h=h+Math.imul(N,wt)|0;var Bt=(c+(n=n+Math.imul(I,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(I,St)|0)+Math.imul(P,Mt)|0))<<13)|0;c=((h=h+Math.imul(P,St)|0)+(o>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,n=Math.imul(G,ft),o=(o=Math.imul(G,pt))+Math.imul(V,ft)|0,h=Math.imul(V,pt),n=n+Math.imul(U,gt)|0,o=(o=o+Math.imul(U,vt)|0)+Math.imul(z,gt)|0,h=h+Math.imul(z,vt)|0,n=n+Math.imul(D,yt)|0,o=(o=o+Math.imul(D,wt)|0)+Math.imul(B,yt)|0,h=h+Math.imul(B,wt)|0;var Ft=(c+(n=n+Math.imul(j,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(j,St)|0)+Math.imul(N,Mt)|0))<<13)|0;c=((h=h+Math.imul(N,St)|0)+(o>>>13)|0)+(Ft>>>26)|0,Ft&=67108863,n=Math.imul(G,gt),o=(o=Math.imul(G,vt))+Math.imul(V,gt)|0,h=Math.imul(V,vt),n=n+Math.imul(U,yt)|0,o=(o=o+Math.imul(U,wt)|0)+Math.imul(z,yt)|0,h=h+Math.imul(z,wt)|0;var Ut=(c+(n=n+Math.imul(D,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(D,St)|0)+Math.imul(B,Mt)|0))<<13)|0;c=((h=h+Math.imul(B,St)|0)+(o>>>13)|0)+(Ut>>>26)|0,Ut&=67108863,n=Math.imul(G,yt),o=(o=Math.imul(G,wt))+Math.imul(V,yt)|0,h=Math.imul(V,wt);var qt=(c+(n=n+Math.imul(U,Mt)|0)|0)+((8191&(o=(o=o+Math.imul(U,St)|0)+Math.imul(z,Mt)|0))<<13)|0;c=((h=h+Math.imul(z,St)|0)+(o>>>13)|0)+(qt>>>26)|0,qt&=67108863;var zt=(c+(n=Math.imul(G,Mt))|0)+((8191&(o=(o=Math.imul(G,St))+Math.imul(V,Mt)|0))<<13)|0;return c=((h=Math.imul(V,St))+(o>>>13)|0)+(zt>>>26)|0,zt&=67108863,l[0]=xt,l[1]=Et,l[2]=At,l[3]=Tt,l[4]=kt,l[5]=Ct,l[6]=Ot,l[7]=It,l[8]=Pt,l[9]=Rt,l[10]=jt,l[11]=Nt,l[12]=Lt,l[13]=Dt,l[14]=Bt,l[15]=Ft,l[16]=Ut,l[17]=qt,l[18]=zt,0!==c&&(l[19]=c,r.length++),r};function _(t,e,r){return(new M).mulp(t,e,r)}function M(t,e){this.x=t,this.y=e}Math.imul||(w=y),h.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?w(this,t,e):r<63?y(this,t,e):r<1024?function(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,o=0,h=0;h<r.length-1;h++){var l=o;o=0;for(var c=67108863&n,f=Math.min(h,e.length-1),d=Math.max(0,h-t.length+1);d<=f;d++){var i=h-d,m=(0|t.words[i])*(0|e.words[d]),v=67108863&m;c=67108863&(v=v+c|0),o+=(l=(l=l+(m/67108864|0)|0)+(v>>>26)|0)>>>26,l&=67108863}r.words[h]=c,n=l,l=o}return 0!==n?r.words[h]=n:r.length--,r.strip()}(this,t,e):_(this,t,e)},M.prototype.makeRBT=function(t){for(var e=new Array(t),r=h.prototype._countBits(t)-1,i=0;i<t;i++)e[i]=this.revBin(i,r,t);return e},M.prototype.revBin=function(t,e,r){if(0===t||t===r-1)return t;for(var n=0,i=0;i<e;i++)n|=(1&t)<<e-i-1,t>>=1;return n},M.prototype.permute=function(t,e,r,n,o,h){for(var i=0;i<h;i++)n[i]=e[t[i]],o[i]=r[t[i]]},M.prototype.transform=function(t,e,r,n,o,h){this.permute(h,t,e,r,n,o);for(var s=1;s<o;s<<=1)for(var l=s<<1,c=Math.cos(2*Math.PI/l),f=Math.sin(2*Math.PI/l),p=0;p<o;p+=l)for(var d=c,m=f,v=0;v<s;v++){var y=r[p+v],w=n[p+v],_=r[p+v+s],M=n[p+v+s],S=d*_-m*M;M=d*M+m*_,_=S,r[p+v]=y+_,n[p+v]=w+M,r[p+v+s]=y-_,n[p+v+s]=w-M,v!==l&&(S=c*d-f*m,m=c*m+f*d,d=S)}},M.prototype.guessLen13b=function(t,e){var r=1|Math.max(e,t),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},M.prototype.conjugate=function(t,e,r){if(!(r<=1))for(var i=0;i<r/2;i++){var n=t[i];t[i]=t[r-i-1],t[r-i-1]=n,n=e[i],e[i]=-e[r-i-1],e[r-i-1]=-n}},M.prototype.normalize13b=function(t,e){for(var r=0,i=0;i<e/2;i++){var n=8192*Math.round(t[2*i+1]/e)+Math.round(t[2*i]/e)+r;t[i]=67108863&n,r=n<67108864?0:n/67108864|0}return t},M.prototype.convert13b=function(t,e,r,o){for(var h=0,i=0;i<e;i++)h+=0|t[i],r[2*i]=8191&h,h>>>=13,r[2*i+1]=8191&h,h>>>=13;for(i=2*e;i<o;++i)r[i]=0;n(0===h),n(0==(-8192&h))},M.prototype.stub=function(t){for(var e=new Array(t),i=0;i<t;i++)e[i]=0;return e},M.prototype.mulp=function(t,e,r){var n=2*this.guessLen13b(t.length,e.length),o=this.makeRBT(n),h=this.stub(n),l=new Array(n),c=new Array(n),f=new Array(n),d=new Array(n),m=new Array(n),v=new Array(n),y=r.words;y.length=n,this.convert13b(t.words,t.length,l,n),this.convert13b(e.words,e.length,d,n),this.transform(l,h,c,f,n,o),this.transform(d,h,m,v,n,o);for(var i=0;i<n;i++){var w=c[i]*m[i]-f[i]*v[i];f[i]=c[i]*v[i]+f[i]*m[i],c[i]=w}return this.conjugate(c,f,n),this.transform(c,f,y,h,n,o),this.conjugate(y,h,n),this.normalize13b(y,n),r.negative=t.negative^e.negative,r.length=t.length+e.length,r.strip()},h.prototype.mul=function(t){var e=new h(null);return e.words=new Array(this.length+t.length),this.mulTo(t,e)},h.prototype.mulf=function(t){var e=new h(null);return e.words=new Array(this.length+t.length),_(this,t,e)},h.prototype.imul=function(t){return this.clone().mulTo(t,this)},h.prototype.imuln=function(t){n("number"==typeof t),n(t<67108864);for(var e=0,i=0;i<this.length;i++){var r=(0|this.words[i])*t,o=(67108863&r)+(67108863&e);e>>=26,e+=r/67108864|0,e+=o>>>26,this.words[i]=67108863&o}return 0!==e&&(this.words[i]=e,this.length++),this},h.prototype.muln=function(t){return this.clone().imuln(t)},h.prototype.sqr=function(){return this.mul(this)},h.prototype.isqr=function(){return this.imul(this.clone())},h.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r<e.length;r++){var n=r/26|0,o=r%26;e[r]=(t.words[n]&1<<o)>>>o}return e}(t);if(0===e.length)return new h(1);for(var r=this,i=0;i<e.length&&0===e[i];i++,r=r.sqr());if(++i<e.length)for(var q=r.sqr();i<e.length;i++,q=q.sqr())0!==e[i]&&(r=r.mul(q));return r},h.prototype.iushln=function(t){n("number"==typeof t&&t>=0);var i,e=t%26,s=(t-e)/26,r=67108863>>>26-e<<26-e;if(0!==e){var o=0;for(i=0;i<this.length;i++){var h=this.words[i]&r,l=(0|this.words[i])-h<<e;this.words[i]=l|o,o=h>>>26-e}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()},h.prototype.ishln=function(t){return n(0===this.negative),this.iushln(t)},h.prototype.iushrn=function(t,e,r){var o;n("number"==typeof t&&t>=0),o=e?(e-e%26)/26:0;var h=t%26,s=Math.min((t-h)/26,this.length),mask=67108863^67108863>>>h<<h,l=r;if(o-=s,o=Math.max(0,o),l){for(var i=0;i<s;i++)l.words[i]=this.words[i];l.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 c=0;for(i=this.length-1;i>=0&&(0!==c||i>=o);i--){var f=0|this.words[i];this.words[i]=c<<26-h|f>>>h,c=f&mask}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},h.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},h.prototype.shln=function(t){return this.clone().ishln(t)},h.prototype.ushln=function(t){return this.clone().iushln(t)},h.prototype.shrn=function(t){return this.clone().ishrn(t)},h.prototype.ushrn=function(t){return this.clone().iushrn(t)},h.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26,q=1<<e;return!(this.length<=s)&&!!(this.words[s]&q)},h.prototype.imaskn=function(t){n("number"==typeof t&&t>=0);var e=t%26,s=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==e&&s++,this.length=Math.min(s,this.length),0!==e){var mask=67108863^67108863>>>e<<e;this.words[this.length-1]&=mask}return this.strip()},h.prototype.maskn=function(t){return this.clone().imaskn(t)},h.prototype.iaddn=function(t){return n("number"==typeof t),n(t<67108864),t<0?this.isubn(-t):0!==this.negative?1===this.length&&(0|this.words[0])<t?(this.words[0]=t-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(t),this.negative=1,this):this._iaddn(t)},h.prototype._iaddn=function(t){this.words[0]+=t;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},h.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,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()},h.prototype.addn=function(t){return this.clone().iaddn(t)},h.prototype.subn=function(t){return this.clone().isubn(t)},h.prototype.iabs=function(){return this.negative=0,this},h.prototype.abs=function(){return this.clone().iabs()},h.prototype._ishlnsubmul=function(t,e,r){var i,o,h=t.length+r;this._expand(h);var l=0;for(i=0;i<t.length;i++){o=(0|this.words[i+r])+l;var c=(0|t.words[i])*e;l=((o-=67108863&c)>>26)-(c/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)l=(o=(0|this.words[i+r])+l)>>26,this.words[i+r]=67108863&o;if(0===l)return this.strip();for(n(-1===l),l=0,i=0;i<this.length;i++)l=(o=-(0|this.words[i])+l)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},h.prototype._wordDiv=function(t,e){var r=(this.length,t.length),a=this.clone(),b=t,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"!==e){(q=new h(null)).length=o+1,q.words=new Array(q.length);for(var i=0;i<q.length;i++)q.words[i]=0}var l=a.clone()._ishlnsubmul(b,1,o);0===l.negative&&(a=l,q&&(q.words[o]=1));for(var c=o-1;c>=0;c--){var f=67108864*(0|a.words[b.length+c])+(0|a.words[b.length+c-1]);for(f=Math.min(f/n|0,67108863),a._ishlnsubmul(b,f,c);0!==a.negative;)f--,a.negative=0,a._ishlnsubmul(b,1,c),a.isZero()||(a.negative^=1);q&&(q.words[c]=f)}return q&&q.strip(),a.strip(),"div"!==e&&0!==r&&a.iushrn(r),{div:q||null,mod:a}},h.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new h(0),mod:new h(0)}:0!==this.negative&&0===t.negative?(l=this.neg().divmod(t,e),"mod"!==e&&(div=l.div.neg()),"div"!==e&&(o=l.mod.neg(),r&&0!==o.negative&&o.iadd(t)),{div:div,mod:o}):0===this.negative&&0!==t.negative?(l=this.divmod(t.neg(),e),"mod"!==e&&(div=l.div.neg()),{div:div,mod:l.mod}):0!=(this.negative&t.negative)?(l=this.neg().divmod(t.neg(),e),"div"!==e&&(o=l.mod.neg(),r&&0!==o.negative&&o.isub(t)),{div:l.div,mod:o}):t.length>this.length||this.cmp(t)<0?{div:new h(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new h(this.modn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new h(this.modn(t.words[0]))}:this._wordDiv(t,e);var div,o,l},h.prototype.div=function(t){return this.divmod(t,"div",!1).div},h.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},h.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},h.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),o=t.andln(1),h=r.cmp(n);return h<0||1===o&&0===h?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},h.prototype.modn=function(t){n(t<=67108863);for(var p=(1<<26)%t,e=0,i=this.length-1;i>=0;i--)e=(p*e+(0|this.words[i]))%t;return e},h.prototype.idivn=function(t){n(t<=67108863);for(var e=0,i=this.length-1;i>=0;i--){var r=(0|this.words[i])+67108864*e;this.words[i]=r/t|0,e=r%t}return this.strip()},h.prototype.divn=function(t){return this.clone().idivn(t)},h.prototype.egcd=function(p){n(0===p.negative),n(!p.isZero());var t=this,e=p.clone();t=0!==t.negative?t.umod(p):t.clone();for(var r=new h(1),o=new h(0),l=new h(0),c=new h(1),g=0;t.isEven()&&e.isEven();)t.iushrn(1),e.iushrn(1),++g;for(var f=e.clone(),d=t.clone();!t.isZero();){for(var i=0,m=1;0==(t.words[0]&m)&&i<26;++i,m<<=1);if(i>0)for(t.iushrn(i);i-- >0;)(r.isOdd()||o.isOdd())&&(r.iadd(f),o.isub(d)),r.iushrn(1),o.iushrn(1);for(var v=0,y=1;0==(e.words[0]&y)&&v<26;++v,y<<=1);if(v>0)for(e.iushrn(v);v-- >0;)(l.isOdd()||c.isOdd())&&(l.iadd(f),c.isub(d)),l.iushrn(1),c.iushrn(1);t.cmp(e)>=0?(t.isub(e),r.isub(l),o.isub(c)):(e.isub(t),l.isub(r),c.isub(o))}return{a:l,b:c,gcd:e.iushln(g)}},h.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 t,e=new h(1),r=new h(0),o=b.clone();a.cmpn(1)>0&&b.cmpn(1)>0;){for(var i=0,l=1;0==(a.words[0]&l)&&i<26;++i,l<<=1);if(i>0)for(a.iushrn(i);i-- >0;)e.isOdd()&&e.iadd(o),e.iushrn(1);for(var c=0,f=1;0==(b.words[0]&f)&&c<26;++c,f<<=1);if(c>0)for(b.iushrn(c);c-- >0;)r.isOdd()&&r.iadd(o),r.iushrn(1);a.cmp(b)>=0?(a.isub(b),e.isub(r)):(b.isub(a),r.isub(e))}return(t=0===a.cmpn(1)?e:r).cmpn(0)<0&&t.iadd(p),t},h.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var a=this.clone(),b=t.clone();a.negative=0,b.negative=0;for(var e=0;a.isEven()&&b.isEven();e++)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(e)},h.prototype.invm=function(t){return this.egcd(t).a.umod(t)},h.prototype.isEven=function(){return 0==(1&this.words[0])},h.prototype.isOdd=function(){return 1==(1&this.words[0])},h.prototype.andln=function(t){return this.words[0]&t},h.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,s=(t-e)/26,q=1<<e;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},h.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},h.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var o=0|this.words[0];e=o===t?0:o<t?-1:1}return 0!==this.negative?0|-e:e},h.prototype.cmp=function(t){if(0!==this.negative&&0===t.negative)return-1;if(0===this.negative&&0!==t.negative)return 1;var e=this.ucmp(t);return 0!==this.negative?0|-e:e},h.prototype.ucmp=function(t){if(this.length>t.length)return 1;if(this.length<t.length)return-1;for(var e=0,i=this.length-1;i>=0;i--){var a=0|this.words[i],b=0|t.words[i];if(a!==b){a<b?e=-1:a>b&&(e=1);break}}return e},h.prototype.gtn=function(t){return 1===this.cmpn(t)},h.prototype.gt=function(t){return 1===this.cmp(t)},h.prototype.gten=function(t){return this.cmpn(t)>=0},h.prototype.gte=function(t){return this.cmp(t)>=0},h.prototype.ltn=function(t){return-1===this.cmpn(t)},h.prototype.lt=function(t){return-1===this.cmp(t)},h.prototype.lten=function(t){return this.cmpn(t)<=0},h.prototype.lte=function(t){return this.cmp(t)<=0},h.prototype.eqn=function(t){return 0===this.cmpn(t)},h.prototype.eq=function(t){return 0===this.cmp(t)},h.red=function(t){return new C(t)},h.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},h.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},h.prototype._forceRed=function(t){return this.red=t,this},h.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},h.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},h.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},h.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},h.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},h.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},h.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},h.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},h.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},h.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},h.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},h.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},h.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},h.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var S={k256:null,p224:null,p192:null,p25519:null};function x(t,p){this.name=t,this.p=new h(p,16),this.n=this.p.bitLength(),this.k=new h(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function E(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function A(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function T(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function k(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function C(t){if("string"==typeof t){var e=h._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function O(t){C.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new h(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)}x.prototype._tmp=function(){var t=new h(null);return t.words=new Array(Math.ceil(this.n/13)),t},x.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e<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},x.prototype.split=function(input,t){input.iushrn(this.n,0,t)},x.prototype.imulK=function(t){return t.imul(this.k)},o(E,x),E.prototype.split=function(input,output){for(var t=Math.min(input.length,9),i=0;i<t;i++)output.words[i]=input.words[i];if(output.length=t,input.length<=9)return input.words[0]=0,void(input.length=1);var e=input.words[9];for(output.words[output.length++]=4194303&e,i=10;i<input.length;i++){var r=0|input.words[i];input.words[i-10]=(4194303&r)<<4|e>>>22,e=r}e>>>=22,input.words[i-10]=e,0===e&&input.length>10?input.length-=10:input.length-=9},E.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,i=0;i<t.length;i++){var r=0|t.words[i];e+=977*r,t.words[i]=67108863&e,e=64*r+(e/67108864|0)}return 0===t.words[t.length-1]&&(t.length--,0===t.words[t.length-1]&&t.length--),t},o(A,x),o(T,x),o(k,x),k.prototype.imulK=function(t){for(var e=0,i=0;i<t.length;i++){var r=19*(0|t.words[i])+e,n=67108863&r;r>>>=26,t.words[i]=n,e=r}return 0!==e&&(t.words[t.length++]=e),t},h._prime=function(t){if(S[t])return S[t];var e;if("k256"===t)e=new E;else if("p224"===t)e=new A;else if("p192"===t)e=new T;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new k}return S[t]=e,e},C.prototype._verify1=function(a){n(0===a.negative,"red works only with positives"),n(a.red,"red works only with red numbers")},C.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")},C.prototype.imod=function(a){return this.prime?this.prime.ireduce(a)._forceRed(this):a.umod(this.m)._forceRed(this)},C.prototype.neg=function(a){return a.isZero()?a.clone():this.m.sub(a)._forceRed(this)},C.prototype.add=function(a,b){this._verify2(a,b);var t=a.add(b);return t.cmp(this.m)>=0&&t.isub(this.m),t._forceRed(this)},C.prototype.iadd=function(a,b){this._verify2(a,b);var t=a.iadd(b);return t.cmp(this.m)>=0&&t.isub(this.m),t},C.prototype.sub=function(a,b){this._verify2(a,b);var t=a.sub(b);return t.cmpn(0)<0&&t.iadd(this.m),t._forceRed(this)},C.prototype.isub=function(a,b){this._verify2(a,b);var t=a.isub(b);return t.cmpn(0)<0&&t.iadd(this.m),t},C.prototype.shl=function(a,t){return this._verify1(a),this.imod(a.ushln(t))},C.prototype.imul=function(a,b){return this._verify2(a,b),this.imod(a.imul(b))},C.prototype.mul=function(a,b){return this._verify2(a,b),this.imod(a.mul(b))},C.prototype.isqr=function(a){return this.imul(a,a.clone())},C.prototype.sqr=function(a){return this.mul(a,a)},C.prototype.sqrt=function(a){if(a.isZero())return a.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var e=this.m.add(new h(1)).iushrn(2);return this.pow(a,e)}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 h(1).toRed(this),o=r.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new h(2*c*c).toRed(this);0!==this.pow(c,l).cmp(o);)c.redIAdd(o);for(var f=this.pow(c,q),d=this.pow(a,q.addn(1).iushrn(1)),m=this.pow(a,q),v=s;0!==m.cmp(r);){for(var y=m,i=0;0!==y.cmp(r);i++)y=y.redSqr();n(i<v);var b=this.pow(f,new h(1).iushln(v-i-1));d=d.redMul(b),f=b.redSqr(),m=m.redMul(f),v=i}return d},C.prototype.invm=function(a){var t=a._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},C.prototype.pow=function(a,t){if(t.isZero())return new h(1).toRed(this);if(0===t.cmpn(1))return a.clone();var e=new Array(16);e[0]=new h(1).toRed(this),e[1]=a;for(var i=2;i<e.length;i++)e[i]=this.mul(e[i-1],a);var r=e[0],n=0,o=0,l=t.bitLength()%26;for(0===l&&(l=26),i=t.length-1;i>=0;i--){for(var c=t.words[i],f=l-1;f>=0;f--){var d=c>>f&1;r!==e[0]&&(r=this.sqr(r)),0!==d||0!==n?(n<<=1,n|=d,(4===++o||0===i&&0===f)&&(r=this.mul(r,e[n]),o=0,n=0)):o=0}l=26}return r},C.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},C.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},h.mont=function(t){return new O(t)},o(O,C),O.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},O.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},O.prototype.imul=function(a,b){if(a.isZero()||b.isZero())return a.words[0]=0,a.length=1,a;var t=a.imul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).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 h(0)._forceRed(this);var t=a.mul(b),e=t.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),u=t.isub(e).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)}}(t,this)}).call(this,r(143)(t))},,function(t,e,r){e.publicEncrypt=r(805),e.privateDecrypt=r(807),e.privateEncrypt=function(t,r){return e.publicEncrypt(t,r,!0)},e.publicDecrypt=function(t,r){return e.privateDecrypt(t,r,!0)}},function(t,e,r){var n=r(276),o=r(188),h=r(229),l=r(564),c=r(565),f=r(346),d=r(566),m=r(337),v=r(45).Buffer;t.exports=function(t,e,r){var y;y=t.padding?t.padding:r?1:4;var w,_=n(t);if(4===y)w=function(t,e){var r=t.modulus.byteLength(),n=e.length,d=h("sha1").update(v.alloc(0)).digest(),m=d.length,y=2*m;if(n>r-y-2)throw new Error("message too long");var w=v.alloc(r-n-y-2),_=r-m-1,M=o(m),S=c(v.concat([d,w,v.alloc(1,1),e],_),l(M,_)),x=c(M,l(S,m));return new f(v.concat([v.alloc(1),x,S],r))}(_,e);else if(1===y)w=function(t,e,r){var n,h=e.length,l=t.modulus.byteLength();if(h>l-11)throw new Error("message too long");n=r?v.alloc(l-h-3,255):function(t){var e,r=v.allocUnsafe(t),i=0,n=o(2*t),h=0;for(;i<t;)h===n.length&&(n=o(2*t),h=0),(e=n[h++])&&(r[i++]=e);return r}(l-h-3);return new f(v.concat([v.from([0,r?1:2]),n,v.alloc(1),e],l))}(_,e,r);else{if(3!==y)throw new Error("unknown padding");if((w=new f(e)).cmp(_.modulus)>=0)throw new Error("data too long for modulus")}return r?m(w,_):d(w,_)}},,function(t,e,r){var n=r(276),o=r(564),h=r(565),l=r(346),c=r(337),f=r(229),d=r(566),m=r(45).Buffer;t.exports=function(t,e,r){var v;v=t.padding?t.padding:r?1:4;var y,w=n(t),_=w.modulus.byteLength();if(e.length>_||new l(e).cmp(w.modulus)>=0)throw new Error("decryption error");y=r?d(new l(e),w):c(e,w);var M=m.alloc(_-y.length);if(y=m.concat([M,y],_),4===v)return function(t,e){var r=t.modulus.byteLength(),n=f("sha1").update(m.alloc(0)).digest(),l=n.length;if(0!==e[0])throw new Error("decryption error");var c=e.slice(1,l+1),d=e.slice(l+1),v=h(c,o(d,l)),y=h(d,o(v,r-l-1));if(function(a,b){a=m.from(a),b=m.from(b);var t=0,e=a.length;a.length!==b.length&&(t++,e=Math.min(a.length,b.length));var i=-1;for(;++i<e;)t+=a[i]^b[i];return t}(n,y.slice(0,l)))throw new Error("decryption error");var i=l;for(;0===y[i];)i++;if(1!==y[i++])throw new Error("decryption error");return y.slice(i)}(w,y);if(1===v)return function(t,e,r){var n=e.slice(0,2),i=2,o=0;for(;0!==e[i++];)if(i>=e.length){o++;break}var h=e.slice(2,i-1);("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&o++;h.length<8&&o++;if(o)throw new Error("decryption error");return e.slice(i)}(0,y,r);if(3===v)return y;throw new Error("unknown padding")}},function(t,e,r){"use strict";(function(t,n){function o(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var h=r(45),l=(r(188),h.Buffer),c=h.kMaxLength,f=t.crypto||t.msCrypto,d=Math.pow(2,32)-1;function m(t,e){if("number"!=typeof t||t!=t)throw new TypeError("offset must be a number");if(t>d||t<0)throw new TypeError("offset must be a uint32");if(t>c||t>e)throw new RangeError("offset out of range")}function v(t,e,r){if("number"!=typeof t||t!=t)throw new TypeError("size must be a number");if(t>d||t<0)throw new TypeError("size must be a uint32");if(t+e>r||t>c)throw new RangeError("buffer too small")}function y(t,e,r,o){var h=t.buffer,l=new Uint8Array(h,e,r);return f.getRandomValues(l),o?void n.nextTick((function(){o(null,t)})):t}f&&f.getRandomValues?(e.randomFill=function(e,r,n,o){if(!(l.isBuffer(e)||e instanceof t.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof r)o=r,r=0,n=e.length;else if("function"==typeof n)o=n,n=e.length-r;else if("function"!=typeof o)throw new TypeError('"cb" argument must be a function');return m(r,e.length),v(n,r,e.length),y(e,r,n,o)},e.randomFillSync=function(e,r,n){void 0===r&&(r=0);if(!(l.isBuffer(e)||e instanceof t.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');m(r,e.length),void 0===n&&(n=e.length-r);return v(n,r,e.length),y(e,r,n)}):(e.randomFill=o,e.randomFillSync=o)}).call(this,r(54),r(69))},,,function(t,e,r){"use strict";t.exports=function(t,e){return e||(e={}),"string"!=typeof(t=t&&t.__esModule?t.default:t)?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(t,e,r){const n=r(569);function o(t){const e=function(){const t={},e=Object.keys(n);for(let r=e.length,i=0;i<r;i++)t[e[i]]={distance:-1,parent:null};return t}(),r=[t];for(e[t].distance=0;r.length;){const t=r.pop(),o=Object.keys(n[t]);for(let n=o.length,i=0;i<n;i++){const n=o[i],h=e[n];-1===h.distance&&(h.distance=e[t].distance+1,h.parent=t,r.unshift(n))}}return e}function link(t,e){return function(r){return e(t(r))}}function h(t,e){const path=[e[t].parent,t];let r=n[e[t].parent][t],o=e[t].parent;for(;e[o].parent;)path.unshift(e[o].parent),r=link(n[e[o].parent][o],r),o=e[o].parent;return r.conversion=path,r}t.exports=function(t){const e=o(t),r={},n=Object.keys(e);for(let t=n.length,i=0;i<t;i++){const t=n[i];null!==e[t].parent&&(r[t]=h(t,e))}return r}},function(t,e,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),o=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),h=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.prototype.hasOwnProperty.call(t,r)&&n(e,t,r);return o(e,t),e},l=this&&this.__exportStar||function(t,e){for(var p in t)"default"===p||Object.prototype.hasOwnProperty.call(e,p)||n(e,t,p)},c=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.RssHandler=e.DefaultHandler=e.DomUtils=e.ElementType=e.Tokenizer=e.createDomStream=e.parseDOM=e.parseDocument=e.DomHandler=e.Parser=void 0;var f=r(570);Object.defineProperty(e,"Parser",{enumerable:!0,get:function(){return f.Parser}});var d=r(156);function m(data,t){var e=new d.DomHandler(void 0,t);return new f.Parser(e,t).end(data),e.root}Object.defineProperty(e,"DomHandler",{enumerable:!0,get:function(){return d.DomHandler}}),Object.defineProperty(e,"DefaultHandler",{enumerable:!0,get:function(){return d.DomHandler}}),e.parseDocument=m,e.parseDOM=function(data,t){return m(data,t).children},e.createDomStream=function(t,e,r){var n=new d.DomHandler(t,e,r);return new f.Parser(n,e)};var v=r(571);Object.defineProperty(e,"Tokenizer",{enumerable:!0,get:function(){return c(v).default}});var y=h(r(233));e.ElementType=y,l(r(575),e),e.DomUtils=h(r(576));var w=r(575);Object.defineProperty(e,"RssHandler",{enumerable:!0,get:function(){return w.FeedHandler}})},function(t){t.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.innerText=e.textContent=e.getText=e.getInnerHTML=e.getOuterHTML=void 0;var o=r(156),h=n(r(842)),l=r(233);function c(t,e){return h.default(t,e)}e.getOuterHTML=c,e.getInnerHTML=function(t,e){return o.hasChildren(t)?t.children.map((function(t){return c(t,e)})).join(""):""},e.getText=function t(e){return Array.isArray(e)?e.map(t).join(""):o.isTag(e)?"br"===e.name?"\n":t(e.children):o.isCDATA(e)?t(e.children):o.isText(e)?e.data:""},e.textContent=function t(e){return Array.isArray(e)?e.map(t).join(""):o.isTag(e)||o.isCDATA(e)?t(e.children):o.isText(e)?e.data:""},e.innerText=function t(e){return Array.isArray(e)?e.map(t).join(""):o.hasChildren(e)&&e.type===l.ElementType.Tag||o.isCDATA(e)?t(e.children):o.isText(e)?e.data:""}},function(t,e,r){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(t){for(var s,i=1,e=arguments.length;i<e;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p]);return t}).apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),h=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),l=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.prototype.hasOwnProperty.call(t,r)&&o(e,t,r);return h(e,t),e};Object.defineProperty(e,"__esModule",{value:!0});var c=l(r(233)),f=r(843),d=r(844),m=new Set(["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"]);var v=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]);function y(t,e){void 0===e&&(e={});for(var r=("length"in t?t:[t]),output="",i=0;i<r.length;i++)output+=w(r[i],e);return output}function w(t,e){switch(t.type){case c.Root:return y(t.children,e);case c.Directive:case c.Doctype:return"<"+t.data+">";case c.Comment:return function(t){return"\x3c!--"+t.data+"--\x3e"}(t);case c.CDATA:return function(t){return"<![CDATA["+t.children[0].data+"]]>"}(t);case c.Script:case c.Style:case c.Tag:return function(t,e){var r;"foreign"===e.xmlMode&&(t.name=null!==(r=d.elementNames.get(t.name))&&void 0!==r?r:t.name,t.parent&&_.has(t.parent.name)&&(e=n(n({},e),{xmlMode:!1})));!e.xmlMode&&M.has(t.name)&&(e=n(n({},e),{xmlMode:"foreign"}));var o="<"+t.name,h=function(t,e){if(t)return Object.keys(t).map((function(r){var n,o,h=null!==(n=t[r])&&void 0!==n?n:"";return"foreign"===e.xmlMode&&(r=null!==(o=d.attributeNames.get(r))&&void 0!==o?o:r),e.emptyAttrs||e.xmlMode||""!==h?r+'="'+(!1!==e.decodeEntities?f.encodeXML(h):h.replace(/"/g,"&quot;"))+'"':r})).join(" ")}(t.attribs,e);h&&(o+=" "+h);0===t.children.length&&(e.xmlMode?!1!==e.selfClosingTags:e.selfClosingTags&&v.has(t.name))?(e.xmlMode||(o+=" "),o+="/>"):(o+=">",t.children.length>0&&(o+=y(t.children,e)),!e.xmlMode&&v.has(t.name)||(o+="</"+t.name+">"));return o}(t,e);case c.Text:return function(t,e){var data=t.data||"";!1===e.decodeEntities||!e.xmlMode&&t.parent&&m.has(t.parent.name)||(data=f.encodeXML(data));return data}(t,e)}}e.default=y;var _=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),M=new Set(["svg","math"])},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escape=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var n=r(577),o=r(578);e.decode=function(data,t){return(!t||t<=0?n.decodeXML:n.decodeHTML)(data)},e.decodeStrict=function(data,t){return(!t||t<=0?n.decodeXML:n.decodeHTMLStrict)(data)},e.encode=function(data,t){return(!t||t<=0?o.encodeXML:o.encodeHTML)(data)};var h=r(578);Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return h.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return h.encodeHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return h.escape}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return h.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return h.encodeHTML}});var l=r(577);Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return l.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return l.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return l.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return l.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return l.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return l.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return l.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return l.decodeXML}})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.attributeNames=e.elementNames=void 0,e.elementNames=new Map([["altglyph","altGlyph"],["altglyphdef","altGlyphDef"],["altglyphitem","altGlyphItem"],["animatecolor","animateColor"],["animatemotion","animateMotion"],["animatetransform","animateTransform"],["clippath","clipPath"],["feblend","feBlend"],["fecolormatrix","feColorMatrix"],["fecomponenttransfer","feComponentTransfer"],["fecomposite","feComposite"],["feconvolvematrix","feConvolveMatrix"],["fediffuselighting","feDiffuseLighting"],["fedisplacementmap","feDisplacementMap"],["fedistantlight","feDistantLight"],["fedropshadow","feDropShadow"],["feflood","feFlood"],["fefunca","feFuncA"],["fefuncb","feFuncB"],["fefuncg","feFuncG"],["fefuncr","feFuncR"],["fegaussianblur","feGaussianBlur"],["feimage","feImage"],["femerge","feMerge"],["femergenode","feMergeNode"],["femorphology","feMorphology"],["feoffset","feOffset"],["fepointlight","fePointLight"],["fespecularlighting","feSpecularLighting"],["fespotlight","feSpotLight"],["fetile","feTile"],["feturbulence","feTurbulence"],["foreignobject","foreignObject"],["glyphref","glyphRef"],["lineargradient","linearGradient"],["radialgradient","radialGradient"],["textpath","textPath"]]),e.attributeNames=new Map([["definitionurl","definitionURL"],["attributename","attributeName"],["attributetype","attributeType"],["basefrequency","baseFrequency"],["baseprofile","baseProfile"],["calcmode","calcMode"],["clippathunits","clipPathUnits"],["diffuseconstant","diffuseConstant"],["edgemode","edgeMode"],["filterunits","filterUnits"],["glyphref","glyphRef"],["gradienttransform","gradientTransform"],["gradientunits","gradientUnits"],["kernelmatrix","kernelMatrix"],["kernelunitlength","kernelUnitLength"],["keypoints","keyPoints"],["keysplines","keySplines"],["keytimes","keyTimes"],["lengthadjust","lengthAdjust"],["limitingconeangle","limitingConeAngle"],["markerheight","markerHeight"],["markerunits","markerUnits"],["markerwidth","markerWidth"],["maskcontentunits","maskContentUnits"],["maskunits","maskUnits"],["numoctaves","numOctaves"],["pathlength","pathLength"],["patterncontentunits","patternContentUnits"],["patterntransform","patternTransform"],["patternunits","patternUnits"],["pointsatx","pointsAtX"],["pointsaty","pointsAtY"],["pointsatz","pointsAtZ"],["preservealpha","preserveAlpha"],["preserveaspectratio","preserveAspectRatio"],["primitiveunits","primitiveUnits"],["refx","refX"],["refy","refY"],["repeatcount","repeatCount"],["repeatdur","repeatDur"],["requiredextensions","requiredExtensions"],["requiredfeatures","requiredFeatures"],["specularconstant","specularConstant"],["specularexponent","specularExponent"],["spreadmethod","spreadMethod"],["startoffset","startOffset"],["stddeviation","stdDeviation"],["stitchtiles","stitchTiles"],["surfacescale","surfaceScale"],["systemlanguage","systemLanguage"],["tablevalues","tableValues"],["targetx","targetX"],["targety","targetY"],["textlength","textLength"],["viewbox","viewBox"],["viewtarget","viewTarget"],["xchannelselector","xChannelSelector"],["ychannelselector","yChannelSelector"],["zoomandpan","zoomAndPan"]])},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.prevElementSibling=e.nextElementSibling=e.getName=e.hasAttrib=e.getAttributeValue=e.getSiblings=e.getParent=e.getChildren=void 0;var n=r(156),o=[];function h(t){var e;return null!==(e=t.children)&&void 0!==e?e:o}function l(t){return t.parent||null}e.getChildren=h,e.getParent=l,e.getSiblings=function(t){var e=l(t);if(null!=e)return h(e);for(var r=[t],n=t.prev,o=t.next;null!=n;)r.unshift(n),n=n.prev;for(;null!=o;)r.push(o),o=o.next;return r},e.getAttributeValue=function(t,e){var r;return null===(r=t.attribs)||void 0===r?void 0:r[e]},e.hasAttrib=function(t,e){return null!=t.attribs&&Object.prototype.hasOwnProperty.call(t.attribs,e)&&null!=t.attribs[e]},e.getName=function(t){return t.name},e.nextElementSibling=function(t){for(var e=t.next;null!==e&&!n.isTag(e);)e=e.next;return e},e.prevElementSibling=function(t){for(var e=t.prev;null!==e&&!n.isTag(e);)e=e.prev;return e}},function(t,e,r){"use strict";function n(t){if(t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t.parent){var e=t.parent.children;e.splice(e.lastIndexOf(t),1)}}Object.defineProperty(e,"__esModule",{value:!0}),e.prepend=e.prependChild=e.append=e.appendChild=e.replaceElement=e.removeElement=void 0,e.removeElement=n,e.replaceElement=function(t,e){var r=e.prev=t.prev;r&&(r.next=e);var n=e.next=t.next;n&&(n.prev=e);var o=e.parent=t.parent;if(o){var h=o.children;h[h.lastIndexOf(t)]=e}},e.appendChild=function(t,e){if(n(e),e.next=null,e.parent=t,t.children.push(e)>1){var r=t.children[t.children.length-2];r.next=e,e.prev=r}else e.prev=null},e.append=function(t,e){n(e);var r=t.parent,o=t.next;if(e.next=o,e.prev=t,t.next=e,e.parent=r,o){if(o.prev=e,r){var h=r.children;h.splice(h.lastIndexOf(o),0,e)}}else r&&r.children.push(e)},e.prependChild=function(t,e){if(n(e),e.parent=t,e.prev=null,1!==t.children.unshift(e)){var r=t.children[1];r.prev=e,e.next=r}else e.next=null},e.prepend=function(t,e){n(e);var r=t.parent;if(r){var o=r.children;o.splice(o.indexOf(t),0,e)}t.prev&&(t.prev.next=e),e.parent=r,e.prev=t.prev,e.next=t,t.prev=e}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getElementsByTagType=e.getElementsByTagName=e.getElementById=e.getElements=e.testElement=void 0;var n=r(156),o=r(579),h={tag_name:function(t){return"function"==typeof t?function(e){return n.isTag(e)&&t(e.name)}:"*"===t?n.isTag:function(e){return n.isTag(e)&&e.name===t}},tag_type:function(t){return"function"==typeof t?function(e){return t(e.type)}:function(e){return e.type===t}},tag_contains:function(data){return"function"==typeof data?function(t){return n.isText(t)&&data(t.data)}:function(t){return n.isText(t)&&t.data===data}}};function l(t,e){return"function"==typeof e?function(r){return n.isTag(r)&&e(r.attribs[t])}:function(r){return n.isTag(r)&&r.attribs[t]===e}}function c(a,b){return function(t){return a(t)||b(t)}}function f(t){var e=Object.keys(t).map((function(e){var r=t[e];return e in h?h[e](r):l(e,r)}));return 0===e.length?null:e.reduce(c)}e.testElement=function(t,e){var r=f(t);return!r||r(e)},e.getElements=function(t,e,r,n){void 0===n&&(n=1/0);var h=f(t);return h?o.filter(h,e,r,n):[]},e.getElementById=function(t,e,r){return void 0===r&&(r=!0),Array.isArray(e)||(e=[e]),o.findOne(l("id",t),e,r)},e.getElementsByTagName=function(t,e,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),o.filter(h.tag_name(t),e,r,n)},e.getElementsByTagType=function(t,e,r,n){return void 0===r&&(r=!0),void 0===n&&(n=1/0),o.filter(h.tag_type(t),e,r,n)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.uniqueSort=e.compareDocumentPosition=e.removeSubsets=void 0;var n=r(156);function o(t,e){var r=[],o=[];if(t===e)return 0;for(var h=n.hasChildren(t)?t:t.parent;h;)r.unshift(h),h=h.parent;for(h=n.hasChildren(e)?e:e.parent;h;)o.unshift(h),h=h.parent;for(var l=Math.min(r.length,o.length),c=0;c<l&&r[c]===o[c];)c++;if(0===c)return 1;var f=r[c-1],d=f.children,m=r[c],v=o[c];return d.indexOf(m)>d.indexOf(v)?f===e?20:4:f===t?10:2}e.removeSubsets=function(t){for(var e=t.length;--e>=0;){var r=t[e];if(e>0&&t.lastIndexOf(r,e-1)>=0)t.splice(e,1);else for(var n=r.parent;n;n=n.parent)if(t.includes(n)){t.splice(e,1);break}}return t},e.compareDocumentPosition=o,e.uniqueSort=function(t){return(t=t.filter((function(t,i,e){return!e.includes(t,i+1)}))).sort((function(a,b){var t=o(a,b);return 2&t?-1:4&t?1:0})),t}},function(t,e,r){"use strict";t.exports=t=>{if("string"!=typeof t)throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},function(t,e,r){"use strict";function n(t){if("object"!=typeof t)return t;var e,r,o=Object.prototype.toString.call(t);if("[object Object]"===o){if(t.constructor!==Object&&"function"==typeof t.constructor)for(e in r=new t.constructor,t)r.hasOwnProperty(e)&&r[e]!==t[e]&&(r[e]=n(t[e]));else for(e in r={},t)"__proto__"===e?Object.defineProperty(r,e,{value:n(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=n(t[e]);return r}if("[object Array]"===o){for(e=t.length,r=Array(e);e--;)r[e]=n(t[e]);return r}return"[object Set]"===o?(r=new Set,t.forEach((function(t){r.add(n(t))})),r):"[object Map]"===o?(r=new Map,t.forEach((function(t,e){r.set(n(e),n(t))})),r):"[object Date]"===o?new Date(+t):"[object RegExp]"===o?((r=new RegExp(t.source,t.flags)).lastIndex=t.lastIndex,r):"[object DataView]"===o?new t.constructor(n(t.buffer)):"[object ArrayBuffer]"===o?t.slice(0):"Array]"===o.slice(-6)?new t.constructor(t):t}r.r(e),r.d(e,"klona",(function(){return n}))},function(t,e,r){"use strict";function n(t){return"[object Object]"===Object.prototype.toString.call(t)}function o(t){var e,r;return!1!==n(t)&&(void 0===(e=t.constructor)||!1!==n(r=e.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))}r.r(e),r.d(e,"isPlainObject",(function(){return o}))},function(t,e,r){var n,o,h;o=[],void 0===(h="function"==typeof(n=function(){return function(input){function t(t){return" "===t||"\t"===t||"\n"===t||"\f"===t||"\r"===t}function e(t){var e,r=t.exec(input.substring(_));if(r)return e=r[0],_+=e.length,e}for(var r,n,o,h,l,c=input.length,f=/^[ \t\n\r\u000c]+/,d=/^[, \t\n\r\u000c]+/,m=/^[^ \t\n\r\u000c]+/,v=/[,]+$/,y=/^\d+$/,w=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,_=0,M=[];;){if(e(d),_>=c)return M;r=e(m),n=[],","===r.slice(-1)?(r=r.replace(v,""),x()):S()}function S(){for(e(f),o="",h="in descriptor";;){if(l=input.charAt(_),"in descriptor"===h)if(t(l))o&&(n.push(o),o="",h="after descriptor");else{if(","===l)return _+=1,o&&n.push(o),void x();if("("===l)o+=l,h="in parens";else{if(""===l)return o&&n.push(o),void x();o+=l}}else if("in parens"===h)if(")"===l)o+=l,h="in descriptor";else{if(""===l)return n.push(o),void x();o+=l}else if("after descriptor"===h)if(t(l));else{if(""===l)return void x();h="in descriptor",_-=1}_+=1}}function x(){var t,e,o,i,desc,h,l,c,f,d=!1,m={};for(i=0;i<n.length;i++)h=(desc=n[i])[desc.length-1],l=desc.substring(0,desc.length-1),c=parseInt(l,10),f=parseFloat(l),y.test(l)&&"w"===h?((t||e)&&(d=!0),0===c?d=!0:t=c):w.test(l)&&"x"===h?((t||e||o)&&(d=!0),f<0?d=!0:e=f):y.test(l)&&"h"===h?((o||e)&&(d=!0),0===c?d=!0:o=c):d=!0;d?console&&console.log&&console.log("Invalid srcset descriptor found in '"+input+"' at '"+desc+"'."):(m.url=r,t&&(m.w=t),e&&(m.d=e),o&&(m.h=o),M.push(m))}}})?n.apply(e,o):n)||(t.exports=h)},function(t,e,r){"use strict";(function(e){let n=r(349),o=r(277),h=r(582),l=r(194),c=r(861),f=r(351),d=r(862),m=r(357),v=r(585),y=r(279),w=r(354),_=r(584),M=r(356),S=r(586),x=r(587),E=r(355),A=r(234),T=r(278);function k(...t){return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new c(t)}k.plugin=function(t,r){function n(...e){let n=r(...e);return n.postcssPlugin=t,n.postcssVersion=(new c).version,n}let o;return console&&console.warn&&(console.warn(t+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),e.env.LANG&&e.env.LANG.startsWith("cn")&&console.warn(t+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226")),Object.defineProperty(n,"postcss",{get:()=>(o||(o=n()),o)}),n.process=function(t,e,r){return k([n(r)]).process(t,e)},n},k.stringify=f,k.parse=S,k.fromJSON=d,k.list=x,k.comment=t=>new y(t),k.atRule=t=>new w(t),k.decl=t=>new o(t),k.rule=t=>new E(t),k.root=t=>new A(t),k.document=t=>new m(t),k.CssSyntaxError=n,k.Declaration=o,k.Container=l,k.Document=m,k.Comment=y,k.Warning=v,k.AtRule=w,k.Result=_,k.Input=M,k.Rule=E,k.Root=A,k.Node=T,h.registerPostcss(k),t.exports=k,k.default=k}).call(this,r(69))},,function(t,e,r){"use strict";(function(e){let{SourceMapConsumer:n,SourceMapGenerator:o}=r(352),{dirname:h,resolve:l,relative:c,sep:f}=r(353),{pathToFileURL:d}=r(583),m=Boolean(n&&o),v=Boolean(h&&l&&c&&f);t.exports=class{constructor(t,e,r){this.stringify=t,this.mapOpts=r.map||{},this.root=e,this.opts=r}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}previous(){return this.previousMaps||(this.previousMaps=[],this.root.walk(t=>{if(t.source&&t.source.input.map){let map=t.source.input.map;this.previousMaps.includes(map)||this.previousMaps.push(map)}})),this.previousMaps}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let t=this.mapOpts.annotation;return(void 0===t||!0===t)&&(!this.previous().length||this.previous().some(i=>i.inline))}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(i=>i.withContent())}clearAnnotation(){if(!1===this.mapOpts.annotation)return;let t;for(let i=this.root.nodes.length-1;i>=0;i--)t=this.root.nodes[i],"comment"===t.type&&0===t.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(i)}setSourcesContent(){let t={};this.root.walk(e=>{if(e.source){let r=e.source.input.from;r&&!t[r]&&(t[r]=!0,this.map.setSourceContent(this.toUrl(this.path(r)),e.source.input.css))}})}applyPrevMaps(){for(let t of this.previous()){let map,e=this.toUrl(this.path(t.file)),r=t.root||h(t.file);!1===this.mapOpts.sourcesContent?(map=new n(t.text),map.sourcesContent&&(map.sourcesContent=map.sourcesContent.map(()=>null))):map=t.consumer(),this.map.applySourceMap(map,e,this.toUrl(this.path(r)))}}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(i=>i.annotation))}toBase64(t){return e?e.from(t).toString("base64"):window.btoa(unescape(encodeURIComponent(t)))}addAnnotation(){let content;content=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+content+" */"}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){return this.generateString(),this.isSourcesContent()&&this.setSourcesContent(),this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}path(t){if(0===t.indexOf("<"))return t;if(/^\w+:\/\//.test(t))return t;if(this.mapOpts.absolute)return t;let e=this.opts.to?h(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(e=h(l(e,this.mapOpts.annotation))),t=c(e,t)}toUrl(path){return"\\"===f&&(path=path.replace(/\\/g,"/")),encodeURI(path).replace(/[#?]/g,encodeURIComponent)}sourcePath(t){if(this.mapOpts.from)return this.toUrl(this.mapOpts.from);if(this.mapOpts.absolute){if(d)return d(t.source.input.from).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}return this.toUrl(this.path(t.source.input.from))}generateString(){this.css="",this.map=new o({file:this.outputFile()});let t,e,line=1,r=1,n={source:"",generated:{line:0,column:0},original:{line:0,column:0}};this.stringify(this.root,(o,h,l)=>{if(this.css+=o,h&&"end"!==l&&(n.generated.line=line,n.generated.column=r-1,h.source&&h.source.start?(n.source=this.sourcePath(h),n.original.line=h.source.start.line,n.original.column=h.source.start.column-1,this.map.addMapping(n)):(n.source="<no source>",n.original.line=1,n.original.column=0,this.map.addMapping(n))),t=o.match(/\n/g),t?(line+=t.length,e=o.lastIndexOf("\n"),r=o.length-e):r+=o.length,h&&"start"!==l){let p=h.parent||{raws:{}};("decl"!==h.type||h!==p.last||p.raws.semicolon)&&(h.source&&h.source.end?(n.source=this.sourcePath(h),n.original.line=h.source.end.line,n.original.column=h.source.end.column-1,n.generated.line=line,n.generated.column=r-2,this.map.addMapping(n)):(n.source="<no source>",n.original.line=1,n.original.column=0,n.generated.line=line,n.generated.column=r-1,this.map.addMapping(n)))}})}generate(){if(this.clearAnnotation(),v&&m&&this.isMap())return this.generateMap();let t="";return this.stringify(this.root,i=>{t+=i}),[t]}}}).call(this,r(61).Buffer)},function(t,e,r){"use strict";let n={};t.exports=function(t){n[t]||(n[t]=!0,"undefined"!=typeof console&&console.warn&&console.warn(t))}},function(t,e,r){"use strict";let n=r(277),o=r(858),h=r(279),l=r(354),c=r(234),f=r(355);t.exports=class{constructor(input){this.input=input,this.root=new c,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:input,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=o(this.input)}parse(){let t;for(;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t)}this.endFile()}comment(t){let e=new h;this.init(e,t[2]),e.source.end=this.getPosition(t[3]||t[2]);let text=t[1].slice(2,-2);if(/^\s*$/.test(text))e.text="",e.raws.left=text,e.raws.right="";else{let t=text.match(/^(\s*)([^]*\S)(\s*)$/);e.text=t[2],e.raws.left=t[1],e.raws.right=t[3]}}emptyRule(t){let e=new f;this.init(e,t[2]),e.selector="",e.raws.between="",this.current=e}other(t){let e=!1,r=null,n=!1,o=null,h=[],l=t[1].startsWith("--"),c=[],f=t;for(;f;){if(r=f[0],c.push(f),"("===r||"["===r)o||(o=f),h.push("("===r?")":"]");else if(l&&n&&"{"===r)o||(o=f),h.push("}");else if(0===h.length){if(";"===r){if(n)return void this.decl(c,l);break}if("{"===r)return void this.rule(c);if("}"===r){this.tokenizer.back(c.pop()),e=!0;break}":"===r&&(n=!0)}else r===h[h.length-1]&&(h.pop(),0===h.length&&(o=null));f=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(e=!0),h.length>0&&this.unclosedBracket(o),e&&n){for(;c.length&&(f=c[c.length-1][0],"space"===f||"comment"===f);)this.tokenizer.back(c.pop());this.decl(c,l)}else this.unknownWord(c)}rule(t){t.pop();let e=new f;this.init(e,t[0][2]),e.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(e,"selector",t),this.current=e}decl(t,e){let r=new n;this.init(r,t[0][2]);let o,h=t[t.length-1];for(";"===h[0]&&(this.semicolon=!0,t.pop()),r.source.end=this.getPosition(h[3]||h[2]);"word"!==t[0][0];)1===t.length&&this.unknownWord(t),r.raws.before+=t.shift()[1];for(r.source.start=this.getPosition(t[0][2]),r.prop="";t.length;){let e=t[0][0];if(":"===e||"space"===e||"comment"===e)break;r.prop+=t.shift()[1]}for(r.raws.between="";t.length;){if(o=t.shift(),":"===o[0]){r.raws.between+=o[1];break}"word"===o[0]&&/\w/.test(o[1])&&this.unknownWord([o]),r.raws.between+=o[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let l=this.spacesAndCommentsFromStart(t);this.precheckMissedSemicolon(t);for(let i=t.length-1;i>=0;i--){if(o=t[i],"!important"===o[1].toLowerCase()){r.important=!0;let e=this.stringFrom(t,i);e=this.spacesFromEnd(t)+e," !important"!==e&&(r.raws.important=e);break}if("important"===o[1].toLowerCase()){let e=t.slice(0),n="";for(let t=i;t>0;t--){let r=e[t][0];if(0===n.trim().indexOf("!")&&"space"!==r)break;n=e.pop()[1]+n}0===n.trim().indexOf("!")&&(r.important=!0,r.raws.important=n,t=e)}if("space"!==o[0]&&"comment"!==o[0])break}let c=t.some(i=>"space"!==i[0]&&"comment"!==i[0]);this.raw(r,"value",t),c?r.raws.between+=l:r.value=l+r.value,r.value.includes(":")&&!e&&this.checkMissedSemicolon(t)}atrule(t){let e,r,n,o=new l;o.name=t[1].slice(1),""===o.name&&this.unnamedAtrule(o,t),this.init(o,t[2]);let h=!1,c=!1,f=[],d=[];for(;!this.tokenizer.endOfFile();){if(e=(t=this.tokenizer.nextToken())[0],"("===e||"["===e?d.push("("===e?")":"]"):"{"===e&&d.length>0?d.push("}"):e===d[d.length-1]&&d.pop(),0===d.length){if(";"===e){o.source.end=this.getPosition(t[2]),this.semicolon=!0;break}if("{"===e){c=!0;break}if("}"===e){if(f.length>0){for(n=f.length-1,r=f[n];r&&"space"===r[0];)r=f[--n];r&&(o.source.end=this.getPosition(r[3]||r[2]))}this.end(t);break}f.push(t)}else f.push(t);if(this.tokenizer.endOfFile()){h=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(f),f.length?(o.raws.afterName=this.spacesAndCommentsFromStart(f),this.raw(o,"params",f),h&&(t=f[f.length-1],o.source.end=this.getPosition(t[3]||t[2]),this.spaces=o.raws.between,o.raws.between="")):(o.raws.afterName="",o.params=""),c&&(o.nodes=[],this.current=o)}end(t){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(t[2]),this.current=this.current.parent):this.unexpectedClose(t)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(t){if(this.spaces+=t[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(t){let e=this.input.fromOffset(t);return{offset:t,line:e.line,column:e.col}}init(t,e){this.current.push(t),t.source={start:this.getPosition(e),input:this.input},t.raws.before=this.spaces,this.spaces="","comment"!==t.type&&(this.semicolon=!1)}raw(t,e,r){let n,o,h,l,c=r.length,f="",d=!0,pattern=/^([#.|])?(\w)+/i;for(let i=0;i<c;i+=1)n=r[i],o=n[0],"comment"!==o||"rule"!==t.type?"comment"===o||"space"===o&&i===c-1?d=!1:f+=n[1]:(l=r[i-1],h=r[i+1],"space"!==l[0]&&"space"!==h[0]&&pattern.test(l[1])&&pattern.test(h[1])?f+=n[1]:d=!1);if(!d){let n=r.reduce((t,i)=>t+i[1],"");t.raws[e]={value:f,raw:n}}t[e]=f}spacesAndCommentsFromEnd(t){let e,r="";for(;t.length&&(e=t[t.length-1][0],"space"===e||"comment"===e);)r=t.pop()[1]+r;return r}spacesAndCommentsFromStart(t){let e,r="";for(;t.length&&(e=t[0][0],"space"===e||"comment"===e);)r+=t.shift()[1];return r}spacesFromEnd(t){let e,r="";for(;t.length&&(e=t[t.length-1][0],"space"===e);)r=t.pop()[1]+r;return r}stringFrom(t,e){let r="";for(let i=e;i<t.length;i++)r+=t[i][1];return t.splice(e,t.length-e),r}colon(t){let e,r,n,o=0;for(let[i,element]of t.entries()){if(e=element,r=e[0],"("===r&&(o+=1),")"===r&&(o-=1),0===o&&":"===r){if(n){if("word"===n[0]&&"progid"===n[1])continue;return i}this.doubleColon(e)}n=e}return!1}unclosedBracket(t){throw this.input.error("Unclosed bracket",t[2])}unknownWord(t){throw this.input.error("Unknown word",t[0][2])}unexpectedClose(t){throw this.input.error("Unexpected }",t[2])}unclosedBlock(){let t=this.current.source.start;throw this.input.error("Unclosed block",t.line,t.column)}doubleColon(t){throw this.input.error("Double colon",t[2])}unnamedAtrule(t,e){throw this.input.error("At-rule without name",e[2])}precheckMissedSemicolon(){}checkMissedSemicolon(t){let e=this.colon(t);if(!1===e)return;let r,n=0;for(let o=e-1;o>=0&&(r=t[o],"space"===r[0]||(n+=1,2!==n));o--);throw this.input.error("Missed semicolon",r[2])}}},function(t,e,r){"use strict";const n="'".charCodeAt(0),o='"'.charCodeAt(0),h="\\".charCodeAt(0),l="/".charCodeAt(0),c="\n".charCodeAt(0),f=" ".charCodeAt(0),d="\f".charCodeAt(0),m="\t".charCodeAt(0),v="\r".charCodeAt(0),y="[".charCodeAt(0),w="]".charCodeAt(0),_="(".charCodeAt(0),M=")".charCodeAt(0),S="{".charCodeAt(0),x="}".charCodeAt(0),E=";".charCodeAt(0),A="*".charCodeAt(0),T=":".charCodeAt(0),k="@".charCodeAt(0),C=/[\t\n\f\r "#'()/;[\\\]{}]/g,O=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,I=/.[\n"'(/\\]/,P=/[\da-f]/i;t.exports=function(input,t={}){let code,e,r,content,R,j,N,L,D,B,F=input.css.valueOf(),U=t.ignoreErrors,z=F.length,H=0,G=[],V=[];function $(t){throw input.error("Unclosed "+t,H)}return{back:function(t){V.push(t)},nextToken:function(t){if(V.length)return V.pop();if(H>=z)return;let W=!!t&&t.ignoreUnclosed;switch(code=F.charCodeAt(H),code){case c:case f:case m:case v:case d:e=H;do{e+=1,code=F.charCodeAt(e)}while(code===f||code===c||code===m||code===v||code===d);B=["space",F.slice(H,e)],H=e-1;break;case y:case w:case S:case x:case T:case E:case M:{let t=String.fromCharCode(code);B=[t,t,H];break}case _:if(L=G.length?G.pop()[1]:"",D=F.charCodeAt(H+1),"url"===L&&D!==n&&D!==o&&D!==f&&D!==c&&D!==m&&D!==d&&D!==v){e=H;do{if(j=!1,e=F.indexOf(")",e+1),-1===e){if(U||W){e=H;break}$("bracket")}for(N=e;F.charCodeAt(N-1)===h;)N-=1,j=!j}while(j);B=["brackets",F.slice(H,e+1),H,e],H=e}else e=F.indexOf(")",H+1),content=F.slice(H,e+1),-1===e||I.test(content)?B=["(","(",H]:(B=["brackets",content,H,e],H=e);break;case n:case o:r=code===n?"'":'"',e=H;do{if(j=!1,e=F.indexOf(r,e+1),-1===e){if(U||W){e=H+1;break}$("string")}for(N=e;F.charCodeAt(N-1)===h;)N-=1,j=!j}while(j);B=["string",F.slice(H,e+1),H,e],H=e;break;case k:C.lastIndex=H+1,C.test(F),e=0===C.lastIndex?F.length-1:C.lastIndex-2,B=["at-word",F.slice(H,e+1),H,e],H=e;break;case h:for(e=H,R=!0;F.charCodeAt(e+1)===h;)e+=1,R=!R;if(code=F.charCodeAt(e+1),R&&code!==l&&code!==f&&code!==c&&code!==m&&code!==v&&code!==d&&(e+=1,P.test(F.charAt(e)))){for(;P.test(F.charAt(e+1));)e+=1;F.charCodeAt(e+1)===f&&(e+=1)}B=["word",F.slice(H,e+1),H,e],H=e;break;default:code===l&&F.charCodeAt(H+1)===A?(e=F.indexOf("*/",H+2)+1,0===e&&(U||W?e=F.length:$("comment")),B=["comment",F.slice(H,e+1),H,e],H=e):(O.lastIndex=H+1,O.test(F),e=0===O.lastIndex?F.length-1:O.lastIndex-2,B=["word",F.slice(H,e+1),H,e],G.push(B),H=e)}return H++,B},endOfFile:function(){return 0===V.length&&H>=z},position:function(){return H}}}},function(t,e,r){"use strict";r.r(e),r.d(e,"nanoid",(function(){return o})),r.d(e,"customAlphabet",(function(){return n}));let n=(t,e)=>()=>{let r="",i=e;for(;i--;)r+=t[Math.random()*t.length|0];return r},o=(t=21)=>{let e="",i=t;for(;i--;)e+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return e}},,function(t,e,r){"use strict";let n=r(582),o=r(234),h=r(357);class l{constructor(t=[]){this.version="8.3.0",this.plugins=this.normalize(t)}use(t){return this.plugins=this.plugins.concat(this.normalize([t])),this}process(t,e={}){return 0!==this.plugins.length||e.parser!==e.stringifier||e.hideNothingWarning,new n(this,t,e)}normalize(t){let e=[];for(let i of t)if(!0===i.postcss?i=i():i.postcss&&(i=i.postcss),"object"==typeof i&&Array.isArray(i.plugins))e=e.concat(i.plugins);else if("object"==typeof i&&i.postcssPlugin)e.push(i);else if("function"==typeof i)e.push(i);else{if("object"!=typeof i||!i.parse&&!i.stringify)throw new Error(i+" is not a PostCSS plugin")}return e}}t.exports=l,l.default=l,o.registerProcessor(l),h.registerProcessor(l)},function(t,e,r){"use strict";let n=r(277),o=r(588),h=r(279),l=r(354),c=r(356),f=r(234),d=r(355);function m(t,e){if(Array.isArray(t))return t.map(t=>m(t));let{inputs:r,...v}=t;if(r){e=[];for(let input of r){let t={...input,__proto__:c.prototype};t.map&&(t.map={...t.map,__proto__:o.prototype}),e.push(t)}}if(v.nodes&&(v.nodes=t.nodes.map(t=>m(t,e))),v.source){let{inputId:t,...source}=v.source;v.source=source,null!=t&&(v.source.input=e[t])}if("root"===v.type)return new f(v);if("decl"===v.type)return new n(v);if("rule"===v.type)return new d(v);if("comment"===v.type)return new h(v);if("atrule"===v.type)return new l(v);throw new Error("Unknown node type: "+t.type)}t.exports=m,m.default=m},function(t,e,r){var content=r(864);"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(91).default)("28f0d85c",content,!1,{sourceMap:!1})},function(t,e,r){(e=r(90)(!1)).push([t.i,'@font-face{font-family:"swiper-icons";src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA") format("woff");font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}.swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-container-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-container-multirow>.swiper-wrapper{flex-wrap:wrap}.swiper-container-multirow-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-container-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-container-pointer-events{touch-action:pan-y}.swiper-container-pointer-events.swiper-container-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-container-3d{perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:linear-gradient(270deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-right{background-image:linear-gradient(90deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-top{background-image:linear-gradient(0deg,rgba(0,0,0,.5),transparent)}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(180deg,rgba(0,0,0,.5),transparent)}.swiper-container-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-container-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-container-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-container-horizontal.swiper-container-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-container-vertical.swiper-container-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:27px;width:calc(var(--swiper-navigation-size)/44*27);height:44px;height:var(--swiper-navigation-size);margin-top:-22px;margin-top:calc(0px - var(--swiper-navigation-size)/2);z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-theme-color);color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:44px;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;text-transform:none;font-feature-settings:normal,;font-variant:normal;line-height:1}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{left:10px;right:auto}.swiper-button-prev:after,.swiper-container-rtl .swiper-button-next:after{content:"prev"}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{right:10px;left:auto}.swiper-button-next:after,.swiper-container-rtl .swiper-button-prev:after{content:"next"}.swiper-button-next.swiper-button-white,.swiper-button-prev.swiper-button-white{--swiper-navigation-color:#fff}.swiper-button-next.swiper-button-black,.swiper-button-prev.swiper-button-black{--swiper-navigation-color:#000}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:opacity .3s;transform:translateZ(0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:50%;background:#000;opacity:.2}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:1;background:var(--swiper-theme-color);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:6px 0;display:block}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:transform .2s,top .2s}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,left .2s}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:transform .2s,right .2s}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-theme-color);background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-container-vertical>.swiper-pagination-progressbar{width:4px;height:100%;left:0;top:0}.swiper-pagination-white{--swiper-pagination-color:#fff}.swiper-pagination-black{--swiper-pagination-color:#000}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0,0,0,.1)}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-container-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0,0,0,.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;animation:swiper-preloader-spin 1s linear infinite;box-sizing:border-box;border-left:4px solid var(--swiper-theme-color);border-bottom:4px solid var(--swiper-theme-color);border-right:4px solid var(--swiper-theme-color);border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top:4px solid transparent}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{to{transform:rotate(1turn)}}.swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-container-fade.swiper-container-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-container-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube.swiper-container-rtl .swiper-slide{transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right,.swiper-container-cube .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0;width:100%;height:100%;opacity:.6;z-index:0}.swiper-container-cube .swiper-cube-shadow:before{content:"";background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-container-flip{overflow:visible}.swiper-container-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right,.swiper-container-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}',""]),t.exports=e},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Konva=void 0;var n=r(866),o=r(870),h=r(871),l=r(872),c=r(873),f=r(874),d=r(875),m=r(596),v=r(597),y=r(598),w=r(876),_=r(877),M=r(878),S=r(879),x=r(599),E=r(880),A=r(881),T=r(882),k=r(883),C=r(884),O=r(885),I=r(886),P=r(887),R=r(888),j=r(889),N=r(890),L=r(891),D=r(892),B=r(893),F=r(894),U=r(895),z=r(896),H=r(897),G=r(898),V=r(899),$=r(900),W=r(901);e.Konva=n.Konva.Util._assign(n.Konva,{Arc:o.Arc,Arrow:h.Arrow,Circle:l.Circle,Ellipse:c.Ellipse,Image:f.Image,Label:d.Label,Tag:d.Tag,Line:m.Line,Path:v.Path,Rect:y.Rect,RegularPolygon:w.RegularPolygon,Ring:_.Ring,Sprite:M.Sprite,Star:S.Star,Text:x.Text,TextPath:E.TextPath,Transformer:A.Transformer,Wedge:T.Wedge,Filters:{Blur:k.Blur,Brighten:C.Brighten,Contrast:O.Contrast,Emboss:I.Emboss,Enhance:P.Enhance,Grayscale:R.Grayscale,HSL:j.HSL,HSV:N.HSV,Invert:L.Invert,Kaleidoscope:D.Kaleidoscope,Mask:B.Mask,Noise:F.Noise,Pixelate:U.Pixelate,Posterize:z.Posterize,RGB:H.RGB,RGBA:G.RGBA,Sepia:V.Sepia,Solarize:$.Solarize,Threshold:W.Threshold}})},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Konva=void 0;var n=r(47),o=r(52),h=r(72),l=r(281),c=r(867),f=r(595),d=r(868),m=r(359),v=r(358),y=r(82),w=r(360),_=r(869),M=r(593),S=r(280);e.Konva=o.Util._assign(n.Konva,{Collection:o.Collection,Util:o.Util,Transform:o.Transform,Node:h.Node,ids:h.ids,names:h.names,Container:l.Container,Stage:c.Stage,stages:c.stages,Layer:f.Layer,FastLayer:d.FastLayer,Group:m.Group,DD:v.DD,Shape:y.Shape,shapes:y.shapes,Animation:w.Animation,Tween:_.Tween,Easings:_.Easings,Context:M.Context,Canvas:S.Canvas})},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)},function(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0}),e.Stage=e.stages=void 0;var h=r(52),l=r(46),c=r(281),f=r(47),d=r(280),m=r(358),v=r(47),y=r(594),w=["mouseenter","mousedown","mousemove","mouseup","mouseleave","touchstart","touchmove","touchend","mouseover","wheel","contextmenu","pointerdown","pointermove","pointerup","pointercancel","lostpointercapture"],_=w.length;function M(t,e){t.content.addEventListener(e,(function(r){t["_"+e](r)}),!1)}function S(t){return void 0===t&&(t={}),(t.clipFunc||t.clipWidth||t.clipHeight)&&h.Util.warn("Stage does not support clipping. Please use clip for Layers or Groups."),t}e.stages=[];var x=function(t){function r(r){var n=t.call(this,S(r))||this;return n._pointerPositions=[],n._changedPointerPositions=[],n._buildDOM(),n._bindContentEvents(),e.stages.push(n),n.on("widthChange.konva heightChange.konva",n._resizeDOM),n.on("visibleChange.konva",n._checkVisibility),n.on("clipWidthChange.konva clipHeightChange.konva clipFuncChange.konva",(function(){S(n.attrs)})),n._checkVisibility(),n}return o(r,t),r.prototype._validateAdd=function(t){var e="Layer"===t.getType(),r="FastLayer"===t.getType();e||r||h.Util.throw("You may only add layers to the stage.")},r.prototype._checkVisibility=function(){if(this.content){var style=this.visible()?"":"none";this.content.style.display=style}},r.prototype.setContainer=function(t){if("string"==typeof t){if("."===t.charAt(0)){var e=t.slice(1);t=document.getElementsByClassName(e)[0]}else{var r;r="#"!==t.charAt(0)?t:t.slice(1),t=document.getElementById(r)}if(!t)throw"Can not find container in document with id "+r}return this._setAttr("container",t),this.content&&(this.content.parentElement&&this.content.parentElement.removeChild(this.content),t.appendChild(this.content)),this},r.prototype.shouldDrawHit=function(){return!0},r.prototype.clear=function(){var t,e=this.children,r=e.length;for(t=0;t<r;t++)e[t].clear();return this},r.prototype.clone=function(t){return t||(t={}),t.container=document.createElement("div"),c.Container.prototype.clone.call(this,t)},r.prototype.destroy=function(){t.prototype.destroy.call(this);var content=this.content;content&&h.Util._isInDocument(content)&&this.container().removeChild(content);var r=e.stages.indexOf(this);return r>-1&&e.stages.splice(r,1),this},r.prototype.getPointerPosition=function(){var t=this._pointerPositions[0]||this._changedPointerPositions[0];return t?{x:t.x,y:t.y}:(h.Util.warn("Pointer position is missing and not registered by the stage. Looks like it is outside of the stage container. You can set it manually from event: stage.setPointersPositions(event);"),null)},r.prototype._getPointerById=function(t){return this._pointerPositions.find((function(p){return p.id===t}))},r.prototype.getPointersPositions=function(){return this._pointerPositions},r.prototype.getStage=function(){return this},r.prototype.getContent=function(){return this.content},r.prototype._toKonvaCanvas=function(t){(t=t||{}).x=t.x||0,t.y=t.y||0,t.width=t.width||this.width(),t.height=t.height||this.height();var canvas=new d.SceneCanvas({width:t.width,height:t.height,pixelRatio:t.pixelRatio||1}),e=canvas.getContext()._context,r=this.children;return(t.x||t.y)&&e.translate(-1*t.x,-1*t.y),r.each((function(r){if(r.isVisible()){var n=r._toKonvaCanvas(t);e.drawImage(n._canvas,t.x,t.y,n.getWidth()/n.getPixelRatio(),n.getHeight()/n.getPixelRatio())}})),canvas},r.prototype.getIntersection=function(t,e){if(!t)return null;var r,n,o=this.children;for(r=o.length-1;r>=0;r--)if(n=o[r].getIntersection(t,e))return n;return null},r.prototype._resizeDOM=function(){var t=this.width(),e=this.height();this.content&&(this.content.style.width=t+"px",this.content.style.height=e+"px"),this.bufferCanvas.setSize(t,e),this.bufferHitCanvas.setSize(t,e),this.children.each((function(r){r.setSize({width:t,height:e}),r.draw()}))},r.prototype.add=function(e){if(arguments.length>1){for(var i=0;i<arguments.length;i++)this.add(arguments[i]);return this}t.prototype.add.call(this,e);var r=this.children.length;return r>5&&h.Util.warn("The stage has "+r+" layers. Recommended maximum number of layers is 3-5. Adding more layers into the stage may drop the performance. Rethink your tree structure, you can use Konva.Group."),e.setSize({width:this.width(),height:this.height()}),e.draw(),f.Konva.isBrowser&&this.content.appendChild(e.canvas._canvas),this},r.prototype.getParent=function(){return null},r.prototype.getLayer=function(){return null},r.prototype.hasPointerCapture=function(t){return y.hasPointerCapture(t,this)},r.prototype.setPointerCapture=function(t){y.setPointerCapture(t,this)},r.prototype.releaseCapture=function(t){y.releaseCapture(t,this)},r.prototype.getLayers=function(){return this.getChildren()},r.prototype._bindContentEvents=function(){if(f.Konva.isBrowser)for(var t=0;t<_;t++)M(this,w[t])},r.prototype._mouseenter=function(t){this.setPointersPositions(t),this._fire("mouseenter",{evt:t,target:this,currentTarget:this})},r.prototype._mouseover=function(t){this.setPointersPositions(t),this._fire("contentMouseover",{evt:t}),this._fire("mouseover",{evt:t,target:this,currentTarget:this})},r.prototype._mouseleave=function(t){var e;this.setPointersPositions(t);var r=(null===(e=this.targetShape)||void 0===e?void 0:e.getStage())?this.targetShape:null,n=!m.DD.isDragging||f.Konva.hitOnDragEnabled;r&&n?(r._fireAndBubble("mouseout",{evt:t}),r._fireAndBubble("mouseleave",{evt:t}),this._fire("mouseleave",{evt:t,target:this,currentTarget:this}),this.targetShape=null):n&&(this._fire("mouseleave",{evt:t,target:this,currentTarget:this}),this._fire("mouseout",{evt:t,target:this,currentTarget:this})),this.pointerPos=void 0,this._pointerPositions=[],this._fire("contentMouseout",{evt:t})},r.prototype._mousemove=function(t){var e;if(f.Konva.UA.ieMobile)return this._touchmove(t);this.setPointersPositions(t);var r,n=h.Util._getFirstPointerId(t),o=(null===(e=this.targetShape)||void 0===e?void 0:e.getStage())?this.targetShape:null,l=!m.DD.isDragging||f.Konva.hitOnDragEnabled;if(l){if((r=this.getIntersection(this.getPointerPosition()))&&r.isListening())l&&o!==r?(o&&(o._fireAndBubble("mouseout",{evt:t,pointerId:n},r),o._fireAndBubble("mouseleave",{evt:t,pointerId:n},r)),r._fireAndBubble("mouseover",{evt:t,pointerId:n},o),r._fireAndBubble("mouseenter",{evt:t,pointerId:n},o),r._fireAndBubble("mousemove",{evt:t,pointerId:n}),this.targetShape=r):r._fireAndBubble("mousemove",{evt:t,pointerId:n});else o&&l&&(o._fireAndBubble("mouseout",{evt:t,pointerId:n}),o._fireAndBubble("mouseleave",{evt:t,pointerId:n}),this._fire("mouseover",{evt:t,target:this,currentTarget:this,pointerId:n}),this.targetShape=null),this._fire("mousemove",{evt:t,target:this,currentTarget:this,pointerId:n});this._fire("contentMousemove",{evt:t})}t.cancelable&&t.preventDefault()},r.prototype._mousedown=function(t){if(f.Konva.UA.ieMobile)return this._touchstart(t);this.setPointersPositions(t);var e=h.Util._getFirstPointerId(t),r=this.getIntersection(this.getPointerPosition());m.DD.justDragged=!1,f.Konva.listenClickTap=!0,r&&r.isListening()?(this.clickStartShape=r,r._fireAndBubble("mousedown",{evt:t,pointerId:e})):this._fire("mousedown",{evt:t,target:this,currentTarget:this,pointerId:e}),this._fire("contentMousedown",{evt:t})},r.prototype._mouseup=function(t){if(f.Konva.UA.ieMobile)return this._touchend(t);this.setPointersPositions(t);var e=h.Util._getFirstPointerId(t),r=this.getIntersection(this.getPointerPosition()),n=this.clickStartShape,o=this.clickEndShape,l=!1;f.Konva.inDblClickWindow?(l=!0,clearTimeout(this.dblTimeout)):m.DD.justDragged||(f.Konva.inDblClickWindow=!0,clearTimeout(this.dblTimeout)),this.dblTimeout=setTimeout((function(){f.Konva.inDblClickWindow=!1}),f.Konva.dblClickWindow),r&&r.isListening()?(this.clickEndShape=r,r._fireAndBubble("mouseup",{evt:t,pointerId:e}),f.Konva.listenClickTap&&n&&n._id===r._id&&(r._fireAndBubble("click",{evt:t,pointerId:e}),l&&o&&o===r&&r._fireAndBubble("dblclick",{evt:t,pointerId:e}))):(this.clickEndShape=null,this._fire("mouseup",{evt:t,target:this,currentTarget:this,pointerId:e}),f.Konva.listenClickTap&&this._fire("click",{evt:t,target:this,currentTarget:this,pointerId:e}),l&&this._fire("dblclick",{evt:t,target:this,currentTarget:this,pointerId:e})),this._fire("contentMouseup",{evt:t}),f.Konva.listenClickTap&&(this._fire("contentClick",{evt:t}),l&&this._fire("contentDblclick",{evt:t})),f.Konva.listenClickTap=!1,t.cancelable&&t.preventDefault()},r.prototype._contextmenu=function(t){this.setPointersPositions(t);var e=this.getIntersection(this.getPointerPosition());e&&e.isListening()?e._fireAndBubble("contextmenu",{evt:t}):this._fire("contextmenu",{evt:t,target:this,currentTarget:this}),this._fire("contentContextmenu",{evt:t})},r.prototype._touchstart=function(t){var e=this;this.setPointersPositions(t);var r=!1;this._changedPointerPositions.forEach((function(n){var o=e.getIntersection(n);f.Konva.listenClickTap=!0,m.DD.justDragged=!1,o&&o.isListening()&&(f.Konva.captureTouchEventsEnabled&&o.setPointerCapture(n.id),e.tapStartShape=o,o._fireAndBubble("touchstart",{evt:t,pointerId:n.id},e),r=!0,o.isListening()&&o.preventDefault()&&t.cancelable&&t.preventDefault())})),r||this._fire("touchstart",{evt:t,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id}),this._fire("contentTouchstart",{evt:t})},r.prototype._touchmove=function(t){var e=this;if(this.setPointersPositions(t),!m.DD.isDragging||f.Konva.hitOnDragEnabled){var r=!1,n={};this._changedPointerPositions.forEach((function(o){var h=y.getCapturedShape(o.id)||e.getIntersection(o);h&&h.isListening()&&(n[h._id]||(n[h._id]=!0,h._fireAndBubble("touchmove",{evt:t,pointerId:o.id}),r=!0,h.isListening()&&h.preventDefault()&&t.cancelable&&t.preventDefault()))})),r||this._fire("touchmove",{evt:t,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id}),this._fire("contentTouchmove",{evt:t})}m.DD.isDragging&&m.DD.node.preventDefault()&&t.cancelable&&t.preventDefault()},r.prototype._touchend=function(t){var e=this;this.setPointersPositions(t);var r=this.tapEndShape,n=!1;f.Konva.inDblClickWindow?(n=!0,clearTimeout(this.dblTimeout)):m.DD.justDragged||(f.Konva.inDblClickWindow=!0,clearTimeout(this.dblTimeout)),this.dblTimeout=setTimeout((function(){f.Konva.inDblClickWindow=!1}),f.Konva.dblClickWindow);var o=!1,h={},l=!1,c=!1;this._changedPointerPositions.forEach((function(d){var m=y.getCapturedShape(d.id)||e.getIntersection(d);m&&m.releaseCapture(d.id),m&&m.isListening()&&(h[m._id]||(h[m._id]=!0,e.tapEndShape=m,m._fireAndBubble("touchend",{evt:t,pointerId:d.id}),o=!0,f.Konva.listenClickTap&&m===e.tapStartShape&&(l=!0,m._fireAndBubble("tap",{evt:t,pointerId:d.id}),n&&r&&r===m&&(c=!0,m._fireAndBubble("dbltap",{evt:t,pointerId:d.id}))),m.isListening()&&m.preventDefault()&&t.cancelable&&t.preventDefault()))})),o||this._fire("touchend",{evt:t,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id}),f.Konva.listenClickTap&&!l&&(this.tapEndShape=null,this._fire("tap",{evt:t,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id})),n&&!c&&this._fire("dbltap",{evt:t,target:this,currentTarget:this,pointerId:this._changedPointerPositions[0].id}),this._fire("contentTouchend",{evt:t}),f.Konva.listenClickTap&&(this._fire("contentTap",{evt:t}),n&&this._fire("contentDbltap",{evt:t})),this.preventDefault()&&t.cancelable&&t.preventDefault(),f.Konva.listenClickTap=!1},r.prototype._wheel=function(t){this.setPointersPositions(t);var e=this.getIntersection(this.getPointerPosition());e&&e.isListening()?e._fireAndBubble("wheel",{evt:t}):this._fire("wheel",{evt:t,target:this,currentTarget:this}),this._fire("contentWheel",{evt:t})},r.prototype._pointerdown=function(t){if(f.Konva._pointerEventsEnabled){this.setPointersPositions(t);var e=y.getCapturedShape(t.pointerId)||this.getIntersection(this.getPointerPosition());e&&e._fireAndBubble("pointerdown",y.createEvent(t))}},r.prototype._pointermove=function(t){if(f.Konva._pointerEventsEnabled){this.setPointersPositions(t);var e=y.getCapturedShape(t.pointerId)||this.getIntersection(this.getPointerPosition());e&&e._fireAndBubble("pointermove",y.createEvent(t))}},r.prototype._pointerup=function(t){if(f.Konva._pointerEventsEnabled){this.setPointersPositions(t);var e=y.getCapturedShape(t.pointerId)||this.getIntersection(this.getPointerPosition());e&&e._fireAndBubble("pointerup",y.createEvent(t)),y.releaseCapture(t.pointerId)}},r.prototype._pointercancel=function(t){if(f.Konva._pointerEventsEnabled){this.setPointersPositions(t);var e=y.getCapturedShape(t.pointerId)||this.getIntersection(this.getPointerPosition());e&&e._fireAndBubble("pointerup",y.createEvent(t)),y.releaseCapture(t.pointerId)}},r.prototype._lostpointercapture=function(t){y.releaseCapture(t.pointerId)},r.prototype.setPointersPositions=function(t){var e=this,r=this._getContentPosition(),n=null,o=null;void 0!==(t=t||window.event).touches?(this._pointerPositions=[],this._changedPointerPositions=[],h.Collection.prototype.each.call(t.touches,(function(t){e._pointerPositions.push({id:t.identifier,x:(t.clientX-r.left)/r.scaleX,y:(t.clientY-r.top)/r.scaleY})})),h.Collection.prototype.each.call(t.changedTouches||t.touches,(function(t){e._changedPointerPositions.push({id:t.identifier,x:(t.clientX-r.left)/r.scaleX,y:(t.clientY-r.top)/r.scaleY})}))):(n=(t.clientX-r.left)/r.scaleX,o=(t.clientY-r.top)/r.scaleY,this.pointerPos={x:n,y:o},this._pointerPositions=[{x:n,y:o,id:h.Util._getFirstPointerId(t)}],this._changedPointerPositions=[{x:n,y:o,id:h.Util._getFirstPointerId(t)}])},r.prototype._setPointerPosition=function(t){h.Util.warn('Method _setPointerPosition is deprecated. Use "stage.setPointersPositions(event)" instead.'),this.setPointersPositions(t)},r.prototype._getContentPosition=function(){if(!this.content||!this.content.getBoundingClientRect)return{top:0,left:0,scaleX:1,scaleY:1};var rect=this.content.getBoundingClientRect();return{top:rect.top,left:rect.left,scaleX:rect.width/this.content.clientWidth||1,scaleY:rect.height/this.content.clientHeight||1}},r.prototype._buildDOM=function(){if(this.bufferCanvas=new d.SceneCanvas({width:this.width(),height:this.height()}),this.bufferHitCanvas=new d.HitCanvas({pixelRatio:1,width:this.width(),height:this.height()}),f.Konva.isBrowser){var t=this.container();if(!t)throw"Stage has no container. A container is required.";t.innerHTML="",this.content=document.createElement("div"),this.content.style.position="relative",this.content.style.userSelect="none",this.content.className="konvajs-content",this.content.setAttribute("role","presentation"),t.appendChild(this.content),this._resizeDOM()}},r.prototype.cache=function(){return h.Util.warn("Cache function is not allowed for stage. You may use cache only for layers, groups and shapes."),this},r.prototype.clearCache=function(){return this},r.prototype.batchDraw=function(){return this.children.each((function(t){t.batchDraw()})),this},r}(c.Container);e.Stage=x,x.prototype.nodeType="Stage",v._registerNode(x),l.Factory.addGetterSetter(x,"container")},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)},function(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0}),e.FastLayer=void 0;var h=r(52),l=r(595),c=r(47),f=function(t){function e(e){var r=t.call(this,e)||this;return r.listening(!1),h.Util.warn('Konva.Fast layer is deprecated. Please use "new Konva.Layer({ listening: false })" instead.'),r}return o(e,t),e}(l.Layer);e.FastLayer=f,f.prototype.nodeType="FastLayer",c._registerNode(f),h.Collection.mapMethods(f)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Easings=e.Tween=void 0;var n=r(52),o=r(360),h=r(72),l=r(47),c={node:1,duration:1,easing:1,onFinish:1,yoyo:1},f=0,d=["fill","stroke","shadowColor"],m=function(){function t(t,e,r,n,o,h,l){this.prop=t,this.propFunc=e,this.begin=n,this._pos=n,this.duration=h,this._change=0,this.prevPos=0,this.yoyo=l,this._time=0,this._position=0,this._startTime=0,this._finish=0,this.func=r,this._change=o-this.begin,this.pause()}return t.prototype.fire=function(t){var e=this[t];e&&e()},t.prototype.setTime=function(t){t>this.duration?this.yoyo?(this._time=this.duration,this.reverse()):this.finish():t<0?this.yoyo?(this._time=0,this.play()):this.reset():(this._time=t,this.update())},t.prototype.getTime=function(){return this._time},t.prototype.setPosition=function(p){this.prevPos=this._pos,this.propFunc(p),this._pos=p},t.prototype.getPosition=function(t){return void 0===t&&(t=this._time),this.func(t,this.begin,this._change,this.duration)},t.prototype.play=function(){this.state=2,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onPlay")},t.prototype.reverse=function(){this.state=3,this._time=this.duration-this._time,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onReverse")},t.prototype.seek=function(t){this.pause(),this._time=t,this.update(),this.fire("onSeek")},t.prototype.reset=function(){this.pause(),this._time=0,this.update(),this.fire("onReset")},t.prototype.finish=function(){this.pause(),this._time=this.duration,this.update(),this.fire("onFinish")},t.prototype.update=function(){this.setPosition(this.getPosition(this._time)),this.fire("onUpdate")},t.prototype.onEnterFrame=function(){var t=this.getTimer()-this._startTime;2===this.state?this.setTime(t):3===this.state&&this.setTime(this.duration-t)},t.prototype.pause=function(){this.state=1,this.fire("onPause")},t.prototype.getTimer=function(){return(new Date).getTime()},t}(),v=function(){function t(r){var h,d,v=this,y=r.node,w=y._id,_=r.easing||e.Easings.Linear,M=!!r.yoyo;h=void 0===r.duration?.3:0===r.duration?.001:r.duration,this.node=y,this._id=f++;var S=y.getLayer()||(y instanceof l.Konva.Stage?y.getLayers():null);for(d in S||n.Util.error("Tween constructor have `node` that is not in a layer. Please add node into layer first."),this.anim=new o.Animation((function(){v.tween.onEnterFrame()}),S),this.tween=new m(d,(function(i){v._tweenFunc(i)}),_,0,1,1e3*h,M),this._addListeners(),t.attrs[w]||(t.attrs[w]={}),t.attrs[w][this._id]||(t.attrs[w][this._id]={}),t.tweens[w]||(t.tweens[w]={}),r)void 0===c[d]&&this._addAttr(d,r[d]);this.reset(),this.onFinish=r.onFinish,this.onReset=r.onReset,this.onUpdate=r.onUpdate}return t.prototype._addAttr=function(e,r){var o,h,l,c,f,m,v,y,w=this.node,_=w._id;if((l=t.tweens[_][e])&&delete t.attrs[_][l][e],o=w.getAttr(e),n.Util._isArray(r))if(h=[],f=Math.max(r.length,o.length),"points"===e&&r.length!==o.length&&(r.length>o.length?(v=o,o=n.Util._prepareArrayForTween(o,r,w.closed())):(m=r,r=n.Util._prepareArrayForTween(r,o,w.closed()))),0===e.indexOf("fill"))for(c=0;c<f;c++)if(c%2==0)h.push(r[c]-o[c]);else{var M=n.Util.colorToRGBA(o[c]);y=n.Util.colorToRGBA(r[c]),o[c]=M,h.push({r:y.r-M.r,g:y.g-M.g,b:y.b-M.b,a:y.a-M.a})}else for(c=0;c<f;c++)h.push(r[c]-o[c]);else-1!==d.indexOf(e)?(o=n.Util.colorToRGBA(o),h={r:(y=n.Util.colorToRGBA(r)).r-o.r,g:y.g-o.g,b:y.b-o.b,a:y.a-o.a}):h=r-o;t.attrs[_][this._id][e]={start:o,diff:h,end:r,trueEnd:m,trueStart:v},t.tweens[_][e]=this._id},t.prototype._tweenFunc=function(i){var e,r,o,h,l,c,f,m,v=this.node,y=t.attrs[v._id][this._id];for(e in y){if(o=(r=y[e]).start,h=r.diff,m=r.end,n.Util._isArray(o))if(l=[],f=Math.max(o.length,m.length),0===e.indexOf("fill"))for(c=0;c<f;c++)c%2==0?l.push((o[c]||0)+h[c]*i):l.push("rgba("+Math.round(o[c].r+h[c].r*i)+","+Math.round(o[c].g+h[c].g*i)+","+Math.round(o[c].b+h[c].b*i)+","+(o[c].a+h[c].a*i)+")");else for(c=0;c<f;c++)l.push((o[c]||0)+h[c]*i);else l=-1!==d.indexOf(e)?"rgba("+Math.round(o.r+h.r*i)+","+Math.round(o.g+h.g*i)+","+Math.round(o.b+h.b*i)+","+(o.a+h.a*i)+")":o+h*i;v.setAttr(e,l)}},t.prototype._addListeners=function(){var e=this;this.tween.onPlay=function(){e.anim.start()},this.tween.onReverse=function(){e.anim.start()},this.tween.onPause=function(){e.anim.stop()},this.tween.onFinish=function(){var r=e.node,n=t.attrs[r._id][e._id];n.points&&n.points.trueEnd&&r.setAttr("points",n.points.trueEnd),e.onFinish&&e.onFinish.call(e)},this.tween.onReset=function(){var r=e.node,n=t.attrs[r._id][e._id];n.points&&n.points.trueStart&&r.points(n.points.trueStart),e.onReset&&e.onReset()},this.tween.onUpdate=function(){e.onUpdate&&e.onUpdate.call(e)}},t.prototype.play=function(){return this.tween.play(),this},t.prototype.reverse=function(){return this.tween.reverse(),this},t.prototype.reset=function(){return this.tween.reset(),this},t.prototype.seek=function(t){return this.tween.seek(1e3*t),this},t.prototype.pause=function(){return this.tween.pause(),this},t.prototype.finish=function(){return this.tween.finish(),this},t.prototype.destroy=function(){var e,r=this.node._id,n=this._id,o=t.tweens[r];for(e in this.pause(),o)delete t.tweens[r][e];delete t.attrs[r][n]},t.attrs={},t.tweens={},t}();e.Tween=v,h.Node.prototype.to=function(t){var e=t.onFinish;t.node=this,t.onFinish=function(){this.destroy(),e&&e()},new v(t).play()},e.Easings={BackEaseIn:function(t,b,e,r){var s=1.70158;return e*(t/=r)*t*((s+1)*t-s)+b},BackEaseOut:function(t,b,e,r){var s=1.70158;return e*((t=t/r-1)*t*((s+1)*t+s)+1)+b},BackEaseInOut:function(t,b,e,r){var s=1.70158;return(t/=r/2)<1?e/2*(t*t*((1+(s*=1.525))*t-s))+b:e/2*((t-=2)*t*((1+(s*=1.525))*t+s)+2)+b},ElasticEaseIn:function(t,b,e,r,a,p){var s=0;return 0===t?b:1==(t/=r)?b+e:(p||(p=.3*r),!a||a<Math.abs(e)?(a=e,s=p/4):s=p/(2*Math.PI)*Math.asin(e/a),-a*Math.pow(2,10*(t-=1))*Math.sin((t*r-s)*(2*Math.PI)/p)+b)},ElasticEaseOut:function(t,b,e,r,a,p){var s=0;return 0===t?b:1==(t/=r)?b+e:(p||(p=.3*r),!a||a<Math.abs(e)?(a=e,s=p/4):s=p/(2*Math.PI)*Math.asin(e/a),a*Math.pow(2,-10*t)*Math.sin((t*r-s)*(2*Math.PI)/p)+e+b)},ElasticEaseInOut:function(t,b,e,r,a,p){var s=0;return 0===t?b:2==(t/=r/2)?b+e:(p||(p=r*(.3*1.5)),!a||a<Math.abs(e)?(a=e,s=p/4):s=p/(2*Math.PI)*Math.asin(e/a),t<1?a*Math.pow(2,10*(t-=1))*Math.sin((t*r-s)*(2*Math.PI)/p)*-.5+b:a*Math.pow(2,-10*(t-=1))*Math.sin((t*r-s)*(2*Math.PI)/p)*.5+e+b)},BounceEaseOut:function(t,b,e,r){return(t/=r)<1/2.75?e*(7.5625*t*t)+b:t<2/2.75?e*(7.5625*(t-=1.5/2.75)*t+.75)+b:t<2.5/2.75?e*(7.5625*(t-=2.25/2.75)*t+.9375)+b:e*(7.5625*(t-=2.625/2.75)*t+.984375)+b},BounceEaseIn:function(t,b,r,n){return r-e.Easings.BounceEaseOut(n-t,0,r,n)+b},BounceEaseInOut:function(t,b,r,n){return t<n/2?.5*e.Easings.BounceEaseIn(2*t,0,r,n)+b:.5*e.Easings.BounceEaseOut(2*t-n,0,r,n)+.5*r+b},EaseIn:function(t,b,e,r){return e*(t/=r)*t+b},EaseOut:function(t,b,e,r){return-e*(t/=r)*(t-2)+b},EaseInOut:function(t,b,e,r){return(t/=r/2)<1?e/2*t*t+b:-e/2*(--t*(t-2)-1)+b},StrongEaseIn:function(t,b,e,r){return e*(t/=r)*t*t*t*t+b},StrongEaseOut:function(t,b,e,r){return e*((t=t/r-1)*t*t*t*t+1)+b},StrongEaseInOut:function(t,b,e,r){return(t/=r/2)<1?e/2*t*t*t*t*t+b:e/2*((t-=2)*t*t*t*t+2)+b},Linear:function(t,b,e,r){return e*t/r+b}}},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)},function(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0}),e.Arc=void 0;var h=r(52),l=r(46),c=r(82),f=r(47),d=r(48),m=r(47),v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype._sceneFunc=function(t){var e=f.Konva.getAngle(this.angle()),r=this.clockwise();t.beginPath(),t.arc(0,0,this.outerRadius(),0,e,r),t.arc(0,0,this.innerRadius(),e,0,!r),t.closePath(),t.fillStrokeShape(this)},e.prototype.getWidth=function(){return 2*this.outerRadius()},e.prototype.getHeight=function(){return 2*this.outerRadius()},e.prototype.setWidth=function(t){this.outerRadius(t/2)},e.prototype.setHeight=function(t){this.outerRadius(t/2)},e}(c.Shape);e.Arc=v,v.prototype._centroid=!0,v.prototype.className="Arc",v.prototype._attrsAffectingSize=["innerRadius","outerRadius"],m._registerNode(v),l.Factory.addGetterSetter(v,"innerRadius",0,d.getNumberValidator()),l.Factory.addGetterSetter(v,"outerRadius",0,d.getNumberValidator()),l.Factory.addGetterSetter(v,"angle",0,d.getNumberValidator()),l.Factory.addGetterSetter(v,"clockwise",!1,d.getBooleanValidator()),h.Collection.mapMethods(v)},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)},function(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0}),e.Arrow=void 0;var h=r(52),l=r(46),c=r(596),f=r(48),d=r(47),m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype._sceneFunc=function(e){t.prototype._sceneFunc.call(this,e);var r=2*Math.PI,n=this.points(),o=n,h=0!==this.tension()&&n.length>4;h&&(o=this.getTensionPoints());var l,c,f=n.length;h?(l=n[f-2]-(o[o.length-2]+o[o.length-4])/2,c=n[f-1]-(o[o.length-1]+o[o.length-3])/2):(l=n[f-2]-n[f-4],c=n[f-1]-n[f-3]);var d=(Math.atan2(c,l)+r)%r,m=this.pointerLength(),v=this.pointerWidth();e.save(),e.beginPath(),e.translate(n[f-2],n[f-1]),e.rotate(d),e.moveTo(0,0),e.lineTo(-m,v/2),e.lineTo(-m,-v/2),e.closePath(),e.restore(),this.pointerAtBeginning()&&(e.save(),e.translate(n[0],n[1]),h?(l=(o[0]+o[2])/2-n[0],c=(o[1]+o[3])/2-n[1]):(l=n[2]-n[0],c=n[3]-n[1]),e.rotate((Math.atan2(-c,-l)+r)%r),e.moveTo(0,0),e.lineTo(-m,v/2),e.lineTo(-m,-v/2),e.closePath(),e.restore());var y=this.dashEnabled();y&&(this.attrs.dashEnabled=!1,e.setLineDash([])),e.fillStrokeShape(this),y&&(this.attrs.dashEnabled=!0)},e.prototype.getSelfRect=function(){var e=t.prototype.getSelfRect.call(this),r=this.pointerWidth()/2;return{x:e.x-r,y:e.y-r,width:e.width+2*r,height:e.height+2*r}},e}(c.Line);e.Arrow=m,m.prototype.className="Arrow",d._registerNode(m),l.Factory.addGetterSetter(m,"pointerLength",10,f.getNumberValidator()),l.Factory.addGetterSetter(m,"pointerWidth",10,f.getNumberValidator()),l.Factory.addGetterSetter(m,"pointerAtBeginning",!1),h.Collection.mapMethods(m)},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)},function(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0}),e.Circle=void 0;var h=r(52),l=r(46),c=r(82),f=r(48),d=r(47),m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype._sceneFunc=function(t){t.beginPath(),t.arc(0,0,this.attrs.radius||0,0,2*Math.PI,!1),t.closePath(),t.fillStrokeShape(this)},e.prototype.getWidth=function(){return 2*this.radius()},e.prototype.getHeight=function(){return 2*this.radius()},e.prototype.setWidth=function(t){this.radius()!==t/2&&this.radius(t/2)},e.prototype.setHeight=function(t){this.radius()!==t/2&&this.radius(t/2)},e}(c.Shape);e.Circle=m,m.prototype._centroid=!0,m.prototype.className="Circle",m.prototype._attrsAffectingSize=["radius"],d._registerNode(m),l.Factory.addGetterSetter(m,"radius",0,f.getNumberValidator()),h.Collection.mapMethods(m)},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)},function(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0}),e.Ellipse=void 0;var h=r(52),l=r(46),c=r(82),f=r(48),d=r(47),m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype._sceneFunc=function(t){var e=this.radiusX(),r=this.radiusY();t.beginPath(),t.save(),e!==r&&t.scale(1,r/e),t.arc(0,0,e,0,2*Math.PI,!1),t.restore(),t.closePath(),t.fillStrokeShape(this)},e.prototype.getWidth=function(){return 2*this.radiusX()},e.prototype.getHeight=function(){return 2*this.radiusY()},e.prototype.setWidth=function(t){this.radiusX(t/2)},e.prototype.setHeight=function(t){this.radiusY(t/2)},e}(c.Shape);e.Ellipse=m,m.prototype.className="Ellipse",m.prototype._centroid=!0,m.prototype._attrsAffectingSize=["radiusX","radiusY"],d._registerNode(m),l.Factory.addComponentsGetterSetter(m,"radius",["x","y"]),l.Factory.addGetterSetter(m,"radiusX",0,f.getNumberValidator()),l.Factory.addGetterSetter(m,"radiusY",0,f.getNumberValidator()),h.Collection.mapMethods(m)},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)},function(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0}),e.Image=void 0;var h=r(52),l=r(46),c=r(82),f=r(48),d=r(47),m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype._useBufferCanvas=function(){return t.prototype._useBufferCanvas.call(this,!0)},e.prototype._sceneFunc=function(t){var e,r=this.getWidth(),n=this.getHeight(),image=this.attrs.image;if(image){var o=this.attrs.cropWidth,h=this.attrs.cropHeight;e=o&&h?[image,this.cropX(),this.cropY(),o,h,0,0,r,n]:[image,0,0,r,n]}(this.hasFill()||this.hasStroke())&&(t.beginPath(),t.rect(0,0,r,n),t.closePath(),t.fillStrokeShape(this)),image&&t.drawImage.apply(t,e)},e.prototype._hitFunc=function(t){var e=this.width(),r=this.height();t.beginPath(),t.rect(0,0,e,r),t.closePath(),t.fillStrokeShape(this)},e.prototype.getWidth=function(){var t,e;return null!==(t=this.attrs.width)&&void 0!==t?t:(null===(e=this.image())||void 0===e?void 0:e.width)||0},e.prototype.getHeight=function(){var t,e;return null!==(t=this.attrs.height)&&void 0!==t?t:(null===(e=this.image())||void 0===e?void 0:e.height)||0},e.fromURL=function(t,r){var img=h.Util.createImageElement();img.onload=function(){var image=new e({image:img});r(image)},img.crossOrigin="Anonymous",img.src=t},e}(c.Shape);e.Image=m,m.prototype.className="Image",d._registerNode(m),l.Factory.addGetterSetter(m,"image"),l.Factory.addComponentsGetterSetter(m,"crop",["x","y","width","height"]),l.Factory.addGetterSetter(m,"cropX",0,f.getNumberValidator()),l.Factory.addGetterSetter(m,"cropY",0,f.getNumberValidator()),l.Factory.addGetterSetter(m,"cropWidth",0,f.getNumberValidator()),l.Factory.addGetterSetter(m,"cropHeight",0,f.getNumberValidator()),h.Collection.mapMethods(m)},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)},function(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0}),e.Tag=e.Label=void 0;var h=r(52),l=r(46),c=r(82),f=r(359),d=r(48),m=r(47),v=["fontFamily","fontSize","fontStyle","padding","lineHeight","text","width","height"],y=v.length,w=function(t){function e(e){var r=t.call(this,e)||this;return r.on("add.konva",(function(t){this._addListeners(t.child),this._sync()})),r}return o(e,t),e.prototype.getText=function(){return this.find("Text")[0]},e.prototype.getTag=function(){return this.find("Tag")[0]},e.prototype._addListeners=function(text){var t,e=this,r=function(){e._sync()};for(t=0;t<y;t++)text.on(v[t]+"Change.konva",r)},e.prototype.getWidth=function(){return this.getText().width()},e.prototype.getHeight=function(){return this.getText().height()},e.prototype._sync=function(){var t,e,r,n,o,h,l,text=this.getText(),c=this.getTag();if(text&&c){switch(t=text.width(),e=text.height(),r=c.pointerDirection(),n=c.pointerWidth(),l=c.pointerHeight(),o=0,h=0,r){case"up":o=t/2,h=-1*l;break;case"right":o=t+n,h=e/2;break;case"down":o=t/2,h=e+l;break;case"left":o=-1*n,h=e/2}c.setAttrs({x:-1*o,y:-1*h,width:t,height:e}),text.setAttrs({x:-1*o,y:-1*h})}},e}(f.Group);e.Label=w,w.prototype.className="Label",m._registerNode(w),h.Collection.mapMethods(w);var _=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype._sceneFunc=function(t){var e=this.width(),r=this.height(),n=this.pointerDirection(),o=this.pointerWidth(),h=this.pointerHeight(),l=this.cornerRadius(),c=0,f=0,d=0,m=0;"number"==typeof l?c=f=d=m=Math.min(l,e/2,r/2):(c=Math.min(l[0]||0,e/2,r/2),f=Math.min(l[1]||0,e/2,r/2),m=Math.min(l[2]||0,e/2,r/2),d=Math.min(l[3]||0,e/2,r/2)),t.beginPath(),t.moveTo(c,0),"up"===n&&(t.lineTo((e-o)/2,0),t.lineTo(e/2,-1*h),t.lineTo((e+o)/2,0)),t.lineTo(e-f,0),t.arc(e-f,f,f,3*Math.PI/2,0,!1),"right"===n&&(t.lineTo(e,(r-h)/2),t.lineTo(e+o,r/2),t.lineTo(e,(r+h)/2)),t.lineTo(e,r-m),t.arc(e-m,r-m,m,0,Math.PI/2,!1),"down"===n&&(t.lineTo((e+o)/2,r),t.lineTo(e/2,r+h),t.lineTo((e-o)/2,r)),t.lineTo(d,r),t.arc(d,r-d,d,Math.PI/2,Math.PI,!1),"left"===n&&(t.lineTo(0,(r+h)/2),t.lineTo(-1*o,r/2),t.lineTo(0,(r-h)/2)),t.lineTo(0,c),t.arc(c,c,c,Math.PI,3*Math.PI/2,!1),t.closePath(),t.fillStrokeShape(this)},e.prototype.getSelfRect=function(){var t=0,e=0,r=this.pointerWidth(),n=this.pointerHeight(),o=this.pointerDirection(),h=this.width(),l=this.height();return"up"===o?(e-=n,l+=n):"down"===o?l+=n:"left"===o?(t-=1.5*r,h+=r):"right"===o&&(h+=1.5*r),{x:t,y:e,width:h,height:l}},e}(c.Shape);e.Tag=_,_.prototype.className="Tag",m._registerNode(_),l.Factory.addGetterSetter(_,"pointerDirection","none"),l.Factory.addGetterSetter(_,"pointerWidth",0,d.getNumberValidator()),l.Factory.addGetterSetter(_,"pointerHeight",0,d.getNumberValidator()),l.Factory.addGetterSetter(_,"cornerRadius",0,d.getNumberOrArrayOfNumbersValidator(4)),h.Collection.mapMethods(_)},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)},function(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0}),e.RegularPolygon=void 0;var h=r(52),l=r(46),c=r(82),f=r(48),d=r(47),m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype._sceneFunc=function(t){var e=this._getPoints();t.beginPath(),t.moveTo(e[0].x,e[0].y);for(var r=1;r<e.length;r++)t.lineTo(e[r].x,e[r].y);t.closePath(),t.fillStrokeShape(this)},e.prototype._getPoints=function(){for(var t=this.attrs.sides,e=this.attrs.radius||0,r=[],n=0;n<t;n++)r.push({x:e*Math.sin(2*n*Math.PI/t),y:-1*e*Math.cos(2*n*Math.PI/t)});return r},e.prototype.getSelfRect=function(){var t=this._getPoints(),e=t[0].x,r=t[0].y,n=t[0].x,o=t[0].y;return t.forEach((function(t){e=Math.min(e,t.x),r=Math.max(r,t.x),n=Math.min(n,t.y),o=Math.max(o,t.y)})),{x:e,y:n,width:r-e,height:o-n}},e.prototype.getWidth=function(){return 2*this.radius()},e.prototype.getHeight=function(){return 2*this.radius()},e.prototype.setWidth=function(t){this.radius(t/2)},e.prototype.setHeight=function(t){this.radius(t/2)},e}(c.Shape);e.RegularPolygon=m,m.prototype.className="RegularPolygon",m.prototype._centroid=!0,m.prototype._attrsAffectingSize=["radius"],d._registerNode(m),l.Factory.addGetterSetter(m,"radius",0,f.getNumberValidator()),l.Factory.addGetterSetter(m,"sides",0,f.getNumberValidator()),h.Collection.mapMethods(m)},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)},function(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0}),e.Ring=void 0;var h=r(52),l=r(46),c=r(82),f=r(48),d=r(47),m=2*Math.PI,v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype._sceneFunc=function(t){t.beginPath(),t.arc(0,0,this.innerRadius(),0,m,!1),t.moveTo(this.outerRadius(),0),t.arc(0,0,this.outerRadius(),m,0,!0),t.closePath(),t.fillStrokeShape(this)},e.prototype.getWidth=function(){return 2*this.outerRadius()},e.prototype.getHeight=function(){return 2*this.outerRadius()},e.prototype.setWidth=function(t){this.outerRadius(t/2)},e.prototype.setHeight=function(t){this.outerRadius(t/2)},e}(c.Shape);e.Ring=v,v.prototype.className="Ring",v.prototype._centroid=!0,v.prototype._attrsAffectingSize=["innerRadius","outerRadius"],d._registerNode(v),l.Factory.addGetterSetter(v,"innerRadius",0,f.getNumberValidator()),l.Factory.addGetterSetter(v,"outerRadius",0,f.getNumberValidator()),h.Collection.mapMethods(v)},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)},function(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0}),e.Sprite=void 0;var h=r(52),l=r(46),c=r(82),f=r(360),d=r(48),m=r(47),v=function(t){function e(e){var r=t.call(this,e)||this;return r._updated=!0,r.anim=new f.Animation((function(){var t=r._updated;return r._updated=!1,t})),r.on("animationChange.konva",(function(){this.frameIndex(0)})),r.on("frameIndexChange.konva",(function(){this._updated=!0})),r.on("frameRateChange.konva",(function(){this.anim.isRunning()&&(clearInterval(this.interval),this._setInterval())})),r}return o(e,t),e.prototype._sceneFunc=function(t){var e=this.animation(),r=this.frameIndex(),n=4*r,o=this.animations()[e],h=this.frameOffsets(),l=o[n+0],c=o[n+1],f=o[n+2],d=o[n+3],image=this.image();if((this.hasFill()||this.hasStroke())&&(t.beginPath(),t.rect(0,0,f,d),t.closePath(),t.fillStrokeShape(this)),image)if(h){var m=h[e],v=2*r;t.drawImage(image,l,c,f,d,m[v+0],m[v+1],f,d)}else t.drawImage(image,l,c,f,d,0,0,f,d)},e.prototype._hitFunc=function(t){var e=this.animation(),r=this.frameIndex(),n=4*r,o=this.animations()[e],h=this.frameOffsets(),l=o[n+2],c=o[n+3];if(t.beginPath(),h){var f=h[e],d=2*r;t.rect(f[d+0],f[d+1],l,c)}else t.rect(0,0,l,c);t.closePath(),t.fillShape(this)},e.prototype._useBufferCanvas=function(){return t.prototype._useBufferCanvas.call(this,!0)},e.prototype._setInterval=function(){var t=this;this.interval=setInterval((function(){t._updateIndex()}),1e3/this.frameRate())},e.prototype.start=function(){if(!this.isRunning()){var t=this.getLayer();this.anim.setLayers(t),this._setInterval(),this.anim.start()}},e.prototype.stop=function(){this.anim.stop(),clearInterval(this.interval)},e.prototype.isRunning=function(){return this.anim.isRunning()},e.prototype._updateIndex=function(){var t=this.frameIndex(),e=this.animation();t<this.animations()[e].length/4-1?this.frameIndex(t+1):this.frameIndex(0)},e}(c.Shape);e.Sprite=v,v.prototype.className="Sprite",m._registerNode(v),l.Factory.addGetterSetter(v,"animation"),l.Factory.addGetterSetter(v,"animations"),l.Factory.addGetterSetter(v,"frameOffsets"),l.Factory.addGetterSetter(v,"image"),l.Factory.addGetterSetter(v,"frameIndex",0,d.getNumberValidator()),l.Factory.addGetterSetter(v,"frameRate",17,d.getNumberValidator()),l.Factory.backCompat(v,{index:"frameIndex",getIndex:"getFrameIndex",setIndex:"setFrameIndex"}),h.Collection.mapMethods(v)},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)},function(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0}),e.Star=void 0;var h=r(52),l=r(46),c=r(82),f=r(48),d=r(47),m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype._sceneFunc=function(t){var e=this.innerRadius(),r=this.outerRadius(),n=this.numPoints();t.beginPath(),t.moveTo(0,0-r);for(var o=1;o<2*n;o++){var h=o%2==0?r:e,l=h*Math.sin(o*Math.PI/n),c=-1*h*Math.cos(o*Math.PI/n);t.lineTo(l,c)}t.closePath(),t.fillStrokeShape(this)},e.prototype.getWidth=function(){return 2*this.outerRadius()},e.prototype.getHeight=function(){return 2*this.outerRadius()},e.prototype.setWidth=function(t){this.outerRadius(t/2)},e.prototype.setHeight=function(t){this.outerRadius(t/2)},e}(c.Shape);e.Star=m,m.prototype.className="Star",m.prototype._centroid=!0,m.prototype._attrsAffectingSize=["innerRadius","outerRadius"],d._registerNode(m),l.Factory.addGetterSetter(m,"numPoints",5,f.getNumberValidator()),l.Factory.addGetterSetter(m,"innerRadius",0,f.getNumberValidator()),l.Factory.addGetterSetter(m,"outerRadius",0,f.getNumberValidator()),h.Collection.mapMethods(m)},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)},function(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0}),e.TextPath=void 0;var h=r(52),l=r(46),c=r(82),f=r(597),d=r(599),m=r(48),v=r(47);function y(t){t.fillText(this.partialText,0,0)}function w(t){t.strokeText(this.partialText,0,0)}var _=function(t){function e(e){var r=t.call(this,e)||this;return r.dummyCanvas=h.Util.createCanvasElement(),r.dataArray=[],r.dataArray=f.Path.parsePathData(r.attrs.data),r.on("dataChange.konva",(function(){this.dataArray=f.Path.parsePathData(this.attrs.data),this._setTextData()})),r.on("textChange.konva alignChange.konva letterSpacingChange.konva kerningFuncChange.konva",r._setTextData),e&&e.getKerning&&(h.Util.warn('getKerning TextPath API is deprecated. Please use "kerningFunc" instead.'),r.kerningFunc(e.getKerning)),r._setTextData(),r}return o(e,t),e.prototype._sceneFunc=function(t){t.setAttr("font",this._getContextFont()),t.setAttr("textBaseline",this.textBaseline()),t.setAttr("textAlign","left"),t.save();var e=this.textDecoration(),r=this.fill(),n=this.fontSize(),o=this.glyphInfo;"underline"===e&&t.beginPath();for(var i=0;i<o.length;i++){t.save();var h=o[i].p0;t.translate(h.x,h.y),t.rotate(o[i].rotation),this.partialText=o[i].text,t.fillStrokeShape(this),"underline"===e&&(0===i&&t.moveTo(0,n/2+1),t.lineTo(n,n/2+1)),t.restore()}"underline"===e&&(t.strokeStyle=r,t.lineWidth=n/20,t.stroke()),t.restore()},e.prototype._hitFunc=function(t){t.beginPath();var e=this.glyphInfo;if(e.length>=1){var r=e[0].p0;t.moveTo(r.x,r.y)}for(var i=0;i<e.length;i++){var n=e[i].p1;t.lineTo(n.x,n.y)}t.setAttr("lineWidth",this.fontSize()),t.setAttr("strokeStyle",this.colorKey),t.stroke()},e.prototype.getTextWidth=function(){return this.textWidth},e.prototype.getTextHeight=function(){return h.Util.warn("text.getTextHeight() method is deprecated. Use text.height() - for full height and text.fontSize() - for one line height."),this.textHeight},e.prototype.setText=function(text){return d.Text.prototype.setText.call(this,text)},e.prototype._getContextFont=function(){return d.Text.prototype._getContextFont.call(this)},e.prototype._getTextSize=function(text){var t=this.dummyCanvas.getContext("2d");t.save(),t.font=this._getContextFont();var e=t.measureText(text);return t.restore(),{width:e.width,height:parseInt(this.attrs.fontSize,10)}},e.prototype._setTextData=function(){var t=this,e=this._getTextSize(this.attrs.text),r=this.letterSpacing(),n=this.align(),o=this.kerningFunc();this.textWidth=e.width,this.textHeight=e.height;var h=Math.max(this.textWidth+((this.attrs.text||"").length-1)*r,0);this.glyphInfo=[];for(var l=0,c=0;c<t.dataArray.length;c++)t.dataArray[c].pathLength>0&&(l+=t.dataArray[c].pathLength);var m=0;"center"===n&&(m=Math.max(0,l/2-h/2)),"right"===n&&(m=Math.max(0,l-h));for(var v,y,w,_=d.stringToArray(this.text()),M=this.text().split(" ").length-1,S=-1,x=0,E=function(){x=0;for(var e=t.dataArray,r=S+1;r<e.length;r++){if(e[r].pathLength>0)return S=r,e[r];"M"===e[r].command&&(v={x:e[r].points[0],y:e[r].points[1]})}return{}},A=function(e){var o=t._getTextSize(e).width+r;" "===e&&"justify"===n&&(o+=(l-h)/M);var c=0,d=0;for(y=void 0;Math.abs(o-c)/o>.01&&d<20;){d++;for(var m=c;void 0===w;)(w=E())&&m+w.pathLength<o&&(m+=w.pathLength,w=void 0);if(w==={}||void 0===v)return;var _=!1;switch(w.command){case"L":f.Path.getLineLength(v.x,v.y,w.points[0],w.points[1])>o?y=f.Path.getPointOnLine(o,v.x,v.y,w.points[0],w.points[1],v.x,v.y):w=void 0;break;case"A":var S=w.points[4],A=w.points[5],T=w.points[4]+A;0===x?x=S+1e-8:o>c?x+=Math.PI/180*A/Math.abs(A):x-=Math.PI/360*A/Math.abs(A),(A<0&&x<T||A>=0&&x>T)&&(x=T,_=!0),y=f.Path.getPointOnEllipticalArc(w.points[0],w.points[1],w.points[2],w.points[3],x,w.points[6]);break;case"C":0===x?x=o>w.pathLength?1e-8:o/w.pathLength:o>c?x+=(o-c)/w.pathLength/2:x=Math.max(x-(c-o)/w.pathLength/2,0),x>1&&(x=1,_=!0),y=f.Path.getPointOnCubicBezier(x,w.start.x,w.start.y,w.points[0],w.points[1],w.points[2],w.points[3],w.points[4],w.points[5]);break;case"Q":0===x?x=o/w.pathLength:o>c?x+=(o-c)/w.pathLength:x-=(c-o)/w.pathLength,x>1&&(x=1,_=!0),y=f.Path.getPointOnQuadraticBezier(x,w.start.x,w.start.y,w.points[0],w.points[1],w.points[2],w.points[3])}void 0!==y&&(c=f.Path.getLineLength(v.x,v.y,y.x,y.y)),_&&(_=!1,w=void 0)}},T=m/(t._getTextSize("C").width+r)-1,k=0;k<T&&(A("C"),void 0!==v&&void 0!==y);k++)v=y;for(var i=0;i<_.length&&(A(_[i]),void 0!==v&&void 0!==y);i++){var C=f.Path.getLineLength(v.x,v.y,y.x,y.y),O=0;if(o)try{O=o(_[i-1],_[i])*this.fontSize()}catch(t){O=0}v.x+=O,y.x+=O,this.textWidth+=O;var I=f.Path.getPointOnLine(O+C/2,v.x,v.y,y.x,y.y),P=Math.atan2(y.y-v.y,y.x-v.x);this.glyphInfo.push({transposeX:I.x,transposeY:I.y,text:_[i],rotation:P,p0:v,p1:y}),v=y}},e.prototype.getSelfRect=function(){if(!this.glyphInfo.length)return{x:0,y:0,width:0,height:0};var t=[];this.glyphInfo.forEach((function(e){t.push(e.p0.x),t.push(e.p0.y),t.push(e.p1.x),t.push(e.p1.y)}));for(var e,r,n=t[0]||0,o=t[0]||0,h=t[1]||0,l=t[1]||0,i=0;i<t.length/2;i++)e=t[2*i],r=t[2*i+1],n=Math.min(n,e),o=Math.max(o,e),h=Math.min(h,r),l=Math.max(l,r);var c=this.fontSize();return{x:n-c/2,y:h-c/2,width:o-n+c,height:l-h+c}},e}(c.Shape);e.TextPath=_,_.prototype._fillFunc=y,_.prototype._strokeFunc=w,_.prototype._fillFuncHit=y,_.prototype._strokeFuncHit=w,_.prototype.className="TextPath",_.prototype._attrsAffectingSize=["text","fontSize","data"],v._registerNode(_),l.Factory.addGetterSetter(_,"data"),l.Factory.addGetterSetter(_,"fontFamily","Arial"),l.Factory.addGetterSetter(_,"fontSize",12,m.getNumberValidator()),l.Factory.addGetterSetter(_,"fontStyle","normal"),l.Factory.addGetterSetter(_,"align","left"),l.Factory.addGetterSetter(_,"letterSpacing",0,m.getNumberValidator()),l.Factory.addGetterSetter(_,"textBaseline","middle"),l.Factory.addGetterSetter(_,"fontVariant","normal"),l.Factory.addGetterSetter(_,"text",""),l.Factory.addGetterSetter(_,"textDecoration",null),l.Factory.addGetterSetter(_,"kerningFunc",null),h.Collection.mapMethods(_)},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)},function(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)}),h=this&&this.__assign||function(){return(h=Object.assign||function(t){for(var s,i=1,e=arguments.length;i<e;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p]);return t}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.Transformer=void 0;var l=r(52),c=r(46),f=r(72),d=r(82),m=r(598),v=r(359),y=r(47),w=r(48),_=r(47),M=["resizeEnabledChange","rotateAnchorOffsetChange","rotateEnabledChange","enabledAnchorsChange","anchorSizeChange","borderEnabledChange","borderStrokeChange","borderStrokeWidthChange","borderDashChange","anchorStrokeChange","anchorStrokeWidthChange","anchorFillChange","anchorCornerRadiusChange","ignoreStrokeChange"].map((function(t){return t+".tr-konva"})).join(" "),S=["widthChange","heightChange","scaleXChange","scaleYChange","skewXChange","skewYChange","rotationChange","offsetXChange","offsetYChange","transformsEnabledChange","strokeWidthChange"].map((function(t){return t+".tr-konva"})).join(" "),x={"top-left":-45,"top-center":0,"top-right":45,"middle-right":-90,"middle-left":90,"bottom-left":-135,"bottom-center":180,"bottom-right":135},E="ontouchstart"in y.Konva._global;var A=["top-left","top-center","top-right","middle-right","middle-left","bottom-left","bottom-center","bottom-right"];function T(t,e,r){var n=r.x+(t.x-r.x)*Math.cos(e)-(t.y-r.y)*Math.sin(e),o=r.y+(t.x-r.x)*Math.sin(e)+(t.y-r.y)*Math.cos(e);return h(h({},t),{rotation:t.rotation+e,x:n,y:o})}function k(t,e){return T(t,e,function(t){return{x:t.x+t.width/2*Math.cos(t.rotation)+t.height/2*Math.sin(-t.rotation),y:t.y+t.height/2*Math.cos(t.rotation)+t.width/2*Math.sin(t.rotation)}}(t))}var C=function(t){function e(e){var r=t.call(this,e)||this;return r._transforming=!1,r._createElements(),r._handleMouseMove=r._handleMouseMove.bind(r),r._handleMouseUp=r._handleMouseUp.bind(r),r.update=r.update.bind(r),r.on(M,r.update),r.getNode()&&r.update(),r}return o(e,t),e.prototype.attachTo=function(t){return this.setNode(t),this},e.prototype.setNode=function(t){return l.Util.warn("tr.setNode(shape), tr.node(shape) and tr.attachTo(shape) methods are deprecated. Please use tr.nodes(nodesArray) instead."),this.setNodes([t])},e.prototype.getNode=function(){return this._nodes&&this._nodes[0]},e.prototype.setNodes=function(t){var e=this;return void 0===t&&(t=[]),this._nodes&&this._nodes.length&&this.detach(),this._nodes=t,1===t.length?this.rotation(t[0].getAbsoluteRotation()):this.rotation(0),this._nodes.forEach((function(t){var r=t._attrsAffectingSize.map((function(t){return t+"Change.tr-konva"})).join(" "),n=function(){1===e.nodes().length&&e.rotation(e.nodes()[0].getAbsoluteRotation()),e._resetTransformCache(),e._transforming||e.isDragging()||e.update()};t.on(r,n),t.on(S,n),t.on("_clearTransformCache.tr-konva",n),t.on("xChange.tr-konva yChange.tr-konva",n),e._proxyDrag(t)})),this._resetTransformCache(),!!this.findOne(".top-left")&&this.update(),this},e.prototype._proxyDrag=function(t){var e,r=this;t.on("dragstart.tr-konva",(function(n){e=t.getAbsolutePosition(),r.isDragging()||t===r.findOne(".back")||r.startDrag(n,!1)})),t.on("dragmove.tr-konva",(function(n){if(e){var o=t.getAbsolutePosition(),h=o.x-e.x,l=o.y-e.y;r.nodes().forEach((function(e){if(e!==t&&!e.isDragging()){var r=e.getAbsolutePosition();e.setAbsolutePosition({x:r.x+h,y:r.y+l}),e.startDrag(n)}})),e=null}}))},e.prototype.getNodes=function(){return this._nodes||[]},e.prototype.getActiveAnchor=function(){return this._movingAnchorName},e.prototype.detach=function(){this._nodes&&this._nodes.forEach((function(t){t.off(".tr-konva")})),this._nodes=[],this._resetTransformCache()},e.prototype._resetTransformCache=function(){this._clearCache("nodesRect"),this._clearCache("transform"),this._clearSelfAndDescendantCache("absoluteTransform")},e.prototype._getNodeRect=function(){return this._getCache("nodesRect",this.__getNodeRect)},e.prototype.__getNodeShape=function(t,e,r){void 0===e&&(e=this.rotation());var rect=t.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()}),n=t.getAbsoluteScale(r),o=t.getAbsolutePosition(r),h=rect.x*n.x-t.offsetX()*n.x,l=rect.y*n.y-t.offsetY()*n.y,c=(y.Konva.getAngle(t.getAbsoluteRotation())+2*Math.PI)%(2*Math.PI);return T({x:o.x+h*Math.cos(c)+l*Math.sin(-c),y:o.y+l*Math.cos(c)+h*Math.sin(c),width:rect.width*n.x,height:rect.height*n.y,rotation:c},-y.Konva.getAngle(e),{x:0,y:0})},e.prototype.__getNodeRect=function(){var t=this;if(!this.getNode())return{x:-1e8,y:-1e8,width:0,height:0,rotation:0};var e=[];this.nodes().map((function(r){var n=r.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:t.ignoreStroke()}),o=[{x:n.x,y:n.y},{x:n.x+n.width,y:n.y},{x:n.x+n.width,y:n.y+n.height},{x:n.x,y:n.y+n.height}],h=r.getAbsoluteTransform();o.forEach((function(t){var r=h.point(t);e.push(r)}))}));var r,n,o,h,tr=new l.Transform;tr.rotate(-y.Konva.getAngle(this.rotation())),e.forEach((function(t){var e=tr.point(t);void 0===r&&(r=o=e.x,n=h=e.y),r=Math.min(r,e.x),n=Math.min(n,e.y),o=Math.max(o,e.x),h=Math.max(h,e.y)})),tr.invert();var p=tr.point({x:r,y:n});return{x:p.x,y:p.y,width:o-r,height:h-n,rotation:y.Konva.getAngle(this.rotation())}},e.prototype.getX=function(){return this._getNodeRect().x},e.prototype.getY=function(){return this._getNodeRect().y},e.prototype.getWidth=function(){return this._getNodeRect().width},e.prototype.getHeight=function(){return this._getNodeRect().height},e.prototype._createElements=function(){this._createBack(),A.forEach(function(t){this._createAnchor(t)}.bind(this)),this._createAnchor("rotater")},e.prototype._createAnchor=function(t){var e=this,r=new m.Rect({stroke:"rgb(0, 161, 255)",fill:"white",strokeWidth:1,name:t+" _anchor",dragDistance:0,draggable:!0,hitStrokeWidth:E?10:"auto"}),n=this;r.on("mousedown touchstart",(function(t){n._handleMouseDown(t)})),r.on("dragstart",(function(t){r.stopDrag(),t.cancelBubble=!0})),r.on("dragend",(function(t){t.cancelBubble=!0})),r.on("mouseenter",(function(){var n=y.Konva.getAngle(e.rotation()),cursor=function(t,e){if("rotater"===t)return"crosshair";e+=l.Util._degToRad(x[t]||0);var r=(l.Util._radToDeg(e)%360+360)%360;return l.Util._inRange(r,337.5,360)||l.Util._inRange(r,0,22.5)?"ns-resize":l.Util._inRange(r,22.5,67.5)?"nesw-resize":l.Util._inRange(r,67.5,112.5)?"ew-resize":l.Util._inRange(r,112.5,157.5)?"nwse-resize":l.Util._inRange(r,157.5,202.5)?"ns-resize":l.Util._inRange(r,202.5,247.5)?"nesw-resize":l.Util._inRange(r,247.5,292.5)?"ew-resize":l.Util._inRange(r,292.5,337.5)?"nwse-resize":(l.Util.error("Transformer has unknown angle for cursor detection: "+r),"pointer")}(t,n);r.getStage().content.style.cursor=cursor,e._cursorChange=!0})),r.on("mouseout",(function(){r.getStage().content.style.cursor="",e._cursorChange=!1})),this.add(r)},e.prototype._createBack=function(){var t=this,e=new d.Shape({name:"back",width:0,height:0,draggable:!0,sceneFunc:function(t){var tr=this.getParent(),e=tr.padding();t.beginPath(),t.rect(-e,-e,this.width()+2*e,this.height()+2*e),t.moveTo(this.width()/2,-e),tr.rotateEnabled()&&t.lineTo(this.width()/2,-tr.rotateAnchorOffset()*l.Util._sign(this.height())-e),t.fillStrokeShape(this)},hitFunc:function(e,r){if(t.shouldOverdrawWholeArea()){var n=t.padding();e.beginPath(),e.rect(-n,-n,r.width()+2*n,r.height()+2*n),e.fillStrokeShape(r)}}});this.add(e),this._proxyDrag(e),e.on("dragstart",(function(t){t.cancelBubble=!0})),e.on("dragmove",(function(t){t.cancelBubble=!0})),e.on("dragend",(function(t){t.cancelBubble=!0}))},e.prototype._handleMouseDown=function(t){this._movingAnchorName=t.target.name().split(" ")[0];var e=this._getNodeRect(),r=e.width,n=e.height,o=Math.sqrt(Math.pow(r,2)+Math.pow(n,2));this.sin=Math.abs(n/o),this.cos=Math.abs(r/o),window.addEventListener("mousemove",this._handleMouseMove),window.addEventListener("touchmove",this._handleMouseMove),window.addEventListener("mouseup",this._handleMouseUp,!0),window.addEventListener("touchend",this._handleMouseUp,!0),this._transforming=!0;var h=t.target.getAbsolutePosition(),l=t.target.getStage().getPointerPosition();this._anchorDragOffset={x:l.x-h.x,y:l.y-h.y},this._fire("transformstart",{evt:t,target:this.getNode()}),this._nodes.forEach((function(e){e._fire("transformstart",{evt:t,target:e})}))},e.prototype._handleMouseMove=function(t){var e,r,n,o=this.findOne("."+this._movingAnchorName),h=o.getStage();h.setPointersPositions(t);var l=h.getPointerPosition(),c={x:l.x-this._anchorDragOffset.x,y:l.y-this._anchorDragOffset.y},f=o.getAbsolutePosition();o.setAbsolutePosition(c);var d=o.getAbsolutePosition();if(f.x!==d.x||f.y!==d.y)if("rotater"!==this._movingAnchorName){var m=this.keepRatio()||t.shiftKey,v=this.centeredScaling()||t.altKey;if("top-left"===this._movingAnchorName){if(m){var w=v?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-right").x(),y:this.findOne(".bottom-right").y()};n=Math.sqrt(Math.pow(w.x-o.x(),2)+Math.pow(w.y-o.y(),2));var _=this.findOne(".top-left").x()>w.x?-1:1,M=this.findOne(".top-left").y()>w.y?-1:1;e=n*this.cos*_,r=n*this.sin*M,this.findOne(".top-left").x(w.x-e),this.findOne(".top-left").y(w.y-r)}}else if("top-center"===this._movingAnchorName)this.findOne(".top-left").y(o.y());else if("top-right"===this._movingAnchorName){if(m){w=v?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-left").x(),y:this.findOne(".bottom-left").y()};n=Math.sqrt(Math.pow(o.x()-w.x,2)+Math.pow(w.y-o.y(),2));_=this.findOne(".top-right").x()<w.x?-1:1,M=this.findOne(".top-right").y()>w.y?-1:1;e=n*this.cos*_,r=n*this.sin*M,this.findOne(".top-right").x(w.x+e),this.findOne(".top-right").y(w.y-r)}var S=o.position();this.findOne(".top-left").y(S.y),this.findOne(".bottom-right").x(S.x)}else if("middle-left"===this._movingAnchorName)this.findOne(".top-left").x(o.x());else if("middle-right"===this._movingAnchorName)this.findOne(".bottom-right").x(o.x());else if("bottom-left"===this._movingAnchorName){if(m){w=v?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".top-right").x(),y:this.findOne(".top-right").y()};n=Math.sqrt(Math.pow(w.x-o.x(),2)+Math.pow(o.y()-w.y,2));_=w.x<o.x()?-1:1,M=o.y()<w.y?-1:1;e=n*this.cos*_,r=n*this.sin*M,o.x(w.x-e),o.y(w.y+r)}S=o.position(),this.findOne(".top-left").x(S.x),this.findOne(".bottom-right").y(S.y)}else if("bottom-center"===this._movingAnchorName)this.findOne(".bottom-right").y(o.y());else if("bottom-right"===this._movingAnchorName){if(m){w=v?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".top-left").x(),y:this.findOne(".top-left").y()};n=Math.sqrt(Math.pow(o.x()-w.x,2)+Math.pow(o.y()-w.y,2));_=this.findOne(".bottom-right").x()<w.x?-1:1,M=this.findOne(".bottom-right").y()<w.y?-1:1;e=n*this.cos*_,r=n*this.sin*M,this.findOne(".bottom-right").x(w.x+e),this.findOne(".bottom-right").y(w.y+r)}}else console.error(new Error("Wrong position argument of selection resizer: "+this._movingAnchorName));if(v=this.centeredScaling()||t.altKey){var x=this.findOne(".top-left"),E=this.findOne(".bottom-right"),A=x.x(),T=x.y(),C=this.getWidth()-E.x(),O=this.getHeight()-E.y();E.move({x:-A,y:-T}),x.move({x:C,y:O})}var I=this.findOne(".top-left").getAbsolutePosition();e=I.x,r=I.y;var P=this.findOne(".bottom-right").x()-this.findOne(".top-left").x(),R=this.findOne(".bottom-right").y()-this.findOne(".top-left").y();this._fitNodesInto({x:e,y:r,width:P,height:R,rotation:y.Konva.getAngle(this.rotation())},t)}else{var j=this._getNodeRect();e=o.x()-j.width/2,r=-o.y()+j.height/2;var N=Math.atan2(-r,e)+Math.PI/2;j.height<0&&(N-=Math.PI);var L=y.Konva.getAngle(this.rotation())+N,D=y.Konva.getAngle(this.rotationSnapTolerance()),B=k(j,function(t,e,r){for(var n=e,i=0;i<t.length;i++){var o=y.Konva.getAngle(t[i]),h=Math.abs(o-e)%(2*Math.PI);Math.min(h,2*Math.PI-h)<r&&(n=o)}return n}(this.rotationSnaps(),L,D)-j.rotation);this._fitNodesInto(B,t)}},e.prototype._handleMouseUp=function(t){this._removeEvents(t)},e.prototype.getAbsoluteTransform=function(){return this.getTransform()},e.prototype._removeEvents=function(t){if(this._transforming){this._transforming=!1,window.removeEventListener("mousemove",this._handleMouseMove),window.removeEventListener("touchmove",this._handleMouseMove),window.removeEventListener("mouseup",this._handleMouseUp,!0),window.removeEventListener("touchend",this._handleMouseUp,!0);var e=this.getNode();this._fire("transformend",{evt:t,target:e}),e&&this._nodes.forEach((function(e){e._fire("transformend",{evt:t,target:e})})),this._movingAnchorName=null}},e.prototype._fitNodesInto=function(t,e){var r=this,n=this._getNodeRect();if(l.Util._inRange(t.width,2*-this.padding()-1,1))this.update();else if(l.Util._inRange(t.height,2*-this.padding()-1,1))this.update();else{var o=new l.Transform;if(o.rotate(y.Konva.getAngle(this.rotation())),this._movingAnchorName&&t.width<0&&this._movingAnchorName.indexOf("left")>=0){var h=o.point({x:2*-this.padding(),y:0});t.x+=h.x,t.y+=h.y,t.width+=2*this.padding(),this._movingAnchorName=this._movingAnchorName.replace("left","right"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y}else if(this._movingAnchorName&&t.width<0&&this._movingAnchorName.indexOf("right")>=0){h=o.point({x:2*this.padding(),y:0});this._movingAnchorName=this._movingAnchorName.replace("right","left"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,t.width+=2*this.padding()}if(this._movingAnchorName&&t.height<0&&this._movingAnchorName.indexOf("top")>=0){h=o.point({x:0,y:2*-this.padding()});t.x+=h.x,t.y+=h.y,this._movingAnchorName=this._movingAnchorName.replace("top","bottom"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,t.height+=2*this.padding()}else if(this._movingAnchorName&&t.height<0&&this._movingAnchorName.indexOf("bottom")>=0){h=o.point({x:0,y:2*this.padding()});this._movingAnchorName=this._movingAnchorName.replace("bottom","top"),this._anchorDragOffset.x-=h.x,this._anchorDragOffset.y-=h.y,t.height+=2*this.padding()}if(this.boundBoxFunc()){var c=this.boundBoxFunc()(n,t);c?t=c:l.Util.warn("boundBoxFunc returned falsy. You should return new bound rect from it!")}var f=new l.Transform;f.translate(n.x,n.y),f.rotate(n.rotation),f.scale(n.width/1e7,n.height/1e7);var d=new l.Transform;d.translate(t.x,t.y),d.rotate(t.rotation),d.scale(t.width/1e7,t.height/1e7);var m=d.multiply(f.invert());this._nodes.forEach((function(t){var n,o=t.getParent().getAbsoluteTransform(),h=t.getTransform().copy();h.translate(t.offsetX(),t.offsetY());var c=new l.Transform;c.multiply(o.copy().invert()).multiply(m).multiply(o).multiply(h);var f=c.decompose();t.setAttrs(f),r._fire("transform",{evt:e,target:t}),t._fire("transform",{evt:e,target:t}),null===(n=t.getLayer())||void 0===n||n.batchDraw()})),this.rotation(l.Util._getRotation(t.rotation)),this._resetTransformCache(),this.update(),this.getLayer().batchDraw()}},e.prototype.forceUpdate=function(){this._resetTransformCache(),this.update()},e.prototype._batchChangeChild=function(t,e){this.findOne(t).setAttrs(e)},e.prototype.update=function(){var t,e=this,r=this._getNodeRect();this.rotation(l.Util._getRotation(r.rotation));var n=r.width,o=r.height,h=this.enabledAnchors(),c=this.resizeEnabled(),f=this.padding(),d=this.anchorSize();this.find("._anchor").each((function(t){t.setAttrs({width:d,height:d,offsetX:d/2,offsetY:d/2,stroke:e.anchorStroke(),strokeWidth:e.anchorStrokeWidth(),fill:e.anchorFill(),cornerRadius:e.anchorCornerRadius()})})),this._batchChangeChild(".top-left",{x:0,y:0,offsetX:d/2+f,offsetY:d/2+f,visible:c&&h.indexOf("top-left")>=0}),this._batchChangeChild(".top-center",{x:n/2,y:0,offsetY:d/2+f,visible:c&&h.indexOf("top-center")>=0}),this._batchChangeChild(".top-right",{x:n,y:0,offsetX:d/2-f,offsetY:d/2+f,visible:c&&h.indexOf("top-right")>=0}),this._batchChangeChild(".middle-left",{x:0,y:o/2,offsetX:d/2+f,visible:c&&h.indexOf("middle-left")>=0}),this._batchChangeChild(".middle-right",{x:n,y:o/2,offsetX:d/2-f,visible:c&&h.indexOf("middle-right")>=0}),this._batchChangeChild(".bottom-left",{x:0,y:o,offsetX:d/2+f,offsetY:d/2-f,visible:c&&h.indexOf("bottom-left")>=0}),this._batchChangeChild(".bottom-center",{x:n/2,y:o,offsetY:d/2-f,visible:c&&h.indexOf("bottom-center")>=0}),this._batchChangeChild(".bottom-right",{x:n,y:o,offsetX:d/2-f,offsetY:d/2-f,visible:c&&h.indexOf("bottom-right")>=0}),this._batchChangeChild(".rotater",{x:n/2,y:-this.rotateAnchorOffset()*l.Util._sign(o)-f,visible:this.rotateEnabled()}),this._batchChangeChild(".back",{width:n,height:o,visible:this.borderEnabled(),stroke:this.borderStroke(),strokeWidth:this.borderStrokeWidth(),dash:this.borderDash(),x:0,y:0}),null===(t=this.getLayer())||void 0===t||t.batchDraw()},e.prototype.isTransforming=function(){return this._transforming},e.prototype.stopTransform=function(){if(this._transforming){this._removeEvents();var t=this.findOne("."+this._movingAnchorName);t&&t.stopDrag()}},e.prototype.destroy=function(){return this.getStage()&&this._cursorChange&&(this.getStage().content.style.cursor=""),v.Group.prototype.destroy.call(this),this.detach(),this._removeEvents(),this},e.prototype.toObject=function(){return f.Node.prototype.toObject.call(this)},e}(v.Group);e.Transformer=C,C.prototype.className="Transformer",_._registerNode(C),c.Factory.addGetterSetter(C,"enabledAnchors",A,(function(t){return t instanceof Array||l.Util.warn("enabledAnchors value should be an array"),t instanceof Array&&t.forEach((function(t){-1===A.indexOf(t)&&l.Util.warn("Unknown anchor name: "+t+". Available names are: "+A.join(", "))})),t||[]})),c.Factory.addGetterSetter(C,"resizeEnabled",!0),c.Factory.addGetterSetter(C,"anchorSize",10,w.getNumberValidator()),c.Factory.addGetterSetter(C,"rotateEnabled",!0),c.Factory.addGetterSetter(C,"rotationSnaps",[]),c.Factory.addGetterSetter(C,"rotateAnchorOffset",50,w.getNumberValidator()),c.Factory.addGetterSetter(C,"rotationSnapTolerance",5,w.getNumberValidator()),c.Factory.addGetterSetter(C,"borderEnabled",!0),c.Factory.addGetterSetter(C,"anchorStroke","rgb(0, 161, 255)"),c.Factory.addGetterSetter(C,"anchorStrokeWidth",1,w.getNumberValidator()),c.Factory.addGetterSetter(C,"anchorFill","white"),c.Factory.addGetterSetter(C,"anchorCornerRadius",0,w.getNumberValidator()),c.Factory.addGetterSetter(C,"borderStroke","rgb(0, 161, 255)"),c.Factory.addGetterSetter(C,"borderStrokeWidth",1,w.getNumberValidator()),c.Factory.addGetterSetter(C,"borderDash"),c.Factory.addGetterSetter(C,"keepRatio",!0),c.Factory.addGetterSetter(C,"centeredScaling",!1),c.Factory.addGetterSetter(C,"ignoreStroke",!1),c.Factory.addGetterSetter(C,"padding",0,w.getNumberValidator()),c.Factory.addGetterSetter(C,"node"),c.Factory.addGetterSetter(C,"nodes"),c.Factory.addGetterSetter(C,"boundBoxFunc"),c.Factory.addGetterSetter(C,"shouldOverdrawWholeArea",!1),c.Factory.backCompat(C,{lineEnabled:"borderEnabled",rotateHandlerOffset:"rotateAnchorOffset",enabledHandlers:"enabledAnchors"}),l.Collection.mapMethods(C)},function(t,e,r){"use strict";var n,o=this&&this.__extends||(n=function(t,b){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,b){t.__proto__=b}||function(t,b){for(var p in b)Object.prototype.hasOwnProperty.call(b,p)&&(t[p]=b[p])})(t,b)},function(t,b){function e(){this.constructor=t}n(t,b),t.prototype=null===b?Object.create(b):(e.prototype=b.prototype,new e)});Object.defineProperty(e,"__esModule",{value:!0}),e.Wedge=void 0;var h=r(52),l=r(46),c=r(82),f=r(47),d=r(48),m=r(47),v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype._sceneFunc=function(t){t.beginPath(),t.arc(0,0,this.radius(),0,f.Konva.getAngle(this.angle()),this.clockwise()),t.lineTo(0,0),t.closePath(),t.fillStrokeShape(this)},e.prototype.getWidth=function(){return 2*this.radius()},e.prototype.getHeight=function(){return 2*this.radius()},e.prototype.setWidth=function(t){this.radius(t/2)},e.prototype.setHeight=function(t){this.radius(t/2)},e}(c.Shape);e.Wedge=v,v.prototype.className="Wedge",v.prototype._centroid=!0,v.prototype._attrsAffectingSize=["radius"],m._registerNode(v),l.Factory.addGetterSetter(v,"radius",0,d.getNumberValidator()),l.Factory.addGetterSetter(v,"angle",0,d.getNumberValidator()),l.Factory.addGetterSetter(v,"clockwise",!1),l.Factory.backCompat(v,{angleDeg:"angle",getAngleDeg:"getAngle",setAngleDeg:"setAngle"}),h.Collection.mapMethods(v)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Blur=void 0;var n=r(46),o=r(72),h=r(48);function l(){this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}var c=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259],f=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];e.Blur=function(t){var e=Math.round(this.blurRadius());e>0&&function(t,e){var r,n,i,p,o,h,d,m,v,y,w,_,M,S,x,E,A,T,k,C,O,I,P,R,j=t.data,N=t.width,L=t.height,div=e+e+1,D=N-1,B=L-1,F=e+1,U=F*(F+1)/2,z=new l,H=null,G=z,V=null,$=null,W=c[e],Y=f[e];for(i=1;i<div;i++)G=G.next=new l,i===F&&(H=G);for(G.next=z,d=h=0,n=0;n<L;n++){for(E=A=T=k=m=v=y=w=0,_=F*(C=j[h]),M=F*(O=j[h+1]),S=F*(I=j[h+2]),x=F*(P=j[h+3]),m+=U*C,v+=U*O,y+=U*I,w+=U*P,G=z,i=0;i<F;i++)G.r=C,G.g=O,G.b=I,G.a=P,G=G.next;for(i=1;i<F;i++)p=h+((D<i?D:i)<<2),m+=(G.r=C=j[p])*(R=F-i),v+=(G.g=O=j[p+1])*R,y+=(G.b=I=j[p+2])*R,w+=(G.a=P=j[p+3])*R,E+=C,A+=O,T+=I,k+=P,G=G.next;for(V=z,$=H,r=0;r<N;r++)j[h+3]=P=w*W>>Y,0!==P?(P=255/P,j[h]=(m*W>>Y)*P,j[h+1]=(v*W>>Y)*P,j[h+2]=(y*W>>Y)*P):j[h]=j[h+1]=j[h+2]=0,m-=_,v-=M,y-=S,w-=x,_-=V.r,M-=V.g,S-=V.b,x-=V.a,p=d+((p=r+e+1)<D?p:D)<<2,m+=E+=V.r=j[p],v+=A+=V.g=j[p+1],y+=T+=V.b=j[p+2],w+=k+=V.a=j[p+3],V=V.next,_+=C=$.r,M+=O=$.g,S+=I=$.b,x+=P=$.a,E-=C,A-=O,T-=I,k-=P,$=$.next,h+=4;d+=N}for(r=0;r<N;r++){for(A=T=k=E=v=y=w=m=0,_=F*(C=j[h=r<<2]),M=F*(O=j[h+1]),S=F*(I=j[h+2]),x=F*(P=j[h+3]),m+=U*C,v+=U*O,y+=U*I,w+=U*P,G=z,i=0;i<F;i++)G.r=C,G.g=O,G.b=I,G.a=P,G=G.next;for(o=N,i=1;i<=e;i++)h=o+r<<2,m+=(G.r=C=j[h])*(R=F-i),v+=(G.g=O=j[h+1])*R,y+=(G.b=I=j[h+2])*R,w+=(G.a=P=j[h+3])*R,E+=C,A+=O,T+=I,k+=P,G=G.next,i<B&&(o+=N);for(h=r,V=z,$=H,n=0;n<L;n++)j[(p=h<<2)+3]=P=w*W>>Y,P>0?(P=255/P,j[p]=(m*W>>Y)*P,j[p+1]=(v*W>>Y)*P,j[p+2]=(y*W>>Y)*P):j[p]=j[p+1]=j[p+2]=0,m-=_,v-=M,y-=S,w-=x,_-=V.r,M-=V.g,S-=V.b,x-=V.a,p=r+((p=n+F)<B?p:B)*N<<2,m+=E+=V.r=j[p],v+=A+=V.g=j[p+1],y+=T+=V.b=j[p+2],w+=k+=V.a=j[p+3],V=V.next,_+=C=$.r,M+=O=$.g,S+=I=$.b,x+=P=$.a,E-=C,A-=O,T-=I,k-=P,$=$.next,h+=N}}(t,e)},n.Factory.addGetterSetter(o.Node,"blurRadius",0,h.getNumberValidator(),n.Factory.afterSetFilter)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Brighten=void 0;var n=r(46),o=r(72),h=r(48);e.Brighten=function(t){var i,e=255*this.brightness(),data=t.data,r=data.length;for(i=0;i<r;i+=4)data[i]+=e,data[i+1]+=e,data[i+2]+=e},n.Factory.addGetterSetter(o.Node,"brightness",0,h.getNumberValidator(),n.Factory.afterSetFilter)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Contrast=void 0;var n=r(46),o=r(72),h=r(48);e.Contrast=function(t){var i,e=Math.pow((this.contrast()+100)/100,2),data=t.data,r=data.length,n=150,o=150,h=150;for(i=0;i<r;i+=4)n=data[i],o=data[i+1],h=data[i+2],n/=255,n-=.5,n*=e,n+=.5,o/=255,o-=.5,o*=e,o+=.5,h/=255,h-=.5,h*=e,h+=.5,n=(n*=255)<0?0:n>255?255:n,o=(o*=255)<0?0:o>255?255:o,h=(h*=255)<0?0:h>255?255:h,data[i]=n,data[i+1]=o,data[i+2]=h},n.Factory.addGetterSetter(o.Node,"contrast",0,h.getNumberValidator(),n.Factory.afterSetFilter)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Emboss=void 0;var n=r(46),o=r(72),h=r(52),l=r(48);e.Emboss=function(t){var e=10*this.embossStrength(),r=255*this.embossWhiteLevel(),n=this.embossDirection(),o=this.embossBlend(),l=0,c=0,data=t.data,f=t.width,d=t.height,m=4*f,v=d;switch(n){case"top-left":l=-1,c=-1;break;case"top":l=-1,c=0;break;case"top-right":l=-1,c=1;break;case"right":l=0,c=1;break;case"bottom-right":l=1,c=1;break;case"bottom":l=1,c=0;break;case"bottom-left":l=1,c=-1;break;case"left":l=0,c=-1;break;default:h.Util.error("Unknown emboss direction: "+n)}do{var y=(v-1)*m,w=l;v+w<1&&(w=0),v+w>d&&(w=0);var _=(v-1+w)*f*4,M=f;do{var S=y+4*(M-1),x=c;M+x<1&&(x=0),M+x>f&&(x=0);var E=_+4*(M-1+x),A=data[S]-data[E],T=data[S+1]-data[E+1],k=data[S+2]-data[E+2],C=A,O=C>0?C:-C;if((T>0?T:-T)>O&&(C=T),(k>0?k:-k)>O&&(C=k),C*=e,o){var I=data[S]+C,g=data[S+1]+C,b=data[S+2]+C;data[S]=I>255?255:I<0?0:I,data[S+1]=g>255?255:g<0?0:g,data[S+2]=b>255?255:b<0?0:b}else{var P=r-C;P<0?P=0:P>255&&(P=255),data[S]=data[S+1]=data[S+2]=P}}while(--M)}while(--v)},n.Factory.addGetterSetter(o.Node,"embossStrength",.5,l.getNumberValidator(),n.Factory.afterSetFilter),n.Factory.addGetterSetter(o.Node,"embossWhiteLevel",.5,l.getNumberValidator(),n.Factory.afterSetFilter),n.Factory.addGetterSetter(o.Node,"embossDirection","top-left",null,n.Factory.afterSetFilter),n.Factory.addGetterSetter(o.Node,"embossBlend",!1,null,n.Factory.afterSetFilter)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Enhance=void 0;var n=r(46),o=r(72),h=r(48);function l(t,e,r,n,o){var h=r-e,l=o-n;return 0===h?n+l/2:0===l?n:l*((t-e)/h)+n}e.Enhance=function(t){var e,g,b,i,data=t.data,r=data.length,n=data[0],o=n,h=data[1],c=h,f=data[2],d=f,m=this.enhance();if(0!==m){for(i=0;i<r;i+=4)(e=data[i+0])<n?n=e:e>o&&(o=e),(g=data[i+1])<h?h=g:g>c&&(c=g),(b=data[i+2])<f?f=b:b>d&&(d=b);var v,y,w,_,M,S,x,E,A;for(o===n&&(o=255,n=0),c===h&&(c=255,h=0),d===f&&(d=255,f=0),m>0?(y=o+m*(255-o),w=n-m*(n-0),M=c+m*(255-c),S=h-m*(h-0),E=d+m*(255-d),A=f-m*(f-0)):(y=o+m*(o-(v=.5*(o+n))),w=n+m*(n-v),M=c+m*(c-(_=.5*(c+h))),S=h+m*(h-_),E=d+m*(d-(x=.5*(d+f))),A=f+m*(f-x)),i=0;i<r;i+=4)data[i+0]=l(data[i+0],n,o,w,y),data[i+1]=l(data[i+1],h,c,S,M),data[i+2]=l(data[i+2],f,d,A,E)}},n.Factory.addGetterSetter(o.Node,"enhance",0,h.getNumberValidator(),n.Factory.afterSetFilter)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Grayscale=void 0;e.Grayscale=function(t){var i,e,data=t.data,r=data.length;for(i=0;i<r;i+=4)e=.34*data[i]+.5*data[i+1]+.16*data[i+2],data[i]=e,data[i+1]=e,data[i+2]=e}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HSL=void 0;var n=r(46),o=r(72),h=r(48);n.Factory.addGetterSetter(o.Node,"hue",0,h.getNumberValidator(),n.Factory.afterSetFilter),n.Factory.addGetterSetter(o.Node,"saturation",0,h.getNumberValidator(),n.Factory.afterSetFilter),n.Factory.addGetterSetter(o.Node,"luminance",0,h.getNumberValidator(),n.Factory.afterSetFilter);e.HSL=function(t){var i,e,g,b,a,data=t.data,r=data.length,s=Math.pow(2,this.saturation()),n=Math.abs(this.hue()+360)%360,o=127*this.luminance(),h=1*s*Math.cos(n*Math.PI/180),l=1*s*Math.sin(n*Math.PI/180),c=.299+.701*h+.167*l,f=.587-.587*h+.33*l,d=.114-.114*h-.497*l,m=.299-.299*h-.328*l,v=.587+.413*h+.035*l,y=.114-.114*h+.293*l,br=.299-.3*h+1.25*l,w=.587-.586*h-1.05*l,_=.114+.886*h-.2*l;for(i=0;i<r;i+=4)e=data[i+0],g=data[i+1],b=data[i+2],a=data[i+3],data[i+0]=c*e+f*g+d*b+o,data[i+1]=m*e+v*g+y*b+o,data[i+2]=br*e+w*g+_*b+o,data[i+3]=a}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HSV=void 0;var n=r(46),o=r(72),h=r(48);e.HSV=function(t){var i,e,g,b,a,data=t.data,r=data.length,n=Math.pow(2,this.value()),s=Math.pow(2,this.saturation()),o=Math.abs(this.hue()+360)%360,h=n*s*Math.cos(o*Math.PI/180),l=n*s*Math.sin(o*Math.PI/180),c=.299*n+.701*h+.167*l,f=.587*n-.587*h+.33*l,d=.114*n-.114*h-.497*l,m=.299*n-.299*h-.328*l,v=.587*n+.413*h+.035*l,y=.114*n-.114*h+.293*l,br=.299*n-.3*h+1.25*l,w=.587*n-.586*h-1.05*l,_=.114*n+.886*h-.2*l;for(i=0;i<r;i+=4)e=data[i+0],g=data[i+1],b=data[i+2],a=data[i+3],data[i+0]=c*e+f*g+d*b,data[i+1]=m*e+v*g+y*b,data[i+2]=br*e+w*g+_*b,data[i+3]=a},n.Factory.addGetterSetter(o.Node,"hue",0,h.getNumberValidator(),n.Factory.afterSetFilter),n.Factory.addGetterSetter(o.Node,"saturation",0,h.getNumberValidator(),n.Factory.afterSetFilter),n.Factory.addGetterSetter(o.Node,"value",0,h.getNumberValidator(),n.Factory.afterSetFilter)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Invert=void 0;e.Invert=function(t){var i,data=t.data,e=data.length;for(i=0;i<e;i+=4)data[i]=255-data[i],data[i+1]=255-data[i+1],data[i+2]=255-data[i+2]}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Kaleidoscope=void 0;var n=r(46),o=r(72),h=r(52),l=r(48);e.Kaleidoscope=function(t){var e,r,i,n,g,b,a,o,l,c=t.width,f=t.height,d=Math.round(this.kaleidoscopePower()),m=Math.round(this.kaleidoscopeAngle()),v=Math.floor(c*(m%360)/360);if(!(d<1)){var y=h.Util.createCanvasElement();y.width=c,y.height=f;var w=y.getContext("2d").getImageData(0,0,c,f);!function(t,e,r){var i,n,o,h,l=t.data,c=e.data,f=t.width,d=t.height,m=r.polarCenterX||f/2,v=r.polarCenterY||d/2,y=0,g=0,b=0,a=0,w=Math.sqrt(m*m+v*v);n=f-m,o=d-v,w=(h=Math.sqrt(n*n+o*o))>w?h:w;var _,M,S,x,E=d,A=f,T=360/A*Math.PI/180;for(M=0;M<A;M+=1)for(S=Math.sin(M*T),x=Math.cos(M*T),_=0;_<E;_+=1)n=Math.floor(m+w*_/E*x),y=l[(i=4*((o=Math.floor(v+w*_/E*S))*f+n))+0],g=l[i+1],b=l[i+2],a=l[i+3],c[(i=4*(M+_*f))+0]=y,c[i+1]=g,c[i+2]=b,c[i+3]=a}(t,w,{polarCenterX:c/2,polarCenterY:f/2});for(var _=c/Math.pow(2,d);_<=8;)_*=2,d-=1;var M=_=Math.ceil(_),S=0,x=M,E=1;for(v+_>c&&(S=M,x=0,E=-1),r=0;r<f;r+=1)for(e=S;e!==x;e+=E)o=4*(c*r+Math.round(e+v)%c),n=w.data[o+0],g=w.data[o+1],b=w.data[o+2],a=w.data[o+3],l=4*(c*r+e),w.data[l+0]=n,w.data[l+1]=g,w.data[l+2]=b,w.data[l+3]=a;for(r=0;r<f;r+=1)for(M=Math.floor(_),i=0;i<d;i+=1){for(e=0;e<M+1;e+=1)o=4*(c*r+e),n=w.data[o+0],g=w.data[o+1],b=w.data[o+2],a=w.data[o+3],l=4*(c*r+2*M-e-1),w.data[l+0]=n,w.data[l+1]=g,w.data[l+2]=b,w.data[l+3]=a;M*=2}!function(t,e,r){var i,n,o,h,l,c,f=t.data,d=e.data,m=t.width,v=t.height,y=r.polarCenterX||m/2,w=r.polarCenterY||v/2,_=0,g=0,b=0,a=0,M=Math.sqrt(y*y+w*w);n=m-y,o=v-w,M=(c=Math.sqrt(n*n+o*o))>M?c:M;var S,x,E,A=v,T=m,k=r.polarRotation||0;for(n=0;n<m;n+=1)for(o=0;o<v;o+=1)h=n-y,l=o-w,S=Math.sqrt(h*h+l*l)*A/M,x=(x=(180*Math.atan2(l,h)/Math.PI+360+k)%360)*T/360,E=Math.floor(x),_=f[(i=4*(Math.floor(S)*m+E))+0],g=f[i+1],b=f[i+2],a=f[i+3],d[(i=4*(o*m+n))+0]=_,d[i+1]=g,d[i+2]=b,d[i+3]=a}(w,t,{polarRotation:0})}},n.Factory.addGetterSetter(o.Node,"kaleidoscopePower",2,l.getNumberValidator(),n.Factory.afterSetFilter),n.Factory.addGetterSetter(o.Node,"kaleidoscopeAngle",0,l.getNumberValidator(),n.Factory.afterSetFilter)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Mask=void 0;var n=r(46),o=r(72),h=r(48);function l(t,e,r){var n=4*(r*t.width+e),o=[];return o.push(t.data[n++],t.data[n++],t.data[n++],t.data[n++]),o}function c(t,e){return Math.sqrt(Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)+Math.pow(t[2]-e[2],2))}e.Mask=function(t){var mask=function(t,e){var r=l(t,0,0),n=l(t,t.width-1,0),o=l(t,0,t.height-1),h=l(t,t.width-1,t.height-1),f=e||10;if(c(r,n)<f&&c(n,h)<f&&c(h,o)<f&&c(o,r)<f){for(var d=function(t){for(var e=[0,0,0],i=0;i<t.length;i++)e[0]+=t[i][0],e[1]+=t[i][1],e[2]+=t[i][2];return e[0]/=t.length,e[1]/=t.length,e[2]/=t.length,e}([n,r,h,o]),mask=[],i=0;i<t.width*t.height;i++){var m=c(d,[t.data[4*i],t.data[4*i+1],t.data[4*i+2]]);mask[i]=m<f?0:255}return mask}}(t,this.threshold());return mask&&function(t,mask){for(var i=0;i<t.width*t.height;i++)t.data[4*i+3]=mask[i]}(t,mask=function(mask,t,e){for(var r=[1/9,1/9,1/9,1/9,1/9,1/9,1/9,1/9,1/9],n=Math.round(Math.sqrt(r.length)),o=Math.floor(n/2),h=[],l=0;l<e;l++)for(var c=0;c<t;c++){for(var f=l*t+c,a=0,d=0;d<n;d++)for(var m=0;m<n;m++){var v=l+d-o,y=c+m-o;if(v>=0&&v<e&&y>=0&&y<t){var w=r[d*n+m];a+=mask[v*t+y]*w}}h[f]=a}return h}(mask=function(mask,t,e){for(var r=[1,1,1,1,1,1,1,1,1],n=Math.round(Math.sqrt(r.length)),o=Math.floor(n/2),h=[],l=0;l<e;l++)for(var c=0;c<t;c++){for(var f=l*t+c,a=0,d=0;d<n;d++)for(var m=0;m<n;m++){var v=l+d-o,y=c+m-o;if(v>=0&&v<e&&y>=0&&y<t){var w=r[d*n+m];a+=mask[v*t+y]*w}}h[f]=a>=1020?255:0}return h}(mask=function(mask,t,e){for(var r=[1,1,1,1,0,1,1,1,1],n=Math.round(Math.sqrt(r.length)),o=Math.floor(n/2),h=[],l=0;l<e;l++)for(var c=0;c<t;c++){for(var f=l*t+c,a=0,d=0;d<n;d++)for(var m=0;m<n;m++){var v=l+d-o,y=c+m-o;if(v>=0&&v<e&&y>=0&&y<t){var w=r[d*n+m];a+=mask[v*t+y]*w}}h[f]=2040===a?255:0}return h}(mask,t.width,t.height),t.width,t.height),t.width,t.height)),t},n.Factory.addGetterSetter(o.Node,"threshold",0,h.getNumberValidator(),n.Factory.afterSetFilter)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Noise=void 0;var n=r(46),o=r(72),h=r(48);e.Noise=function(t){var i,e=255*this.noise(),data=t.data,r=data.length,n=e/2;for(i=0;i<r;i+=4)data[i+0]+=n-2*n*Math.random(),data[i+1]+=n-2*n*Math.random(),data[i+2]+=n-2*n*Math.random()},n.Factory.addGetterSetter(o.Node,"noise",.2,h.getNumberValidator(),n.Factory.afterSetFilter)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Pixelate=void 0;var n=r(46),o=r(52),h=r(72),l=r(48);e.Pixelate=function(t){var e,r,i,n,h,l,c,f,d,m,v,y,w,_,M=Math.ceil(this.pixelSize()),S=t.width,x=t.height,E=Math.ceil(S/M),A=Math.ceil(x/M),data=t.data;if(M<=0)o.Util.error("pixelSize value can not be <= 0");else for(y=0;y<E;y+=1)for(w=0;w<A;w+=1){for(n=0,h=0,l=0,c=0,d=(f=y*M)+M,v=(m=w*M)+M,_=0,e=f;e<d;e+=1)if(!(e>=S))for(r=m;r<v;r+=1)r>=x||(n+=data[(i=4*(S*r+e))+0],h+=data[i+1],l+=data[i+2],c+=data[i+3],_+=1);for(n/=_,h/=_,l/=_,c/=_,e=f;e<d;e+=1)if(!(e>=S))for(r=m;r<v;r+=1)r>=x||(data[(i=4*(S*r+e))+0]=n,data[i+1]=h,data[i+2]=l,data[i+3]=c)}},n.Factory.addGetterSetter(h.Node,"pixelSize",8,l.getNumberValidator(),n.Factory.afterSetFilter)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Posterize=void 0;var n=r(46),o=r(72),h=r(48);e.Posterize=function(t){var i,e=Math.round(254*this.levels())+1,data=t.data,r=data.length,n=255/e;for(i=0;i<r;i+=1)data[i]=Math.floor(data[i]/n)*n},n.Factory.addGetterSetter(o.Node,"levels",.5,h.getNumberValidator(),n.Factory.afterSetFilter)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RGB=void 0;var n=r(46),o=r(72),h=r(48);e.RGB=function(t){var i,e,data=t.data,r=data.length,n=this.red(),o=this.green(),h=this.blue();for(i=0;i<r;i+=4)e=(.34*data[i]+.5*data[i+1]+.16*data[i+2])/255,data[i]=e*n,data[i+1]=e*o,data[i+2]=e*h,data[i+3]=data[i+3]},n.Factory.addGetterSetter(o.Node,"red",0,(function(t){return this._filterUpToDate=!1,t>255?255:t<0?0:Math.round(t)})),n.Factory.addGetterSetter(o.Node,"green",0,(function(t){return this._filterUpToDate=!1,t>255?255:t<0?0:Math.round(t)})),n.Factory.addGetterSetter(o.Node,"blue",0,h.RGBComponent,n.Factory.afterSetFilter)},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RGBA=void 0;var n=r(46),o=r(72),h=r(48);e.RGBA=function(t){var i,e,data=t.data,r=data.length,n=this.red(),o=this.green(),h=this.blue(),l=this.alpha();for(i=0;i<r;i+=4)e=1-l,data[i]=n*l+data[i]*e,data[i+1]=o*l+data[i+1]*e,data[i+2]=h*l+data[i+2]*e},n.Factory.addGetterSetter(o.Node,"red",0,(function(t){return this._filterUpToDate=!1,t>255?255:t<0?0:Math.round(t)})),n.Factory.addGetterSetter(o.Node,"green",0,(function(t){return this._filterUpToDate=!1,t>255?255:t<0?0:Math.round(t)})),n.Factory.addGetterSetter(o.Node,"blue",0,h.RGBComponent,n.Factory.afterSetFilter),n.Factory.addGetterSetter(o.Node,"alpha",1,(function(t){return this._filterUpToDate=!1,t>1?1:t<0?0:t}))},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Sepia=void 0;e.Sepia=function(t){var i,e,g,b,data=t.data,r=data.length;for(i=0;i<r;i+=4)e=data[i+0],g=data[i+1],b=data[i+2],data[i+0]=Math.min(255,.393*e+.769*g+.189*b),data[i+1]=Math.min(255,.349*e+.686*g+.168*b),data[i+2]=Math.min(255,.272*e+.534*g+.131*b)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Solarize=void 0;e.Solarize=function(t){var data=t.data,e=t.width,r=4*e,n=t.height;do{var o=(n-1)*r,h=e;do{var l=o+4*(h-1),c=data[l],g=data[l+1],b=data[l+2];c>127&&(c=255-c),g>127&&(g=255-g),b>127&&(b=255-b),data[l]=c,data[l+1]=g,data[l+2]=b}while(--h)}while(--n)}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Threshold=void 0;var n=r(46),o=r(72),h=r(48);e.Threshold=function(t){var i,e=255*this.threshold(),data=t.data,r=data.length;for(i=0;i<r;i+=1)data[i]=data[i]<e?0:255},n.Factory.addGetterSetter(o.Node,"threshold",.5,h.getNumberValidator(),n.Factory.afterSetFilter)},,,function(t,e){!function(){"use strict";var t="undefined"==typeof window,e=!t&&"scrollBehavior"in document.documentElement.style,r=function(){return(r=Object.assign||function(t){for(var s,i=1,e=arguments.length;i<e;i++)for(var p in s=arguments[i])Object.prototype.hasOwnProperty.call(s,p)&&(t[p]=s[p]);return t}).apply(this,arguments)};function n(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),h=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)h.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return h}function o(){return null!=document.scrollingElement?document.scrollingElement:document.documentElement}var h=new RegExp("scroll-behavior:\\s*([^;]*)");function l(element,t){var e="scroll-behavior:"+t,r=element.getAttribute("style");if(null!=r&&""!==r){var n=c(element);if(null!=n){var o="scroll-behavior:"+n;r=(r=r.replace(o+";","")).replace(o,"")}element.setAttribute("style",r.endsWith(";")?""+r+e:";"+r+e)}else element.setAttribute("style",e)}function c(element){var t=element.getAttribute("style");if(null!=t&&t.includes("scroll-behavior")){var e=t.match(h);if(null!=e){var r=n(e,2)[1];if(null!=r&&""!==r)return r}}}function f(t,e){if(null!=e&&"smooth"===e.behavior)return"smooth";var r,n="style"in t?t:o();if("style"in n){var h=n.style.scrollBehavior;null!=h&&""!==h&&(r=h)}if(null==r){var l=n.getAttribute("scroll-behavior");null!=l&&""!==l&&(r=l)}if(null==r&&(r=c(n)),null==r){var f=getComputedStyle(n).getPropertyValue("scrollBehavior");null!=f&&""!==f&&(r=f)}return r}function d(t){return.5*(1-Math.cos(Math.PI*t))}var m={reset:function(){}},map="undefined"==typeof WeakMap?void 0:new WeakMap;function v(t){var r=t.startTime,n=t.startX,h=t.startY,f=t.endX,v=t.endY,y=t.method,w=t.scroller,_=0,M=f-n,S=v-h,x=Math.max(Math.abs(M/1e3*15e3),Math.abs(S/1e3*15e3)),E=function(t){if(e||null==map)return m;var r,n,h,f,d,v=o(),y=map.get(t);if(null!=y)r=y.cachedScrollSnapValue,n=y.cachedScrollBehaviorStyleAttributeValue,h=y.secondaryScroller,f=y.secondaryScrollerCachedScrollSnapValue,d=y.secondaryScrollerCachedScrollBehaviorStyleAttributeValue,y.release();else{r=""===t.style.scrollSnapType?null:t.style.scrollSnapType,n=c(t),h=t===v&&v!==document.body?document.body:void 0,f=null==h?void 0:""===h.style.scrollSnapType?null:h.style.scrollSnapType,d=null==h?void 0:c(h);var w=getComputedStyle(t).getPropertyValue("scroll-snap-type"),_=null==h?void 0:getComputedStyle(h).getPropertyValue("scroll-snap-type");if("none"===w&&"none"===_)return m}t.style.scrollSnapType="none",void 0!==h&&(h.style.scrollSnapType="none"),void 0!==n&&l(t,n),void 0!==h&&void 0!==d&&l(h,d);var M=!1,S=t===v?window:t;function x(){S.removeEventListener("scroll",E),null!=map&&map.delete(t),M=!0}function E(){t.style.scrollSnapType=r,null!=h&&void 0!==f&&(h.style.scrollSnapType=f),void 0!==n&&l(t,n),void 0!==h&&void 0!==d&&l(h,d),x()}return map.set(t,{release:x,cachedScrollSnapValue:r,cachedScrollBehaviorStyleAttributeValue:n,secondaryScroller:h,secondaryScrollerCachedScrollSnapValue:f,secondaryScrollerCachedScrollBehaviorStyleAttributeValue:d}),{reset:function(){setTimeout((function(){M||S.addEventListener("scroll",E)}))}}}(w);requestAnimationFrame((function animate(t){_+=t-r;var e=Math.max(0,Math.min(1,0===x?0:_/x)),o=Math.floor(n+M*d(e)),l=Math.floor(h+S*d(e));y(o,l),o!==f||l!==v?requestAnimationFrame(animate):null!=E&&(E.reset(),E=void 0)}))}var y=t?void 0:Element.prototype.scroll,w=t?void 0:window.scroll,_=t?void 0:Element.prototype.scrollBy,M=t?void 0:window.scrollBy,S=t?void 0:Element.prototype.scrollTo,x=t?void 0:window.scrollTo;function E(t,e){this.__adjustingScrollPosition=!0,this.scrollLeft=t,this.scrollTop=e,delete this.__adjustingScrollPosition}function A(t,e){return E.call(this,t,e)}function T(t,e){this.__adjustingScrollPosition=!0,this.scrollLeft+=t,this.scrollTop+=e,delete this.__adjustingScrollPosition}function k(t,element){switch(t){case"scroll":return element instanceof Element?null!=y?y:E:w;case"scrollBy":return element instanceof Element?null!=_?_:T:M;case"scrollTo":return element instanceof Element?null!=S?S:A:x}}function C(element,t,e,r){var n="performance"in window?performance.now():Date.now();if(element instanceof Element)return{startTime:n,startX:h=element.scrollLeft,startY:l=element.scrollTop,endX:Math.floor("scrollBy"===r?h+t:t),endY:Math.floor("scrollBy"===r?l+e:e),method:k("scrollTo",element).bind(element),scroller:element};var h,l,c=window.scrollX,f=window.pageXOffset,d=window.scrollY,m=window.pageYOffset;return{startTime:n,startX:h=null==c||0===c?f:c,startY:l=null==d||0===d?m:d,endX:Math.floor("scrollBy"===r?h+t:t),endY:Math.floor("scrollBy"===r?l+e:e),method:k("scrollTo",window).bind(window),scroller:o()}}function O(t){return null==t?0:"number"==typeof t?t:"string"==typeof t?parseFloat(t):0}function I(t){return null!=t&&"object"==typeof t}function P(element,t,e,n){!function(t,element,e){var r=f(element,t);null==r||"auto"===r?k(e,element).call(element,t.left,t.top):v(C(element,t.left,t.top,e))}(function(t,e){if(void 0===e&&!I(t))throw new TypeError("Failed to execute 'scroll' on 'Element': parameter 1 ('options') is not an object.");return I(t)?r(r({},R(t.left,t.top)),{behavior:null==t.behavior?"auto":t.behavior}):r(r({},R(t,e)),{behavior:"auto"})}(e,n),element,t)}function R(t,e){return{left:O(t),top:O(e)}}function j(t){return"nodeType"in t&&1===t.nodeType?t.parentNode:"ShadowRoot"in window&&t instanceof window.ShadowRoot?t.host:t===document?window:t instanceof Node?t.parentNode:null}function N(t){return"visible"!==t&&"clip"!==t}function L(element){if(element.clientHeight<element.scrollHeight||element.clientWidth<element.scrollWidth){var style=getComputedStyle(element,null);return N(style.overflowY)||N(style.overflowX)}return!1}function D(t){for(var e=t,r=o();null!=e;){var n=f(e);if(null!=n&&(e===r||L(e)))return[e,n];e=j(e)}for(e=t;null!=e;){if(e===r||L(e))return[e,"auto"];e=j(e)}return[r,"auto"]}function B(t){if(void 0===t&&(t=location),"origin"in t&&null!=t.origin)return t.origin;var e=null!=t.port&&t.port.length>0?":"+t.port:"";return("http:"===t.protocol&&":80"===e||"https:"===t.protocol&&":443"===e)&&(e=""),t.protocol+"//"+t.hostname+e}var F=/^#\d/;function U(){window.addEventListener("click",(function(t){if(t.isTrusted&&t.target instanceof HTMLAnchorElement){var e=t.target,r=e.pathname,o=e.search,h=e.hash;if(B(t.target)===B(location)&&r===location.pathname&&o===location.search&&null!=h&&!(h.length<1)){var l=function(t){for(var e=t;null!=e;){if("ShadowRoot"in window&&e instanceof window.ShadowRoot)return e;var r=j(e);if(r===e)return document;e=r}return document}(t.target),c=null!=h.match(F)?l.getElementById(h.slice(1)):l.querySelector(h);if(null!=c){var f=n(D(c),2)[1];"smooth"===f&&(t.preventDefault(),c.scrollIntoView({behavior:f}))}}}}))}var z=t?void 0:Element.prototype.scrollIntoView;function H(t,e,r,n,o,h,l,c){return h<t&&l>e||h>t&&l<e?0:h<=t&&c<=r||l>=e&&c>=r?h-t-n:l>e&&c<r||h<t&&c>r?l-e+o:0}function G(t,e,r){var n=r.block,h=r.inline,l=o(),c=null!=window.visualViewport?visualViewport.width:innerWidth,f=null!=window.visualViewport?visualViewport.height:innerHeight,d=null!=window.scrollX?window.scrollX:window.pageXOffset,m=null!=window.scrollY?window.scrollY:window.pageYOffset,v=t.getBoundingClientRect(),y=v.height,w=v.width,_=v.top,M=v.right,S=v.bottom,x=v.left,E="start"===n||"nearest"===n?_:"end"===n?S:_+y/2,A="center"===h?x+w/2:"end"===h?M:x,T=e.getBoundingClientRect(),k=T.height,C=T.width,O=T.top,I=T.right,P=T.bottom,R=T.left,j=getComputedStyle(e),N=parseInt(j.borderLeftWidth,10),L=parseInt(j.borderTopWidth,10),D=parseInt(j.borderRightWidth,10),B=parseInt(j.borderBottomWidth,10),F=0,U=0,z="offsetWidth"in e?e.offsetWidth-e.clientWidth-N-D:0,G="offsetHeight"in e?e.offsetHeight-e.clientHeight-L-B:0;if(l===e)F="start"===n?E:"end"===n?E-f:"nearest"===n?H(m,m+f,f,L,B,m+E,m+E+y,y):E-f/2,U="start"===h?A:"center"===h?A-c/2:"end"===h?A-c:H(d,d+c,c,N,D,d+A,d+A+w,w),F=Math.max(0,F+m),U=Math.max(0,U+d);else{F="start"===n?E-O-L:"end"===n?E-P+B+G:"nearest"===n?H(O,P,k,L,B+G,E,E+y,y):E-(O+k/2)+G/2,U="start"===h?A-R-N:"center"===h?A-(R+C/2)+z/2:"end"===h?A-I+D+z:H(R,I,C,N,D+z,A,A+w,w);var V=e.scrollLeft,$=e.scrollTop;F=Math.max(0,Math.min($+F,e.scrollHeight-k+G)),U=Math.max(0,Math.min(V+U,e.scrollWidth-C+z))}return{top:F,left:U}}var V=t?void 0:Object.getOwnPropertyDescriptor(Element.prototype,"scrollTop").set;var $=t?void 0:Object.getOwnPropertyDescriptor(Element.prototype,"scrollLeft").set;var W=!t&&("scroll"in Element.prototype&&"scrollTo"in Element.prototype&&"scrollBy"in Element.prototype&&"scrollIntoView"in Element.prototype);t||e&&W||(Element.prototype.scroll=function(t,e){P(this,"scroll",t,e)},Element.prototype.scrollBy=function(t,e){P(this,"scrollBy",t,e)},Element.prototype.scrollTo=function(t,e){P(this,"scrollTo",t,e)},Element.prototype.scrollIntoView=function(t){var e=null==t||!0===t?{block:"start",inline:"nearest"}:!1===t?{block:"end",inline:"nearest"}:t,o=n(D(this),2),h=o[0],l=o[1],c=null!=e.behavior?e.behavior:l;if("smooth"===c)h.scrollTo(r({behavior:c},G(this,h,e)));else if(null!=z)z.call(this,e);else{var f=G(this,h,e),d=f.top,m=f.left;k("scrollTo",this).call(this,m,d)}},null!=HTMLElement.prototype.scrollIntoView&&HTMLElement.prototype.scrollIntoView!==Element.prototype.scrollIntoView&&(HTMLElement.prototype.scrollIntoView=Element.prototype.scrollIntoView),Object.defineProperty(Element.prototype,"scrollLeft",{set:function(t){return this.__adjustingScrollPosition?$.call(this,t):(P(this,"scrollTo",t,this.scrollTop),t)}}),Object.defineProperty(Element.prototype,"scrollTop",{set:function(t){return this.__adjustingScrollPosition?V.call(this,t):(P(this,"scrollTo",this.scrollLeft,t),t)}}),window.scroll=function(t,e){P(this,"scroll",t,e)},window.scrollBy=function(t,e){P(this,"scrollBy",t,e)},window.scrollTo=function(t,e){P(this,"scrollTo",t,e)},U())}()},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e){t.exports={15711649:33,15711650:34,15711651:35,15711652:36,15711653:37,15711654:38,15711655:39,15711656:40,15711657:41,15711658:42,15711659:43,15711660:44,15711661:45,15711662:46,15711663:47,15711664:48,15711665:49,15711666:50,15711667:51,15711668:52,15711669:53,15711670:54,15711671:55,15711672:56,15711673:57,15711674:58,15711675:59,15711676:60,15711677:61,15711678:62,15711679:63,15711872:64,15711873:65,15711874:66,15711875:67,15711876:68,15711877:69,15711878:70,15711879:71,15711880:72,15711881:73,15711882:74,15711883:75,15711884:76,15711885:77,15711886:78,15711887:79,15711888:80,15711889:81,15711890:82,15711891:83,15711892:84,15711893:85,15711894:86,15711895:87,15711896:88,15711897:89,15711898:90,15711899:91,15711900:92,15711901:93,15711902:94,15711903:95,14848416:11553,14848417:11554,14848418:11555,14848419:11556,14848420:11557,14848421:11558,14848422:11559,14848423:11560,14848424:11561,14848425:11562,14848426:11563,14848427:11564,14848428:11565,14848429:11566,14848430:11567,14848431:11568,14848432:11569,14848433:11570,14848434:11571,14848435:11572,14845344:11573,14845345:11574,14845346:11575,14845347:11576,14845348:11577,14845349:11578,14845350:11579,14845351:11580,14845352:11581,14845353:11582,14912905:11584,14912660:11585,14912674:11586,14912909:11587,14912664:11588,14912679:11589,14912643:11590,14912694:11591,14912913:11592,14912919:11593,14912653:11594,14912678:11595,14912675:11596,14912683:11597,14912906:11598,14912699:11599,14913180:11600,14913181:11601,14913182:11602,14913166:11603,14913167:11604,14913412:11605,14913185:11606,14912955:11615,14909597:11616,14909599:11617,14845078:11618,14913421:11619,14845089:11620,14912164:11621,14912165:11622,14912166:11623,14912167:11624,14912168:11625,14911665:11626,14911666:11627,14911673:11628,14912958:11629,14912957:11630,14912956:11631,14846126:11635,14846097:11636,14846111:11640,14846655:11641,14909568:8481,14909569:8482,14909570:8483,15711372:8484,15711374:8485,14910395:8486,15711386:8487,15711387:8488,15711391:8489,15711361:8490,14910107:8491,14910108:8492,49844:8493,15711616:8494,49832:8495,15711422:8496,15712163:8497,15711423:8498,14910397:8499,14910398:8500,14910109:8501,14910110:8502,14909571:8503,14990237:8504,14909573:8505,14909574:8506,14909575:8507,14910396:8508,14844053:8509,14844048:8510,15711375:8511,15711420:8512,15711646:8513,14844054:8514,15711644:8515,14844070:8516,14844069:8517,14844056:8518,14844057:8519,14844060:8520,14844061:8521,15711368:8522,15711369:8523,14909588:8524,14909589:8525,15711419:8526,15711421:8527,15711643:8528,15711645:8529,14909576:8530,14909577:8531,14909578:8532,14909579:8533,14909580:8534,14909581:8535,14909582:8536,14909583:8537,14909584:8538,14909585:8539,15711371:8540,15711373:8541,49841:8542,50071:8543,50103:8544,15711389:8545,14846368:8546,15711388:8547,15711390:8548,14846374:8549,14846375:8550,14846110:8551,14846132:8552,14850434:8553,14850432:8554,49840:8555,14844082:8556,14844083:8557,14845059:8558,15712165:8559,15711364:8560,15712160:8561,15712161:8562,15711365:8563,15711363:8564,15711366:8565,15711370:8566,15711392:8567,49831:8568,14850182:8569,14850181:8570,14849931:8571,14849935:8572,14849934:8573,14849927:8574,14849926:8737,14849697:8738,14849696:8739,14849715:8740,14849714:8741,14849725:8742,14849724:8743,14844091:8744,14909586:8745,14845586:8746,14845584:8747,14845585:8748,14845587:8749,14909587:8750,14846088:8762,14846091:8763,14846598:8764,14846599:8765,14846594:8766,14846595:8767,14846122:8768,14846121:8769,14846119:8778,14846120:8779,49836:8780,14845842:8781,14845844:8782,14846080:8783,14846083:8784,14846112:8796,14846629:8797,14847122:8798,14846082:8799,14846087:8800,14846369:8801,14846354:8802,14846378:8803,14846379:8804,14846106:8805,14846141:8806,14846109:8807,14846133:8808,14846123:8809,14846124:8810,14845099:8818,14844080:8819,14850479:8820,14850477:8821,14850474:8822,14844064:8823,14844065:8824,49846:8825,14849967:8830,15711376:9008,15711377:9009,15711378:9010,15711379:9011,15711380:9012,15711381:9013,15711382:9014,15711383:9015,15711384:9016,15711385:9017,15711393:9025,15711394:9026,15711395:9027,15711396:9028,15711397:9029,15711398:9030,15711399:9031,15711400:9032,15711401:9033,15711402:9034,15711403:9035,15711404:9036,15711405:9037,15711406:9038,15711407:9039,15711408:9040,15711409:9041,15711410:9042,15711411:9043,15711412:9044,15711413:9045,15711414:9046,15711415:9047,15711416:9048,15711417:9049,15711418:9050,15711617:9057,15711618:9058,15711619:9059,15711620:9060,15711621:9061,15711622:9062,15711623:9063,15711624:9064,15711625:9065,15711626:9066,15711627:9067,15711628:9068,15711629:9069,15711630:9070,15711631:9071,15711632:9072,15711633:9073,15711634:9074,15711635:9075,15711636:9076,15711637:9077,15711638:9078,15711639:9079,15711640:9080,15711641:9081,15711642:9082,14909825:9249,14909826:9250,14909827:9251,14909828:9252,14909829:9253,14909830:9254,14909831:9255,14909832:9256,14909833:9257,14909834:9258,14909835:9259,14909836:9260,14909837:9261,14909838:9262,14909839:9263,14909840:9264,14909841:9265,14909842:9266,14909843:9267,14909844:9268,14909845:9269,14909846:9270,14909847:9271,14909848:9272,14909849:9273,14909850:9274,14909851:9275,14909852:9276,14909853:9277,14909854:9278,14909855:9279,14909856:9280,14909857:9281,14909858:9282,14909859:9283,14909860:9284,14909861:9285,14909862:9286,14909863:9287,14909864:9288,14909865:9289,14909866:9290,14909867:9291,14909868:9292,14909869:9293,14909870:9294,14909871:9295,14909872:9296,14909873:9297,14909874:9298,14909875:9299,14909876:9300,14909877:9301,14909878:9302,14909879:9303,14909880:9304,14909881:9305,14909882:9306,14909883:9307,14909884:9308,14909885:9309,14909886:9310,14909887:9311,14910080:9312,14910081:9313,14910082:9314,14910083:9315,14910084:9316,14910085:9317,14910086:9318,14910087:9319,14910088:9320,14910089:9321,14910090:9322,14910091:9323,14910092:9324,14910093:9325,14910094:9326,14910095:9327,14910096:9328,14910097:9329,14910098:9330,14910099:9331,14910113:9505,14910114:9506,14910115:9507,14910116:9508,14910117:9509,14910118:9510,14910119:9511,14910120:9512,14910121:9513,14910122:9514,14910123:9515,14910124:9516,14910125:9517,14910126:9518,14910127:9519,14910128:9520,14910129:9521,14910130:9522,14910131:9523,14910132:9524,14910133:9525,14910134:9526,14910135:9527,14910136:9528,14910137:9529,14910138:9530,14910139:9531,14910140:9532,14910141:9533,14910142:9534,14910143:9535,14910336:9536,14910337:9537,14910338:9538,14910339:9539,14910340:9540,14910341:9541,14910342:9542,14910343:9543,14910344:9544,14910345:9545,14910346:9546,14910347:9547,14910348:9548,14910349:9549,14910350:9550,14910351:9551,14910352:9552,14910353:9553,14910354:9554,14910355:9555,14910356:9556,14910357:9557,14910358:9558,14910359:9559,14910360:9560,14910361:9561,14910362:9562,14910363:9563,14910364:9564,14910365:9565,14910366:9566,14910367:9567,14910368:9568,14910369:9569,14910370:9570,14910371:9571,14910372:9572,14910373:9573,14910374:9574,14910375:9575,14910376:9576,14910377:9577,14910378:9578,14910379:9579,14910380:9580,14910381:9581,14910382:9582,14910383:9583,14910384:9584,14910385:9585,14910386:9586,14910387:9587,14910388:9588,14910389:9589,14910390:9590,52881:9761,52882:9762,52883:9763,52884:9764,52885:9765,52886:9766,52887:9767,52888:9768,52889:9769,52890:9770,52891:9771,52892:9772,52893:9773,52894:9774,52895:9775,52896:9776,52897:9777,52899:9778,52900:9779,52901:9780,52902:9781,52903:9782,52904:9783,52905:9784,52913:9793,52914:9794,52915:9795,52916:9796,52917:9797,52918:9798,52919:9799,52920:9800,52921:9801,52922:9802,52923:9803,52924:9804,52925:9805,52926:9806,52927:9807,53120:9808,53121:9809,53123:9810,53124:9811,53125:9812,53126:9813,53127:9814,53128:9815,53129:9816,53392:10017,53393:10018,53394:10019,53395:10020,53396:10021,53397:10022,53377:10023,53398:10024,53399:10025,53400:10026,53401:10027,53402:10028,53403:10029,53404:10030,53405:10031,53406:10032,53407:10033,53408:10034,53409:10035,53410:10036,53411:10037,53412:10038,53413:10039,53414:10040,53415:10041,53416:10042,53417:10043,53418:10044,53419:10045,53420:10046,53421:10047,53422:10048,53423:10049,53424:10065,53425:10066,53426:10067,53427:10068,53428:10069,53429:10070,53649:10071,53430:10072,53431:10073,53432:10074,53433:10075,53434:10076,53435:10077,53436:10078,53437:10079,53438:10080,53439:10081,53632:10082,53633:10083,53634:10084,53635:10085,53636:10086,53637:10087,53638:10088,53639:10089,53640:10090,53641:10091,53642:10092,53643:10093,53644:10094,53645:10095,53646:10096,53647:10097,14849152:10273,14849154:10274,14849164:10275,14849168:10276,14849176:10277,14849172:10278,14849180:10279,14849196:10280,14849188:10281,14849204:10282,14849212:10283,14849153:10284,14849155:10285,14849167:10286,14849171:10287,14849179:10288,14849175:10289,14849187:10290,14849203:10291,14849195:10292,14849211:10293,14849419:10294,14849184:10295,14849199:10296,14849192:10297,14849207:10298,14849215:10299,14849181:10300,14849200:10301,14849189:10302,14849208:10303,14849410:10304,14989980:12321,15045782:12322,15050883:12323,15308991:12324,15045504:12325,15107227:12326,15109288:12327,15050678:12328,15302818:12329,15241653:12330,15240348:12331,15182224:12332,15106730:12333,15110049:12334,15120549:12335,15112109:12336,15241638:12337,15239846:12338,15314869:12339,15114899:12340,15047847:12341,15111841:12342,15108529:12343,15052443:12344,15050640:12345,15243707:12346,15311796:12347,15185314:12348,15185598:12349,15314574:12350,15108246:12351,15184543:12352,15246007:12353,15052425:12354,15055541:12355,15109257:12356,15112855:12357,15114632:12358,15308679:12359,15310477:12360,15113615:12361,14990245:12362,14990474:12363,14990733:12364,14991005:12365,15040905:12366,15047602:12367,15049911:12368,15050644:12369,15050881:12370,15052937:12371,15106975:12372,15107215:12373,15107504:12374,15112339:12375,15115397:12376,15172282:12377,15177103:12378,15177136:12379,15181755:12380,15185581:12381,15185839:12382,15238019:12383,15241358:12384,15245731:12385,15248514:12386,15303061:12387,15303098:12388,15043771:12389,14989973:12390,14989989:12391,15048607:12392,15237810:12393,15303553:12394,15180719:12395,14989440:12396,15049649:12397,15121058:12398,15302840:12399,15182002:12400,15240360:12401,15239819:12402,15315119:12403,15041921:12404,15044016:12405,15045309:12406,15045537:12407,15047584:12408,15050683:12409,15056021:12410,15311794:12411,15120299:12412,15238052:12413,15242413:12414,15309218:12577,15309232:12578,15309472:12579,15310779:12580,15044747:12581,15044531:12582,15052423:12583,15172495:12584,15187645:12585,15253378:12586,15309736:12587,15044015:12588,15316380:12589,15182522:12590,14989457:12591,15180435:12592,15239100:12593,15120550:12594,15046808:12595,15045764:12596,15117469:12597,15242394:12598,15315131:12599,15050661:12600,15044265:12601,15119782:12602,15176604:12603,15308431:12604,15047042:12605,14989969:12606,15303051:12607,15309746:12608,15240591:12609,15312012:12610,15044513:12611,15046326:12612,15051952:12613,15056305:12614,15112352:12615,15113139:12616,15114372:12617,15118520:12618,15119283:12619,15119529:12620,15176091:12621,15178632:12622,15182222:12623,15311028:12624,15240113:12625,15245723:12626,15247776:12627,15305645:12628,15120050:12629,15177387:12630,15178634:12631,15312773:12632,15106726:12633,15248513:12634,15251082:12635,15308466:12636,15115918:12637,15044269:12638,15042182:12639,15047826:12640,15048880:12641,15050116:12642,15052468:12643,15055798:12644,15106216:12645,15109801:12646,15110068:12647,15119039:12648,15121556:12649,15172238:12650,15172756:12651,15173017:12652,15173525:12653,15174847:12654,15186049:12655,15239606:12656,15240081:12657,15242903:12658,15303072:12659,15305115:12660,15316123:12661,15049129:12662,15111868:12663,15118746:12664,15176869:12665,15042489:12666,15049902:12667,15050149:12668,15056512:12669,15056796:12670,15108796:12833,15112122:12834,15116458:12835,15117479:12836,15118004:12837,15175307:12838,15187841:12839,15246742:12840,15316140:12841,15316110:12842,15317892:12843,15053473:12844,15118998:12845,15240635:12846,15041668:12847,15053195:12848,15107766:12849,15239046:12850,15114678:12851,15174049:12852,14989721:12853,14991290:12854,15044024:12855,15106473:12856,15120553:12857,15182223:12858,15310771:12859,14989451:12860,15043734:12861,14990254:12862,14990741:12863,14990525:12864,14991009:12865,14990771:12866,15043232:12867,15044527:12868,15046793:12869,15049871:12870,15051649:12871,15052470:12872,15052705:12873,15181713:12874,15112839:12875,15113884:12876,15113910:12877,15117708:12878,15119027:12879,15172011:12880,15175554:12881,15181453:12882,15181502:12883,15182012:12884,15183495:12885,15239857:12886,15240091:12887,15240324:12888,15240631:12889,15241135:12890,15241107:12891,15244710:12892,15248050:12893,15046825:12894,15250088:12895,15253414:12896,15303054:12897,15309982:12898,15243914:12899,14991236:12900,15053736:12901,15108241:12902,15174041:12903,15176891:12904,15239077:12905,15239869:12906,15244222:12907,15250304:12908,15309701:12909,15312019:12910,15312789:12911,14990219:12912,14990490:12913,15247267:12914,15047582:12915,15049098:12916,15049610:12917,15055803:12918,15056811:12919,15106218:12920,15106708:12921,15106466:12922,15107984:12923,15108242:12924,15109008:12925,15111353:12926,15314305:13089,15112614:13090,15114928:13091,15119799:13092,15172016:13093,15177100:13094,15178374:13095,15185333:13096,15239845:13097,15245241:13098,15308427:13099,15309454:13100,15250077:13101,15042481:13102,15043262:13103,15049878:13104,15045299:13105,15052467:13106,15053974:13107,15107496:13108,15115906:13109,15120047:13110,15180429:13111,15242123:13112,15245719:13113,15247794:13114,15306407:13115,15313592:13116,15119788:13117,15312552:13118,15244185:13119,15048355:13120,15114175:13121,15244174:13122,15304846:13123,15043203:13124,15047303:13125,15044740:13126,15055763:13127,15109025:13128,15110841:13129,15114428:13130,15114424:13131,15118011:13132,15175090:13133,15180474:13134,15182251:13135,15247002:13136,15247250:13137,15250859:13138,15252611:13139,15303597:13140,15308451:13141,15309460:13142,15310249:13143,15052198:13144,15053491:13145,15115709:13146,15311245:13147,15311246:13148,15109787:13149,15183008:13150,15116459:13151,15116735:13152,15114934:13153,15315085:13154,15121823:13155,15042994:13156,15046301:13157,15106480:13158,15109036:13159,15119547:13160,15120519:13161,15121297:13162,15241627:13163,15246480:13164,15252868:13165,14989460:13166,15315129:13167,15044534:13168,15115419:13169,15116474:13170,15310468:13171,15114410:13172,15041948:13173,15182723:13174,15241906:13175,15304604:13176,15306380:13177,15047067:13178,15316136:13179,15114402:13180,15240325:13181,15241393:13182,15184549:13345,15042696:13346,15240069:13347,15176614:13348,14989758:13349,14990979:13350,15042208:13351,15052690:13352,15042698:13353,15043480:13354,15043495:13355,15054779:13356,15046298:13357,15048874:13358,15050662:13359,15052428:13360,15052440:13361,15052699:13362,15055282:13363,15055289:13364,15106723:13365,15107231:13366,15107491:13367,15107774:13368,15110043:13369,15111586:13370,15114129:13371,15114643:13372,15115194:13373,15117502:13374,15117715:13375,15118743:13376,15121570:13377,15122071:13378,15121797:13379,15176368:13380,15176856:13381,15178659:13382,15178891:13383,15182783:13384,15183521:13385,15184033:13386,15185833:13387,15187126:13388,15187888:13389,15237789:13390,15239590:13391,15240862:13392,15247027:13393,15248268:13394,15250091:13395,15303300:13396,15307153:13397,15308435:13398,15308433:13399,15308450:13400,15309221:13401,15310739:13402,15312040:13403,15239320:13404,14989496:13405,15044779:13406,15053496:13407,15054732:13408,15175337:13409,15178124:13410,15178940:13411,15053481:13412,15187883:13413,15250571:13414,15309697:13415,15310993:13416,15311252:13417,15311256:13418,14990465:13419,14990478:13420,15044017:13421,15046300:13422,15047080:13423,15048634:13424,15050119:13425,15051913:13426,15052676:13427,15053456:13428,15054988:13429,15055294:13430,15056780:13431,15110062:13432,15113402:13433,15112087:13434,15112098:13435,15113375:13436,15115147:13437,15115140:13438,15116703:13601,15055024:13602,15118213:13603,15118487:13604,15118781:13605,15177151:13606,15181192:13607,15052195:13608,15181952:13609,15185024:13610,15056573:13611,15246991:13612,15247512:13613,15250100:13614,15250871:13615,15252364:13616,15252637:13617,15311778:13618,15313038:13619,15314108:13620,14989952:13621,15040957:13622,15041664:13623,15050387:13624,15052444:13625,15108271:13626,15108736:13627,15111084:13628,15117498:13629,15174304:13630,15177361:13631,15181191:13632,15187625:13633,15245243:13634,15248060:13635,15248816:13636,15109804:13637,15241098:13638,15310496:13639,15044745:13640,15044739:13641,15046315:13642,15114644:13643,15116696:13644,15247792:13645,15179943:13646,15113653:13647,15317901:13648,15044020:13649,15052450:13650,15238298:13651,15243664:13652,15302790:13653,14989464:13654,14989701:13655,14990215:13656,14990481:13657,15044490:13658,15044792:13659,15052462:13660,15056019:13661,15106213:13662,15111569:13663,15113405:13664,15118722:13665,15118770:13666,15119267:13667,15172024:13668,15175811:13669,15182262:13670,15182510:13671,15182984:13672,15185050:13673,15184830:13674,15185318:13675,15112103:13676,15174043:13677,15044283:13678,15053189:13679,15054760:13680,15109010:13681,15109024:13682,15109273:13683,15120544:13684,15243674:13685,15247537:13686,15251357:13687,15305656:13688,15121537:13689,15181478:13690,15314330:13691,14989992:13692,14989995:13693,14989996:13694,14991003:13857,14991008:13858,15041425:13859,15041927:13860,15182774:13861,15041969:13862,15042486:13863,15043988:13864,15043745:13865,15044031:13866,15044523:13867,15046316:13868,15049347:13869,15053729:13870,15056055:13871,15056266:13872,15106223:13873,15106448:13874,15106477:13875,15109279:13876,15111577:13877,15116683:13878,15119233:13879,15174530:13880,15174573:13881,15179695:13882,15238072:13883,15238277:13884,15239304:13885,15242638:13886,15303607:13887,15306657:13888,15310783:13889,15312279:13890,15313306:13891,14990256:13892,15042461:13893,15052973:13894,15112833:13895,15115693:13896,15053184:13897,15113138:13898,15115701:13899,15175305:13900,15114640:13901,15184513:13902,15041413:13903,15043492:13904,15048071:13905,15054782:13906,15305894:13907,15111844:13908,15117475:13909,15117501:13910,15175860:13911,15181441:13912,15181501:13913,15183243:13914,15185802:13915,15239865:13916,15241100:13917,15245759:13918,15246751:13919,15248569:13920,15253393:13921,15304593:13922,15044767:13923,15305344:13924,14989725:13925,15040694:13926,15044517:13927,15043770:13928,15174551:13929,15175318:13930,15179689:13931,15240102:13932,15252143:13933,15312774:13934,15312776:13935,15312786:13936,15041975:13937,15107226:13938,15243678:13939,15046320:13940,15182266:13941,15040950:13942,15052691:13943,15303047:13944,15309445:13945,14989490:13946,15117211:13947,15304615:13948,15053201:13949,15053192:13950,15109784:14113,15182495:14114,15118995:14115,15310260:14116,15252897:14117,15182506:14118,15173258:14119,15309448:14120,15184514:14121,15114391:14122,15186352:14123,15114641:14124,15306156:14125,15043506:14126,15044763:14127,15242923:14128,15247507:14129,15187620:14130,15252365:14131,15303585:14132,15044006:14133,15245960:14134,15181185:14135,14991234:14136,15041214:14137,15042705:14138,15041924:14139,15046035:14140,15047853:14141,15175594:14142,15048331:14143,15050129:14144,15056290:14145,15056516:14146,15106485:14147,15107510:14148,15107495:14149,15107753:14150,15109810:14151,15110330:14152,15111596:14153,15112623:14154,15114626:14155,15120531:14156,15177126:14157,15182013:14158,15184827:14159,15185292:14160,15185561:14161,15186315:14162,15187371:14163,15240334:14164,15240586:14165,15244173:14166,15247496:14167,15247779:14168,15248806:14169,15252413:14170,15311002:14171,15316623:14172,15239864:14173,15253390:14174,15314856:14175,15043207:14176,15108255:14177,15110787:14178,15122304:14179,15309465:14180,15114625:14181,15041169:14182,15117472:14183,15118778:14184,15121812:14185,15182260:14186,15185296:14187,15245696:14188,15247523:14189,15113352:14190,14990262:14191,15040697:14192,15040678:14193,15040933:14194,15041980:14195,15042744:14196,15042979:14197,15046311:14198,15047823:14199,15048837:14200,15051660:14201,15055802:14202,15107762:14203,15108024:14204,15109043:14205,15109554:14206,15115420:14369,15116457:14370,15174077:14371,15174316:14372,15174830:14373,15179924:14374,15180207:14375,15185337:14376,15178892:14377,15237801:14378,15246987:14379,15248537:14380,15250338:14381,15252370:14382,15303075:14383,15306165:14384,15309242:14385,15311253:14386,15313043:14387,15317432:14388,15041923:14389,15044255:14390,15044275:14391,15055291:14392,15056038:14393,15120539:14394,15121040:14395,15175300:14396,15175614:14397,15185283:14398,15239351:14399,15247488:14400,15248314:14401,15309200:14402,14989710:14403,15040651:14404,15044516:14405,15045052:14406,15047610:14407,15050641:14408,15052196:14409,15054769:14410,15055531:14411,15056039:14412,15108280:14413,15111557:14414,15113903:14415,15120790:14416,15174544:14417,15184778:14418,15246004:14419,15237793:14420,15238049:14421,15241136:14422,15243662:14423,15248007:14424,15251368:14425,15304887:14426,15309703:14427,15311271:14428,15318163:14429,14989972:14430,14989970:14431,14990477:14432,15043976:14433,15045001:14434,15044798:14435,15050927:14436,15056524:14437,15056545:14438,15106719:14439,15114919:14440,15116942:14441,15176090:14442,15180417:14443,15248030:14444,15248036:14445,15248823:14446,15304336:14447,14989726:14448,15314825:14449,14989988:14450,14990780:14451,14991023:14452,15040665:14453,15040662:14454,15041929:14455,15041964:14456,15043231:14457,15043257:14458,15043518:14459,15044250:14460,15044515:14461,15044753:14462,15044750:14625,15046281:14626,15048081:14627,15048354:14628,15050173:14629,15052180:14630,15052189:14631,15052431:14632,15054757:14633,15054759:14634,15054775:14635,15055288:14636,15055491:14637,15055514:14638,15055543:14639,15056024:14640,15106450:14641,15107468:14642,15108759:14643,15109016:14644,15109799:14645,15111355:14646,15112322:14647,15112579:14648,15113140:14649,15113645:14650,15114401:14651,15114903:14652,15116171:14653,15118751:14654,15119530:14655,15119785:14656,15120559:14657,15121053:14658,15176882:14659,15178375:14660,15180204:14661,15182015:14662,15184800:14663,15185029:14664,15185048:14665,15185310:14666,15185585:14667,15237269:14668,15237251:14669,15237807:14670,15237809:14671,15238548:14672,15238799:14673,15239338:14674,15240594:14675,15245708:14676,15245729:14677,15248539:14678,15250082:14679,15250364:14680,15303562:14681,15304117:14682,15305137:14683,15179967:14684,15305660:14685,15308452:14686,15309197:14687,15310981:14688,15312537:14689,15313816:14690,15316155:14691,15042971:14692,15043243:14693,15044535:14694,15044744:14695,15049621:14696,15109047:14697,15122336:14698,15249834:14699,15252895:14700,15317689:14701,15041931:14702,15042747:14703,15045002:14704,15047613:14705,15182208:14706,15304119:14707,15316384:14708,15317906:14709,15175044:14710,15121545:14711,15238576:14712,15176849:14713,15056829:14714,15106970:14715,15313576:14716,15174555:14717,15253180:14718,15117732:14881,15310979:14882,14990218:14883,15047600:14884,15048100:14885,15049406:14886,15051162:14887,15106472:14888,15107975:14889,15112335:14890,15112326:14891,15114425:14892,15114929:14893,15120311:14894,15177621:14895,15185082:14896,15239598:14897,15314306:14898,14989979:14899,14990736:14900,15044489:14901,15045766:14902,15054255:14903,15054758:14904,15054766:14905,15114171:14906,15119001:14907,15176115:14908,15179906:14909,15247760:14910,15306390:14911,15246239:14912,15048080:14913,15055527:14914,15109291:14915,15041205:14916,15041196:14917,15042189:14918,15113344:14919,15045513:14920,15049118:14921,15050427:14922,15052464:14923,15056297:14924,15108493:14925,15109793:14926,15114429:14927,15117747:14928,15120520:14929,15172029:14930,15304583:14931,15174272:14932,15179925:14933,15179942:14934,15181229:14935,15111822:14936,15185072:14937,15241116:14938,15246209:14939,15252617:14940,15309467:14941,15042980:14942,15047848:14943,15113616:14944,15187370:14945,15250081:14946,15042228:14947,15048066:14948,15308970:14949,15048890:14950,15115914:14951,15237812:14952,15045298:14953,15053966:14954,15048636:14955,15180437:14956,15316922:14957,14990748:14958,15042954:14959,15045259:14960,15110334:14961,15112360:14962,15113364:14963,15114165:14964,15182468:14965,15183254:14966,15185058:14967,15305903:14968,15114652:14969,15314605:14970,15183033:14971,15043737:14972,15042186:14973,15042743:14974,15052703:15137,15109046:15138,15110830:15139,15111078:15140,15113389:15141,15118010:15142,15242921:15143,15309713:15144,15178384:15145,15314838:15146,15109516:15147,15305862:15148,15314603:15149,15178431:15150,15112594:15151,14989449:15152,15041176:15153,15044482:15154,15053233:15155,15106984:15156,15110802:15157,15111587:15158,15114655:15159,15173542:15160,15175562:15161,15176867:15162,15183511:15163,15186562:15164,15243925:15165,15249027:15166,15250331:15167,15304120:15168,15312016:15169,15111852:15170,15112875:15171,15117963:15172,14990229:15173,14990228:15174,14990522:15175,14990783:15176,15042746:15177,15044536:15178,15044530:15179,15046563:15180,15047579:15181,15049643:15182,15050635:15183,15050633:15184,15050687:15185,15052176:15186,15053197:15187,15054978:15188,15055019:15189,15056791:15190,15106205:15191,15109255:15192,15111343:15193,15052188:15194,15111855:15195,15111869:15196,15112104:15197,15113885:15198,15117730:15199,15117755:15200,15118479:15201,15175045:15202,15181193:15203,15181697:15204,15184824:15205,15185049:15206,15185067:15207,15237794:15208,15238274:15209,15239091:15210,15246998:15211,15247774:15212,15247785:15213,15247782:15214,15248012:15215,15248302:15216,15250311:15217,15250332:15218,15309708:15219,15311804:15220,15117743:15221,14989963:15222,14990524:15223,14990989:15224,15041936:15225,15052183:15226,15052730:15227,15107464:15228,15109249:15229,15112578:15230,15117473:15393,15121291:15394,15119035:15395,15173822:15396,15176381:15397,15177620:15398,15180673:15399,15180986:15400,15237260:15401,15237299:15402,15239082:15403,15241876:15404,15253150:15405,15118736:15406,15317439:15407,15056015:15408,15248792:15409,15316139:15410,15182778:15411,15252408:15412,15052429:15413,15309739:15414,14989443:15415,15044529:15416,15048631:15417,15049905:15418,15051657:15419,15052452:15420,15106697:15421,15120831:15422,15121542:15423,15177406:15424,15250346:15425,15052447:15426,15242368:15427,15183776:15428,15040946:15429,15114164:15430,15239837:15431,15053217:15432,15242634:15433,15186078:15434,15239310:15435,15042201:15436,15052932:15437,15109544:15438,15250854:15439,15111836:15440,15173038:15441,15180990:15442,15185047:15443,15237253:15444,15248541:15445,15252362:15446,15303086:15447,15244167:15448,15303338:15449,15040671:15450,15043514:15451,15052986:15452,15113619:15453,15172028:15454,15173813:15455,15304076:15456,15304584:15457,15305899:15458,15240101:15459,15052674:15460,15056049:15461,15107001:15462,14989499:15463,15044502:15464,15052424:15465,15108491:15466,15113393:15467,15117962:15468,15174569:15469,15175584:15470,15181998:15471,15238571:15472,15251107:15473,15304082:15474,15312534:15475,15041682:15476,15044503:15477,15045034:15478,15052735:15479,15109768:15480,15116473:15481,15185580:15482,15309952:15483,15047578:15484,15044494:15485,15045032:15486,15052439:15649,15052977:15650,15054750:15651,14991278:15652,15107201:15653,15109054:15654,15119538:15655,15181696:15656,15181707:15657,15185282:15658,15186317:15659,15187858:15660,15239085:15661,15239327:15662,15241872:15663,15245702:15664,15246770:15665,15249040:15666,15251892:15667,15252655:15668,15302833:15669,15304075:15670,15304108:15671,15309702:15672,15304348:15673,14990208:15674,14990735:15675,15041925:15676,15043969:15677,15056531:15678,15108238:15679,15114132:15680,15118721:15681,15120523:15682,15175075:15683,15186086:15684,15304589:15685,15305347:15686,15044500:15687,15049881:15688,15052479:15689,15120273:15690,15181213:15691,15186094:15692,15184539:15693,15049150:15694,15173279:15695,15042490:15696,15245715:15697,15253424:15698,14991242:15699,15053755:15700,15112357:15701,15179436:15702,15182755:15703,15239324:15704,15312831:15705,15042438:15706,15056554:15707,15112108:15708,15115695:15709,15117961:15710,15120307:15711,15121046:15712,15121828:15713,15178686:15714,15185044:15715,15054753:15716,15303093:15717,15304327:15718,15310982:15719,15042470:15720,15042717:15721,15108480:15722,15112849:15723,15113113:15724,15120538:15725,15055542:15726,15185810:15727,15187378:15728,15113144:15729,15242927:15730,15243191:15731,15248312:15732,15043241:15733,15044505:15734,15050163:15735,15055503:15736,15056528:15737,15106453:15738,15305636:15739,15309220:15740,15041207:15741,15041695:15742,15043485:15905,15043744:15906,15043975:15907,15044524:15908,15045544:15909,15046022:15910,15045809:15911,15046807:15912,15050152:15913,15050430:15914,15050940:15915,15052469:15916,15052934:15917,15052943:15918,15052945:15919,15052954:15920,15055492:15921,15055498:15922,15055776:15923,15056304:15924,15108543:15925,15108740:15926,15109019:15927,15109772:15928,15109559:15929,15112327:15930,15112332:15931,15112365:15932,15112630:15933,15113662:15934,15114914:15935,15116447:15936,15116469:15937,15119036:15938,15120008:15939,15120521:15940,15120792:15941,15172796:15942,15172774:15943,15173031:15944,15177607:15945,15178881:15946,15180189:15947,15180929:15948,15181221:15949,15181744:15950,15182752:15951,15182993:15952,15184551:15953,15185081:15954,15237782:15955,15241110:15956,15241867:15957,15242633:15958,15245725:15959,15246259:15960,15247519:15961,15247548:15962,15247764:15963,15247795:15964,15249825:15965,15250334:15966,15304356:15967,15305126:15968,15306174:15969,15306904:15970,15309468:15971,15310488:15972,14989450:15973,14989448:15974,14989470:15975,14989719:15976,15042199:15977,15042992:15978,15048590:15979,15048884:15980,15049612:15981,15051938:15982,15055032:15983,15106949:15984,15111102:15985,15113633:15986,15113622:15987,15119748:15988,15174326:15989,15177139:15990,15182243:15991,15241912:15992,15248818:15993,15304376:15994,15305888:15995,15046833:15996,15048628:15997,15311806:15998,15109037:16161,15115405:16162,15117974:16163,15173549:16164,15186324:16165,15237559:16166,15239602:16167,15247270:16168,15311775:16169,15244693:16170,15253169:16171,15052987:16172,14990520:16173,14991265:16174,14991029:16175,15045767:16176,15050912:16177,15052701:16178,15052713:16179,15056771:16180,15107470:16181,15109295:16182,15111856:16183,15112587:16184,15115182:16185,15115931:16186,15119800:16187,15120305:16188,15176883:16189,15177401:16190,15178911:16191,15181214:16192,15181734:16193,15185075:16194,15239075:16195,15239855:16196,15242922:16197,15247018:16198,15247546:16199,15252139:16200,15253147:16201,15302834:16202,15304605:16203,15309959:16204,14990010:16205,14990209:16206,15042691:16207,15049141:16208,15049644:16209,15052939:16210,15176858:16211,15052989:16212,15238542:16213,15247498:16214,15253381:16215,15309219:16216,15310253:16217,15183013:16218,15248271:16219,15310984:16220,15304098:16221,15047603:16222,15044264:16223,15302807:16224,15044793:16225,15048322:16226,15055013:16227,15109800:16228,15118516:16229,15172234:16230,15179169:16231,15184523:16232,15187872:16233,15245744:16234,15303042:16235,15304084:16236,15305872:16237,15305880:16238,15309455:16239,15176094:16240,15313796:16241,15053959:16242,15054249:16243,15111600:16244,15113890:16245,15251112:16246,15309723:16247,15109550:16248,15113609:16249,15115417:16250,15241093:16251,15310999:16252,15309696:16253,15246270:16254,15122052:16417,15110586:16418,15052728:16419,14989462:16420,15171756:16421,15177117:16422,15112367:16423,15042436:16424,15042742:16425,15043490:16426,15050643:16427,15056513:16428,15106215:16429,15108240:16430,15111359:16431,15111604:16432,15112351:16433,15112628:16434,15115186:16435,15114390:16436,15117731:16437,15120517:16438,15174066:16439,15176863:16440,15178651:16441,15184574:16442,15237526:16443,15049648:16444,15246269:16445,15246783:16446,15248032:16447,15248019:16448,15248267:16449,15302813:16450,15304338:16451,15310226:16452,15310233:16453,15111817:16454,15181966:16455,15238278:16456,15309499:16457,15055021:16458,15106972:16459,15108250:16460,15111845:16461,15112340:16462,15113872:16463,15179699:16464,15182221:16465,15184269:16466,15186110:16467,15238282:16468,15250092:16469,15250852:16470,15251361:16471,15251871:16472,15180457:16473,15042695:16474,15109017:16475,15109797:16476,15110530:16477,15108760:16478,15247533:16479,15182467:16480,15183744:16481,15248044:16482,15309738:16483,15185334:16484,15239308:16485,15244681:16486,14990233:16487,15041928:16488,15043971:16489,15044e3:16490,15052451:16491,15052930:16492,15052950:16493,15054749:16494,15108262:16495,15108487:16496,15110832:16497,15114387:16498,15114420:16499,15119241:16500,15119749:16501,15119511:16502,15114131:16503,15121820:16504,15173006:16505,15173053:16506,15112075:16507,15182271:16508,15183533:16509,15185818:16510,15186314:16673,15187624:16674,15238586:16675,15239323:16676,15239353:16677,15242918:16678,15247790:16679,15250318:16680,15251381:16681,15303096:16682,15303095:16683,15305389:16684,15305361:16685,15308419:16686,15314606:16687,15042957:16688,15046276:16689,15121592:16690,15172790:16691,15041960:16692,15181445:16693,15186325:16694,15238835:16695,15184782:16696,15047052:16697,15049105:16698,15053480:16699,15109802:16700,15113150:16701,15113149:16702,15115674:16703,15174553:16704,15177359:16705,15177358:16706,15180942:16707,15181206:16708,15181727:16709,15184535:16710,15185056:16711,15185284:16712,15243399:16713,15247540:16714,15308987:16715,15303073:16716,15318176:16717,15041447:16718,15042997:16719,15044492:16720,15044514:16721,15040649:16722,15046314:16723,15049646:16724,15050127:16725,15173821:16726,15052427:16727,15053220:16728,15043741:16729,15106979:16730,15106995:16731,15109532:16732,15109763:16733,15109311:16734,15109819:16735,15111053:16736,15112105:16737,15113145:16738,15054755:16739,15116173:16740,15116221:16741,15121557:16742,15173541:16743,14989961:16744,15177641:16745,15178680:16746,15182483:16747,15184799:16748,15185807:16749,15185564:16750,15237537:16751,15240585:16752,15240600:16753,15241644:16754,15241916:16755,15243195:16756,15246213:16757,15250864:16758,15302785:16759,15303085:16760,15306391:16761,15309980:16762,15313042:16763,15041423:16764,15049367:16765,15107726:16766,15239059:16929,15242421:16930,15250568:16931,15302816:16932,14991235:16933,15040948:16934,15042951:16935,15044019:16936,15106479:16937,15109513:16938,15113631:16939,15120556:16940,15251123:16941,15302815:16942,14991255:16943,15053214:16944,15250314:16945,15112079:16946,15185562:16947,15043986:16948,15245974:16949,15041974:16950,15110019:16951,15052184:16952,15052203:16953,15052938:16954,15110285:16955,15113617:16956,15303068:16957,14990230:16958,15049882:16959,15049898:16960,15118768:16961,15247761:16962,15045822:16963,15048853:16964,15050405:16965,15106992:16966,15108499:16967,15114113:16968,15239349:16969,15115669:16970,15309184:16971,15312772:16972,15313064:16973,14990739:16974,15048838:16975,15052734:16976,15237264:16977,15053489:16978,15055023:16979,15056517:16980,15106208:16981,15107467:16982,15108276:16983,15113151:16984,15119280:16985,15121310:16986,15238030:16987,15238591:16988,15240084:16989,15245963:16990,15250104:16991,15302784:16992,15302830:16993,15309450:16994,15317915:16995,15314843:16996,14990243:16997,15044528:16998,15049895:16999,15183020:17e3,15304333:17001,15311244:17002,15316921:17003,15121309:17004,15171751:17005,15043987:17006,15046020:17007,15052421:17008,15108504:17009,15108766:17010,15109011:17011,15119010:17012,15122351:17013,15175842:17014,15247511:17015,15306936:17016,15122305:17017,15248318:17018,15240376:17019,15042471:17020,15244216:17021,15044522:17022,15044521:17185,14990726:17186,15303060:17187,15253168:17188,15050154:17189,15238321:17190,15054781:17191,15182762:17192,15253183:17193,15115162:17194,15249591:17195,15174584:17196,15315336:17197,15116477:17198,15248048:17199,14989497:17200,15043992:17201,15046790:17202,15048102:17203,15108997:17204,15109794:17205,15112102:17206,15117710:17207,15120289:17208,15120795:17209,15172269:17210,15179693:17211,15182767:17212,15183530:17213,15185595:17214,15237309:17215,15238022:17216,15244171:17217,15248021:17218,15306139:17219,15047587:17220,15049607:17221,15056062:17222,15111853:17223,15112854:17224,15116928:17225,15118005:17226,15176887:17227,15248263:17228,15040676:17229,15179685:17230,15047856:17231,15056027:17232,15106469:17233,15112634:17234,15118752:17235,15177652:17236,15181978:17237,15187374:17238,15239092:17239,15244440:17240,15303045:17241,15312563:17242,15183753:17243,15177116:17244,15182777:17245,15183249:17246,15242116:17247,15302800:17248,15181737:17249,15182482:17250,15240374:17251,15051681:17252,15179136:17253,14989485:17254,14990258:17255,15052441:17256,15056800:17257,15108797:17258,15112380:17259,15114161:17260,15119272:17261,15243691:17262,15245751:17263,15247547:17264,15304078:17265,15305651:17266,15312784:17267,15116439:17268,15171750:17269,15174826:17270,15240103:17271,15241623:17272,15250095:17273,14989441:17274,15041926:17275,15042443:17276,15046283:17277,15052725:17278,15054998:17441,15055027:17442,15055489:17443,15056020:17444,15056053:17445,15056299:17446,15056564:17447,15108018:17448,15109265:17449,15112866:17450,15113373:17451,15121838:17452,15174034:17453,15176890:17454,15178938:17455,15237556:17456,15238329:17457,15238584:17458,15244726:17459,15248063:17460,15248284:17461,15251077:17462,15251379:17463,15305370:17464,15308215:17465,15310978:17466,15315877:17467,15043461:17468,15109527:17469,15178676:17470,15113365:17471,15118984:17472,15175565:17473,15250307:17474,15306414:17475,15309235:17476,15119525:17477,15049372:17478,15115406:17479,15116172:17480,15253437:17481,15306394:17482,15177627:17483,15302810:17484,15049114:17485,15114370:17486,15109812:17487,15116219:17488,14990723:17489,15121580:17490,15114136:17491,15253179:17492,15242406:17493,15185588:17494,15306132:17495,15115455:17496,15121840:17497,15048106:17498,15049655:17499,15051948:17500,15185068:17501,15173802:17502,15044746:17503,15304611:17504,15316660:17505,14989997:17506,14990734:17507,15040924:17508,15040949:17509,15042947:17510,15250078:17511,15045e3:17512,15048868:17513,15052442:17514,15055005:17515,15055509:17516,15055533:17517,15055799:17518,15056031:17519,15106700:17520,15108789:17521,15109306:17522,15110032:17523,15114927:17524,15118720:17525,15180423:17526,15181454:17527,15181963:17528,15185824:17529,15239559:17530,15247490:17531,15248294:17532,15251844:17533,15302803:17534,15303352:17697,15303853:17698,15304600:17699,15318158:17700,15119269:17701,15110552:17702,15111074:17703,15111605:17704,15121332:17705,15178372:17706,15183003:17707,15303081:17708,15306641:17709,15121082:17710,15045554:17711,15056569:17712,15110820:17713,15252877:17714,15253421:17715,15305092:17716,15041976:17717,15049131:17718,15049897:17719,15053205:17720,15055511:17721,15120315:17722,15186575:17723,15176860:17724,15250108:17725,15252386:17726,15311259:17727,15172281:17728,14990493:17729,15118015:17730,15122097:17731,15176880:17732,15309755:17733,15041934:17734,15044752:17735,15048885:17736,15049111:17737,15050412:17738,15053216:17739,15056530:17740,15111831:17741,15113628:17742,15120545:17743,15178171:17744,15241119:17745,15250349:17746,15302804:17747,15303613:17748,15306125:17749,15179941:17750,15179962:17751,15043242:17752,15055526:17753,15047839:17754,15050164:17755,15106194:17756,15040658:17757,15041946:17758,15042220:17759,15042445:17760,15042688:17761,15045776:17762,15049108:17763,15049112:17764,15050135:17765,15052437:17766,15053750:17767,15054475:17768,15106748:17769,15108757:17770,15110317:17771,15113649:17772,15114627:17773,15114940:17774,15115167:17775,15178647:17776,15120280:17777,15120815:17778,15120027:17779,15172015:17780,15173512:17781,15056275:17782,15177624:17783,15181239:17784,15183241:17785,15183252:17786,15183250:17787,15184790:17788,15185329:17789,15042736:17790,15241635:17953,15242665:17954,15243172:17955,15247502:17956,15248516:17957,15249798:17958,15251599:17959,15302787:17960,15302799:17961,15306905:17962,15309238:17963,15311021:17964,15313072:17965,15308696:17966,15041421:17967,15043477:17968,15044748:17969,15048834:17970,15052942:17971,15107751:17972,15110814:17973,15119518:17974,15179443:17975,15182757:17976,15238068:17977,15241348:17978,15303059:17979,15305349:17980,15053728:17981,15316103:17982,15043775:17983,15056535:17984,15056563:17985,15120028:17986,15174073:17987,15179171:17988,15181503:17989,15183780:17990,15118226:17991,15174572:17992,15248045:17993,15114371:17994,15116705:17995,15042488:17996,15182465:17997,15115444:17998,15053194:17999,15315894:18e3,15240107:18001,15052677:18002,15304073:18003,15171742:18004,15047096:18005,15053231:18006,15106951:18007,15111590:18008,15118988:18009,15249818:18010,15303041:18011,15310995:18012,15045009:18013,15113095:18014,15304845:18015,15050120:18016,15303331:18017,15042181:18018,14989709:18019,15042474:18020,15242905:18021,15248526:18022,15171992:18023,15109562:18024,15306123:18025,15115682:18026,15312564:18027,15186052:18028,15177143:18029,15043991:18030,15115680:18031,15252383:18032,15309731:18033,15118749:18034,14989964:18035,15052988:18036,15056016:18037,15253417:18038,15043714:18039,15250321:18040,15237769:18041,15243705:18042,15055807:18043,15112101:18044,14989747:18045,15041957:18046,15050370:18209,15052991:18210,15310766:18211,14990267:18212,15050378:18213,15056781:18214,15248013:18215,15122337:18216,15181488:18217,15181218:18218,15052711:18219,15241649:18220,15174827:18221,15173297:18222,15055284:18223,15056821:18224,15109563:18225,15110810:18226,15173507:18227,15184536:18228,14989699:18229,15055804:18230,14989707:18231,15048604:18232,15047330:18233,15106729:18234,15122307:18235,15185037:18236,15238077:18237,15238323:18238,15238847:18239,15253170:18240,15246999:18241,15243940:18242,15054772:18243,15108746:18244,15110829:18245,15246983:18246,15113655:18247,15119266:18248,15119550:18249,15175862:18250,15179956:18251,15051142:18252,15187381:18253,15239853:18254,15312556:18255,14991283:18256,15055747:18257,15109021:18258,15109778:18259,15111575:18260,15113647:18261,15178627:18262,15174028:18263,15238028:18264,15237818:18265,15252649:18266,15304077:18267,15040653:18268,15048633:18269,15051410:18270,15114885:18271,15115699:18272,15173028:18273,15174589:18274,15250103:18275,15049650:18276,15250336:18277,15309226:18278,15302809:18279,15244735:18280,15181732:18281,15179687:18282,15241385:18283,14990511:18284,15042981:18285,15043994:18286,15109005:18287,15114127:18288,15119242:18289,15178173:18290,15183508:18291,15184533:18292,15239350:18293,15242884:18294,15253419:18295,15113117:18296,15121568:18297,15173766:18298,15186075:18299,15240875:18300,15312769:18301,15317670:18302,15042493:18465,15183537:18466,15180210:18467,15183544:18468,15237767:18469,15183240:18470,15117224:18471,15055265:18472,15237772:18473,15177105:18474,15177120:18475,15041963:18476,15305122:18477,15121036:18478,15178170:18479,15304343:18480,15313834:18481,14990480:18482,15187376:18483,15108764:18484,15183247:18485,15308453:18486,15315881:18487,15047098:18488,15049113:18489,15244196:18490,15309500:18491,14990516:18492,15042724:18493,15043978:18494,15044493:18495,15044507:18496,15054982:18497,15110316:18498,15111825:18499,15113663:18500,15118526:18501,15118734:18502,15174024:18503,15174319:18504,15175597:18505,15177108:18506,15186305:18507,15239340:18508,15243177:18509,15250089:18510,15183748:18511,15304582:18512,15173033:18513,15310994:18514,15311791:18515,15109309:18516,15112617:18517,15177130:18518,15178660:18519,15180688:18520,15242627:18521,15244206:18522,15043754:18523,15043985:18524,15044774:18525,15050371:18526,15055495:18527,15056316:18528,15106738:18529,15108489:18530,15108537:18531,15108779:18532,15111824:18533,15118228:18534,15119244:18535,15177394:18536,15178414:18537,15180433:18538,15181720:18539,15185803:18540,15187383:18541,15237797:18542,15245995:18543,15248057:18544,15250107:18545,15303103:18546,15310238:18547,15311771:18548,15116427:18549,15184056:18550,15041177:18551,15052990:18552,15056558:18553,15113863:18554,15118232:18555,15175861:18556,15178889:18557,15187598:18558,15318203:18721,15114122:18722,15181975:18723,15043769:18724,15177355:18725,15313837:18726,15056294:18727,15238813:18728,15241137:18729,15237784:18730,15056060:18731,15056773:18732,15177122:18733,15183238:18734,15302844:18735,15114663:18736,15050667:18737,15051419:18738,15185040:18739,15178174:18740,15248556:18741,14991285:18742,15056298:18743,15116441:18744,15118519:18745,15121538:18746,15176610:18747,15181224:18748,15245736:18749,15247765:18750,15249849:18751,15055775:18752,15110031:18753,15177605:18754,15181714:18755,15240087:18756,15305896:18757,15305650:18758,15241884:18759,15244205:18760,15315117:18761,15045505:18762,15056300:18763,15111820:18764,15119772:18765,15171733:18766,15250087:18767,15250323:18768,15311035:18769,15111567:18770,15176630:18771,14989453:18772,14990232:18773,15048608:18774,15049899:18775,15051174:18776,15052684:18777,15042216:18778,15054979:18779,15055516:18780,15106198:18781,15108534:18782,15111607:18783,15111847:18784,15112622:18785,15119790:18786,15173814:18787,15183014:18788,15238544:18789,15238810:18790,15239833:18791,15248796:18792,15250080:18793,15250342:18794,15250868:18795,15308956:18796,15309188:18797,14991022:18798,15110827:18799,15117734:18800,15239326:18801,15241633:18802,15242666:18803,15303592:18804,15052929:18805,15115667:18806,15311528:18807,15241658:18808,15242647:18809,14990479:18810,15042991:18811,15056553:18812,15055237:18813,15113357:18814,15181455:18977,15238585:18978,15246471:18979,15246982:18980,15120309:18981,15056023:18982,15108501:18983,15119032:18984,14990223:18985,15174057:18986,15314578:18987,15042694:18988,15044795:18989,15047092:18990,15049395:18991,15107748:18992,15108526:18993,15172762:18994,15050158:18995,15184521:18996,15184798:18997,15185051:18998,15309744:18999,15111815:19e3,15237534:19001,14989465:19002,14990773:19003,15041973:19004,15049088:19005,15055267:19006,15055283:19007,15056010:19008,15114116:19009,14989478:19010,15242429:19011,15308425:19012,15309211:19013,15184307:19014,15310977:19015,15041467:19016,15049601:19017,15178134:19018,15180455:19019,15042725:19020,15179429:19021,15242385:19022,15183494:19023,15040911:19024,15049865:19025,15174023:19026,15183751:19027,15185832:19028,15253178:19029,15253396:19030,15303053:19031,14991039:19032,15043465:19033,15050921:19034,15056001:19035,15310509:19036,14991261:19037,15239319:19038,15305642:19039,15047811:19040,15109525:19041,15117737:19042,15176875:19043,15246236:19044,15252628:19045,15182210:19046,15043487:19047,15049363:19048,15107477:19049,15108234:19050,15112878:19051,15118221:19052,15184063:19053,15241129:19054,15040675:19055,14991288:19056,15043717:19057,15044998:19058,15048881:19059,15050121:19060,15052445:19061,15053744:19062,15053743:19063,15053993:19064,15055510:19065,15108785:19066,15109543:19067,15111358:19068,15111865:19069,15113355:19070,15119253:19233,15119265:19234,15172537:19235,15179954:19236,15186091:19237,15238046:19238,15239859:19239,15241356:19240,15242156:19241,15244418:19242,15246482:19243,15247530:19244,15249802:19245,15303334:19246,15305618:19247,15311805:19248,15315891:19249,15316396:19250,14989711:19251,14989985:19252,15041165:19253,15042966:19254,15048074:19255,15050408:19256,15055037:19257,15056792:19258,15056793:19259,15108287:19260,15112884:19261,15113371:19262,15114128:19263,15115154:19264,15042194:19265,15185057:19266,15237802:19267,15238824:19268,15248512:19269,15250060:19270,15250111:19271,15305150:19272,15308978:19273,15044768:19274,15311020:19275,15043735:19276,15041429:19277,15043996:19278,15049384:19279,15110834:19280,15113396:19281,15174055:19282,15179174:19283,15182214:19284,15304614:19285,15043459:19286,15119009:19287,15117958:19288,15048832:19289,15055244:19290,15050132:19291,15113388:19292,15187899:19293,15042465:19294,15178630:19295,15110569:19296,15180712:19297,15314324:19298,15317691:19299,15048587:19300,15050425:19301,15112359:19302,15113882:19303,15118222:19304,15045545:19305,15116185:19306,15055253:19307,15238812:19308,15113877:19309,15314602:19310,15114174:19311,15315346:19312,15114653:19313,14989990:19314,14991267:19315,15044488:19316,15108793:19317,15113387:19318,15119019:19319,15253380:19320,14991021:19321,15186349:19322,15317695:19323,14989447:19324,15107490:19325,15121024:19326,15121579:19489,15242387:19490,15045043:19491,15113386:19492,15314309:19493,15054771:19494,15183509:19495,15053484:19496,15052678:19497,15244444:19498,15120778:19499,15242129:19500,15181972:19501,15238280:19502,15050393:19503,15184525:19504,15118481:19505,15178912:19506,15043481:19507,15049890:19508,15172769:19509,15174047:19510,15179675:19511,15309991:19512,15316385:19513,15115403:19514,15051199:19515,15050904:19516,15042213:19517,15044749:19518,15045053:19519,15112334:19520,15178655:19521,15253431:19522,15305368:19523,15315892:19524,15050666:19525,15174045:19526,15121285:19527,15041933:19528,15115145:19529,15185599:19530,15185836:19531,15310242:19532,15317690:19533,15110584:19534,15116449:19535,15240322:19536,15050372:19537,15052191:19538,15118235:19539,15174811:19540,15178674:19541,15185586:19542,15237271:19543,15241881:19544,15041714:19545,15113384:19546,15317913:19547,15178670:19548,15113634:19549,15043519:19550,15312005:19551,15052964:19552,15108283:19553,15184318:19554,15250096:19555,15046031:19556,15106742:19557,15185035:19558,15308416:19559,15043713:19560,14989727:19561,15042230:19562,15049884:19563,15173818:19564,15237302:19565,15304590:19566,15056037:19567,15179682:19568,15044228:19569,15056313:19570,15185028:19571,15242924:19572,15247539:19573,15252109:19574,15310230:19575,15114163:19576,15242926:19577,15307155:19578,15107209:19579,15107208:19580,15119033:19581,15178130:19582,15248301:19745,15252664:19746,15045807:19747,14990737:19748,15041706:19749,15043463:19750,15044491:19751,15052453:19752,15055293:19753,15106720:19754,15107714:19755,15110038:19756,15113353:19757,15114138:19758,15120807:19759,15120012:19760,15174838:19761,15174839:19762,15176881:19763,15181200:19764,15246229:19765,15248024:19766,15303050:19767,15303313:19768,15303605:19769,15309700:19770,15244941:19771,15049877:19772,14989960:19773,14990745:19774,14989454:19775,15248009:19776,15252671:19777,15310992:19778,15041197:19779,15055292:19780,15050390:19781,15052473:19782,15055544:19783,15110042:19784,15110074:19785,15111041:19786,15113116:19787,15115658:19788,15116184:19789,15119499:19790,15121078:19791,15173268:19792,15176872:19793,15182511:19794,15187594:19795,15237248:19796,15241609:19797,15242121:19798,15246977:19799,15248545:19800,15251594:19801,15303077:19802,15309245:19803,15312010:19804,15107518:19805,15108753:19806,15117490:19807,15118979:19808,15119796:19809,15187852:19810,15187900:19811,15120256:19812,15187589:19813,15244986:19814,15246264:19815,15113637:19816,15240881:19817,15311036:19818,15309751:19819,15119515:19820,15185313:19821,15241405:19822,15304106:19823,14989745:19824,15044021:19825,15054224:19826,15117444:19827,15122347:19828,15243149:19829,15243437:19830,15247015:19831,15042729:19832,15044751:19833,15053221:19834,15113614:19835,15114920:19836,15175814:19837,15176323:19838,15177634:20001,15246223:20002,15246241:20003,15304588:20004,15309730:20005,15309240:20006,15056523:20007,15175303:20008,15182731:20009,15241614:20010,15109792:20011,15177125:20012,15043209:20013,15119745:20014,15121052:20015,15175817:20016,15177113:20017,15180203:20018,15184530:20019,15309446:20020,15182748:20021,15318669:20022,14991030:20023,15107502:20024,15112069:20025,15243676:20026,14989958:20027,14989998:20028,15041434:20029,14989473:20030,15042444:20031,15052718:20032,15111833:20033,15114881:20034,15120060:20035,15174815:20036,15178114:20037,15179437:20038,15181980:20039,15184807:20040,15239599:20041,15248274:20042,15303100:20043,15304591:20044,15309237:20045,15311e3:20046,15043227:20047,15185809:20048,15040683:20049,15044248:20050,15113879:20051,15120267:20052,15173520:20053,15175859:20054,15239080:20055,15252650:20056,15309475:20057,15315351:20058,15317663:20059,15176096:20060,15049089:20061,15120025:20062,15185071:20063,15311262:20064,14990244:20065,14990518:20066,14990987:20067,15042231:20068,15043249:20069,15054522:20070,15106204:20071,15175346:20072,15180988:20073,15240083:20074,15304884:20075,15309495:20076,15309750:20077,15309962:20078,15317655:20079,15318434:20080,15112870:20081,15117748:20082,15042711:20083,15043235:20084,15172488:20085,15246210:20086,15055753:20087,15106443:20088,15107728:20089,15121571:20090,15173001:20091,15184062:20092,15185844:20093,15237551:20094,15242158:20257,15302819:20258,15305900:20259,15044994:20260,15314351:20261,15117203:20262,15172233:20263,15250306:20264,15251375:20265,15310002:20266,15043252:20267,15051137:20268,15055754:20269,15056004:20270,15113367:20271,15115708:20272,15115924:20273,15119786:20274,15121551:20275,15174050:20276,15174588:20277,15183789:20278,15237249:20279,15237566:20280,15244683:20281,15303566:20282,15041965:20283,15317651:20284,15181444:20285,15237771:20286,15305906:20287,15248278:20288,15040685:20289,15045260:20290,15247793:20291,15117738:20292,15250308:20293,15238279:20294,15106961:20295,15113888:20296,15316914:20297,14989977:20298,14989976:20299,15315088:20300,15247787:20301,15243137:20302,15242664:20303,15115392:20304,15120830:20305,15180439:20306,15238549:20307,15056012:20513,14989456:20514,14989461:20515,14989482:20516,14989489:20517,14989494:20518,14989500:20519,14989503:20520,14989698:20521,14989718:20522,14989720:20523,14989954:20524,14989957:20525,15249835:20526,14989962:20527,15239314:20528,15056013:20529,14989966:20530,14989982:20531,14989983:20532,14989984:20533,14989986:20534,1499e4:20535,14990003:20536,14990006:20537,14990222:20538,14990221:20539,14990212:20540,14990214:20541,14990210:20542,14990231:20543,14990238:20544,14990253:20545,14990239:20546,14990263:20547,14990473:20548,14990746:20549,14990512:20550,14990747:20551,14990749:20552,14990743:20553,14990727:20554,14990774:20555,14990984:20556,14990991:20557,14991e3:20558,14990779:20559,14990761:20560,14990768:20561,14990993:20562,14990767:20563,14990982:20564,14990998:20565,15041688:20566,14991252:20567,14991263:20568,14991246:20569,14991256:20570,14991259:20571,14991249:20572,14991258:20573,14991248:20574,14991268:20575,14991269:20576,15040666:20577,15040680:20578,15040660:20579,15040682:20580,15040677:20581,15040645:20582,14990492:20583,14991286:20584,15040673:20585,15040681:20586,15040684:20587,14991294:20588,14991279:20589,15040657:20590,15040646:20591,15040899:20592,15040903:20593,15113347:20594,15040917:20595,15040912:20596,15040904:20597,15040922:20598,15040918:20599,15040940:20600,15040952:20601,15041152:20602,15041178:20603,15041157:20604,15041204:20605,15041202:20606,15041417:20769,15041418:20770,15041203:20771,15041410:20772,15041430:20773,15041438:20774,15041445:20775,15041453:20776,15041443:20777,15041454:20778,15041465:20779,15041461:20780,15041673:20781,15041665:20782,15041666:20783,15041686:20784,15041685:20785,15041684:20786,15041690:20787,15041697:20788,15041722:20789,15041719:20790,15041724:20791,15041723:20792,15041727:20793,15041920:20794,15041938:20795,15041932:20796,15041940:20797,15041954:20798,15182776:20799,15041961:20800,15041962:20801,15041966:20802,15042176:20803,15042178:20804,15047576:20805,15042188:20806,15042185:20807,15042191:20808,15042193:20809,15042195:20810,15042197:20811,15042198:20812,15042212:20813,15042214:20814,15042210:20815,15042217:20816,15042218:20817,15042219:20818,15042227:20819,15042225:20820,15042226:20821,15042224:20822,15042229:20823,15042237:20824,15042437:20825,15042441:20826,15042459:20827,15042464:20828,15243669:20829,15042473:20830,15042477:20831,15042480:20832,15042485:20833,15042494:20834,15042692:20835,15042699:20836,15042708:20837,15042702:20838,15042727:20839,15042730:20840,15042734:20841,15042739:20842,15042745:20843,15042959:20844,15042948:20845,15042955:20846,15042956:20847,15042974:20848,15042964:20849,15042986:20850,15042996:20851,15042985:20852,15042995:20853,15043007:20854,15043005:20855,15043213:20856,15043220:20857,15043218:20858,15042993:20859,15043208:20860,15043217:20861,15253160:20862,15253159:21025,15043244:21026,15043245:21027,15043260:21028,15043253:21029,15043457:21030,15043469:21031,15043479:21032,15043486:21033,15043491:21034,15043494:21035,15311789:21036,15043488:21037,15043507:21038,15043509:21039,15043512:21040,15043513:21041,15043718:21042,15043720:21043,15176888:21044,15043725:21045,15043728:21046,15043727:21047,15043733:21048,15043738:21049,15043747:21050,15043759:21051,15043761:21052,15043763:21053,15043768:21054,15043968:21055,15043974:21056,15043973:21057,14989463:21058,15043977:21059,15043981:21060,15042454:21061,15043998:21062,15044009:21063,15044014:21064,15049880:21065,15044027:21066,15044023:21067,15044226:21068,15044246:21069,15044256:21070,15044262:21071,15044261:21072,15044270:21073,15044272:21074,15044278:21075,15044483:21076,15184018:21077,15309721:21078,15044511:21079,15113148:21080,15173550:21081,15044526:21082,15044520:21083,15044525:21084,15044538:21085,15044737:21086,15044797:21087,15044992:21088,15044780:21089,15044781:21090,15044796:21091,15044782:21092,15044790:21093,15044777:21094,15044765:21095,15045006:21096,15045263:21097,15045045:21098,15045262:21099,15045023:21100,15045041:21101,15045047:21102,15045040:21103,15045266:21104,15045051:21105,15045248:21106,15045046:21107,15045252:21108,15045264:21109,15045254:21110,15045511:21111,15045282:21112,15045304:21113,15045285:21114,15045292:21115,15045508:21116,15045512:21117,15045288:21118,15045291:21281,15045506:21282,15045284:21283,15045310:21284,15045308:21285,15045528:21286,15045541:21287,15045542:21288,15045775:21289,15045780:21290,15045565:21291,15045550:21292,15045549:21293,15045562:21294,15045538:21295,15045817:21296,15046016:21297,15046051:21298,15046028:21299,15045806:21300,15046044:21301,15046021:21302,15046038:21303,15046039:21304,15045816:21305,15045811:21306,15046045:21307,15046297:21308,15046272:21309,15045295:21310,15046282:21311,15046303:21312,15046075:21313,15046078:21314,15046296:21315,15046302:21316,15046318:21317,15046076:21318,15046275:21319,15046313:21320,15046279:21321,15046312:21322,15046554:21323,15046533:21324,15046559:21325,15046532:21326,15046556:21327,15046564:21328,15046548:21329,15046804:21330,15046583:21331,15046806:21332,15046590:21333,15046589:21334,15046811:21335,15046585:21336,15047054:21337,15047056:21338,15173535:21339,15046836:21340,15046838:21341,15046834:21342,15046840:21343,15047083:21344,15047076:21345,15046831:21346,15047084:21347,15047082:21348,15047302:21349,15047296:21350,15047306:21351,15047328:21352,15047316:21353,15047311:21354,15047333:21355,15047342:21356,15047350:21357,15047348:21358,15047554:21359,15047356:21360,15047553:21361,15047555:21362,15047552:21363,15047560:21364,15047566:21365,15047569:21366,15047571:21367,15047575:21368,15047598:21369,15047609:21370,15047808:21371,15047615:21372,15047812:21373,15047817:21374,15047816:21537,15047819:21538,15047821:21539,15047827:21540,15047832:21541,15047830:21542,15046535:21543,15047836:21544,15047846:21545,15047863:21546,15047864:21547,15048078:21548,15047867:21549,15048064:21550,15048079:21551,15048105:21552,15048576:21553,15048328:21554,15048097:21555,15048127:21556,15048329:21557,15048339:21558,15048352:21559,15048371:21560,15048356:21561,15048362:21562,15048368:21563,15048579:21564,15048582:21565,15048596:21566,15048594:21567,15048595:21568,15048842:21569,15048598:21570,15048611:21571,15048843:21572,15048857:21573,15048861:21574,15049138:21575,15048865:21576,15049122:21577,15049099:21578,15049136:21579,15118208:21580,15049106:21581,15048893:21582,15049145:21583,15049349:21584,15049401:21585,15049375:21586,15049387:21587,15049402:21588,15049630:21589,15049403:21590,15049400:21591,15049390:21592,15049605:21593,15049619:21594,15049617:21595,15049623:21596,15049625:21597,15049624:21598,15049637:21599,15049628:21600,15049636:21601,15049631:21602,15049647:21603,15049658:21604,15049657:21605,15049659:21606,15049660:21607,15049661:21608,15049858:21609,15049866:21610,15049872:21611,15049883:21612,15114918:21613,15049893:21614,15049900:21615,15049901:21616,15049906:21617,15049912:21618,15049918:21619,15182738:21620,15050133:21621,15050128:21622,15050126:21623,15050138:21624,15050136:21625,15050146:21626,15050144:21627,15050151:21628,15050156:21629,15050153:21630,15050168:21793,15050369:21794,15050397:21795,14990750:21796,14991019:21797,15050403:21798,15050418:21799,15050630:21800,15050664:21801,15050652:21802,15050381:21803,15050649:21804,15050650:21805,15050917:21806,15050911:21807,15050897:21808,15050908:21809,15050889:21810,15050906:21811,15051136:21812,15051180:21813,15051145:21814,15050933:21815,15050934:21816,15051170:21817,15051178:21818,15051418:21819,15051452:21820,15051454:21821,15051659:21822,15051650:21823,15051453:21824,15051683:21825,15051671:21826,15051686:21827,15051689:21828,15051670:21829,15051706:21830,15051707:21831,15051916:21832,15051915:21833,15051926:21834,15051954:21835,15051664:21836,15051946:21837,15051958:21838,15051966:21839,15052163:21840,15052165:21841,15052160:21842,15052177:21843,15052181:21844,15052186:21845,15052187:21846,15052197:21847,15052201:21848,15052208:21849,15052211:21850,15052213:21851,15052216:21852,15111816:21853,15052218:21854,15052416:21855,15052419:21856,15052454:21857,15052472:21858,15052675:21859,15052679:21860,15052681:21861,15052692:21862,15052688:21863,15052708:21864,15052710:21865,15052706:21866,15052702:21867,15052709:21868,15052715:21869,15052720:21870,15052726:21871,15052723:21872,15052933:21873,15052935:21874,15052936:21875,15052941:21876,15052947:21877,15052960:21878,15052962:21879,15052968:21880,15052984:21881,15052985:21882,15053185:21883,15053190:21884,15053198:21885,15053203:21886,15053200:22049,15053199:22050,15052209:22051,15053228:22052,15053230:22053,14989730:22054,15053238:22055,15053241:22056,15053452:22057,15053457:22058,15053460:22059,15050395:22060,15053483:22061,15053499:22062,15053494:22063,15053500:22064,15053495:22065,15053701:22066,15053502:22067,15053703:22068,15053721:22069,15053737:22070,15053757:22071,15053754:22072,15053741:22073,15054476:22074,15053738:22075,15053963:22076,15053973:22077,15053975:22078,15054236:22079,15053983:22080,15053979:22081,15053969:22082,15053972:22083,15053986:22084,15053978:22085,15053977:22086,15053976:22087,15054220:22088,15054226:22089,15054222:22090,15054219:22091,15054252:22092,15054259:22093,15054262:22094,15054471:22095,15054468:22096,15054466:22097,15054498:22098,15054493:22099,15054508:22100,15054510:22101,15054525:22102,15054480:22103,15054519:22104,15054524:22105,15054729:22106,15054733:22107,15054739:22108,15054738:22109,15054742:22110,15054747:22111,15054763:22112,15054770:22113,15054773:22114,15054987:22115,15055002:22116,15055001:22117,15054993:22118,15055003:22119,15055030:22120,15055031:22121,15055236:22122,15055235:22123,15055232:22124,15055246:22125,15055255:22126,15055252:22127,15055263:22128,15055266:22129,15055268:22130,15055239:22131,15055285:22132,15055286:22133,15055290:22134,15317692:22135,15055295:22136,15055520:22137,15055745:22138,15055746:22139,15055752:22140,15055760:22141,15055759:22142,15055766:22305,15055779:22306,15055773:22307,15055770:22308,15055771:22309,15055778:22310,15055777:22311,15055784:22312,15055785:22313,15055788:22314,15055793:22315,15055795:22316,15055792:22317,15055796:22318,15055800:22319,15055806:22320,15056003:22321,15056009:22322,15056285:22323,15056284:22324,15056011:22325,15056017:22326,15056022:22327,15056041:22328,15056045:22329,15056056:22330,15056257:22331,15056264:22332,15056268:22333,15056270:22334,15056047:22335,15056273:22336,15056278:22337,15056279:22338,15056281:22339,15056289:22340,15056301:22341,15056307:22342,15056311:22343,15056515:22344,15056514:22345,15056319:22346,15056522:22347,15056520:22348,15056529:22349,15056519:22350,15056542:22351,15056537:22352,15056536:22353,15056544:22354,15056552:22355,15056557:22356,15056572:22357,15056790:22358,15056827:22359,15056804:22360,15056824:22361,15056817:22362,15056797:22363,15106739:22364,15056831:22365,15106209:22366,15106464:22367,15106201:22368,15106192:22369,15106217:22370,15106190:22371,15106225:22372,15106203:22373,15106197:22374,15106219:22375,15106214:22376,15106191:22377,15106234:22378,15106458:22379,15106433:22380,15106474:22381,15106487:22382,15106463:22383,15106442:22384,15106438:22385,15106445:22386,15106467:22387,15106435:22388,15106468:22389,15106434:22390,15106476:22391,15106475:22392,15106457:22393,15106689:22394,15106701:22395,15106983:22396,15106691:22397,15106714:22398,15106692:22561,15106715:22562,15106710:22563,15106711:22564,15106706:22565,15106727:22566,15106699:22567,15106977:22568,15106744:22569,15106976:22570,15106963:22571,15106740:22572,15056816:22573,15106749:22574,15106950:22575,15106741:22576,15106968:22577,15107469:22578,15107221:22579,15107206:22580,15106998:22581,15106999:22582,15107200:22583,15106996:22584,15107002:22585,15107203:22586,15107233:22587,15107003:22588,15106993:22589,15107213:22590,15107214:22591,15107463:22592,15107262:22593,15107240:22594,15107239:22595,15107466:22596,15107263:22597,15107260:22598,15107244:22599,15107252:22600,15107261:22601,15107458:22602,15107460:22603,15107507:22604,15107511:22605,15107480:22606,15107481:22607,15107482:22608,15107499:22609,15107508:22610,15107503:22611,15107493:22612,15107505:22613,15107487:22614,15107485:22615,15107475:22616,15107509:22617,15107737:22618,15107734:22619,15107719:22620,15107756:22621,15107732:22622,15107738:22623,15107722:22624,15107729:22625,15107755:22626,15107758:22627,15107980:22628,15107978:22629,15107977:22630,15108023:22631,15107976:22632,15107971:22633,15107974:22634,15107770:22635,15107979:22636,15187385:22637,15107981:22638,15108006:22639,15108003:22640,15108022:22641,15108026:22642,15108020:22643,15108031:22644,15108029:22645,15108028:22646,15108030:22647,15108224:22648,15108232:22649,15108233:22650,15108237:22651,15108236:22652,15108244:22653,15108251:22654,15108254:22817,15108257:22818,15108266:22819,15108270:22820,15108272:22821,15108274:22822,15108275:22823,15108481:22824,15108494:22825,15108510:22826,15108515:22827,15108507:22828,15108512:22829,15108520:22830,15108540:22831,15108738:22832,15108745:22833,15108542:22834,15108754:22835,15108755:22836,15108758:22837,15109012:22838,15108739:22839,15108756:22840,15109015:22841,15109009:22842,15108795:22843,15109007:22844,15109055:22845,15108998:22846,15111060:22847,15109e3:22848,15109020:22849,15109004:22850,15109002:22851,15108994:22852,15108999:22853,15108763:22854,15109001:22855,15109260:22856,15109038:22857,15109041:22858,15109287:22859,15109250:22860,15109256:22861,15109039:22862,15109045:22863,15109520:22864,15109310:22865,15109517:22866,15110300:22867,15109519:22868,15109782:22869,15109774:22870,15109760:22871,15109803:22872,15109558:22873,15109795:22874,15109775:22875,15109769:22876,15109791:22877,15109813:22878,15109547:22879,15109545:22880,15109822:22881,15110057:22882,15110016:22883,15110022:22884,15110051:22885,15110025:22886,15110034:22887,15110070:22888,15110020:22889,15110294:22890,15110324:22891,15110278:22892,15110291:22893,15110310:22894,15110326:22895,15111325:22896,15110295:22897,15110312:22898,15110287:22899,15110567:22900,15110575:22901,15110582:22902,15110542:22903,15111338:22904,15110805:22905,15110803:22906,15110821:22907,15110825:22908,15110792:22909,15110844:22910,15111066:23073,15111058:23074,15111045:23075,15111047:23076,15110843:23077,15111064:23078,15111042:23079,15111089:23080,15111079:23081,15239305:23082,15111072:23083,15111073:23084,15108780:23085,15111075:23086,15111087:23087,15111340:23088,15111094:23089,15111092:23090,15111090:23091,15111098:23092,15111296:23093,15111101:23094,15111320:23095,15111324:23096,15111301:23097,15111332:23098,15111331:23099,15111339:23100,15111348:23101,15111349:23102,15111351:23103,15111350:23104,15111352:23105,15177099:23106,15111560:23107,15111574:23108,15111573:23109,15111565:23110,15111576:23111,15111582:23112,15111581:23113,15111602:23114,15111608:23115,15111810:23116,15111811:23117,15249034:23118,15111835:23119,15111839:23120,15111851:23121,15111863:23122,15112067:23123,15112070:23124,15112065:23125,15112068:23126,15112076:23127,15112082:23128,15112091:23129,15112089:23130,15112096:23131,15112097:23132,15112113:23133,15113650:23134,15112330:23135,15112323:23136,15112123:23137,15113651:23138,15112373:23139,15112374:23140,15112372:23141,15112348:23142,15112591:23143,15112580:23144,15112585:23145,15112577:23146,15112606:23147,15112605:23148,15112612:23149,15112615:23150,15112616:23151,15112607:23152,15112610:23153,15112624:23154,15112835:23155,15112840:23156,15112846:23157,15112841:23158,15112836:23159,15112856:23160,15112861:23161,15113089:23162,15112889:23163,15113097:23164,15112894:23165,15112892:23166,15113092:23329,15112888:23330,15113110:23331,15113114:23332,15113120:23333,15112383:23334,15113126:23335,15113129:23336,15113136:23337,15113141:23338,15113143:23339,15113359:23340,15113366:23341,15113374:23342,15113382:23343,15113383:23344,15310008:23345,15113390:23346,15113407:23347,15113398:23348,15113601:23349,15113400:23350,15113399:23351,15113606:23352,15113630:23353,15113632:23354,15113625:23355,15113635:23356,15113636:23357,15113865:23358,15113648:23359,15113897:23360,15113660:23361,15113642:23362,15113868:23363,15113867:23364,15113894:23365,15113889:23366,15113861:23367,15113911:23368,15114159:23369,15113908:23370,15114156:23371,15113907:23372,15114153:23373,15113912:23374,15114148:23375,15114142:23376,15114141:23377,15114146:23378,15114158:23379,15113913:23380,15114126:23381,15114118:23382,15114151:23383,15116956:23384,15114398:23385,15114630:23386,15114409:23387,15114624:23388,15114637:23389,15114418:23390,15114638:23391,15114931:23392,15114411:23393,15114649:23394,15114659:23395,15114679:23396,15114687:23397,15114911:23398,15114895:23399,15114925:23400,15114900:23401,15114909:23402,15114907:23403,15114883:23404,15116974:23405,15114937:23406,15114676:23407,15114933:23408,15114912:23409,15114938:23410,15115407:23411,15114893:23412,15114686:23413,15115393:23414,15115146:23415,15115400:23416,15115160:23417,15115426:23418,15115430:23419,15115169:23420,15115404:23421,15115149:23422,15115156:23585,15115175:23586,15115157:23587,15115446:23588,15115410:23589,15115396:23590,15115159:23591,15115171:23592,15115429:23593,15115193:23594,15115168:23595,15115183:23596,15115432:23597,15115434:23598,15115418:23599,15115427:23600,15115425:23601,15115142:23602,15115705:23603,15115703:23604,15115676:23605,15115704:23606,15115691:23607,15115668:23608,15115710:23609,15115694:23610,15115449:23611,15115700:23612,15115453:23613,15115673:23614,15115440:23615,15115681:23616,15115678:23617,15115677:23618,15115905:23619,15115690:23620,15115954:23621,15115950:23622,15116176:23623,15115967:23624,15116161:23625,15116179:23626,15115966:23627,15116174:23628,15052712:23629,15116170:23630,15116189:23631,15115963:23632,15116163:23633,15115943:23634,15116462:23635,15115921:23636,15115936:23637,15115932:23638,15115925:23639,15115956:23640,15116190:23641,15116200:23642,15116418:23643,15116443:23644,15116223:23645,15117450:23646,15116217:23647,15116210:23648,15116199:23649,15116421:23650,15115953:23651,15116446:23652,15116205:23653,15116436:23654,15116203:23655,15116426:23656,15116434:23657,15117185:23658,15116451:23659,15116435:23660,15116676:23661,15116428:23662,15116722:23663,15116470:23664,15116728:23665,15116679:23666,15116706:23667,15116697:23668,15116710:23669,15116680:23670,15116472:23671,15116450:23672,15116944:23673,15116941:23674,15116960:23675,15116932:23676,15116962:23677,15116963:23678,15116951:23841,15243415:23842,15116987:23843,15117187:23844,15117186:23845,15116984:23846,15116979:23847,15116972:23848,15117214:23849,15117201:23850,15117215:23851,15116970:23852,15117210:23853,15117226:23854,15117243:23855,15117445:23856,15243414:23857,15117242:23858,15117458:23859,15117462:23860,15314097:23861,15117471:23862,15117496:23863,15117495:23864,15178652:23865,15117497:23866,15311790:23867,15117703:23868,15117699:23869,15117705:23870,15117712:23871,15117721:23872,15117716:23873,15117723:23874,15117727:23875,15117729:23876,15117752:23877,15117753:23878,15117759:23879,15117952:23880,15117956:23881,15117955:23882,15117965:23883,15117976:23884,15117973:23885,15117982:23886,15117988:23887,15117994:23888,15117995:23889,15117999:23890,15118002:23891,15118001:23892,15118003:23893,15118007:23894,15118012:23895,15118214:23896,15118219:23897,15118227:23898,15118239:23899,15118252:23900,15118251:23901,15118259:23902,15118255:23903,15317694:23904,15118472:23905,15118483:23906,15118484:23907,15118491:23908,15118500:23909,15118499:23910,15118750:23911,15118741:23912,15118754:23913,15118762:23914,15118978:23915,15118989:23916,15119002:23917,15118977:23918,15119003:23919,15118782:23920,15118760:23921,15118771:23922,15118994:23923,15118992:23924,15119236:23925,15119281:23926,15119251:23927,15119037:23928,15119255:23929,15119237:23930,15119261:23931,15119022:23932,15119025:23933,15119038:23934,15119034:24097,15119259:24098,15119279:24099,15119257:24100,15119274:24101,15119519:24102,15245709:24103,15119542:24104,15119531:24105,15119549:24106,15119544:24107,15119513:24108,15119541:24109,15119539:24110,15119506:24111,15119500:24112,15119779:24113,15120019:24114,15119780:24115,15119770:24116,15119801:24117,15119769:24118,15120014:24119,15120021:24120,15122340:24121,15120005:24122,15120313:24123,15120533:24124,15120522:24125,15120053:24126,15120263:24127,15120294:24128,15120056:24129,15120262:24130,15120300:24131,15120286:24132,15120268:24133,15120296:24134,15120274:24135,15120261:24136,15120314:24137,15120281:24138,15120292:24139,15120277:24140,15120298:24141,15120302:24142,15120557:24143,15120814:24144,15120558:24145,15120537:24146,15120818:24147,15120799:24148,15120574:24149,15120547:24150,15120811:24151,15120555:24152,15120822:24153,15120781:24154,15120543:24155,15120771:24156,15120570:24157,15120782:24158,15120548:24159,15121343:24160,15120541:24161,15120568:24162,15121026:24163,15121066:24164,15121048:24165,15121289:24166,15121079:24167,15121299:24168,15121085:24169,15121071:24170,15121284:24171,15121074:24172,15121300:24173,15121301:24174,15121039:24175,15121061:24176,15121282:24177,15121055:24178,15121793:24179,15121553:24180,15171980:24181,15121324:24182,15121336:24183,15121342:24184,15121599:24185,15121330:24186,15121585:24187,15121327:24188,15121586:24189,15121292:24190,15121598:24353,15121555:24354,15121335:24355,15122054:24356,15121850:24357,15121848:24358,15122049:24359,15122048:24360,15121839:24361,15121819:24362,15122355:24363,15121837:24364,15122050:24365,15121852:24366,15121816:24367,15122062:24368,15122065:24369,15122306:24370,15121830:24371,15122099:24372,15122083:24373,15122081:24374,15122084:24375,15122105:24376,15122310:24377,15122090:24378,15122335:24379,15122325:24380,15122348:24381,15122324:24382,15122328:24383,15122353:24384,15122350:24385,15122331:24386,15171721:24387,15171723:24388,15122362:24389,15171729:24390,15171713:24391,15171727:24392,15122366:24393,15171739:24394,15171738:24395,15121844:24396,15171741:24397,15171736:24398,15171743:24399,15171760:24400,15171774:24401,15171762:24402,15171985:24403,15172003:24404,15172249:24405,15172242:24406,15172271:24407,15172529:24408,15172268:24409,15172280:24410,15172275:24411,15172270:24412,15172511:24413,15172491:24414,15172509:24415,15172505:24416,15172745:24417,15172541:24418,15172764:24419,15172761:24420,15173029:24421,15173013:24422,15173256:24423,15173030:24424,15173026:24425,15173004:24426,15173014:24427,15173036:24428,15173263:24429,15173563:24430,15173252:24431,15173269:24432,15173288:24433,15173292:24434,15173527:24435,15173305:24436,15173310:24437,15173522:24438,15173513:24439,15173524:24440,15173518:24441,15173536:24442,15173548:24443,15173543:24444,15173557:24445,15173564:24446,15173561:24609,15173567:24610,15173773:24611,15173776:24612,15173787:24613,15173800:24614,15173805:24615,15173804:24616,15173808:24617,15173810:24618,15173819:24619,15173820:24620,15173823:24621,15174016:24622,15174022:24623,15174027:24624,15174040:24625,15174068:24626,15174078:24627,15174274:24628,15174273:24629,15174279:24630,15174290:24631,15174294:24632,15174306:24633,15174311:24634,15174329:24635,15174322:24636,15174531:24637,15174534:24638,15174532:24639,15174542:24640,15174546:24641,15174562:24642,15174560:24643,15174561:24644,15174585:24645,15174583:24646,15040655:24647,15174807:24648,15174794:24649,15174812:24650,15174806:24651,15174813:24652,15174836:24653,15174831:24654,15174825:24655,15174821:24656,15174846:24657,15175054:24658,15175055:24659,15317912:24660,15175063:24661,15175082:24662,15175080:24663,15175088:24664,15175096:24665,15175093:24666,15175099:24667,15175098:24668,15175560:24669,15175347:24670,15175566:24671,15175355:24672,15175552:24673,15175589:24674,15175598:24675,15175582:24676,15176354:24677,15175813:24678,15176111:24679,15175845:24680,15175608:24681,15175858:24682,15175866:24683,15176085:24684,15175871:24685,15176095:24686,15176089:24687,15176065:24688,15176092:24689,15176105:24690,15176112:24691,15176099:24692,15176106:24693,15176118:24694,15176126:24695,15176331:24696,15176350:24697,15176359:24698,15176586:24699,15176591:24700,15176596:24701,15175601:24702,15176608:24865,15176611:24866,15176615:24867,15176617:24868,15176622:24869,15176626:24870,15176624:24871,15176625:24872,15176632:24873,15176631:24874,15176836:24875,15176835:24876,15176837:24877,15176844:24878,15176846:24879,15176845:24880,15176853:24881,15176851:24882,15176862:24883,15176870:24884,15176876:24885,15176892:24886,15177092:24887,15177101:24888,15177098:24889,15177097:24890,15177115:24891,15177094:24892,15177114:24893,15177129:24894,15177124:24895,15177127:24896,15177131:24897,15177133:24898,15177144:24899,15177142:24900,15177350:24901,15177351:24902,15177140:24903,15177354:24904,15177353:24905,15177346:24906,15177364:24907,15177370:24908,15177373:24909,15177381:24910,15177379:24911,15177602:24912,15177395:24913,15177603:24914,15177397:24915,15177405:24916,15177400:24917,15177404:24918,15177393:24919,15177613:24920,15177610:24921,15177618:24922,15177625:24923,15177635:24924,15177630:24925,15177662:24926,15177663:24927,15177660:24928,15177857:24929,15177648:24930,15177658:24931,15177650:24932,15177651:24933,15177867:24934,15177869:24935,15177865:24936,15177887:24937,15177895:24938,15177888:24939,15177889:24940,15177890:24941,15177892:24942,15177908:24943,15177904:24944,15177915:24945,15178119:24946,15178120:24947,15178118:24948,15178140:24949,15178136:24950,15178145:24951,15178146:24952,15178152:24953,15178153:24954,15178154:24955,15178151:24956,15178156:24957,15178160:24958,15178162:25121,15178166:25122,15178168:25123,15178172:25124,15178368:25125,15178371:25126,15178376:25127,15178379:25128,15178382:25129,15178390:25130,15178387:25131,15178393:25132,15178394:25133,15178416:25134,15178420:25135,15178424:25136,15178425:25137,15178426:25138,15178626:25139,15178637:25140,15178646:25141,15178642:25142,15178654:25143,15178657:25144,15178661:25145,15178663:25146,15178666:25147,15243439:25148,15178683:25149,15178888:25150,15178887:25151,15178884:25152,15178921:25153,15178916:25154,15178910:25155,15178917:25156,15178918:25157,15178907:25158,15178935:25159,15178936:25160,15179143:25161,15179162:25162,15179176:25163,15179179:25164,15179163:25165,15179173:25166,15179199:25167,15179198:25168,15179193:25169,15179406:25170,15179403:25171,15179409:25172,15179424:25173,15179422:25174,15179440:25175,15179446:25176,15179449:25177,15179455:25178,15179452:25179,15179453:25180,15179451:25181,15179655:25182,15179661:25183,15179671:25184,15179674:25185,15179676:25186,15179683:25187,15179694:25188,15179708:25189,15179916:25190,15179922:25191,15180966:25192,15179936:25193,15180970:25194,15180165:25195,15180430:25196,15180212:25197,15180422:25198,15180220:25199,15180442:25200,15180428:25201,15180451:25202,15180469:25203,15180458:25204,15180463:25205,15180689:25206,15180678:25207,15180683:25208,15180692:25209,15180478:25210,15180476:25211,15180677:25212,15180682:25213,15180716:25214,15180711:25377,15180698:25378,15180733:25379,15180724:25380,15180935:25381,15180946:25382,15180945:25383,15180953:25384,15180972:25385,15180971:25386,15181184:25387,15181216:25388,15181207:25389,15181215:25390,15181210:25391,15181205:25392,15181203:25393,15181242:25394,15181247:25395,15181450:25396,15181469:25397,15181479:25398,15318411:25399,15181482:25400,15181486:25401,15181491:25402,15181497:25403,15181498:25404,15181705:25405,15181717:25406,15181735:25407,15181740:25408,15181729:25409,15181731:25410,15181960:25411,15181965:25412,15181976:25413,15181977:25414,15181984:25415,15181983:25416,15181440:25417,15182001:25418,15182011:25419,15182014:25420,15182007:25421,15182211:25422,15182231:25423,15182217:25424,15182241:25425,15182242:25426,15182249:25427,15318685:25428,15182256:25429,15182265:25430,15182269:25431,15182472:25432,15182487:25433,15182485:25434,15182488:25435,15182486:25436,15182505:25437,15182728:25438,15182512:25439,15182518:25440,15182725:25441,15182724:25442,15182527:25443,15303299:25444,15182727:25445,15182730:25446,15182733:25447,15182735:25448,15182741:25449,15182739:25450,15182745:25451,15182746:25452,15182749:25453,15182753:25454,15182754:25455,15182758:25456,15182765:25457,15182768:25458,15182978:25459,15182991:25460,15182986:25461,15182982:25462,15183027:25463,15183e3:25464,15183001:25465,15183006:25466,15183029:25467,15183016:25468,15183030:25469,15183248:25470,15183290:25633,15182980:25634,15183245:25635,15182987:25636,15183244:25637,15183237:25638,15183285:25639,15183269:25640,15183284:25641,15183271:25642,15183280:25643,15183281:25644,15183276:25645,15183278:25646,15183517:25647,15183512:25648,15183519:25649,15183501:25650,15183516:25651,15183514:25652,15183499:25653,15183506:25654,15183503:25655,15183261:25656,15183513:25657,15183755:25658,15183745:25659,15183756:25660,15183759:25661,15183540:25662,15183750:25663,15183773:25664,15183785:25665,15184017:25666,15184020:25667,15183782:25668,15183781:25669,15184288:25670,15184e3:25671,15184007:25672,15184019:25673,15183795:25674,15183799:25675,15184023:25676,15184013:25677,15183798:25678,15184035:25679,15184039:25680,15184042:25681,15184031:25682,15184055:25683,15184043:25684,15184061:25685,15184268:25686,15184259:25687,15184276:25688,15184271:25689,15184256:25690,15184272:25691,15184280:25692,15184287:25693,15184292:25694,15184278:25695,15184293:25696,15184300:25697,15184309:25698,15184515:25699,15184528:25700,15184548:25701,15184557:25702,15184546:25703,15184555:25704,15184545:25705,15184552:25706,15184563:25707,15184562:25708,15184561:25709,15184558:25710,15184569:25711,15184573:25712,15184768:25713,15184773:25714,15184770:25715,15184792:25716,15184786:25717,15184796:25718,15184802:25719,15314107:25720,15184815:25721,15184818:25722,15184820:25723,15184822:25724,15184826:25725,15185030:25726,15185026:25889,15185052:25890,15185045:25891,15185034:25892,15185285:25893,15185291:25894,15185070:25895,15185074:25896,15185087:25897,15185077:25898,15185286:25899,15185331:25900,15185302:25901,15185294:25902,15185330:25903,15185320:25904,15185326:25905,15185295:25906,15185315:25907,15185555:25908,15185545:25909,15185307:25910,15185551:25911,15185341:25912,15185563:25913,15185594:25914,15185582:25915,15185571:25916,15185589:25917,15185799:25918,15185597:25919,15185579:25920,15186109:25921,15185570:25922,15185583:25923,15185820:25924,15185592:25925,15185567:25926,15185584:25927,15185816:25928,15185821:25929,15185828:25930,15185822:25931,15185851:25932,15185842:25933,15185825:25934,15186053:25935,15186058:25936,15186083:25937,15186081:25938,15186066:25939,15186097:25940,15186079:25941,15186057:25942,15186059:25943,15186082:25944,15186310:25945,15186342:25946,15186107:25947,15186101:25948,15186105:25949,15186307:25950,15186103:25951,15186098:25952,15186106:25953,15186343:25954,15186333:25955,15186326:25956,15186334:25957,15186329:25958,15186330:25959,15186361:25960,15186346:25961,15186345:25962,15186364:25963,15186363:25964,15186563:25965,15185813:25966,15186365:25967,15253166:25968,15186367:25969,15186568:25970,15186569:25971,15186572:25972,15186578:25973,15186576:25974,15186579:25975,15186580:25976,15186582:25977,15186574:25978,15186587:25979,15186588:25980,15187128:25981,15187130:25982,15187333:26145,15187340:26146,15187341:26147,15187342:26148,15187344:26149,15187345:26150,15187349:26151,15187348:26152,15187352:26153,15187359:26154,15187360:26155,15187368:26156,15187369:26157,15187367:26158,15187384:26159,15187586:26160,15187590:26161,15187587:26162,15187592:26163,15187591:26164,15187596:26165,15187604:26166,15187614:26167,15187613:26168,15187610:26169,15187619:26170,15187631:26171,15187634:26172,15187641:26173,15187630:26174,15187638:26175,15187640:26176,15248817:26177,15187845:26178,15187846:26179,15187850:26180,15187861:26181,15187860:26182,15187873:26183,15187878:26184,15187881:26185,15187891:26186,15187897:26187,15311772:26188,15237254:26189,15237252:26190,15237259:26191,15237266:26192,15237272:26193,15237273:26194,15237276:26195,15237281:26196,15237288:26197,15237311:26198,15237307:26199,15237514:26200,15237510:26201,15237522:26202,15237528:26203,15237530:26204,15237535:26205,15237538:26206,15237544:26207,15237555:26208,15237554:26209,15237552:26210,15237558:26211,15237561:26212,15237565:26213,15237567:26214,15237764:26215,15237766:26216,15237765:26217,15237787:26218,15237779:26219,15237786:26220,15237805:26221,15042192:26222,15237804:26223,15238043:26224,15238053:26225,15238041:26226,15238045:26227,15238020:26228,15238042:26229,15238038:26230,15238281:26231,15238063:26232,15238065:26233,15238299:26234,15238313:26235,15238307:26236,15238319:26237,15238539:26238,15309451:26401,15238534:26402,15238334:26403,15238547:26404,15238545:26405,15238076:26406,15238577:26407,15238574:26408,15238565:26409,15238566:26410,15238580:26411,15238787:26412,15238792:26413,15238794:26414,15238784:26415,15238786:26416,15238816:26417,15238805:26418,15238820:26419,15238819:26420,15238559:26421,15238803:26422,15238825:26423,15238832:26424,15238837:26425,15238846:26426,15238840:26427,15238845:26428,15239040:26429,15239042:26430,15238842:26431,15239049:26432,15239053:26433,15239057:26434,15239065:26435,15239064:26436,15239048:26437,15239066:26438,15239071:26439,15239072:26440,15239079:26441,15239098:26442,15239099:26443,15239102:26444,15239297:26445,15239298:26446,15239301:26447,15239303:26448,15239306:26449,15239309:26450,15239312:26451,15239318:26452,15239337:26453,15239339:26454,15239352:26455,15239347:26456,15239552:26457,15239577:26458,15239576:26459,15239581:26460,15239578:26461,15239583:26462,15239588:26463,15239586:26464,15239592:26465,15239594:26466,15239595:26467,15239342:26468,15239601:26469,15239607:26470,15239608:26471,15239614:26472,15239821:26473,15239826:26474,15239851:26475,15239839:26476,15239867:26477,15239852:26478,15240097:26479,15240099:26480,15240095:26481,15240082:26482,15240116:26483,15240115:26484,15240122:26485,15240851:26486,15240323:26487,15240123:26488,15240121:26489,15240094:26490,15240326:26491,15240092:26492,15240329:26493,15240089:26494,15240373:26657,15240372:26658,15240342:26659,15240370:26660,15240369:26661,15240576:26662,15240377:26663,15240592:26664,15240581:26665,15240367:26666,15240363:26667,15240343:26668,15240344:26669,15240837:26670,15240858:26671,15240874:26672,15240863:26673,15240866:26674,15240854:26675,15240355:26676,15240846:26677,15240839:26678,15240842:26679,15240636:26680,15240885:26681,15240627:26682,15240629:26683,15240864:26684,15240841:26685,15240872:26686,15241140:26687,15241363:26688,15241131:26689,15241102:26690,15241149:26691,15241347:26692,15241112:26693,15241355:26694,15241089:26695,15241143:26696,15241351:26697,15241120:26698,15241138:26699,15241357:26700,15241378:26701,15241376:26702,15240893:26703,15241400:26704,15242374:26705,15241147:26706,15241645:26707,15241386:26708,15241404:26709,15242650:26710,15241860:26711,15241655:26712,15241643:26713,15241901:26714,15241646:26715,15241858:26716,15241641:26717,15241606:26718,15241388:26719,15241647:26720,15241657:26721,15241397:26722,15242122:26723,15241634:26724,15241913:26725,15241919:26726,15241887:26727,15242137:26728,15242125:26729,15241915:26730,15242138:26731,15242128:26732,15242113:26733,15242118:26734,15242134:26735,15241889:26736,15242401:26737,15242175:26738,15242164:26739,15242391:26740,15242392:26741,15242412:26742,15242399:26743,15242389:26744,15242388:26745,15242172:26746,15242624:26747,15242659:26748,15242648:26749,15242632:26750,15242625:26913,15243394:26914,15242635:26915,15242645:26916,15242880:26917,15242916:26918,15242888:26919,15242897:26920,15242890:26921,15242920:26922,15242669:26923,15242900:26924,15242907:26925,15243178:26926,15242887:26927,15242908:26928,15242679:26929,15242686:26930,15242896:26931,15243145:26932,15242938:26933,15243151:26934,15242937:26935,15243152:26936,15243157:26937,15243165:26938,15243173:26939,15243164:26940,15243193:26941,15243402:26942,15243411:26943,15243403:26944,15243198:26945,15243194:26946,15243398:26947,15243426:26948,15243418:26949,15243440:26950,15243455:26951,15243661:26952,14989717:26953,15243668:26954,15243679:26955,15243687:26956,15243697:26957,15243923:26958,15243939:26959,15243945:26960,15243946:26961,15243915:26962,15243916:26963,15243958:26964,15243951:26965,15244164:26966,15244166:26967,15243952:26968,15244169:26969,15245475:26970,15243947:26971,15244180:26972,15244190:26973,15244201:26974,15244204:26975,15244191:26976,15244187:26977,15244207:26978,15244434:26979,15244422:26980,15244424:26981,15244416:26982,15244419:26983,15244219:26984,15244433:26985,15244425:26986,15244429:26987,15244217:26988,15244426:26989,15244468:26990,15244479:26991,15244471:26992,15244475:26993,15244453:26994,15244457:26995,15244442:26996,15244704:26997,15244703:26998,15244728:26999,15244684:27e3,15244686:27001,15244724:27002,15244695:27003,15244712:27004,15244718:27005,15244697:27006,15244691:27169,15244707:27170,15244714:27171,15245445:27172,15244962:27173,15244959:27174,15244930:27175,15244975:27176,15245195:27177,15244989:27178,15245184:27179,15245200:27180,15309718:27181,15244971:27182,15245188:27183,15244979:27184,15245191:27185,15245190:27186,15244987:27187,15245231:27188,15245234:27189,15245216:27190,15245455:27191,15245453:27192,15245246:27193,15245238:27194,15245239:27195,15245454:27196,15245202:27197,15245457:27198,15245462:27199,15245461:27200,15245474:27201,15245473:27202,15245489:27203,15245494:27204,15245497:27205,15245479:27206,15245499:27207,15245700:27208,15245698:27209,15245714:27210,15245721:27211,15245726:27212,15245730:27213,15245739:27214,15245953:27215,15245758:27216,15245982:27217,15245749:27218,15245757:27219,15246005:27220,15245746:27221,15245954:27222,15245975:27223,15245970:27224,15245998:27225,15245977:27226,15245986:27227,15245965:27228,15245988:27229,15246e3:27230,15246015:27231,15246001:27232,15246211:27233,15246212:27234,15246228:27235,15246232:27236,15246233:27237,15246237:27238,15246265:27239,15246466:27240,15246268:27241,15246260:27242,15246248:27243,15246258:27244,15246468:27245,15246476:27246,15246474:27247,15246483:27248,15246723:27249,15246494:27250,15246501:27251,15246506:27252,15246507:27253,15246721:27254,15246724:27255,15246523:27256,15246518:27257,15246520:27258,15246732:27259,15246493:27260,15246752:27261,15246750:27262,15246758:27425,15246756:27426,15246765:27427,15246762:27428,15246767:27429,15246772:27430,15246775:27431,15246782:27432,15246979:27433,15246984:27434,15246986:27435,15246995:27436,15247e3:27437,15247009:27438,15247017:27439,15247014:27440,15247020:27441,15247023:27442,15247026:27443,15247034:27444,15247037:27445,15247039:27446,15247232:27447,15247258:27448,15247260:27449,15247261:27450,15247271:27451,15247284:27452,15247288:27453,15247491:27454,15247510:27455,15247504:27456,15247500:27457,15247515:27458,15247517:27459,15247525:27460,15247542:27461,15247745:27462,15247771:27463,15247762:27464,15247750:27465,15247752:27466,15247804:27467,15247789:27468,15247788:27469,15247778:27470,15248005:27471,15248002:27472,15248004:27473,15248040:27474,15248033:27475,15248017:27476,15248037:27477,15248038:27478,15248026:27479,15248035:27480,15248260:27481,15248269:27482,15248258:27483,15248282:27484,15248299:27485,15248307:27486,15248295:27487,15248292:27488,15248305:27489,15248532:27490,15248288:27491,15248290:27492,15248311:27493,15248286:27494,15248283:27495,15248524:27496,15248519:27497,15248538:27498,15248289:27499,15248534:27500,15248528:27501,15248535:27502,15248544:27503,15248563:27504,15310507:27505,15248550:27506,15248555:27507,15248574:27508,15248552:27509,15248769:27510,15248780:27511,15248783:27512,15248782:27513,15248777:27514,15248790:27515,15248795:27516,15248794:27517,15248811:27518,15248799:27681,15248812:27682,15248815:27683,15248820:27684,15248829:27685,15249024:27686,15249036:27687,15249038:27688,15249042:27689,15249043:27690,15249046:27691,15249049:27692,15249050:27693,15249594:27694,15249793:27695,15249599:27696,15249800:27697,15249804:27698,15249806:27699,15249808:27700,15249813:27701,15249826:27702,15249836:27703,15249848:27704,15249850:27705,15250050:27706,15250057:27707,15250053:27708,15250058:27709,15250061:27710,15250062:27711,15250068:27712,15249852:27713,15250072:27714,15108253:27715,15250093:27716,15250090:27717,15250109:27718,15250098:27719,15250099:27720,15250094:27721,15250102:27722,15250312:27723,15250305:27724,15250340:27725,15250339:27726,15250330:27727,15250365:27728,15250362:27729,15250363:27730,15250564:27731,15250565:27732,15250570:27733,15250567:27734,15250575:27735,15250573:27736,15250576:27737,15318414:27738,15250579:27739,15250317:27740,15250580:27741,15250582:27742,15250855:27743,15250861:27744,15250865:27745,15250867:27746,15251073:27747,15251097:27748,15251330:27749,15251134:27750,15251130:27751,15251343:27752,15251354:27753,15251350:27754,15251340:27755,15251355:27756,15251339:27757,15251370:27758,15251371:27759,15251359:27760,15251363:27761,15251388:27762,15251592:27763,15251593:27764,15251391:27765,15251613:27766,15251614:27767,15251600:27768,15251615:27769,15251842:27770,15251637:27771,15251632:27772,15251636:27773,15251850:27774,15251847:27937,15251849:27938,15251852:27939,15251856:27940,15251848:27941,15251865:27942,15251876:27943,15251872:27944,15251626:27945,15251875:27946,15251861:27947,15251894:27948,15251890:27949,15251900:27950,15252097:27951,15252103:27952,15252101:27953,15252100:27954,15252107:27955,15252106:27956,15252115:27957,15252113:27958,15252116:27959,15252121:27960,15252138:27961,15252129:27962,15252140:27963,15252144:27964,15252358:27965,15252145:27966,15252158:27967,15252357:27968,15252360:27969,15252363:27970,15252379:27971,15252387:27972,15252412:27973,15252411:27974,15252395:27975,15252414:27976,15252618:27977,15252613:27978,15252629:27979,15252626:27980,15252633:27981,15252627:27982,15252636:27983,15252639:27984,15252635:27985,15252620:27986,15252646:27987,15252659:27988,15252667:27989,15252665:27990,15252869:27991,15252866:27992,15252670:27993,15252876:27994,15252873:27995,15252870:27996,15252878:27997,15252887:27998,15252892:27999,15252898:28e3,15252899:28001,15252900:28002,15253148:28003,15253151:28004,15253155:28005,15253165:28006,15253167:28007,15253175:28008,15253402:28009,15253413:28010,15253410:28011,15253418:28012,15253423:28013,15303303:28014,15253428:28015,15302789:28016,15253433:28017,15253434:28018,15302801:28019,15302805:28020,15302817:28021,15302797:28022,15302814:28023,15302806:28024,15302795:28025,15302823:28026,15302838:28027,15302837:28028,15302841:28029,15253432:28030,15303055:28193,15303056:28194,15303057:28195,15303058:28196,15302798:28197,15303049:28198,15302846:28199,15303062:28200,15303064:28201,15303070:28202,15303080:28203,15303087:28204,15303094:28205,15309480:28206,15303090:28207,15303298:28208,15303101:28209,15303297:28210,15303296:28211,15303306:28212,15303305:28213,15303311:28214,15303336:28215,15303343:28216,15303345:28217,15303349:28218,15303586:28219,15303588:28220,15108488:28221,15303579:28222,15303810:28223,15303826:28224,15303833:28225,15303858:28226,15303856:28227,15304074:28228,15304086:28229,15304088:28230,15304099:28231,15304101:28232,15304105:28233,15304115:28234,15304114:28235,15304331:28236,15304329:28237,15304322:28238,15304354:28239,15304363:28240,15304367:28241,15304362:28242,15304373:28243,15304372:28244,15304378:28245,15304576:28246,15304577:28247,15304585:28248,15304587:28249,15304592:28250,15304598:28251,15304607:28252,15304609:28253,15304603:28254,15304636:28255,15304629:28256,15304630:28257,15304862:28258,15304639:28259,15304852:28260,15304876:28261,15304853:28262,15304849:28263,15305118:28264,15305111:28265,15305093:28266,15305097:28267,15305124:28268,15305096:28269,15305365:28270,15304895:28271,15305099:28272,15305104:28273,15305372:28274,15305366:28275,15305363:28276,15305371:28277,15305114:28278,15305615:28279,15305401:28280,15305399:28281,15305641:28282,15305871:28283,15305658:28284,15306116:28285,15305902:28286,15305881:28449,15305890:28450,15305882:28451,15305891:28452,15305914:28453,15305909:28454,15305915:28455,15306140:28456,15306144:28457,15306172:28458,15306158:28459,15306134:28460,15306416:28461,15306412:28462,15306413:28463,15306388:28464,15306425:28465,15306646:28466,15306647:28467,15306664:28468,15306661:28469,15306648:28470,15306627:28471,15306653:28472,15306640:28473,15306632:28474,15306660:28475,15306906:28476,15306900:28477,15306899:28478,15306883:28479,15306887:28480,15306896:28481,15306934:28482,15306923:28483,15306933:28484,15306913:28485,15306938:28486,15307137:28487,15307154:28488,15307140:28489,15307163:28490,15307168:28491,15307170:28492,15307166:28493,15307178:28494,15304873:28495,15307184:28496,15307189:28497,15307191:28498,15307197:28499,15307162:28500,15307196:28501,15307198:28502,15307393:28503,15307199:28504,15308418:28505,15308423:28506,15308426:28507,15308436:28508,15308438:28509,15308440:28510,15308441:28511,15308448:28512,15308456:28513,15308455:28514,15308461:28515,15308476:28516,15308475:28517,15308473:28518,15308478:28519,15308682:28520,15122358:28521,15308675:28522,15308685:28523,15308684:28524,15308693:28525,15308692:28526,15308694:28527,15308700:28528,15308705:28529,15308709:28530,15308706:28531,15308961:28532,15308968:28533,15308974:28534,15308975:28535,15309186:28536,15309196:28537,15309199:28538,15309195:28539,15309239:28540,15309212:28541,15309214:28542,15309213:28705,15309215:28706,15309222:28707,15309234:28708,15309228:28709,15309453:28710,15309464:28711,15309461:28712,15309463:28713,15309482:28714,15309479:28715,15309489:28716,15309490:28717,15309488:28718,15309492:28719,15309494:28720,15309496:28721,15309497:28722,15309710:28723,15309707:28724,15309705:28725,15309709:28726,15246733:28727,15309724:28728,15309965:28729,15309717:28730,15309753:28731,15309956:28732,15309958:28733,15309960:28734,15309971:28735,15309966:28736,15309969:28737,15309967:28738,15309974:28739,15309977:28740,15309988:28741,15309994:28742,1531e4:28743,15310009:28744,15310013:28745,15310014:28746,15310212:28747,15310214:28748,15310216:28749,15310210:28750,15310217:28751,15310236:28752,15310240:28753,15310244:28754,15310246:28755,15310248:28756,15043474:28757,15310251:28758,15310257:28759,15310265:28760,15310469:28761,15310268:28762,15310465:28763,15310266:28764,15310470:28765,15310475:28766,15310479:28767,15310480:28768,15310492:28769,15310504:28770,15310502:28771,15310499:28772,15310515:28773,15310516:28774,15310723:28775,15310726:28776,15310728:28777,15310731:28778,15310748:28779,15310765:28780,15318415:28781,15310770:28782,15182751:28783,15310774:28784,15310773:28785,15310991:28786,15310988:28787,15311032:28788,15311012:28789,15311009:28790,15311031:28791,15311037:28792,15311238:28793,15311247:28794,15311243:28795,15311275:28796,15311279:28797,15311280:28798,15311281:28961,15311284:28962,15311283:28963,15311530:28964,15311535:28965,15311537:28966,15311542:28967,15311748:28968,15311747:28969,15311750:28970,15311785:28971,15311787:28972,15312003:28973,15312009:28974,15312018:28975,15312020:28976,15312024:28977,15312033:28978,15312029:28979,15312030:28980,15312036:28981,15312032:28982,15312044:28983,15312046:28984,15312061:28985,15312062:28986,15312258:28987,15312265:28988,15312261:28989,15312272:28990,15312267:28991,15312273:28992,15312274:28993,15312268:28994,15312277:28995,15312535:28996,15312536:28997,15312549:28998,15312557:28999,15312558:29e3,15312572:29001,15312799:29002,15312795:29003,15312797:29004,15312792:29005,15312785:29006,15312813:29007,15312814:29008,15312817:29009,15312818:29010,15312827:29011,15312824:29012,15313025:29013,15313039:29014,15313029:29015,15312802:29016,15313049:29017,15313067:29018,15313079:29019,15313285:29020,15313282:29021,15313280:29022,15313283:29023,15313086:29024,15313301:29025,15313293:29026,15313307:29027,15313303:29028,15313311:29029,15313314:29030,15313317:29031,15313316:29032,15313321:29033,15313323:29034,15313322:29035,15313581:29036,15313584:29037,15313596:29038,15313792:29039,15313807:29040,15313809:29041,15313811:29042,15313812:29043,15313822:29044,15313823:29045,15313826:29046,15313827:29047,15313830:29048,15313839:29049,15313835:29050,15313838:29051,15313844:29052,15313841:29053,15313847:29054,15313851:29217,15314054:29218,15314072:29219,15314074:29220,15314079:29221,15314082:29222,15314083:29223,15314085:29224,15314087:29225,15314088:29226,15314089:29227,15314090:29228,15314094:29229,15314095:29230,15314098:29231,15314308:29232,15314307:29233,15314319:29234,15314317:29235,15314318:29236,15314321:29237,15314328:29238,15314356:29239,15314579:29240,15314563:29241,15314577:29242,15314582:29243,15314583:29244,15314591:29245,15314592:29246,15314600:29247,15314612:29248,15314816:29249,15314826:29250,15314617:29251,15314822:29252,15314831:29253,15314833:29254,15314834:29255,15314851:29256,15314850:29257,15314852:29258,15314836:29259,15314849:29260,15315130:29261,15314866:29262,15314865:29263,15314864:29264,15315093:29265,15315092:29266,15315081:29267,15315091:29268,15315084:29269,15315078:29270,15315080:29271,15315090:29272,15315082:29273,15315076:29274,15315118:29275,15315099:29276,15315109:29277,15315108:29278,15315105:29279,15315120:29280,15315335:29281,15315122:29282,15315334:29283,15315134:29284,15315354:29285,15315360:29286,15315367:29287,15315382:29288,15315384:29289,15315879:29290,15315884:29291,15315888:29292,15316105:29293,15316104:29294,15315883:29295,15316099:29296,15316102:29297,15316138:29298,15316134:29299,15316655:29300,15316131:29301,15316127:29302,15316356:29303,15316117:29304,15316114:29305,15316353:29306,15316159:29307,15316158:29308,15316358:29309,15316360:29310,15316381:29473,15316382:29474,15316388:29475,15316369:29476,15316368:29477,15316377:29478,15316402:29479,15316617:29480,15316615:29481,15316651:29482,15316399:29483,15316410:29484,15316634:29485,15316644:29486,15316649:29487,15316658:29488,15316868:29489,15316865:29490,15316667:29491,15316664:29492,15316666:29493,15316870:29494,15316879:29495,15316866:29496,15316889:29497,15316883:29498,15316920:29499,15316902:29500,15316909:29501,15316911:29502,15316925:29503,15317146:29504,15317147:29505,15317150:29506,15317429:29507,15317433:29508,15317437:29509,15317633:29510,15317640:29511,15317643:29512,15317644:29513,15317650:29514,15317653:29515,15317649:29516,15317661:29517,15317669:29518,15317673:29519,15317688:29520,15317674:29521,15317677:29522,15310241:29523,15317900:29524,15317902:29525,15317903:29526,15317904:29527,15317908:29528,15317916:29529,15317918:29530,15317917:29531,15317920:29532,15317925:29533,15317928:29534,15317935:29535,15317940:29536,15317942:29537,15317943:29538,15317945:29539,15317947:29540,15317948:29541,15317949:29542,15318151:29543,15318152:29544,15178423:29545,15318165:29546,15318177:29547,15318188:29548,15318206:29549,15318410:29550,15318418:29551,15318420:29552,15318435:29553,15318431:29554,15318432:29555,15318433:29556,15318438:29557,15318439:29558,15318444:29559,15318442:29560,15318455:29561,15318450:29562,15318454:29563,15318677:29564,15318684:29565,15318688:29566,15048879:29729,15116167:29730,15303065:29731,15176100:29732,15042460:29733,15173273:29734,15186570:31009,15246492:31010,15306120:31011,15305352:31012,15242140:31013,14991241:31014,15172283:31015,15112369:31016,15115144:31017,15305657:31018,15113147:31019,15056261:31020,14989480:31021,14990241:31022,14990268:31023,14990464:31024,14990467:31025,14990521:31026,14990742:31027,14990994:31028,14990986:31029,14991002:31030,14990996:31031,14991245:31032,15040896:31033,15040674:31034,14991295:31035,15040670:31036,15040902:31037,15040944:31038,15040898:31039,15041172:31040,15041460:31041,15041432:31042,15041930:31043,15041956:31044,15042205:31045,15042238:31046,15042476:31047,15042709:31048,15043228:31049,15043238:31050,15043456:31051,15043483:31052,15043712:31053,15043719:31054,15043748:31055,15044018:31056,15044243:31057,15044274:31058,15044509:31059,15706254:31060,15045276:31061,15045258:31062,15045289:31063,15045567:31064,15046278:31065,15048089:31066,15048101:31067,15048364:31068,15048584:31069,15048583:31070,15706255:31071,15706256:31072,15049374:31073,15049394:31074,15049867:31075,15050131:31076,15050139:31077,15050141:31078,15050147:31079,15050404:31080,15050426:31081,15052182:31082,15052672:31083,15176879:31084,15052696:31085,15052716:31086,15052958:31087,15053478:31088,15053498:31089,15053749:31090,15053991:31091,15054227:31092,15706257:31093,15054210:31094,15054253:31095,15054520:31096,15054521:31097,15054736:31098,15056033:31099,15056052:31100,15056295:31101,15056567:31102,15056798:31265,15106461:31266,15106693:31267,15106698:31268,15106974:31269,15106965:31270,15107232:31271,15106994:31272,15107217:31273,15107255:31274,15107248:31275,15107736:31276,15108243:31277,15108774:31278,15110069:31279,15110560:31280,15110813:31281,15111054:31282,15111566:31283,15112320:31284,15112341:31285,15112379:31286,15112329:31287,15112366:31288,15112350:31289,15112356:31290,15112613:31291,15112599:31292,15112601:31293,15706258:31294,15112627:31295,15112857:31296,15112864:31297,15112882:31298,15112895:31299,15113146:31300,15113358:31301,15705257:31302,15113638:31303,15113915:31304,15114642:31305,15114112:31306,15114369:31307,15114628:31308,15115151:31309,15706259:31310,15115688:31311,15706260:31312,15115928:31313,15116194:31314,15116464:31315,15116715:31316,15116678:31317,15116723:31318,15116734:31319,15117218:31320,15117220:31321,15118230:31322,15118527:31323,15118748:31324,15118982:31325,15118767:31326,15119258:31327,15119492:31328,15120007:31329,15119791:31330,15120022:31331,15120044:31332,15120271:31333,15120312:31334,15120306:31335,15120316:31336,15120569:31337,15120796:31338,15120551:31339,15120572:31340,15121087:31341,15122056:31342,15122101:31343,15122357:31344,15171717:31345,15171719:31346,15171752:31347,15172229:31348,15172267:31349,15172751:31350,15172740:31351,15173020:31352,15172998:31353,15172999:31354,15706261:31355,15173505:31356,15173566:31357,15174321:31358,15174334:31521,15174820:31522,15706262:31523,15175095:31524,15175357:31525,15175561:31526,15175574:31527,15175587:31528,15175570:31529,15175815:31530,15175605:31531,15175846:31532,15175850:31533,15175849:31534,15175854:31535,15176098:31536,15176329:31537,15176351:31538,15176833:31539,15177135:31540,15178370:31541,15178396:31542,15178398:31543,15178395:31544,15178406:31545,15706263:31546,15179142:31547,15043247:31548,15179937:31549,15180174:31550,15180196:31551,15180218:31552,15180976:31553,15706264:31554,15706265:31555,15706266:31556,15181460:31557,15706267:31558,15181467:31559,15182737:31560,15182759:31561,15706268:31562,15182763:31563,15183518:31564,15706269:31565,15185288:31566,15185308:31567,15185591:31568,15185568:31569,15185814:31570,15186322:31571,15187335:31572,15187617:31573,15706270:31574,15240321:31575,15240610:31576,15240639:31577,15241095:31578,15241142:31579,15241608:31580,15241908:31581,15242643:31582,15242649:31583,15242667:31584,15706271:31585,15242928:31586,15706272:31587,15706273:31588,15245447:31589,15246261:31590,15247506:31591,15247543:31592,15247801:31593,15248039:31594,15248062:31595,15248287:31596,15706274:31597,15248310:31598,15248787:31599,15248831:31600,15250352:31601,15250356:31602,15250578:31603,15250870:31604,15706275:31605,15252367:31606,15706276:31607,15706277:31608,15303079:31609,15303582:31610,15706278:31611,15303829:31612,15303847:31613,15304602:31614,15304599:31777,15304606:31778,15304621:31779,15304622:31780,15304612:31781,15304613:31782,15304838:31783,15304848:31784,15304842:31785,15304890:31786,15305088:31787,15304892:31788,15305102:31789,15305113:31790,15305105:31791,15304889:31792,15305127:31793,15305383:31794,15305143:31795,15305144:31796,15305639:31797,15305623:31798,15305625:31799,15305616:31800,15706279:31801,15305621:31802,15305632:31803,15305619:31804,15305893:31805,15305889:31806,15305659:31807,15706280:31808,15305886:31809,15305663:31810,15305885:31811,15305858:31812,15306160:31813,15306135:31814,15306404:31815,15306630:31816,15306654:31817,15306680:31818,15306929:31819,15307141:31820,15307144:31821,15308434:31822,15706012:31823,15706281:31824,15309469:31825,15309487:31826,15310003:31827,15310011:31828,15310211:31829,15310221:31830,15310223:31831,15310225:31832,15310229:31833,15311255:31834,15311269:31835,15706282:31836,15706283:31837,15312039:31838,15706284:31839,15312542:31840,15313294:31841,15313817:31842,15313820:31843,15314357:31844,15314354:31845,15314575:31846,15314609:31847,15314619:31848,15315072:31849,15316400:31850,15316395:31851,15706285:31852,15317145:31853,15317905:31854,14845360:31857,14845361:31858,14845362:31859,14845363:31860,14845364:31861,14845365:31862,14845366:31863,14845367:31864,14845368:31865,14845369:31866,15712164:31868,15711367:31869,15711362:31870,14846117:8514,15712162:8780,14846098:74077}},function(t,e){t.exports={52120:8751,52103:8752,49848:8753,52121:8754,52125:8755,49839:8756,52123:8757,52122:8758,126:8759,52868:8760,52869:8761,49825:8770,49830:8771,49855:8772,49850:8811,49834:8812,49833:8813,49838:8814,14845090:8815,49828:8816,14845078:8817,52870:9825,52872:9826,52873:9827,52874:9828,52906:9829,52876:9831,52878:9833,52907:9834,52879:9836,52908:9841,52909:9842,52910:9843,52911:9844,53130:9845,52880:9846,53132:9847,53122:9848,53133:9849,53131:9850,52912:9851,53134:9852,53378:10050,53379:10051,53380:10052,53381:10053,53382:10054,53383:10055,53384:10056,53385:10057,53386:10058,53387:10059,53388:10060,53390:10061,53391:10062,53650:10098,53651:10099,53652:10100,53653:10101,53654:10102,53655:10103,53656:10104,53657:10105,53658:10106,53659:10107,53660:10108,53662:10109,53663:10110,50054:10529,50320:10530,50342:10532,50354:10534,50561:10536,50367:10537,50570:10539,50072:10540,50578:10541,50598:10543,50078:10544,50086:10561,50321:10562,50096:10563,50343:10564,50353:10565,50355:10566,50360:10567,50562:10568,50560:10569,50569:10570,50571:10571,50104:10572,50579:10573,50079:10574,50599:10575,50110:10576,50049:10785,50048:10786,50052:10787,50050:10788,50306:10789,51085:10790,50304:10791,50308:10792,50053:10793,50051:10794,50310:10795,50312:10796,50316:10797,50055:10798,50314:10799,50318:10800,50057:10801,50056:10802,50059:10803,50058:10804,50330:10805,50326:10806,50322:10807,50328:10808,50332:10810,50334:10811,50338:10812,50336:10813,50340:10814,50061:10815,50060:10816,50063:10817,50062:10818,51087:10819,50352:10820,50346:10821,50350:10822,50344:10823,50356:10824,50358:10825,50361:10826,50365:10827,50363:10828,50563:10829,50567:10830,50565:10831,50065:10832,50067:10833,50066:10834,50070:10835,50068:10836,51089:10837,50576:10838,50572:10839,50069:10840,50580:10841,50584:10842,50582:10843,50586:10844,50588:10845,50592:10846,50590:10847,50596:10848,50594:10849,50074:10850,50073:10851,50076:10852,50075:10853,50604:10854,51091:10855,50608:10856,50602:10857,50610:10858,50606:10859,50600:10860,51095:10861,51099:10862,51097:10863,51093:10864,50612:10865,50077:10866,50616:10867,50614:10868,50617:10869,50621:10870,50619:10871,50081:11041,50080:11042,50084:11043,50082:11044,50307:11045,51086:11046,50305:11047,50309:11048,50085:11049,50083:11050,50311:11051,50313:11052,50317:11053,50087:11054,50315:11055,50319:11056,50089:11057,50088:11058,50091:11059,50090:11060,50331:11061,50327:11062,50323:11063,50329:11064,51125:11065,50333:11066,50335:11067,50337:11069,50341:11070,50093:11071,50092:11072,50095:11073,50094:11074,51088:11075,50347:11077,50351:11078,50345:11079,50357:11080,50359:11081,50362:11082,50366:11083,50364:11084,50564:11085,50568:11086,50566:11087,50097:11088,50099:11089,50098:11090,50102:11091,50100:11092,51090:11093,50577:11094,50573:11095,50101:11096,50581:11097,50585:11098,50583:11099,50587:11100,50589:11101,50593:11102,50591:11103,50597:11104,50595:11105,50106:11106,50105:11107,50108:11108,50107:11109,50605:11110,51092:11111,50609:11112,50603:11113,50611:11114,50607:11115,50601:11116,51096:11117,51100:11118,51098:11119,51094:11120,50613:11121,50109:11122,50111:11123,50615:11124,50618:11125,50622:11126,50620:11127,14989442:12321,14989444:12322,14989445:12323,14989452:12324,14989458:12325,14989471:12326,14989475:12327,14989476:12328,14989480:12329,14989483:12330,14989486:12331,14989487:12332,14989488:12333,14989493:12334,14989696:12335,14989697:12336,14989700:12337,14989703:12338,14989713:12339,14989722:12340,14989724:12341,14989731:12342,14989736:12343,14989737:12344,14989748:12345,14989749:12346,14989753:12347,14989759:12348,14989965:12349,14989974:12350,14989975:12351,14989981:12352,14989999:12353,14990009:12354,14990211:12355,14990224:12356,14990234:12357,14990235:12358,14990240:12359,14990241:12360,14990242:12361,14990248:12362,14990255:12363,14990257:12364,14990259:12365,14990261:12366,14990269:12367,14990270:12368,14990271:12369,14990464:12370,14990466:12371,14990467:12372,14990472:12373,14990475:12374,14990476:12375,14990482:12376,14990485:12377,14990486:12378,14990487:12379,14990489:12380,14990510:12381,14990513:12382,14990752:12383,14990515:12384,14990517:12385,14990519:12386,14990521:12387,14990523:12388,14990526:12389,14990720:12390,14990722:12391,14990728:12392,14990729:12393,14990731:12394,14990732:12395,14990738:12396,14990740:12397,14990742:12398,14990744:12399,14990751:12400,14990755:12401,14990762:12402,14990764:12403,14990766:12404,14990769:12405,14990775:12406,14990776:12407,14990777:12408,14990778:12409,14990781:12410,14990782:12411,14990977:12412,14990978:12413,14990980:12414,14990981:12577,14990985:12578,14990986:12579,14990988:12580,14990990:12581,14990992:12582,14990994:12583,14990995:12584,14990996:12585,14990999:12586,14991001:12587,14991002:12588,14991006:12589,14991007:12590,14991026:12591,14991031:12592,14991033:12593,14991035:12594,14991036:12595,14991037:12596,14991038:12597,14991232:12598,14991233:12599,14991237:12600,14991238:12601,14991240:12602,14991241:12603,14991243:12604,14991244:12605,14991245:12606,14991247:12607,14991250:12608,14991260:12609,14991264:12610,14991266:12611,14991280:12612,14991282:12613,14991292:12614,14991293:12615,14991295:12616,15040640:12617,15040641:12618,15040644:12619,15040647:12620,15040650:12621,15040652:12622,15040654:12623,15040656:12624,15040659:12625,15040663:12626,15040664:12627,15040667:12628,15040668:12629,15040669:12630,15040670:12631,15040674:12632,15040679:12633,15040686:12634,15040688:12635,15040690:12636,15040691:12637,15040693:12638,15040896:12639,15040897:12640,15040898:12641,15040901:12642,15040902:12643,15040906:12644,15040908:12645,15040910:12646,15040913:12647,15040914:12648,15040915:12649,15040919:12650,15040921:12651,15040927:12652,15040928:12653,15040930:12654,15040931:12655,15040934:12656,15040935:12657,15040938:12658,15040941:12659,15040944:12660,15040945:12661,15040699:12662,15041153:12663,15041155:12664,15041156:12665,15041158:12666,15041162:12667,15041166:12668,15041167:12669,15041168:12670,15041170:12833,15041171:12834,15041172:12835,15041174:12836,15041179:12837,15041180:12838,15041182:12839,15041183:12840,15041184:12841,15041185:12842,15041186:12843,15041194:12844,15041199:12845,15041200:12846,15041209:12847,15041210:12848,15041213:12849,15041408:12850,15041411:12851,15041412:12852,15041415:12853,15041420:12854,15041422:12855,15041424:12856,15041427:12857,15041428:12858,15041432:12859,15041436:12860,15041437:12861,15041439:12862,15041442:12863,15041444:12864,15041446:12865,15041448:12866,15041449:12867,15041455:12868,15041457:12869,15041462:12870,15041466:12871,15041470:12872,15041667:12873,15041670:12874,15041671:12875,15041672:12876,15041675:12877,15041676:12878,15041677:12879,15041678:12880,15041458:12881,15041680:12882,15041687:12883,15041689:12884,15041691:12885,15041692:12886,15041693:12887,15041694:12888,15041699:12889,15041703:12890,15041704:12891,15041708:12892,15041709:12893,15041711:12894,15041713:12895,15041715:12896,15041716:12897,15041717:12898,15041720:12899,15041721:12900,15041922:12901,15041930:12902,15041935:12903,15041939:12904,15041941:12905,15041943:12906,15041944:12907,15041951:12908,15041956:12909,15041958:12910,15041982:12911,15042179:12912,15042180:12913,15042187:12914,15042190:12915,15042200:12916,15042205:12917,15042209:12918,15042211:12919,15042221:12920,15042232:12921,15042234:12922,15042236:12923,15042238:12924,15042239:12925,15042434:12926,15042440:13089,15042447:13090,15042449:13091,15042450:13092,15042451:13093,15042453:13094,15042456:13095,15042462:13096,15042466:13097,15042469:13098,15042478:13099,15042482:13100,15042483:13101,15042484:13102,15042487:13103,15042689:13104,15042690:13105,15042693:13106,15042706:13107,15042707:13108,15042709:13109,15042710:13110,15042712:13111,15042722:13112,15042728:13113,15042737:13114,15042738:13115,15042741:13116,15042748:13117,15042949:13118,15042953:13119,15042965:13120,15042967:13121,15042968:13122,15042970:13123,15042972:13124,15042975:13125,15042976:13126,15042977:13127,15042982:13128,15042990:13129,15042999:13130,15043e3:13131,15043001:13132,15043200:13133,15043202:13134,15043205:13135,15043210:13136,15043212:13137,15043219:13138,15043221:13139,15043222:13140,15043223:13141,15043224:13142,15043226:13143,15043228:13144,15043236:13145,15043237:13146,15043238:13147,15043239:13148,15043247:13149,15043248:13150,15043254:13151,15043255:13152,15043256:13153,15043258:13154,15043259:13155,15043261:13156,15043456:13157,15043460:13158,15043462:13159,15043464:13160,15043468:13161,15043471:13162,15043473:13163,15043476:13164,15043478:13165,15043483:13166,15043484:13167,15043489:13168,15043493:13169,15043496:13170,15043497:13171,15043498:13172,15043500:13173,15043504:13174,15043505:13175,15043508:13176,15043510:13177,15043511:13178,15043712:13179,15043715:13180,15043722:13181,15043723:13182,15043724:13345,15043729:13346,15043731:13347,15043736:13348,15043739:13349,15043740:13350,15043742:13351,15043743:13352,15043749:13353,15043751:13354,15043752:13355,15043753:13356,15043755:13357,15043756:13358,15043757:13359,15043760:13360,15043762:13361,15043765:13362,15043772:13363,15043773:13364,15043774:13365,15043970:13366,15043980:13367,15043979:13368,15043993:13369,15043995:13370,15044001:13371,15044003:13372,15044005:13373,15044012:13374,15044013:13375,15044018:13376,15044025:13377,15044030:13378,15044227:13379,15044231:13380,15044232:13381,15044238:13382,15044243:13383,15044244:13384,15044249:13385,15044253:13386,15044257:13387,15044260:13388,15044266:13389,15044267:13390,15044271:13391,15044274:13392,15044276:13393,15044277:13394,15044279:13395,15044280:13396,15044282:13397,15044285:13398,15044480:13399,15044485:13400,15044495:13401,15044498:13402,15044499:13403,15044501:13404,15044506:13405,15044509:13406,15044510:13407,15044512:13408,15044518:13409,15044519:13410,15044533:13411,15044738:13412,15044755:13413,15044762:13414,15044769:13415,15044775:13416,15044776:13417,15044778:13418,15044783:13419,15044785:13420,15044788:13421,15044789:13422,15044995:13423,15044996:13424,15044999:13425,15045005:13426,15045007:13427,15045022:13428,15045026:13429,15045028:13430,15045030:13431,15045031:13432,15045033:13433,15045035:13434,15045037:13435,15045038:13436,15045044:13437,15045055:13438,15045249:13601,15045251:13602,15045253:13603,15045256:13604,15045257:13605,15045261:13606,15045265:13607,15045269:13608,15045270:13609,15045276:13610,15045279:13611,15045281:13612,15045286:13613,15045287:13614,15045289:13615,15045290:13616,15045293:13617,15045294:13618,15045297:13619,15045303:13620,15045305:13621,15045306:13622,15045307:13623,15045311:13624,15045510:13625,15045514:13626,15045517:13627,15045518:13628,15045536:13629,15045546:13630,15045548:13631,15045551:13632,15045558:13633,15045564:13634,15045566:13635,15045567:13636,15045760:13637,15045761:13638,15045765:13639,15045768:13640,15045769:13641,15045772:13642,15045773:13643,15045774:13644,15045781:13645,15045802:13646,15045803:13647,15045810:13648,15045813:13649,15045814:13650,15045819:13651,15045820:13652,15045821:13653,15046017:13654,15046023:13655,15046025:13656,15046026:13657,15046029:13658,15046032:13659,15046033:13660,15046040:13661,15046042:13662,15046043:13663,15046046:13664,15046048:13665,15046049:13666,15046052:13667,15046054:13668,15046079:13669,15046273:13670,15046274:13671,15046278:13672,15046280:13673,15046286:13674,15046287:13675,15046289:13676,15046290:13677,15046291:13678,15046292:13679,15046295:13680,15046307:13681,15046308:13682,15046317:13683,15046322:13684,15046335:13685,15046529:13686,15046531:13687,15046534:13688,15046537:13689,15046539:13690,15046540:13691,15046542:13692,15046545:13693,15046546:13694,15046547:13857,15046551:13858,15046552:13859,15046555:13860,15046558:13861,15046562:13862,15046569:13863,15046582:13864,15046591:13865,15046789:13866,15046792:13867,15046794:13868,15046797:13869,15046798:13870,15046799:13871,15046800:13872,15046801:13873,15046802:13874,15046809:13875,15046828:13876,15046832:13877,15046835:13878,15046837:13879,15046839:13880,15046841:13881,15046843:13882,15046844:13883,15046845:13884,15046847:13885,15047040:13886,15047041:13887,15047043:13888,15047044:13889,15047046:13890,15047049:13891,15047051:13892,15047053:13893,15047055:13894,15047060:13895,15047070:13896,15047072:13897,15047073:13898,15047074:13899,15047075:13900,15047078:13901,15047081:13902,15047085:13903,15047087:13904,15047089:13905,15047090:13906,15047093:13907,15047300:13908,15047301:13909,15047304:13910,15047307:13911,15047308:13912,15047317:13913,15047321:13914,15047322:13915,15047325:13916,15047326:13917,15047327:13918,15047334:13919,15047335:13920,15047336:13921,15047337:13922,15047339:13923,15047340:13924,15047341:13925,15047345:13926,15047347:13927,15047351:13928,15047358:13929,15047557:13930,15047561:13931,15047562:13932,15047563:13933,15047567:13934,15047568:13935,15047564:13936,15047565:13937,15047577:13938,15047580:13939,15047581:13940,15047583:13941,15047585:13942,15047588:13943,15047589:13944,15047590:13945,15047591:13946,15047592:13947,15047601:13948,15047595:13949,15047597:13950,15047606:14113,15047607:14114,15047809:14115,15047810:14116,15047815:14117,15047818:14118,15047820:14119,15047825:14120,15047829:14121,15047834:14122,15047835:14123,15047837:14124,15047840:14125,15047842:14126,15047843:14127,15047844:14128,15047845:14129,15047849:14130,15047850:14131,15047852:14132,15047854:14133,15047855:14134,15047859:14135,15047860:14136,15047869:14137,15047870:14138,15047871:14139,15048069:14140,15048070:14141,15048076:14142,15048077:14143,15048082:14144,15048098:14145,15048101:14146,15048103:14147,15048104:14148,15048107:14149,15048109:14150,15048110:14151,15048111:14152,15048112:14153,15048113:14154,15048115:14155,15048116:14156,15048117:14157,15048119:14158,15048121:14159,15048122:14160,15048123:14161,15048124:14162,15048126:14163,15048321:14164,15048323:14165,15048332:14166,15048340:14167,15048343:14168,15048345:14169,15048346:14170,15048348:14171,15048349:14172,15048350:14173,15048351:14174,15048353:14175,15048341:14176,15048359:14177,15048360:14178,15048361:14179,15048364:14180,15048376:14181,15048381:14182,15048583:14183,15048584:14184,15048588:14185,15048591:14186,15048597:14187,15048605:14188,15048606:14189,15048612:14190,15048614:14191,15048615:14192,15048617:14193,15048621:14194,15048624:14195,15048629:14196,15048630:14197,15048632:14198,15048637:14199,15048638:14200,15048639:14201,15048835:14202,15048836:14203,15048840:14204,15048841:14205,15048609:14206,15048844:14369,15048845:14370,15048859:14371,15048862:14372,15048863:14373,15048864:14374,15048870:14375,15048871:14376,15048877:14377,15048882:14378,15048889:14379,15048895:14380,15049097:14381,15049100:14382,15049101:14383,15049103:14384,15049104:14385,15049109:14386,15049119:14387,15049121:14388,15049124:14389,15049127:14390,15049128:14391,15049144:14392,15049148:14393,15049151:14394,15049344:14395,15049345:14396,15049351:14397,15049352:14398,15049353:14399,15049354:14400,15049356:14401,15049357:14402,15049359:14403,15049360:14404,15049364:14405,15049366:14406,15049373:14407,15049376:14408,15049377:14409,15049378:14410,15049382:14411,15049385:14412,15049393:14413,15049394:14414,15049604:14415,15049404:14416,15049602:14417,15049608:14418,15049613:14419,15049614:14420,15049616:14421,15049618:14422,15049620:14423,15049622:14424,15049626:14425,15049629:14426,15049633:14427,15049634:14428,15049641:14429,15049651:14430,15049861:14431,15049862:14432,15049867:14433,15049868:14434,15049874:14435,15049875:14436,15049876:14437,15243649:14438,15049885:14439,15049889:14440,15049891:14441,15049892:14442,15049896:14443,15049903:14444,15049904:14445,15049907:14446,15049909:14447,15049910:14448,15049919:14449,15050115:14450,15050118:14451,15050130:14452,15050131:14453,15050137:14454,15050139:14455,15050141:14456,15050142:14457,15050143:14458,15050145:14459,15050147:14460,15050155:14461,15050157:14462,15050159:14625,15050162:14626,15050165:14627,15050166:14628,15050169:14629,15050171:14630,15050172:14631,15050379:14632,15050380:14633,15050382:14634,15050386:14635,15050389:14636,15050391:14637,15050399:14638,15050404:14639,15050407:14640,15050413:14641,15050414:14642,15050415:14643,15050416:14644,15050419:14645,15050423:14646,15050426:14647,15050428:14648,15050625:14649,15050627:14650,15050628:14651,15050632:14652,15050634:14653,15050637:14654,15050642:14655,15050653:14656,15050654:14657,15050655:14658,15050659:14659,15050660:14660,15050663:14661,15050670:14662,15050671:14663,15050673:14664,15050674:14665,15050676:14666,15050679:14667,15050880:14668,15050884:14669,15050892:14670,15050893:14671,15050894:14672,15050898:14673,15050899:14674,15050910:14675,15050915:14676,15050916:14677,15050919:14678,15050920:14679,15050922:14680,15050925:14681,15050928:14682,15051140:14683,15051141:14684,15051143:14685,15051144:14686,15051148:14687,15051152:14688,15051157:14689,15051166:14690,15051171:14691,15051173:14692,15051175:14693,15051181:14694,15051191:14695,15051194:14696,15051195:14697,15051198:14698,15051403:14699,15051408:14700,15051411:14701,15051414:14702,15051417:14703,15051420:14704,15051422:14705,15051423:14706,15051424:14707,15051426:14708,15051431:14709,15051436:14710,15051441:14711,15051442:14712,15051443:14713,15051445:14714,15051448:14715,15051450:14716,15051451:14717,15051455:14718,15051652:14881,15051654:14882,15051656:14883,15051663:14884,15051674:14885,15051676:14886,15051680:14887,15051685:14888,15051690:14889,15051694:14890,15051701:14891,15051702:14892,15051709:14893,15051904:14894,15051905:14895,15051912:14896,15051927:14897,15051956:14898,15051929:14899,15051931:14900,15051933:14901,15051937:14902,15051941:14903,15051949:14904,15051960:14905,15052161:14906,15052171:14907,15052172:14908,15052178:14909,15052182:14910,15052190:14911,15052200:14912,15052206:14913,15052207:14914,15052220:14915,15052221:14916,15052222:14917,15052223:14918,15052417:14919,15052420:14920,15052422:14921,15052426:14922,15052430:14923,15052432:14924,15052433:14925,15052435:14926,15052436:14927,15052438:14928,15052456:14929,15052457:14930,15052460:14931,15052461:14932,15052463:14933,15052465:14934,15052466:14935,15052471:14936,15052474:14937,15052476:14938,15052672:14939,15052673:14940,15052685:14941,15052687:14942,15052694:14943,15052695:14944,15052696:14945,15052697:14946,15052698:14947,15052704:14948,15052719:14949,15052721:14950,15052724:14951,15052733:14952,15052940:14953,15052951:14954,15052958:14955,15052959:14956,15052963:14957,15052966:14958,15052969:14959,15052971:14960,15052972:14961,15052974:14962,15052976:14963,15052978:14964,15052981:14965,15052982:14966,15053209:14967,15053210:14968,15053212:14969,15053218:14970,15053219:14971,15053223:14972,15053224:14973,15053225:14974,15053229:15137,15053232:15138,15053236:15139,15053237:15140,15053242:15141,15053243:15142,15053244:15143,15053245:15144,15053447:15145,15053448:15146,15053450:15147,15053455:15148,15053458:15149,15053469:15150,15053471:15151,15053472:15152,15053474:15153,15053475:15154,15053478:15155,15053482:15156,15053490:15157,15053492:15158,15053493:15159,15053498:15160,15053705:15161,15053707:15162,15053714:15163,15053725:15164,15053719:15165,15053742:15166,15053745:15167,15053746:15168,15053748:15169,15053953:15170,15053958:15171,15053965:15172,15053970:15173,15053995:15174,15053987:15175,15053988:15176,15053990:15177,15053991:15178,15054001:15179,15054004:15180,15054009:15181,15054013:15182,15054015:15183,15054210:15184,15054211:15185,15054214:15186,15054216:15187,15054229:15188,15054225:15189,15054233:15190,15054218:15191,15054239:15192,15054240:15193,15054241:15194,15054242:15195,15054244:15196,15054250:15197,15054253:15198,15054256:15199,15054265:15200,15054266:15201,15054270:15202,15054271:15203,15054465:15204,15054467:15205,15054472:15206,15054474:15207,15054482:15208,15054483:15209,15054484:15210,15054485:15211,15054489:15212,15054491:15213,15054495:15214,15054496:15215,15054503:15216,15054507:15217,15054512:15218,15054516:15219,15054520:15220,15054521:15221,15054723:15222,15054727:15223,15054731:15224,15054736:15225,15054734:15226,15054744:15227,15054745:15228,15054752:15229,15054756:15230,15054761:15393,15054776:15394,15054777:15395,15054976:15396,15054983:15397,15054989:15398,15054994:15399,15054996:15400,15054997:15401,15055e3:15402,15055007:15403,15055008:15404,15055022:15405,15055016:15406,15055026:15407,15055029:15408,15055038:15409,15055243:15410,15055248:15411,15055241:15412,15055249:15413,15055254:15414,15055256:15415,15055259:15416,15055260:15417,15055262:15418,15055272:15419,15055274:15420,15055275:15421,15055276:15422,15055277:15423,15055278:15424,15055280:15425,15055488:15426,15055499:15427,15055502:15428,15055522:15429,15055524:15430,15055525:15431,15055528:15432,15055530:15433,15055532:15434,15055537:15435,15055539:15436,15055549:15437,15055550:15438,15055551:15439,15055750:15440,15055756:15441,15055755:15442,15055758:15443,15055761:15444,15055762:15445,15055764:15446,15055765:15447,15055772:15448,15055774:15449,15055781:15450,15055787:15451,15056002:15452,15056006:15453,15056007:15454,15056008:15455,15056014:15456,15056025:15457,15056028:15458,15056029:15459,15056033:15460,15056034:15461,15056035:15462,15056036:15463,15056040:15464,15056043:15465,15056044:15466,15056046:15467,15056048:15468,15056052:15469,15056054:15470,15056059:15471,15056061:15472,15056063:15473,15056256:15474,15056260:15475,15056261:15476,15056263:15477,15056269:15478,15056272:15479,15056276:15480,15056280:15481,15056283:15482,15056288:15483,15056291:15484,15056292:15485,15056295:15486,15056303:15649,15056306:15650,15056308:15651,15056309:15652,15056312:15653,15056314:15654,15056317:15655,15056318:15656,15056521:15657,15056525:15658,15056527:15659,15056534:15660,15056540:15661,15056541:15662,15056546:15663,15056551:15664,15056555:15665,15056548:15666,15056556:15667,15056559:15668,15056560:15669,15056561:15670,15056568:15671,15056772:15672,15056775:15673,15056776:15674,15056777:15675,15056779:15676,15056784:15677,15056785:15678,15056786:15679,15056787:15680,15056788:15681,15056798:15682,15056801:15683,15056802:15684,15056808:15685,15056809:15686,15056810:15687,15056812:15688,15056813:15689,15056814:15690,15056815:15691,15056818:15692,15056819:15693,15056822:15694,15056826:15695,15056828:15696,15106183:15697,15106186:15698,15106189:15699,15106195:15700,15106196:15701,15106199:15702,15106200:15703,15106202:15704,15106207:15705,15106212:15706,15106221:15707,15106227:15708,15106229:15709,15106432:15710,15106439:15711,15106440:15712,15106441:15713,15106444:15714,15106449:15715,15106452:15716,15106454:15717,15106455:15718,15106461:15719,15106465:15720,15106471:15721,15106481:15722,15106494:15723,15106495:15724,15106690:15725,15106694:15726,15106696:15727,15106698:15728,15106702:15729,15106705:15730,15106707:15731,15106709:15732,15106712:15733,15106717:15734,15106718:15735,15106722:15736,15106724:15737,15106725:15738,15106728:15739,15106736:15740,15106737:15741,15106743:15742,15106747:15905,15106750:15906,15106946:15907,15106948:15908,15106952:15909,15106953:15910,15106954:15911,15106955:15912,15106958:15913,15106959:15914,15106964:15915,15106965:15916,15106969:15917,15106971:15918,15106973:15919,15106974:15920,15106978:15921,15106981:15922,15106994:15923,15106997:15924,15107e3:15925,15107004:15926,15107005:15927,15107202:15928,15107207:15929,15107210:15930,15107212:15931,15107216:15932,15107217:15933,15107218:15934,15107219:15935,15107220:15936,15107222:15937,15107223:15938,15107225:15939,15107228:15940,15107230:15941,15107234:15942,15107242:15943,15107243:15944,15107248:15945,15107249:15946,15107253:15947,15107254:15948,15107255:15949,15107257:15950,15107457:15951,15107461:15952,15107462:15953,15107465:15954,15107486:15955,15107488:15956,15107500:15957,15107506:15958,15107512:15959,15107515:15960,15107516:15961,15107519:15962,15107712:15963,15107713:15964,15107715:15965,15107716:15966,15107723:15967,15107725:15968,15107730:15969,15107731:15970,15107735:15971,15107736:15972,15107740:15973,15107741:15974,15107743:15975,15107744:15976,15107749:15977,15107752:15978,15107754:15979,15107757:15980,15107768:15981,15107769:15982,15107772:15983,15107968:15984,15107969:15985,15107970:15986,15107982:15987,15107983:15988,15107989:15989,15107996:15990,15107997:15991,15107998:15992,15107999:15993,15108001:15994,15108002:15995,15108007:15996,15108009:15997,15108005:15998,15108012:16161,15108013:16162,15108015:16163,15108225:16164,15108227:16165,15108228:16166,15108231:16167,15108243:16168,15108245:16169,15108252:16170,15108256:16171,15108258:16172,15108259:16173,15108263:16174,15108265:16175,15108267:16176,15108281:16177,15108285:16178,15108482:16179,15108483:16180,15108484:16181,15108486:16182,15108492:16183,15108496:16184,15108497:16185,15108498:16186,15108500:16187,15108502:16188,15108506:16189,15108508:16190,15108516:16191,15108525:16192,15108527:16193,15108531:16194,15108538:16195,15108541:16196,15108749:16197,15108750:16198,15108751:16199,15108752:16200,15108774:16201,15108776:16202,15108787:16203,15108790:16204,15108791:16205,15108794:16206,15108798:16207,15108799:16208,15108996:16209,15109006:16210,15109013:16211,15109014:16212,15109018:16213,15109034:16214,15109042:16215,15109044:16216,15109052:16217,15109053:16218,15109251:16219,15109252:16220,15109258:16221,15109259:16222,15109261:16223,15109264:16224,15109267:16225,15109270:16226,15109272:16227,15109289:16228,15109290:16229,15109293:16230,15109301:16231,15109302:16232,15109305:16233,15109308:16234,15109505:16235,15109506:16236,15109507:16237,15109508:16238,15109510:16239,15109514:16240,15109515:16241,15109518:16242,15109522:16243,15109523:16244,15109524:16245,15109528:16246,15109531:16247,15109541:16248,15109542:16249,15109548:16250,15109549:16251,15109553:16252,15109556:16253,15109557:16254,15109560:16417,15109564:16418,15109565:16419,15109567:16420,15109762:16421,15109764:16422,15109767:16423,15109770:16424,15109776:16425,15109780:16426,15109781:16427,15109785:16428,15109786:16429,15109790:16430,15109796:16431,15109798:16432,15109805:16433,15109806:16434,15109807:16435,15109821:16436,15110017:16437,15110021:16438,15110024:16439,15110030:16440,15110033:16441,15110035:16442,15110036:16443,15110037:16444,15110044:16445,15110048:16446,15110053:16447,15110058:16448,15110060:16449,15110066:16450,15110067:16451,15110069:16452,15110072:16453,15110073:16454,15110281:16455,15110282:16456,15110288:16457,15110290:16458,15110292:16459,15110296:16460,15110302:16461,15110304:16462,15110306:16463,15110308:16464,15110309:16465,15110313:16466,15110314:16467,15110319:16468,15110320:16469,15110325:16470,15110333:16471,15110335:16472,15110539:16473,15110543:16474,15110545:16475,15110546:16476,15110547:16477,15110548:16478,15110554:16479,15110555:16480,15110556:16481,15110557:16482,15110559:16483,15110560:16484,15110561:16485,15110563:16486,15110573:16487,15110579:16488,15110580:16489,15110587:16490,15110589:16491,15110789:16492,15110791:16493,15110799:16494,15110800:16495,15110801:16496,15110808:16497,15110809:16498,15110811:16499,15110813:16500,15110815:16501,15110817:16502,15110819:16503,15110822:16504,15110824:16505,15110828:16506,15110835:16507,15110845:16508,15110846:16509,15110847:16510,15111044:16673,15111049:16674,15111050:16675,15111051:16676,15111052:16677,15111054:16678,15111056:16679,15111057:16680,15111061:16681,15111063:16682,15111076:16683,15111077:16684,15111081:16685,15111082:16686,15111085:16687,15111088:16688,15111093:16689,15111095:16690,15111099:16691,15111103:16692,15111297:16693,15111300:16694,15111304:16695,15111305:16696,15111306:16697,15111311:16698,15111315:16699,15111316:16700,15111318:16701,15111321:16702,15111323:16703,15111326:16704,15111327:16705,15111330:16706,15111334:16707,15111337:16708,15111342:16709,15111345:16710,15111354:16711,15111356:16712,15111357:16713,15111555:16714,15111559:16715,15111561:16716,15111568:16717,15111570:16718,15111572:16719,15111583:16720,15111584:16721,15111591:16722,15111595:16723,15111610:16724,15111613:16725,15111809:16726,15111813:16727,15111818:16728,15111826:16729,15111829:16730,15111832:16731,15111837:16732,15111840:16733,15111843:16734,15111846:16735,15111854:16736,15111858:16737,15111859:16738,15111860:16739,15111871:16740,15112066:16741,15112072:16742,15112073:16743,15112078:16744,15112080:16745,15112084:16746,15112086:16747,15112088:16748,15112095:16749,15112112:16750,15112114:16751,15112116:16752,15112117:16753,15112121:16754,15112126:16755,15112127:16756,15112320:16757,15112324:16758,15112328:16759,15112329:16760,15112333:16761,15112337:16762,15112338:16763,15112341:16764,15112342:16765,15112349:16766,15112350:16929,15112353:16930,15112354:16931,15112355:16932,15112356:16933,15112358:16934,15112361:16935,15112362:16936,15112363:16937,15112364:16938,15112366:16939,15112368:16940,15112369:16941,15112371:16942,15112377:16943,15112375:16944,15112576:16945,15112581:16946,15112582:16947,15112586:16948,15112588:16949,15112593:16950,15112590:16951,15112599:16952,15112600:16953,15112601:16954,15112603:16955,15112604:16956,15112608:16957,15112609:16958,15113147:16959,15112618:16960,15112619:16961,15112620:16962,15112638:16963,15112627:16964,15112629:16965,15112639:16966,15112631:16967,15112632:16968,15112633:16969,15112635:16970,15112832:16971,15112636:16972,15112843:16973,15112844:16974,15112845:16975,15112848:16976,15112850:16977,15112857:16978,15112858:16979,15112859:16980,15112860:16981,15112863:16982,15112864:16983,15112868:16984,15112877:16985,15112881:16986,15112882:16987,15112885:16988,15112891:16989,15112895:16990,15113088:16991,15113090:16992,15113091:16993,15113096:16994,15113100:16995,15113102:16996,15113103:16997,15113108:16998,15113115:16999,15113119:17e3,15113128:17001,15113131:17002,15113132:17003,15113134:17004,15113146:17005,15113349:17006,15113351:17007,15113358:17008,15113363:17009,15113369:17010,15113372:17011,15113376:17012,15113378:17013,15113395:17014,15113406:17015,15113605:17016,15113607:17017,15113608:17018,15113612:17019,15113620:17020,15113621:17021,15113629:17022,15113638:17185,15113644:17186,15113646:17187,15113652:17188,15113654:17189,15113659:17190,15113857:17191,15113860:17192,15113870:17193,15113871:17194,15113873:17195,15113875:17196,15113878:17197,15113880:17198,15113881:17199,15113883:17200,15113904:17201,15113905:17202,15113906:17203,15113909:17204,15113915:17205,15113916:17206,15113917:17207,15114169:17208,15114112:17209,15114114:17210,15114115:17211,15114117:17212,15114120:17213,15114121:17214,15114130:17215,15114135:17216,15114137:17217,15114140:17218,15114145:17219,15114150:17220,15114160:17221,15114162:17222,15114166:17223,15114167:17224,15114642:17225,15114388:17226,15114393:17227,15114397:17228,15114399:17229,15114408:17230,15114407:17231,15114412:17232,15114413:17233,15114415:17234,15114416:17235,15114417:17236,15114419:17237,15114427:17238,15114431:17239,15114628:17240,15114629:17241,15114634:17242,15114636:17243,15114645:17244,15114647:17245,15114648:17246,15114651:17247,15114667:17248,15114670:17249,15114671:17250,15114672:17251,15114673:17252,15114674:17253,15114677:17254,15114681:17255,15114682:17256,15114683:17257,15114684:17258,15114882:17259,15114884:17260,15114886:17261,15114888:17262,15114902:17263,15114904:17264,15114906:17265,15114908:17266,15114913:17267,15114915:17268,15114917:17269,15114921:17270,15114922:17271,15114926:17272,15114930:17273,15114939:17274,15115141:17275,15115144:17276,15115148:17277,15115151:17278,15115152:17441,15115153:17442,15115155:17443,15115158:17444,15115161:17445,15115164:17446,15115165:17447,15115173:17448,15115176:17449,15115178:17450,15115179:17451,15115180:17452,15115181:17453,15115184:17454,15115185:17455,15115189:17456,15115190:17457,15115195:17458,15115196:17459,15115197:17460,15115398:17461,15115401:17462,15115402:17463,15115408:17464,15115409:17465,15115411:17466,15115414:17467,15115415:17468,15115441:17469,15115443:17470,15115445:17471,15115448:17472,15115451:17473,15115650:17474,15115653:17475,15115657:17476,15115662:17477,15115671:17478,15115675:17479,15115683:17480,15115684:17481,15115685:17482,15115686:17483,15115688:17484,15115689:17485,15115692:17486,15115696:17487,15115697:17488,15115698:17489,15115706:17490,15115707:17491,15115711:17492,15115904:17493,15115917:17494,15115922:17495,15115926:17496,15115928:17497,15115937:17498,15115941:17499,15115942:17500,15115944:17501,15115947:17502,15115949:17503,15115951:17504,15115959:17505,15115960:17506,15115962:17507,15115964:17508,15116165:17509,15116168:17510,15116177:17511,15116182:17512,15116183:17513,15116194:17514,15116197:17515,15116206:17516,15116207:17517,15116209:17518,15116211:17519,15116213:17520,15116222:17521,15116416:17522,15116417:17523,15116419:17524,15116431:17525,15116433:17526,15116437:17527,15116442:17528,15116445:17529,15116448:17530,15116452:17531,15116456:17532,15116464:17533,15116466:17534,15116468:17697,15116471:17698,15116475:17699,15116478:17700,15116479:17701,15116677:17702,15116678:17703,15116681:17704,15116682:17705,15116686:17706,15116688:17707,15116689:17708,15116690:17709,15116693:17710,15116694:17711,15116699:17712,15116708:17713,15116711:17714,15116714:17715,15116721:17716,15116723:17717,15116734:17718,15116929:17719,15116931:17720,15116934:17721,15116935:17722,15116937:17723,15116939:17724,15116945:17725,15116955:17726,15116957:17727,15116958:17728,15116959:17729,15116965:17730,15116971:17731,15116975:17732,15116976:17733,15116977:17734,15116980:17735,15116989:17736,15116990:17737,15116991:17738,15117190:17739,15117193:17740,15117192:17741,15117196:17742,15117200:17743,15117204:17744,15117205:17745,15117206:17746,15117212:17747,15117213:17748,15117220:17749,15117223:17750,15117228:17751,15117232:17752,15117233:17753,15117234:17754,15117244:17755,15117245:17756,15117442:17757,15117443:17758,15117446:17759,15117447:17760,15117449:17761,15117455:17762,15117456:17763,15117457:17764,15117463:17765,15117467:17766,15117470:17767,15117476:17768,15117480:17769,15117483:17770,15117484:17771,15117487:17772,15117493:17773,15117494:17774,15117499:17775,15117503:17776,15117702:17777,15117706:17778,15117709:17779,15117714:17780,15117718:17781,15117720:17782,15117725:17783,15117728:17784,15117735:17785,15117739:17786,15117742:17787,15117744:17788,15117749:17789,15117757:17790,15117758:17953,15117954:17954,15117957:17955,15117975:17956,15117979:17957,15117983:17958,15117984:17959,15117986:17960,15117987:17961,15117992:17962,15117993:17963,15117996:17964,15117997:17965,15117998:17966,15118e3:17967,15118008:17968,15118009:17969,15118013:17970,15118014:17971,15118211:17972,15118212:17973,15118217:17974,15118220:17975,15118230:17976,15118234:17977,15118241:17978,15118243:17979,15118246:17980,15118247:17981,15118254:17982,15118257:17983,15118263:17984,15118265:17985,15118271:17986,15118466:17987,15118468:17988,15118469:17989,15118473:17990,15118477:17991,15118478:17992,15118480:17993,15118482:17994,15118489:17995,15118495:17996,15118502:17997,15118503:17998,15118504:17999,15118508:18e3,15118510:18001,15118515:18002,15118517:18003,15118518:18004,15118522:18005,15118523:18006,15118527:18007,15118730:18008,15118731:18009,15118733:18010,15118735:18011,15118738:18012,15118740:18013,15118745:18014,15118747:18015,15118748:18016,15118763:18017,15118765:18018,15118767:18019,15118772:18020,15118774:18021,15118776:18022,15118777:18023,15118779:18024,15118981:18025,15118982:18026,15118983:18027,15118985:18028,15118996:18029,15118997:18030,15118999:18031,15119e3:18032,15119004:18033,15119007:18034,15119024:18035,15119026:18036,15119028:18037,15119234:18038,15119238:18039,15119245:18040,15119247:18041,15119248:18042,15119249:18043,15119250:18044,15119252:18045,15119254:18046,15119258:18209,15119260:18210,15119264:18211,15119271:18212,15119273:18213,15119275:18214,15119276:18215,15119278:18216,15119282:18217,15119284:18218,15119492:18219,15119495:18220,15119498:18221,15119502:18222,15119503:18223,15119505:18224,15119507:18225,15119514:18226,15119526:18227,15119527:18228,15119528:18229,15118759:18230,15119534:18231,15119535:18232,15119537:18233,15119545:18234,15119548:18235,15119551:18236,15119767:18237,15119774:18238,15119775:18239,15119777:18240,15119781:18241,15119783:18242,15119791:18243,15119792:18244,15119804:18245,15120002:18246,15120007:18247,15120017:18248,15120018:18249,15120020:18250,15120022:18251,15120023:18252,15120024:18253,15120042:18254,15120044:18255,15120052:18256,15120055:18257,15120057:18258,15120061:18259,15120063:18260,15120260:18261,15120264:18262,15120266:18263,15120270:18264,15120271:18265,15120278:18266,15120283:18267,15120285:18268,15120287:18269,15120288:18270,15120290:18271,15120293:18272,15120297:18273,15120303:18274,15120304:18275,15120308:18276,15120310:18277,15120316:18278,15120512:18279,15120516:18280,15120542:18281,15120546:18282,15120551:18283,15120562:18284,15120566:18285,15120569:18286,15120571:18287,15120572:18288,15120772:18289,15120773:18290,15120776:18291,15120777:18292,15120779:18293,15120783:18294,15120785:18295,15120786:18296,15120787:18297,15120788:18298,15120791:18299,15120796:18300,15120797:18301,15120798:18302,15120802:18465,15120803:18466,15120808:18467,15120819:18468,15120827:18469,15120829:18470,15121037:18471,15121043:18472,15121049:18473,15121056:18474,15121063:18475,15121069:18476,15121070:18477,15121073:18478,15121075:18479,15121083:18480,15121087:18481,15121280:18482,15121281:18483,15121283:18484,15121287:18485,15121288:18486,15121290:18487,15121293:18488,15121294:18489,15121295:18490,15121323:18491,15121325:18492,15121326:18493,15121337:18494,15121339:18495,15121341:18496,15121540:18497,15121544:18498,15121546:18499,15121548:18500,15121549:18501,15121558:18502,15121560:18503,15121562:18504,15121563:18505,15121574:18506,15121577:18507,15121578:18508,15121583:18509,15121584:18510,15121587:18511,15121590:18512,15121595:18513,15121596:18514,15121581:18515,15121807:18516,15121809:18517,15121810:18518,15121811:18519,15121815:18520,15121817:18521,15121818:18522,15121821:18523,15121822:18524,15121825:18525,15121826:18526,15121832:18527,15121836:18528,15121853:18529,15121854:18530,15122051:18531,15122055:18532,15122056:18533,15122059:18534,15122060:18535,15122061:18536,15122064:18537,15122066:18538,15122067:18539,15122068:18540,15122070:18541,15122074:18542,15122079:18543,15122080:18544,15122085:18545,15122086:18546,15122087:18547,15122088:18548,15122094:18549,15122095:18550,15122096:18551,15122101:18552,15122102:18553,15122108:18554,15122309:18555,15122311:18556,15122312:18557,15122314:18558,15122330:18721,15122334:18722,15122344:18723,15122345:18724,15122352:18725,15122357:18726,15122361:18727,15122364:18728,15122365:18729,15171712:18730,15171717:18731,15171718:18732,15171719:18733,15171725:18734,15171735:18735,15171744:18736,15171747:18737,15171759:18738,15171764:18739,15171767:18740,15171769:18741,15171772:18742,15171971:18743,15171972:18744,15171976:18745,15171977:18746,15171978:18747,15171979:18748,15171988:18749,15171989:18750,15171997:18751,15171998:18752,15171982:18753,15172004:18754,15172005:18755,15172012:18756,15172014:18757,15172021:18758,15172022:18759,15172030:18760,15172225:18761,15172229:18762,15172230:18763,15172244:18764,15172245:18765,15172246:18766,15172247:18767,15172248:18768,15172251:18769,15172260:18770,15172267:18771,15172272:18772,15172273:18773,15172276:18774,15172279:18775,15172490:18776,15172497:18777,15172499:18778,15172500:18779,15172501:18780,15172502:18781,15172504:18782,15172508:18783,15172516:18784,15172538:18785,15172739:18786,15172740:18787,15172741:18788,15172742:18789,15172743:18790,15172747:18791,15172748:18792,15172751:18793,15172766:18794,15172768:18795,15172779:18796,15172781:18797,15172783:18798,15172784:18799,15172785:18800,15172792:18801,15172993:18802,15172997:18803,15172998:18804,15172999:18805,15173002:18806,15173003:18807,15173008:18808,15173010:18809,15173015:18810,15173018:18811,15173020:18812,15173022:18813,15173024:18814,15173032:18977,15173049:18978,15173248:18979,15173253:18980,15173255:18981,15173260:18982,15173266:18983,15173274:18984,15173275:18985,15173280:18986,15173282:18987,15173295:18988,15173296:18989,15173298:18990,15173299:18991,15173306:18992,15173311:18993,15173504:18994,15173505:18995,15173508:18996,15173515:18997,15173516:18998,15173523:18999,15173526:19e3,15173529:19001,15173530:19002,15173532:19003,15173560:19004,15173566:19005,15173760:19006,15173767:19007,15173768:19008,15173769:19009,15173779:19010,15173783:19011,15173786:19012,15173789:19013,15173791:19014,15173796:19015,15173803:19016,15173807:19017,15173812:19018,15173816:19019,15173817:19020,15174017:19021,15174018:19022,15174019:19023,15174021:19024,15174030:19025,15174031:19026,15174032:19027,15174035:19028,15174037:19029,15174038:19030,15174042:19031,15174044:19032,15174046:19033,15174048:19034,15174051:19035,15174056:19036,15174059:19037,15174062:19038,15174063:19039,15174065:19040,15174071:19041,15174072:19042,15174075:19043,15174076:19044,15174079:19045,15174276:19046,15174281:19047,15174285:19048,15174286:19049,15174291:19050,15174299:19051,15174312:19052,15174317:19053,15174318:19054,15174321:19055,15174324:19056,15174334:19057,15174529:19058,15174535:19059,15174537:19060,15174540:19061,15174549:19062,15174550:19063,15174552:19064,15174559:19065,15174565:19066,15174579:19067,15174580:19068,15174586:19069,15174587:19070,15174590:19233,15174786:19234,15174788:19235,15174789:19236,15174791:19237,15174795:19238,15174797:19239,15174802:19240,15174803:19241,15174808:19242,15174809:19243,15174814:19244,15174818:19245,15174820:19246,15174823:19247,15174824:19248,15174828:19249,15174833:19250,15174834:19251,15174837:19252,15174842:19253,15174843:19254,15174845:19255,15175043:19256,15175053:19257,15175056:19258,15175058:19259,15175062:19260,15175064:19261,15175069:19262,15175070:19263,15175071:19264,15175072:19265,15175078:19266,15175079:19267,15175081:19268,15175083:19269,15175084:19270,15175086:19271,15175087:19272,15175089:19273,15175095:19274,15175097:19275,15175100:19276,15175296:19277,15175297:19278,15175299:19279,15175301:19280,15175302:19281,15175310:19282,15175312:19283,15175315:19284,15175317:19285,15175319:19286,15175320:19287,15175324:19288,15175326:19289,15175327:19290,15175328:19291,15175330:19292,15175333:19293,15175334:19294,15175338:19295,15175339:19296,15175341:19297,15175349:19298,15175351:19299,15175353:19300,15175356:19301,15175357:19302,15175359:19303,15175557:19304,15175558:19305,15175561:19306,15175563:19307,15175564:19308,15175567:19309,15175570:19310,15175571:19311,15175574:19312,15175577:19313,15175581:19314,15175585:19315,15175587:19316,15175590:19317,15175591:19318,15175593:19319,15175604:19320,15175605:19321,15175607:19322,15175609:19323,15175610:19324,15175611:19325,15175613:19326,15175615:19489,15175808:19490,15175809:19491,15175812:19492,15175815:19493,15175818:19494,15175825:19495,15175834:19496,15175835:19497,15175844:19498,15175846:19499,15175848:19500,15175849:19501,15175850:19502,15175851:19503,15175852:19504,15175853:19505,15175854:19506,15175855:19507,15175856:19508,15175857:19509,15175865:19510,15176064:19511,15176067:19512,15176068:19513,15176070:19514,15176071:19515,15176075:19516,15176077:19517,15176081:19518,15176082:19519,15176087:19520,15176093:19521,15176098:19522,15176102:19523,15176103:19524,15176104:19525,15176107:19526,15176109:19527,15176110:19528,15176113:19529,15176114:19530,15176320:19531,15176321:19532,15176325:19533,15176326:19534,15176327:19535,15176329:19536,15176335:19537,15176336:19538,15176337:19539,15176338:19540,15176344:19541,15176345:19542,15176346:19543,15176348:19544,15176351:19545,15176352:19546,15176353:19547,15176355:19548,15176358:19549,15176360:19550,15176361:19551,15176362:19552,15176363:19553,15176366:19554,15176367:19555,15176369:19556,15176370:19557,15176373:19558,15176377:19559,15176379:19560,15176383:19561,15176584:19562,15176585:19563,15176588:19564,15176592:19565,15176595:19566,15176600:19567,15176602:19568,15176603:19569,15176606:19570,15176607:19571,15176612:19572,15176616:19573,15176618:19574,15176619:19575,15176623:19576,15176628:19577,15176634:19578,15176635:19579,15176636:19580,15176639:19581,15176838:19582,15176850:19745,15176854:19746,15176855:19747,15176864:19748,15176865:19749,15176868:19750,15176871:19751,15176873:19752,15176874:19753,15176879:19754,15176886:19755,15176889:19756,15176893:19757,15176894:19758,15176895:19759,15177088:19760,15177091:19761,15177095:19762,15177096:19763,15177102:19764,15177104:19765,15177106:19766,15177111:19767,15177118:19768,15177119:19769,15177121:19770,15177135:19771,15177137:19772,15177145:19773,15177146:19774,15177147:19775,15177148:19776,15177149:19777,15177150:19778,15177345:19779,15177349:19780,15177360:19781,15177362:19782,15177363:19783,15177365:19784,15177369:19785,15177372:19786,15177378:19787,15177380:19788,15177396:19789,15177402:19790,15177407:19791,15177600:19792,15177601:19793,15177604:19794,15177606:19795,15177612:19796,15177614:19797,15177615:19798,15177623:19799,15177628:19800,15177631:19801,15177632:19802,15177633:19803,15177636:19804,15177639:19805,15177644:19806,15177646:19807,15177647:19808,15177649:19809,15177657:19810,15177856:19811,15177858:19812,15177859:19813,15177860:19814,15177863:19815,15177864:19816,15177866:19817,15177868:19818,15177871:19819,15177874:19820,15177875:19821,15177877:19822,15177878:19823,15177881:19824,15177883:19825,15177884:19826,15177885:19827,15177886:19828,15177891:19829,15177893:19830,15177894:19831,15177897:19832,15177901:19833,15177906:19834,15177907:19835,15177909:19836,15177912:19837,15177913:19838,15177914:20001,15177916:20002,15178122:20003,15178112:20004,15178113:20005,15178115:20006,15178116:20007,15178117:20008,15178121:20009,15178123:20010,15178133:20011,15178137:20012,15178143:20013,15178148:20014,15178149:20015,15178157:20016,15178158:20017,15178159:20018,15178161:20019,15178164:20020,15178369:20021,15178373:20022,15178380:20023,15178381:20024,15178389:20025,15178395:20026,15178396:20027,15178397:20028,15178399:20029,15178400:20030,15178402:20031,15178403:20032,15178404:20033,15178405:20034,15178406:20035,15178407:20036,15178408:20037,15178410:20038,15178413:20039,15178429:20040,15178625:20041,15178629:20042,15178633:20043,15178635:20044,15178636:20045,15178638:20046,15178644:20047,15178649:20048,15178656:20049,15178662:20050,15178664:20051,15178668:20052,15178672:20053,15178673:20054,15178678:20055,15178681:20056,15178684:20057,15178880:20058,15178886:20059,15178890:20060,15178894:20061,15178898:20062,15178900:20063,15178901:20064,15178903:20065,15178905:20066,15178906:20067,15178908:20068,15178914:20069,15178920:20070,15178925:20071,15178926:20072,15178927:20073,15178932:20074,15178933:20075,15178934:20076,15178937:20077,15178941:20078,15178942:20079,15179138:20080,15179141:20081,15179142:20082,15179146:20083,15179149:20084,15179150:20085,15179151:20086,15179154:20087,15179158:20088,15179159:20089,15179164:20090,15179166:20091,15179167:20092,15179168:20093,15179170:20094,15179172:20257,15179175:20258,15179178:20259,15179180:20260,15179184:20261,15179186:20262,15179187:20263,15179188:20264,15179194:20265,15179197:20266,15179392:20267,15179396:20268,15179404:20269,15179405:20270,15179412:20271,15179413:20272,15179414:20273,15179418:20274,15179423:20275,15179426:20276,15179431:20277,15179434:20278,15179438:20279,15179439:20280,15179441:20281,15179445:20282,15179454:20283,15179651:20284,15179657:20285,15179665:20286,15179666:20287,15179669:20288,15179673:20289,15179678:20290,15179679:20291,15179680:20292,15179684:20293,15179686:20294,15179690:20295,15179692:20296,15179696:20297,15179697:20298,15179700:20299,15179704:20300,15179707:20301,15179909:20302,15179910:20303,15179913:20304,15179917:20305,15179918:20306,15179921:20307,15179933:20308,15179937:20309,15179938:20310,15179939:20311,15179949:20312,15179950:20313,15179952:20314,15179957:20315,15179959:20316,15180163:20317,15180164:20318,15180167:20319,15180168:20320,15180172:20321,15180174:20322,15180178:20323,15180188:20324,15180190:20325,15180192:20326,15180193:20327,15180195:20328,15180196:20329,15180200:20330,15180202:20331,15180206:20332,15180218:20333,15180222:20334,15180426:20335,15180431:20336,15180436:20337,15180440:20338,15180449:20339,15180445:20340,15180446:20341,15180447:20342,15180452:20343,15180456:20344,15180460:20345,15180461:20346,15180464:20347,15180465:20348,15180466:20349,15180467:20350,15180475:20513,15180477:20514,15180479:20515,15180679:20516,15180680:20517,15180681:20518,15180684:20519,15180686:20520,15180690:20521,15180691:20522,15180693:20523,15180694:20524,15180708:20525,15180699:20526,15180703:20527,15180704:20528,15180705:20529,15180710:20530,15180714:20531,15180722:20532,15180723:20533,15180928:20534,15180726:20535,15180727:20536,15180730:20537,15180731:20538,15180735:20539,15180934:20540,15180940:20541,15180944:20542,15180954:20543,15180956:20544,15180958:20545,15180959:20546,15180960:20547,15180965:20548,15180967:20549,15180969:20550,15180973:20551,15180977:20552,15180980:20553,15180981:20554,15180987:20555,15180989:20556,15180991:20557,15181188:20558,15181189:20559,15181190:20560,15181194:20561,15181195:20562,15181199:20563,15181201:20564,15181204:20565,15181208:20566,15181211:20567,15181212:20568,15181223:20569,15181225:20570,15181227:20571,15181234:20572,15181241:20573,15181243:20574,15181244:20575,15181246:20576,15181451:20577,15181452:20578,15181457:20579,15181459:20580,15181460:20581,15181461:20582,15181462:20583,15181464:20584,15181467:20585,15181468:20586,15181473:20587,15181480:20588,15181481:20589,15181483:20590,15181487:20591,15181489:20592,15181492:20593,15181496:20594,15181499:20595,15181698:20596,15181700:20597,15181703:20598,15181704:20599,15181706:20600,15181711:20601,15181716:20602,15181718:20603,15181722:20604,15181725:20605,15181726:20606,15181728:20769,15181730:20770,15181733:20771,15181738:20772,15181739:20773,15181741:20774,15181745:20775,15181752:20776,15181756:20777,15181954:20778,15181955:20779,15181959:20780,15181961:20781,15181962:20782,15181964:20783,15181969:20784,15181973:20785,15181979:20786,15181982:20787,15181985:20788,15181991:20789,15181995:20790,15181997:20791,15181999:20792,15182e3:20793,15182004:20794,15182005:20795,15182008:20796,15182009:20797,15182010:20798,15182212:20799,15182213:20800,15182215:20801,15182216:20802,15182220:20803,15182229:20804,15182230:20805,15182233:20806,15182236:20807,15182237:20808,15182239:20809,15182240:20810,15182245:20811,15182247:20812,15182250:20813,15182253:20814,15182261:20815,15182264:20816,15182270:20817,15182464:20818,15182466:20819,15182469:20820,15182470:20821,15182474:20822,15182475:20823,15182480:20824,15182481:20825,15182484:20826,15182494:20827,15182496:20828,15182499:20829,15182508:20830,15182515:20831,15182517:20832,15182521:20833,15182523:20834,15182524:20835,15182726:20836,15182729:20837,15182732:20838,15182734:20839,15182737:20840,15182747:20841,15182760:20842,15182761:20843,15182763:20844,15182764:20845,15182769:20846,15182772:20847,15182779:20848,15182781:20849,15182782:20850,15182983:20851,15182996:20852,15183007:20853,15183011:20854,15183015:20855,15183017:20856,15183018:20857,15183019:20858,15183021:20859,15183022:20860,15183023:20861,15183024:20862,15183025:21025,15183028:21026,15183037:21027,15183039:21028,15183232:21029,15183233:21030,15183239:21031,15183246:21032,15183253:21033,15183264:21034,15183268:21035,15183270:21036,15183273:21037,15183274:21038,15183277:21039,15183279:21040,15183282:21041,15183283:21042,15183287:21043,15183492:21044,15183497:21045,15183502:21046,15183504:21047,15183505:21048,15183510:21049,15183515:21050,15183518:21051,15183520:21052,15183525:21053,15183532:21054,15183535:21055,15183536:21056,15183538:21057,15183541:21058,15183542:21059,15183546:21060,15183547:21061,15183548:21062,15183549:21063,15183746:21064,15183749:21065,15183752:21066,15183754:21067,15183764:21068,15183766:21069,15183767:21070,15183769:21071,15183770:21072,15183771:21073,15183784:21074,15183786:21075,15183794:21076,15183796:21077,15183797:21078,15183800:21079,15183801:21080,15183802:21081,15183804:21082,15183806:21083,15184001:21084,15184002:21085,15184003:21086,15184004:21087,15184006:21088,15184009:21089,15184011:21090,15184012:21091,15184014:21092,15184015:21093,15184025:21094,15184027:21095,15184032:21096,15184037:21097,15184038:21098,15184040:21099,15184044:21100,15184049:21101,15184051:21102,15184052:21103,15184054:21104,15184057:21105,15184058:21106,15184262:21107,15184266:21108,15184277:21109,15184273:21110,15184274:21111,15184275:21112,15184281:21113,15184282:21114,15184283:21115,15184284:21116,15184285:21117,15184286:21118,15184289:21281,15184291:21282,15184295:21283,15184297:21284,15184301:21285,15184302:21286,15184304:21287,15184306:21288,15184313:21289,15184316:21290,15184317:21291,15184518:21292,15184519:21293,15184527:21294,15184532:21295,15184542:21296,15184544:21297,15184550:21298,15184560:21299,15184566:21300,15184567:21301,15184570:21302,15184571:21303,15184572:21304,15184575:21305,15184772:21306,15184775:21307,15184776:21308,15184777:21309,15184781:21310,15184783:21311,15184787:21312,15184788:21313,15184789:21314,15184791:21315,15184793:21316,15184794:21317,15184797:21318,15184806:21319,15184809:21320,15184811:21321,15184821:21322,15185027:21323,15185031:21324,15185032:21325,15185033:21326,15185039:21327,15185041:21328,15185042:21329,15185043:21330,15185046:21331,15185053:21332,15185054:21333,15185059:21334,15185062:21335,15185066:21336,15185069:21337,15185073:21338,15185084:21339,15185085:21340,15185086:21341,15185280:21342,15185281:21343,15185287:21344,15185288:21345,15185293:21346,15185297:21347,15185299:21348,15185303:21349,15185305:21350,15185306:21351,15185308:21352,15185309:21353,15185317:21354,15185319:21355,15185322:21356,15185328:21357,15185336:21358,15185338:21359,15185339:21360,15185343:21361,15185537:21362,15185538:21363,15185539:21364,15185541:21365,15185542:21366,15185544:21367,15185547:21368,15185548:21369,15185549:21370,15185553:21371,15185558:21372,15185559:21373,15185565:21374,15185566:21537,15185574:21538,15185575:21539,15185578:21540,15185587:21541,15185590:21542,15185591:21543,15185593:21544,15185794:21545,15185795:21546,15185796:21547,15185797:21548,15185798:21549,15185804:21550,15185805:21551,15185806:21552,15185815:21553,15185817:21554,15186048:21555,15185826:21556,15185829:21557,15185830:21558,15185834:21559,15185835:21560,15185837:21561,15185841:21562,15185845:21563,15185846:21564,15185849:21565,15185850:21566,15186056:21567,15186064:21568,15186065:21569,15186069:21570,15186071:21571,15186076:21572,15186077:21573,15186080:21574,15186087:21575,15186088:21576,15186092:21577,15186093:21578,15186095:21579,15186099:21580,15186102:21581,15186111:21582,15186308:21583,15186309:21584,15186311:21585,15186318:21586,15186320:21587,15186322:21588,15186328:21589,15186335:21590,15186337:21591,15186338:21592,15186341:21593,15186347:21594,15186350:21595,15186351:21596,15186355:21597,15186360:21598,15186366:21599,15186561:21600,15186566:21601,15186567:21602,15186570:21603,15186573:21604,15186577:21605,15186581:21606,15186584:21607,15186586:21608,15186589:21609,15186590:21610,15187132:21611,15187131:21612,15187133:21613,15187134:21614,15187135:21615,15187331:21616,15187332:21617,15187335:21618,15187343:21619,15187346:21620,15187347:21621,15187355:21622,15187356:21623,15187357:21624,15187361:21625,15187363:21626,15187364:21627,15187365:21628,15187366:21629,15187373:21630,15187377:21793,15187389:21794,15187390:21795,15187391:21796,15187584:21797,15187595:21798,15187597:21799,15187599:21800,15187600:21801,15187601:21802,15187606:21803,15187607:21804,15187612:21805,15187617:21806,15187618:21807,15187622:21808,15187626:21809,15187629:21810,15187636:21811,15187644:21812,15187647:21813,15187840:21814,15187843:21815,15187848:21816,15187854:21817,15187855:21818,15187867:21819,15187871:21820,15187875:21821,15187877:21822,15187880:21823,15187884:21824,15187886:21825,15187887:21826,15187890:21827,15187898:21828,15187901:21829,15187902:21830,15187903:21831,15237255:21832,15237256:21833,15237258:21834,15237261:21835,15237262:21836,15237263:21837,15237265:21838,15237267:21839,15237268:21840,15237270:21841,15237277:21842,15237278:21843,15237279:21844,15237280:21845,15237284:21846,15237286:21847,15237292:21848,15237294:21849,15237296:21850,15237300:21851,15237301:21852,15237303:21853,15237305:21854,15237306:21855,15237308:21856,15237310:21857,15237504:21858,15237508:21859,15237536:21860,15237540:21861,15237542:21862,15237549:21863,15237553:21864,15237557:21865,15237761:21866,15237768:21867,15237774:21868,15237788:21869,15237790:21870,15237798:21871,15237799:21872,15237803:21873,15237816:21874,15237817:21875,15238024:21876,15238029:21877,15238031:21878,15238034:21879,15238036:21880,15238037:21881,15238039:21882,15238040:21883,15238048:21884,15238061:21885,15238062:21886,15238064:22049,15238066:22050,15238067:22051,15238070:22052,15238073:22053,15238074:22054,15238078:22055,15238275:22056,15238283:22057,15238294:22058,15238295:22059,15238296:22060,15238300:22061,15238302:22062,15238304:22063,15238308:22064,15238311:22065,15238316:22066,15238320:22067,15238325:22068,15238330:22069,15238332:22070,15238533:22071,15238535:22072,15238538:22073,15238540:22074,15238546:22075,15238551:22076,15238560:22077,15238561:22078,15238567:22079,15238568:22080,15238569:22081,15238573:22082,15238575:22083,15238583:22084,15238785:22085,15238800:22086,15238788:22087,15238789:22088,15238790:22089,15238795:22090,15238798:22091,15238806:22092,15238808:22093,15238811:22094,15238814:22095,15238818:22096,15238830:22097,15238834:22098,15238836:22099,15238843:22100,15239051:22101,15239043:22102,15239045:22103,15239050:22104,15239054:22105,15239055:22106,15239061:22107,15239063:22108,15239067:22109,15239069:22110,15239070:22111,15239073:22112,15239076:22113,15239083:22114,15239084:22115,15239088:22116,15239089:22117,15239090:22118,15239093:22119,15239094:22120,15239096:22121,15239097:22122,15239101:22123,15239103:22124,15239296:22125,15239299:22126,15239311:22127,15239315:22128,15239316:22129,15239321:22130,15239322:22131,15239325:22132,15239329:22133,15239330:22134,15239336:22135,15239346:22136,15239348:22137,15239354:22138,15239555:22139,15239556:22140,15239557:22141,15239558:22142,15239563:22305,15239566:22306,15239567:22307,15239569:22308,15239574:22309,15239580:22310,15239584:22311,15239587:22312,15239591:22313,15239597:22314,15239604:22315,15239611:22316,15239613:22317,15239615:22318,15239808:22319,15239809:22320,15239811:22321,15239812:22322,15239815:22323,15239817:22324,15239818:22325,15239822:22326,15239825:22327,15239828:22328,15239830:22329,15239832:22330,15239834:22331,15239835:22332,15239840:22333,15239841:22334,15239843:22335,15239844:22336,15239847:22337,15239848:22338,15239849:22339,15239850:22340,15239854:22341,15239856:22342,15239858:22343,15239860:22344,15239863:22345,15239866:22346,15239868:22347,15239870:22348,15239871:22349,15240070:22350,15240080:22351,15240085:22352,15240090:22353,15240096:22354,15240098:22355,15240100:22356,15240104:22357,15240106:22358,15240109:22359,15240111:22360,15240118:22361,15240119:22362,15240125:22363,15240126:22364,15240320:22365,15240321:22366,15240327:22367,15240328:22368,15240330:22369,15240331:22370,15240596:22371,15240347:22372,15240349:22373,15240350:22374,15240351:22375,15240353:22376,15240354:22377,15240364:22378,15240365:22379,15240366:22380,15240368:22381,15240371:22382,15240375:22383,15240378:22384,15240380:22385,15240381:22386,15240578:22387,15240579:22388,15240580:22389,15240583:22390,15240589:22391,15240590:22392,15240593:22393,15240597:22394,15240598:22395,15240599:22396,15240624:22397,15240632:22398,15240637:22561,15240639:22562,15240832:22563,15240834:22564,15240836:22565,15240838:22566,15240845:22567,15240850:22568,15240852:22569,15240853:22570,15240856:22571,15240857:22572,15240859:22573,15240860:22574,15240861:22575,15240870:22576,15240871:22577,15240873:22578,15240876:22579,15240894:22580,15240895:22581,15241088:22582,15241095:22583,15241097:22584,15241103:22585,15241104:22586,15241105:22587,15241108:22588,15241117:22589,15240595:22590,15241128:22591,15241130:22592,15241142:22593,15241144:22594,15241145:22595,15241148:22596,15241345:22597,15241350:22598,15241354:22599,15241359:22600,15241361:22601,15241365:22602,15241369:22603,15240877:22604,15241391:22605,15241401:22606,15241605:22607,15241607:22608,15241608:22609,15241610:22610,15241613:22611,15241615:22612,15241617:22613,15241618:22614,15241622:22615,15241624:22616,15241625:22617,15241626:22618,15241628:22619,15241632:22620,15241636:22621,15241637:22622,15241639:22623,15241642:22624,15241648:22625,15241651:22626,15241652:22627,15241654:22628,15241656:22629,15241660:22630,15241661:22631,15241857:22632,15241861:22633,15241874:22634,15241875:22635,15241877:22636,15241886:22637,15241894:22638,15241896:22639,15241897:22640,15241898:22641,15241903:22642,15241905:22643,15241908:22644,15241914:22645,15241917:22646,15241918:22647,15242112:22648,15242114:22649,15242119:22650,15242120:22651,15242124:22652,15242127:22653,15242131:22654,15242140:22817,15242151:22818,15242154:22819,15242159:22820,15242160:22821,15242161:22822,15242162:22823,15242167:22824,15242418:22825,15242170:22826,15242171:22827,15242173:22828,15242370:22829,15242371:22830,15242375:22831,15242380:22832,15242382:22833,15242384:22834,15242396:22835,15242398:22836,15242402:22837,15242403:22838,15242404:22839,15242405:22840,15242407:22841,15242410:22842,15242411:22843,15242415:22844,15242419:22845,15242420:22846,15242422:22847,15242431:22848,15242630:22849,15242639:22850,15242640:22851,15242641:22852,15242642:22853,15242643:22854,15242646:22855,15242649:22856,15242652:22857,15242653:22858,15242654:22859,15242655:22860,15242656:22861,15242657:22862,15242658:22863,15242660:22864,15242667:22865,15242671:22866,15242681:22867,15242682:22868,15242683:22869,15242685:22870,15242687:22871,15242881:22872,15242885:22873,15242886:22874,15242889:22875,15242891:22876,15242892:22877,15242895:22878,15242899:22879,15242904:22880,15242909:22881,15242911:22882,15242912:22883,15242914:22884,15242917:22885,15242919:22886,15242932:22887,15242934:22888,15242935:22889,15242936:22890,15242940:22891,15242941:22892,15242942:22893,15242943:22894,15243138:22895,15243143:22896,15243146:22897,15243147:22898,15243150:22899,15242925:22900,15243160:22901,15243162:22902,15243167:22903,15243168:22904,15243174:22905,15243176:22906,15243181:22907,15243187:22908,15243190:22909,15243196:22910,15243199:23073,15243392:23074,15243396:23075,15243397:23076,15243405:23077,15243406:23078,15243408:23079,15243409:23080,15243410:23081,15243416:23082,15243417:23083,15243419:23084,15243422:23085,15243425:23086,15243431:23087,15243433:23088,15243446:23089,15243448:23090,15243450:23091,15243452:23092,15243453:23093,15243648:23094,15243650:23095,15243654:23096,15243666:23097,15243667:23098,15243670:23099,15243671:23100,15243672:23101,15243673:23102,15243677:23103,15243680:23104,15243681:23105,15243682:23106,15243683:23107,15243684:23108,15243689:23109,15243692:23110,15243695:23111,15243701:23112,15243702:23113,15243703:23114,15243706:23115,15243917:23116,15243921:23117,15243926:23118,15243928:23119,15243930:23120,15243932:23121,15243937:23122,15243942:23123,15243943:23124,15243944:23125,15243949:23126,15243953:23127,15243955:23128,15243956:23129,15243957:23130,15243959:23131,15243960:23132,15243961:23133,15243967:23134,15244160:23135,15244161:23136,15244163:23137,15244165:23138,15244177:23139,15244178:23140,15244181:23141,15244183:23142,15244186:23143,15244188:23144,15244192:23145,15244195:23146,15244197:23147,15244199:23148,15243912:23149,15244218:23150,15244220:23151,15244221:23152,15244420:23153,15244421:23154,15244423:23155,15244427:23156,15244430:23157,15244431:23158,15244432:23159,15244435:23160,15244436:23161,15244441:23162,15244446:23163,15244447:23164,15244449:23165,15244451:23166,15244456:23329,15244462:23330,15244463:23331,15244465:23332,15244466:23333,15244473:23334,15244474:23335,15244476:23336,15244477:23337,15244478:23338,15244672:23339,15244675:23340,15244677:23341,15244685:23342,15244696:23343,15244701:23344,15244705:23345,15244708:23346,15244709:23347,15244719:23348,15244721:23349,15244722:23350,15244731:23351,15244931:23352,15244932:23353,15244933:23354,15244934:23355,15244935:23356,15244936:23357,15244937:23358,15244939:23359,15244940:23360,15244944:23361,15244947:23362,15244949:23363,15244951:23364,15244952:23365,15244953:23366,15244958:23367,15244960:23368,15244963:23369,15244967:23370,15244972:23371,15244973:23372,15244974:23373,15244977:23374,15244981:23375,15244990:23376,15244991:23377,15245185:23378,15245192:23379,15245193:23380,15245194:23381,15245198:23382,15245205:23383,15245206:23384,15245209:23385,15245210:23386,15245212:23387,15245215:23388,15245218:23389,15245219:23390,15245220:23391,15245226:23392,15245227:23393,15245229:23394,15245233:23395,15245235:23396,15245240:23397,15245242:23398,15245247:23399,15245441:23400,15245443:23401,15245446:23402,15245449:23403,15245450:23404,15245451:23405,15245456:23406,15245465:23407,15245458:23408,15245459:23409,15245460:23410,15245464:23411,15245466:23412,15245467:23413,15245468:23414,15245470:23415,15245471:23416,15245480:23417,15245485:23418,15245486:23419,15245488:23420,15245490:23421,15245493:23422,15245498:23585,15245500:23586,15245697:23587,15245699:23588,15245701:23589,15245704:23590,15245705:23591,15245706:23592,15245707:23593,15245710:23594,15245713:23595,15245717:23596,15245718:23597,15245720:23598,15245722:23599,15245724:23600,15245727:23601,15245728:23602,15245732:23603,15245737:23604,15245745:23605,15245753:23606,15245755:23607,15245952:23608,15245976:23609,15245978:23610,15245979:23611,15245980:23612,15245983:23613,15245984:23614,15245992:23615,15245994:23616,15246010:23617,15246013:23618,15246014:23619,15246208:23620,15246218:23621,15246219:23622,15246220:23623,15246221:23624,15246222:23625,15246225:23626,15246226:23627,15246227:23628,15246235:23629,15246238:23630,15246247:23631,15246255:23632,15246256:23633,15246257:23634,15246261:23635,15246263:23636,15246465:23637,15246470:23638,15246477:23639,15246478:23640,15246479:23641,15246485:23642,15246486:23643,15246488:23644,15246489:23645,15246490:23646,15246492:23647,15246496:23648,15246502:23649,15246503:23650,15246504:23651,15246512:23652,15246513:23653,15246514:23654,15246517:23655,15246521:23656,15246522:23657,15246526:23658,15246720:23659,15246722:23660,15246725:23661,15246726:23662,15246729:23663,15246735:23664,15246738:23665,15246743:23666,15246746:23667,15246747:23668,15246748:23669,15246753:23670,15246754:23671,15246755:23672,15246763:23673,15246766:23674,15246768:23675,15246771:23676,15246773:23677,15246778:23678,15246779:23841,15246780:23842,15246781:23843,15246985:23844,15246989:23845,15246992:23846,15246996:23847,15246997:23848,15247003:23849,15247004:23850,15247007:23851,15247008:23852,15247013:23853,15247024:23854,15247028:23855,15247029:23856,15247030:23857,15247031:23858,15247036:23859,15247252:23860,15247253:23861,15247254:23862,15247255:23863,15247256:23864,15247269:23865,15247273:23866,15247275:23867,15247277:23868,15247281:23869,15247283:23870,15247286:23871,15247289:23872,15247293:23873,15247295:23874,15247492:23875,15247493:23876,15247495:23877,15247503:23878,15247505:23879,15247506:23880,15247508:23881,15247509:23882,15247518:23883,15247520:23884,15247522:23885,15247524:23886,15247526:23887,15247531:23888,15247532:23889,15247535:23890,15247541:23891,15247543:23892,15247549:23893,15247550:23894,15247744:23895,15247747:23896,15247749:23897,15247751:23898,15247753:23899,15247757:23900,15247758:23901,15247763:23902,15247766:23903,15247767:23904,15247768:23905,15247772:23906,15247773:23907,15247777:23908,15247781:23909,15247783:23910,15247797:23911,15247798:23912,15247799:23913,15247801:23914,15247802:23915,15247803:23916,15247806:23917,15247807:23918,15248e3:23919,15248003:23920,15248006:23921,15248011:23922,15248015:23923,15248016:23924,15248018:23925,15248022:23926,15248023:23927,15248025:23928,15248031:23929,15248039:23930,15248041:23931,15248046:23932,15248047:23933,15248051:23934,15248054:24097,15248055:24098,15248059:24099,15248062:24100,15248259:24101,15248262:24102,15248264:24103,15248265:24104,15248266:24105,15248273:24106,15248275:24107,15248276:24108,15248277:24109,15248279:24110,15248285:24111,15248287:24112,15248300:24113,15248304:24114,15248308:24115,15248309:24116,15248310:24117,15248316:24118,15248319:24119,15248517:24120,15248518:24121,15248523:24122,15248529:24123,15248540:24124,15248542:24125,15248543:24126,15248522:24127,15248557:24128,15248560:24129,15248567:24130,15248572:24131,15248770:24132,15248771:24133,15248772:24134,15248773:24135,15248774:24136,15248776:24137,15248786:24138,15248787:24139,15248788:24140,15248793:24141,15248781:24142,15248798:24143,15248803:24144,15248813:24145,15248822:24146,15248824:24147,15248825:24148,15248828:24149,15248830:24150,15249025:24151,15249028:24152,15249029:24153,15249035:24154,15249037:24155,15249039:24156,15249044:24157,15249045:24158,15249052:24159,15249054:24160,15249055:24161,15249592:24162,15249593:24163,15249597:24164,15249598:24165,15249797:24166,15249799:24167,15249801:24168,15249803:24169,15249807:24170,15249809:24171,15249811:24172,15249812:24173,15249815:24174,15249816:24175,15249819:24176,15249821:24177,15249817:24178,15249827:24179,15249828:24180,15249830:24181,15249832:24182,15249833:24183,15249837:24184,15249843:24185,15249845:24186,15249846:24187,15249851:24188,15249854:24189,15250054:24190,15250055:24353,15250059:24354,15250064:24355,15250066:24356,15250067:24357,15250073:24358,15250075:24359,15250076:24360,15250084:24361,15250105:24362,15250106:24363,15250309:24364,15250310:24365,15250313:24366,15250315:24367,15250319:24368,15250326:24369,15250325:24370,15250329:24371,15250333:24372,15250337:24373,15250344:24374,15250348:24375,15250351:24376,15250352:24377,15250354:24378,15250357:24379,15250359:24380,15250360:24381,15250366:24382,15250367:24383,15250561:24384,15250563:24385,15250569:24386,15250578:24387,15250583:24388,15250587:24389,15250853:24390,15250857:24391,15250860:24392,15250862:24393,15250879:24394,15251074:24395,15251076:24396,15251080:24397,15251085:24398,15251088:24399,15251089:24400,15251093:24401,15251102:24402,15251103:24403,15251104:24404,15251110:24405,15251115:24406,15251116:24407,15251119:24408,15251122:24409,15251125:24410,15251127:24411,15251129:24412,15251131:24413,15251328:24414,15251333:24415,15251334:24416,15251335:24417,15251336:24418,15251338:24419,15251342:24420,15251345:24421,15251348:24422,15251349:24423,15251351:24424,15251353:24425,15251364:24426,15251365:24427,15251367:24428,15251372:24429,15251376:24430,15251132:24431,15251377:24432,15251378:24433,15251380:24434,15251389:24435,15251585:24436,15251588:24437,15251589:24438,15251590:24439,15251595:24440,15251601:24441,15251604:24442,15251606:24443,15251616:24444,15251617:24445,15251618:24446,15251619:24609,15251622:24610,15251623:24611,15251633:24612,15251635:24613,15251638:24614,15251639:24615,15251640:24616,15251641:24617,15251645:24618,15251840:24619,15251841:24620,15251851:24621,15251853:24622,15251854:24623,15251855:24624,15251860:24625,15251867:24626,15251868:24627,15251869:24628,15251870:24629,15251873:24630,15251874:24631,15251881:24632,15251884:24633,15251885:24634,15251887:24635,15251888:24636,15251889:24637,15251897:24638,15251898:24639,15251899:24640,15252098:24641,15252099:24642,15252105:24643,15252112:24644,15252114:24645,15252117:24646,15252122:24647,15252123:24648,15252125:24649,15252126:24650,15252130:24651,15252135:24652,15252137:24653,15252141:24654,15252142:24655,15252147:24656,15252149:24657,15252154:24658,15252155:24659,15252352:24660,15252353:24661,15252355:24662,15252356:24663,15252359:24664,15252367:24665,15252369:24666,15252372:24667,15252380:24668,15252392:24669,15252398:24670,15252400:24671,15252401:24672,15252407:24673,15252409:24674,15252410:24675,15252397:24676,15252608:24677,15252610:24678,15252615:24679,15252616:24680,15252623:24681,15252624:24682,15252630:24683,15252631:24684,15252632:24685,15252638:24686,15252640:24687,15252641:24688,15252643:24689,15252645:24690,15252647:24691,15252648:24692,15252652:24693,15252653:24694,15252654:24695,15252660:24696,15252661:24697,15252662:24698,15252663:24699,15252666:24700,15252864:24701,15252865:24702,15252867:24865,15252871:24866,15252879:24867,15252881:24868,15252882:24869,15252883:24870,15252884:24871,15252885:24872,15252888:24873,15252893:24874,15252894:24875,15252901:24876,15253149:24877,15253152:24878,15253153:24879,15253156:24880,15253157:24881,15253158:24882,15253173:24883,15253174:24884,15253176:24885,15253182:24886,15253376:24887,15253377:24888,15253382:24889,15253386:24890,15253387:24891,15253389:24892,15253392:24893,15253394:24894,15253395:24895,15253397:24896,15253408:24897,15253411:24898,15253412:24899,15253416:24900,15253422:24901,15253425:24902,15253429:24903,15253430:24904,15253435:24905,15253438:24906,15302786:24907,15302788:24908,15302792:24909,15302796:24910,15302808:24911,15302811:24912,15302824:24913,15302825:24914,15302831:24915,15302826:24916,15302828:24917,15302829:24918,15302835:24919,15302836:24920,15302839:24921,15302847:24922,15303043:24923,15303044:24924,15303052:24925,15303067:24926,15303069:24927,15303074:24928,15303078:24929,15303079:24930,15303084:24931,15303088:24932,15303092:24933,15303097:24934,15303301:24935,15303304:24936,15303307:24937,15303308:24938,15303310:24939,15303312:24940,15303317:24941,15303319:24942,15303320:24943,15303321:24944,15303323:24945,15303328:24946,15303329:24947,15303330:24948,15303333:24949,15303344:24950,15303346:24951,15303347:24952,15303348:24953,15303350:24954,15303357:24955,15303564:24956,15303358:24957,15303555:24958,15303556:25121,15303557:25122,15303559:25123,15303560:25124,15303573:25125,15303575:25126,15303576:25127,15303577:25128,15303580:25129,15303581:25130,15303583:25131,15303589:25132,15303570:25133,15303606:25134,15303595:25135,15303599:25136,15303600:25137,15303604:25138,15303614:25139,15303615:25140,15303808:25141,15303812:25142,15303813:25143,15303814:25144,15303816:25145,15303821:25146,15303824:25147,15303828:25148,15303830:25149,15303831:25150,15303832:25151,15303834:25152,15303836:25153,15303838:25154,15303840:25155,15303845:25156,15303842:25157,15303843:25158,15303847:25159,15303849:25160,15303854:25161,15303855:25162,15303857:25163,15303860:25164,15303862:25165,15303863:25166,15303865:25167,15303866:25168,15303868:25169,15303869:25170,15304067:25171,15304071:25172,15304072:25173,15304079:25174,15304083:25175,15304087:25176,15304089:25177,15304090:25178,15304091:25179,15304097:25180,15304100:25181,15304103:25182,15304109:25183,15304116:25184,15304121:25185,15304122:25186,15304123:25187,15304321:25188,15304323:25189,15304325:25190,15304326:25191,15304330:25192,15304334:25193,15304337:25194,15304339:25195,15304340:25196,15304341:25197,15304344:25198,15304350:25199,15304353:25200,15304358:25201,15304360:25202,15304364:25203,15304365:25204,15304366:25205,15304368:25206,15304369:25207,15304370:25208,15304371:25209,15304374:25210,15304379:25211,15304380:25212,15304381:25213,15304383:25214,15304578:25377,15304579:25378,15304581:25379,15304595:25380,15304596:25381,15304599:25382,15304601:25383,15304602:25384,15304606:25385,15304612:25386,15304613:25387,15304617:25388,15304618:25389,15304620:25390,15304621:25391,15304622:25392,15304623:25393,15304624:25394,15304625:25395,15304631:25396,15304633:25397,15304635:25398,15304637:25399,15304832:25400,15304833:25401,15304836:25402,15304837:25403,15304838:25404,15304839:25405,15304841:25406,15304842:25407,15304844:25408,15304848:25409,15304850:25410,15304851:25411,15304854:25412,15304856:25413,15304860:25414,15304861:25415,15304867:25416,15304868:25417,15304869:25418,15304870:25419,15304872:25420,15304878:25421,15304879:25422,15304880:25423,15304883:25424,15304885:25425,15304886:25426,15304888:25427,15304889:25428,15304890:25429,15304892:25430,15304894:25431,15305088:25432,15305090:25433,15305091:25434,15305094:25435,15305095:25436,15305098:25437,15305101:25438,15305102:25439,15305103:25440,15305105:25441,15305112:25442,15305113:25443,15305116:25444,15305117:25445,15305120:25446,15305121:25447,15305125:25448,15305127:25449,15305128:25450,15305129:25451,15305134:25452,15305135:25453,15305136:25454,15305141:25455,15305142:25456,15305143:25457,15305144:25458,15305145:25459,15305147:25460,15305148:25461,15305149:25462,15305151:25463,15305352:25464,15305353:25465,15305354:25466,15305357:25467,15305358:25468,15305362:25469,15305367:25470,15305369:25633,15305375:25634,15305376:25635,15305380:25636,15305381:25637,15305383:25638,15305384:25639,15305387:25640,15305391:25641,15305394:25642,15305398:25643,15305400:25644,15305402:25645,15305403:25646,15305404:25647,15305405:25648,15305407:25649,15305600:25650,15305601:25651,15305602:25652,15305603:25653,15305605:25654,15305606:25655,15305607:25656,15305608:25657,15305611:25658,15305612:25659,15305613:25660,15305614:25661,15305616:25662,15305619:25663,15305621:25664,15305623:25665,15305624:25666,15305625:25667,15305628:25668,15305629:25669,15305631:25670,15305632:25671,15305633:25672,15305635:25673,15305637:25674,15305639:25675,15305640:25676,15305644:25677,15305646:25678,15305648:25679,15305657:25680,15305659:25681,15305663:25682,15305856:25683,15305858:25684,15305864:25685,15305869:25686,15305873:25687,15305876:25688,15305877:25689,15305884:25690,15305885:25691,15305886:25692,15305887:25693,15305889:25694,15305892:25695,15305893:25696,15305895:25697,15305897:25698,15305898:25699,15305907:25700,15305908:25701,15305910:25702,15305911:25703,15306119:25704,15306120:25705,15306121:25706,15306128:25707,15306129:25708,15306130:25709,15306133:25710,15306135:25711,15306136:25712,15306138:25713,15306142:25714,15306148:25715,15306149:25716,15306151:25717,15306153:25718,15306154:25719,15306157:25720,15306159:25721,15306160:25722,15306161:25723,15306163:25724,15306164:25725,15306166:25726,15306170:25889,15306173:25890,15306175:25891,15306368:25892,15306369:25893,15306370:25894,15306376:25895,15306378:25896,15306379:25897,15306381:25898,15306383:25899,15306386:25900,15306389:25901,15306392:25902,15306395:25903,15306398:25904,15306401:25905,15306403:25906,15306404:25907,15306406:25908,15306408:25909,15306411:25910,15306420:25911,15306421:25912,15306422:25913,15306426:25914,15306409:25915,15306625:25916,15306628:25917,15306629:25918,15306630:25919,15306631:25920,15306633:25921,15306634:25922,15306635:25923,15306636:25924,15306637:25925,15306643:25926,15306649:25927,15306652:25928,15306654:25929,15306655:25930,15306658:25931,15306662:25932,15306663:25933,15306681:25934,15306679:25935,15306680:25936,15306682:25937,15306683:25938,15306685:25939,15306881:25940,15306882:25941,15306884:25942,15306888:25943,15306889:25944,15306893:25945,15306894:25946,15306895:25947,15306901:25948,15306902:25949,15306903:25950,15306911:25951,15306926:25952,15306927:25953,15306929:25954,15306930:25955,15306931:25956,15306932:25957,15306939:25958,15306943:25959,15306941:25960,15307139:25961,15307141:25962,15307144:25963,15307146:25964,15307148:25965,15307157:25966,15307161:25967,15307164:25968,15307167:25969,15307169:25970,15307171:25971,15307176:25972,15307179:25973,15307181:25974,15307182:25975,15307183:25976,15307185:25977,15307186:25978,15307396:25979,15307395:25980,15308216:25981,15308217:25982,15308222:26145,15308420:26146,15308424:26147,15308428:26148,15308429:26149,15308430:26150,15308445:26151,15308446:26152,15308447:26153,15308449:26154,15308454:26155,15308457:26156,15308459:26157,15308460:26158,15308468:26159,15308470:26160,15308474:26161,15308477:26162,15308479:26163,15308678:26164,15308680:26165,15308681:26166,15308683:26167,15308688:26168,15308689:26169,15308690:26170,15308691:26171,15308697:26172,15308698:26173,15308701:26174,15308702:26175,15308703:26176,15308704:26177,15308708:26178,15308710:26179,15308957:26180,15308958:26181,15308962:26182,15308964:26183,15308965:26184,15308966:26185,15308972:26186,15308977:26187,15308979:26188,15308983:26189,15308984:26190,15308985:26191,15308986:26192,15308988:26193,15308989:26194,15309185:26195,15309202:26196,15309204:26197,15309206:26198,15309207:26199,15309208:26200,15309217:26201,15309230:26202,15309236:26203,15309243:26204,15309244:26205,15309246:26206,15309247:26207,15309441:26208,15309442:26209,15309443:26210,15309444:26211,15309449:26212,15309457:26213,15309462:26214,15309466:26215,15309469:26216,15309471:26217,15309476:26218,15309477:26219,15309478:26220,15309481:26221,15309486:26222,15309487:26223,15309491:26224,15309498:26225,15309706:26226,15309714:26227,15054514:26228,15309720:26229,15309722:26230,15309725:26231,15309726:26232,15309727:26233,15309737:26234,15309743:26235,15309745:26236,15309754:26237,15309954:26238,15309955:26401,15309957:26402,15309961:26403,15309978:26404,15309979:26405,15309981:26406,15309985:26407,15309986:26408,15309987:26409,15309992:26410,15310001:26411,15310003:26412,15310209:26413,15310211:26414,15310218:26415,15310222:26416,15310223:26417,15310229:26418,15310231:26419,15310232:26420,15310234:26421,15310235:26422,15310243:26423,15310247:26424,15310250:26425,15310254:26426,15310259:26427,15310262:26428,15310263:26429,15310264:26430,15310267:26431,15310269:26432,15310271:26433,15310464:26434,15310473:26435,15310485:26436,15310486:26437,15310487:26438,15310489:26439,15310490:26440,15310494:26441,15310495:26442,15310498:26443,15310508:26444,15310510:26445,15310513:26446,15310514:26447,15310517:26448,15310518:26449,15310520:26450,15310521:26451,15310522:26452,15310524:26453,15310526:26454,15310527:26455,15310721:26456,15310724:26457,15310725:26458,15310727:26459,15310729:26460,15310730:26461,15310732:26462,15310733:26463,15310734:26464,15310736:26465,15310737:26466,15310740:26467,15310743:26468,15310744:26469,15310745:26470,15310749:26471,15310750:26472,15310752:26473,15310747:26474,15310753:26475,15310756:26476,15310767:26477,15310769:26478,15310772:26479,15310775:26480,15310776:26481,15310778:26482,15310983:26483,15310986:26484,15311001:26485,15310989:26486,15310990:26487,15310996:26488,15310998:26489,15311004:26490,15311006:26491,15311008:26492,15311011:26493,15311014:26494,15311019:26657,15311022:26658,15311023:26659,15311024:26660,15311026:26661,15311027:26662,15311029:26663,15311013:26664,15311038:26665,15311236:26666,15311239:26667,15311242:26668,15311249:26669,15311250:26670,15311251:26671,15311254:26672,15311255:26673,15311257:26674,15311258:26675,15311266:26676,15311267:26677,15311269:26678,15311270:26679,15311274:26680,15311276:26681,15311531:26682,15311533:26683,15311534:26684,15311536:26685,15311540:26686,15311543:26687,15311544:26688,15311546:26689,15311547:26690,15311551:26691,15311746:26692,15311749:26693,15311752:26694,15311756:26695,15311777:26696,15311779:26697,15311781:26698,15311782:26699,15311783:26700,15311786:26701,15311795:26702,15311798:26703,15312002:26704,15312007:26705,15312008:26706,15312017:26707,15312021:26708,15312022:26709,15312023:26710,15312026:26711,15312027:26712,15312028:26713,15312031:26714,15312034:26715,15312038:26716,15312039:26717,15312043:26718,15312049:26719,15312050:26720,15312051:26721,15312052:26722,15312053:26723,15312057:26724,15312058:26725,15312059:26726,15312060:26727,15312256:26728,15312257:26729,15312262:26730,15312263:26731,15312264:26732,15312269:26733,15312270:26734,15312276:26735,15312280:26736,15312281:26737,15312283:26738,15312284:26739,15312286:26740,15312287:26741,15312288:26742,15312539:26743,15312541:26744,15312543:26745,15312550:26746,15312560:26747,15312561:26748,15312562:26749,15312565:26750,15312569:26913,15312570:26914,15312573:26915,15312575:26916,15312771:26917,15312777:26918,15312787:26919,15312788:26920,15312793:26921,15312794:26922,15312796:26923,15312798:26924,15312807:26925,15312810:26926,15312811:26927,15312812:26928,15312816:26929,15312820:26930,15312821:26931,15312825:26932,15312829:26933,15312830:26934,15313026:26935,15313027:26936,15313028:26937,15313035:26938,15313036:26939,15313040:26940,15313041:26941,15313046:26942,15313054:26943,15313056:26944,15313058:26945,15313059:26946,15313060:26947,15313063:26948,15313069:26949,15313070:26950,15313075:26951,15313077:26952,15313078:26953,15313080:26954,15313287:26955,15313281:26956,15313284:26957,15313290:26958,15313291:26959,15313292:26960,15313294:26961,15313297:26962,15313300:26963,15313302:26964,15313309:26965,15313578:26966,15313580:26967,15313582:26968,15313583:26969,15313586:26970,15313588:26971,15313589:26972,15313590:26973,15313593:26974,15313595:26975,15313598:26976,15313599:26977,15313793:26978,15313795:26979,15313798:26980,15313800:26981,15313806:26982,15313808:26983,15313810:26984,15313813:26985,15313814:26986,15313815:26987,15313819:26988,15313820:26989,15313824:26990,15313828:26991,15313829:26992,15313831:26993,15313833:26994,15313836:26995,15313842:26996,15313843:26997,15313845:26998,15313849:26999,15313850:27e3,15313853:27001,15313855:27002,15314048:27003,15314049:27004,15314050:27005,15314051:27006,15314052:27169,15314053:27170,15314056:27171,15314057:27172,15314059:27173,15314060:27174,15314061:27175,15314062:27176,15314064:27177,15314066:27178,15314070:27179,15314073:27180,15314075:27181,15314076:27182,15314080:27183,15314086:27184,15314091:27185,15314093:27186,15314099:27187,15314100:27188,15314101:27189,15314103:27190,15314105:27191,15314106:27192,15314109:27193,15314312:27194,15314315:27195,15314316:27196,15314325:27197,15314326:27198,15314327:27199,15314331:27200,15314334:27201,15314337:27202,15314339:27203,15314341:27204,15314342:27205,15314344:27206,15314346:27207,15314347:27208,15314348:27209,15314349:27210,15314350:27211,15314355:27212,15314357:27213,15314359:27214,15314360:27215,15314361:27216,15314367:27217,15314560:27218,15314564:27219,15314565:27220,15314566:27221,15314567:27222,15314569:27223,15314570:27224,15314571:27225,15314573:27226,15314575:27227,15314576:27228,15314580:27229,15314586:27230,15314589:27231,15314590:27232,15314598:27233,15314599:27234,15314601:27235,15314604:27236,15314608:27237,15314609:27238,15314610:27239,15314615:27240,15314616:27241,15314619:27242,15314620:27243,15314622:27244,15314623:27245,15314817:27246,15314823:27247,15314824:27248,15314830:27249,15314832:27250,15314839:27251,15314840:27252,15314845:27253,15314847:27254,15314853:27255,15314855:27256,15314858:27257,15314859:27258,15314863:27259,15314867:27260,15314871:27261,15314872:27262,15314873:27425,15314874:27426,15314877:27427,15314879:27428,15315072:27429,15315074:27430,15315083:27431,15315087:27432,15315089:27433,15315094:27434,15315096:27435,15315097:27436,15315098:27437,15315100:27438,15315102:27439,15315106:27440,15315107:27441,15315110:27442,15315111:27443,15315112:27444,15315113:27445,15315114:27446,15315121:27447,15315125:27448,15315126:27449,15315127:27450,15315133:27451,15315329:27452,15315331:27453,15315332:27454,15315333:27455,15315337:27456,15315338:27457,15315342:27458,15315343:27459,15315344:27460,15315347:27461,15315348:27462,15315350:27463,15315352:27464,15315355:27465,15315357:27466,15315358:27467,15315359:27468,15315363:27469,15315369:27470,15315370:27471,15315356:27472,15315371:27473,15315368:27474,15315374:27475,15315376:27476,15315378:27477,15315381:27478,15315383:27479,15315387:27480,15315878:27481,15315890:27482,15315895:27483,15315897:27484,15316107:27485,15316098:27486,15316113:27487,15316119:27488,15316120:27489,15316124:27490,15316125:27491,15316126:27492,15316143:27493,15316144:27494,15316146:27495,15316147:27496,15316148:27497,15316154:27498,15316156:27499,15316357:27500,15316157:27501,15316354:27502,15316355:27503,15316359:27504,15316362:27505,15316371:27506,15316372:27507,15316383:27508,15316387:27509,15316386:27510,15316389:27511,15316393:27512,15316394:27513,15316395:27514,15316400:27515,15316406:27516,15316407:27517,15316411:27518,15316412:27681,15316414:27682,15316611:27683,15316612:27684,15316614:27685,15316618:27686,15316621:27687,15316622:27688,15316626:27689,15316627:27690,15316629:27691,15316630:27692,15316631:27693,15316632:27694,15316641:27695,15316650:27696,15316652:27697,15316654:27698,15316657:27699,15316661:27700,15316665:27701,15316668:27702,15316671:27703,15316867:27704,15316871:27705,15316873:27706,15316874:27707,15316884:27708,15316885:27709,15316886:27710,15316887:27711,15316890:27712,15316894:27713,15316895:27714,15316896:27715,15316901:27716,15316903:27717,15316905:27718,15316907:27719,15316910:27720,15316912:27721,15316915:27722,15316916:27723,15316926:27724,15317130:27725,15317122:27726,15317127:27727,15317134:27728,15317136:27729,15317137:27730,15317138:27731,15317141:27732,15317142:27733,15317145:27734,15317148:27735,15317149:27736,15317434:27737,15317435:27738,15317436:27739,15317632:27740,15317634:27741,15317635:27742,15317636:27743,15317637:27744,15317639:27745,15317646:27746,15317647:27747,15317654:27748,15317656:27749,15317659:27750,15317662:27751,15317668:27752,15317672:27753,15317676:27754,15317678:27755,15317679:27756,15317680:27757,15317683:27758,15317684:27759,15317685:27760,15317894:27761,15317896:27762,15317899:27763,15317909:27764,15317919:27765,15317924:27766,15317927:27767,15317932:27768,15317933:27769,15317934:27770,15317936:27771,15317937:27772,15317938:27773,15317941:27774,15317944:27937,15317951:27938,15318146:27939,15318147:27940,15318153:27941,15318159:27942,15318160:27943,15318161:27944,15318162:27945,15318164:27946,15318166:27947,15318167:27948,15318169:27949,15318170:27950,15318171:27951,15318175:27952,15318178:27953,15318182:27954,15318186:27955,15318187:27956,15318191:27957,15318193:27958,15318194:27959,15318196:27960,15318199:27961,15318201:27962,15318202:27963,15318204:27964,15318205:27965,15318207:27966,15318401:27967,15318403:27968,15318404:27969,15318405:27970,15318406:27971,15318407:27972,15318419:27973,15318421:27974,15318422:27975,15318423:27976,15318424:27977,15318426:27978,15318429:27979,15318430:27980,15318440:27981,15318441:27982,15318445:27983,15318446:27984,15318447:27985,15318448:27986,15318449:27987,15318451:27988,15318453:27989,15318458:27990,15318461:27991,15318671:27992,15318672:27993,15318673:27994,15318674:27995,15318676:27996,15318678:27997,15318679:27998,15318686:27999,15318689:28e3,15318690:28001,15318691:28002,15318693:28003,14909596:8513}},function(t,e){t.exports=null},function(t,e){t.exports=null},function(t,e,r){var n=r(361),o=r(362),h=r(613),l=r(612);function c(data){n.init_JIS_TO_UTF8_TABLE();for(var b,t,e,r,o,h,c,f=[],i=0,d=data&&data.length;i<d;i++)(b=data[i])>=161&&b<=223?(r=188|(e=b-64)>>6&3,o=128|63&e,f[f.length]=239,f[f.length]=255&r,f[f.length]=255&o):b>=128?(t=b<<1,(e=data[++i])<159?(t-=t<319?225:97,e-=e>126?32:31):(t-=t<319?224:96,e-=126),h=((t&=255)<<8)+e,void 0===(c=l.JIS_TO_UTF8_TABLE[h])?f[f.length]=n.FALLBACK_CHARACTER:c<65535?(f[f.length]=c>>8&255,f[f.length]=255&c):(f[f.length]=c>>16&255,f[f.length]=c>>8&255,f[f.length]=255&c)):f[f.length]=255&data[i];return f}function f(data){n.init_JIS_TO_UTF8_TABLE();for(var b,t,e,r,o,h,c=[],i=0,f=data&&data.length;i<f;i++)142===(b=data[i])?(e=188|(t=data[++i]-64)>>6&3,r=128|63&t,c[c.length]=239,c[c.length]=255&e,c[c.length]=255&r):143===b?(o=(data[++i]-128<<8)+(data[++i]-128),void 0===(h=l.JISX0212_TO_UTF8_TABLE[o])?c[c.length]=n.FALLBACK_CHARACTER:h<65535?(c[c.length]=h>>8&255,c[c.length]=255&h):(c[c.length]=h>>16&255,c[c.length]=h>>8&255,c[c.length]=255&h)):b>=128?(o=(b-128<<8)+(data[++i]-128),void 0===(h=l.JIS_TO_UTF8_TABLE[o])?c[c.length]=n.FALLBACK_CHARACTER:h<65535?(c[c.length]=h>>8&255,c[c.length]=255&h):(c[c.length]=h>>16&255,c[c.length]=h>>8&255,c[c.length]=255&h)):c[c.length]=255&data[i];return c}function d(data){n.init_JIS_TO_UTF8_TABLE();for(var t,e,r,o,h,c=[],f=0,i=0,d=data&&data.length;i<d;i++){for(;27===data[i];)if(36===data[i+1]&&66===data[i+2]||36===data[i+1]&&64===data[i+2]?f=1:40===data[i+1]&&73===data[i+2]?f=2:36===data[i+1]&&40===data[i+2]&&68===data[i+3]?(f=3,i++):f=0,void 0===data[i+=3])return c;1===f?(o=(data[i]<<8)+data[++i],void 0===(h=l.JIS_TO_UTF8_TABLE[o])?c[c.length]=n.FALLBACK_CHARACTER:h<65535?(c[c.length]=h>>8&255,c[c.length]=255&h):(c[c.length]=h>>16&255,c[c.length]=h>>8&255,c[c.length]=255&h)):2===f?(e=188|(t=data[i]+64)>>6&3,r=128|63&t,c[c.length]=239,c[c.length]=255&e,c[c.length]=255&r):3===f?(o=(data[i]<<8)+data[++i],void 0===(h=l.JISX0212_TO_UTF8_TABLE[o])?c[c.length]=n.FALLBACK_CHARACTER:h<65535?(c[c.length]=h>>8&255,c[c.length]=255&h):(c[c.length]=h>>16&255,c[c.length]=h>>8&255,c[c.length]=255&h)):c[c.length]=255&data[i]}return c}function m(data,t){for(var b,e,r,o,h,c,f=[],i=0,d=data&&data.length,m=t&&t.fallback;i<d;i++)(b=data[i])>=128?(b<=223?(o=[b,data[i+1]],h=(b<<8)+data[++i]):b<=239?(o=[b,data[i+1],data[i+2]],h=(b<<16)+(data[++i]<<8)+(255&data[++i])):(o=[b,data[i+1],data[i+2],data[i+3]],h=(b<<24)+(data[++i]<<16)+(data[++i]<<8)+(255&data[++i])),null==(c=l.UTF8_TO_JIS_TABLE[h])?m?N(f,o,m):f[f.length]=n.FALLBACK_CHARACTER:c<255?f[f.length]=c+128:(c>65536&&(c-=65536),r=255&c,1&(e=c>>8)?((e>>=1)<47?e+=113:e-=79,r+=r>95?32:31):((e>>=1)<=47?e+=112:e-=80,r+=126),f[f.length]=255&e,f[f.length]=255&r)):f[f.length]=255&data[i];return f}function v(data,t){for(var b,e,r,o,h=[],i=0,c=data&&data.length,f=t&&t.fallback;i<c;i++)(b=data[i])>=128?(b<=223?(e=[b,data[i+1]],r=(b<<8)+data[++i]):b<=239?(e=[b,data[i+1],data[i+2]],r=(b<<16)+(data[++i]<<8)+(255&data[++i])):(e=[b,data[i+1],data[i+2],data[i+3]],r=(b<<24)+(data[++i]<<16)+(data[++i]<<8)+(255&data[++i])),null==(o=l.UTF8_TO_JIS_TABLE[r])?null==(o=l.UTF8_TO_JISX0212_TABLE[r])?f?N(h,e,f):h[h.length]=n.FALLBACK_CHARACTER:(h[h.length]=143,h[h.length]=(o>>8)-128&255,h[h.length]=(255&o)-128&255):(o>65536&&(o-=65536),o<255?(h[h.length]=142,h[h.length]=o-128&255):(h[h.length]=(o>>8)-128&255,h[h.length]=(255&o)-128&255))):h[h.length]=255&data[i];return h}function y(data,t){for(var b,e,r,o,h=[],c=0,f=data&&data.length,i=0,d=t&&t.fallback,m=[27,40,66,27,36,66,27,40,73,27,36,40,68];i<f;i++)(b=data[i])<128?(0!==c&&(c=0,h[h.length]=m[0],h[h.length]=m[1],h[h.length]=m[2]),h[h.length]=255&b):(b<=223?(e=[b,data[i+1]],r=(b<<8)+data[++i]):b<=239?(e=[b,data[i+1],data[i+2]],r=(b<<16)+(data[++i]<<8)+(255&data[++i])):(e=[b,data[i+1],data[i+2],data[i+3]],r=(b<<24)+(data[++i]<<16)+(data[++i]<<8)+(255&data[++i])),null==(o=l.UTF8_TO_JIS_TABLE[r])?null==(o=l.UTF8_TO_JISX0212_TABLE[r])?(0!==c&&(c=0,h[h.length]=m[0],h[h.length]=m[1],h[h.length]=m[2]),d?N(h,e,d):h[h.length]=n.FALLBACK_CHARACTER):(3!==c&&(c=3,h[h.length]=m[9],h[h.length]=m[10],h[h.length]=m[11],h[h.length]=m[12]),h[h.length]=o>>8&255,h[h.length]=255&o):(o>65536&&(o-=65536),o<255?(2!==c&&(c=2,h[h.length]=m[6],h[h.length]=m[7],h[h.length]=m[8]),h[h.length]=255&o):(1!==c&&(c=1,h[h.length]=m[3],h[h.length]=m[4],h[h.length]=m[5]),h[h.length]=o>>8&255,h[h.length]=255&o)));return 0!==c&&(h[h.length]=m[0],h[h.length]=m[1],h[h.length]=m[2]),h}function w(data){for(var t,e,r=[],i=0,n=data&&data.length;i<n;i++)(t=data[i])>=55296&&t<=56319&&i+1<n&&(e=data[i+1])>=56320&&e<=57343&&(t=1024*(t-55296)+e-56320+65536,i++),t<128?r[r.length]=t:t<2048?(r[r.length]=192|t>>6&31,r[r.length]=128|63&t):t<65536?(r[r.length]=224|t>>12&15,r[r.length]=128|t>>6&63,r[r.length]=128|63&t):t<2097152&&(r[r.length]=240|t>>18&15,r[r.length]=128|t>>12&63,r[r.length]=128|t>>6&63,r[r.length]=128|63&t);return r}function _(data,t){for(var e,r,code,n=[],i=0,o=data&&data.length,h=t&&t.ignoreSurrogatePair;i<o;)(e=(r=data[i++])>>4)>=0&&e<=7?code=r:12===e||13===e?code=(31&r)<<6|63&data[i++]:14===e?code=(15&r)<<12|(63&data[i++])<<6|63&data[i++]:15===e&&(code=(7&r)<<18|(63&data[i++])<<12|(63&data[i++])<<6|63&data[i++]),code<=65535||h?n[n.length]=code:(code-=65536,n[n.length]=55296+(code>>10),n[n.length]=code%1024+56320);return n}function M(data,t){var e;if(t&&t.bom){var r,n,h=t.bom;o.isString(h)||(h="BE"),"B"===h.charAt(0).toUpperCase()?(r=[254,255],n=S(data)):(r=[255,254],n=x(data)),(e=[])[0]=r[0],e[1]=r[1];for(var i=0,l=n.length;i<l;i++)e[e.length]=n[i]}else e=S(data);return e}function S(data){for(var t,e=[],i=0,r=data&&data.length;i<r;)(t=data[i++])<=255?(e[e.length]=0,e[e.length]=t):t<=65535&&(e[e.length]=t>>8&255,e[e.length]=255&t);return e}function x(data){for(var t,e=[],i=0,r=data&&data.length;i<r;)(t=data[i++])<=255?(e[e.length]=t,e[e.length]=0):t<=65535&&(e[e.length]=255&t,e[e.length]=t>>8&255);return e}function E(data){var t,e,r=[],i=0,n=data&&data.length;for(n>=2&&(254===data[0]&&255===data[1]||255===data[0]&&254===data[1])&&(i=2);i<n;)t=data[i++],e=data[i++],r[r.length]=0===t?e:(255&t)<<8|255&e;return r}function A(data){var t,e,r=[],i=0,n=data&&data.length;for(n>=2&&(254===data[0]&&255===data[1]||255===data[0]&&254===data[1])&&(i=2);i<n;)t=data[i++],e=data[i++],r[r.length]=0===e?t:(255&e)<<8|255&t;return r}function T(data){for(var t,e,r=[],i=0,n=data&&data.length,o=!1,l=!0;i<n;)t=data[i++],e=data[i++],l&&2===i?(l=!1,254===t&&255===e?o=!1:255===t&&254===e?o=!0:(o=h.isUTF16LE(data),i=0)):r[r.length]=o?0===e?t:(255&e)<<8|255&t:0===t?e:(255&t)<<8|255&e;return r}function k(data){var t,e,r=[],i=0,n=data&&data.length;for(n>=2&&(254===data[0]&&255===data[1]||255===data[0]&&254===data[1])&&(i=2);i<n;)t=data[i++],e=data[i++],r[r.length]=e,r[r.length]=t;return r}function C(data,t){return M(_(data),t)}function O(data){return w(T(data))}function I(data){return S(_(data))}function P(data){return w(E(data))}function R(data){return x(_(data))}function j(data){return w(A(data))}function N(t,e,r){switch(r){case"html-entity":case"html-entity-hex":var n=_(e,{ignoreSurrogatePair:!0})[0];if(n){t[t.length]=38,t[t.length]=35;var o="hex"===r.slice(-3)?16:10;16===o&&(t[t.length]=120);for(var h=n.toString(o),i=0,l=h.length;i<l;i++)t[t.length]=h.charCodeAt(i);t[t.length]=59}}}e.JISToSJIS=function(data){for(var t,e,r=[],o=0,i=0,h=data&&data.length;i<h;i++){for(;27===data[i];)if(36===data[i+1]&&66===data[i+2]||36===data[i+1]&&64===data[i+2]?o=1:40===data[i+1]&&73===data[i+2]?o=2:36===data[i+1]&&40===data[i+2]&&68===data[i+3]?(o=3,i++):o=0,void 0===data[i+=3])return r;1===o?(t=data[i],e=data[++i],1&t?((t>>=1)<47?t+=113:t-=79,e+=e>95?32:31):((t>>=1)<=47?t+=112:t-=80,e+=126),r[r.length]=255&t,r[r.length]=255&e):r[r.length]=2===o?data[i]+128&255:3===o?n.FALLBACK_CHARACTER:255&data[i]}return r},e.JISToEUCJP=function(data){for(var t=[],e=0,r=data&&data.length,i=0;i<r;i++){for(;27===data[i];)if(36===data[i+1]&&66===data[i+2]||36===data[i+1]&&64===data[i+2]?e=1:40===data[i+1]&&73===data[i+2]?e=2:36===data[i+1]&&40===data[i+2]&&68===data[i+3]?(e=3,i++):e=0,void 0===data[i+=3])return t;1===e?(t[t.length]=data[i]+128&255,t[t.length]=data[++i]+128&255):2===e?(t[t.length]=142,t[t.length]=data[i]+128&255):3===e?(t[t.length]=143,t[t.length]=data[i]+128&255,t[t.length]=data[++i]+128&255):t[t.length]=255&data[i]}return t},e.SJISToJIS=function(data){for(var t,e,r=[],n=0,o=data&&data.length,i=0,h=[27,40,66,27,36,66,27,40,73];i<o;i++)(t=data[i])>=161&&t<=223?(2!==n&&(n=2,r[r.length]=h[6],r[r.length]=h[7],r[r.length]=h[8]),r[r.length]=t-128&255):t>=128?(1!==n&&(n=1,r[r.length]=h[3],r[r.length]=h[4],r[r.length]=h[5]),t<<=1,(e=data[++i])<159?(t-=t<319?225:97,e-=e>126?32:31):(t-=t<319?224:96,e-=126),r[r.length]=255&t,r[r.length]=255&e):(0!==n&&(n=0,r[r.length]=h[0],r[r.length]=h[1],r[r.length]=h[2]),r[r.length]=255&t);return 0!==n&&(r[r.length]=h[0],r[r.length]=h[1],r[r.length]=h[2]),r},e.SJISToEUCJP=function(data){for(var t,e,r=[],n=data&&data.length,i=0;i<n;i++)(t=data[i])>=161&&t<=223?(r[r.length]=142,r[r.length]=t):t>=129?(t<<=1,(e=data[++i])<159?(t-=t<319?97:225,e+=e>126?96:97):(t-=t<319?96:224,e+=2),r[r.length]=255&t,r[r.length]=255&e):r[r.length]=255&t;return r},e.EUCJPToJIS=function(data){for(var b,t=[],e=0,r=data&&data.length,i=0,n=[27,40,66,27,36,66,27,40,73,27,36,40,68];i<r;i++)142===(b=data[i])?(2!==e&&(e=2,t[t.length]=n[6],t[t.length]=n[7],t[t.length]=n[8]),t[t.length]=data[++i]-128&255):143===b?(3!==e&&(e=3,t[t.length]=n[9],t[t.length]=n[10],t[t.length]=n[11],t[t.length]=n[12]),t[t.length]=data[++i]-128&255,t[t.length]=data[++i]-128&255):b>142?(1!==e&&(e=1,t[t.length]=n[3],t[t.length]=n[4],t[t.length]=n[5]),t[t.length]=b-128&255,t[t.length]=data[++i]-128&255):(0!==e&&(e=0,t[t.length]=n[0],t[t.length]=n[1],t[t.length]=n[2]),t[t.length]=255&b);return 0!==e&&(t[t.length]=n[0],t[t.length]=n[1],t[t.length]=n[2]),t},e.EUCJPToSJIS=function(data){for(var t,e,r=[],o=data&&data.length,i=0;i<o;i++)143===(t=data[i])?(r[r.length]=n.FALLBACK_CHARACTER,i+=2):t>142?(e=data[++i],1&t?(t>>=1,t+=t<111?49:113,e-=e>223?96:97):(t>>=1,t+=t<=111?48:112,e-=2),r[r.length]=255&t,r[r.length]=255&e):r[r.length]=142===t?255&data[++i]:255&t;return r},e.SJISToUTF8=c,e.EUCJPToUTF8=f,e.JISToUTF8=d,e.UTF8ToSJIS=m,e.UTF8ToEUCJP=v,e.UTF8ToJIS=y,e.UNICODEToUTF8=w,e.UTF8ToUNICODE=_,e.UNICODEToUTF16=M,e.UNICODEToUTF16BE=S,e.UNICODEToUTF16LE=x,e.UTF16BEToUNICODE=E,e.UTF16LEToUNICODE=A,e.UTF16ToUNICODE=T,e.UTF16ToUTF16BE=function(data){for(var t,e,r=[],i=0,n=data&&data.length,o=!1,l=!0;i<n;)t=data[i++],e=data[i++],l&&2===i?(l=!1,254===t&&255===e?o=!1:255===t&&254===e?o=!0:(o=h.isUTF16LE(data),i=0)):o?(r[r.length]=e,r[r.length]=t):(r[r.length]=t,r[r.length]=e);return r},e.UTF16BEToUTF16=function(data,t){var e,r=!1;if(t&&t.bom){var n=t.bom;o.isString(n)||(n="BE"),"B"===n.charAt(0).toUpperCase()?e=[254,255]:(e=[255,254],r=!0)}var h,l,c=[],f=data&&data.length,i=0;for(f>=2&&(254===data[0]&&255===data[1]||255===data[0]&&254===data[1])&&(i=2),e&&(c[0]=e[0],c[1]=e[1]);i<f;)h=data[i++],l=data[i++],r?(c[c.length]=l,c[c.length]=h):(c[c.length]=h,c[c.length]=l);return c},e.UTF16ToUTF16LE=function(data){for(var t,e,r=[],i=0,n=data&&data.length,o=!1,l=!0;i<n;)t=data[i++],e=data[i++],l&&2===i?(l=!1,254===t&&255===e?o=!1:255===t&&254===e?o=!0:(o=h.isUTF16LE(data),i=0)):o?(r[r.length]=t,r[r.length]=e):(r[r.length]=e,r[r.length]=t);return r},e.UTF16LEToUTF16=function(data,t){var e,r=!1;if(t&&t.bom){var n=t.bom;o.isString(n)||(n="BE"),"B"===n.charAt(0).toUpperCase()?e=[254,255]:(e=[255,254],r=!0)}var h,l,c=[],f=data&&data.length,i=0;for(f>=2&&(254===data[0]&&255===data[1]||255===data[0]&&254===data[1])&&(i=2),e&&(c[0]=e[0],c[1]=e[1]);i<f;)h=data[i++],l=data[i++],r?(c[c.length]=h,c[c.length]=l):(c[c.length]=l,c[c.length]=h);return c},e.UTF16BEToUTF16LE=k,e.UTF16LEToUTF16BE=function(data){return k(data)},e.UNICODEToJIS=function(data,t){return y(w(data),t)},e.JISToUNICODE=function(data){return _(d(data))},e.UNICODEToEUCJP=function(data,t){return v(w(data),t)},e.EUCJPToUNICODE=function(data){return _(f(data))},e.UNICODEToSJIS=function(data,t){return m(w(data),t)},e.SJISToUNICODE=function(data){return _(c(data))},e.UTF8ToUTF16=C,e.UTF16ToUTF8=O,e.UTF8ToUTF16BE=I,e.UTF16BEToUTF8=P,e.UTF8ToUTF16LE=R,e.UTF16LEToUTF8=j,e.JISToUTF16=function(data,t){return C(d(data),t)},e.UTF16ToJIS=function(data,t){return y(O(data),t)},e.JISToUTF16BE=function(data){return I(d(data))},e.UTF16BEToJIS=function(data,t){return y(P(data),t)},e.JISToUTF16LE=function(data){return R(d(data))},e.UTF16LEToJIS=function(data,t){return y(j(data),t)},e.EUCJPToUTF16=function(data,t){return C(f(data),t)},e.UTF16ToEUCJP=function(data,t){return v(O(data),t)},e.EUCJPToUTF16BE=function(data){return I(f(data))},e.UTF16BEToEUCJP=function(data,t){return v(P(data),t)},e.EUCJPToUTF16LE=function(data){return R(f(data))},e.UTF16LEToEUCJP=function(data,t){return v(j(data),t)},e.SJISToUTF16=function(data,t){return C(c(data),t)},e.UTF16ToSJIS=function(data,t){return m(O(data),t)},e.SJISToUTF16BE=function(data){return I(c(data))},e.UTF16BEToSJIS=function(data,t){return m(P(data),t)},e.SJISToUTF16LE=function(data){return R(c(data))},e.UTF16LEToSJIS=function(data,t){return m(j(data),t)}},function(t,e){e.HANKANA_TABLE={12289:65380,12290:65377,12300:65378,12301:65379,12443:65438,12444:65439,12449:65383,12450:65393,12451:65384,12452:65394,12453:65385,12454:65395,12455:65386,12456:65396,12457:65387,12458:65397,12459:65398,12461:65399,12463:65400,12465:65401,12467:65402,12469:65403,12471:65404,12473:65405,12475:65406,12477:65407,12479:65408,12481:65409,12483:65391,12484:65410,12486:65411,12488:65412,12490:65413,12491:65414,12492:65415,12493:65416,12494:65417,12495:65418,12498:65419,12501:65420,12504:65421,12507:65422,12510:65423,12511:65424,12512:65425,12513:65426,12514:65427,12515:65388,12516:65428,12517:65389,12518:65429,12519:65390,12520:65430,12521:65431,12522:65432,12523:65433,12524:65434,12525:65435,12527:65436,12530:65382,12531:65437,12539:65381,12540:65392},e.HANKANA_SONANTS={12532:65395,12535:65436,12538:65382},e.HANKANA_MARKS=[65438,65439],e.ZENKANA_TABLE=[12290,12300,12301,12289,12539,12530,12449,12451,12453,12455,12457,12515,12517,12519,12483,12540,12450,12452,12454,12456,12458,12459,12461,12463,12465,12467,12469,12471,12473,12475,12477,12479,12481,12484,12486,12488,12490,12491,12492,12493,12494,12495,12498,12501,12504,12507,12510,12511,12512,12513,12514,12516,12518,12520,12521,12522,12523,12524,12525,12527,12531,12443,12444]},function(t){t.exports=JSON.parse('{"name":"encoding-japanese","version":"2.0.0","description":"Convert or detect character encoding in JavaScript","main":"src/index.js","files":["encoding.js","encoding.min.js","encoding.min.js.map","src/*"],"scripts":{"build":"npm run compile && npm run minify","compile":"browserify src/index.js -o encoding.js -s Encoding -p [ bannerify --file src/banner.js ] --no-bundle-external --bare","minify":"uglifyjs encoding.js -o encoding.min.js --source-map \\"url=\'encoding.min.js.map\'\\" --comments -c -m -b ascii_only=true,beautify=false","test":"./node_modules/.bin/eslint . && npm run build && mocha tests/test","watch":"watchify src/index.js -o encoding.js -s Encoding -p [ bannerify --file src/banner.js ] --no-bundle-external --bare --poll=300 -v"},"engines":{"node":">=8.10.0"},"repository":{"type":"git","url":"https://github.com/polygonplanet/encoding.js.git"},"author":"polygonplanet <polygon.planet.aqua@gmail.com>","license":"MIT","bugs":{"url":"https://github.com/polygonplanet/encoding.js/issues"},"homepage":"https://github.com/polygonplanet/encoding.js","keywords":["base64","charset","convert","detect","encoding","euc-jp","eucjp","iconv","iso-2022-jp","japanese","jis","shift_jis","sjis","unicode","urldecode","urlencode","utf-16","utf-32","utf-8"],"dependencies":{},"devDependencies":{"bannerify":"^1.0.1","browserify":"^17.0.0","eslint":"^8.12.0","mocha":"^9.2.2","package-json-versionify":"^1.0.4","power-assert":"^1.6.1","uglify-js":"^3.15.3","uglifyify":"^5.0.2","watchify":"^4.0.0"},"browserify":{"transform":["package-json-versionify"]},"_resolved":"https://registry.npmjs.org/encoding-japanese/-/encoding-japanese-2.0.0.tgz","_integrity":"sha512-++P0RhebUC8MJAwJOsT93dT+5oc5oPImp1HubZpAuCZ5kTLnhuuBhKHj2jJeO/Gj93idPBWmIuQ9QWMe5rX3pQ==","_from":"encoding-japanese@2.0.0"}')},,,function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return f})),r.d(e,"b",(function(){return d}));var n=r(133),o=r(236),h={nowSeconds:function(){return Date.now()/1e3}};var l=Object(o.b)()?function(){try{return Object(o.a)(t,"perf_hooks").performance}catch(t){return}}():function(){var t=Object(n.a)().performance;if(t&&t.now)return{now:function(){return t.now()},timeOrigin:Date.now()-t.now()}}(),c=void 0===l?h:{nowSeconds:function(){return(l.timeOrigin+l.now())/1e3}},f=h.nowSeconds.bind(h),d=c.nowSeconds.bind(c);!function(){var t=Object(n.a)().performance;if(t&&t.now){var e=t.now(),r=Date.now(),o=t.timeOrigin?Math.abs(t.timeOrigin+e-r):36e5,h=o<36e5,l=t.timing&&t.timing.navigationStart,c="number"==typeof l?Math.abs(l+e-r):36e5;return h||c<36e5?o<=c?("timeOrigin",t.timeOrigin):("navigationStart",l):("dateNow",r)}"none"}()}).call(this,r(499)(t))},function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return h}));var n=r(32),o=(r(447),r(83));r(622),r(621),r(175);function h(t){var e,r;if(Object(o.e)(t)){var l=t,c={};try{for(var f=Object(n.__values)(Object.keys(l)),d=f.next();!d.done;d=f.next()){var m=d.value;void 0!==l[m]&&(c[m]=h(l[m]))}}catch(t){e={error:t}}finally{try{d&&!d.done&&(r=f.return)&&r.call(f)}finally{if(e)throw e.error}}return c}return Array.isArray(t)?t.map(h):t}}).call(this,r(54))}]]);