(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-593811d7"],{"0050":function(e,t,n){"use strict";(function(t){function n(e){return e instanceof t?t.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}function r(e){return e=e||{},e.circles?i(e):e.proto?o:r;function t(e,t){for(var r=Object.keys(e),i=new Array(r.length),o=0;o",'"',"`"," ","\r","\n","\t"],l=["{","}","|","\\","^","`"].concat(u),h=["'"].concat(l),f=["%","/","?",";","#"].concat(h),p=["/","?","#"],d=255,g=/^[+a-z0-9A-Z_-]{0,63}$/,b=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,y={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},v={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},w=n("b383");function A(e,t,n){if(e&&i.isObject(e)&&e instanceof o)return e;var r=new o;return r.parse(e,t,n),r}function S(e){return i.isString(e)&&(e=A(e)),e instanceof o?e.format():o.prototype.format.call(e)}function E(e,t){return A(e,!1,!0).resolve(t)}function k(e,t){return e?A(e,!1,!0).resolveObject(t):t}o.prototype.parse=function(e,t,n){if(!i.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var o=e.indexOf("?"),a=-1!==o&&o127?_+="x":_+=j[N];if(!_.match(g)){var F=M.slice(0,B),D=M.slice(B+1),U=j.match(b);U&&(F.push(U[1]),D.unshift(U[2])),D.length&&(A="/"+D.join(".")+A),this.hostname=F.join(".");break}}}this.hostname.length>d?this.hostname="":this.hostname=this.hostname.toLowerCase(),T||(this.hostname=r.toASCII(this.hostname));var q=this.port?":"+this.port:"",V=this.hostname||"";this.host=V+q,this.href+=this.host,T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==A[0]&&(A="/"+A))}if(!y[k])for(B=0,P=h.length;B0)&&n.host.split("@");C&&(n.auth=C.shift(),n.host=n.hostname=C.shift())}return n.search=e.search,n.query=e.query,i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!E.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var x=E.slice(-1)[0],I=(n.host||e.host||E.length>1)&&("."===x||".."===x)||""===x,R=0,B=E.length;B>=0;B--)x=E[B],"."===x?E.splice(B,1):".."===x?(E.splice(B,1),R++):R&&(E.splice(B,1),R--);if(!A&&!S)for(;R--;R)E.unshift("..");!A||""===E[0]||E[0]&&"/"===E[0].charAt(0)||E.unshift(""),I&&"/"!==E.join("/").substr(-1)&&E.push("");var O=""===E[0]||E[0]&&"/"===E[0].charAt(0);if(k){n.hostname=n.host=O?"":E.length?E.shift():"";C=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");C&&(n.auth=C.shift(),n.host=n.hostname=C.shift())}return A=A||n.host&&E.length,A&&!O&&E.unshift(""),E.length?n.pathname=E.join("/"):(n.pathname=null,n.path=null),i.isNull(n.pathname)&&i.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},o.prototype.parseHost=function(){var e=this.host,t=a.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},"0e8b":function(e,t,n){"use strict";(function(t,r){var i;e.exports=B,B.ReadableState=R;n("faa1").EventEmitter;var o=function(e,t){return e.listeners(t).length},s=n("b98b"),a=n("b639").Buffer,c=t.Uint8Array||function(){};function u(e){return a.from(e)}function l(e){return a.isBuffer(e)||e instanceof c}var h,f=n(5);h=f&&f.debuglog?f.debuglog("stream"):function(){};var p,d,g,b=n("e937"),y=n("f482"),m=n("86c6"),v=m.getHighWaterMark,w=n("9bfc").codes,A=w.ERR_INVALID_ARG_TYPE,S=w.ERR_STREAM_PUSH_AFTER_EOF,E=w.ERR_METHOD_NOT_IMPLEMENTED,k=w.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;n("3fb5")(B,s);var C=y.errorOrDestroy,x=["error","close","destroy","pause","resume"];function I(e,t,n){if("function"===typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}function R(e,t,r){i=i||n("a493"),e=e||{},"boolean"!==typeof r&&(r=t instanceof i),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=v(this,e,"readableHighWaterMark",r),this.buffer=new b,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=n("7d72").StringDecoder),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function B(e){if(i=i||n("a493"),!(this instanceof B))return new B(e);var t=this instanceof i;this._readableState=new R(e,this,t),this.readable=!0,e&&("function"===typeof e.read&&(this._read=e.read),"function"===typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function O(e,t,n,r,i){h("readableAddChunk",t);var o,s=e._readableState;if(null===t)s.reading=!1,N(e,s);else if(i||(o=M(s,t)),o)C(e,o);else if(s.objectMode||t&&t.length>0)if("string"===typeof t||s.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=u(t)),r)s.endEmitted?C(e,new k):T(e,s,t,!0);else if(s.ended)C(e,new S);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!n?(t=s.decoder.write(t),s.objectMode||0!==t.length?T(e,s,t,!1):D(e,s)):T(e,s,t,!1)}else r||(s.reading=!1,D(e,s));return!s.ended&&(s.length=P?e=P:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function _(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=j(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function N(e,t){if(h("onEofChunk"),!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?L(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,F(e)))}}function L(e){var t=e._readableState;h("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(h("emitReadable",t.flowing),t.emittedReadable=!0,r.nextTick(F,e))}function F(e){var t=e._readableState;h("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,G(e)}function D(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(U,e,t))}function U(e,t){while(!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function Q(e){h("readable nexttick read 0"),e.read(0)}function z(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(K,e,t))}function K(e,t){h("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),G(e),t.flowing&&!t.reading&&e.read(0)}function G(e){var t=e._readableState;h("flow",t.flowing);while(t.flowing&&null!==e.read());}function Y(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function W(e){var t=e._readableState;h("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick(H,t,e))}function H(e,t){if(h("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function Z(e,t){for(var n=0,r=e.length;n=t.highWaterMark:t.length>0)||t.ended))return h("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?W(this):L(this),null;if(e=_(e,t),0===e&&t.ended)return 0===t.length&&W(this),null;var r,i=t.needReadable;return h("need readable",i),(0===t.length||t.length-e0?Y(e,t):null,null===r?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&W(this)),null!==r&&this.emit("data",r),r},B.prototype._read=function(e){C(this,new E("_read()"))},B.prototype.pipe=function(e,t){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e);break}i.pipesCount+=1,h("pipe count=%d opts=%j",i.pipesCount,t);var s=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr,a=s?u:m;function c(e,t){h("onunpipe"),e===n&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,p())}function u(){h("onend"),e.end()}i.endEmitted?r.nextTick(a):n.once("end",a),e.on("unpipe",c);var l=q(n);e.on("drain",l);var f=!1;function p(){h("cleanup"),e.removeListener("close",b),e.removeListener("finish",y),e.removeListener("drain",l),e.removeListener("error",g),e.removeListener("unpipe",c),n.removeListener("end",u),n.removeListener("end",m),n.removeListener("data",d),f=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||l()}function d(t){h("ondata");var r=e.write(t);h("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==Z(i.pipes,e))&&!f&&(h("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function g(t){h("onerror",t),m(),e.removeListener("error",g),0===o(e,"error")&&C(e,t)}function b(){e.removeListener("finish",y),m()}function y(){h("onfinish"),e.removeListener("close",b),m()}function m(){h("unpipe"),n.unpipe(e)}return n.on("data",d),I(e,"error",g),e.once("close",b),e.once("finish",y),e.emit("pipe",n),i.flowing||(h("pipe resume"),n.resume()),e},B.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,h("on readable",i.length,i.reading),i.length?L(this):i.reading||r.nextTick(Q,this))),n},B.prototype.addListener=B.prototype.on,B.prototype.removeListener=function(e,t){var n=s.prototype.removeListener.call(this,e,t);return"readable"===e&&r.nextTick(V,this),n},B.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||r.nextTick(V,this),t},B.prototype.resume=function(){var e=this._readableState;return e.flowing||(h("resume"),e.flowing=!e.readableListening,z(this,e)),e.paused=!1,this},B.prototype.pause=function(){return h("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(h("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},B.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(h("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){if(h("wrapped data"),n.decoder&&(i=n.decoder.write(i)),(!n.objectMode||null!==i&&void 0!==i)&&(n.objectMode||i&&i.length)){var o=t.push(i);o||(r=!0,e.pause())}})),e)void 0===this[i]&&"function"===typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o-1))throw new k(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(R.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(R.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),R.prototype._write=function(e,t,n){n(new m("_write()"))},R.prototype._writev=null,R.prototype.end=function(e,t,n){var r=this._writableState;return"function"===typeof e?(n=e,e=null,t=null):"function"===typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||z(this,r,n),this},Object.defineProperty(R.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(R.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),R.prototype.destroy=p.destroy,R.prototype._undestroy=p.undestroy,R.prototype._destroy=function(e,t){t(e)}}).call(this,n("c8ba"),n("4362"))},1468:function(e,t){var n=1e3,r=60*n,i=60*r,o=24*i,s=7*o,a=365.25*o;function c(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var c=parseFloat(t[1]),u=(t[2]||"ms").toLowerCase();switch(u){case"years":case"year":case"yrs":case"yr":case"y":return c*a;case"weeks":case"week":case"w":return c*s;case"days":case"day":case"d":return c*o;case"hours":case"hour":case"hrs":case"hr":case"h":return c*i;case"minutes":case"minute":case"mins":case"min":case"m":return c*r;case"seconds":case"second":case"secs":case"sec":case"s":return c*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}}}function u(e){var t=Math.abs(e);return t>=o?Math.round(e/o)+"d":t>=i?Math.round(e/i)+"h":t>=r?Math.round(e/r)+"m":t>=n?Math.round(e/n)+"s":e+"ms"}function l(e){var t=Math.abs(e);return t>=o?h(e,t,o,"day"):t>=i?h(e,t,i,"hour"):t>=r?h(e,t,r,"minute"):t>=n?h(e,t,n,"second"):e+" ms"}function h(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,t){t=t||{};var n=typeof e;if("string"===n&&e.length>0)return c(e);if("number"===n&&isFinite(e))return t.long?l(e):u(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},1472:function(e,t,n){e.exports=n.p+"public/img/nanjingsekuai.d24e6ee8.png"},"147d":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{ref:"appRef",staticStyle:{overflow:"hidden"},attrs:{id:"index"}},[r("div",{staticClass:"bg",on:{contextmenu:function(t){return t.preventDefault(),e.show()}}},[r("headerIndex",{staticStyle:{position:""}}),r("div",{staticClass:"mains"},[r("div",{staticClass:"leftContent"},[r("div",{staticClass:"kehuCount"},[r("div",{staticStyle:{color:"#fff","font-size":"12px"}},[e._v("客户总数")]),r("div",{staticStyle:{color:"#fff","font-size":"25px","font-weight":"700"}},[e._v(" "+e._s(e.totalCustomer)+" "),r("span",{staticStyle:{color:"#fff","font-size":"12px"}},[e._v("个")])])]),r("div",{staticClass:"countInfor"},e._l(e.leftInfodata,(function(t,n){return r("div",{key:n,staticClass:"content"},[r("div",{staticStyle:{width:"100px",height:"100px"},attrs:{id:"echarts"+n}}),r("div",{staticClass:"text"},[r("div",{staticStyle:{color:"#fff","font-size":"12px"}},[e._v(e._s(t.text))]),r("div",{staticStyle:{color:"#fff","font-size":"24px","font-weight":"300"}},[e._v(" "+e._s(t.num)+" ")])]),r("div",{staticStyle:{color:"#fff","font-size":"12px",display:"flex","align-items":"flex-end",height:"58%"}},[e._v(" "+e._s(t.unit)+" ")])])})),0)]),r("div",{staticClass:"rightContent"},[r("div",{staticClass:"kehuCount"},[r("div",{staticStyle:{color:"#fff","font-size":"12px"}},[e._v("主要总数")]),r("div",{staticStyle:{color:"#fff","font-size":"25px","font-weight":"700"}},[e._v(" "+e._s(e.totalTransformationSite)+" "),r("span",{staticStyle:{color:"#fff","font-size":"12px"}},[e._v("个")])])]),r("div",{staticClass:"countInfor"},e._l(e.rightInfodata,(function(t,n){return r("div",{key:n,staticClass:"content"},[r("div",{staticStyle:{width:"100px",height:"100px"},attrs:{id:"rightEcharts"+n}}),r("div",{staticClass:"text"},[r("div",{staticStyle:{color:"#fff","font-size":"12px"}},[e._v(e._s(t.text))]),r("div",{staticStyle:{color:"#fff","font-size":"24px","font-weight":"300"}},[e._v(" "+e._s(t.num)+" ")])]),r("div",{staticStyle:{color:"#fff","font-size":"12px",display:"flex","align-items":"flex-end",height:"58%"}},[e._v(" "+e._s(t.unit)+" ")])])})),0)]),e._m(0),r("div",{directives:[{name:"show",rawName:"v-show",value:e.jiangsuMapShow,expression:"jiangsuMapShow"}],staticClass:"jiangsuMap"},[r("img",{staticStyle:{width:"100%",height:"100%"},attrs:{src:n("eb39")}})]),r("div",{directives:[{name:"show",rawName:"v-show",value:e.shijiIconShow,expression:"shijiIconShow"}],staticClass:"shijiIcon"},[r("img",{staticClass:"xuzhou",attrs:{src:n("9ffa")}}),r("img",{staticClass:"lianyungang",attrs:{src:n("90fd")}}),r("img",{staticClass:"suqian",attrs:{src:n("1368")}}),r("img",{staticClass:"huaian",attrs:{src:n("a026")}}),r("img",{staticClass:"yancheng",attrs:{src:n("cc3f")}}),r("img",{staticClass:"yangzhou",attrs:{src:n("251e")}}),r("img",{staticClass:"taizhou",attrs:{src:n("0424")}}),r("img",{staticClass:"nantong",attrs:{src:n("1835")}}),r("img",{staticClass:"zhenjiang",attrs:{src:n("6f1a")}}),r("img",{staticClass:"suzhou",attrs:{src:n("196e")}}),r("img",{staticClass:"wuxi",attrs:{src:n("fef7")}}),r("img",{staticClass:"changzhou",attrs:{src:n("5119")}}),r("img",{directives:[{name:"show",rawName:"v-show",value:!e.nanjingIconShow,expression:"!nanjingIconShow"}],staticClass:"nanjing",attrs:{src:n("3264")}}),r("img",{directives:[{name:"show",rawName:"v-show",value:e.nanjingIconShow,expression:"nanjingIconShow"}],staticClass:"nanjing1",attrs:{src:n("3264")},on:{mouseover:e.regionMouseEnter,click:e.switchNanJing}}),r("div",{directives:[{name:"show",rawName:"v-show",value:e.nanjingsekuai,expression:"nanjingsekuai"}],staticClass:"nanjingxuanshi",on:{mouseover:e.regionMouseEnter}}),r("img",{directives:[{name:"show",rawName:"v-show",value:!e.nanjingsekuai,expression:"!nanjingsekuai"}],staticClass:"nanjingsekuai",attrs:{src:n("1472")},on:{mouseleave:e.regionMouseLeave,click:e.switchNanJing}})]),r("div",{directives:[{name:"show",rawName:"v-show",value:!e.jiangsuMapShow,expression:"!jiangsuMapShow"}],staticClass:"nanjingMap"},[r("img",{attrs:{src:n("aaf8")}})]),r("div",{directives:[{name:"show",rawName:"v-show",value:e.qujiIconShow,expression:"qujiIconShow"}],staticClass:"qujiIcon"},[r("img",{staticClass:"liuhe",attrs:{src:n("201d")}}),r("img",{staticClass:"pukou",attrs:{src:n("d706")}}),r("img",{staticClass:"yuhua",attrs:{src:n("2903")}}),r("img",{staticClass:"jianye",attrs:{src:n("31fa")}}),r("img",{staticClass:"gulou",attrs:{src:n("de6a")}}),r("img",{staticClass:"qixia",attrs:{src:n("1ab4")}}),r("img",{staticClass:"xuanwu",attrs:{src:n("a773")}}),r("img",{staticClass:"qinhuai",attrs:{src:n("8553")}}),r("img",{staticClass:"jiangning",attrs:{src:n("6c67")}}),r("img",{staticClass:"gaochun",attrs:{src:n("e8b0")}}),r("img",{staticClass:"lishui",attrs:{src:n("46bc")}})]),r("div",{directives:[{name:"show",rawName:"v-show",value:e.qujiIconShow,expression:"qujiIconShow"}],staticClass:"datushaIcon"},[r("div",{staticClass:"yellowIcon"},[r("div",{directives:[{name:"show",rawName:"v-show",value:e.popShow,expression:"popShow"}],staticStyle:{width:"288px",height:"47px"},on:{mouseover:e.popInfor,mouseleave:e.popInforLeave}}),r("img",{directives:[{name:"show",rawName:"v-show",value:!e.popShow,expression:"!popShow"}],staticStyle:{width:"288px",height:"47px",cursor:"pointer","z-index":"9999"},attrs:{src:n("aa91")},on:{mouseover:e.popInfor,mouseleave:e.popInforLeave}}),r("img",{staticStyle:{width:"160px",height:"161px",cursor:"pointer"},attrs:{src:n("23ee8")},on:{click:e.intoMain}})])]),r("div",{directives:[{name:"show",rawName:"v-show",value:e.popShow,expression:"popShow"}],attrs:{id:"pop"}},[r("div",{staticClass:"mask"},[r("img",{staticStyle:{width:"288px",height:"275px"},attrs:{src:n("a177")},on:{mouseover:e.popInfor,mouseleave:e.popInforLeave}})])])])],1)])},i=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"decorate"},[r("img",{staticStyle:{width:"100%",height:"100%"},attrs:{src:n("0145")}})])}],o=(n("99af"),n("4160"),n("c975"),n("b0c0"),n("d3b7"),n("ac1f"),n("25f0"),n("5319"),n("159b"),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"customDvScrollBoard"},[n("dv-scroll-board",{staticClass:"board",class:e.className,attrs:{headerBGC:"#0C3046",config:e.defaultconfig}})],1)}),s=[],a=n("5530"),c={props:{className:{type:String,default:function(){return"css"}},config:{type:Object,default:function(){},required:!0}},data:function(){return{defaultconfig:Object(a["a"])({oddRowBGC:"#081E29",evenRowBGC:"transparent",waitTime:2e18,indexHeader:"序号",index:!0,header:["规划用途","数量","占比"],columnWidth:[50],rowNum:4,data:[]},this.config)}},watch:{config:function(e){this.defaultconfig.data=e,console.log("111",e)}}},u=c,l=(n("117a"),n("be0f"),n("2877")),h=Object(l["a"])(u,o,s,!1,null,"0799503c",null),f=h.exports,p=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"customDvScrollBoard"},[n("dv-scroll-board",{staticClass:"board",class:e.className,attrs:{headerBGC:"#0C3046",config:e.defaultconfig}})],1)},d=[],g={props:{className:{type:String,default:function(){return"css"}},config:{type:Object,default:function(){},required:!0}},data:function(){return{defaultconfig:Object(a["a"])({oddRowBGC:"#081E29",evenRowBGC:"transparent",waitTime:2e18,indexHeader:"序号",index:!0,header:["使用年份","数量","占比"],columnWidth:[50],rowNum:4,data:[]},this.config)}},watch:{config:function(e){this.defaultconfig.data=e,console.log("111",e)}}},b=g,y=(n("6640"),n("b5ae"),Object(l["a"])(b,p,d,!1,null,"55d0983a",null)),m=y.exports,v=n("1245"),w=n("8b55"),A=n("c271"),S=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"box1"},[n("div",{staticClass:"title"},[e._v(" 基地部门楼层数据展示 "),n("span",{staticStyle:{float:"right",width:"30px",height:"30px","padding-right":"19px"},on:{click:e.close}},[e._v("X")])]),n("el-form",{ref:"ruleForm",staticClass:"demo-form-inline",attrs:{inline:!0,model:e.ruleForm}},[n("el-form-item",{attrs:{label:"部门",prop:"departnew"}},[n("el-input",{attrs:{placeholder:"输入部门"},model:{value:e.ruleForm.departnew,callback:function(t){e.$set(e.ruleForm,"departnew",t)},expression:"ruleForm.departnew"}})],1),n("el-form-item",{attrs:{label:"基地",prop:"jdnew"}},[n("el-input",{attrs:{placeholder:"输入基地"},model:{value:e.ruleForm.jdnew,callback:function(t){e.$set(e.ruleForm,"jdnew",t)},expression:"ruleForm.jdnew"}})],1)],1),n("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:e.tables.slice((e.queryInfo.pagenum-1)*e.queryInfo.pagesize,e.queryInfo.pagenum*e.queryInfo.pagesize),"row-class-name":e.tableRowClassName,"header-cell-style":{background:"#0B2F45",color:"#fff",textAlign:"center"}},on:{"cell-mouse-enter":e.rowHover,"cell-mouse-leave":e.leave,"row-click":e.rowclick}},[n("el-table-column",{attrs:{prop:"depart",label:"部门"}}),n("el-table-column",{attrs:{prop:"jd",label:"基地"}}),n("el-table-column",{attrs:{label:"全口径人数",prop:"peopleM"}}),n("el-table-column",{attrs:{label:"所属楼层",prop:"floorM"}})],1),n("el-pagination",{staticStyle:{margin:"15px 0px"},attrs:{"current-page":e.queryInfo.pagenum,"page-sizes":[10,15,20],"page-size":e.queryInfo.pagesize,"pager-count":5,layout:"total, sizes, pager, next",total:e.tables.length,background:""},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)},E=[],k=(n("4de4"),n("45fc"),n("b64b"),n("bc3a")),C=n.n(k),x={props:{},name:"dialogComponent",data:function(){return{detailVisible:!0,tableData:[],formInline:{depart:"",jd:"",people:"",other:"",square:""},jdNameNew:"",jdNameNewN:"",jdNameOther:"",ruleForm:{departnew:"",jdnew:""},departnew:"",jdnew:"",queryInfo:{query:"",pagenum:1,pagesize:10},jdName:""}},watch:{jdNameNew:{handler:function(e){this.jdNameOther=e,this.$emit("jdNameData",e)}},jdNameNewN:{handler:function(e){this.$emit("jdNameDataClick",e)}}},methods:{onSubmit:function(){console.log("submit!")},rowHover:function(e){this.jdNameNew=e.jd},leave:function(){this.jdNameNew=""},rowclick:function(e){this.jdNameNewN=e},init:function(e){console.log(e),this.getJsonData()},close:function(){this.detailVisible=!1,this.$emit("transfer",this.detailVisible)},getJsonData:function(){var e=this;this.tableData=[],C.a.get("/json/departJd.json").then((function(t){for(var n=0;n-1})),o=Object.keys(r).some((function(e){if("jd"==e){if(String(r[e]).toLowerCase().indexOf(t)>-1){var i="";i=r.jd,n.jdName=i}return String(r[e]).toLowerCase().indexOf(t)>-1}}));return i&&o})):n.tableData}}},I=x,R=(n("a389"),Object(l["a"])(I,S,E,!1,null,null,null)),B=R.exports,O=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("Echart",{attrs:{options:e.options,id:"centreRight2Chart1",height:"200px",width:"480px"}})],1)},T=[],M=n("33de"),P={data:function(){return{options:{}}},components:{Echart:M["a"]},props:{cdata:{type:Object,default:function(){return{}}}},watch:{cdata:{handler:function(e){this.options={tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{top:"15%",right:"3%",left:"9%",bottom:"15%"},xAxis:[{type:"category",data:["调度控制","生产管理","运行检修","营销服务","物资仓储","科研实验","教育培训","其他用房"],axisLine:{lineStyle:{color:"#FFFFFF"}},axisLabel:{interval:0},axisTick:{show:!1}}],yAxis:[{axisLabel:{formatter:"{value}",color:"#e2e9ff"},axisTick:{show:!1},axisLine:{show:!1,lineStyle:{color:"rgba(0,186,255,.6)"}},splitLine:{lineStyle:{color:"rgba(255,255,255,0.12)"}}}],series:[{type:"bar",data:[1,2,1,0,0,0,2,2],barWidth:"15px",showBackground:!0,itemStyle:{normal:{color:new this.$echarts.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgba(0,244,255,1)"},{offset:1,color:"rgba(0,77,167,1)"}],!1),shadowColor:"rgba(0,160,221,1)",shadowBlur:4,barBorderRadius:9}},label:{normal:{show:!0,lineHeight:30,formatter:"{c}",position:"top",textStyle:{color:"#00D6F9",fontSize:15}}}}]}},immediate:!0,deep:!0}}},j=P,_=Object(l["a"])(j,O,T,!1,null,null,null),N=_.exports,L=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"box"},[n("div",{staticClass:"title"},[e._v(" "+e._s(e.title)+" ")]),e._t("top"),e._m(0),e.dataSource?n("ul",e._l(e.dataSource,(function(t,r){return n("li",{key:r},[n("span",{staticClass:"left"},[e._v(e._s(t.key)+":")]),n("span",{staticClass:"right"},[e._v(e._s(t.value))])])})),0):e._e()],2)},F=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"imgurl"},[r("img",{attrs:{src:n("c5e3"),alt:""}})])}],D={props:{title:{default:function(){return""},type:String,required:!0},dataSource:{default:function(){return!1},type:[Array,Boolean],required:!0}},data:function(){return{}},components:{},mounted:function(){},beforeDestroy:function(){},methods:{}},U=D,q=(n("76a0"),Object(l["a"])(U,L,F,!1,null,"759b0543",null)),V=q.exports,Q=n("4ec3"),z=n("e7fc"),K=n.n(z),G={mixins:[v["a"]],data:function(){return{qujiIconShow:!1,jiangsuMapShow:!0,shijiIconShow:!1,nanjingIconShow:!1,nanjingsekuai:!0,totalCustomer:"",totalTransformationSite:"",popShow:!1,leftInfodata:[{pic:n("993d"),num:"",text:"变电站总数",unit:"座",name:"totalSite"},{pic:n("d098"),num:"",text:"代办工单总数",unit:"条",name:"workOrder"},{pic:n("d3f8"),num:"",text:"告警总数",unit:"条",name:"warningNum"}],rightInfodata:[{pic:n("2f1d"),num:"",text:"主要总容量",unit:"kVA",name:"transformationCapacity"},{pic:n("8f1a"),num:"",text:"实时负荷",unit:"kW",name:"realTimeLoad"},{pic:n("f674"),num:"",text:"昨日总电量",unit:"kWh",name:"yesterdayTotalElectricity"}],Visible:!1,basicInfoShow:!0,videoUrl:"/land/landMap.html",cityName:"",nanj:!0,landC:!1,backgroundPic:{index:"landRes/BG"},activeColor:-1,loading:!1,imgListData:{},imgList:[],configData:{jiangsu:{data:[]},nanjing:{data:[]},zhenjiang:{header:["规划用途","全省数量","全省占比"],data:[]},changzhou:{header:[],data:[]}},config:{data:[]},config1:{data:[]},levelConfigData:{nanjing:{data:[0]}},levelConfig:{data:[10],shape:"round",waveNum:2},levelConfig1:{data:[55],shape:"round",waveNum:2},resourcesListData:{nanjing:[{name:"南京规划阶段",count:4},{name:"南京计划阶段",count:4},{name:"南京建设阶段",count:1},{name:"南京投运阶段",count:1}],zhenjiang:[{name:"规划阶段",count:62},{name:"计划阶段",count:9},{name:"建设阶段",count:2},{name:"投运阶段",count:5}]},resourcesList:[],centerListData:{nanjing:[],zhenjiang:[]},centerList:[{title:"不动产权证信息",count:0,imgUrl:n("e4dd")},{title:"土地证信息",count:"无",imgUrl:n("88cf")},{title:"房产证信息",count:0,imgUrl:n("cdaa9")},{title:"确权情况",count:0,imgUrl:n("b9a9")}],rankingConfig:{data:[{name:"类别1",value:6},{name:"类别2",value:8},{name:"类别3",value:9},{name:"类别4",value:3},{name:"类别5",value:8},{name:"类别6",value:11},{name:"类别7",value:13},{name:"类别7",value:6}],rowNum:7,waitTime:1e17},workListData:[],workListDatafcz:[],workList:[],runOnce:!0,workListBdc:[],workListNew:[],workListFCZ:[],workListqq:[{key:"确权信息",value:"",name:"qq"}],tit:"建筑物信息",count:1,params:{},leftOpen:!0,rightOpen:!0,jdNameNew:"",itemViewM:"",photoPathsM:[],searchShow:!0,leftNum:[]}},components:{headerIndex:w["a"],BasicBox:A["a"],CustomDvScrollBoard:f,CustomDvScrollBoard1:m,dialogComponent:B,BasicBox5:V,Chart:N},computed:{},mounted:function(){var e=this,t=this;window.addEventListener("message",(function(e){var n=e.data;null!=n.params&&(t.searchShow=!1)})),window.setTimeout((function(){t.shijiIconShow=!0}),1600),window.setTimeout((function(){t.nanjingIconShow=!0}),2600),window.setInterval((function(){Object(Q["d"])({}).then((function(e){t.leftNum=[],t.totalCustomer=e.data.data.totalCustomer,t.totalTransformationSite=e.data.data.totalTransformationSite;var n=e.data.data.realTimeLoad.toString(),r=n.substring(0,n.indexOf(".")+3);for(var i in e.data.data){for(var o=0;o= 0x80 (not a basic code point)","invalid-input":"Invalid input"},A=u-l,S=Math.floor,E=String.fromCharCode;function k(e){throw new RangeError(w[e])}function C(e,t){var n=e.length,r=[];while(n--)r[n]=t(e[n]);return r}function x(e,t){var n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(v,".");var i=e.split("."),o=C(i,t).join(".");return r+o}function I(e){var t,n,r=[],i=0,o=e.length;while(i=55296&&t<=56319&&i65535&&(e-=65536,t+=E(e>>>10&1023|55296),e=56320|1023&e),t+=E(e),t})).join("")}function B(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:u}function O(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function T(e,t,n){var r=0;for(e=n?S(e/p):e>>1,e+=S(e/t);e>A*h>>1;r+=u)e=S(e/A);return S(r+(A+1)*e/(e+f))}function M(e){var t,n,r,i,o,s,a,f,p,y,m=[],v=e.length,w=0,A=g,E=d;for(n=e.lastIndexOf(b),n<0&&(n=0),r=0;r=128&&k("not-basic"),m.push(e.charCodeAt(r));for(i=n>0?n+1:0;i=v&&k("invalid-input"),f=B(e.charCodeAt(i++)),(f>=u||f>S((c-w)/s))&&k("overflow"),w+=f*s,p=a<=E?l:a>=E+h?h:a-E,fS(c/y)&&k("overflow"),s*=y}t=m.length+1,E=T(w-o,t,0==o),S(w/t)>c-A&&k("overflow"),A+=S(w/t),w%=t,m.splice(w++,0,A)}return R(m)}function P(e){var t,n,r,i,o,s,a,f,p,y,m,v,w,A,C,x=[];for(e=I(e),v=e.length,t=g,n=0,o=d,s=0;s=t&&mS((c-n)/w)&&k("overflow"),n+=(a-t)*w,t=a,s=0;sc&&k("overflow"),m==t){for(f=n,p=u;;p+=u){if(y=p<=o?l:p>=o+h?h:p-o,f0)&&this[this._states[this._stateCounter]]()&&!this.error)this._stateCounter++,a("parse: state complete. _stateCounter is now: %d",this._stateCounter),a("parse: packet.length: %d, buffer list length: %d",this.packet.length,this._list.length),this._stateCounter>=this._states.length&&(this._stateCounter=0);return a("parse: exited while loop. packet: %d, buffer list length: %d",this.packet.length,this._list.length),this._list.length}_parseHeader(){const e=this._list.readUInt8(0);return this.packet.cmd=s.types[e>>s.CMD_SHIFT],this.packet.retain=0!==(e&s.RETAIN_MASK),this.packet.qos=e>>s.QOS_SHIFT&s.QOS_MASK,this.packet.dup=0!==(e&s.DUP_MASK),a("_parseHeader: packet: %o",this.packet),this._list.consume(1),!0}_parseLength(){const e=this._parseVarByteNum(!0);return e&&(this.packet.length=e.value,this._list.consume(e.bytes)),a("_parseLength %d",e.value),!!e}_parsePayload(){a("_parsePayload: payload %O",this._list);let e=!1;if(0===this.packet.length||this._list.length>=this.packet.length){switch(this._pos=0,this.packet.cmd){case"connect":this._parseConnect();break;case"connack":this._parseConnack();break;case"publish":this._parsePublish();break;case"puback":case"pubrec":case"pubrel":case"pubcomp":this._parseConfirmation();break;case"subscribe":this._parseSubscribe();break;case"suback":this._parseSuback();break;case"unsubscribe":this._parseUnsubscribe();break;case"unsuback":this._parseUnsuback();break;case"pingreq":case"pingresp":break;case"disconnect":this._parseDisconnect();break;case"auth":this._parseAuth();break;default:this._emitError(new Error("Not supported"))}e=!0}return a("_parsePayload complete result: %s",e),e}_parseConnect(){let e,t,n,r;a("_parseConnect");const i={},o=this.packet,c=this._parseString();if(null===c)return this._emitError(new Error("Cannot parse protocolId"));if("MQTT"!==c&&"MQIsdp"!==c)return this._emitError(new Error("Invalid protocolId"));if(o.protocolId=c,this._pos>=this._list.length)return this._emitError(new Error("Packet too short"));if(o.protocolVersion=this._list.readUInt8(this._pos),o.protocolVersion>=128&&(o.bridgeMode=!0,o.protocolVersion=o.protocolVersion-128),3!==o.protocolVersion&&4!==o.protocolVersion&&5!==o.protocolVersion)return this._emitError(new Error("Invalid protocol version"));if(this._pos++,this._pos>=this._list.length)return this._emitError(new Error("Packet too short"));if(i.username=this._list.readUInt8(this._pos)&s.USERNAME_MASK,i.password=this._list.readUInt8(this._pos)&s.PASSWORD_MASK,i.will=this._list.readUInt8(this._pos)&s.WILL_FLAG_MASK,i.will&&(o.will={},o.will.retain=0!==(this._list.readUInt8(this._pos)&s.WILL_RETAIN_MASK),o.will.qos=(this._list.readUInt8(this._pos)&s.WILL_QOS_MASK)>>s.WILL_QOS_SHIFT),o.clean=0!==(this._list.readUInt8(this._pos)&s.CLEAN_SESSION_MASK),this._pos++,o.keepalive=this._parseNum(),-1===o.keepalive)return this._emitError(new Error("Packet too short"));if(5===o.protocolVersion){const e=this._parseProperties();Object.getOwnPropertyNames(e).length&&(o.properties=e)}const u=this._parseString();if(null===u)return this._emitError(new Error("Packet too short"));if(o.clientId=u,a("_parseConnect: packet.clientId: %s",o.clientId),i.will){if(5===o.protocolVersion){const e=this._parseProperties();Object.getOwnPropertyNames(e).length&&(o.will.properties=e)}if(e=this._parseString(),null===e)return this._emitError(new Error("Cannot parse will topic"));if(o.will.topic=e,a("_parseConnect: packet.will.topic: %s",o.will.topic),t=this._parseBuffer(),null===t)return this._emitError(new Error("Cannot parse will payload"));o.will.payload=t,a("_parseConnect: packet.will.paylaod: %s",o.will.payload)}if(i.username){if(r=this._parseString(),null===r)return this._emitError(new Error("Cannot parse username"));o.username=r,a("_parseConnect: packet.username: %s",o.username)}if(i.password){if(n=this._parseBuffer(),null===n)return this._emitError(new Error("Cannot parse password"));o.password=n}return this.settings=o,a("_parseConnect: complete"),o}_parseConnack(){a("_parseConnack");const e=this.packet;if(this._list.length<1)return null;if(e.sessionPresent=!!(this._list.readUInt8(this._pos++)&s.SESSIONPRESENT_MASK),5===this.settings.protocolVersion)this._list.length>=2?e.reasonCode=this._list.readUInt8(this._pos++):e.reasonCode=0;else{if(this._list.length<2)return null;e.returnCode=this._list.readUInt8(this._pos++)}if(-1===e.returnCode||-1===e.reasonCode)return this._emitError(new Error("Cannot parse return code"));if(5===this.settings.protocolVersion){const t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}a("_parseConnack: complete")}_parsePublish(){a("_parsePublish");const e=this.packet;if(e.topic=this._parseString(),null===e.topic)return this._emitError(new Error("Cannot parse topic"));if(!(e.qos>0)||this._parseMessageId()){if(5===this.settings.protocolVersion){const t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}e.payload=this._list.slice(this._pos,e.length),a("_parsePublish: payload from buffer list: %o",e.payload)}}_parseSubscribe(){a("_parseSubscribe");const e=this.packet;let t,n,r,i,o,c,u;if(1!==e.qos)return this._emitError(new Error("Wrong subscribe header"));if(e.subscriptions=[],this._parseMessageId()){if(5===this.settings.protocolVersion){const t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}while(this._pos=e.length)return this._emitError(new Error("Malformed Subscribe Payload"));n=this._parseByte(),r=n&s.SUBSCRIBE_OPTIONS_QOS_MASK,c=0!==(n>>s.SUBSCRIBE_OPTIONS_NL_SHIFT&s.SUBSCRIBE_OPTIONS_NL_MASK),o=0!==(n>>s.SUBSCRIBE_OPTIONS_RAP_SHIFT&s.SUBSCRIBE_OPTIONS_RAP_MASK),i=n>>s.SUBSCRIBE_OPTIONS_RH_SHIFT&s.SUBSCRIBE_OPTIONS_RH_MASK,u={topic:t,qos:r},5===this.settings.protocolVersion?(u.nl=c,u.rap=o,u.rh=i):this.settings.bridgeMode&&(u.rh=0,u.rap=!0,u.nl=!0),a("_parseSubscribe: push subscription `%s` to subscription",u),e.subscriptions.push(u)}}}_parseSuback(){a("_parseSuback");const e=this.packet;if(this.packet.granted=[],this._parseMessageId()){if(5===this.settings.protocolVersion){const t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}while(this._pos2?(e.reasonCode=this._parseByte(),a("_parseConfirmation: packet.reasonCode `%d`",e.reasonCode)):e.reasonCode=0,e.length>3)){const t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}return!0}_parseDisconnect(){const e=this.packet;if(a("_parseDisconnect"),5===this.settings.protocolVersion){this._list.length>0?e.reasonCode=this._parseByte():e.reasonCode=0;const t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}return a("_parseDisconnect result: true"),!0}_parseAuth(){a("_parseAuth");const e=this.packet;if(5!==this.settings.protocolVersion)return this._emitError(new Error("Not supported auth packet for this version MQTT"));e.reasonCode=this._parseByte();const t=this._parseProperties();return Object.getOwnPropertyNames(t).length&&(e.properties=t),a("_parseAuth: result: true"),!0}_parseMessageId(){const e=this.packet;return e.messageId=this._parseNum(),null===e.messageId?(this._emitError(new Error("Cannot parse messageId")),!1):(a("_parseMessageId: packet.messageId %d",e.messageId),!0)}_parseString(e){const t=this._parseNum(),n=t+this._pos;if(-1===t||n>this._list.length||n>this.packet.length)return null;const r=this._list.toString("utf8",this._pos,n);return this._pos+=t,a("_parseString: result: %s",r),r}_parseStringPair(){return a("_parseStringPair"),{name:this._parseString(),value:this._parseString()}}_parseBuffer(){const e=this._parseNum(),t=e+this._pos;if(-1===e||t>this._list.length||t>this.packet.length)return null;const n=this._list.slice(this._pos,t);return this._pos+=e,a("_parseBuffer: result: %o",n),n}_parseNum(){if(this._list.length-this._pos<2)return-1;const e=this._list.readUInt16BE(this._pos);return this._pos+=2,a("_parseNum: result: %s",e),e}_parse4ByteNum(){if(this._list.length-this._pos<4)return-1;const e=this._list.readUInt32BE(this._pos);return this._pos+=4,a("_parse4ByteNum: result: %s",e),e}_parseVarByteNum(e){a("_parseVarByteNum");const t=4;let n,r=0,i=1,o=0,c=!1;const u=this._pos?this._pos:0;while(r=r&&this._emitError(new Error("Invalid variable byte integer")),u&&(this._pos+=r),c=!!c&&(e?{bytes:r,value:o}:o),a("_parseVarByteNum: result: %o",c),c}_parseByte(){let e;return this._pos0){e=new Array(arguments.length-2);for(var t=0;t0)for(var n=0,i=arguments.length;n1)n=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");r=this.head.next,n=this.head.value}for(var i=0;null!==r;i++)n=e(n,r.value,i),r=r.next;return n},r.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");r=this.tail.prev,n=this.tail.value}for(var i=this.length-1;null!==r;i--)n=e(n,r.value,i),r=r.prev;return n},r.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;null!==n;t++)e[t]=n.value,n=n.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;null!==n;t++)e[t]=n.value,n=n.prev;return e},r.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new r;if(tthis.length&&(t=this.length);for(var i=0,o=this.head;null!==o&&ithis.length&&(t=this.length);for(var i=this.length,o=this.tail;null!==o&&i>t;i--)o=o.prev;for(;null!==o&&i>e;i--,o=o.prev)n.push(o.value);return n},r.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,o=this.head;null!==o&&rthis.length||e<0)return;const t=this._offset(e);return this._bufs[t[0]][t[1]]},o.prototype.slice=function(e,t){return"number"===typeof e&&e<0&&(e+=this.length),"number"===typeof t&&t<0&&(t+=this.length),this.copy(null,0,e,t)},o.prototype.copy=function(e,t,n,i){if(("number"!==typeof n||n<0)&&(n=0),("number"!==typeof i||i>this.length)&&(i=this.length),n>=this.length)return e||r.alloc(0);if(i<=0)return e||r.alloc(0);const o=!!e,s=this._offset(n),a=i-n;let c=a,u=o&&t||0,l=s[1];if(0===n&&i===this.length){if(!o)return 1===this._bufs.length?this._bufs[0]:r.concat(this._bufs,this.length);for(let t=0;tt)){this._bufs[r].copy(e,u,l,l+c),u+=t;break}this._bufs[r].copy(e,u,l),u+=t,c-=t,l&&(l=0)}return e.length>u?e.slice(0,u):e},o.prototype.shallowSlice=function(e,t){if(e=e||0,t="number"!==typeof t?this.length:t,e<0&&(e+=this.length),t<0&&(t+=this.length),e===t)return this._new();const n=this._offset(e),r=this._offset(t),i=this._bufs.slice(n[0],r[0]+1);return 0===r[1]?i.pop():i[i.length-1]=i[i.length-1].slice(0,r[1]),0!==n[1]&&(i[0]=i[0].slice(n[1])),this._new(i)},o.prototype.toString=function(e,t,n){return this.slice(t,n).toString(e)},o.prototype.consume=function(e){if(e=Math.trunc(e),Number.isNaN(e)||e<=0)return this;while(this._bufs.length){if(!(e>=this._bufs[0].length)){this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift()}return this},o.prototype.duplicate=function(){const e=this._new();for(let t=0;tthis.length?this.length:t;const i=this._offset(t);let o=i[0],s=i[1];for(;o=e.length){const n=t.indexOf(e,s);if(-1!==n)return this._reverseOffset([o,n]);s=t.length-e.length+1}else{const t=this._reverseOffset([o,s]);if(this._match(t,e))return t;s++}}s=0}return-1},o.prototype._match=function(e,t){if(this.length-e=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function o(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)}function s(...e){return"object"===typeof console&&console.log&&console.log(...e)}function a(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}}function c(){let e;try{e=t.storage.getItem("debug")}catch(n){}return!e&&"undefined"!==typeof r&&"env"in r&&(e=Object({NODE_ENV:"production",BASE_URL:""}).DEBUG),e}function u(){try{return localStorage}catch(e){}}t.log=s,t.formatArgs=o,t.save=a,t.load=c,t.useColors=i,t.storage=u(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n("dc90")(t);const{formatters:l}=e.exports;l.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}).call(this,n("4362"))},"35e8":function(e,t,n){"use strict";e.exports={isString:function(e){return"string"===typeof e},isObject:function(e){return"object"===typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},"386b":function(e,t,n){"use strict";var r;function i(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var o=n("9bfc").codes,s=o.ERR_MISSING_ARGS,a=o.ERR_STREAM_DESTROYED;function c(e){if(e)throw e}function u(e){return e.setHeader&&"function"===typeof e.abort}function l(e,t,o,s){s=i(s);var c=!1;e.on("close",(function(){c=!0})),void 0===r&&(r=n("bf09")),r(e,{readable:t,writable:o},(function(e){if(e)return s(e);c=!0,s()}));var l=!1;return function(t){if(!c&&!l)return l=!0,u(e)?e.abort():"function"===typeof e.destroy?e.destroy():void s(t||new a("pipe"))}}function h(e){e()}function f(e,t){return e.pipe(t)}function p(e){return e.length?"function"!==typeof e[e.length-1]?c:e.pop():c}function d(){for(var e=arguments.length,t=new Array(e),n=0;n0;return l(e,s,a,(function(e){r||(r=e),e&&o.forEach(h),s||(o.forEach(h),i(r))}))}));return t.reduce(f)}e.exports=d},"3ca2":function(e,t,n){"use strict";e.exports=l;var r=n("fbd7").codes,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,s=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=r.ERR_TRANSFORM_WITH_LENGTH_0,c=n("be3f");function u(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length0&&(this.length-=1)},t.prototype.top=function(){return this.stack[this.length-1]},t}(o),u=c,l=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return l(t,e),t}(s),f=h;function p(e,t,n){if(en)throw new RangeError}var d=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),g=function(e){function t(t,n,r,o,s){var a=e.call(this,s)||this;return a.node=t,a.size=n,a.getElementByPos=r,a.setElementByPos=o,a.iteratorType===i.NORMAL?(a.pre=function(){if(0===this.node)throw new RangeError("Deque iterator access denied!");return this.node-=1,this},a.next=function(){if(this.node===this.size())throw new RangeError("Deque Iterator access denied!");return this.node+=1,this}):(a.pre=function(){if(this.node===this.size()-1)throw new RangeError("Deque iterator access denied!");return this.node+=1,this},a.next=function(){if(-1===this.node)throw new RangeError("Deque iterator access denied!");return this.node-=1,this}),a}return d(t,e),Object.defineProperty(t.prototype,"pointer",{get:function(){return p(this.node,0,this.size()-1),this.getElementByPos(this.node)},set:function(e){p(this.node,0,this.size()-1),this.setElementByPos(this.node,e)},enumerable:!1,configurable:!0}),t.prototype.equals=function(e){return this.node===e.node},t}(i),b=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),y=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(e){return function(t){return c([e,t])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0)&&!(r=o.next()).done)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return s},v=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i>1)-(s>>1),i.curFirst=i.curLast=i.bucketSize-r%i.bucketSize>>1,t.forEach((function(e){return i.pushBack(e)})),i.size=i.size.bind(i),i.getElementByPos=i.getElementByPos.bind(i),i.setElementByPos=i.setElementByPos.bind(i),i}return b(t,e),t.prototype.reAllocate=function(){for(var e=[],t=Math.max(this.bucketNum>>1,1),n=0;n>1},t.prototype.front=function(){return this.map[this.first][this.curFirst]},t.prototype.back=function(){return this.map[this.last][this.curLast]},t.prototype.begin=function(){return new w(0,this.size,this.getElementByPos,this.setElementByPos)},t.prototype.end=function(){return new w(this.length,this.size,this.getElementByPos,this.setElementByPos)},t.prototype.rBegin=function(){return new w(this.length-1,this.size,this.getElementByPos,this.setElementByPos,i.REVERSE)},t.prototype.rEnd=function(){return new w(-1,this.size,this.getElementByPos,this.setElementByPos,i.REVERSE)},t.prototype.pushBack=function(e){this.length&&(this.curLast0?this.curLast-=1:this.last>0?(this.last-=1,this.curLast=this.bucketSize-1):(this.last=this.bucketNum-1,this.curLast=this.bucketSize-1)),this.length-=1)},t.prototype.pushFront=function(e){this.length&&(this.curFirst>0?this.curFirst-=1:this.first>0?(this.first-=1,this.curFirst=this.bucketSize-1):(this.first=this.bucketNum-1,this.curFirst=this.bucketSize-1),this.first===this.last&&this.curFirst===this.curLast&&this.reAllocate()),this.length+=1,this.map[this.first][this.curFirst]=e},t.prototype.popFront=function(){this.length&&(this.map[this.first][this.curFirst]=void 0,1!==this.length&&(this.curFirste)this.popBack()}},t.prototype.sort=function(e){for(var t=[],n=0;n0)&&!(r=o.next()).done)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return s},R=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;it?-1:e>1;s>=0;--s){var a=s,c=a<<1|1;while(c0&&(h=l),o.cmp(o.priorityQueue[a],o.priorityQueue[h])<=0)break;i=I([o.priorityQueue[h],o.priorityQueue[a]],2),o.priorityQueue[a]=i[0],o.priorityQueue[h]=i[1],a=h,c=a<<1|1}}return o}return x(t,e),t.prototype.adjust=function(e){var t,n,r=e<<1|1,i=2+(e<<1);r0&&(t=I([this.priorityQueue[r],this.priorityQueue[e]],2),this.priorityQueue[e]=t[0],this.priorityQueue[r]=t[1]),i0&&(n=I([this.priorityQueue[i],this.priorityQueue[e]],2),this.priorityQueue[e]=n[0],this.priorityQueue[i]=n[1])},t.prototype.clear=function(){this.length=0,this.priorityQueue.length=0},t.prototype.push=function(e){if(this.priorityQueue.push(e),this.length+=1,1!==this.length){var t=this.length-1;while(t>0){var n=t-1>>1;if(this.cmp(this.priorityQueue[n],e)<=0)break;this.adjust(n),t=n}}},t.prototype.pop=function(){if(this.length){var e=this.priorityQueue[this.length-1];this.length-=1;var t=0;while(t=this.length)break;var i=n;if(r0&&(i=r),this.cmp(this.priorityQueue[i],e)>=0)break;this.priorityQueue[t]=this.priorityQueue[i],t=i}this.priorityQueue[t]=e,this.priorityQueue.pop()}},t.prototype.top=function(){return this.priorityQueue[0]},t}(o),O=B,T=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),M=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(e){return function(t){return c([e,t])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0)&&!(r=o.next()).done)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return s},j=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},N=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return T(t,e),t.prototype.copy=function(){return new t(this.node,this.size,this.getElementByPos,this.setElementByPos,this.iteratorType)},t}(g),L=function(e){function t(t,n){void 0===t&&(t=[]),void 0===n&&(n=!0);var r=e.call(this)||this;return Array.isArray(t)?(r.vector=n?j([],P(t),!1):t,r.length=t.length):(r.vector=[],t.forEach((function(e){return r.pushBack(e)}))),r.size=r.size.bind(r),r.getElementByPos=r.getElementByPos.bind(r),r.setElementByPos=r.setElementByPos.bind(r),r}return T(t,e),t.prototype.clear=function(){this.length=0,this.vector.length=0},t.prototype.begin=function(){return new N(0,this.size,this.getElementByPos,this.setElementByPos)},t.prototype.end=function(){return new N(this.length,this.size,this.getElementByPos,this.setElementByPos)},t.prototype.rBegin=function(){return new N(this.length-1,this.size,this.getElementByPos,this.setElementByPos,i.REVERSE)},t.prototype.rEnd=function(){return new N(-1,this.size,this.getElementByPos,this.setElementByPos,i.REVERSE)},t.prototype.front=function(){return this.vector[0]},t.prototype.back=function(){return this.vector[this.length-1]},t.prototype.forEach=function(e){for(var t=0;t0&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0)&&!(r=o.next()).done)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return s},H=function(e){function t(t){void 0===t&&(t=function(e,t){return et?1:0});var n=e.call(this)||this;return n.root=void 0,n.header=new G,n.inOrderTraversal=function(e,t){if(void 0===e)return!1;var r=n.inOrderTraversal(e.left,t);return!!r||(!!t(e)||n.inOrderTraversal(e.right,t))},n.cmp=t,n}return Y(t,e),t.prototype._lowerBound=function(e,t){var n;while(e){var r=this.cmp(e.key,t);if(r<0)e=e.right;else{if(!(r>0))return e;n=e,e=e.left}}return void 0===n?this.header:n},t.prototype._upperBound=function(e,t){var n;while(e){var r=this.cmp(e.key,t);r<=0?e=e.right:r>0&&(n=e,e=e.left)}return void 0===n?this.header:n},t.prototype._reverseLowerBound=function(e,t){var n;while(e){var r=this.cmp(e.key,t);if(r<0)n=e,e=e.right;else{if(!(r>0))return e;e=e.left}}return void 0===n?this.header:n},t.prototype._reverseUpperBound=function(e,t){var n;while(e){var r=this.cmp(e.key,t);r<0?(n=e,e=e.right):r>=0&&(e=e.left)}return void 0===n?this.header:n},t.prototype.eraseNodeSelfBalance=function(e){while(1){var t=e.parent;if(t===this.header)return;if(e.color===G.RED)return void(e.color=G.BLACK);if(e===t.left){var n=t.right;if(n.color===G.RED)n.color=G.BLACK,t.color=G.RED,t===this.root?this.root=t.rotateLeft():t.rotateLeft();else if(n.color===G.BLACK){if(n.right&&n.right.color===G.RED)return n.color=t.color,t.color=G.BLACK,n.right.color=G.BLACK,void(t===this.root?this.root=t.rotateLeft():t.rotateLeft());n.left&&n.left.color===G.RED?(n.color=G.RED,n.left.color=G.BLACK,n.rotateRight()):(n.color=G.RED,e=t)}}else{n=t.left;if(n.color===G.RED)n.color=G.BLACK,t.color=G.RED,t===this.root?this.root=t.rotateRight():t.rotateRight();else{if(n.left&&n.left.color===G.RED)return n.color=t.color,t.color=G.BLACK,n.left.color=G.BLACK,void(t===this.root?this.root=t.rotateRight():t.rotateRight());n.right&&n.right.color===G.RED?(n.color=G.RED,n.right.color=G.BLACK,n.rotateLeft()):(n.color=G.RED,e=t)}}}},t.prototype.eraseNode=function(e){var t,n;if(1!==this.length){var r=e;while(r.left||r.right){if(r.right){r=r.right;while(r.left)r=r.left}else r.left&&(r=r.left);t=W([r.key,e.key],2),e.key=t[0],r.key=t[1],n=W([r.value,e.value],2),e.value=n[0],r.value=n[1],e=r}this.header.left===r?this.header.left=r.parent:this.header.right===r&&(this.header.right=r.parent),this.eraseNodeSelfBalance(r),r.remove(),this.length-=1,this.root.color=G.BLACK}else this.clear()},t.prototype.insertNodeSelfBalance=function(e){while(1){var t=e.parent;if(t.color===G.BLACK)return;var n=t.parent;if(t===n.left){var r=n.right;if(r&&r.color===G.RED){if(r.color=t.color=G.BLACK,n===this.root)return;n.color=G.RED,e=n;continue}if(e===t.right){if(e.color=G.BLACK,e.left&&(e.left.parent=t),e.right&&(e.right.parent=n),t.right=e.left,n.left=e.right,e.left=t,e.right=n,n===this.root)this.root=e,this.header.parent=e;else{var i=n.parent;i.left===n?i.left=e:i.right=e}e.parent=n.parent,t.parent=e,n.parent=e}else t.color=G.BLACK,n===this.root?this.root=n.rotateRight():n.rotateRight();n.color=G.RED}else{r=n.left;if(r&&r.color===G.RED){if(r.color=t.color=G.BLACK,n===this.root)return;n.color=G.RED,e=n;continue}if(e===t.left){if(e.color=G.BLACK,e.left&&(e.left.parent=n),e.right&&(e.right.parent=t),n.right=e.left,t.left=e.right,e.left=n,e.right=t,n===this.root)this.root=e,this.header.parent=e;else{i=n.parent;i.left===n?i.left=e:i.right=e}e.parent=n.parent,t.parent=e,n.parent=e}else t.color=G.BLACK,n===this.root?this.root=n.rotateLeft():n.rotateLeft();n.color=G.RED}return}},t.prototype.findElementNode=function(e,t){while(e){var n=this.cmp(e.key,t);if(n<0)e=e.right;else{if(!(n>0))return e;e=e.left}}return e},t.prototype.set=function(e,t,n){if(void 0===this.root)return this.length+=1,this.root=new G(e,t),this.root.color=G.BLACK,this.root.parent=this.header,this.header.parent=this.root,this.header.left=this.root,void(this.header.right=this.root);var r,i=this.header.left,o=this.cmp(i.key,e);if(0!==o){if(o>0)i.left=new G(e,t),i.left.parent=i,r=i.left,this.header.left=r;else{var s=this.header.right,a=this.cmp(s.key,e);if(0===a)return void(s.value=t);if(a<0)s.right=new G(e,t),s.right.parent=s,r=s.right,this.header.right=r;else{if(void 0!==n){var c=n.node;if(c!==this.header){var u=this.cmp(c.key,e);if(0===u)return void(c.value=t);if(u>0){var l=c.pre(),h=this.cmp(l.key,e);if(0===h)return void(l.value=t);h<0&&(r=new G(e,t),void 0===l.right?(l.right=r,r.parent=l):(c.left=r,r.parent=c))}}}if(void 0===r){r=this.root;while(1){var f=this.cmp(r.key,e);if(f>0){if(void 0===r.left){r.left=new G(e,t),r.left.parent=r,r=r.left;break}r=r.left}else{if(!(f<0))return void(r.value=t);if(void 0===r.right){r.right=new G(e,t),r.right.parent=r,r=r.right;break}r=r.right}}}}}this.length+=1,this.insertNodeSelfBalance(r)}else i.value=t},t.prototype.clear=function(){this.length=0,this.root=void 0,this.header.parent=void 0,this.header.left=this.header.right=void 0},t.prototype.updateKeyByIterator=function(e,t){var n=e.node;if(n===this.header)throw new TypeError("Invalid iterator!");if(1===this.length)return n.key=t,!0;if(n===this.header.left)return this.cmp(n.next().key,t)>0&&(n.key=t,!0);if(n===this.header.right)return this.cmp(n.pre().key,t)<0&&(n.key=t,!0);var r=n.pre().key;if(this.cmp(r,t)>=0)return!1;var i=n.next().key;return!(this.cmp(i,t)<=0)&&(n.key=t,!0)},t.prototype.eraseElementByPos=function(e){var t=this;p(e,0,this.length-1);var n=0;this.inOrderTraversal(this.root,(function(r){return e===n?(t.eraseNode(r),!0):(n+=1,!1)}))},t.prototype.eraseElementByKey=function(e){if(this.length){var t=this.findElementNode(this.root,e);void 0!==t&&this.eraseNode(t)}},t.prototype.eraseElementByIterator=function(e){var t=e.node;if(t===this.header)throw new RangeError("Invalid iterator");return void 0===t.right&&(e=e.next()),this.eraseNode(t),e},t.prototype.getHeight=function(){if(!this.length)return 0;var e=function(t){return t?Math.max(e(t.left),e(t.right))+1:0};return e(this.root)},t}(s),Z=H,X=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),J=function(e){function t(t,n,r){var o=e.call(this,r)||this;return o.node=t,o.header=n,o.iteratorType===i.NORMAL?(o.pre=function(){if(this.node===this.header.left)throw new RangeError("LinkList iterator access denied!");return this.node=this.node.pre(),this},o.next=function(){if(this.node===this.header)throw new RangeError("LinkList iterator access denied!");return this.node=this.node.next(),this}):(o.pre=function(){if(this.node===this.header.right)throw new RangeError("LinkList iterator access denied!");return this.node=this.node.next(),this},o.next=function(){if(this.node===this.header)throw new RangeError("LinkList iterator access denied!");return this.node=this.node.pre(),this}),o}return X(t,e),t.prototype.equals=function(e){return this.node===e.node},t}(i),$=J,ee=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),te=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(e){return function(t){return c([e,t])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},re=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ee(t,e),Object.defineProperty(t.prototype,"pointer",{get:function(){if(this.node===this.header)throw new RangeError("OrderedSet iterator access denied!");return this.node.key},enumerable:!1,configurable:!0}),t.prototype.copy=function(){return new t(this.node,this.header,this.iteratorType)},t}($),ie=function(e){function t(t,n){void 0===t&&(t=[]);var r=e.call(this,n)||this;return r.iterationFunc=function(e){return te(this,(function(t){switch(t.label){case 0:return void 0===e?[2]:[5,ne(this.iterationFunc(e.left))];case 1:return t.sent(),[4,e.key];case 2:return t.sent(),[5,ne(this.iterationFunc(e.right))];case 3:return t.sent(),[2]}}))},t.forEach((function(e){return r.insert(e)})),r.iterationFunc=r.iterationFunc.bind(r),r}return ee(t,e),t.prototype.begin=function(){return new re(this.header.left||this.header,this.header)},t.prototype.end=function(){return new re(this.header,this.header)},t.prototype.rBegin=function(){return new re(this.header.right||this.header,this.header,i.REVERSE)},t.prototype.rEnd=function(){return new re(this.header,this.header,i.REVERSE)},t.prototype.front=function(){return this.header.left?this.header.left.key:void 0},t.prototype.back=function(){return this.header.right?this.header.right.key:void 0},t.prototype.forEach=function(e){var t,n,r=0;try{for(var i=ne(this),o=i.next();!o.done;o=i.next()){var s=o.value;e(s,r++)}}catch(a){t={error:a}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}},t.prototype.getElementByPos=function(e){var t,n,r;p(e,0,this.length-1);var i=0;try{for(var o=ne(this),s=o.next();!s.done;s=o.next()){var a=s.value;i===e&&(r=a),i+=1}}catch(c){t={error:c}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r},t.prototype.insert=function(e,t){this.set(e,void 0,t)},t.prototype.find=function(e){var t=this.findElementNode(this.root,e);return void 0!==t?new re(t,this.header):this.end()},t.prototype.lowerBound=function(e){var t=this._lowerBound(this.root,e);return new re(t,this.header)},t.prototype.upperBound=function(e){var t=this._upperBound(this.root,e);return new re(t,this.header)},t.prototype.reverseLowerBound=function(e){var t=this._reverseLowerBound(this.root,e);return new re(t,this.header)},t.prototype.reverseUpperBound=function(e){var t=this._reverseUpperBound(this.root,e);return new re(t,this.header)},t.prototype.union=function(e){var t=this;e.forEach((function(e){return t.insert(e)}))},t.prototype[Symbol.iterator]=function(){return this.iterationFunc(this.root)},t}(Z),oe=ie,se=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ae=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(e){return function(t){return c([e,t])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0)&&!(r=o.next()).done)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return s},ue=function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},le=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return se(t,e),Object.defineProperty(t.prototype,"pointer",{get:function(){var e=this;if(this.node===this.header)throw new RangeError("OrderedMap iterator access denied");return new Proxy([],{get:function(t,n){return"0"===n?e.node.key:"1"===n?e.node.value:void 0},set:function(t,n,r){if("1"!==n)throw new TypeError("props must be 1");return e.node.value=r,!0}})},enumerable:!1,configurable:!0}),t.prototype.copy=function(){return new t(this.node,this.header,this.iteratorType)},t}($),he=function(e){function t(t,n){void 0===t&&(t=[]);var r=e.call(this,n)||this;return r.iterationFunc=function(e){return ae(this,(function(t){switch(t.label){case 0:return void 0===e?[2]:[5,ue(this.iterationFunc(e.left))];case 1:return t.sent(),[4,[e.key,e.value]];case 2:return t.sent(),[5,ue(this.iterationFunc(e.right))];case 3:return t.sent(),[2]}}))},r.iterationFunc=r.iterationFunc.bind(r),t.forEach((function(e){var t=ce(e,2),n=t[0],i=t[1];return r.setElement(n,i)})),r}return se(t,e),t.prototype.begin=function(){return new le(this.header.left||this.header,this.header)},t.prototype.end=function(){return new le(this.header,this.header)},t.prototype.rBegin=function(){return new le(this.header.right||this.header,this.header,i.REVERSE)},t.prototype.rEnd=function(){return new le(this.header,this.header,i.REVERSE)},t.prototype.front=function(){if(this.length){var e=this.header.left;return[e.key,e.value]}},t.prototype.back=function(){if(this.length){var e=this.header.right;return[e.key,e.value]}},t.prototype.forEach=function(e){var t,n,r=0;try{for(var i=ue(this),o=i.next();!o.done;o=i.next()){var s=o.value;e(s,r++)}}catch(a){t={error:a}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}},t.prototype.lowerBound=function(e){var t=this._lowerBound(this.root,e);return new le(t,this.header)},t.prototype.upperBound=function(e){var t=this._upperBound(this.root,e);return new le(t,this.header)},t.prototype.reverseLowerBound=function(e){var t=this._reverseLowerBound(this.root,e);return new le(t,this.header)},t.prototype.reverseUpperBound=function(e){var t=this._reverseUpperBound(this.root,e);return new le(t,this.header)},t.prototype.setElement=function(e,t,n){this.set(e,t,n)},t.prototype.find=function(e){var t=this.findElementNode(this.root,e);return void 0!==t?new le(t,this.header):this.end()},t.prototype.getElementByKey=function(e){var t=this.findElementNode(this.root,e);return t?t.value:void 0},t.prototype.getElementByPos=function(e){var t,n,r;p(e,0,this.length-1);var i=0;try{for(var o=ue(this),s=o.next();!s.done;s=o.next()){var a=s.value;if(i===e){r=a;break}i+=1}}catch(c){t={error:c}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r},t.prototype.union=function(e){var t=this;e.forEach((function(e){var n=ce(e,2),r=n[0],i=n[1];return t.setElement(r,i)}))},t.prototype[Symbol.iterator]=function(){return this.iterationFunc(this.root)},t}(Z),fe=he,pe=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),de=function(e){function t(t,n){void 0===t&&(t=16),void 0===n&&(n=function(e){var t;t="string"!==typeof e?JSON.stringify(e):e;for(var n=0,r=t.length,i=0;i>>0});var r=e.call(this)||this;if(t<16||0!==(t&t-1))throw new RangeError("InitBucketNum range error");return r.bucketNum=r.initBucketNum=t,r.hashFunc=n,r}return pe(t,e),t.prototype.clear=function(){this.length=0,this.bucketNum=this.initBucketNum,this.hashTable=[]},t.sigma=.75,t.treeifyThreshold=8,t.untreeifyThreshold=6,t.minTreeifySize=64,t.maxBucketNum=1<<30,t}(o),ge=de,be=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ye=function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(e){return function(t){return c([e,t])}}function c(o){if(n)throw new TypeError("Generator is already executing.");while(s)try{if(n=1,r&&(i=2&o[0]?r["return"]:o[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,r=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!(i=i.length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},ve=function(e){function t(t,n,r){void 0===t&&(t=[]);var i=e.call(this,n,r)||this;return i.hashTable=[],t.forEach((function(e){return i.insert(e)})),i}return be(t,e),t.prototype.reAllocate=function(){var e=this;if(!(this.bucketNum>=ge.maxBucketNum)){var t=[],n=this.bucketNum;this.bucketNum<<=1;for(var r=Object.keys(this.hashTable),i=r.length,o=function(i){var o=parseInt(r[i]),a=s.hashTable[o],c=a.size();if(0===c)return"continue";if(1===c){var u=a.front();return t[s.hashFunc(u)&s.bucketNum-1]=new F([u],!1),"continue"}var l=[],h=[];a.forEach((function(t){var r=e.hashFunc(t);0===(r&n)?l.push(t):h.push(t)})),a instanceof oe?(l.length>ge.untreeifyThreshold?t[o]=new oe(l):l.length&&(t[o]=new F(l,!1)),h.length>ge.untreeifyThreshold?t[o+n]=new oe(h):h.length&&(t[o+n]=new F(h,!1))):(l.length>=ge.treeifyThreshold?t[o]=new oe(l):l.length&&(t[o]=new F(l,!1)),h.length>=ge.treeifyThreshold?t[o+n]=new oe(h):h.length&&(t[o+n]=new F(h,!1)))},s=this,a=0;a=ge.treeifyThreshold){if(this.bucketNum<=ge.minTreeifySize)return this.length+=1,void this.reAllocate();this.hashTable[t]=new oe(n)}this.length+=1}else{n.insert(e);var i=n.size();this.length+=i-r}}else this.hashTable[t]=new F([e],!1),this.length+=1;this.length>this.bucketNum*ge.sigma&&this.reAllocate()},t.prototype.eraseElementByKey=function(e){var t=this.hashFunc(e)&this.bucketNum-1,n=this.hashTable[t];if(n){var r=n.size();if(0!==r)if(n instanceof F){n.eraseElementByValue(e);var i=n.size();this.length+=i-r}else{n.eraseElementByKey(e);i=n.size();this.length+=i-r,i<=ge.untreeifyThreshold&&(this.hashTable[t]=new F(n))}}},t.prototype.find=function(e){var t=this.hashFunc(e)&this.bucketNum-1,n=this.hashTable[t];return!!n&&!n.find(e).equals(n.end())},t.prototype[Symbol.iterator]=function(){return function(){var e,t,n,r,i,o,s,a,c,u;return ye(this,(function(l){switch(l.label){case 0:e=Object.values(this.hashTable),t=e.length,n=0,l.label=1;case 1:if(!(n0&&i[i.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},ke=function(e){function t(t,n,r){void 0===t&&(t=[]);var i=e.call(this,n,r)||this;return i.hashTable=[],t.forEach((function(e){return i.setElement(e[0],e[1])})),i}return Ae(t,e),t.prototype.reAllocate=function(){var e=this;if(!(this.bucketNum>=ge.maxBucketNum)){var t=[],n=this.bucketNum;this.bucketNum<<=1;for(var r=Object.keys(this.hashTable),i=r.length,o=function(i){var o=parseInt(r[i]),a=s.hashTable[o],c=a.size();if(0===c)return"continue";if(1===c){var u=a.front();return t[s.hashFunc(u[0])&s.bucketNum-1]=new F([u],!1),"continue"}var l=[],h=[];a.forEach((function(t){var r=e.hashFunc(t[0]);0===(r&n)?l.push(t):h.push(t)})),a instanceof fe?(l.length>ge.untreeifyThreshold?t[o]=new fe(l):l.length&&(t[o]=new F(l,!1)),h.length>ge.untreeifyThreshold?t[o+n]=new fe(h):h.length&&(t[o+n]=new F(h,!1))):(l.length>=ge.treeifyThreshold?t[o]=new fe(l):l.length&&(t[o]=new F(l,!1)),h.length>=ge.treeifyThreshold?t[o+n]=new fe(h):h.length&&(t[o+n]=new F(h,!1)))},s=this,a=0;a=t.treeifyThreshold){if(this.bucketNum<=t.minTreeifySize)return this.length+=1,void this.reAllocate();this.hashTable[o]=new fe(this.hashTable[o])}this.length+=1}else{s.setElement(e,n);var h=s.size();this.length+=h-a}}else this.length+=1,this.hashTable[o]=new F([[e,n]],!1);this.length>this.bucketNum*t.sigma&&this.reAllocate()},t.prototype.getElementByKey=function(e){var t,n,r=this.hashFunc(e)&this.bucketNum-1,i=this.hashTable[r];if(i){if(i instanceof fe)return i.getElementByKey(e);try{for(var o=Ee(i),s=o.next();!s.done;s=o.next()){var a=s.value;if(a[0]===e)return a[1]}}catch(c){t={error:c}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}}},t.prototype.eraseElementByKey=function(e){var t,n,r=this.hashFunc(e)&this.bucketNum-1,i=this.hashTable[r];if(i)if(i instanceof F){var o=0;try{for(var s=Ee(i),a=s.next();!a.done;a=s.next()){var c=a.value;if(c[0]===e)return i.eraseElementByPos(o),void(this.length-=1);o+=1}}catch(h){t={error:h}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}}else{var u=i.size();i.eraseElementByKey(e);var l=i.size();this.length+=l-u,l<=ge.untreeifyThreshold&&(this.hashTable[r]=new F(i))}},t.prototype.find=function(e){var t,n,r=this.hashFunc(e)&this.bucketNum-1,i=this.hashTable[r];if(!i)return!1;if(i instanceof fe)return!i.find(e).equals(i.end());try{for(var o=Ee(i),s=o.next();!s.done;s=o.next()){var a=s.value;if(a[0]===e)return!0}}catch(c){t={error:c}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return!1},t.prototype[Symbol.iterator]=function(){return function(){var e,t,n,r,i,o,s,a,c,u;return Se(this,(function(l){switch(l.label){case 0:e=Object.values(this.hashTable),t=e.length,n=0,l.label=1;case 1:if(!(n1?arguments[1]:void 0)}})},"46bc":function(e,t,n){e.exports=n.p+"public/img/lishui.78a342dc.png"},"4d84":function(e,t,n){"use strict";const r=n("3d67").OrderedSet,i=n("687e")("number-allocator:trace"),o=n("687e")("number-allocator:error");function s(e,t){this.low=e,this.high=t}function a(e,t){if(!(this instanceof a))return new a(e,t);this.min=e,this.max=t,this.ss=new r([],(e,t)=>e.compare(t)),i("Create"),this.clear()}s.prototype.equals=function(e){return this.low===e.low&&this.high===e.high},s.prototype.compare=function(e){return this.lowe)&&(r===e?(this.ss.updateKeyByIterator(n,new s(r+1,o)),i("use():"+e),!0):o===e?(this.ss.updateKeyByIterator(n,new s(r,o-1)),i("use():"+e),!0):(this.ss.updateKeyByIterator(n,new s(e+1,o)),this.ss.insert(new s(r,e-1)),i("use():"+e),!0))}return i("use():failed"),!1},a.prototype.free=function(e){if(ethis.max)return void o("free():"+e+" is out of range");const t=new s(e,e),n=this.ss.upperBound(t);if(n.equals(this.ss.end())){if(n.equals(this.ss.begin()))return void this.ss.insert(t);n.pre();const r=n.pointer.high,i=n.pointer.high;i+1===e?this.ss.updateKeyByIterator(n,new s(r,e)):this.ss.insert(t)}else if(n.equals(this.ss.begin()))if(e+1===n.pointer.low){const e=n.pointer.high-1,t=n.pointer.high;this.ss.updateKeyByIterator(n,new s(e,t))}else this.ss.insert(t);else{const r=n.pointer.low,i=n.pointer.high;n.pre();const o=n.pointer.low,a=n.pointer.high;if(a+1===e)if(e+1===r){this.ss.eraseElementByIterator(n);const e=n.pointer.high;this.ss.updateKeyByIterator(n,new s(o,e))}else this.ss.updateKeyByIterator(n,new s(o,e));else e+1===r?(this.ss.eraseElementByIterator(n.next()),this.ss.insert(new s(e,i))):this.ss.insert(t)}i("free():"+e)},a.prototype.clear=function(){i("clear()"),this.ss.clear(),this.ss.insert(new s(this.min,this.max))},a.prototype.intervalCount=function(){return this.ss.size()},a.prototype.dump=function(){console.log("length:"+this.ss.size());for(const e of this.ss)console.log(e)},e.exports=a},"4fcc":function(e,t,n){},5:function(e,t){},5119:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAAAsCAYAAADctB6FAAANZUlEQVRogcWaeWxcRxnA55t372V7bcdH7MZJWudowAmJSi9BDyhX1QAViIJKSwsqIMr1R4VAIFARgoqqBVFEgdKKGxKJCppAC7QkHFXUNC7N5cROYzu2s3a8Xu/x3u47ZgbN213zMn5v141aZaTRvDc7b+Z9v/d9M998s9Dz09PoVSYQmov3FzMxYWzxvmmSV9AGhFKEEAVkJaCavTC8CqGYMGbYfdMxo4CIEFZaotdJYxoJwUKumQBThBPZZxgQiAAgXkODtug10pBmz4hfnYVci3Aaji8CaSa4mLHwjNgHagJmJUCazQtREGjEb0jQmPP6CwJpBANHlCKURprTSNALMQkRgJhBgNMoLY3RyGREEDjiXqxfKZAwEI3UOupL05CSBoDUr6kAp97HeZoiByobaQXPUu1eCtxLgXvcQFuiYDTSkijNEDMVhOWZCGDqEGjtHWnEOCvSEEmAUs9yCJR6KfbTDEiUyTQzjToIIsAAAUwwhUFZGi9sDokyCTkAQsxYgBI14YYBidKUZibCBBikluvvSwJyiSloUuclWXhInFRFzeDtFaGUI7QlCCUKCI0AEAYkqBVBExGB8OwFxiVoeWIRH4s1MhksmI0Ig2c1cB80I3E+iQIiakiYGYXBoIKJ1CFIAoyw8eoyhfonUSYTph1SCAw1BEqYloQlGqIhzYCI8wWtASC1Md2ALCIIKcQPAQEKyBGbtXodFjREDgjPQWi1Msx8gvNPMyDiHIGE+6CGiEDqWhH8AE7EfIMFGEGZGQq8bJR2iPNHPfua8eRNq25+/v29n6qB0R/Y3rpt5u6BXyOEYvX88of6vvS5wcRgsO7+r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ixMTyjDBwsBEtVkGOGovs+y8IgTIMk1oEHjxn9k1au6/d6hlAwY/UAxVMOEwKEPl35+09tVMBYV8pLD3biRsM5h+WonJoAAA1kB4Ec6y9LNjheJdm5N/64xJHw77HQfGztl0z4PDi/mIrqLeUbyOghj2e/0dIgdcyYzebP1flq/dPT2MERpTMcRUDPFa6WcZQ0LBEAeAySt+N3WwQd9RS22zZbXpxNoshBhGFSKuV5J87Zm1yG/7k/IQBogjP0a21AWPGJTzFfKrkAOrV5samVhkitKQZpDEZW2lX8qvv3b3dBYQ2o0B8ZhGnGtGLfOg0B+Gfn3m3Aq++KsZe8XpQoBcKLzzsozhGUBoDBBKAELxWp6QAO25UHV/LdLrDSQy9T42zoV6uBZSSNaOIx+u1V+0BIxd1PF5uhMhxI8pH0EI/fhiv8yFnMu81ukXCKFNCCF++H1xE0Lof2IOZnt/72ANAAAAAElFTkSuQmCC"},"51e9":function(e,t,n){"use strict";const r=n("f214").Duplex,i=n("3fb5"),o=n("33013");function s(e){if(!(this instanceof s))return new s(e);if("function"===typeof e){this._callback=e;const t=function(e){this._callback&&(this._callback(e),this._callback=null)}.bind(this);this.on("pipe",(function(e){e.on("error",t)})),this.on("unpipe",(function(e){e.removeListener("error",t)})),e=null}o._init.call(this,e),r.call(this)}i(s,r),Object.assign(s.prototype,o.prototype),s.prototype._new=function(e){return new s(e)},s.prototype._write=function(e,t,n){this._appendBuffer(e),"function"===typeof n&&n()},s.prototype._read=function(e){if(!this.length)return this.push(null);e=Math.min(e,this.length),this.push(this.slice(0,e)),this.consume(e)},s.prototype.end=function(e){r.prototype.end.call(this,e),this._callback&&(this._callback(null,this.slice()),this._callback=null)},s.prototype._destroy=function(e,t){this._bufs.length=0,this.length=0,t(e)},s.prototype._isBufferList=function(e){return e instanceof s||e instanceof o||s.isBufferList(e)},s.isBufferList=o.isBufferList,e.exports=s,e.exports.BufferListStream=s,e.exports.BufferList=o},"53a8":function(e,t){e.exports=r;var n=Object.prototype.hasOwnProperty;function r(){for(var e={},t=0;t1;class g{constructor(e){if("number"===typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!==typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[i]=e.max||1/0;const t=e.length||d;if(this[s]="function"!==typeof t?d:t,this[a]=e.stale||!1,e.maxAge&&"number"!==typeof e.maxAge)throw new TypeError("maxAge must be a number");this[c]=e.maxAge||0,this[u]=e.dispose,this[l]=e.noDisposeOnSet||!1,this[p]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!==typeof e||e<0)throw new TypeError("max must be a non-negative number");this[i]=e||1/0,m(this)}get max(){return this[i]}set allowStale(e){this[a]=!!e}get allowStale(){return this[a]}set maxAge(e){if("number"!==typeof e)throw new TypeError("maxAge must be a non-negative number");this[c]=e,m(this)}get maxAge(){return this[c]}set lengthCalculator(e){"function"!==typeof e&&(e=d),e!==this[s]&&(this[s]=e,this[o]=0,this[h].forEach(e=>{e.length=this[s](e.value,e.key),this[o]+=e.length})),m(this)}get lengthCalculator(){return this[s]}get length(){return this[o]}get itemCount(){return this[h].length}rforEach(e,t){t=t||this;for(let n=this[h].tail;null!==n;){const r=n.prev;A(this,e,n,t),n=r}}forEach(e,t){t=t||this;for(let n=this[h].head;null!==n;){const r=n.next;A(this,e,n,t),n=r}}keys(){return this[h].toArray().map(e=>e.key)}values(){return this[h].toArray().map(e=>e.value)}reset(){this[u]&&this[h]&&this[h].length&&this[h].forEach(e=>this[u](e.key,e.value)),this[f]=new Map,this[h]=new r,this[o]=0}dump(){return this[h].map(e=>!y(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[h]}set(e,t,n){if(n=n||this[c],n&&"number"!==typeof n)throw new TypeError("maxAge must be a number");const r=n?Date.now():0,a=this[s](t,e);if(this[f].has(e)){if(a>this[i])return v(this,this[f].get(e)),!1;const s=this[f].get(e),c=s.value;return this[u]&&(this[l]||this[u](e,c.value)),c.now=r,c.maxAge=n,c.value=t,this[o]+=a-c.length,c.length=a,this.get(e),m(this),!0}const p=new w(e,t,a,r,n);return p.length>this[i]?(this[u]&&this[u](e,t),!1):(this[o]+=p.length,this[h].unshift(p),this[f].set(e,this[h].head),m(this),!0)}has(e){if(!this[f].has(e))return!1;const t=this[f].get(e).value;return!y(this,t)}get(e){return b(this,e,!0)}peek(e){return b(this,e,!1)}pop(){const e=this[h].tail;return e?(v(this,e),e.value):null}del(e){v(this,this[f].get(e))}load(e){this.reset();const t=Date.now();for(let n=e.length-1;n>=0;n--){const r=e[n],i=r.e||0;if(0===i)this.set(r.k,r.v);else{const e=i-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[f].forEach((e,t)=>b(this,t,!1))}}const b=(e,t,n)=>{const r=e[f].get(t);if(r){const t=r.value;if(y(e,t)){if(v(e,r),!e[a])return}else n&&(e[p]&&(r.value.now=Date.now()),e[h].unshiftNode(r));return t.value}},y=(e,t)=>{if(!t||!t.maxAge&&!e[c])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[c]&&n>e[c]},m=e=>{if(e[o]>e[i])for(let t=e[h].tail;e[o]>e[i]&&null!==t;){const n=t.prev;v(e,t),t=n}},v=(e,t)=>{if(t){const n=t.value;e[u]&&e[u](n.key,n.value),e[o]-=n.length,e[f].delete(n.key),e[h].removeNode(t)}};class w{constructor(e,t,n,r,i){this.key=e,this.value=t,this.length=n,this.now=r,this.maxAge=i||0}}const A=(e,t,n,r)=>{let i=n.value;y(e,i)&&(v(e,n),e[a]||(i=void 0)),i&&t.call(r,i.value,i.key,e)};e.exports=g},"652a":function(e,t,n){"use strict";var r;function i(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var o=n("fbd7").codes,s=o.ERR_MISSING_ARGS,a=o.ERR_STREAM_DESTROYED;function c(e){if(e)throw e}function u(e){return e.setHeader&&"function"===typeof e.abort}function l(e,t,o,s){s=i(s);var c=!1;e.on("close",(function(){c=!0})),void 0===r&&(r=n("d9e1")),r(e,{readable:t,writable:o},(function(e){if(e)return s(e);c=!0,s()}));var l=!1;return function(t){if(!c&&!l)return l=!0,u(e)?e.abort():"function"===typeof e.destroy?e.destroy():void s(t||new a("pipe"))}}function h(e){e()}function f(e,t){return e.pipe(t)}function p(e){return e.length?"function"!==typeof e[e.length-1]?c:e.pop():c}function d(){for(var e=arguments.length,t=new Array(e),n=0;n0;return l(e,s,a,(function(e){r||(r=e),e&&o.forEach(h),s||(o.forEach(h),i(r))}))}));return t.reduce(f)}e.exports=d},6640:function(e,t,n){"use strict";var r=n("2785"),i=n.n(r);i.a},"687e":function(e,t,n){(function(r){function i(){return!("undefined"===typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"===typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!==typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!==typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function o(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,n)}function s(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}}function a(){let e;try{e=t.storage.getItem("debug")}catch(n){}return!e&&"undefined"!==typeof r&&"env"in r&&(e=Object({NODE_ENV:"production",BASE_URL:""}).DEBUG),e}function c(){try{return localStorage}catch(e){}}t.formatArgs=o,t.save=s,t.load=a,t.useColors=i,t.storage=c(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n("c15d")(t);const{formatters:u}=e.exports;u.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}).call(this,n("4362"))},"6c67":function(e,t,n){e.exports=n.p+"public/img/jiangning.07b2f9c9.png"},"6f1a":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEMAAAAtCAYAAAD1NNZZAAANiklEQVRogcWZe2wcx3nAv5l9zO3uvcg7vimS1stKZDeNGSV+BLJk10D8gJvCKJrAadA6bdqkfxnNH0X7R1CkLYIUbus+0odrx0EKO06cxPBDrpPWlts4sZhYimVZlERGFGlSJI+P4z1273ZvZ6bYe7DL4ezxZBvQgMOdnZ2dm+8333zfN7Po6cd8uMKEQs3RDq/u9HynxN9Fu07f2ZbUHZ4j4SrWi2XZ/fuVooTkwm+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+NjzWwBw6WoNBq6iZgQp+LTwCACYAPDY1QYB7+K7yfudHgeA/QDw6FUeBwAA/B9hy1IIFrdtZAAAAABJRU5ErkJggg=="},7:function(e,t){},7058:function(e,t,n){"use strict";e.exports=i;var r=n("3ca2");function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}n("3fb5")(i,r),i.prototype._transform=function(e,t,n){n(null,e)}},7135:function(e,t,n){(function(t){const r=n("b289"),i=t.allocUnsafe(0),o=t.from([0]),s=n("f0cb"),a=n("966d").nextTick,c=n("34eb")("mqtt-packet:writeToStream"),u=s.cache,l=s.generateNumber,h=s.generateCache,f=s.genBufVariableByteInt,p=s.generate4ByteBuffer;let d=P,g=!0;function b(e,t,n){switch(c("generate called"),t.cork&&(t.cork(),a(y,t)),g&&(g=!1,h()),c("generate: packet.cmd: %s",e.cmd),e.cmd){case"connect":return m(e,t,n);case"connack":return v(e,t,n);case"publish":return w(e,t,n);case"puback":case"pubrec":case"pubrel":case"pubcomp":return A(e,t,n);case"subscribe":return S(e,t,n);case"suback":return E(e,t,n);case"unsubscribe":return k(e,t,n);case"unsuback":return C(e,t,n);case"pingreq":case"pingresp":return x(e,t,n);case"disconnect":return I(e,t,n);case"auth":return R(e,t,n);default:return t.emit("error",new Error("Unknown command")),!1}}function y(e){e.uncork()}function m(e,n,i){const o=e||{},s=o.protocolId||"MQTT";let a=o.protocolVersion||4;const c=o.will;let u=o.clean;const l=o.keepalive||0,h=o.clientId||"",f=o.username,p=o.password,g=o.properties;void 0===u&&(u=!0);let b=0;if(!s||"string"!==typeof s&&!t.isBuffer(s))return n.emit("error",new Error("Invalid protocolId")),!1;if(b+=s.length+2,3!==a&&4!==a&&5!==a)return n.emit("error",new Error("Invalid protocol version")),!1;if(b+=1,("string"===typeof h||t.isBuffer(h))&&(h||a>=4)&&(h||u))b+=t.byteLength(h)+2;else{if(a<4)return n.emit("error",new Error("clientId must be supplied before 3.1.1")),!1;if(1*u===0)return n.emit("error",new Error("clientId must be given if cleanSession set to 0")),!1}if("number"!==typeof l||l<0||l>65535||l%1!==0)return n.emit("error",new Error("Invalid keepalive")),!1;if(b+=2,b+=1,5===a){var y=L(n,g);if(!y)return!1;b+=y.length}if(c){if("object"!==typeof c)return n.emit("error",new Error("Invalid will")),!1;if(!c.topic||"string"!==typeof c.topic)return n.emit("error",new Error("Invalid will topic")),!1;if(b+=t.byteLength(c.topic)+2,b+=2,c.payload){if(!(c.payload.length>=0))return n.emit("error",new Error("Invalid will payload")),!1;"string"===typeof c.payload?b+=t.byteLength(c.payload):b+=c.payload.length}var m={};if(5===a){if(m=L(n,c.properties),!m)return!1;b+=m.length}}let v=!1;if(null!=f){if(!V(f))return n.emit("error",new Error("Invalid username")),!1;v=!0,b+=t.byteLength(f)+2}if(null!=p){if(!v)return n.emit("error",new Error("Username is required to use password")),!1;if(!V(p))return n.emit("error",new Error("Invalid password")),!1;b+=q(p)+2}n.write(r.CONNECT_HEADER),O(n,b),N(n,s),o.bridgeMode&&(a+=128),n.write(131===a?r.VERSION131:132===a?r.VERSION132:4===a?r.VERSION4:5===a?r.VERSION5:r.VERSION3);let w=0;return w|=null!=f?r.USERNAME_MASK:0,w|=null!=p?r.PASSWORD_MASK:0,w|=c&&c.retain?r.WILL_RETAIN_MASK:0,w|=c&&c.qos?c.qos<0&&d(n,p),null!=y&&y.write(),c("publish: payload: %o",f),n.write(f)}function A(e,n,i){const o=i?i.protocolVersion:4,s=e||{},a=s.cmd||"puback",c=s.messageId,u=s.dup&&"pubrel"===a?r.DUP_MASK:0;let l=0;const h=s.reasonCode,f=s.properties;let p=5===o?3:2;if("pubrel"===a&&(l=1),"number"!==typeof c)return n.emit("error",new Error("Invalid messageId")),!1;let g=null;if(5===o&&"object"===typeof f){if(g=F(n,f,i,p),!g)return!1;p+=g.length}return n.write(r.ACKS[a][l][u][0]),O(n,p),d(n,c),5===o&&n.write(t.from([h])),null!==g&&g.write(),!0}function S(e,n,i){c("subscribe: packet: ");const o=i?i.protocolVersion:4,s=e||{},a=s.dup?r.DUP_MASK:0,u=s.messageId,l=s.subscriptions,h=s.properties;let f=0;if("number"!==typeof u)return n.emit("error",new Error("Invalid messageId")),!1;f+=2;let p=null;if(5===o){if(p=L(n,h),!p)return!1;f+=p.length}if("object"!==typeof l||!l.length)return n.emit("error",new Error("Invalid subscriptions")),!1;for(let r=0;r2)return n.emit("error",new Error("Invalid subscriptions - invalid Retain Handling")),!1}f+=t.byteLength(e)+2+1}c("subscribe: writing to stream: %o",r.SUBSCRIBE_HEADER),n.write(r.SUBSCRIBE_HEADER[1][a?1:0][0]),O(n,f),d(n,u),null!==p&&p.write();let g=!0;for(const c of l){const e=c.topic,i=c.qos,s=+c.nl,a=+c.rap,u=c.rh;let l;T(n,e),l=r.SUBSCRIBE_OPTIONS_QOS[i],5===o&&(l|=s?r.SUBSCRIBE_OPTIONS_NL:0,l|=a?r.SUBSCRIBE_OPTIONS_RAP:0,l|=u?r.SUBSCRIBE_OPTIONS_RH[u]:0),g=n.write(t.from([l]))}return g}function E(e,n,i){const o=i?i.protocolVersion:4,s=e||{},a=s.messageId,c=s.granted,u=s.properties;let l=0;if("number"!==typeof a)return n.emit("error",new Error("Invalid messageId")),!1;if(l+=2,"object"!==typeof c||!c.length)return n.emit("error",new Error("Invalid qos vector")),!1;for(let t=0;tr.VARBYTEINT_MAX)return e.emit("error",new Error(`Invalid variable byte integer: ${t}`)),!1;let n=B[t];return n||(n=f(t),t<16384&&(B[t]=n)),c("writeVarByteInt: writing to stream: %o",n),e.write(n)}function T(e,n){const r=t.byteLength(n);return d(e,r),c("writeString: %s",n),e.write(n,"utf8")}function M(e,t,n){T(e,t),T(e,n)}function P(e,t){return c("writeNumberCached: number: %d",t),c("writeNumberCached: %o",u[t]),e.write(u[t])}function j(e,t){const n=l(t);return c("writeNumberGenerated: %o",n),e.write(n)}function _(e,t){const n=p(t);return c("write4ByteNumber: %o",n),e.write(n)}function N(e,t){"string"===typeof t?T(e,t):t?(d(e,t.length),e.write(t)):d(e,0)}function L(e,n){if("object"!==typeof n||null!=n.length)return{length:1,write(){U(e,{},0)}};let i=0;function o(n,i){const o=r.propertiesTypes[n];let s=0;switch(o){case"byte":if("boolean"!==typeof i)return e.emit("error",new Error(`Invalid ${n}: ${i}`)),!1;s+=2;break;case"int8":if("number"!==typeof i||i<0||i>255)return e.emit("error",new Error(`Invalid ${n}: ${i}`)),!1;s+=2;break;case"binary":if(i&&null===i)return e.emit("error",new Error(`Invalid ${n}: ${i}`)),!1;s+=1+t.byteLength(i)+2;break;case"int16":if("number"!==typeof i||i<0||i>65535)return e.emit("error",new Error(`Invalid ${n}: ${i}`)),!1;s+=3;break;case"int32":if("number"!==typeof i||i<0||i>4294967295)return e.emit("error",new Error(`Invalid ${n}: ${i}`)),!1;s+=5;break;case"var":if("number"!==typeof i||i<0||i>268435455)return e.emit("error",new Error(`Invalid ${n}: ${i}`)),!1;s+=1+t.byteLength(f(i));break;case"string":if("string"!==typeof i)return e.emit("error",new Error(`Invalid ${n}: ${i}`)),!1;s+=3+t.byteLength(i.toString());break;case"pair":if("object"!==typeof i)return e.emit("error",new Error(`Invalid ${n}: ${i}`)),!1;s+=Object.getOwnPropertyNames(i).reduce((e,n)=>{const r=i[n];return Array.isArray(r)?e+=r.reduce((e,r)=>(e+=3+t.byteLength(n.toString())+2+t.byteLength(r.toString()),e),0):e+=3+t.byteLength(n.toString())+2+t.byteLength(i[n].toString()),e},0);break;default:return e.emit("error",new Error(`Invalid property ${n}: ${i}`)),!1}return s}if(n)for(const t in n){let e=0,r=0;const s=n[t];if(Array.isArray(s))for(let n=0;no){const n=i.shift();if(!n||!t[n])return!1;delete t[n],s=L(e,t)}return s}function D(e,n,i){const o=r.propertiesTypes[n];switch(o){case"byte":e.write(t.from([r.properties[n]])),e.write(t.from([+i]));break;case"int8":e.write(t.from([r.properties[n]])),e.write(t.from([i]));break;case"binary":e.write(t.from([r.properties[n]])),N(e,i);break;case"int16":e.write(t.from([r.properties[n]])),d(e,i);break;case"int32":e.write(t.from([r.properties[n]])),_(e,i);break;case"var":e.write(t.from([r.properties[n]])),O(e,i);break;case"string":e.write(t.from([r.properties[n]])),T(e,i);break;case"pair":Object.getOwnPropertyNames(i).forEach(o=>{const s=i[o];Array.isArray(s)?s.forEach(i=>{e.write(t.from([r.properties[n]])),M(e,o.toString(),i.toString())}):(e.write(t.from([r.properties[n]])),M(e,o.toString(),s.toString()))});break;default:return e.emit("error",new Error(`Invalid property ${n} value: ${i}`)),!1}}function U(e,t,n){O(e,n);for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&null!==t[r]){const n=t[r];if(Array.isArray(n))for(let t=0;t>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function u(e,t,n){var r=t.length-1;if(r=0?(i>0&&(e.lastNeed=i-1),i):--r=0?(i>0&&(e.lastNeed=i-2),i):--r=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0))}function l(e,t,n){if(128!==(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))return e.lastNeed=2,"�"}}function h(e){var t=this.lastTotal-this.lastNeed,n=l(this,e,t);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function f(e,t){var n=u(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)}function p(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function d(e,t){if((e.length-t)%2===0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function g(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function b(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function y(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function m(e){return e.toString(this.encoding)}function v(e){return e&&e.length?this.write(e):""}t.StringDecoder=a,a.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(t=this.fillLast(e),void 0===t)return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n0)if("string"===typeof t||s.objectMode||Object.getPrototypeOf(t)===a.prototype||(t=u(t)),r)s.endEmitted?C(e,new k):T(e,s,t,!0);else if(s.ended)C(e,new S);else{if(s.destroyed)return!1;s.reading=!1,s.decoder&&!n?(t=s.decoder.write(t),s.objectMode||0!==t.length?T(e,s,t,!1):D(e,s)):T(e,s,t,!1)}else r||(s.reading=!1,D(e,s));return!s.ended&&(s.length=P?e=P:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function _(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=j(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function N(e,t){if(h("onEofChunk"),!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?L(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,F(e)))}}function L(e){var t=e._readableState;h("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(h("emitReadable",t.flowing),t.emittedReadable=!0,r.nextTick(F,e))}function F(e){var t=e._readableState;h("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,G(e)}function D(e,t){t.readingMore||(t.readingMore=!0,r.nextTick(U,e,t))}function U(e,t){while(!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function Q(e){h("readable nexttick read 0"),e.read(0)}function z(e,t){t.resumeScheduled||(t.resumeScheduled=!0,r.nextTick(K,e,t))}function K(e,t){h("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),G(e),t.flowing&&!t.reading&&e.read(0)}function G(e){var t=e._readableState;h("flow",t.flowing);while(t.flowing&&null!==e.read());}function Y(e,t){return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n);var n}function W(e){var t=e._readableState;h("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,r.nextTick(H,t,e))}function H(e,t){if(h("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function Z(e,t){for(var n=0,r=e.length;n=t.highWaterMark:t.length>0)||t.ended))return h("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?W(this):L(this),null;if(e=_(e,t),0===e&&t.ended)return 0===t.length&&W(this),null;var r,i=t.needReadable;return h("need readable",i),(0===t.length||t.length-e0?Y(e,t):null,null===r?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&W(this)),null!==r&&this.emit("data",r),r},B.prototype._read=function(e){C(this,new E("_read()"))},B.prototype.pipe=function(e,t){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e);break}i.pipesCount+=1,h("pipe count=%d opts=%j",i.pipesCount,t);var s=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr,a=s?u:m;function c(e,t){h("onunpipe"),e===n&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,p())}function u(){h("onend"),e.end()}i.endEmitted?r.nextTick(a):n.once("end",a),e.on("unpipe",c);var l=q(n);e.on("drain",l);var f=!1;function p(){h("cleanup"),e.removeListener("close",b),e.removeListener("finish",y),e.removeListener("drain",l),e.removeListener("error",g),e.removeListener("unpipe",c),n.removeListener("end",u),n.removeListener("end",m),n.removeListener("data",d),f=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||l()}function d(t){h("ondata");var r=e.write(t);h("dest.write",r),!1===r&&((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==Z(i.pipes,e))&&!f&&(h("false write response, pause",i.awaitDrain),i.awaitDrain++),n.pause())}function g(t){h("onerror",t),m(),e.removeListener("error",g),0===o(e,"error")&&C(e,t)}function b(){e.removeListener("finish",y),m()}function y(){h("onfinish"),e.removeListener("close",b),m()}function m(){h("unpipe"),n.unpipe(e)}return n.on("data",d),I(e,"error",g),e.once("close",b),e.once("finish",y),e.emit("pipe",n),i.flowing||(h("pipe resume"),n.resume()),e},B.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==i.flowing&&this.resume()):"readable"===e&&(i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,h("on readable",i.length,i.reading),i.length?L(this):i.reading||r.nextTick(Q,this))),n},B.prototype.addListener=B.prototype.on,B.prototype.removeListener=function(e,t){var n=s.prototype.removeListener.call(this,e,t);return"readable"===e&&r.nextTick(V,this),n},B.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||r.nextTick(V,this),t},B.prototype.resume=function(){var e=this._readableState;return e.flowing||(h("resume"),e.flowing=!e.readableListening,z(this,e)),e.paused=!1,this},B.prototype.pause=function(){return h("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(h("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},B.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on("end",(function(){if(h("wrapped end"),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){if(h("wrapped data"),n.decoder&&(i=n.decoder.write(i)),(!n.objectMode||null!==i&&void 0!==i)&&(n.objectMode||i&&i.length)){var o=t.push(i);o||(r=!0,e.pause())}})),e)void 0===this[i]&&"function"===typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o0&&u>c&&(u=c);for(var l=0;l=0?(h=g.substr(0,b),f=g.substr(b+1)):(h=g,f=""),p=decodeURIComponent(h),d=decodeURIComponent(f),r(s,p)?i(s[p])?s[p].push(d):s[p]=[s[p],d]:s[p]=d}return s};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},"966d":function(e,t,n){"use strict";(function(t){function n(e,n,r,i){if("function"!==typeof e)throw new TypeError('"callback" argument must be a function');var o,s,a=arguments.length;switch(a){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick((function(){e.call(null,n)}));case 3:return t.nextTick((function(){e.call(null,n,r)}));case 4:return t.nextTick((function(){e.call(null,n,r,i)}));default:o=new Array(a-1),s=0;while(s2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}function a(e,t,n){return e.substr(!n||n<0?0:+n,t.length)===t}function c(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}function u(e,t,n){return"number"!==typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}o("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),o("ERR_INVALID_ARG_TYPE",(function(e,t,n){var r,i;if("string"===typeof t&&a(t,"not ")?(r="must not be",t=t.replace(/^not /,"")):r="must be",c(e," argument"))i="The ".concat(e," ").concat(r," ").concat(s(t,"type"));else{var o=u(e,".")?"property":"argument";i='The "'.concat(e,'" ').concat(o," ").concat(r," ").concat(s(t,"type"))}return i+=". Received type ".concat(typeof n),i}),TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=i},"9d37":function(e,t,n){"use strict";e.exports=i;var r=n("fe34");function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}n("3fb5")(i,r),i.prototype._transform=function(e,t,n){n(null,e)}},"9d67":function(e,t,n){},"9ede":function(e,t,n){e.exports=n("faa1").EventEmitter},"9ffa":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAAAtCAYAAAAX6M0gAAANwklEQVRogcVaCZBcxXn+u985M29md2Z29j507a4Eu4uMhAAHBLEtjDExChikBIekbMdOqlK2cVJJESJSOImTsisJLiehKsVRETI2JqWSwRXbgBGXbVlXkFA4xFrrPSTtvTs7szPv6u7Ueztvedvbb3aFRemv6urzdff/9dd//90zqOmRAfgNBP0mH18kYRezM3mV7VBEmq+71MKDwyLS7wsQxMVRwFQD64MWXmEUSgfzEaUjwYkCBAkURhF1Ue0+CIliwEoxD1gkKCJARApXKxPVX2xgVtoKjANFFFCojGfSovCAVFMeV8nzbS8mKNVYUQ0IKihbsf8wINVWHq8yDtoCB0x4jChFq5VXYwSNAAEJymioD+FcAkCiJh8oGA7hMgmWl0VtpdUqL6pfaTtQQUCwNKaV+YVBgtD8GKywZURghIGQQoBIAsCiABHt32qsWA0YhAOEcGwIJCiLZKrMNRBtEREIQZBXCUoUIKvZHnzb8ArzAJBKQJUYQiCEQYk8nnkbwoPCgyGH4nDAHGNE20ckIr9AZC+igAjyJBRcbmwSMTYPjA+KLHCsogAJwFAqaSUESLhexBQedF7ZqLKokyMMiBuaY5B2IkAIK4/CzAikGkOCPA9KAEY4yBwgUgRDeEB4OsMqAOFthlTJO4IFEPWDuTGWzElkQ4BjCG8zAgDUSlA4oHh7ggV9i3wIiGAIf2zyxjNgBgrF1Qwwf3Cs2g+JYsciQ+7tNtpv35S85cGfTT37woRt7elNdd7QEb+GASDGAJccWtr53PgLPOBP3Fj3WyNzzsR9x/NvBYM/98nG2/adyr+6d7A84eW/saV2U1tKzv7ewcmXQwoFtoJ+cX0ie3dP6iPbf3B+r8CQi4DAIXZEgsLbEJ4dUUZVAUq0z/QmP5eJK33PD888e0Ojkf3jr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jEeZ/vhtEoy/+iRjJhAkOAmKOw2WzBbbGZdxQnEsMXwzEBZ9yEwWswwOBhZvhtRec9oFPb2KS3Lq7xTMQKcTb2MRRQAwjnMOgRK9TpHdvDUOKYv5PAQJfrG4UxLSqUpiwHZDdjKTVgQo8QpdbcCYhdsbb/N7OqRpPMqPJ0TgnwFpdliB0U5i8uBoBwathjAQwUiMmwtCEFbQm39sCPTzdybfZZ8WzurGAHGyULswFhVoTQGxIha6tNN8cbfnhUtFTDy0Jx3EEoJHlryGxD0xAtlE63siUivjoFCaGp9YzaAKw4DMsMAGzhOMCxdhoVgCGHiC2a2xALCCO1Ja/LePnnHknLPuXo/3XUw+vIrGsoB53R/yVmMbkk6oI87pQ+OxNWU0yAsjuVL2a2y1VEWYj6I2I4WH3cIMzOZPxOyRRi4b2fs8OLxntYCF55iuA1GzB0gm4WinMWgpEqabvuw1/wXJ6vp0gmM1W+nreNql4VCLd4+WMBhoQyDebYp/u4ts8NTMAKf+YaG6zD3Tz+1N/muKTBaDYQF4gQt33m2QJyggAkMO3C77bC8cCChXDctuLnMz6+EIbMa9UAGm66U9vc/7R6IO5h3vv0TOT4s2KrRdIJd4LL6WMSq1RpCW/p6+w4OwUEXh7wCh3yGihzy6ipg5EUImhe/0rbDJrkaS36RL5DaTSB5/3RnpmlXIgAbS7Lqn5W2hPrc5LAwM/cxijLnpDoT5DnT3xns7pnvmcfSd5Q4WYjVjVjrsLIYNmMcpee91t5DKbyIEfJhhAI8Rv6cejFCryx86Vh3noTLSfNawakCkg+UnYtZqsihf3IImjkEPgTgz+lhDsHGkzH1UyWnAshJSdm6Fn1wD+TqLP5creXBsnUtVsuF/5sgPXf+iuU6APiJ/gkGAB77qh/mpL7LnGJZDwB1APDkV/4kAPAfW/RhpAlb5VQAAAAASUVORK5CYII="},a077:function(e,t,n){"use strict";var r=n("9d67"),i=n.n(r);i.a},a177:function(e,t,n){e.exports=n.p+"public/img/contentPop.35a87ee3.png"},a389:function(e,t,n){"use strict";var r=n("dcfa"),i=n.n(r);i.a},a43f:function(e,t,n){"use strict";const r=n("63f0"),i=n("6155").NumberAllocator;function o(e){if(!(this instanceof o))return new o(e);e>0&&(this.aliasToTopic=new r({max:e}),this.topicToAlias={},this.numberAllocator=new i(1,e),this.max=e,this.length=0)}o.prototype.put=function(e,t){if(0===t||t>this.max)return!1;const n=this.aliasToTopic.get(t);return n&&delete this.topicToAlias[n],this.aliasToTopic.set(t,e),this.topicToAlias[e]=t,this.numberAllocator.use(t),this.length=this.aliasToTopic.length,!0},o.prototype.getTopicByAlias=function(e){return this.aliasToTopic.get(e)},o.prototype.getAliasByTopic=function(e){const t=this.topicToAlias[e];return"undefined"!==typeof t&&this.aliasToTopic.get(t),t},o.prototype.clear=function(){this.aliasToTopic.reset(),this.topicToAlias={},this.numberAllocator.clear(),this.length=0},o.prototype.getLruAlias=function(){const e=this.numberAllocator.firstVacant();return e||this.aliasToTopic.keys()[this.aliasToTopic.length-1]},e.exports=o},a45c:function(e,t,n){},a493:function(e,t,n){"use strict";(function(t){var r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=u;var i=n("0e8b"),o=n("f6ba");n("3fb5")(u,i);for(var s=r(o.prototype),a=0;a[0,1].map(i=>[0,1].map(o=>{const s=t.alloc(1);return s.writeUInt8(n.codes[e]<t.from([e])),n.EMPTY={pingreq:t.from([n.codes.pingreq<<4,0]),pingresp:t.from([n.codes.pingresp<<4,0]),disconnect:t.from([n.codes.disconnect<<4,0])}}).call(this,n("b639").Buffer)},b383:function(e,t,n){"use strict";t.decode=t.parse=n("91dd"),t.encode=t.stringify=n("e099")},b5ae:function(e,t,n){"use strict";var r=n("a45c"),i=n.n(r);i.a},b7d1:function(e,t,n){(function(t){function n(e,t){if(r("noDeprecation"))return e;var n=!1;function i(){if(!n){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}return i}function r(e){try{if(!t.localStorage)return!1}catch(r){return!1}var n=t.localStorage[e];return null!=n&&"true"===String(n).toLowerCase()}e.exports=n}).call(this,n("c8ba"))},b98b:function(e,t,n){e.exports=n("faa1").EventEmitter},b9a9:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAlCAYAAADIgFBEAAAKRUlEQVRYhZ2YC6ydVZXHf2t/j/O65z7a20vvhT7SAi1SSmx9gTiMEZwajFYcB8VgNFFx1JioMfEZFM0YY3BGJKKiDAn4iBG1BgyOEUfEdshgKaW0xXLvFFtu6X3fe849z2/vZfZ3vlPbzr0C7uTLee2193/913+tvfYR7lP+nnFOUTGieeDVwABQAR4DJmYaQtPKi141fNEWGfbAcIkqLwcawFPAFmBHIBwT4RGUGi8Sz4sB45cWYyiUIt1ZSyAfMCfwayAHHDPC2mpbLo4MQxpyqGnZn9m9IPpfCBgD5NNHaQeiI0YYWGzLjyPRIDRpePyDU5JGIseNYWtodH2zLYcw9ALNjMHk7wXjPYohXWyABjYMWFcsyorFNg+oUhGhns1Lh8KMVYy1HFFk44qYN84s8CR5AgxVYA6oAXY5r5cD2QecR5thFtn02nO56c6Xc+tiwmzimDaCk469dB//OTQEiWMisUztHGHnZy7lB2K5jBpDKGuAVUBxqb0Drv/86Ux4ECVgCMcQNYbX9/Mvt27jkztXs+We49x9YI5HTUAzDqjnA3Vymkj9+7ZFEpUehdJMneoNa7n6PWvZ6WI2H5xiShMahOke3tJletIOgE5qd3XhQ7KSGqUox+U3vYQbdwxxwf0n+c0tT3HPQpODUqAaCieLkdaKoZ5Bt1+9acVU2uQSJwPaZrW26HnzBq778HreIlC86Snu/cNx7iVmnIgFYApYBNoejGTZMEibkknY+o4LeO+/ruPKp6scuflP/Ghskt0UqZuAicjoXD6gXog0WSZzpWExjcRELUefcwxqg7IYht9/Pm992zCvqzlaHz3AnaNTPEAp1dG4TwIPxrPSj7J+VY4dt1/CR3pDzG1H2fWLMX5OTCXIMR0IM7HRai7UJDapXpbM1y7AtiLNRIKWk1zi6E8cK1mk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vkh3FFrSnKzQKEaY8oAOHDrOweTPcn84y/+EVbmvcW6nZUsG/DEJpr48qCXBaAw2D+EClJ4UevdBPCmYBjSHaIfTHNI5ZoYSw5dexxs3rGJtxeK+tYfdo4f5nWnxRFCR0eIR6H2kcyOvbYT6Bc7bpyOon6a+rv9nhMlzXQBpQ88hoXQY4gnpeJZd1T3dGpJrnMdrp9u6Zv0wL7vhQlm7e4r6g6P6SL9lLDcpD0dznNDTXA2akPRCbYOyeJHSXA2m2WFraTDSCcnAQ4b8cfB3Tc/QWVUmlWhQR5N+LpxayRXjDS2VY1jTkP3553jYxbgMyBkBMUknTLZICmhhm8+CZcB4Vka+ZwhrGRN/+2+wQBxiGtjmCFuiSZ4WR8Pl0tCfaiWXGpJA0ICp1yuNddk04C/d2ZjfWvOrSwAAAABJRU5ErkJggg=="},be0f:function(e,t,n){"use strict";var r=n("5e85"),i=n.n(r);i.a},be3f:function(e,t,n){"use strict";(function(t){var r=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=u;var i=n("85f8"),o=n("13a8");n("3fb5")(u,i);for(var s=r(o.prototype),a=0;a{if("%%"===t)return"%";s++;const o=r.formatters[i];if("function"===typeof o){const r=e[s];t=o.call(n,r),e.splice(s,1),s--}return t}),r.formatArgs.call(n,e);const c=n.log||r.log;c.apply(n,e)}return a.namespace=e,a.useColors=r.useColors(),a.color=r.selectColor(e),a.extend=i,a.destroy=r.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(n!==r.namespaces&&(n=r.namespaces,o=r.enabled(e)),o),set:e=>{s=e}}),"function"===typeof r.init&&r.init(a),a}function i(e,t){const n=r(this.namespace+("undefined"===typeof t?":":t)+e);return n.log=this.log,n}function o(e){let t;r.save(e),r.namespaces=e,r.names=[],r.skips=[];const n=("string"===typeof e?e:"").split(/[\s,]+/),i=n.length;for(t=0;t"-"+e)].join(",");return r.enable(""),e}function a(e){if("*"===e[e.length-1])return!0;let t,n;for(t=0,n=r.skips.length;t{r[t]=e[t]}),r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}e.exports=r},c4c7:function(e,t,n){"use strict";const{Buffer:r}=n("b639"),i=n("035d").Transform,o=n("56ac");let s,a,c,u=!1;function l(){const e=new i;return e._write=function(e,t,n){s.sendSocketMessage({data:e.buffer,success:function(){n()},fail:function(){n(new Error)}})},e._flush=function(e){s.closeSocket({success:function(){e()}})},e}function h(e){e.hostname||(e.hostname="localhost"),e.path||(e.path="/"),e.wsOptions||(e.wsOptions={})}function f(e,t){const n="alis"===e.protocol?"wss":"ws";let r=n+"://"+e.hostname+e.path;return e.port&&80!==e.port&&443!==e.port&&(r=n+"://"+e.hostname+":"+e.port+e.path),"function"===typeof e.transformWsUrl&&(r=e.transformWsUrl(r,e,t)),r}function p(){u||(u=!0,s.onSocketOpen((function(){c.setReadable(a),c.setWritable(a),c.emit("connect")})),s.onSocketMessage((function(e){if("string"===typeof e.data){const t=r.from(e.data,"base64");a.push(t)}else{const t=new FileReader;t.addEventListener("load",(function(){let e=t.result;e=e instanceof ArrayBuffer?r.from(e):r.from(e,"utf8"),a.push(e)})),t.readAsArrayBuffer(e.data)}})),s.onSocketClose((function(){c.end(),c.destroy()})),s.onSocketError((function(e){c.destroy(e)})))}function d(e,t){if(t.hostname=t.hostname||t.host,!t.hostname)throw new Error("Could not determine host. Specify host manually.");const n="MQIsdp"===t.protocolId&&3===t.protocolVersion?"mqttv3.1":"mqtt";h(t);const r=f(t,e);return s=t.my,s.connectSocket({url:r,protocols:n}),a=l(),c=o.obj(),p(),c}e.exports=d},c5e3:function(e,t,n){e.exports=n.p+"public/img/floor.d2343a94.png"},cc3f:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAAAsCAYAAADctB6FAAAODUlEQVRogcVZC3Ad1Xn+zzn7uvfqvvSyJMuShbEtjLEdG2NibEybQNJJGkLaybg8pk1r6KTpQNopdNqSljwmTSAzTZyhE9oGCAR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/pnZwOEWG57qb6LZBSddoMcFh/S/Om87csKPTZF/PGnx97ACJ1RCYoqGOZZxhBVCYo4jBAMXPXk6FFufpsLpaIEKywbDXWmHoUd7rwr/6V5swqr2gtptGQ9ti4lb0bI/QHFuLHViZJ9QJD78HtbioK0I5TC6iH+yZYT50XaI+Rrnso4lenHMUIxjFADRiguYdQgYRTFCD2x84ej0yFff7kcqglBtBxAggASgbFsVgh6gSA4RRDECHKdbAwBDBAEz52vmr+X9JsA8p5Qx3cHHeG+WTfbeP0f7Tfrz983cir67+f6Dv0JAPwVADi/Ku9/vzdzPlX33xY9DADOz+7vve87AYD/A7BkWTxMRkT6AAAAAElFTkSuQmCC"},cdaa9:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAlCAYAAADIgFBEAAAJSklEQVRYhZ2Yf4xcVRXHP+e++97MznS3u/2x3S30h62lgBQShBBQg4RoaiRaY4CIIWpiQCIxEWIi0aREkD80qEEU/B0RiCFBhbSk0YhBsEhAqS30B6VNaRfabne329358WbmvXvMffNe3ZZdodzkZt68Offe7/2ec7733BE2Ke+lLakoRrQMfAgYAKaBl4HRiVhopXLGs9ozHpFjDwzrVLkUiIE9wAXA+kA4JMILKA3OEM+ZgPFTizH0VEPd0EigHDAp8BegBBwywvJaRz4QGgbVsquVsj0f967ofzdgDFDOutIJRJcaYaDekcdC0cCazD2+45QkTmTEGC60Rle2OrILQx/QyhlM3isYv6MIsskGiEltwIpKRRbUO2xRZVqEZm6XNYWJVDFpyl5FVi+IuGZiilcpE2CoAZNAA0jn2vVcIOcDZ9NhmDprrzqLjb++lPvqCccTx7gRnHTHS9H9d2sIEsdokjK2YSkbvnURj0rK5TQYRFkGLAYqs60dcMOdM5nwIKrAII5BGgyv7Oe6+y7mmxuGuODhEX73yiQvmYBWFNAsB+pkRpD6506KJCrzFKoTTWo3LudjX1rOBhdx7s4xxjQhxmZr+JEujyftAuimdhEX3iULaVANS1yx8XxuXj/Ims1H+eu9e3h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w7k6sSKEul41kwY0CcTxIKgeQMV39V7XZp2jN2YAAAAASUVORK5CYII="},d633:function(e,t){function n(e,t){if(e&&t)return n(e)(t);if("function"!==typeof e)throw new TypeError("need wrapper function");return Object.keys(e).forEach((function(t){r[t]=e[t]})),r;function r(){for(var t=new Array(arguments.length),n=0;n{if("%%"===n)return n;a++;const o=r.formatters[i];if("function"===typeof o){const r=e[a];n=o.call(t,r),e.splice(a,1),a--}return n}),r.formatArgs.call(t,e);const c=t.log||r.log;c.apply(t,e)}return s.namespace=e,s.enabled=r.enabled(e),s.useColors=r.useColors(),s.color=t(e),s.destroy=i,s.extend=o,"function"===typeof r.init&&r.init(s),r.instances.push(s),s}function i(){const e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function o(e,t){const n=r(this.namespace+("undefined"===typeof t?":":t)+e);return n.log=this.log,n}function s(e){let t;r.save(e),r.names=[],r.skips=[];const n=("string"===typeof e?e:"").split(/[\s,]+/),i=n.length;for(t=0;t"-"+e)].join(",");return r.enable(""),e}function c(e){if("*"===e[e.length-1])return!0;let t,n;for(t=0,n=r.skips.length;t{r[t]=e[t]}),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}e.exports=r},dcfa:function(e,t,n){},de6a:function(e,t,n){e.exports=n.p+"public/img/gulou.4a615776.png"},df86:function(e,t,n){"use strict";(function(t,r){const i=n("faa1").EventEmitter,o=n("ea08"),s=n("e7d0"),a=n("a43f"),c=n("3409"),u=n("1e4d"),l=n("035d").Writable,h=n("3fb5"),f=n("29a2"),p=n("2a28"),d=n("ae84"),g=n("53a8"),b=n("34eb")("mqttjs:client"),y=t?t.nextTick:function(e){setTimeout(e,0)},m=r.setImmediate||function(e){y(e)},v={keepalive:60,reschedulePings:!0,protocolId:"MQTT",protocolVersion:4,reconnectPeriod:1e3,connectTimeout:3e4,clean:!0,resubscribe:!0},w=["ECONNREFUSED","EADDRINUSE","ECONNRESET","ENOTFOUND"],A={0:"",1:"Unacceptable protocol version",2:"Identifier rejected",3:"Server unavailable",4:"Bad username or password",5:"Not authorized",16:"No matching subscribers",17:"No subscription existed",128:"Unspecified error",129:"Malformed Packet",130:"Protocol Error",131:"Implementation specific error",132:"Unsupported Protocol Version",133:"Client Identifier not valid",134:"Bad User Name or Password",135:"Not authorized",136:"Server unavailable",137:"Server busy",138:"Banned",139:"Server shutting down",140:"Bad authentication method",141:"Keep Alive timeout",142:"Session taken over",143:"Topic Filter invalid",144:"Topic Name invalid",145:"Packet identifier in use",146:"Packet Identifier not found",147:"Receive Maximum exceeded",148:"Topic Alias invalid",149:"Packet too large",150:"Message rate too high",151:"Quota exceeded",152:"Administrative action",153:"Payload format invalid",154:"Retain not supported",155:"QoS not supported",156:"Use another server",157:"Server moved",158:"Shared Subscriptions not supported",159:"Connection rate exceeded",160:"Maximum connect time",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"};function S(){return"mqttjs_"+Math.random().toString(16).substr(2,8)}function E(e,t){if(5===e.options.protocolVersion&&"publish"===t.cmd){let n;t.properties&&(n=t.properties.topicAlias);const r=t.topic.toString();if(e.topicAliasSend)if(n){if(0!==r.length&&(b("applyTopicAlias :: register topic: %s - alias: %d",r,n),!e.topicAliasSend.put(r,n)))return b("applyTopicAlias :: error out of range. topic: %s - alias: %d",r,n),new Error("Sending Topic Alias out of range")}else 0!==r.length&&(e.options.autoAssignTopicAlias?(n=e.topicAliasSend.getAliasByTopic(r),n?(t.topic="",t.properties={...t.properties,topicAlias:n},b("applyTopicAlias :: auto assign(use) topic: %s - alias: %d",r,n)):(n=e.topicAliasSend.getLruAlias(),e.topicAliasSend.put(r,n),t.properties={...t.properties,topicAlias:n},b("applyTopicAlias :: auto assign topic: %s - alias: %d",r,n))):e.options.autoUseTopicAlias&&(n=e.topicAliasSend.getAliasByTopic(r),n&&(t.topic="",t.properties={...t.properties,topicAlias:n},b("applyTopicAlias :: auto use topic: %s - alias: %d",r,n))));else if(n)return b("applyTopicAlias :: error out of range. topic: %s - alias: %d",r,n),new Error("Sending Topic Alias out of range")}}function k(e,t){let n;t.properties&&(n=t.properties.topicAlias);let r=t.topic.toString();if(0===r.length){if("undefined"===typeof n)return new Error("Unregistered Topic Alias");if(r=e.topicAliasSend.getTopicByAlias(n),"undefined"===typeof r)return new Error("Unregistered Topic Alias");t.topic=r}n&&delete t.properties.topicAlias}function C(e,t,n){b("sendPacket :: packet: %O",t),b("sendPacket :: emitting `packetsend`"),e.emit("packetsend",t),b("sendPacket :: writing to stream");const r=c.writeToStream(t,e.stream,e.options);b("sendPacket :: writeToStream result %s",r),!r&&n&&n!==B?(b("sendPacket :: handle events on `drain` once through callback."),e.stream.once("drain",n)):n&&(b("sendPacket :: invoking cb"),n())}function x(e){e&&(b("flush: queue exists? %b",!!e),Object.keys(e).forEach((function(t){"function"===typeof e[t].cb&&(e[t].cb(new Error("Connection closed")),delete e[t])})))}function I(e){e&&(b("flushVolatile :: deleting volatile messages from the queue and setting their callbacks as error function"),Object.keys(e).forEach((function(t){e[t].volatile&&"function"===typeof e[t].cb&&(e[t].cb(new Error("Connection closed")),delete e[t])})))}function R(e,t,n,r){b("storeAndSend :: store packet with cmd %s to outgoingStore",t.cmd);let i,o=t;if("publish"===o.cmd&&(o=p(t),i=k(e,o),i))return n&&n(i);e.outgoingStore.put(o,(function(i){if(i)return n&&n(i);r(),C(e,t,n)}))}function B(e){b("nop ::",e)}function O(e,t){let n;const r=this;if(!(this instanceof O))return new O(e,t);for(n in this.options=t||{},v)"undefined"===typeof this.options[n]?this.options[n]=v[n]:this.options[n]=t[n];b("MqttClient :: options.protocol",t.protocol),b("MqttClient :: options.protocolVersion",t.protocolVersion),b("MqttClient :: options.username",t.username),b("MqttClient :: options.keepalive",t.keepalive),b("MqttClient :: options.reconnectPeriod",t.reconnectPeriod),b("MqttClient :: options.rejectUnauthorized",t.rejectUnauthorized),b("MqttClient :: options.topicAliasMaximum",t.topicAliasMaximum),this.options.clientId="string"===typeof t.clientId?t.clientId:S(),b("MqttClient :: clientId",this.options.clientId),this.options.customHandleAcks=5===t.protocolVersion&&t.customHandleAcks?t.customHandleAcks:function(){arguments[3](0)},this.streamBuilder=e,this.messageIdProvider="undefined"===typeof this.options.messageIdProvider?new u:this.options.messageIdProvider,this.outgoingStore=t.outgoingStore||new o,this.incomingStore=t.incomingStore||new o,this.queueQoSZero=void 0===t.queueQoSZero||t.queueQoSZero,this._resubscribeTopics={},this.messageIdToTopic={},this.pingTimer=null,this.connected=!1,this.disconnecting=!1,this.queue=[],this.connackTimer=null,this.reconnectTimer=null,this._storeProcessing=!1,this._packetIdsDuringStoreProcessing={},this._storeProcessingQueue=[],this.outgoing={},this._firstConnection=!0,t.topicAliasMaximum>0&&(t.topicAliasMaximum>65535?b("MqttClient :: options.topicAliasMaximum is out of range"):this.topicAliasRecv=new s(t.topicAliasMaximum)),this.on("connect",(function(){const e=this.queue;function t(){const n=e.shift();b("deliver :: entry %o",n);let i=null;if(!n)return void r._resubscribe();i=n.packet,b("deliver :: call _sendPacket for %o",i);let o=!0;i.messageId&&0!==i.messageId&&(r.messageIdProvider.register(i.messageId)||(o=!1)),o?r._sendPacket(i,(function(e){n.cb&&n.cb(e),t()})):(b("messageId: %d has already used. The message is skipped and removed.",i.messageId),t())}b("connect :: sending queued packets"),t()})),this.on("close",(function(){b("close :: connected set to `false`"),this.connected=!1,b("close :: clearing connackTimer"),clearTimeout(this.connackTimer),b("close :: clearing ping timer"),null!==r.pingTimer&&(r.pingTimer.clear(),r.pingTimer=null),this.topicAliasRecv&&this.topicAliasRecv.clear(),b("close :: calling _setupReconnect"),this._setupReconnect()})),i.call(this),b("MqttClient :: setting up stream"),this._setupStream()}h(O,i),O.prototype._setupStream=function(){const e=this,t=new l,n=c.parser(this.options);let r=null;const i=[];function o(){if(i.length)y(s);else{const e=r;r=null,e()}}function s(){b("work :: getting next packet in queue");const t=i.shift();if(t)b("work :: packet pulled from queue"),e._handlePacket(t,o);else{b("work :: no packets in queue");const e=r;r=null,b("work :: done flag is %s",!!e),e&&e()}}function a(t){b("streamErrorHandler :: error",t.message),w.includes(t.code)?(b("streamErrorHandler :: emitting error"),e.emit("error",t)):B(t)}b("_setupStream :: calling method to clear reconnect"),this._clearReconnect(),b("_setupStream :: using streamBuilder provided to client to create stream"),this.stream=this.streamBuilder(this),n.on("packet",(function(e){b("parser :: on packet push to packets array."),i.push(e)})),t._write=function(e,t,i){r=i,b("writable stream :: parsing buffer"),n.parse(e),s()},b("_setupStream :: pipe stream to writable stream"),this.stream.pipe(t),this.stream.on("error",a),this.stream.on("close",(function(){b("(%s)stream :: on close",e.options.clientId),I(e.outgoing),b("stream: emit close to MqttClient"),e.emit("close")})),b("_setupStream: sending packet `connect`");const u=Object.create(this.options);if(u.cmd="connect",this.topicAliasRecv&&(u.properties||(u.properties={}),this.topicAliasRecv&&(u.properties.topicAliasMaximum=this.topicAliasRecv.max)),C(this,u),n.on("error",this.emit.bind(this,"error")),this.options.properties){if(!this.options.properties.authenticationMethod&&this.options.properties.authenticationData)return e.end(()=>this.emit("error",new Error("Packet has no Authentication Method"))),this;if(this.options.properties.authenticationMethod&&this.options.authPacket&&"object"===typeof this.options.authPacket){const e=g({cmd:"auth",reasonCode:0},this.options.authPacket);C(this,e)}}this.stream.setMaxListeners(1e3),clearTimeout(this.connackTimer),this.connackTimer=setTimeout((function(){b("!!connectTimeout hit!! Calling _cleanUp with force `true`"),e._cleanUp(!0)}),this.options.connectTimeout)},O.prototype._handlePacket=function(e,t){const n=this.options;if(5===n.protocolVersion&&n.properties&&n.properties.maximumPacketSize&&n.properties.maximumPacketSize0||!a())&&this._storeProcessingQueue.push({invoke:a,cbStorePut:n.cbStorePut,callback:r}),this},O.prototype.subscribe=function(){const e=this,t=new Array(arguments.length);for(let h=0;h0){const r={qos:n.qos};5===a&&(r.nl=n.nl||!1,r.rap=n.rap||!1,r.rh=n.rh||0,r.properties=n.properties),e._resubscribeTopics[n.topic]=r,t.push(n.topic)}})),e.messageIdToTopic[r.messageId]=t}return e.outgoing[r.messageId]={volatile:!0,cb:function(e,t){if(!e){const e=t.granted;for(let t=0;t0||!l())&&this._storeProcessingQueue.push({invoke:l,callback:o}),this},O.prototype.unsubscribe=function(){const e=this,t=new Array(arguments.length);for(let a=0;a0||!s())&&this._storeProcessingQueue.push({invoke:s,callback:r}),this},O.prototype.end=function(e,t,n){const r=this;function i(){b("end :: closeStores: closing incoming and outgoing stores"),r.disconnected=!0,r.incomingStore.close((function(e){r.outgoingStore.close((function(t){if(b("end :: closeStores: emitting end"),r.emit("end"),n){const r=e||t;b("end :: closeStores: invoking callback with args"),n(r)}}))})),r._deferredReconnect&&r._deferredReconnect()}function o(){b("end :: (%s) :: finish :: calling _cleanUp with force %s",r.options.clientId,e),r._cleanUp(e,()=>{b("end :: finish :: calling process.nextTick on closeStores"),y(i.bind(r))},t)}return b("end :: (%s)",this.options.clientId),null!=e&&"boolean"===typeof e||(n=t||B,t=e,e=!1,"object"!==typeof t&&(n=t,t=null,"function"!==typeof n&&(n=B))),"object"!==typeof t&&(n=t,t=null),b("end :: cb? %s",!!n),n=n||B,this.disconnecting?(n(),this):(this._clearReconnect(),this.disconnecting=!0,!e&&Object.keys(this.outgoing).length>0?(b("end :: (%s) :: calling finish in 10ms once outgoing is empty",r.options.clientId),this.once("outgoingEmpty",setTimeout.bind(null,o,10))):(b("end :: (%s) :: immediately calling finish",r.options.clientId),o()),this)},O.prototype.removeOutgoingMessage=function(e){const t=this.outgoing[e]?this.outgoing[e].cb:null;return delete this.outgoing[e],this.outgoingStore.del({messageId:e},(function(){t(new Error("Message removed"))})),this},O.prototype.reconnect=function(e){b("client reconnect");const t=this,n=function(){e?(t.options.incomingStore=e.incomingStore,t.options.outgoingStore=e.outgoingStore):(t.options.incomingStore=null,t.options.outgoingStore=null),t.incomingStore=t.options.incomingStore||new o,t.outgoingStore=t.options.outgoingStore||new o,t.disconnecting=!1,t.disconnected=!1,t._deferredReconnect=null,t._reconnect()};return this.disconnecting&&!this.disconnected?this._deferredReconnect=n:n(),this},O.prototype._reconnect=function(){b("_reconnect: emitting reconnect to client"),this.emit("reconnect"),this.connected?(this.end(()=>{this._setupStream()}),b("client already connected. disconnecting first.")):(b("_reconnect: calling _setupStream"),this._setupStream())},O.prototype._setupReconnect=function(){const e=this;!e.disconnecting&&!e.reconnectTimer&&e.options.reconnectPeriod>0?(this.reconnecting||(b("_setupReconnect :: emit `offline` state"),this.emit("offline"),b("_setupReconnect :: set `reconnecting` to `true`"),this.reconnecting=!0),b("_setupReconnect :: setting reconnectTimer for %d ms",e.options.reconnectPeriod),e.reconnectTimer=setInterval((function(){b("reconnectTimer :: reconnect triggered!"),e._reconnect()}),e.options.reconnectPeriod)):b("_setupReconnect :: doing nothing...")},O.prototype._clearReconnect=function(){b("_clearReconnect : clearing reconnect timer"),this.reconnectTimer&&(clearInterval(this.reconnectTimer),this.reconnectTimer=null)},O.prototype._cleanUp=function(e,t){const n=arguments[2];if(t&&(b("_cleanUp :: done callback provided for on stream close"),this.stream.on("close",t)),b("_cleanUp :: forced? %s",e),e)0===this.options.reconnectPeriod&&this.options.clean&&x(this.outgoing),b("_cleanUp :: (%s) :: destroying stream",this.options.clientId),this.stream.destroy();else{const e=g({cmd:"disconnect"},n);b("_cleanUp :: (%s) :: call _sendPacket with disconnect packet",this.options.clientId),this._sendPacket(e,m.bind(null,this.stream.end.bind(this.stream)))}this.disconnecting||(b("_cleanUp :: client not disconnecting. Clearing and resetting reconnect."),this._clearReconnect(),this._setupReconnect()),null!==this.pingTimer&&(b("_cleanUp :: clearing pingTimer"),this.pingTimer.clear(),this.pingTimer=null),t&&!this.connected&&(b("_cleanUp :: (%s) :: removing stream `done` callback `close` listener",this.options.clientId),this.stream.removeListener("close",t),t())},O.prototype._sendPacket=function(e,t,n){b("_sendPacket :: (%s) :: start",this.options.clientId),n=n||B,t=t||B;const r=E(this,e);if(r)t(r);else{if(!this.connected)return"auth"===e.cmd?(this._shiftPingInterval(),void C(this,e,t)):(b("_sendPacket :: client not connected. Storing packet offline."),void this._storePacket(e,t,n));switch(this._shiftPingInterval(),e.cmd){case"publish":break;case"pubrel":return void R(this,e,t,n);default:return void C(this,e,t)}switch(e.qos){case 2:case 1:R(this,e,t,n);break;case 0:default:C(this,e,t);break}b("_sendPacket :: (%s) :: end",this.options.clientId)}},O.prototype._storePacket=function(e,t,n){b("_storePacket :: packet: %o",e),b("_storePacket :: cb? %s",!!t),n=n||B;let r=e;if("publish"===r.cmd){r=p(e);const n=k(this,r);if(n)return t&&t(n)}0===(r.qos||0)&&this.queueQoSZero||"publish"!==r.cmd?this.queue.push({packet:r,cb:t}):r.qos>0?(t=this.outgoing[r.messageId]?this.outgoing[r.messageId].cb:null,this.outgoingStore.put(r,(function(e){if(e)return t&&t(e);n()}))):t&&t(new Error("No connection to broker"))},O.prototype._setupPingTimer=function(){b("_setupPingTimer :: keepalive %d (seconds)",this.options.keepalive);const e=this;!this.pingTimer&&this.options.keepalive&&(this.pingResp=!0,this.pingTimer=f((function(){e._checkPing()}),1e3*this.options.keepalive))},O.prototype._shiftPingInterval=function(){this.pingTimer&&this.options.keepalive&&this.options.reschedulePings&&this.pingTimer.reschedule(1e3*this.options.keepalive)},O.prototype._checkPing=function(){b("_checkPing :: checking ping..."),this.pingResp?(b("_checkPing :: ping response received. Clearing flag and sending `pingreq`"),this.pingResp=!1,this._sendPacket({cmd:"pingreq"})):(b("_checkPing :: calling _cleanUp with force true"),this._cleanUp(!0))},O.prototype._handlePingresp=function(){this.pingResp=!0},O.prototype._handleConnack=function(e){b("_handleConnack");const t=this.options,n=t.protocolVersion,r=5===n?e.reasonCode:e.returnCode;if(clearTimeout(this.connackTimer),delete this.topicAliasSend,e.properties){if(e.properties.topicAliasMaximum){if(e.properties.topicAliasMaximum>65535)return void this.emit("error",new Error("topicAliasMaximum from broker is out of range"));e.properties.topicAliasMaximum>0&&(this.topicAliasSend=new a(e.properties.topicAliasMaximum))}e.properties.serverKeepAlive&&t.keepalive&&(t.keepalive=e.properties.serverKeepAlive,this._shiftPingInterval()),e.properties.maximumPacketSize&&(t.properties||(t.properties={}),t.properties.maximumPacketSize=e.properties.maximumPacketSize)}if(0===r)this.reconnecting=!1,this._onConnect(e);else if(r>0){const e=new Error("Connection refused: "+A[r]);e.code=r,this.emit("error",e)}},O.prototype._handleAuth=function(e){const t=this.options,n=t.protocolVersion,r=5===n?e.reasonCode:e.returnCode;if(5!==n){const e=new Error("Protocol error: Auth packets are only supported in MQTT 5. Your version:"+n);return e.code=r,void this.emit("error",e)}const i=this;this.handleAuth(e,(function(e,t){if(e)i.emit("error",e);else if(24===r)i.reconnecting=!1,i._sendPacket(t);else{const t=new Error("Connection refused: "+A[r]);e.code=r,i.emit("error",t)}}))},O.prototype.handleAuth=function(e,t){t()},O.prototype._handlePublish=function(e,t){b("_handlePublish: packet %o",e),t="undefined"!==typeof t?t:B;let n=e.topic.toString();const r=e.payload,i=e.qos,o=e.messageId,s=this,a=this.options,c=[0,16,128,131,135,144,145,151,153];if(5===this.options.protocolVersion){let t;if(e.properties&&(t=e.properties.topicAlias),"undefined"!==typeof t)if(0===n.length){if(!(t>0&&t<=65535))return b("_handlePublish :: topic alias out of range. alias: %d",t),void this.emit("error",new Error("Received Topic Alias is out of range"));{const e=this.topicAliasRecv.getTopicByAlias(t);if(!e)return b("_handlePublish :: unregistered topic alias. alias: %d",t),void this.emit("error",new Error("Received unregistered Topic Alias"));n=e,b("_handlePublish :: topic complemented by alias. topic: %s - alias: %d",n,t)}}else{if(!this.topicAliasRecv.put(n,t))return b("_handlePublish :: topic alias out of range. alias: %d",t),void this.emit("error",new Error("Received Topic Alias is out of range"));b("_handlePublish :: registered topic: %s - alias: %d",n,t)}}switch(b("_handlePublish: qos %d",i),i){case 2:a.customHandleAcks(n,r,e,(function(n,r){return n instanceof Error||(r=n,n=null),n?s.emit("error",n):-1===c.indexOf(r)?s.emit("error",new Error("Wrong reason code for pubrec")):void(r?s._sendPacket({cmd:"pubrec",messageId:o,reasonCode:r},t):s.incomingStore.put(e,(function(){s._sendPacket({cmd:"pubrec",messageId:o},t)})))}));break;case 1:a.customHandleAcks(n,r,e,(function(i,a){return i instanceof Error||(a=i,i=null),i?s.emit("error",i):-1===c.indexOf(a)?s.emit("error",new Error("Wrong reason code for puback")):(a||s.emit("message",n,r,e),void s.handleMessage(e,(function(e){if(e)return t&&t(e);s._sendPacket({cmd:"puback",messageId:o,reasonCode:a},t)})))}));break;case 0:this.emit("message",n,r,e),this.handleMessage(e,t);break;default:b("_handlePublish: unknown QoS. Doing nothing.");break}},O.prototype.handleMessage=function(e,t){t()},O.prototype._handleAck=function(e){const t=e.messageId,n=e.cmd;let r=null;const i=this.outgoing[t]?this.outgoing[t].cb:null,o=this;let s;if(i){switch(b("_handleAck :: packet type",n),n){case"pubcomp":case"puback":{const n=e.reasonCode;n&&n>0&&16!==n&&(s=new Error("Publish error: "+A[n]),s.code=n,i(s,e)),delete this.outgoing[t],this.outgoingStore.del(e,i),this.messageIdProvider.deallocate(t),this._invokeStoreProcessingQueue();break}case"pubrec":{r={cmd:"pubrel",qos:2,messageId:t};const n=e.reasonCode;n&&n>0&&16!==n?(s=new Error("Publish error: "+A[n]),s.code=n,i(s,e)):this._sendPacket(r);break}case"suback":delete this.outgoing[t],this.messageIdProvider.deallocate(t);for(let n=0;n0)if(this.options.resubscribe)if(5===this.options.protocolVersion){b("_resubscribe: protocolVersion 5");for(let t=0;t0){const e=this._storeProcessingQueue[0];if(e&&e.invoke())return this._storeProcessingQueue.shift(),!0}return!1},O.prototype._invokeAllStoreProcessingQueue=function(){while(this._invokeStoreProcessingQueue());},O.prototype._flushStoreProcessingQueue=function(){for(const e of this._storeProcessingQueue)e.cbStorePut&&e.cbStorePut(new Error("Connection closed")),e.callback&&e.callback(new Error("Connection closed"));this._storeProcessingQueue.splice(0)},e.exports=O}).call(this,n("4362"),n("c8ba"))},e099:function(e,t,n){"use strict";var r=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,n,a){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"===typeof e?o(s(e),(function(s){var a=encodeURIComponent(r(s))+n;return i(e[s])?o(e[s],(function(e){return a+encodeURIComponent(r(e))})).join(t):a+encodeURIComponent(r(e[s]))})).join(t):a?encodeURIComponent(r(a))+n+encodeURIComponent(r(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function o(e,t){if(e.map)return e.map(t);for(var n=[],r=0;rthis.max)&&(this.aliasToTopic[t]=e,this.length=Object.keys(this.aliasToTopic).length,!0)},r.prototype.getTopicByAlias=function(e){return this.aliasToTopic[e]},r.prototype.clear=function(){this.aliasToTopic={}},e.exports=r},e7fc:function(e,t,n){"use strict";(function(t){const r=n("df86"),i=n("ea08"),o=n("0b16"),s=n("53a8"),a=n("34eb")("mqttjs"),c={};function u(e){let t;e.auth&&(t=e.auth.match(/^(.+):(.+)$/),t?(e.username=t[1],e.password=t[2]):e.username=e.auth)}function l(e,t){if(a("connecting to an MQTT broker..."),"object"!==typeof e||t||(t=e,e=null),t=t||{},e){const n=o.parse(e,!0);if(null!=n.port&&(n.port=Number(n.port)),t=s(n,t),null===t.protocol)throw new Error("Missing protocol");t.protocol=t.protocol.replace(/:$/,"")}if(u(t),t.query&&"string"===typeof t.query.clientId&&(t.clientId=t.query.clientId),t.cert&&t.key){if(!t.protocol)throw new Error("Missing secure protocol key");if(-1===["mqtts","wss","wxs","alis"].indexOf(t.protocol))switch(t.protocol){case"mqtt":t.protocol="mqtts";break;case"ws":t.protocol="wss";break;case"wx":t.protocol="wxs";break;case"ali":t.protocol="alis";break;default:throw new Error('Unknown protocol for secure connection: "'+t.protocol+'"!')}}if(!c[t.protocol]){const e=-1!==["mqtts","wss"].indexOf(t.protocol);t.protocol=["mqtt","mqtts","ws","wss","wx","wxs","ali","alis"].filter((function(t,n){return(!e||n%2!==0)&&"function"===typeof c[t]}))[0]}if(!1===t.clean&&!t.clientId)throw new Error("Missing clientId for unclean clients");function n(e){return t.servers&&(e._reconnectCount&&e._reconnectCount!==t.servers.length||(e._reconnectCount=0),t.host=t.servers[e._reconnectCount].host,t.port=t.servers[e._reconnectCount].port,t.protocol=t.servers[e._reconnectCount].protocol?t.servers[e._reconnectCount].protocol:t.defaultProtocol,t.hostname=t.host,e._reconnectCount++),a("calling streambuilder for",t.protocol),c[t.protocol](e,t)}t.protocol&&(t.defaultProtocol=t.protocol);const i=new r(n,t);return i.on("error",(function(){})),i}"undefined"!==typeof t&&"browser"!==t.title||"function"!==typeof n?(c.mqtt=n("05ee"),c.tcp=n("05ee"),c.ssl=n("fe3c"),c.tls=n("fe3c"),c.mqtts=n("fe3c")):(c.wx=n("8311"),c.wxs=n("8311"),c.ali=n("c4c7"),c.alis=n("c4c7")),c.ws=n("fcb9"),c.wss=n("fcb9"),e.exports=l,e.exports.connect=l,e.exports.MqttClient=r,e.exports.Store=i}).call(this,n("4362"))},e8b0:function(e,t,n){e.exports=n.p+"public/img/gaochun.89393a47.png"},e937:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";var t=this.head,n=""+t.data;while(t=t.next)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return l.alloc(0);var t=l.allocUnsafe(e>>>0),n=this.head,r=0;while(n)d(n.data,t,r),r+=n.data.length,n=n.next;return t}},{key:"consume",value:function(e,t){var n;return ei.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),e-=o,0===e){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=l.allocUnsafe(e),n=this.head,r=1;n.data.copy(t),e-=n.data.length;while(n=n.next){var i=n.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),e-=o,0===e){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,t}},{key:p,value:function(e,t){return f(this,i({},t,{depth:0,customInspect:!1}))}}]),e}()},ea08:function(e,t,n){"use strict";const r=n("53a8"),i=n("035d").Readable,o={objectMode:!0},s={clean:!0};function a(e){if(!(this instanceof a))return new a(e);this.options=e||{},this.options=r(s,e),this._inflights=new Map}a.prototype.put=function(e,t){return this._inflights.set(e.messageId,e),t&&t(),this},a.prototype.createStream=function(){const e=new i(o),t=[];let n=!1,r=0;return this._inflights.forEach((function(e,n){t.push(e)})),e._read=function(){!n&&r>8,0),n.writeUInt8(255&e,1),n}function s(){for(let e=0;e0&&(r|=128),s.writeUInt8(r,o++)}while(e>0&&o0&&(o=0),i?s.subarray(0,o):s.slice(0,o)}function c(e){const n=t.allocUnsafe(4);return n.writeUInt32BE(e,0),n}e.exports={cache:r,generateCache:s,generateNumber:o,genBufVariableByteInt:a,generate4ByteBuffer:c}}).call(this,n("b639").Buffer)},f214:function(e,t,n){t=e.exports=n("0e8b"),t.Stream=t,t.Readable=t,t.Writable=n("f6ba"),t.Duplex=n("a493"),t.Transform=n("fe34"),t.PassThrough=n("9d37"),t.finished=n("bf09"),t.pipeline=n("386b")},f482:function(e,t,n){"use strict";(function(t){function n(e,n){var o=this,a=this._readableState&&this._readableState.destroyed,c=this._writableState&&this._writableState.destroyed;return a||c?(n?n(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,t.nextTick(s,this,e)):t.nextTick(s,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!n&&e?o._writableState?o._writableState.errorEmitted?t.nextTick(i,o):(o._writableState.errorEmitted=!0,t.nextTick(r,o,e)):t.nextTick(r,o,e):n?(t.nextTick(i,o),n(e)):t.nextTick(i,o)})),this)}function r(e,t){s(e,t),i(e)}function i(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function o(){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)}function s(e,t){e.emit("error",t)}function a(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}e.exports={destroy:n,undestroy:o,errorOrDestroy:a}}).call(this,n("4362"))},f674:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAC+ElEQVRIib2XW4hOURSAv9khwpRh47iTKHdDjNQkISaXB9cZQh4GL94U8kDkRTzITErxwtBISSbKpRRyy6UYhdKgthwyxqURc2ixznQ6zvln/mH+9XLOXvvynb322mutk9f3bRNZSBlQFR3urMlmfrNkM2sMsKpNlH8AdwFOAo9zDd4HjAbu5RK8CNio7/dzBe4PHNH3z8DTXICl7xhQoO0HQJAL8BZgRqT938ycCVwE7Izp7rY3OB84DnSI6dt9x4eAYTFdI/CkPcGrgdKEcQ+BH/8THDXncKAiZdwLYEhSh+cHvrPmS7bgMEl0BG4Ak7Oc/xKY4Kz5kC043PHuNkDlTq9Mgnp+0BnoDdQ7axrSwLOAzdl+sX7stQhMrFYOrAMKI/o6TTB7nTXvQ72YWhboBnwCvgJyXg3aHioTEqByLMVAk+Rjzw/k/M8CY7W/HngN9BS26sQyy5w1l4iccZpsB3bF+j4C44E6bfcB7gADNayK9a44awLd8SgNRkuA78BsZ83VlpLE3ARdeQQqclih54FpuqMBnh+s9fxgirOm1lmzFNihTlzl+UHXTOAeslBMdxSojrQnAQuAN3L/nTWNqi/UsWXhQGeN7PoC0A9Ynwk8JxZgngGbYmMW67PCWfMxw1qh7AnnZQLPi7zL2azQnByVcfp+uRVQkevAN3HCNHBe7Hy3pZQ9+fp8n9AnMsLzg7ywoQ4n3t09DTxRvVXkotZcSfJWdYNifY+Ad2q1yhDu+YEUjb3kQ9PAJfr0gTXAz5Rxt/S5MKp01jwHZip8Q+RKlmjQupl2jyUiTQfmAzUpUJHB6nSyyFgFNovnB2K5Uwp8BdzW+rw0acfhNTrQAhS9zwcBic01GsGiO5fiYaRGsRMKlUqmOmnHy9WZpmoB0JJ0Uj8o1lC7HzitmatAc8FWLS7kvhc5a+qSwJW6i9pWQH//O2k2klwuCSJNJL5LkJEP+itWi/dJAX+mNdAQHIqeqcDFPyQtigUkfouZzzlr/jgp8AuGJdVjVGwQOgAAAABJRU5ErkJggg=="},f688:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";var t=this.head,n=""+t.data;while(t=t.next)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return l.alloc(0);var t=l.allocUnsafe(e>>>0),n=this.head,r=0;while(n)d(n.data,t,r),r+=n.data.length,n=n.next;return t}},{key:"consume",value:function(e,t){var n;return ei.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),e-=o,0===e){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:"_getBuffer",value:function(e){var t=l.allocUnsafe(e),n=this.head,r=1;n.data.copy(t),e-=n.data.length;while(n=n.next){var i=n.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),e-=o,0===e){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,t}},{key:p,value:function(e,t){return f(this,i({},t,{depth:0,customInspect:!1}))}}]),e}()},f6ba:function(e,t,n){"use strict";(function(t,r){function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){K(t,e)}}var o;e.exports=R,R.WritableState=I;var s={deprecate:n("b7d1")},a=n("b98b"),c=n("b639").Buffer,u=t.Uint8Array||function(){};function l(e){return c.from(e)}function h(e){return c.isBuffer(e)||e instanceof u}var f,p=n("f482"),d=n("86c6"),g=d.getHighWaterMark,b=n("9bfc").codes,y=b.ERR_INVALID_ARG_TYPE,m=b.ERR_METHOD_NOT_IMPLEMENTED,v=b.ERR_MULTIPLE_CALLBACK,w=b.ERR_STREAM_CANNOT_PIPE,A=b.ERR_STREAM_DESTROYED,S=b.ERR_STREAM_NULL_VALUES,E=b.ERR_STREAM_WRITE_AFTER_END,k=b.ERR_UNKNOWN_ENCODING,C=p.errorOrDestroy;function x(){}function I(e,t,r){o=o||n("a493"),e=e||{},"boolean"!==typeof r&&(r=t instanceof o),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=g(this,e,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===e.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){N(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function R(e){o=o||n("a493");var t=this instanceof o;if(!t&&!f.call(R,this))return new R(e);this._writableState=new I(e,this,t),this.writable=!0,e&&("function"===typeof e.write&&(this._write=e.write),"function"===typeof e.writev&&(this._writev=e.writev),"function"===typeof e.destroy&&(this._destroy=e.destroy),"function"===typeof e.final&&(this._final=e.final)),a.call(this)}function B(e,t){var n=new E;C(e,n),r.nextTick(t,n)}function O(e,t,n,i){var o;return null===n?o=new S:"string"===typeof n||t.objectMode||(o=new y("chunk",["string","Buffer"],n)),!o||(C(e,o),r.nextTick(i,o),!1)}function T(e,t,n){return e.objectMode||!1===e.decodeStrings||"string"!==typeof t||(t=c.from(t,n)),t}function M(e,t,n,r,i,o){if(!n){var s=T(t,r,i);r!==s&&(n=!0,i="buffer",r=s)}var a=t.objectMode?1:r.length;t.length+=a;var c=t.length-1))throw new k(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(R.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(R.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),R.prototype._write=function(e,t,n){n(new m("_write()"))},R.prototype._writev=null,R.prototype.end=function(e,t,n){var r=this._writableState;return"function"===typeof e?(n=e,e=null,t=null):"function"===typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||z(this,r,n),this},Object.defineProperty(R.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(R.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),R.prototype.destroy=p.destroy,R.prototype._undestroy=p.undestroy,R.prototype._destroy=function(e,t){t(e)}}).call(this,n("c8ba"),n("4362"))},f9c1:function(e,t){function n(e){var t=e._readableState;return t?t.objectMode||"number"===typeof e._duplexState?e.read():e.read(r(t)):null}function r(e){return e.buffer.length?e.buffer.head?e.buffer.head.data.length:e.buffer[0].length:e.length}e.exports=n},faa1:function(e,t,n){"use strict";var r,i="object"===typeof Reflect?Reflect:null,o=i&&"function"===typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};function s(e){console&&console.warn&&console.warn(e)}r=i&&"function"===typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!==e};function c(){c.init.call(this)}e.exports=c,c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var u=10;function l(e){if("function"!==typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function h(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function f(e,t,n,r){var i,o,a;if(l(n),o=e._events,void 0===o?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"===typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),i=h(e),i>0&&a.length>i&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,s(c)}return e}function p(){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 d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=p.bind(r);return i.listener=n,r.wrapFn=i,i}function g(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"===typeof i?n?[i.listener||i]:[i]:n?v(i):y(i,i.length)}function b(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"===typeof n)return 1;if(void 0!==n)return n.length}return 0}function y(e,t){for(var n=new Array(t),r=0;r0&&(s=t[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var c=i[e];if(void 0===c)return!1;if("function"===typeof c)o(c,this,t);else{var u=c.length,l=y(c,u);for(n=0;n=0;o--)if(n[o]===t||n[o].listener===t){s=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():m(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,s||t)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(e){var t,n,r;if(n=this._events,void 0===n)return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r=0;r--)this.removeListener(e,t[r]);return this},c.prototype.listeners=function(e){return g(this,e,!0)},c.prototype.rawListeners=function(e){return g(this,e,!1)},c.listenerCount=function(e,t){return"function"===typeof e.listenerCount?e.listenerCount(t):b.call(e,t)},c.prototype.listenerCount=b,c.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},fbd7:function(e,t,n){"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var i={};function o(e,t,n){function o(e,n,r){return"string"===typeof t?t:t(e,n,r)}n||(n=Error);var s=function(e){function t(t,n,r){return e.call(this,o(t,n,r))||this}return r(t,e),t}(n);s.prototype.name=n.name,s.prototype.code=e,i[e]=s}function s(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}function a(e,t,n){return e.substr(!n||n<0?0:+n,t.length)===t}function c(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}function u(e,t,n){return"number"!==typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}o("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),o("ERR_INVALID_ARG_TYPE",(function(e,t,n){var r,i;if("string"===typeof t&&a(t,"not ")?(r="must not be",t=t.replace(/^not /,"")):r="must be",c(e," argument"))i="The ".concat(e," ").concat(r," ").concat(s(t,"type"));else{var o=u(e,".")?"property":"argument";i='The "'.concat(e,'" ').concat(o," ").concat(r," ").concat(s(t,"type"))}return i+=". Received type ".concat(typeof n),i}),TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.codes=i},fcb9:function(e,t,n){"use strict";(function(t){const{Buffer:r}=n("b639"),i=n("a9b9"),o=n("34eb")("mqttjs:ws"),s=n("56ac"),a=n("035d").Transform,c=["rejectUnauthorized","ca","cert","key","pfx","passphrase"],u="undefined"!==typeof t&&"browser"===t.title||"function"===typeof n;function l(e,t){let n=e.protocol+"://"+e.hostname+":"+e.port+e.path;return"function"===typeof e.transformWsUrl&&(n=e.transformWsUrl(n,e,t)),n}function h(e){const t=e;return e.hostname||(t.hostname="localhost"),e.port||("wss"===e.protocol?t.port=443:t.port=80),e.path||(t.path="/"),e.wsOptions||(t.wsOptions={}),u||"wss"!==e.protocol||c.forEach((function(n){Object.prototype.hasOwnProperty.call(e,n)&&!Object.prototype.hasOwnProperty.call(e.wsOptions,n)&&(t.wsOptions[n]=e[n])})),t}function f(e){const t=h(e);if(t.hostname||(t.hostname=t.host),!t.hostname){if("undefined"===typeof document)throw new Error("Could not determine host. Specify host manually.");const e=new URL(document.URL);t.hostname=e.hostname,t.port||(t.port=e.port)}return void 0===t.objectMode&&(t.objectMode=!(!0===t.binary||void 0===t.binary)),t}function p(e,t,n){o("createWebSocket"),o("protocol: "+n.protocolId+" "+n.protocolVersion);const r="MQIsdp"===n.protocolId&&3===n.protocolVersion?"mqttv3.1":"mqtt";o("creating new Websocket for url: "+t+" and protocol: "+r);const s=new i(t,[r],n.wsOptions);return s}function d(e,t){const n="MQIsdp"===t.protocolId&&3===t.protocolVersion?"mqttv3.1":"mqtt",r=l(t,e),i=new WebSocket(r,[n]);return i.binaryType="arraybuffer",i}function g(e,t){o("streamBuilder");const n=h(t),r=l(n,e),s=p(e,r,n),a=i.createWebSocketStream(s,n.wsOptions);return a.url=r,s.on("close",()=>{a.destroy()}),a}function b(e,t){let n;o("browserStreamBuilder");const i=f(t),c=i.browserBufferSize||524288,u=t.browserBufferTimeout||1e3,l=!t.objectMode,h=d(e,t),p=b(t,S,E);t.objectMode||(p._writev=A),p.on("close",()=>{h.close()});const g="undefined"!==typeof h.addEventListener;function b(e,t,n){const r=new a({objectModeMode:e.objectMode});return r._write=t,r._flush=n,r}function y(){n.setReadable(p),n.setWritable(p),n.emit("connect")}function m(){n.end(),n.destroy()}function v(e){n.destroy(e)}function w(e){let t=e.data;t=t instanceof ArrayBuffer?r.from(t):r.from(t,"utf8"),p.push(t)}function A(e,t){const n=new Array(e.length);for(let i=0;ic&&setTimeout(S,u,e,t,n),l&&"string"===typeof e&&(e=r.from(e,"utf8"));try{h.send(e)}catch(i){return n(i)}n()}function E(e){h.close(),e()}return(h.readyState===h.OPEN?n=p:(n=n=s(void 0,void 0,t),t.objectMode||(n._writev=A),g?h.addEventListener("open",y):h.onopen=y),n.socket=h,g?(h.addEventListener("close",m),h.addEventListener("error",v),h.addEventListener("message",w)):(h.onclose=m,h.onerror=v,h.onmessage=w),n)}e.exports=u?b:g}).call(this,n("4362"))},fe34:function(e,t,n){"use strict";e.exports=l;var r=n("9bfc").codes,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,s=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=r.ERR_TRANSFORM_WITH_LENGTH_0,c=n("a493");function u(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length