Files
starRiverProperty/frontend-source/decompiled/cwos-portal/static/js/142.a99ee290810c38ee0bc5.js
T
反编译工作区 4f79e10bd6 chore: cleanup stray nested directories in frontend-source
Former-commit-id: 376f94edd602d3dfed1cbada6e08361ee7b08e73
2026-04-29 13:07:40 +08:00

1 line
155 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
webpackJsonp([142],{"3D60":function(t,e,n){(t.exports=n("FZ+f")(!1)).push([t.i,"\n[data-v-7f78016c] .el-input--suffix .el-input__inner {\n padding-right: 35px;\n}\n[data-v-7f78016c] .el-input__inner {\n padding: 0 12px;\n}\n.upadd-card[data-v-7f78016c] {\n margin-bottom: 100px;\n padding-bottom: 18px;\n}\n",""])},CED4:function(t,e,n){var i;"undefined"!=typeof self&&self,i=function(t){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"014b":function(t,e,n){"use strict";var i=n("e53d"),r=n("07e3"),a=n("8e60"),o=n("63b6"),s=n("9138"),c=n("ebfd").KEY,l=n("294c"),u=n("dbdb"),h=n("45f2"),d=n("62a0"),f=n("5168"),v=n("ccb9"),p=n("6718"),g=n("47ee"),w=n("9003"),m=n("e4ae"),y=n("f772"),b=n("36c3"),x=n("1bc3"),k=n("aebd"),S=n("a159"),_=n("0395"),E=n("bf0b"),C=n("d9f6"),O=n("c3a1"),R=E.f,T=C.f,L=_.f,A=i.Symbol,D=i.JSON,I=D&&D.stringify,M="prototype",P=f("_hidden"),N=f("toPrimitive"),W={}.propertyIsEnumerable,F=u("symbol-registry"),U=u("symbols"),j=u("op-symbols"),B=Object[M],z="function"==typeof A,H=i.QObject,V=!H||!H[M]||!H[M].findChild,G=a&&l(function(){return 7!=S(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(t,e,n){var i=R(B,e);i&&delete B[e],T(t,e,n),i&&t!==B&&T(B,e,i)}:T,$=function(t){var e=U[t]=S(A[M]);return e._k=t,e},q=z&&"symbol"==typeof A.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof A},Q=function(t,e,n){return t===B&&Q(j,e,n),m(t),e=x(e,!0),m(n),r(U,e)?(n.enumerable?(r(t,P)&&t[P][e]&&(t[P][e]=!1),n=S(n,{enumerable:k(0,!1)})):(r(t,P)||T(t,P,k(1,{})),t[P][e]=!0),G(t,e,n)):T(t,e,n)},Y=function(t,e){m(t);for(var n,i=g(e=b(e)),r=0,a=i.length;a>r;)Q(t,n=i[r++],e[n]);return t},Z=function(t){var e=W.call(this,t=x(t,!0));return!(this===B&&r(U,t)&&!r(j,t))&&(!(e||!r(this,t)||!r(U,t)||r(this,P)&&this[P][t])||e)},J=function(t,e){if(t=b(t),e=x(e,!0),t!==B||!r(U,e)||r(j,e)){var n=R(t,e);return!n||!r(U,e)||r(t,P)&&t[P][e]||(n.enumerable=!0),n}},X=function(t){for(var e,n=L(b(t)),i=[],a=0;n.length>a;)r(U,e=n[a++])||e==P||e==c||i.push(e);return i},K=function(t){for(var e,n=t===B,i=L(n?j:b(t)),a=[],o=0;i.length>o;)!r(U,e=i[o++])||n&&!r(B,e)||a.push(U[e]);return a};z||(s((A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var t=d(arguments.length>0?arguments[0]:void 0),e=function(n){this===B&&e.call(j,n),r(this,P)&&r(this[P],t)&&(this[P][t]=!1),G(this,t,k(1,n))};return a&&V&&G(B,t,{configurable:!0,set:e}),$(t)})[M],"toString",function(){return this._k}),E.f=J,C.f=Q,n("6abf").f=_.f=X,n("355d").f=Z,n("9aa9").f=K,a&&!n("b8e3")&&s(B,"propertyIsEnumerable",Z,!0),v.f=function(t){return $(f(t))}),o(o.G+o.W+o.F*!z,{Symbol:A});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)f(tt[et++]);for(var nt=O(f.store),it=0;nt.length>it;)p(nt[it++]);o(o.S+o.F*!z,"Symbol",{for:function(t){return r(F,t+="")?F[t]:F[t]=A(t)},keyFor:function(t){if(!q(t))throw TypeError(t+" is not a symbol!");for(var e in F)if(F[e]===t)return e},useSetter:function(){V=!0},useSimple:function(){V=!1}}),o(o.S+o.F*!z,"Object",{create:function(t,e){return void 0===e?S(t):Y(S(t),e)},defineProperty:Q,defineProperties:Y,getOwnPropertyDescriptor:J,getOwnPropertyNames:X,getOwnPropertySymbols:K}),D&&o(o.S+o.F*(!z||l(function(){var t=A();return"[null]"!=I([t])||"{}"!=I({a:t})||"{}"!=I(Object(t))})),"JSON",{stringify:function(t){for(var e,n,i=[t],r=1;arguments.length>r;)i.push(arguments[r++]);if(n=e=i[1],(y(e)||void 0!==t)&&!q(t))return w(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!q(e))return e}),i[1]=e,I.apply(D,i)}}),A[M][N]||n("35e8")(A[M],N,A[M].valueOf),h(A,"Symbol"),h(Math,"Math",!0),h(i.JSON,"JSON",!0)},"01f9":function(t,e,n){"use strict";var i=n("2d00"),r=n("5ca1"),a=n("2aba"),o=n("32e9"),s=n("84f2"),c=n("41a0"),l=n("7f20"),u=n("38fd"),h=n("2b4c")("iterator"),d=!([].keys&&"next"in[].keys()),f="keys",v="values",p=function(){return this};t.exports=function(t,e,n,g,w,m,y){c(n,e,g);var b,x,k,S=function(t){if(!d&&t in O)return O[t];switch(t){case f:case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},_=e+" Iterator",E=w==v,C=!1,O=t.prototype,R=O[h]||O["@@iterator"]||w&&O[w],T=R||S(w),L=w?E?S("entries"):T:void 0,A="Array"==e&&O.entries||R;if(A&&((k=u(A.call(new t)))!==Object.prototype&&k.next&&(l(k,_,!0),i||"function"==typeof k[h]||o(k,h,p))),E&&R&&R.name!==v&&(C=!0,T=function(){return R.call(this)}),i&&!y||!d&&!C&&O[h]||o(O,h,T),s[e]=T,s[_]=p,w)if(b={values:E?T:S(v),keys:m?T:S(f),entries:L},y)for(x in b)x in O||a(O,x,b[x]);else r(r.P+r.F*(d||C),e,b);return b}},"0293":function(t,e,n){var i=n("241e"),r=n("53e2");n("ce7e")("getPrototypeOf",function(){return function(t){return r(i(t))}})},"02f4":function(t,e,n){var i=n("4588"),r=n("be13");t.exports=function(t){return function(e,n){var a,o,s=String(r(e)),c=i(n),l=s.length;return c<0||c>=l?t?"":void 0:(a=s.charCodeAt(c))<55296||a>56319||c+1===l||(o=s.charCodeAt(c+1))<56320||o>57343?t?s.charAt(c):a:t?s.slice(c,c+2):o-56320+(a-55296<<10)+65536}}},"0390":function(t,e,n){"use strict";var i=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},"0395":function(t,e,n){var i=n("36c3"),r=n("6abf").f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return o&&"[object Window]"==a.call(t)?function(t){try{return r(t)}catch(t){return o.slice()}}(t):r(i(t))}},"061b":function(t,e,n){t.exports=n("fa99")},"07e3":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"09fa":function(t,e,n){var i=n("4588"),r=n("9def");t.exports=function(t){if(void 0===t)return 0;var e=i(t),n=r(e);if(e!==n)throw RangeError("Wrong length!");return n}},"0a49":function(t,e,n){var i=n("9b43"),r=n("626a"),a=n("4bf8"),o=n("9def"),s=n("cd1c");t.exports=function(t,e){var n=1==t,c=2==t,l=3==t,u=4==t,h=6==t,d=5==t||h,f=e||s;return function(e,s,v){for(var p,g,w=a(e),m=r(w),y=i(s,v,3),b=o(m.length),x=0,k=n?f(e,b):c?f(e,0):void 0;b>x;x++)if((d||x in m)&&(g=y(p=m[x],x,w),t))if(n)k[x]=g;else if(g)switch(t){case 3:return!0;case 5:return p;case 6:return x;case 2:k.push(p)}else if(u)return!1;return h?-1:l||u?u:k}}},"0bfb":function(t,e,n){"use strict";var i=n("cb7c");t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d58":function(t,e,n){var i=n("ce10"),r=n("e11e");t.exports=Object.keys||function(t){return i(t,r)}},"0f88":function(t,e,n){for(var i,r=n("7726"),a=n("32e9"),o=n("ca5a"),s=o("typed_array"),c=o("view"),l=!(!r.ArrayBuffer||!r.DataView),u=l,h=0,d="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");h<9;)(i=r[d[h++]])?(a(i.prototype,s,!0),a(i.prototype,c,!0)):u=!1;t.exports={ABV:l,CONSTR:u,TYPED:s,VIEW:c}},"0fc9":function(t,e,n){var i=n("3a38"),r=Math.max,a=Math.min;t.exports=function(t,e){return(t=i(t))<0?r(t+e,0):a(t,e)}},1169:function(t,e,n){var i=n("2d95");t.exports=Array.isArray||function(t){return"Array"==i(t)}},"11e9":function(t,e,n){var i=n("52a7"),r=n("4630"),a=n("6821"),o=n("6a99"),s=n("69a8"),c=n("c69a"),l=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?l:function(t,e){if(t=a(t),e=o(e,!0),c)try{return l(t,e)}catch(t){}if(s(t,e))return r(!i.f.call(t,e),t[e])}},1495:function(t,e,n){var i=n("86cc"),r=n("cb7c"),a=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){r(t);for(var n,o=a(e),s=o.length,c=0;s>c;)i.f(t,n=o[c++],e[n]);return t}},1654:function(t,e,n){"use strict";var i=n("71c1")(!0);n("30f1")(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},1691:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"1af6":function(t,e,n){var i=n("63b6");i(i.S,"Array",{isArray:n("9003")})},"1bc3":function(t,e,n){var i=n("f772");t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},"1df8":function(t,e,n){var i=n("63b6");i(i.S,"Object",{setPrototypeOf:n("ead6").set})},"1ec9":function(t,e,n){var i=n("f772"),r=n("e53d").document,a=i(r)&&i(r.createElement);t.exports=function(t){return a?r.createElement(t):{}}},"20fd":function(t,e,n){"use strict";var i=n("d9f6"),r=n("aebd");t.exports=function(t,e,n){e in t?i.f(t,e,r(0,n)):t[e]=n}},"214f":function(t,e,n){"use strict";n("b0c5");var i=n("2aba"),r=n("32e9"),a=n("79e5"),o=n("be13"),s=n("2b4c"),c=n("520a"),l=s("species"),u=!a(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),h=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var d=s(t),f=!a(function(){var e={};return e[d]=function(){return 7},7!=""[t](e)}),v=f?!a(function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[l]=function(){return n}),n[d](""),!e}):void 0;if(!f||!v||"replace"===t&&!u||"split"===t&&!h){var p=/./[d],g=n(o,d,""[t],function(t,e,n,i,r){return e.exec===c?f&&!r?{done:!0,value:p.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}}),w=g[0],m=g[1];i(String.prototype,t,w),r(RegExp.prototype,d,2==e?function(t,e){return m.call(t,this,e)}:function(t){return m.call(t,this)})}}},"230e":function(t,e,n){var i=n("d3f4"),r=n("7726").document,a=i(r)&&i(r.createElement);t.exports=function(t){return a?r.createElement(t):{}}},2350:function(t,e){function n(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var r=function(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}(i),a=i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"});return[n].concat(a).concat([r]).join("\n")}return[n].join("\n")}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i=n(e,t);return e[2]?"@media "+e[2]+"{"+i+"}":i}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},r=0;r<this.length;r++){var a=this[r][0];"number"==typeof a&&(i[a]=!0)}for(r=0;r<t.length;r++){var o=t[r];"number"==typeof o[0]&&i[o[0]]||(n&&!o[2]?o[2]=n:n&&(o[2]="("+o[2]+") and ("+n+")"),e.push(o))}},e}},"23c6":function(t,e,n){var i=n("2d95"),r=n("2b4c")("toStringTag"),a="Arguments"==i(function(){return arguments}());t.exports=function(t){var e,n,o;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),r))?n:a?i(e):"Object"==(o=i(e))&&"function"==typeof e.callee?"Arguments":o}},"241e":function(t,e,n){var i=n("25eb");t.exports=function(t){return Object(i(t))}},"25b0":function(t,e,n){n("1df8"),t.exports=n("584a").Object.setPrototypeOf},"25eb":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"268f":function(t,e,n){t.exports=n("fde4")},"27ee":function(t,e,n){var i=n("23c6"),r=n("2b4c")("iterator"),a=n("84f2");t.exports=n("8378").getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||a[i(t)]}},"294c":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"2aba":function(t,e,n){var i=n("7726"),r=n("32e9"),a=n("69a8"),o=n("ca5a")("src"),s=n("fa5b"),c="toString",l=(""+s).split(c);n("8378").inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var c="function"==typeof n;c&&(a(n,"name")||r(n,"name",e)),t[e]!==n&&(c&&(a(n,o)||r(n,o,t[e]?""+t[e]:l.join(String(e)))),t===i?t[e]=n:s?t[e]?t[e]=n:r(t,e,n):(delete t[e],r(t,e,n)))})(Function.prototype,c,function(){return"function"==typeof this&&this[o]||s.call(this)})},"2aeb":function(t,e,n){var i=n("cb7c"),r=n("1495"),a=n("e11e"),o=n("613b")("IE_PROTO"),s=function(){},c="prototype",l=function(){var t,e=n("230e")("iframe"),i=a.length;for(e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;i--;)delete l[c][a[i]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[c]=i(t),n=new s,s[c]=null,n[o]=t):n=l(),void 0===e?n:r(n,e)}},"2b4c":function(t,e,n){var i=n("5537")("wks"),r=n("ca5a"),a=n("7726").Symbol,o="function"==typeof a;(t.exports=function(t){return i[t]||(i[t]=o&&a[t]||(o?a:r)("Symbol."+t))}).store=i},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"30f1":function(t,e,n){"use strict";var i=n("b8e3"),r=n("63b6"),a=n("9138"),o=n("35e8"),s=n("481b"),c=n("8f60"),l=n("45f2"),u=n("53e2"),h=n("5168")("iterator"),d=!([].keys&&"next"in[].keys()),f="keys",v="values",p=function(){return this};t.exports=function(t,e,n,g,w,m,y){c(n,e,g);var b,x,k,S=function(t){if(!d&&t in O)return O[t];switch(t){case f:case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},_=e+" Iterator",E=w==v,C=!1,O=t.prototype,R=O[h]||O["@@iterator"]||w&&O[w],T=R||S(w),L=w?E?S("entries"):T:void 0,A="Array"==e&&O.entries||R;if(A&&((k=u(A.call(new t)))!==Object.prototype&&k.next&&(l(k,_,!0),i||"function"==typeof k[h]||o(k,h,p))),E&&R&&R.name!==v&&(C=!0,T=function(){return R.call(this)}),i&&!y||!d&&!C&&O[h]||o(O,h,T),s[e]=T,s[_]=p,w)if(b={values:E?T:S(v),keys:m?T:S(f),entries:L},y)for(x in b)x in O||a(O,x,b[x]);else r(r.P+r.F*(d||C),e,b);return b}},"32a6":function(t,e,n){var i=n("241e"),r=n("c3a1");n("ce7e")("keys",function(){return function(t){return r(i(t))}})},"32e9":function(t,e,n){var i=n("86cc"),r=n("4630");t.exports=n("9e1e")?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},"32fc":function(t,e,n){var i=n("e53d").document;t.exports=i&&i.documentElement},"335c":function(t,e,n){var i=n("6b4c");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},"33a4":function(t,e,n){var i=n("84f2"),r=n("2b4c")("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[r]===t)}},"355d":function(t,e){e.f={}.propertyIsEnumerable},"35e8":function(t,e,n){var i=n("d9f6"),r=n("aebd");t.exports=n("8e60")?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},"36bd":function(t,e,n){"use strict";var i=n("4bf8"),r=n("77f1"),a=n("9def");t.exports=function(t){for(var e=i(this),n=a(e.length),o=arguments.length,s=r(o>1?arguments[1]:void 0,n),c=o>2?arguments[2]:void 0,l=void 0===c?n:r(c,n);l>s;)e[s++]=t;return e}},"36c3":function(t,e,n){var i=n("335c"),r=n("25eb");t.exports=function(t){return i(r(t))}},3702:function(t,e,n){var i=n("481b"),r=n("5168")("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[r]===t)}},"38fd":function(t,e,n){var i=n("69a8"),r=n("4bf8"),a=n("613b")("IE_PROTO"),o=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?o:null}},"3a38":function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},"40c3":function(t,e,n){var i=n("6b4c"),r=n("5168")("toStringTag"),a="Arguments"==i(function(){return arguments}());t.exports=function(t){var e,n,o;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),r))?n:a?i(e):"Object"==(o=i(e))&&"function"==typeof e.callee?"Arguments":o}},"41a0":function(t,e,n){"use strict";var i=n("2aeb"),r=n("4630"),a=n("7f20"),o={};n("32e9")(o,n("2b4c")("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(o,{next:r(1,n)}),a(t,e+" Iterator")}},"454f":function(t,e,n){n("46a7");var i=n("584a").Object;t.exports=function(t,e,n){return i.defineProperty(t,e,n)}},4588:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},"45f2":function(t,e,n){var i=n("d9f6").f,r=n("07e3"),a=n("5168")("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,a)&&i(t,a,{configurable:!0,value:e})}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"469f":function(t,e,n){n("6c1c"),n("1654"),t.exports=n("7d7b")},"46a7":function(t,e,n){var i=n("63b6");i(i.S+i.F*!n("8e60"),"Object",{defineProperty:n("d9f6").f})},"47ee":function(t,e,n){var i=n("c3a1"),r=n("9aa9"),a=n("355d");t.exports=function(t){var e=i(t),n=r.f;if(n)for(var o,s=n(t),c=a.f,l=0;s.length>l;)c.call(t,o=s[l++])&&e.push(o);return e}},"481b":function(t,e){t.exports={}},4917:function(t,e,n){"use strict";var i=n("cb7c"),r=n("9def"),a=n("0390"),o=n("5f1b");n("214f")("match",1,function(t,e,n,s){return[function(n){var i=t(this),r=void 0==n?void 0:n[e];return void 0!==r?r.call(n,i):new RegExp(n)[e](String(i))},function(t){var e=s(n,t,this);if(e.done)return e.value;var c=i(t),l=String(this);if(!c.global)return o(c,l);var u=c.unicode;c.lastIndex=0;for(var h,d=[],f=0;null!==(h=o(c,l));){var v=String(h[0]);d[f]=v,""===v&&(c.lastIndex=a(l,r(c.lastIndex),u)),f++}return 0===f?null:d}]})},"499e":function(t,e,n){"use strict";function i(t,e){for(var n=[],i={},r=0;r<e.length;r++){var a=e[r],o=a[0],s={id:t+":"+r,css:a[1],media:a[2],sourceMap:a[3]};i[o]?i[o].parts.push(s):n.push(i[o]={id:o,parts:[s]})}return n}n.r(e),n.d(e,"default",function(){return v});var r="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var a={},o=r&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,l=!1,u=function(){},h=null,d="data-vue-ssr-id",f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function v(t,e,n,r){l=n,h=r||{};var o=i(t,e);return p(o),function(e){for(var n=[],r=0;r<o.length;r++){var s=o[r],c=a[s.id];c.refs--,n.push(c)}for(e?p(o=i(t,e)):o=[],r=0;r<n.length;r++)if(0===(c=n[r]).refs){for(var l=0;l<c.parts.length;l++)c.parts[l]();delete a[c.id]}}}function p(t){for(var e=0;e<t.length;e++){var n=t[e],i=a[n.id];if(i){i.refs++;for(var r=0;r<i.parts.length;r++)i.parts[r](n.parts[r]);for(;r<n.parts.length;r++)i.parts.push(w(n.parts[r]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var o=[];for(r=0;r<n.parts.length;r++)o.push(w(n.parts[r]));a[n.id]={id:n.id,refs:1,parts:o}}}}function g(){var t=document.createElement("style");return t.type="text/css",o.appendChild(t),t}function w(t){var e,n,i=document.querySelector("style["+d+'~="'+t.id+'"]');if(i){if(l)return u;i.parentNode.removeChild(i)}if(f){var r=c++;i=s||(s=g()),e=y.bind(null,i,r,!1),n=y.bind(null,i,r,!0)}else i=g(),e=function(t,e){var n=e.css,i=e.media,r=e.sourceMap;if(i&&t.setAttribute("media",i),h.ssrId&&t.setAttribute(d,e.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,i),n=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else n()}}var m=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function y(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=m(e,r);else{var a=document.createTextNode(r),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(a,o[e]):t.appendChild(a)}}},"4aa6":function(t,e,n){t.exports=n("dc62")},"4b0b":function(t,e,n){"use strict";var i=n("9e6a");n.n(i).a},"4bf8":function(t,e,n){var i=n("be13");t.exports=function(t){return Object(i(t))}},"4d16":function(t,e,n){t.exports=n("25b0")},"4ee1":function(t,e,n){var i=n("5168")("iterator"),r=!1;try{var a=[7][i]();a.return=function(){r=!0},Array.from(a,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var a=[7],o=a[i]();o.next=function(){return{done:n=!0}},a[i]=function(){return o},t(a)}catch(t){}return n}},"50ed":function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},5168:function(t,e,n){var i=n("dbdb")("wks"),r=n("62a0"),a=n("e53d").Symbol,o="function"==typeof a;(t.exports=function(t){return i[t]||(i[t]=o&&a[t]||(o?a:r)("Symbol."+t))}).store=i},"520a":function(t,e,n){"use strict";var i=n("0bfb"),r=RegExp.prototype.exec,a=String.prototype.replace,o=r,s="lastIndex",c=function(){var t=/a/,e=/b*/g;return r.call(t,"a"),r.call(e,"a"),0!==t[s]||0!==e[s]}(),l=void 0!==/()??/.exec("")[1];(c||l)&&(o=function(t){var e,n,o,u,h=this;return l&&(n=new RegExp("^"+h.source+"$(?!\\s)",i.call(h))),c&&(e=h[s]),o=r.call(h,t),c&&o&&(h[s]=h.global?o.index+o[0].length:e),l&&o&&o.length>1&&a.call(o[0],n,function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(o[u]=void 0)}),o}),t.exports=o},"52a7":function(t,e){e.f={}.propertyIsEnumerable},"53e2":function(t,e,n){var i=n("07e3"),r=n("241e"),a=n("5559")("IE_PROTO"),o=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?o:null}},"549b":function(t,e,n){"use strict";var i=n("d864"),r=n("63b6"),a=n("241e"),o=n("b0dc"),s=n("3702"),c=n("b447"),l=n("20fd"),u=n("7cd6");r(r.S+r.F*!n("4ee1")(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,r,h,d=a(t),f="function"==typeof this?this:Array,v=arguments.length,p=v>1?arguments[1]:void 0,g=void 0!==p,w=0,m=u(d);if(g&&(p=i(p,v>2?arguments[2]:void 0,2)),void 0==m||f==Array&&s(m))for(n=new f(e=c(d.length));e>w;w++)l(n,w,g?p(d[w],w):d[w]);else for(h=m.call(d),n=new f;!(r=h.next()).done;w++)l(n,w,g?o(h,p,[r.value,w],!0):r.value);return n.length=w,n}})},"54a1":function(t,e,n){n("6c1c"),n("1654"),t.exports=n("95d5")},5537:function(t,e,n){var i=n("8378"),r=n("7726"),a="__core-js_shared__",o=r[a]||(r[a]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},5559:function(t,e,n){var i=n("dbdb")("keys"),r=n("62a0");t.exports=function(t){return i[t]||(i[t]=r(t))}},"584a":function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},"5b4e":function(t,e,n){var i=n("36c3"),r=n("b447"),a=n("0fc9");t.exports=function(t){return function(e,n,o){var s,c=i(e),l=r(c.length),u=a(o,l);if(t&&n!=n){for(;l>u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}}},"5ca1":function(t,e,n){var i=n("7726"),r=n("8378"),a=n("32e9"),o=n("2aba"),s=n("9b43"),c="prototype",l=function(t,e,n){var u,h,d,f,v=t&l.F,p=t&l.G,g=t&l.S,w=t&l.P,m=t&l.B,y=p?i:g?i[e]||(i[e]={}):(i[e]||{})[c],b=p?r:r[e]||(r[e]={}),x=b[c]||(b[c]={});for(u in p&&(n=e),n)d=((h=!v&&y&&void 0!==y[u])?y:n)[u],f=m&&h?s(d,i):w&&"function"==typeof d?s(Function.call,d):d,y&&o(y,u,d,t&l.U),b[u]!=d&&a(b,u,f),w&&x[u]!=d&&(x[u]=d)};i.core=r,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},"5cc5":function(t,e,n){var i=n("2b4c")("iterator"),r=!1;try{var a=[7][i]();a.return=function(){r=!0},Array.from(a,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var a=[7],o=a[i]();o.next=function(){return{done:n=!0}},a[i]=function(){return o},t(a)}catch(t){}return n}},"5d58":function(t,e,n){t.exports=n("d8d6")},"5d6b":function(t,e,n){var i=n("e53d").parseInt,r=n("a1ce").trim,a=n("e692"),o=/^[-+]?0[xX]/;t.exports=8!==i(a+"08")||22!==i(a+"0x16")?function(t,e){var n=r(String(t),3);return i(n,e>>>0||(o.test(n)?16:10))}:i},"5d73":function(t,e,n){t.exports=n("469f")},"5f1b":function(t,e,n){"use strict";var i=n("23c6"),r=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var a=n.call(t,e);if("object"!=typeof a)throw new TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==i(t))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},"613b":function(t,e,n){var i=n("5537")("keys"),r=n("ca5a");t.exports=function(t){return i[t]||(i[t]=r(t))}},"626a":function(t,e,n){var i=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},"62a0":function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},"63b6":function(t,e,n){var i=n("e53d"),r=n("584a"),a=n("d864"),o=n("35e8"),s=n("07e3"),c="prototype",l=function(t,e,n){var u,h,d,f=t&l.F,v=t&l.G,p=t&l.S,g=t&l.P,w=t&l.B,m=t&l.W,y=v?r:r[e]||(r[e]={}),b=y[c],x=v?i:p?i[e]:(i[e]||{})[c];for(u in v&&(n=e),n)(h=!f&&x&&void 0!==x[u])&&s(y,u)||(d=h?x[u]:n[u],y[u]=v&&"function"!=typeof x[u]?n[u]:w&&h?a(d,i):m&&x[u]==d?function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e[c]=t[c],e}(d):g&&"function"==typeof d?a(Function.call,d):d,g&&((y.virtual||(y.virtual={}))[u]=d,t&l.R&&b&&!b[u]&&o(b,u,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},6718:function(t,e,n){var i=n("e53d"),r=n("584a"),a=n("b8e3"),o=n("ccb9"),s=n("d9f6").f;t.exports=function(t){var e=r.Symbol||(r.Symbol=a?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:o.f(t)})}},"67bb":function(t,e,n){t.exports=n("f921")},6821:function(t,e,n){var i=n("626a"),r=n("be13");t.exports=function(t){return i(r(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"69d3":function(t,e,n){n("6718")("asyncIterator")},"6a99":function(t,e,n){var i=n("d3f4");t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},"6aa2":function(t,e,n){n("ec30")("Uint8",1,function(t){return function(e,n,i){return t(this,e,n,i)}},!0)},"6abf":function(t,e,n){var i=n("e6f3"),r=n("1691").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},"6b4c":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"6c1c":function(t,e,n){n("c367");for(var i=n("e53d"),r=n("35e8"),a=n("481b"),o=n("5168")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c<s.length;c++){var l=s[c],u=i[l],h=u&&u.prototype;h&&!h[o]&&r(h,o,l),a[l]=a.Array}},"6c7b":function(t,e,n){var i=n("5ca1");i(i.P,"Array",{fill:n("36bd")}),n("9c6c")("fill")},"71c1":function(t,e,n){var i=n("3a38"),r=n("25eb");t.exports=function(t){return function(e,n){var a,o,s=String(r(e)),c=i(n),l=s.length;return c<0||c>=l?t?"":void 0:(a=s.charCodeAt(c))<55296||a>56319||c+1===l||(o=s.charCodeAt(c+1))<56320||o>57343?t?s.charAt(c):a:t?s.slice(c,c+2):o-56320+(a-55296<<10)+65536}}},7445:function(t,e,n){var i=n("63b6"),r=n("5d6b");i(i.G+i.F*(parseInt!=r),{parseInt:r})},"765d":function(t,e,n){n("6718")("observable")},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"774e":function(t,e,n){t.exports=n("d2d5")},"77f1":function(t,e,n){var i=n("4588"),r=Math.max,a=Math.min;t.exports=function(t,e){return(t=i(t))<0?r(t+e,0):a(t,e)}},"794b":function(t,e,n){t.exports=!n("8e60")&&!n("294c")(function(){return 7!=Object.defineProperty(n("1ec9")("div"),"a",{get:function(){return 7}}).a})},"79aa":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"7a56":function(t,e,n){"use strict";var i=n("7726"),r=n("86cc"),a=n("9e1e"),o=n("2b4c")("species");t.exports=function(t){var e=i[t];a&&e&&!e[o]&&r.f(e,o,{configurable:!0,get:function(){return this}})}},"7cd6":function(t,e,n){var i=n("40c3"),r=n("5168")("iterator"),a=n("481b");t.exports=n("584a").getIteratorMethod=function(t){if(void 0!=t)return t[r]||t["@@iterator"]||a[i(t)]}},"7d7b":function(t,e,n){var i=n("e4ae"),r=n("7cd6");t.exports=n("584a").getIterator=function(t){var e=r(t);if("function"!=typeof e)throw TypeError(t+" is not iterable!");return i(e.call(t))}},"7e90":function(t,e,n){var i=n("d9f6"),r=n("e4ae"),a=n("c3a1");t.exports=n("8e60")?Object.defineProperties:function(t,e){r(t);for(var n,o=a(e),s=o.length,c=0;s>c;)i.f(t,n=o[c++],e[n]);return t}},"7f20":function(t,e,n){var i=n("86cc").f,r=n("69a8"),a=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,a)&&i(t,a,{configurable:!0,value:e})}},"7f7f":function(t,e,n){var i=n("86cc").f,r=Function.prototype,a=/^\s*function ([^ (]*)/,o="name";o in r||n("9e1e")&&i(r,o,{configurable:!0,get:function(){try{return(""+this).match(a)[1]}catch(t){return""}}})},8378:function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},8436:function(t,e){t.exports=function(){}},"84f2":function(t,e){t.exports={}},"85f2":function(t,e,n){t.exports=n("454f")},"86cc":function(t,e,n){var i=n("cb7c"),r=n("c69a"),a=n("6a99"),o=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(i(t),e=a(e,!0),i(n),r)try{return o(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"8aae":function(t,e,n){n("32a6"),t.exports=n("584a").Object.keys},"8bbf":function(e,n){e.exports=t},"8e60":function(t,e,n){t.exports=!n("294c")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"8f60":function(t,e,n){"use strict";var i=n("a159"),r=n("aebd"),a=n("45f2"),o={};n("35e8")(o,n("5168")("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=i(o,{next:r(1,n)}),a(t,e+" Iterator")}},9003:function(t,e,n){var i=n("6b4c");t.exports=Array.isArray||function(t){return"Array"==i(t)}},9093:function(t,e,n){var i=n("ce10"),r=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},9138:function(t,e,n){t.exports=n("35e8")},9224:function(t){t.exports={name:"vatplayer",version:"1.1.0",vatversion:"1.1.0",private:!0,main:"lib/vatplayer.umd.min.js",typings:"types/index.d.ts",scripts:{serve:"vue-cli-service serve","build:demo":"vue-cli-service build",build:"vue-cli-service build --target lib --formats umd-min --dest lib ./src/index.ts",lint:"vue-cli-service lint","test:unit":"vue-cli-service test:unit"},files:["lib","types","README.md"],dependencies:{"compare-versions":"^3.4.0","core-js":"^2.6.5",vue:"^2.6.6","vue-class-component":"^6.0.0","vue-property-decorator":"^8.0.0",vuex:"^3.0.1"},devDependencies:{"@types/jest":"^23.1.4","@vue/cli-plugin-babel":"^3.5.0","@vue/cli-plugin-typescript":"^3.5.0","@vue/cli-plugin-unit-jest":"^3.5.0","@vue/cli-service":"^3.5.0","@vue/test-utils":"1.0.0-beta.29","babel-core":"7.0.0-bridge.0","node-sass":"^4.9.0","sass-loader":"^7.1.0","ts-jest":"^23.0.0",typescript:"^3.2.1","vue-template-compiler":"^2.5.21","zip-webpack-plugin":"^3.0.0"}}},9427:function(t,e,n){var i=n("63b6");i(i.S,"Object",{create:n("a159")})},"95d5":function(t,e,n){var i=n("40c3"),r=n("5168")("iterator"),a=n("481b");t.exports=n("584a").isIterable=function(t){var e=Object(t);return void 0!==e[r]||"@@iterator"in e||a.hasOwnProperty(i(e))}},"9aa9":function(t,e){e.f=Object.getOwnPropertySymbols},"9b43":function(t,e,n){var i=n("d8e8");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},"9c29":function(t,e,n){n("ec30")("Uint32",4,function(t){return function(e,n,i){return t(this,e,n,i)}})},"9c6c":function(t,e,n){var i=n("2b4c")("unscopables"),r=Array.prototype;void 0==r[i]&&n("32e9")(r,i,{}),t.exports=function(t){r[i][t]=!0}},"9def":function(t,e,n){var i=n("4588"),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"9e6a":function(t,e,n){var i=n("ec0c");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals),(0,n("499e").default)("09b0c60b",i,!0,{sourceMap:!1,shadowMode:!1})},a159:function(t,e,n){var i=n("e4ae"),r=n("7e90"),a=n("1691"),o=n("5559")("IE_PROTO"),s=function(){},c="prototype",l=function(){var t,e=n("1ec9")("iframe"),i=a.length;for(e.style.display="none",n("32fc").appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;i--;)delete l[c][a[i]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(s[c]=i(t),n=new s,s[c]=null,n[o]=t):n=l(),void 0===e?n:r(n,e)}},a1ce:function(t,e,n){var i=n("63b6"),r=n("25eb"),a=n("294c"),o=n("e692"),s="["+o+"]",c=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),u=function(t,e,n){var r={},s=a(function(){return!!o[t]()||"​…"!="​…"[t]()}),c=r[t]=s?e(h):o[t];n&&(r[n]=c),i(i.P+i.F*s,"String",r)},h=u.trim=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(l,"")),t};t.exports=u},a21f:function(t,e,n){var i=n("584a"),r=i.JSON||(i.JSON={stringify:JSON.stringify});t.exports=function(t){return r.stringify.apply(r,arguments)}},a4bb:function(t,e,n){t.exports=n("8aae")},a745:function(t,e,n){t.exports=n("f410")},ac6a:function(t,e,n){for(var i=n("cadf"),r=n("0d58"),a=n("2aba"),o=n("7726"),s=n("32e9"),c=n("84f2"),l=n("2b4c"),u=l("iterator"),h=l("toStringTag"),d=c.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},v=r(f),p=0;p<v.length;p++){var g,w=v[p],m=f[w],y=o[w],b=y&&y.prototype;if(b&&(b[u]||s(b,u,d),b[h]||s(b,h,w),c[w]=d,m))for(g in i)b[g]||a(b,g,i[g],!0)}},aebd:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},b0c5:function(t,e,n){"use strict";var i=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},b0dc:function(t,e,n){var i=n("e4ae");t.exports=function(t,e,n,r){try{return r?e(i(n)[0],n[1]):e(n)}catch(e){var a=t.return;throw void 0!==a&&i(a.call(t)),e}}},b447:function(t,e,n){var i=n("3a38"),r=Math.min;t.exports=function(t){return t>0?r(i(t),9007199254740991):0}},b697:function(t,e,n){var i,r,a;r=[],void 0===(a="function"==typeof(i=function(){var t=/^v?(?:\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+))?(?:-[\da-z\-]+(?:\.[\da-z\-]+)*)?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i;function e(t){var e=t.replace(/^v/,"").replace(/\+.*$/,""),n=function(t,e){return-1===t.indexOf(e)?t.length:t.indexOf(e)}(e,"-"),i=e.substring(0,n).split(".");return i.push(e.substring(n+1)),i}function n(t){return isNaN(Number(t))?t:Number(t)}function i(e){if("string"!=typeof e)throw new TypeError("Invalid argument expected string");if(!t.test(e))throw new Error("Invalid argument not valid semver ('"+e+"' received)")}return function(t,r){[t,r].forEach(i);for(var a=e(t),o=e(r),s=0;s<Math.max(a.length-1,o.length-1);s++){var c=parseInt(a[s]||0,10),l=parseInt(o[s]||0,10);if(c>l)return 1;if(l>c)return-1}var u=a[a.length-1],h=o[o.length-1];if(u&&h){var d=u.split(".").map(n),f=h.split(".").map(n);for(s=0;s<Math.max(d.length,f.length);s++){if(void 0===d[s]||"string"==typeof f[s]&&"number"==typeof d[s])return-1;if(void 0===f[s]||"string"==typeof d[s]&&"number"==typeof f[s])return 1;if(d[s]>f[s])return 1;if(f[s]>d[s])return-1}}else if(u||h)return u?-1:1;return 0}})?i.apply(e,r):i)||(t.exports=a)},b8e3:function(t,e){t.exports=!0},b9e9:function(t,e,n){n("7445"),t.exports=n("584a").parseInt},ba92:function(t,e,n){"use strict";var i=n("4bf8"),r=n("77f1"),a=n("9def");t.exports=[].copyWithin||function(t,e){var n=i(this),o=a(n.length),s=r(t,o),c=r(e,o),l=arguments.length>2?arguments[2]:void 0,u=Math.min((void 0===l?o:r(l,o))-c,o-s),h=1;for(c<s&&s<c+u&&(h=-1,c+=u-1,s+=u-1);u-- >0;)c in n?n[s]=n[c]:delete n[s],s+=h,c+=h;return n}},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},bf0b:function(t,e,n){var i=n("355d"),r=n("aebd"),a=n("36c3"),o=n("1bc3"),s=n("07e3"),c=n("794b"),l=Object.getOwnPropertyDescriptor;e.f=n("8e60")?l:function(t,e){if(t=a(t),e=o(e,!0),c)try{return l(t,e)}catch(t){}if(s(t,e))return r(!i.f.call(t,e),t[e])}},bf90:function(t,e,n){var i=n("36c3"),r=n("bf0b").f;n("ce7e")("getOwnPropertyDescriptor",function(){return function(t,e){return r(i(t),e)}})},c207:function(t,e){},c366:function(t,e,n){var i=n("6821"),r=n("9def"),a=n("77f1");t.exports=function(t){return function(e,n,o){var s,c=i(e),l=r(c.length),u=a(o,l);if(t&&n!=n){for(;l>u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}}},c367:function(t,e,n){"use strict";var i=n("8436"),r=n("50ed"),a=n("481b"),o=n("36c3");t.exports=n("30f1")(Array,"Array",function(t,e){this._t=o(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),a.Arguments=a.Array,i("keys"),i("values"),i("entries")},c3a1:function(t,e,n){var i=n("e6f3"),r=n("1691");t.exports=Object.keys||function(t){return i(t,r)}},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")(function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a})},c89a:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){return t&&"object"==typeof t&&"default"in t?t.default:t}(n("8bbf")),r="undefined"!=typeof Reflect&&Reflect.defineMetadata&&Reflect.getOwnMetadataKeys;function a(t,e){o(t,e),Object.getOwnPropertyNames(e.prototype).forEach(function(n){o(t.prototype,e.prototype,n)}),Object.getOwnPropertyNames(e).forEach(function(n){o(t,e,n)})}function o(t,e,n){(n?Reflect.getOwnMetadataKeys(e,n):Reflect.getOwnMetadataKeys(e)).forEach(function(i){var r=n?Reflect.getOwnMetadata(i,e,n):Reflect.getOwnMetadata(i,e);n?Reflect.defineMetadata(i,r,t,n):Reflect.defineMetadata(i,r,t)})}var s={__proto__:[]}instanceof Array;var c=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];function l(t,e){void 0===e&&(e={}),e.name=e.name||t._componentTag||t.name;var n=t.prototype;Object.getOwnPropertyNames(n).forEach(function(t){if("constructor"!==t)if(c.indexOf(t)>-1)e[t]=n[t];else{var i=Object.getOwnPropertyDescriptor(n,t);void 0!==i.value?"function"==typeof i.value?(e.methods||(e.methods={}))[t]=i.value:(e.mixins||(e.mixins=[])).push({data:function(){var e;return(e={})[t]=i.value,e}}):(i.get||i.set)&&((e.computed||(e.computed={}))[t]={get:i.get,set:i.set})}}),(e.mixins||(e.mixins=[])).push({data:function(){return function(t,e){var n=e.prototype._init;e.prototype._init=function(){var e=this,n=Object.getOwnPropertyNames(t);if(t.$options.props)for(var i in t.$options.props)t.hasOwnProperty(i)||n.push(i);n.forEach(function(n){"_"!==n.charAt(0)&&Object.defineProperty(e,n,{get:function(){return t[n]},set:function(e){t[n]=e},configurable:!0})})};var i=new e;e.prototype._init=n;var r={};return Object.keys(i).forEach(function(t){void 0!==i[t]&&(r[t]=i[t])}),r}(this,t)}});var o=t.__decorators__;o&&(o.forEach(function(t){return t(e)}),delete t.__decorators__);var s=Object.getPrototypeOf(t.prototype),l=s instanceof i?s.constructor:i,u=l.extend(e);return h(u,t,l),r&&a(u,t),u}var u={prototype:!0,arguments:!0,callee:!0,caller:!0};function h(t,e,n){Object.getOwnPropertyNames(e).forEach(function(i){if(!u[i]){var r=Object.getOwnPropertyDescriptor(t,i);if(!r||r.configurable){var a=Object.getOwnPropertyDescriptor(e,i);if(!s){if("cid"===i)return;var o=Object.getOwnPropertyDescriptor(n,i);if(!function(t){var e=typeof t;return null==t||"object"!==e&&"function"!==e}(a.value)&&o&&o.value===a.value)return}Object.defineProperty(t,i,a)}}})}function d(t){return"function"==typeof t?l(t):function(e){return l(e,t)}}d.registerHooks=function(t){c.push.apply(c,t)},e.default=d,e.createDecorator=function(t){return function(e,n,i){var r="function"==typeof e?e:e.constructor;r.__decorators__||(r.__decorators__=[]),"number"!=typeof i&&(i=void 0),r.__decorators__.push(function(e){return t(e,n,i)})}},e.mixins=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return i.extend({mixins:t})}},c8bb:function(t,e,n){t.exports=n("54a1")},ca5a:function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},cadf:function(t,e,n){"use strict";var i=n("9c6c"),r=n("d53b"),a=n("84f2"),o=n("6821");t.exports=n("01f9")(Array,"Array",function(t,e){this._t=o(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),a.Arguments=a.Array,i("keys"),i("values"),i("entries")},cb7c:function(t,e,n){var i=n("d3f4");t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},ccb9:function(t,e,n){e.f=n("5168")},cd1c:function(t,e,n){var i=n("e853");t.exports=function(t,e){return new(i(t))(e)}},ce10:function(t,e,n){var i=n("69a8"),r=n("6821"),a=n("c366")(!1),o=n("613b")("IE_PROTO");t.exports=function(t,e){var n,s=r(t),c=0,l=[];for(n in s)n!=o&&i(s,n)&&l.push(n);for(;e.length>c;)i(s,n=e[c++])&&(~a(l,n)||l.push(n));return l}},ce7e:function(t,e,n){var i=n("63b6"),r=n("584a"),a=n("294c");t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],o={};o[t]=e(n),i(i.S+i.F*a(function(){n(1)}),"Object",o)}},d2d5:function(t,e,n){n("1654"),n("549b"),t.exports=n("584a").Array.from},d3f4:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d864:function(t,e,n){var i=n("79aa");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},d8d6:function(t,e,n){n("1654"),n("6c1c"),t.exports=n("ccb9").f("iterator")},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},d9f6:function(t,e,n){var i=n("e4ae"),r=n("794b"),a=n("1bc3"),o=Object.defineProperty;e.f=n("8e60")?Object.defineProperty:function(t,e,n){if(i(t),e=a(e,!0),i(n),r)try{return o(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},dbdb:function(t,e,n){var i=n("584a"),r=n("e53d"),a="__core-js_shared__",o=r[a]||(r[a]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n("b8e3")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},dc62:function(t,e,n){n("9427");var i=n("584a").Object;t.exports=function(t,e){return i.create(t,e)}},dcbc:function(t,e,n){var i=n("2aba");t.exports=function(t,e,n){for(var r in e)i(t,r,e[r],n);return t}},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e265:function(t,e,n){t.exports=n("ed33")},e4ae:function(t,e,n){var i=n("f772");t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},e53d:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},e692:function(t,e){t.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},e6f3:function(t,e,n){var i=n("07e3"),r=n("36c3"),a=n("5b4e")(!1),o=n("5559")("IE_PROTO");t.exports=function(t,e){var n,s=r(t),c=0,l=[];for(n in s)n!=o&&i(s,n)&&l.push(n);for(;e.length>c;)i(s,n=e[c++])&&(~a(l,n)||l.push(n));return l}},e814:function(t,e,n){t.exports=n("b9e9")},e853:function(t,e,n){var i=n("d3f4"),r=n("1169"),a=n("2b4c")("species");t.exports=function(t){var e;return r(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!r(e.prototype)||(e=void 0),i(e)&&(null===(e=e[a])&&(e=void 0))),void 0===e?Array:e}},ead6:function(t,e,n){var i=n("f772"),r=n("e4ae"),a=function(t,e){if(r(t),!i(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,i){try{(i=n("d864")(Function.call,n("bf0b").f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return a(t,n),e?t.__proto__=n:i(t,n),t}}({},!1):void 0),check:a}},ebd6:function(t,e,n){var i=n("cb7c"),r=n("d8e8"),a=n("2b4c")("species");t.exports=function(t,e){var n,o=i(t).constructor;return void 0===o||void 0==(n=i(o)[a])?e:r(n)}},ebfd:function(t,e,n){var i=n("62a0")("meta"),r=n("f772"),a=n("07e3"),o=n("d9f6").f,s=0,c=Object.isExtensible||function(){return!0},l=!n("294c")(function(){return c(Object.preventExtensions({}))}),u=function(t){o(t,i,{value:{i:"O"+ ++s,w:{}}})},h=t.exports={KEY:i,NEED:!1,fastKey:function(t,e){if(!r(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!a(t,i)){if(!c(t))return"F";if(!e)return"E";u(t)}return t[i].i},getWeak:function(t,e){if(!a(t,i)){if(!c(t))return!0;if(!e)return!1;u(t)}return t[i].w},onFreeze:function(t){return l&&h.NEED&&c(t)&&!a(t,i)&&u(t),t}}},ec0c:function(t,e,n){(t.exports=n("2350")(!1)).push([t.i,"@-webkit-keyframes vatblink{0%{opacity:1}50%{opacity:.4}to{opacity:1}}@keyframes vatblink{0%{opacity:1}50%{opacity:.4}to{opacity:1}}.vatlive{width:100%;height:100%;background-color:#081b2a;border-color:#000;border-width:2px;padding:0;overflow:hidden}.vatlive,.vatlive *,.vatlive>table{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.vatlive>table{width:100%;height:100%;border:1px solid #364a63;background-color:#081b2a;table-layout:fixed;word-break:break-all;padding:0;border-collapse:separate}.vatlive>table>tr{padding:0;vertical-align:top}.vatlive>table>tr>td{border:1px solid #364a63;background-color:#1b1b1b;overflow-x:hidden;overflow-y:hidden;padding:0;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.vatlive>table>tr>td[max=true]{border:none}.vatlive>table>tr>td:hover{border:1px solid #4e408f}.vatlive>table>tr>td.selected{border:1px solid #bd1c1c}.vatlive>table>tr>td .vatwin{width:100%;height:100%;border:none;position:relative;vertical-align:middle;text-align:center;padding:0}.vatlive>table>tr>td .vatwin .drag-layer{z-index:100;position:absolute;margin:0;padding:0;left:0;top:0;right:0;bottom:0;background-color:rgba(0,0,0,.001)}.vatlive>table>tr>td .vatwin .drag-hover{border:1px solid #137c1c}.vatlive>table>tr>td .vatwin .vatrender{position:absolute;border:none;z-index:50;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.vatlive>table>tr>td .vatwin .vat-record{z-index:51;border:none;position:absolute;background:url(\"data:image/svg+xml;charset=utf-8,%3Csvg class='icon' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M704 434.496l131.795-131.789a38.4 38.4 0 0 1 65.549 27.155v388.48a38.4 38.4 0 0 1-65.549 27.15L704 613.701V729.6a38.4 38.4 0 0 1-38.4 38.4H166.4a38.4 38.4 0 0 1-38.4-38.4v-384a38.4 38.4 0 0 1 38.4-38.4h499.2a38.4 38.4 0 0 1 38.4 38.4v88.896zM281.6 524.8c42.413 0 76.8-34.387 76.8-76.8s-34.387-76.8-76.8-76.8-76.8 34.387-76.8 76.8 34.387 76.8 76.8 76.8z' fill='%23d81e06'/%3E%3C/svg%3E\");opacity:.8;width:32px;height:32px;top:12px;right:10px;animation:vatblink 2.2s infinite;-moz-animation:vatblink 2.2s infinite;-webkit-animation:vatblink 2.2s infinite;-o-animation:vatblink 2.2s infinite}.vatlive>table>tr>td .vatwin .vat-tool{position:absolute;display:block;border:1px solid rgba(3,88,109,.1);border-radius:3px;bottom:0;width:100%;height:auto;visibility:hidden;background:rgba(54,74,99,.3);opacity:0;z-index:110;text-align:center;-webkit-transition:visibility 0s linear .33s,opacity .33s linear;transition:visibility 0s linear .33s,opacity .33s linear;overflow:hidden}.vatlive>table>tr>td .vatwin .vat-tool a{width:28px;height:28px;margin-left:5px;margin-right:5px;background-size:cover;background-repeat:no-repeat;-webkit-transition:all .3s;transition:all .3s;display:inline-block}.vatlive>table>tr>td .vatwin .vat-tool a:hover{-webkit-transform:scale(1.2);transform:scale(1.2)}.vatlive>table>tr>td .vatwin .vat-tool a:active{-webkit-transform:scale(1);transform:scale(1)}.vatlive>table>tr>td .vatwin .vat-tool svg path{fill:#1296db}.vatlive>table>tr>td .vatwin .vat-tool svg:hover path{fill:#42b7f7}.vatlive>table>tr>td .vatwin:hover .vat-tool{visibility:visible;opacity:.8;-webkit-transition-delay:0s;transition-delay:0s}.vatlive>table>tr>td .vatwin .vat-title{position:absolute;display:block;top:0;width:100%;height:16px;z-index:55;background:#0a1522;border:1px solid #050524}.vatlive>table>tr>td .vatwin .vat-title .state{position:absolute;left:0;display:inline-block;width:16px;height:16px;background-size:cover;-webkit-background-size:cover;-moz-background-size:cover}.vatlive>table>tr>td .vatwin .vat-title .vat-name{position:absolute;left:32px;height:100%;display:inline-block;color:#39aea6;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vatlive>table>tr>td .vatwin .vat-title .vat-speed{position:absolute;right:5px;height:100%;display:inline-block;color:#28312e;font-size:12px;margin-top:1px;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.vatlive>table>tr>td .vatwin .vat-error{z-index:51;display:block;position:absolute;border:none;background:rgba(0,0,0,.4);font-size:18px;width:100%;height:100%}.vatlive>table>tr>td .vatwin .vat-error>table{width:100%;height:100%;background:transparent}.vatlive>table>tr>td .vatwin .vat-error>table td{opacity:.8;color:red;text-align:center}.vatlive>table>tr>td .vatwin .vat-roi-draw{z-index:102;position:absolute;margin:0;padding:0;left:0;top:0;right:0;bottom:0;border:none}.vatlive>table>tr>td .vatwin .vat-roi-view{z-index:99;position:absolute;margin:0;padding:0;left:0;top:0;right:0;bottom:0;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.vatlive>table>tr>td .vatwin .vat-roi-menu{z-index:120;position:absolute;background-color:#f0f;border:2px solid #1c4480;cursor:pointer;padding:0}.vatlive>table>tr>td .vatwin .vat-roi-menu li{height:25px;border:1px solid rgba(12,74,110,.877);color:#cccbcb;text-align:center;background:rgba(10,54,95,.877);list-style-type:none;padding:2px 5px 2px 5px;font-size:14px;overflow:hidden;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.vatlive>table>tr>td .vatwin .vat-roi-menu li:hover{border:1px solid rgba(22,105,153,.877);background:rgba(21,101,177,.877)}.vatlive>table>tr>td .vatwin .vat-face{z-index:98;position:absolute;margin:0;padding:0;left:0;top:0;right:0;bottom:0}.vatlive>table>tr>td .vat-down{background:url(\"data:image/svg+xml;charset=utf-8,%3Csvg class='icon' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cpath d='M128 806.4h768V896H128v-89.6zM732.288 528l-176.5 186.138c-10.95 11.206-26.412 18.49-43.788 18.49s-32.832-7.284-43.603-18.606l-176.87-185.888c-9.23-10.022-15.111-22.97-15.111-37.324 0-30.816 26.38-55.802 58.9-55.802.454 0 .895.058 1.343.07v-.352h116.435V297.94c0-30.835 26.388-55.82 58.9-55.82 32.53 0 58.905 24.979 58.905 55.82v136.787h114.285v.448c1.165-.064 2.31-.179 3.5-.179 32.526 0 58.9 24.992 58.9 55.815.006 14.355-5.882 27.296-15.296 37.19zM416 128h192v324.8H416V128z' fill='%231bb90a'/%3E%3C/svg%3E\");padding-left:32px;height:32px;display:inline-block;cursor:pointer;background-repeat:no-repeat}.vatlive>table>tr>td .vat-down span{display:table-cell;vertical-align:middle;height:32px}.vatlive .check_error{width:100%;height:100%;text-align:center;vertical-align:middle;font-size:20px;color:red}.vatlive .check_error a:link,.vatlive .check_error a:visited{color:red}.vatlive .check_error a:hover{color:#f0f}.vatlive .check_error a:active{color:#00f}.vatlive-dark>table{border:1px solid #364a63;background-color:#081b2a}.vatlive-dark>table>tr>td{border:1px solid #364a63;background-color:#1b1b1b}.vatlive-dark>table>tr>td:hover{border:1px solid #4e408f}.vatlive-dark>table>tr>td.selected{border:1px solid #bd1c1c}.vatlive-dark>table>tr>td .vatwin .drag-hover{border:1px solid #137c1c}.vatlive-dark>table>tr>td .vatwin .vat-tool{border:1px solid rgba(3,88,109,.1);background:rgba(54,74,99,.3)}.vatlive-dark>table>tr>td .vatwin .vat-tool svg path{fill:#1296db}.vatlive-dark>table>tr>td .vatwin .vat-tool svg:hover path{fill:#42b7f7}.vatlive-dark>table>tr>td .vatwin .vat-title{background:#0a1522;border:1px solid #050524}.vatlive-dark>table>tr>td .vatwin .vat-title .vat-name{color:#39aea6}.vatlive-dark>table>tr>td .vatwin .vat-title .vat-speed{color:#b9bcbb}.vatlive-dark>table>tr>td .vatwin .vat-error{background:rgba(0,0,0,.4)}.vatlive-dark>table>tr>td .vatwin .vat-error>table td{color:red}.vatlive-dark>table>tr>td .vatwin .vat-roi-menu{background-color:#f0f;border:2px solid #1c4480}.vatlive-dark>table>tr>td .vatwin .vat-roi-menu li{border:1px solid rgba(12,74,110,.877);color:#cccbcb;background:rgba(10,54,95,.877)}.vatlive-dark>table>tr>td .vatwin .vat-roi-menu li:hover{border:1px solid rgba(22,105,153,.877);background:rgba(21,101,177,.877)}.vatlive-dark .check_error,.vatlive-dark .check_error a:link,.vatlive-dark .check_error a:visited{color:red}.vatlive-dark .check_error a:hover{color:#f0f}.vatlive-dark .check_error a:active{color:#00f}.vatlive-red>table{border:1px solid #220f0f;background-color:#421602}.vatlive-red>table>tr>td{border:1px solid #ac0358;background-color:#241313}.vatlive-red>table>tr>td:hover{border:1px solid #4e408f}.vatlive-red>table>tr>td.selected{border:1px solid #6003ac}.vatlive-red>table>tr>td .vatwin .drag-hover{border:1px solid #7801bd}.vatlive-red>table>tr>td .vatwin .vat-tool{border:1px solid rgba(241,111,111,.1);background:rgba(233,132,140,.1)}.vatlive-red>table>tr>td .vatwin .vat-tool svg path{fill:#ff30c1}.vatlive-red>table>tr>td .vatwin .vat-tool svg:hover path{fill:#f75bd0}.vatlive-red>table>tr>td .vatwin .vat-title{background:#410808;border:1px solid #520606}.vatlive-red>table>tr>td .vatwin .vat-title .vat-name{color:#d4af09}.vatlive-red>table>tr>td .vatwin .vat-title .vat-speed{color:#b9bcbb}.vatlive-red>table>tr>td .vatwin .vat-error{background:rgba(0,0,0,.4)}.vatlive-red>table>tr>td .vatwin .vat-error>table td{color:red}.vatlive-red>table>tr>td .vatwin .vat-roi-menu{background-color:#f0f;border:2px solid #5a041e}.vatlive-red>table>tr>td .vatwin .vat-roi-menu li{border:1px solid rgba(141,15,88,.877);color:#cccbcb;background:rgba(66,4,56,.877)}.vatlive-red>table>tr>td .vatwin .vat-roi-menu li:hover{border:1px solid rgba(153,22,114,.877);background:rgba(141,16,110,.877)}.vatlive-red .check_error,.vatlive-red .check_error a:link,.vatlive-red .check_error a:visited{color:red}.vatlive-red .check_error a:hover{color:#f0f}.vatlive-red .check_error a:active{color:#00f}.vatlive-blue>table{border:1px solid #0f1322;background-color:#34495c}.vatlive-blue>table>tr>td{border:1px solid #141f38;background-color:#081b2a}.vatlive-blue>table>tr>td:hover{border:1px solid #2a1588}.vatlive-blue>table>tr>td.selected{border:1px solid #810707}.vatlive-blue>table>tr>td .vatwin .drag-hover{border:1px solid #01851e}.vatlive-blue>table>tr>td .vatwin .vat-tool{border:1px solid rgba(50,53,235,.1);background:rgba(3,47,167,.1)}.vatlive-blue>table>tr>td .vatwin .vat-tool svg path{fill:#3a5cf3}.vatlive-blue>table>tr>td .vatwin .vat-tool svg:hover path{fill:#6c86f8}.vatlive-blue>table>tr>td .vatwin .vat-title{background:#02134b;border:1px solid #05133a}.vatlive-blue>table>tr>td .vatwin .vat-title .vat-name{color:#a7a7a7}.vatlive-blue>table>tr>td .vatwin .vat-title .vat-speed{color:#b9bcbb}.vatlive-blue>table>tr>td .vatwin .vat-error{background:#081b2a}.vatlive-blue>table>tr>td .vatwin .vat-error>table td{color:red}.vatlive-blue>table>tr>td .vatwin .vat-roi-menu{background-color:#0f378d;border:2px solid #160479}.vatlive-blue>table>tr>td .vatwin .vat-roi-menu li{border:1px solid rgba(14,25,75,.877);color:#cccbcb;background:rgba(3,39,94,.877)}.vatlive-blue>table>tr>td .vatwin .vat-roi-menu li:hover{border:1px solid rgba(2,105,25,.877);background:rgba(39,133,30,.877)}.vatlive-blue .check_error,.vatlive-blue .check_error a:link,.vatlive-blue .check_error a:visited{color:red}.vatlive-blue .check_error a:hover{color:#f0f}.vatlive-blue .check_error a:active{color:#00f}",""])},ec30:function(t,e,n){"use strict";if(n("9e1e")){var i=n("2d00"),r=n("7726"),a=n("79e5"),o=n("5ca1"),s=n("0f88"),c=n("ed0b"),l=n("9b43"),u=n("f605"),h=n("4630"),d=n("32e9"),f=n("dcbc"),v=n("4588"),p=n("9def"),g=n("09fa"),w=n("77f1"),m=n("6a99"),y=n("69a8"),b=n("23c6"),x=n("d3f4"),k=n("4bf8"),S=n("33a4"),_=n("2aeb"),E=n("38fd"),C=n("9093").f,O=n("27ee"),R=n("ca5a"),T=n("2b4c"),L=n("0a49"),A=n("c366"),D=n("ebd6"),I=n("cadf"),M=n("84f2"),P=n("5cc5"),N=n("7a56"),W=n("36bd"),F=n("ba92"),U=n("86cc"),j=n("11e9"),B=U.f,z=j.f,H=r.RangeError,V=r.TypeError,G=r.Uint8Array,$="ArrayBuffer",q="Shared"+$,Q="BYTES_PER_ELEMENT",Y="prototype",Z=Array[Y],J=c.ArrayBuffer,X=c.DataView,K=L(0),tt=L(2),et=L(3),nt=L(4),it=L(5),rt=L(6),at=A(!0),ot=A(!1),st=I.values,ct=I.keys,lt=I.entries,ut=Z.lastIndexOf,ht=Z.reduce,dt=Z.reduceRight,ft=Z.join,vt=Z.sort,pt=Z.slice,gt=Z.toString,wt=Z.toLocaleString,mt=T("iterator"),yt=T("toStringTag"),bt=R("typed_constructor"),xt=R("def_constructor"),kt=s.CONSTR,St=s.TYPED,_t=s.VIEW,Et="Wrong length!",Ct=L(1,function(t,e){return At(D(t,t[xt]),e)}),Ot=a(function(){return 1===new G(new Uint16Array([1]).buffer)[0]}),Rt=!!G&&!!G[Y].set&&a(function(){new G(1).set({})}),Tt=function(t,e){var n=v(t);if(n<0||n%e)throw H("Wrong offset!");return n},Lt=function(t){if(x(t)&&St in t)return t;throw V(t+" is not a typed array!")},At=function(t,e){if(!(x(t)&&bt in t))throw V("It is not a typed array constructor!");return new t(e)},Dt=function(t,e){return It(D(t,t[xt]),e)},It=function(t,e){for(var n=0,i=e.length,r=At(t,i);i>n;)r[n]=e[n++];return r},Mt=function(t,e,n){B(t,e,{get:function(){return this._d[n]}})},Pt=function(t){var e,n,i,r,a,o,s=k(t),c=arguments.length,u=c>1?arguments[1]:void 0,h=void 0!==u,d=O(s);if(void 0!=d&&!S(d)){for(o=d.call(s),i=[],e=0;!(a=o.next()).done;e++)i.push(a.value);s=i}for(h&&c>2&&(u=l(u,arguments[2],2)),e=0,n=p(s.length),r=At(this,n);n>e;e++)r[e]=h?u(s[e],e):s[e];return r},Nt=function(){for(var t=0,e=arguments.length,n=At(this,e);e>t;)n[t]=arguments[t++];return n},Wt=!!G&&a(function(){wt.call(new G(1))}),Ft=function(){return wt.apply(Wt?pt.call(Lt(this)):Lt(this),arguments)},Ut={copyWithin:function(t,e){return F.call(Lt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return nt(Lt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return W.apply(Lt(this),arguments)},filter:function(t){return Dt(this,tt(Lt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return it(Lt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return rt(Lt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){K(Lt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return ot(Lt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return at(Lt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ft.apply(Lt(this),arguments)},lastIndexOf:function(t){return ut.apply(Lt(this),arguments)},map:function(t){return Ct(Lt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return ht.apply(Lt(this),arguments)},reduceRight:function(t){return dt.apply(Lt(this),arguments)},reverse:function(){for(var t,e=this,n=Lt(e).length,i=Math.floor(n/2),r=0;r<i;)t=e[r],e[r++]=e[--n],e[n]=t;return e},some:function(t){return et(Lt(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return vt.call(Lt(this),t)},subarray:function(t,e){var n=Lt(this),i=n.length,r=w(t,i);return new(D(n,n[xt]))(n.buffer,n.byteOffset+r*n.BYTES_PER_ELEMENT,p((void 0===e?i:w(e,i))-r))}},jt=function(t,e){return Dt(this,pt.call(Lt(this),t,e))},Bt=function(t){Lt(this);var e=Tt(arguments[1],1),n=this.length,i=k(t),r=p(i.length),a=0;if(r+e>n)throw H(Et);for(;a<r;)this[e+a]=i[a++]},zt={entries:function(){return lt.call(Lt(this))},keys:function(){return ct.call(Lt(this))},values:function(){return st.call(Lt(this))}},Ht=function(t,e){return x(t)&&t[St]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},Vt=function(t,e){return Ht(t,e=m(e,!0))?h(2,t[e]):z(t,e)},Gt=function(t,e,n){return!(Ht(t,e=m(e,!0))&&x(n)&&y(n,"value"))||y(n,"get")||y(n,"set")||n.configurable||y(n,"writable")&&!n.writable||y(n,"enumerable")&&!n.enumerable?B(t,e,n):(t[e]=n.value,t)};kt||(j.f=Vt,U.f=Gt),o(o.S+o.F*!kt,"Object",{getOwnPropertyDescriptor:Vt,defineProperty:Gt}),a(function(){gt.call({})})&&(gt=wt=function(){return ft.call(this)});var $t=f({},Ut);f($t,zt),d($t,mt,zt.values),f($t,{slice:jt,set:Bt,constructor:function(){},toString:gt,toLocaleString:Ft}),Mt($t,"buffer","b"),Mt($t,"byteOffset","o"),Mt($t,"byteLength","l"),Mt($t,"length","e"),B($t,yt,{get:function(){return this[St]}}),t.exports=function(t,e,n,c){var l=t+((c=!!c)?"Clamped":"")+"Array",h="get"+t,f="set"+t,v=r[l],w=v||{},m=v&&E(v),y=!v||!s.ABV,k={},S=v&&v[Y],O=function(t,n){var i=t._d;return i.v[h](n*e+i.o,Ot)},R=function(t,n,i){var r=t._d;c&&(i=(i=Math.round(i))<0?0:i>255?255:255&i),r.v[f](n*e+r.o,i,Ot)},T=function(t,e){B(t,e,{get:function(){return O(this,e)},set:function(t){return R(this,e,t)},enumerable:!0})};y?(v=n(function(t,n,i,r){u(t,v,l,"_d");var a,o,s,c,h=0,f=0;if(x(n)){if(!(n instanceof J||(c=b(n))==$||c==q))return St in n?It(v,n):Pt.call(v,n);a=n,f=Tt(i,e);var w=n.byteLength;if(void 0===r){if(w%e)throw H(Et);if((o=w-f)<0)throw H(Et)}else if((o=p(r)*e)+f>w)throw H(Et);s=o/e}else s=g(n),a=new J(o=s*e);for(d(t,"_d",{b:a,o:f,l:o,e:s,v:new X(a)});h<s;)T(t,h++)}),S=v[Y]=_($t),d(S,"constructor",v)):a(function(){v(1)})&&a(function(){new v(-1)})&&P(function(t){new v,new v(null),new v(1.5),new v(t)},!0)||(v=n(function(t,n,i,r){var a;return u(t,v,l),x(n)?n instanceof J||(a=b(n))==$||a==q?void 0!==r?new w(n,Tt(i,e),r):void 0!==i?new w(n,Tt(i,e)):new w(n):St in n?It(v,n):Pt.call(v,n):new w(g(n))}),K(m!==Function.prototype?C(w).concat(C(m)):C(w),function(t){t in v||d(v,t,w[t])}),v[Y]=S,i||(S.constructor=v));var L=S[mt],A=!!L&&("values"==L.name||void 0==L.name),D=zt.values;d(v,bt,!0),d(S,St,l),d(S,_t,!0),d(S,xt,v),(c?new v(1)[yt]==l:yt in S)||B(S,yt,{get:function(){return l}}),k[l]=v,o(o.G+o.W+o.F*(v!=w),k),o(o.S,l,{BYTES_PER_ELEMENT:e}),o(o.S+o.F*a(function(){w.of.call(v,1)}),l,{from:Pt,of:Nt}),Q in S||d(S,Q,e),o(o.P,l,Ut),N(l),o(o.P+o.F*Rt,l,{set:Bt}),o(o.P+o.F*!A,l,zt),i||S.toString==gt||(S.toString=gt),o(o.P+o.F*a(function(){new v(1).slice()}),l,{slice:jt}),o(o.P+o.F*(a(function(){return[1,2].toLocaleString()!=new v([1,2]).toLocaleString()})||!a(function(){S.toLocaleString.call([1,2])})),l,{toLocaleString:Ft}),M[l]=A?L:D,i||A||d(S,mt,D)}}else t.exports=function(){}},ed0b:function(t,e,n){"use strict";var i=n("7726"),r=n("9e1e"),a=n("2d00"),o=n("0f88"),s=n("32e9"),c=n("dcbc"),l=n("79e5"),u=n("f605"),h=n("4588"),d=n("9def"),f=n("09fa"),v=n("9093").f,p=n("86cc").f,g=n("36bd"),w=n("7f20"),m="ArrayBuffer",y="DataView",b="prototype",x="Wrong index!",k=i[m],S=i[y],_=i.Math,E=i.RangeError,C=i.Infinity,O=k,R=_.abs,T=_.pow,L=_.floor,A=_.log,D=_.LN2,I="buffer",M="byteLength",P="byteOffset",N=r?"_b":I,W=r?"_l":M,F=r?"_o":P;function U(t,e,n){var i,r,a,o=new Array(n),s=8*n-e-1,c=(1<<s)-1,l=c>>1,u=23===e?T(2,-24)-T(2,-77):0,h=0,d=t<0||0===t&&1/t<0?1:0;for((t=R(t))!=t||t===C?(r=t!=t?1:0,i=c):(i=L(A(t)/D),t*(a=T(2,-i))<1&&(i--,a*=2),(t+=i+l>=1?u/a:u*T(2,1-l))*a>=2&&(i++,a/=2),i+l>=c?(r=0,i=c):i+l>=1?(r=(t*a-1)*T(2,e),i+=l):(r=t*T(2,l-1)*T(2,e),i=0));e>=8;o[h++]=255&r,r/=256,e-=8);for(i=i<<e|r,s+=e;s>0;o[h++]=255&i,i/=256,s-=8);return o[--h]|=128*d,o}function j(t,e,n){var i,r=8*n-e-1,a=(1<<r)-1,o=a>>1,s=r-7,c=n-1,l=t[c--],u=127&l;for(l>>=7;s>0;u=256*u+t[c],c--,s-=8);for(i=u&(1<<-s)-1,u>>=-s,s+=e;s>0;i=256*i+t[c],c--,s-=8);if(0===u)u=1-o;else{if(u===a)return i?NaN:l?-C:C;i+=T(2,e),u-=o}return(l?-1:1)*i*T(2,u-e)}function B(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function z(t){return[255&t]}function H(t){return[255&t,t>>8&255]}function V(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function G(t){return U(t,52,8)}function $(t){return U(t,23,4)}function q(t,e,n){p(t[b],e,{get:function(){return this[n]}})}function Q(t,e,n,i){var r=f(+n);if(r+e>t[W])throw E(x);var a=t[N]._b,o=r+t[F],s=a.slice(o,o+e);return i?s:s.reverse()}function Y(t,e,n,i,r,a){var o=f(+n);if(o+e>t[W])throw E(x);for(var s=t[N]._b,c=o+t[F],l=i(+r),u=0;u<e;u++)s[c+u]=l[a?u:e-u-1]}if(o.ABV){if(!l(function(){k(1)})||!l(function(){new k(-1)})||l(function(){return new k,new k(1.5),new k(NaN),k.name!=m})){for(var Z,J=(k=function(t){return u(this,k),new O(f(t))})[b]=O[b],X=v(O),K=0;X.length>K;)(Z=X[K++])in k||s(k,Z,O[Z]);a||(J.constructor=k)}var tt=new S(new k(2)),et=S[b].setInt8;tt.setInt8(0,2147483648),tt.setInt8(1,2147483649),!tt.getInt8(0)&&tt.getInt8(1)||c(S[b],{setInt8:function(t,e){et.call(this,t,e<<24>>24)},setUint8:function(t,e){et.call(this,t,e<<24>>24)}},!0)}else k=function(t){u(this,k,m);var e=f(t);this._b=g.call(new Array(e),0),this[W]=e},S=function(t,e,n){u(this,S,y),u(t,k,y);var i=t[W],r=h(e);if(r<0||r>i)throw E("Wrong offset!");if(r+(n=void 0===n?i-r:d(n))>i)throw E("Wrong length!");this[N]=t,this[F]=r,this[W]=n},r&&(q(k,M,"_l"),q(S,I,"_b"),q(S,M,"_l"),q(S,P,"_o")),c(S[b],{getInt8:function(t){return Q(this,1,t)[0]<<24>>24},getUint8:function(t){return Q(this,1,t)[0]},getInt16:function(t){var e=Q(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=Q(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return B(Q(this,4,t,arguments[1]))},getUint32:function(t){return B(Q(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return j(Q(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return j(Q(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){Y(this,1,t,z,e)},setUint8:function(t,e){Y(this,1,t,z,e)},setInt16:function(t,e){Y(this,2,t,H,e,arguments[2])},setUint16:function(t,e){Y(this,2,t,H,e,arguments[2])},setInt32:function(t,e){Y(this,4,t,V,e,arguments[2])},setUint32:function(t,e){Y(this,4,t,V,e,arguments[2])},setFloat32:function(t,e){Y(this,4,t,$,e,arguments[2])},setFloat64:function(t,e){Y(this,8,t,G,e,arguments[2])}});w(k,m),w(S,y),s(S[b],o.VIEW,!0),e[m]=k,e[y]=S},ed33:function(t,e,n){n("014b"),t.exports=n("584a").Object.getOwnPropertySymbols},f410:function(t,e,n){n("1af6"),t.exports=n("584a").Array.isArray},f499:function(t,e,n){t.exports=n("a21f")},f605:function(t,e){t.exports=function(t,e,n,i){if(!(t instanceof e)||void 0!==i&&i in t)throw TypeError(n+": incorrect invocation!");return t}},f6fd:function(t,e){!function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(i){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})}(document)},f772:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},f921:function(t,e,n){n("014b"),n("c207"),n("69d3"),n("765d"),t.exports=n("584a").Symbol},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fa99:function(t,e,n){n("0293"),t.exports=n("584a").Object.getPrototypeOf},fab2:function(t,e,n){var i=n("7726").document;t.exports=i&&i.documentElement},fb15:function(t,e,n){"use strict";var i;n.r(e),"undefined"!=typeof window&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^\/]+\.js(\?.*)?$/))&&(n.p=i[1]));var r=(n("7f7f"),n("5d73")),a=n.n(r),o=n("e814"),s=n.n(o);function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var l=n("85f2"),u=n.n(l);function h(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),u()(t,i.key,i)}}function d(t,e,n){return e&&h(t.prototype,e),n&&h(t,n),t}var f=n("5d58"),v=n.n(f),p=n("67bb"),g=n.n(p);function w(t){return(w="function"==typeof g.a&&"symbol"==typeof v.a?function(t){return typeof t}:function(t){return t&&"function"==typeof g.a&&t.constructor===g.a&&t!==g.a.prototype?"symbol":typeof t})(t)}function m(t){return(m="function"==typeof g.a&&"symbol"===w(v.a)?function(t){return w(t)}:function(t){return t&&"function"==typeof g.a&&t.constructor===g.a&&t!==g.a.prototype?"symbol":w(t)})(t)}function y(t,e){return!e||"object"!==m(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}var b=n("061b"),x=n.n(b),k=n("4d16"),S=n.n(k);function _(t){return(_=S.a?x.a:function(t){return t.__proto__||x()(t)})(t)}var E=n("4aa6"),C=n.n(E);function O(t,e){return(O=S.a||function(t,e){return t.__proto__=e,t})(t,e)}function R(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=C()(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&O(t,e)}function T(t,e,n,i){var r,a=arguments.length,o=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(o=(a<3?r(o):a>3?r(e,n,o):r(e,n))||o);return a>3&&o&&Object.defineProperty(e,n,o),o}var L=n("8bbf"),A=n.n(L),D=n("c89a"),I=n.n(D),M="undefined"!=typeof Reflect&&void 0!==Reflect.getMetadata;function P(t){return void 0===t&&(t={}),function(e,n){(function(t,e,n){M&&(Array.isArray(t)||"function"==typeof t||void 0!==t.type||(t.type=Reflect.getMetadata("design:type",e,n)))})(t,e,n),Object(D.createDecorator)(function(e,n){(e.props||(e.props={}))[n]=t})(e,n)}}var N=n("f499"),W=n.n(N),F=(n("6c7b"),n("268f")),U=n.n(F),j=n("e265"),B=n.n(j),z=n("a4bb"),H=n.n(z);function V(t,e,n){return e in t?u()(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function G(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=H()(n);"function"==typeof B.a&&(i=i.concat(B()(n).filter(function(t){return U()(n,t).enumerable}))),i.forEach(function(e){V(t,e,n[e])})}return t}n("6aa2"),n("9c29");var $=function(){function t(e){c(this,t),this._width=0,this._height=0,this._left=0,this._top=0,this.marginTop=0,this.maxWidth=0,this.maxHeight=0,this.fillWindow=!0,this.box=e,this.onResize=null,this.onReload=null,this.errorElement=null,this.errorTD=null,this.onSnapInfo=null,this.snapQueue=[],this.faceQueue=[],this.faceCanvas=document.createElement("canvas"),this.faceCanvas.classList.add("vat-face"),e.appendChild(this.faceCanvas),this.faceCtx=this.faceCanvas.getContext("2d"),this.lastFaceTime=0}return d(t,[{key:"setSnapCallback",value:function(t){this.onSnapInfo=t}},{key:"getViewWidth",value:function(){return this._width}},{key:"getViewHeight",value:function(){return this._height}},{key:"fill",value:function(t){this.fillWindow=t,this.reload()}},{key:"putData",value:function(e){var n=new Uint32Array(e,0,2);if(3774863615===n[0]&&1179258880===n[1]){var i=new DataView(e,e.byteLength-8,8);this.putJpegData(new Blob([e]),i.getFloat64(0,!0))}else if(1346457171===n[0]){var r=new DataView(e,4,48),a=r.getFloat64(0,!0),o=r.getFloat64(8,!0),s=r.getFloat32(24,!0),c=r.getUint32(28,!0),l=r.getUint32(32,!0),u=r.getUint32(36,!0),h=r.getUint32(40,!0),d=r.getUint32(44,!0),f=new Blob([new Uint8ClampedArray(e,52)]),v=URL.createObjectURL(f);setTimeout(function(){URL.revokeObjectURL(v)},t.FACE_SNAP_CACHE_TIME);var p={id:o,time:a,score:s,x:c,y:l,w:u,h:h,trackId:d,image:v,channel:0};this.snapQueue.push(p),this.snapQueue.length>t.FACE_SNAP_QUEUE_SIZE&&this.snapQueue.shift()}else n[0]}},{key:"putRect",value:function(e){0!==e.time&&(this.faceQueue.push(e),this.faceQueue.length>t.FACE_RECT_QUEUE_SIZE&&this.faceQueue.shift())}},{key:"destroy",value:function(){this.clearView(),this.clearFace(),this.box.removeChild(this.faceCanvas),this.faceCtx=null,this.onDestroy()}},{key:"adjustSize",value:function(t,e,n){this.marginTop=t,this.maxWidth=e,this.maxHeight=n;var i=0,r=0;if(0===this.getImageWidth()||this.fillWindow)r+=t,this.setElementSize(this.maxWidth,this.maxHeight,i,r),this.setFaceLayerSize(this.maxWidth,this.maxHeight,i,r),this._width=this.maxWidth,this._height=this.maxHeight;else{var a=Math.min(this.maxWidth/this.getImageWidth(),this.maxHeight/this.getImageHeight()),o=this.getImageWidth()*a,s=this.getImageHeight()*a;i=(this.maxWidth-o)/2,r=(this.maxHeight-s)/2+t,this.setElementSize(o,s,i,r),this.setFaceLayerSize(o,s,i,r),this._width=o,this._height=s}this._left=i,this._top=r,null!=this.onResize&&this.onResize(this._left,this._top,this._width,this._height,this.getImageWidth(),this.getImageHeight())}},{key:"showError",value:function(t){null!==t&&""!==t?(this.clearView(),null==this.errorElement&&this.createErrorElement(),this.errorTD&&(this.errorTD.innerText=t)):null!=this.errorElement&&(this.box.removeChild(this.errorElement),this.errorElement=null,this.errorTD=null,this.restoreView(),this.reload())}},{key:"reload",value:function(){this.adjustSize(this.marginTop,this.maxWidth,this.maxHeight),null!==this.onReload&&this.onReload()}},{key:"drawFaces",value:function(t,e){var n=this.faceCanvas.width/1920,i=this.faceCanvas.height/1080;t.strokeStyle="rgba(65,255,244,0.5)",t.lineWidth=1;for(var r=0;r<e.length;r+=4)e[r]*=n,e[r+1]*=i,e[r+2]*=n,e[r+3]*=i,t.strokeRect(e[r],e[r+1],e[r+2],e[r+3]);t.strokeStyle="rgba(65,255,244,0.8)",t.lineWidth=2,t.beginPath();for(var a=0;a<e.length;a+=4){var o=e[a],s=e[a+1],c=e[a+2],l=e[a+3],u=Math.min(c,l)/5,h=o+c,d=s+l;t.moveTo(o,s+u),t.lineTo(o,s),t.lineTo(o+u,s),t.moveTo(h-u,s),t.lineTo(h,s),t.lineTo(h,s+u),t.moveTo(h,d-u),t.lineTo(h,d),t.lineTo(h-u,d),t.moveTo(o+u,d),t.lineTo(o,d),t.lineTo(o,d-u)}t.stroke(),t.closePath()}},{key:"clearFace",value:function(){for(this.faceCtx&&this.faceCtx.clearRect(0,0,this.faceCanvas.width,this.faceCanvas.height);this.faceQueue.length>0;)this.faceQueue.pop()}},{key:"dumpFaceRects",value:function(t){if(this.faceCtx){this.faceCtx.clearRect(0,0,this.faceCanvas.width,this.faceCanvas.height);for(var e=-1,n=0;n<this.faceQueue.length&&this.faceQueue[n].time<t;n++)e=n;if(e>=0)for(this.faceCtx&&(this.faceCtx.clearRect(0,0,this.faceCanvas.width,this.faceCanvas.height),this.drawFaces(this.faceCtx,this.faceQueue[e].arr),this.lastFaceTime=performance.now());e>=0;)this.faceQueue.shift(),e-=1;else this.lastFaceTime>0&&performance.now()-this.lastFaceTime>150&&(this.lastFaceTime=0,this.faceCtx&&this.faceCtx.clearRect(0,0,this.faceCanvas.width,this.faceCanvas.height))}}},{key:"dumpSnapNotify",value:function(t){for(;this.snapQueue.length>0;){var e=t-this.snapQueue[0].time;if(e<0)break;e>4e3&&this.snapQueue.shift(),this.onSnapInfo&&this.onSnapInfo(this.snapQueue[0]),this.snapQueue.shift()}}},{key:"setFaceLayerSize",value:function(t,e,n,i){this.faceCanvas.width=t,this.faceCanvas.height=e,this.faceCanvas.style.top="".concat(i,"px"),this.faceCanvas.style.left="".concat(n,"px")}},{key:"createErrorElement",value:function(){this.errorElement=document.createElement("div"),this.errorElement.classList.add("vat-error");var t=document.createElement("table"),e=document.createElement("tr"),n=document.createElement("td");e.appendChild(n),t.appendChild(e),this.errorElement.appendChild(t),this.errorTD=n,this.box.appendChild(this.errorElement)}}]),t}();$.FACE_RECT_QUEUE_SIZE=100,$.FACE_SNAP_QUEUE_SIZE=80,$.FACE_SNAP_CACHE_TIME=5e3;var q=function(t){function e(t){var n;return c(this,e),(n=y(this,_(e).call(this,t))).imageWidth=0,n.imageHeight=0,n.imageCount=0,n.imagePool=[],n.isShow=!0,n.canvas=document.createElement("canvas"),n.canvas.classList.add("vatrender"),n.ctx=n.canvas.getContext("2d"),t.appendChild(n.canvas),n}return R(e,$),d(e,[{key:"setElementSize",value:function(t,e,n,i){this.canvas.width=t,this.canvas.height=e,this.canvas.style.top="".concat(i,"px"),this.canvas.style.left="".concat(n,"px")}},{key:"getImageWidth",value:function(){return this.imageWidth}},{key:"getImageHeight",value:function(){return this.imageHeight}},{key:"setUrl",value:function(t){this.ctx&&this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height),t.length>0&&(this.isShow=!0),this.clearFace()}},{key:"clearView",value:function(){this.ctx&&this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height),this.isShow=!1,this.imageWidth=0,this.imageHeight=0,this.clearFace()}},{key:"restoreView",value:function(){this.isShow=!0}},{key:"snapshot",value:function(t,e){e&&(t.width=this.canvas.width,t.height=this.canvas.height);var n=t.getContext("2d");n&&n.drawImage(this.canvas,0,0,t.width,t.height)}},{key:"onDestroy",value:function(){this.box.removeChild(this.canvas),this.ctx=null}},{key:"putJpegData",value:function(t,n){if(this.isShow){var i=this;if(!(i.imageCount-i.imagePool.length>e.MAX_CACHE_IMAGE_COUNT))if(i.imagePool.length>0){var r=i.imagePool.shift();r.image.src=URL.createObjectURL(t),r.time=n}else{var a=new Image,o={image:a,time:n};a.onload=function(t){i.imageWidth!==a.naturalWidth&&i.imageHeight!==a.naturalHeight&&(i.imageWidth=a.naturalWidth,i.imageHeight=a.naturalHeight,i.reload()),i.ctx&&i.isShow&&(i.ctx.drawImage(a,0,0,i.canvas.width,i.canvas.height),i.dumpFaceRects(o.time),i.dumpSnapNotify(o.time)),URL.revokeObjectURL(a.src),i.imagePool.push(o)},a.onerror=function(t){a.src.length>0&&URL.revokeObjectURL(a.src),i.imagePool.push(o)},i.imageCount++,a.src=URL.createObjectURL(t)}}}},{key:"putArgbData",value:function(t,e,n){if(null!==this.ctx){var i=new ImageData(t,e,n);this.isShow&&this.ctx.putImageData(i,0,0)}}}]),e}();q.MAX_CACHE_IMAGE_COUNT=10;var Q=function(t){function e(t){var n;return c(this,e),(n=y(this,_(e).call(this,t))).img=document.createElement("img"),n.img.width=1,n.img.height=1,n.img.classList.add("vatrender"),n.img.setAttribute("alt",""),n.img.src=e.TRANSPARENT_IMG,n.img.crossOrigin="anonymous",n.img.draggable=!1,n.img.onerror=function(t){"string"!=typeof t&&(t.target.width=0)},t.appendChild(n.img),n.url="",n.firstFrame=!1,n.timer=0,n}return R(e,$),d(e,[{key:"setElementSize",value:function(t,e,n,i){this.img.width=t,this.img.height=e,this.img.style.top="".concat(i,"px"),this.img.style.left="".concat(n,"px")}},{key:"getImageWidth",value:function(){return this.img.naturalWidth}},{key:"getImageHeight",value:function(){return this.img.naturalHeight}},{key:"setUrl",value:function(t){var n=this;this.clearFaceTimer();var i=this;null==t||0===t.length?(i.img.src=e.TRANSPARENT_IMG,i.img.onload=function(t){n.firstFrame&&(i.reload(),n.firstFrame=!1)}):(this.img.src=t+"?_rand="+performance.now(),this.initFaceTimer()),this.url=t,this.clearFace(),this.firstFrame=!0}},{key:"clearView",value:function(){null!==this.url&&""!==this.url&&(this.img.src=e.TRANSPARENT_IMG),this.clearFace(),this.clearFaceTimer()}},{key:"restoreView",value:function(){null!==this.url&&""!==this.url&&this.img.src===e.TRANSPARENT_IMG&&(this.img.src=this.url+"?_rand="+performance.now(),this.initFaceTimer())}},{key:"snapshot",value:function(t,e){e&&(t.width=this.img.naturalWidth,t.height=this.img.naturalHeight);var n=t.getContext("2d");n&&n.drawImage(this.img,0,0,t.width,t.height)}},{key:"putJpegData",value:function(t,e){}},{key:"onDestroy",value:function(){this.clearFaceTimer(),this.box.removeChild(this.img)}},{key:"initFaceTimer",value:function(){var t=this;this.timer=setInterval(function(){t.dumpFaceRects(0x1000000000000000),t.dumpSnapNotify(0x1000000000000000)},100)}},{key:"clearFaceTimer",value:function(){clearInterval(this.timer),this.timer=0}}]),e}();Q.TRANSPARENT_IMG="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==";var Y=function(){function t(){c(this,t)}return d(t,null,[{key:"getSVG",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.DEFAULT_SIZE;if(!t.ALL_SVGS[e])return document.createElement("svg");var r=document.createElement("svg");r.innerHTML=t.ALL_SVGS[e],null!==n&&n.length>0&&t.setColor(r,n);var a=r.querySelector("svg");return null!==a&&(a.setAttribute("width","".concat(i)),a.setAttribute("height","".concat(i))),r}},{key:"setColor",value:function(t,e){if(e&&e.length>0){var n=!0,i=!1,r=void 0;try{for(var o,s=a()(t.getElementsByTagName("path"));!(n=(o=s.next()).done);n=!0){var c=o.value,l=c.getAttribute("fill");null!==l&&l.length>0&&c.setAttribute("fill",e)}}catch(t){i=!0,r=t}finally{try{n||null==s.return||s.return()}finally{if(i)throw r}}}}}]),t}();Y.SNAPSHOT='<svg t="1553688811386" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3995" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M901.12 227.328h-96.256c-12.288 0-23.552-7.168-28.672-19.456l-20.48-50.176c-11.264-27.648-36.864-45.056-66.56-45.056H333.824c-29.696 0-55.296 17.408-66.56 45.056l-20.48 50.176c-5.12 11.264-16.384 19.456-28.672 19.456H122.88c-39.936 0-71.68 31.744-71.68 71.68V839.68c0 39.936 31.744 71.68 71.68 71.68h778.24c39.936 0 71.68-31.744 71.68-71.68V299.008c0-38.912-31.744-71.68-71.68-71.68zM199.68 430.08C174.08 430.08 153.6 409.6 153.6 384s20.48-46.08 46.08-46.08 46.08 20.48 46.08 46.08-20.48 46.08-46.08 46.08zM512 788.48c-123.904 0-225.28-101.376-225.28-225.28s101.376-225.28 225.28-225.28 225.28 101.376 225.28 225.28-101.376 225.28-225.28 225.28z m184.32-225.28c0 101.376-82.944 184.32-184.32 184.32s-184.32-82.944-184.32-184.32 82.944-184.32 184.32-184.32 184.32 82.944 184.32 184.32z" p-id="3996" fill="#1296db"></path></svg>',Y.MAXIMIZE='<svg t="1553741182915" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6244" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M874.24 604.49792c22.29248-2.14016 42.97728-11.73504 59.2384-27.56608l0 282.50112c0 48.85504-39.76192 88.59648-88.6272 88.59648l-634.9824 0c-48.87552 0-88.63744-39.74144-88.63744-88.59648L121.23136 225.1264c0-48.85504 39.76192-88.60672 88.63744-88.60672l283.26912 0c-15.24736 15.64672-25.38496 36.29056-27.60704 59.22816L209.85856 195.74784c-16.20992 0-29.39904 13.17888-29.39904 29.37856l0 634.29632c0 16.18944 13.18912 29.36832 29.39904 29.36832l634.9824 0c16.20992 0 29.39904-13.17888 29.39904-29.36832L874.24 604.49792zM890.15296 130.44736 589.2608 130.44736c-24.53504 0-44.42112 19.88608-44.42112 44.43136 0 24.53504 19.88608 44.42112 44.42112 44.42112l191.21152 0c-1.8432 1.34144-3.6864 2.70336-5.34528 4.37248L461.6704 537.10848l0-193.6384c0-24.53504-19.88608-44.42112-44.42112-44.42112-12.26752 0-23.37792 4.95616-31.41632 13.0048-8.0384 8.05888-13.01504 19.13856-13.01504 31.41632l0 300.9024c0 24.5248 19.88608 44.42112 44.42112 44.42112L718.1312 688.7936c24.53504 0 44.42112-19.89632 44.42112-44.4416 0-24.5248-19.88608-44.42112-44.42112-44.42112L526.94016 599.93088c1.8432-1.34144 3.67616-2.70336 5.33504-4.36224l313.43616-313.4464 0 193.64864c0 24.53504 19.88608 44.42112 44.42112 44.42112 12.26752 0 23.37792-4.95616 31.41632-13.0048 8.0384-8.05888 13.01504-19.1488 13.01504-31.41632L934.56384 174.86848C934.57408 150.34368 914.67776 130.44736 890.15296 130.44736z" p-id="6245" fill="#1296db"></path></svg>',Y.ROI_RECT='<svg t="1553765768064" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="31493" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M768 910.222222c-17.066667 0-28.444444-11.377778-28.444444-28.444444s11.377778-28.444444 28.444444-28.444445H910.222222v-85.333333c0-17.066667 11.377778-28.444444 28.444445-28.444444s28.444444 11.377778 28.444444 28.444444v113.777778c0 17.066667-11.377778 28.444444-28.444444 28.444444h-170.666667zM910.222222 483.555556c0-17.066667 11.377778-28.444444 28.444445-28.444445s28.444444 11.377778 28.444444 28.444445v113.777777c0 17.066667-11.377778 28.444444-28.444444 28.444445s-28.444444-11.377778-28.444445-28.444445v-113.777777zM910.222222 227.555556h-142.222222c-17.066667 0-28.444444-11.377778-28.444444-28.444445s11.377778-28.444444 28.444444-28.444444h170.666667c17.066667 0 28.444444 11.377778 28.444444 28.444444v113.777778c0 17.066667-11.377778 28.444444-28.444444 28.444444s-28.444444-11.377778-28.444445-28.444444V227.555556zM398.222222 881.777778c0-17.066667 11.377778-28.444444 28.444445-28.444445h170.666666c17.066667 0 28.444444 11.377778 28.444445 28.444445s-11.377778 28.444444-28.444445 28.444444h-170.666666c-17.066667 0-28.444444-11.377778-28.444445-28.444444z m0-682.666667c0-17.066667 11.377778-28.444444 28.444445-28.444444h170.666666c17.066667 0 28.444444 11.377778 28.444445 28.444444s-11.377778 28.444444-28.444445 28.444445h-170.666666c-17.066667 0-28.444444-11.377778-28.444445-28.444445z m-341.333333 568.888889c0-17.066667 11.377778-28.444444 28.444444-28.444444s28.444444 11.377778 28.444445 28.444444V853.333333h142.222222c17.066667 0 28.444444 11.377778 28.444444 28.444445s-11.377778 28.444444-28.444444 28.444444h-170.666667c-17.066667 0-28.444444-11.377778-28.444444-28.444444v-113.777778z m56.888889-455.111111c0 17.066667-11.377778 28.444444-28.444445 28.444444S56.888889 329.955556 56.888889 312.888889v-113.777778c0-17.066667 11.377778-28.444444 28.444444-28.444444h170.666667c17.066667 0 28.444444 11.377778 28.444444 28.444444s-11.377778 28.444444-28.444444 28.444445H113.777778v85.333333z m0 284.444444c0 17.066667-11.377778 28.444444-28.444445 28.444445s-28.444444-11.377778-28.444444-28.444445v-113.777777c0-17.066667 11.377778-28.444444 28.444444-28.444445s28.444444 11.377778 28.444445 28.444445v113.777777z" p-id="31494" fill="#1296db"></path></svg>',Y.ROI_POLYGON='<svg t="1553766890352" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="32066" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M85.333333 85.333333 85.333333 341.333333 182.613333 341.333333 237.653333 682.666667 170.666667 682.666667 170.666667 938.666667 426.666667 938.666667 426.666667 855.893333 640 855.466667 640 938.666667 896 938.666667 896 682.666667 817.92 682.666667 853.333333 384 938.666667 384 938.666667 128 682.666667 128 682.666667 278.613333 631.466667 341.333333 409.173333 341.333333 341.333333 248.32 341.333333 85.333333M170.666667 170.666667 256 170.666667 256 256 170.666667 256M768 213.333333 853.333333 213.333333 853.333333 298.666667 768 298.666667M269.226667 341.333333 303.36 341.333333 384 451.84 384 597.333333 640 597.333333 640 465.493333 706.986667 384 768 384 732.16 682.666667 640 682.666667 640 770.56 426.666667 770.56 426.666667 682.666667 324.266667 682.666667M469.333333 426.666667 554.666667 426.666667 554.666667 512 469.333333 512M256 768 341.333333 768 341.333333 853.333333 256 853.333333M725.333333 768 810.666667 768 810.666667 853.333333 725.333333 853.333333" p-id="32067" fill="#1296db"></path></svg>',Y.SCALE_VIEW='<svg t="1553753941568" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="11856" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M722.8 774.7c9.4 9.4 21.7 14.1 34 14.1s24.6-4.7 34-14.1c18.8-18.8 18.8-49.2 0-68L642.9 558.9c27.3-45 43.1-97.8 43.1-154.2 0-164.2-133.6-297.8-297.8-297.8S90.4 240.5 90.4 404.7 224 702.5 388.2 702.5c73.1 0 140.1-26.5 192-70.4l142.6 142.6zM388.2 606.4c-111.2 0-201.7-90.5-201.7-201.7C186.5 293.5 277 203 388.2 203c111.2 0 201.7 90.5 201.7 201.7 0 111.2-90.5 201.7-201.7 201.7z" p-id="11857" fill="#1296db"></path><path d="M490.8 345.9H447v-43.8c0-32.5-26.3-58.8-58.8-58.8s-58.8 26.3-58.8 58.8v43.8h-43.8c-32.5 0-58.8 26.3-58.8 58.8s26.3 58.8 58.8 58.8h43.8v43.8c0 32.5 26.3 58.8 58.8 58.8s58.8-26.3 58.8-58.8v-43.8h43.8c32.5 0 58.8-26.3 58.8-58.8 0-32.4-26.3-58.8-58.8-58.8zM791.5 133.6H689.8v96.2h101.6c27.6 0 50 22.4 50 50V356h96.2v-76.3c0-80.5-65.5-146.1-146.1-146.1zM841.5 773.3c0 27.6-22.4 50-50 50H689.8v96.2h101.6c80.6 0 146.2-65.6 146.2-146.2V697h-96.2v76.3zM197.2 773.3V697H101v76.3c0 80.6 65.6 146.2 146.2 146.2h101.6v-96.2H247.2c-27.6 0-50-22.4-50-50z" p-id="11858" fill="#1296db"></path></svg>',Y.STOP='<svg t="1553752022557" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8879" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M511.968 73.152q119.424 0 220.288 58.848t159.712 159.712 58.848 220.288-58.848 220.288-159.712 159.712-220.288 58.848-220.288-58.848-159.712-159.712-58.848-220.288 58.848-220.288 159.712-159.712 220.288-58.848zM511.968 822.848q84.576 0 156-41.728t113.152-113.152 41.728-156-41.728-156-113.152-113.152-156-41.728-156 41.728-113.152 113.152-41.728 156 41.728 156 113.152 113.152 156 41.728zM347.392 694.848q-8 0-13.152-5.152t-5.152-13.152l0-329.152q0-8 5.152-13.152t13.152-5.152l329.152 0q8 0 13.152 5.152t5.152 13.152l0 329.152q0 8-5.152 13.152t-13.152 5.152l-329.152 0z" p-id="8880" fill="#1296db"></path></svg>',Y.STATE_GREEN='<svg t="1553826704425" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="40346" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16"><defs><style type="text/css"></style></defs><path d="M512 320a192.064 192.064 0 0 1 0 384 192 192 0 0 1 0-384z" fill="#1bb90a" p-id="40347"></path></svg>',Y.STATE_RED='<svg t="1553826704425" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="40346" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16"><defs><style type="text/css"></style></defs><path d="M512 320a192.064 192.064 0 0 1 0 384 192 192 0 0 1 0-384z" fill="#d81e06" p-id="40347"></path></svg>',Y.STATE_YELLOW='<svg t="1553826937405" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="40561" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16"><defs><style type="text/css"></style></defs><path d="M512 320a192.064 192.064 0 0 1 0 384 192 192 0 0 1 0-384z" fill="#dfc801" p-id="40562"></path></svg>',Y.VOLUME_ON='<svg t="1555494805635" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7740" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M779.946667 357.12a42.666667 42.666667 0 1 0-66.56 53.76 170.666667 170.666667 0 0 1 0 202.24A42.666667 42.666667 0 0 0 746.666667 682.666667a42.666667 42.666667 0 0 0 33.28-15.786667 256 256 0 0 0 0-309.76z" p-id="7741" fill="#1296db"></path><path d="M837.973333 223.146667a42.666667 42.666667 0 1 0-54.613333 65.706666A290.133333 290.133333 0 0 1 896 512a290.133333 290.133333 0 0 1-112.64 223.146667 42.666667 42.666667 0 0 0-5.546667 60.16A42.666667 42.666667 0 0 0 810.666667 810.666667a42.666667 42.666667 0 0 0 27.306666-9.813334A373.333333 373.333333 0 0 0 981.333333 512a373.333333 373.333333 0 0 0-143.36-288.853333zM617.386667 133.12a42.666667 42.666667 0 0 0-42.666667 0L298.666667 322.986667H85.333333a42.666667 42.666667 0 0 0-42.666666 42.666666v292.693334a42.666667 42.666667 0 0 0 42.666666 42.666666h213.333334l273.493333 187.733334A45.226667 45.226667 0 0 0 597.333333 896a42.666667 42.666667 0 0 0 42.666667-42.666667V170.666667a42.666667 42.666667 0 0 0-22.613333-37.546667z" p-id="7742" fill="#1296db"></path></svg>',Y.VOLUME_OFF='<svg t="1555494833118" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1596" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M721.493333 600.746667l61.44 61.44a256 256 0 0 0-2.986666-305.066667 42.666667 42.666667 0 1 0-66.56 53.76 170.666667 170.666667 0 0 1 8.106666 189.866667z" p-id="1597" fill="#1296db"></path><path d="M896 512a277.76 277.76 0 0 1-75.946667 187.306667l60.586667 60.586666A363.946667 363.946667 0 0 0 981.333333 512a373.333333 373.333333 0 0 0-143.36-288.853333 42.666667 42.666667 0 1 0-54.613333 65.706666A290.133333 290.133333 0 0 1 896 512zM640 519.253333V170.666667a42.666667 42.666667 0 0 0-66.986667-35.413334L384 264.533333zM202.24 322.986667H85.333333a42.666667 42.666667 0 0 0-42.666666 42.666666v292.693334a42.666667 42.666667 0 0 0 42.666666 42.666666h213.333334l273.493333 187.733334A45.226667 45.226667 0 0 0 597.333333 896a42.666667 42.666667 0 0 0 42.666667-42.666667v-92.586666zM200.96 140.373333a42.666667 42.666667 0 0 0-60.586667 60.586667l682.666667 682.666667a42.666667 42.666667 0 0 0 60.586667 0 42.666667 42.666667 0 0 0 0-60.586667z" p-id="1598" fill="#1296db"></path></svg>',Y.RECORD='<svg t="1561699691315" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1847" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32"><defs><style type="text/css"></style></defs><path d="M704 434.496l131.7952-131.7888a38.4 38.4 0 0 1 65.5488 27.1552v388.48a38.4 38.4 0 0 1-65.5488 27.1488L704 613.7024V729.6a38.4 38.4 0 0 1-38.4 38.4H166.4a38.4 38.4 0 0 1-38.4-38.4V345.6a38.4 38.4 0 0 1 38.4-38.4h499.2a38.4 38.4 0 0 1 38.4 38.4v88.896zM281.6 524.8c42.4128 0 76.8-34.3872 76.8-76.8s-34.3872-76.8-76.8-76.8-76.8 34.3872-76.8 76.8 34.3872 76.8 76.8 76.8z" fill="#d81e06" p-id="1848"></path></svg>',Y.ALL_SVGS={snapshot:Y.SNAPSHOT,maximize:Y.MAXIMIZE,"roi-rect":Y.ROI_RECT,"roi-polygon":Y.ROI_POLYGON,"scale-view":Y.SCALE_VIEW,stop:Y.STOP,"state-green":Y.STATE_GREEN,"state-red":Y.STATE_RED,"state-yellow":Y.STATE_YELLOW,"volume-on":Y.VOLUME_ON,"volume-off":Y.VOLUME_OFF,record:Y.RECORD},Y.DEFAULT_SIZE=24;var Z=function t(){c(this,t)};Z.STATE=1,Z.NAME=2,Z.SPEED=4,Z.ALL=65535;var J=function(){function t(e,n){c(this,t),this.box=e,this.stateSpan=null,this.nameSpan=null,this.speedSpan=null,this.isShow=!0,this.titleBar=document.createElement("div"),this.titleBar.classList.add("vat-title"),this.stateSpan=document.createElement("span"),this.stateSpan.classList.add("state"),this.titleBar.appendChild(this.stateSpan),this.nameSpan=document.createElement("span"),this.nameSpan.classList.add("vat-name"),this.nameSpan.innerText="未知设备",this.titleBar.appendChild(this.nameSpan),this.speedSpan=document.createElement("span"),this.speedSpan.classList.add("vat-speed"),this.speedSpan.innerText="20.5KB/s",this.titleBar.appendChild(this.speedSpan),this.box.appendChild(this.titleBar),0===n&&this.hide(),0==(n&Z.STATE)&&(this.stateSpan.style.display="none"),0==(n&Z.NAME)&&(this.nameSpan.style.display="none"),0==(n&Z.SPEED)&&(this.speedSpan.style.display="none")}return d(t,[{key:"adjustWidth",value:function(t){this.nameSpan&&(this.nameSpan.style.maxWidth="".concat(t-120,"px"))}},{key:"show",value:function(){this.isShow=!0,this.titleBar.style.display="block"}},{key:"hide",value:function(){this.isShow=!1,this.titleBar.style.display="none"}},{key:"height",value:function(){return this.isShow?this.titleBar.offsetHeight:0}},{key:"clear",value:function(){this.speedSpan&&(this.speedSpan.innerText=""),this.nameSpan&&(this.nameSpan.innerText=""),this.stateSpan&&(this.stateSpan.innerHTML="")}},{key:"setState",value:function(t){this.stateSpan&&(this.stateSpan.innerHTML="","red"===t?this.stateSpan.appendChild(Y.getSVG("state-red",null,16)):"green"===t?this.stateSpan.appendChild(Y.getSVG("state-green",null,16)):"yellow"===t&&this.stateSpan.appendChild(Y.getSVG("state-yellow",null,16)))}},{key:"setName",value:function(t){this.nameSpan&&(this.nameSpan.innerText=t,this.nameSpan.title=t)}},{key:"setSpeed",value:function(t){var e;e=t<1024?"".concat(t," B/s"):t<1048576?"".concat(Math.round(t/10.24)/100," KB/s"):"".concat(Math.round(t/10485.76)/100," MB/s"),this.speedSpan&&(this.speedSpan.innerText=e)}}]),t}();J.STATE_CLOSE="red",J.STATE_WAITTING="yellow",J.STATE_RUNNING="green";var X=n("a745"),K=n.n(X);var tt=n("774e"),et=n.n(tt),nt=n("c8bb"),it=n.n(nt);function rt(t){return function(t){if(K()(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(it()(Object(t))||"[object Arguments]"===Object.prototype.toString.call(t))return et()(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var at=function(){function t(e,n,i){var r=this;c(this,t),this.onEscape=null,this.onSave=null,this._width=0,this._height=0,this._left=0,this._top=0,this.box=e,this.drawType=t.DRAW_NONE,this.oldDiagrams=[],this.diagrams=[],this.drawingDiagram=null,this._isDrawing=!1,this.maxRoi=n,this.storeCanvas=document.createElement("canvas"),this.storeCanvas.classList.add("vat-roi-view"),this.box.appendChild(this.storeCanvas),this.canvas=document.createElement("canvas"),this.canvas.classList.add("vat-roi-draw"),this.canvas.tabIndex=0,this.box.appendChild(this.canvas),this.ctx=this.canvas.getContext("2d"),this.menu=null,this.isShowMenu=i;var a=this;this.canvas.onmousedown=function(e){var n=r.transPoint(e);if(2!==e.buttons)if(1!==e.buttons);else if(a.drawType===t.DRAW_RECT){if(a._isDrawing)return void(a._isDrawing=!1);a.drawingDiagram={points:[{x:n.x,y:n.y},{x:n.x,y:n.y}],type:a.drawType,width:r._width,height:r._height},a._isDrawing=!0}else a.drawType===t.DRAW_POLYGON&&(null===a.drawingDiagram?a.drawingDiagram={points:[{x:n.x,y:n.y}],type:a.drawType,width:r._width,height:r._height}:a.drawingDiagram.points.push({x:n.x,y:n.y}),a._isDrawing=!0)},this.canvas.onmouseup=function(e){if(a._isDrawing){var n=r.transPoint(e);if(a.drawType===t.DRAW_RECT)a.drawingDiagram&&(a.drawingDiagram.points[1].x=n.x,a.drawingDiagram.points[1].y=n.y),a._isDrawing=!1;else if(a.drawType===t.DRAW_POLYGON&&null!==a.drawingDiagram&&null!==a.ctx){a.ctx.beginPath();var i=a.drawingDiagram.points[a.drawingDiagram.points.length-1];a.ctx.moveTo(i.x,i.y),a.ctx.lineTo(n.x,n.y),a.ctx.stroke(),a.ctx.closePath()}}},this.canvas.onmousemove=function(e){if(a._isDrawing&&null!==a.drawingDiagram&&null!==a.ctx){var n=r.transPoint(e);if(a.ctx.strokeStyle="red",a.ctx.lineWidth=2,a.drawType===t.DRAW_RECT){a.ctx.clearRect(0,0,a._width,a._height);var i=a.drawingDiagram.points[0].x,o=a.drawingDiagram.points[0].y,s=n.x-i,c=n.y-o;a.ctx.strokeRect(i,o,s,c),a.drawingDiagram.points[1].x=n.x,a.drawingDiagram.points[1].y=n.y}else if(a.drawType===t.DRAW_POLYGON){var l=a.drawingDiagram.points;a.ctx.clearRect(0,0,a._width,a._height),a.ctx.beginPath(),a.ctx.moveTo(l[0].x,l[0].y);for(var u=1;u<l.length;u++)a.ctx.lineTo(l[u].x,l[u].y);a.ctx.stroke(),a.ctx.closePath(),a.ctx.beginPath(),a.ctx.strokeStyle="yellow",a.ctx.moveTo(l[0].x,l[0].y),a.ctx.lineTo(n.x,n.y),a.ctx.lineTo(l[l.length-1].x,l[l.length-1].y),a.ctx.stroke(),a.ctx.closePath()}}},this.canvas.oncontextmenu=function(t){t.preventDefault(),r.isShowMenu&&r.showMenu(t)},this.canvas.style.display="none"}return d(t,[{key:"resize",value:function(t,e,n,i){this._left=t,this._top=e,this._width=n,this._height=i,this.canvas.width=n,this.canvas.height=i,this.canvas.style.top="".concat(e,"px"),this.canvas.style.left="".concat(t,"px"),this.storeCanvas.width=n,this.storeCanvas.height=i,this.storeCanvas.style.top="".concat(e,"px"),this.storeCanvas.style.left="".concat(t,"px"),this._width>0&&this._height>0&&(this.dumpDiagrams(),this.updateDrawing())}},{key:"destroy",value:function(){this.box.removeChild(this.storeCanvas),this.box.removeChild(this.canvas)}},{key:"start",value:function(e){this.drawType=e,this.canvas.style.display="",this.ctx&&(this.ctx.textAlign="center",this.ctx.textBaseline="middle",this.ctx.strokeStyle="red",this.ctx.fillStyle="red",this.ctx.font="16px Arial",this.drawType===t.DRAW_RECT?this.ctx.fillText("开始绘制矩形...",this.canvas.width/2,this.canvas.height/2-20):this.ctx.fillText("开始绘制多边形...",this.canvas.width/2,this.canvas.height/2-20),this.ctx.font="14px Arial",this.ctx.fillStyle="#ee0000",this.isShowMenu&&this.ctx.fillText("鼠标右键更多操作",this.canvas.width/2,this.canvas.height/2+20)),this.storeCanvas.style.background="#00000088",this.oldDiagrams=rt(this.diagrams),this.canvas.focus()}},{key:"stop",value:function(){this.drawingDiagram=null,this._isDrawing=!1,this.drawType=t.DRAW_NONE,this.canvas.style.display="none",this.ctx&&this.ctx.clearRect(0,0,this._width,this._height),this.storeCanvas.style.background=""}},{key:"setROI",value:function(t){this.diagrams=t,this.oldDiagrams=rt(this.diagrams),this.dumpDiagrams()}},{key:"saveQuit",value:function(){return!!this.checkDrawing()&&(this.diagrams.length+this.drawingCount()>this.maxRoi?(this.showMsg("已达到绘图数量限制!!"),!1):(this.saveDrawing(),this.onSave&&this.onSave(this.diagrams),!0))}},{key:"isUserDrawing",value:function(){return this.drawType!==t.DRAW_NONE}},{key:"showMsg",value:function(t){this.ctx&&(this.ctx.textAlign="center",this.ctx.textBaseline="middle",this.ctx.strokeStyle="red",this.ctx.fillStyle="red",this.ctx.font="16px Arial",this.ctx.fillText(t,this.canvas.width/2,this.canvas.height/2))}},{key:"dumpDiagrams",value:function(){var e=this.diagrams,n=this.storeCanvas.getContext("2d");if(n&&(n.clearRect(0,0,this.storeCanvas.width,this.storeCanvas.height),null!==e&&0!==e.length)){var i=this.storeCanvas.width,r=this.storeCanvas.height;n.strokeStyle="red",n.lineWidth=2;var o=!0,s=!1,c=void 0;try{for(var l,u=a()(e);!(o=(l=u.next()).done);o=!0){var h=l.value,d=i/h.width,f=r/h.height;if(h.type===t.DRAW_RECT){var v=this.scalePoint(h.points[0].x,d,i),p=this.scalePoint(h.points[0].y,f,r),g=this.scalePoint(h.points[1].x,d,i)-v,w=this.scalePoint(h.points[1].y,f,r)-p;n.strokeRect(v,p,g,w)}else if(h.type===t.DRAW_POLYGON){var m=this.scalePoint(h.points[0].x,d,i),y=this.scalePoint(h.points[0].y,f,r);n.beginPath(),n.moveTo(m,y);for(var b=1;b<h.points.length;b++){var x=this.scalePoint(h.points[b].x,d,i),k=this.scalePoint(h.points[b].y,f,r);n.lineTo(x,k)}n.lineTo(m,y),n.stroke(),n.closePath()}}}catch(t){s=!0,c=t}finally{try{o||null==u.return||u.return()}finally{if(s)throw c}}}}},{key:"checkDrawing",value:function(){if(null===this.drawingDiagram)return!0;var e=!0,n=!1,i=void 0;try{for(var r,o=a()(this.drawingDiagram.points);!(e=(r=o.next()).done);e=!0){var s=r.value;s.x<0&&(s.x=0),s.y<0&&(s.y=0),s.x>this.drawingDiagram.width&&(s.x=this.drawingDiagram.width),s.y>this.drawingDiagram.height&&(s.y=this.drawingDiagram.height)}}catch(t){n=!0,i=t}finally{try{e||null==o.return||o.return()}finally{if(n)throw i}}if(this.drawingDiagram.type===t.DRAW_RECT){var c=this.drawingDiagram.points;2===c.length&&c[0].x===c[1].x&&c[0].y===c[1].y&&(this.drawingDiagram=null)}else if(this.drawingDiagram.type===t.DRAW_POLYGON&&this.drawingDiagram.points.length<3)return this.showMsg("至少需要画3个点!!"),!1;return!0}},{key:"saveDrawing",value:function(){null!=this.drawingDiagram&&(this.drawingDiagram.type===t.DRAW_RECT&&2===this.drawingDiagram.points.length?this.diagrams.push(this.drawingDiagram):this.drawingDiagram.type===t.DRAW_POLYGON&&this.drawingDiagram.points.length>2&&this.diagrams.push(this.drawingDiagram),this.drawingDiagram=null,this.dumpDiagrams())}},{key:"updateDrawing",value:function(){if(this.ctx&&(this.ctx.clearRect(0,0,this._width,this._height),null!=this.drawingDiagram)){if(this._width!==this.drawingDiagram.width||this._height!==this.drawingDiagram.height){var e=this._width/this.drawingDiagram.width,n=this._height/this.drawingDiagram.height,i=!0,r=!1,o=void 0;try{for(var s,c=a()(this.drawingDiagram.points);!(i=(s=c.next()).done);i=!0){var l=s.value;l.x=l.x*e,l.y=l.y*n}}catch(t){r=!0,o=t}finally{try{i||null==c.return||c.return()}finally{if(r)throw o}}this.drawingDiagram.width=this._width,this.drawingDiagram.height=this._height}if(this.ctx.strokeStyle="red",this.drawType===t.DRAW_RECT&&2===this.drawingDiagram.points.length){var u=this.drawingDiagram.points[0].x,h=this.drawingDiagram.points[0].y,d=this.drawingDiagram.points[1].x-u,f=this.drawingDiagram.points[1].y-h;this.ctx.strokeRect(u,h,d,f)}else if(this.drawType===t.DRAW_POLYGON&&this.drawingDiagram.points.length>=2){var v=this.drawingDiagram.points;this.ctx.beginPath(),this.ctx.moveTo(v[0].x,v[0].y);for(var p=1;p<v.length;p++)this.ctx.lineTo(v[p].x,v[p].y);this.ctx.lineTo(v[0].x,v[0].y),this.ctx.stroke(),this.ctx.closePath()}}}},{key:"showMenu",value:function(t){var e=this,n=this.transPoint(t);if(null===this.menu){this.menu=document.createElement("ul"),this.menu.classList.add("vat-roi-menu"),this.box.appendChild(this.menu);var i=this;this.menu.onmouseleave=function(t){i.menu&&(i.menu.style.display="none")},this.createMenuItem("保存&退出",function(){i.checkDrawing()&&(i.diagrams.length+i.drawingCount()>i.maxRoi?i.showMsg("已达到绘图数量限制!!"):(i.saveDrawing(),i.onSave&&i.onSave(e.diagrams)))}),this.createMenuItem("取消&退出",function(){i.diagrams=i.oldDiagrams,i.dumpDiagrams(),i.onEscape&&i.onEscape()}),this.createMenuItem("保存&继续",function(){i.checkDrawing()&&(e.diagrams.length+i.drawingCount()>e.maxRoi?i.showMsg("已达到绘图数量限制!!"):(e.saveDrawing(),e.updateDrawing()),i._isDrawing=!1)}),this.createMenuItem("擦除一个",function(){i._isDrawing=!1,null!=i.drawingDiagram?(i.drawingDiagram=null,i.ctx&&i.ctx.clearRect(0,0,i._width,i._height)):i.diagrams.length>0&&(i.diagrams.pop(),i.dumpDiagrams())}),this.createMenuItem("擦除所有",function(){i._isDrawing=!1,null!=i.drawingDiagram&&(i.drawingDiagram=null,i.ctx&&i.ctx.clearRect(0,0,i._width,i._height)),i.diagrams.length>0&&(i.diagrams=[],i.dumpDiagrams())})}this.menu.style.display="block",this.menu.style.left="".concat(n.x,"px"),this.menu.style.top="".concat(n.y,"px")}},{key:"createMenuItem",value:function(t,e){if(null!==this.menu){var n=document.createElement("li");n.innerText=t;var i=this;n.onclick=function(t){e(),i.menu&&(i.menu.style.display="none")},this.menu.appendChild(n)}}},{key:"drawingCount",value:function(){return null==this.drawingDiagram?0:this.drawingDiagram.points.length>0?1:0}},{key:"transPoint",value:function(t){var e={x:t.offsetX,y:t.offsetY};return 0===e.x&&0===e.y&&(e.x=t.layerX,e.y=t.layerY),e}},{key:"scalePoint",value:function(t,e,n){return(t*=e)<0?t=0:t>n&&(t=n),t}}]),t}();at.DRAW_NONE=0,at.DRAW_RECT=1,at.DRAW_POLYGON=2;var ot=function(){function t(){c(this,t)}return d(t,null,[{key:"parseUrl",value:function(e){return void 0===e||0===e.length?e||"":0!==e.indexOf("plive://")&&0!==e.indexOf("psub://")?e:e.indexOf("token=")>0?e:e.indexOf("?")>0?(t.token,e):e+"?token="+t.token}}]),t}(),st=function(){function t(e){c(this,t),this.callback=e,this.websocket=null,this.faceRectUrl=void 0,this.faceSnapUrl=void 0,this.faceRecgUrl=void 0,this.maxCacheTime=3e4,this.maxCacheCount=750,this.captureCacheList=[],this.captureCacheMap={}}return d(t,[{key:"setUrl",value:function(t,e,n){this.faceRectUrl=t,this.faceSnapUrl=e,this.faceRecgUrl=n,this.websocket&&this.websocket.readyState===WebSocket.OPEN&&this.start(this.websocket)}},{key:"start",value:function(e){this.websocket=e;var n=W()({cmd:t.CMD_OPEN_FACE,faceRectUrl:ot.parseUrl(this.faceRectUrl),faceSnapUrl:ot.parseUrl(this.faceSnapUrl),faceRecgUrl:ot.parseUrl(this.faceRecgUrl)});this.websocket.send(n)}},{key:"stop",value:function(){if(null!==this.websocket&&this.websocket.readyState===WebSocket.OPEN){var e=W()({cmd:t.CMD_CLOSE_FACE});this.websocket.send(e)}}},{key:"putSnap",value:function(t){this.callback(t)}},{key:"putRecg",value:function(t){}}]),t}();st.CMD_OPEN_FACE="open_face",st.CMD_CLOSE_FACE="close_face";var ct,lt=function t(){c(this,t)};lt.SNAPSHOT=1,lt.ROI_RECT=2,lt.ROI_POLYGON=4,lt.MAXIMIZE=8,lt.ZOOM=16,lt.VOLUME=32,lt.STOP=64,lt.ALL=65535,lt.DEFAULT=lt.SNAPSHOT|lt.ROI_RECT|lt.ROI_POLYGON|lt.MAXIMIZE|lt.STOP,function(t){t[t.CANVAS=0]="CANVAS",t[t.IMAGE=1]="IMAGE"}(ct||(ct={}));var ut=function(){function t(e,n,i,r){var a=this;c(this,t),this.initChannel=function(e,n){var i=a;i.wsPort=e,i.httpPort=n,i.websocket=new WebSocket("ws://127.0.0.".concat(i.originIndex+1,":").concat(i.wsPort)),i.websocket.binaryType="arraybuffer",i.status=0,i.titleBar.setState(J.STATE_CLOSE),i.titleBar.setName(a.name),i.render.showError(""),i.render.setUrl("http://127.0.0.".concat(i.originIndex+1,":").concat(i.httpPort)),i.websocket.onopen=function(){i.titleBar.setState(J.STATE_WAITTING),i.openWSData&&i.websocket&&i.websocket.send(W()({cmd:"proxy_data"})),i.isAudio&&i.switchAudio(!0),a.changeViewport(),null!=a.websocket&&a.faceRecg.start(a.websocket)},i.websocket.onclose=function(){i.titleBar.setState(J.STATE_CLOSE)},i.websocket.onmessage=function(e){if("string"==typeof e.data){if(0===e.data.indexOf(t.SB_CMD_SPEED)){var n=s()(e.data.substr(t.SB_CMD_SPEED.length+1),10);i.titleBar.setSpeed(n)}else if("{"===e.data[0]){var r=JSON.parse(e.data);"stream_status"===r.cmd?(2===r.status?(i.titleBar.setState(J.STATE_RUNNING),i.render.showError(""),null!==i.config.onRunning&&i.config.onRunning()):4===r.status?i.render.showError("无视频数据"):5===r.status?8===r.errorCode&&i.render.showError("相机播放路数达到上限"):(1===r.status?i.titleBar.setState(J.STATE_WAITTING):i.titleBar.setState(J.STATE_CLOSE),-1===r.errorCode?i.render.showError("连接失败"):-2===r.errorCode?i.render.showError("找不到流"):-3===r.errorCode?i.render.showError("用户名或密码错误"):-4===r.errorCode?i.render.showError("未知异常"):-5===r.errorCode?i.render.showError("对方协议错误"):-6===r.errorCode?i.render.showError("连接断开"):-100===r.errorCode&&i.render.showError("不支持流类型")),i.config.onStreamStatus(i.id,r.status,r.errorCode)):"face_rect"===r.cmd?(i.openWSData||(i.openWSData=!0,i.websocket&&i.websocket.send(W()({cmd:"proxy_data"})),i.render.destroy(),a.createRender(ct.CANVAS),i.render.adjustSize(i.titleBar.height(),i.width,i.height-i.titleBar.height())),i.render.putRect(r.data)):"face_snap"===r.cmd?a.faceRecg.putSnap(r.data):"face_recg"===r.cmd?a.faceRecg.putRecg(r.data):"res_snapshot"===r.cmd?null!==i.config.onSnapshot&&i.config.onSnapshot(a.id,r.data):"stream_size"===r.cmd?(i.streamWidth=r.width,i.streamHeight=r.height):"record_state"===r.cmd&&(void 0!==r.errorCode&&0!==r.errorCode?(i.showRecordIcon(!1),i.config.onRecord&&i.config.onRecord(i.id,"failed",""+r.errorCode)):0===r.state?(i.showRecordIcon(!0),i.config.onRecord&&i.config.onRecord(i.id,"start",""+r.param)):1===r.state&&(i.showRecordIcon(!1),i.config.onRecord&&i.config.onRecord(i.id,"stop",""+r.param)))}}else-1!==i.status&&i.render.putData(e.data)},i.websocket.onerror=function(t){i.titleBar.setState(J.STATE_CLOSE),i.websocket&&i.websocket.close()},a.updateChildSize(),a.caculateLayerShow()},this.saveBlob=function(t){var e=a.name;null!=e&&""!==e||(e="capture");var n=e+"-"+(new Date).getTime()+".png";if(window.navigator.msSaveOrOpenBlob)window.navigator.msSaveBlob(t,n);else{var i=document.createElement("a"),r=URL.createObjectURL(t);i.href=r,i.download=n,i.style.position="absolute",i.style.opacity="0.01",document.body.appendChild(i),i.click(),setTimeout(function(){document.body.removeChild(i),window.URL.revokeObjectURL(r)},0)}},this.id="",this.originIndex=e,this.controlWebsocket=i,this.index=e,this.span=1,this.config=r,this.httpPort=0,this.wsPort=0,this.dragLayer=null,this.websocket=null,this.status=0,this.openWSData=!1,this.width=0,this.height=0,this.urls=[],this.name="",this.isShowMain=!1,this.mainUrlIndex=0,this.toolBar=null,this.isDrawingROI=!1,this.drivingClosed=!0,this.roiLayer=null,this.streamWidth=0,this.streamHeight=0,this.recordIcon=null,this.isAudio=!1,this.faceRecg=new st(function(t){}),this.element=document.createElement("div"),this.element.setAttribute("class","vatwin"),this.element.setAttribute("windex",""+e),n.appendChild(this.element),navigator.userAgent.indexOf("MSIE")>-1||navigator.userAgent.indexOf("Trident")>-1?this.render=this.createRender(ct.CANVAS):navigator.userAgent.toLowerCase().indexOf("se 2.x")>-1?this.render=this.createRender(ct.CANVAS):this.render=this.createRender(ct.IMAGE),this.titleBar=new J(this.element,this.config.titleBar),this.titleBar.clear(),this.initToolbar(),this.config.dragWindow&&this.createDragLayer(),this.caculateLayerShow()}return d(t,[{key:"handleChannelOpened",value:function(t,e){this.closeChannel(!1),this.initChannel(t,e)}},{key:"openFace",value:function(t,e,n){this.faceRecg.setUrl(t,e,n)}},{key:"closeFace",value:function(){this.faceRecg.setUrl("","","")}},{key:"updateToken",value:function(t){if(this.hasChannel()){var e=W()({cmd:"update_token",token:t});this.websocket&&this.websocket.send(e)}}},{key:"openLiveStream",value:function(e){if(null!==e.subUrl&&""!==e.subUrl||(e.subUrl=e.url),this.id=e.id||"",this.name=e.name||"",this.titleBar.setName(this.name),(e.faceRecgUrl||e.faceSnapUrl||e.faceRectUrl)&&this.faceRecg.setUrl(e.faceRectUrl,e.faceSnapUrl,e.faceRecgUrl),2!==this.urls.length||this.urls[this.mainUrlIndex]!==e.url||this.urls[0===this.mainUrlIndex?1:0]!==e.subUrl||!this.hasChannel())if(this.stopROI(),this.setROI([]),this.isShowMain?(this.mainUrlIndex=0,this.urls=[e.url,e.subUrl||""]):(this.mainUrlIndex=1,this.urls=[e.subUrl||"",e.url]),this.hasChannel()){var n=W()({cmd:"switch_url",url1:ot.parseUrl(this.urls[0]),url2:ot.parseUrl(this.urls[1])});this.websocket&&this.websocket.send(n)}else{var i={cmd:t.CMD_OPEN_CHANNEL,id:""+this.originIndex,url1:ot.parseUrl(this.urls[0]),url2:ot.parseUrl(this.urls[1])};this.controlWebsocket.send(W()(i))}}},{key:"restoreStream",value:function(){if(2===this.urls.length){this.isShowMain&&1===this.mainUrlIndex?(this.urls.reverse(),this.mainUrlIndex=0):this.isShowMain||0!==this.mainUrlIndex||(this.urls.reverse(),this.mainUrlIndex=1);var e={cmd:t.CMD_OPEN_CHANNEL,id:""+this.originIndex,url1:ot.parseUrl(this.urls[0]),url2:ot.parseUrl(this.urls[1])};this.controlWebsocket.send(W()(e))}}},{key:"closeStream",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=!1;this.hasChannel()&&(n=!0,this.drivingClosed=e),e&&(this.id=""),this.closeChannel(this.drivingClosed),this.faceRecg.stop();var i=W()({cmd:t.CMD_CLOSE_CHANNEL,id:""+this.originIndex});this.controlWebsocket.send(i),n&&this.config.onClose(this.index,this.id)}},{key:"showMain",value:function(t){if(this.hasChannel()&&this.isShowMain!==t&&this.urls.length>1){var e;e=t?W()({cmd:"switch_index",index:this.mainUrlIndex}):W()({cmd:"switch_index",index:0===this.mainUrlIndex?1:0}),this.websocket&&this.websocket.send(e)}this.isShowMain=t}},{key:"fillWindow",value:function(t){null!=this.render&&this.render.fill(t)}},{key:"hasChannel",value:function(){return null!=this.websocket}},{key:"isDrivingClosed",value:function(){return this.drivingClosed}},{key:"adjustSize",value:function(t,e,n,i,r){r<=0&&(r=this.span),this.width=t*r,this.height=e*r,r>1&&(this.width+=(r-1)*i,this.height+=(r-1)*n),this.element.style.width="".concat(this.width,"px"),this.element.style.height="".concat(this.height,"px"),this.updateChildSize(),this.changeViewport()}},{key:"setSpan",value:function(t){this.span=t}},{key:"setIndex",value:function(t){this.index=t}},{key:"setROI",value:function(t){null===this.roiLayer&&(this.roiLayer=this.createROILayer()),null!==this.roiLayer&&this.roiLayer.setROI(t)}},{key:"getImage",value:function(){var t=document.createElement("canvas");return this.render.snapshot(t,!0),t.toDataURL("image/jpeg")}},{key:"snapshot",value:function(){this.reqSnapshot()}},{key:"startROI",value:function(t){return(t===at.DRAW_RECT||t===at.DRAW_POLYGON)&&(null==this.roiLayer?this.createROILayer():this.roiLayer.stop(),this.roiLayer&&this.roiLayer.start(t),this.caculateLayerShow(),!0)}},{key:"stopROI",value:function(){null!=this.roiLayer&&this.roiLayer.stop(),this.caculateLayerShow()}},{key:"saveROI",value:function(){return null!=this.roiLayer&&this.roiLayer.saveQuit()}},{key:"getStreamWidth",value:function(){return-1===this.streamWidth?this.render.getImageWidth():this.streamWidth}},{key:"getStreamHeight",value:function(){return-1===this.streamHeight?this.render.getImageHeight():this.streamHeight}},{key:"startRecord",value:function(e,n){if(null===this.websocket)return!1;var i={cmd:t.CMD_START_RECORD,duration:e,path:n};return this.websocket.send(W()(i)),!0}},{key:"stopRecord",value:function(){if(null===this.websocket)return!1;var e={cmd:t.CMD_STOP_RECORD};return this.websocket.send(W()(e)),!0}},{key:"closeChannel",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];null!==this.websocket&&(this.websocket.onopen=null,this.websocket.onclose=null,this.websocket.onerror=null,this.websocket.onmessage=null,this.websocket.close(),this.websocket=null),this.status=-1,this.render.setUrl(""),this.titleBar.clear(),this.render.showError(""),this.render.clearView(),this.showRecordIcon(!1),t&&(this.stopROI(),null!=this.roiLayer&&(this.roiLayer.destroy(),this.roiLayer=null)),this.caculateLayerShow(),this.streamWidth=0,this.streamHeight=0}},{key:"initToolbar",value:function(){var t=this;if(null!=this.toolBar&&this.element.removeChild(this.toolBar),0!==this.config.toolBar){if(this.toolBar=document.createElement("div"),this.toolBar.classList.add("vat-tool"),this.element.appendChild(this.toolBar),(this.config.toolBar&lt.VOLUME)===lt.VOLUME){var e=this.createToolButton("volume-off","打开声音"),n=this.createToolButton("volume-on","关闭声音");n.style.display="none",e.onclick=function(i){n.style.display="inline-block",e.style.display="none",t.switchAudio(!0)},n.onclick=function(i){e.style.display="inline-block",n.style.display="none",t.switchAudio(!1)}}if((this.config.toolBar&lt.SNAPSHOT)===lt.SNAPSHOT)this.createToolButton("snapshot","抓图").onclick=function(e){t.reqSnapshot()};if((this.config.toolBar&lt.ROI_RECT)===lt.ROI_RECT)this.createToolButton("roi-rect","ROI矩形绘图").onclick=function(e){t.startROI(at.DRAW_RECT)};if((this.config.toolBar&lt.ROI_POLYGON)===lt.ROI_POLYGON)this.createToolButton("roi-polygon","ROI多点绘图").onclick=function(e){t.startROI(at.DRAW_POLYGON)};if((this.config.toolBar&lt.MAXIMIZE)===lt.MAXIMIZE)this.createToolButton("maximize","最大化窗口").onclick=function(e){t.config.onZoom()};if((this.config.toolBar&lt.ZOOM)===lt.ZOOM)this.createToolButton("scale-view","电子放大").onclick=function(t){};if((this.config.toolBar&lt.STOP)===lt.STOP)this.createToolButton("stop","停止").onclick=function(e){t.closeStream()}}}},{key:"showToolBar",value:function(t){null!=this.toolBar&&(this.toolBar.style.display=t?"":"none")}},{key:"showDragLayer",value:function(t){null!=this.dragLayer&&(this.dragLayer.style.display=t?"":"none")}},{key:"createDragLayer",value:function(){var e=this;null==e.dragLayer&&(e.dragLayer=document.createElement("div"),e.dragLayer.setAttribute("draggable","true"),e.dragLayer.classList.add("drag-layer"),e.dragLayer.addEventListener("dragstart",function(n){if(e.hasChannel()&&!e.isDrawingROI){var i=document.createElement("canvas");if(i.width=e.width/e.span*.8,i.height=e.height/e.span*.8,i.style.opacity="1",i.width>300||i.height>300){var r=Math.min(300/i.width,300/i.height);i.width=i.width*r,i.height=i.height*r}e.render.snapshot(i,!1);var a=i.width/2,o=i.height/2;"function"!=typeof DataTransfer.prototype.setDragImage&&e.dragLayer?(e.dragLayer.style.left="".concat(n.layerX-a,"px"),e.dragLayer.style.top="".concat(n.layerY-o,"px"),e.dragLayer.style.width="".concat(i.width,"px"),e.dragLayer.style.height="".concat(i.height,"px"),e.dragLayer.appendChild(i),setTimeout(function(){e.dragLayer&&(e.dragLayer.style.left="",e.dragLayer.style.top="",e.dragLayer.style.width="",e.dragLayer.style.height="",e.dragLayer.removeChild(i))},0)):(i.style.position="absolute",i.style.left="-999px",n.dataTransfer&&n.dataTransfer.setDragImage(i,a,o),document.body.appendChild(i),setTimeout(function(){document.body.removeChild(i)},100)),n.dataTransfer&&n.dataTransfer.setData(t.DRAG_MIME,"vat:"+e.index)}else n.preventDefault()}),e.dragLayer.addEventListener("dragenter",function(t){t.target.classList.add("drag-hover")}),e.dragLayer.addEventListener("dragleave",function(t){t.target.classList.remove("drag-hover")}),e.dragLayer.addEventListener("drop",function(n){n.preventDefault();var i=n.dataTransfer&&n.dataTransfer.getData(t.DRAG_MIME);n.target.classList.remove("drag-hover"),i&&i.length>0&&e.config.onDrop&&e.config.onDrop(i,e.index)}),e.dragLayer.addEventListener("dragover",function(t){t.preventDefault()}),e.element.appendChild(e.dragLayer))}},{key:"createToolButton",value:function(t,e){var n=document.createElement("a");n.title=e;var i=Y.getSVG(t);return n.appendChild(i),this.toolBar&&(this.toolBar.appendChild(n),this.element.appendChild(this.toolBar)),n}},{key:"createROILayer",value:function(){var t=this;return null!=this.roiLayer?this.roiLayer:(this.roiLayer=new at(this.element,this.config.maxRoi,this.config.roiMenu),null===this.roiLayer?null:(this.roiLayer.onEscape=function(){t.stopROI()},this.roiLayer.onSave=function(e){t.stopROI(),t.config.onRoi&&t.config.onRoi(t.id,e)},this.updateChildSize(),this.roiLayer))}},{key:"updateChildSize",value:function(){this.render.adjustSize(this.titleBar.height(),this.width,this.height-this.titleBar.height()),this.titleBar.adjustWidth(this.width)}},{key:"caculateLayerShow",value:function(){!this.hasChannel()||null!==this.roiLayer&&this.roiLayer.isUserDrawing()?(this.showToolBar(!1),null!==this.roiLayer&&this.roiLayer.isUserDrawing()?this.showDragLayer(!1):this.showDragLayer(!0)):(this.showToolBar(!0),this.showDragLayer(!0))}},{key:"changeViewport",value:function(){if(null!==this.websocket){var e={cmd:t.CMD_SET_VIEWPORT,width:this.render.getViewWidth(),height:this.render.getViewHeight()};this.websocket.send(W()(e))}}},{key:"reqSnapshot",value:function(){if(null!==this.websocket){var e={cmd:t.CMD_REQ_SNAPSHOT};this.websocket.send(W()(e))}}},{key:"showRecordIcon",value:function(t){t&&null==this.recordIcon&&(this.recordIcon=document.createElement("span"),this.recordIcon.setAttribute("class","vat-record"),this.recordIcon.style.visibility="hidden",this.element.appendChild(this.recordIcon)),null!=this.recordIcon&&(this.recordIcon.style.visibility=t?"visible":"hidden")}},{key:"switchAudio",value:function(e){if(this.isAudio=e,null!==this.websocket){var n={cmd:t.CMD_SWITCH_AUDIO,on:e};this.websocket.send(W()(n))}}},{key:"createRender",value:function(t){var e=this;t===ct.CANVAS?(this.render=new q(this.element),this.openWSData=!0):(this.render=new Q(this.element),this.openWSData=!1),this.render.setSnapCallback(function(t){void 0!==e.config.onRecg&&e.config.onRecg(e.id,t)});var n=this;return this.render.onResize=function(t,e,i,r,a,o){null!==n.roiLayer&&n.roiLayer.resize(t,e,i,r)},this.render}}]),t}();ut.DRAG_MIME="text",ut.TITLE_BAR_HEIGHT=16,ut.SB_CMD_SPEED="speed",ut.CMD_OPEN_CHANNEL="openchannel",ut.CMD_CLOSE_CHANNEL="closechannel",ut.CMD_SET_VIEWPORT="set_viewport",ut.CMD_REQ_SNAPSHOT="req_snapshot",ut.CMD_START_RECORD="start_record",ut.CMD_STOP_RECORD="stop_record",ut.CMD_SWITCH_AUDIO="switch_audio",n("ac6a"),n("4917");var ht=window;document.attachEvent,navigator.userAgent.match(/Trident/),window.requestAnimationFrame||ht.mozRequestAnimationFrame||ht.webkitRequestAnimationFrame,window.cancelAnimationFrame||ht.mozCancelAnimationFrame||ht.webkitCancelAnimationFrame||window.clearTimeout;var dt=function t(){c(this,t)};dt.WS_URL="ws://127.0.0.1:3456",dt.CMD_LOGIN="login",dt.CMD_OPEN_CHANNEL="openchannel",dt.CMD_CLOSE_CHANNEL="closechannel",dt.CMD_CHANNEL_STATUS="channel.status",dt.CMD_ERROR="error";var ft=n("b697"),vt=n.n(ft),pt=n("9224"),gt=pt.version,wt=pt.vatversion,mt={fill:!0,dbClick:!1,dragWindow:!0,toolBar:0,titleBar:0,onSnapshot:null,onRoi:null,maxRoi:10,onStreamStatus:function(t,e,n){}},yt={rows:2,cols:2,combines:[],streams:[]},bt=function(){function t(e,n,i){var r=this;if(c(this,t),this.getBDWx2=function(t){return t?t.offsetWidth-t.clientWidth:0},this.getBDHx2=function(t){return t?t.offsetHeight-t.clientHeight:0},this.showMaxWindow=function(t){var e=r.findTDElement(t);if(null!=e){for(var n=r.getTDIndex(e);r.tableLayout.firstChild;)r.tableLayout.firstChild.nodeName,r.tableLayout.removeChild(r.tableLayout.firstChild);r.maxWindow=r.windows[n],e.removeChild(r.maxWindow.element);var i=document.createElement("td");i.setAttribute("rowSpan","1"),i.setAttribute("colSpan","1"),i.setAttribute("windex",""+n),i.setAttribute("max","true"),i.appendChild(r.maxWindow.element),!0===r.config.dbClick&&(i.ondblclick=function(t){r.showNormalWindow()});var a=document.createElement("tr");a.appendChild(i),r.tableLayout.appendChild(a),r.adjustSize()}},this.onTDClick=function(t){null==r.maxWindow&&r.selectWindow(t.target)},this.selectWindow=function(e){var n=r.findTDElement(e);if(null!=n){if(r.selectedIndex>=0&&r.selectedIndex<r.windowCount){var i=r.findTDElement(r.windows[r.selectedIndex].element);null!=i&&i.classList.remove("selected")}r.windowCount>1&&n.classList.add("selected");var a=r.selectedIndex;r.selectedIndex=r.getTDIndex(n),r.config.onWinOp&&a!==r.selectedIndex&&r.config.onWinOp(r.selectedIndex,r.windows[r.selectedIndex].id,t.WIN_OP_SELECT)}},this.dropWindow=function(t,e){if(0===t.indexOf("vat:")){if(r.config.dragWindow){var n=s()(t.substr(4),10);r.swapWindow(n,e)}}else if(0===t.indexOf("rtsp:")){var i={url:t};r.openLiveStream(e,i)}else if(0===t.indexOf("vat-live:")){var a=r.parseLiveStreamParam(t.substr(9));r.openLiveStream(e,a)}},this.swapWindow=function(t,e){if(t!==e){var n=r.windows[t],i=r.windows[e];n.setSpan(i.span),i.setSpan(n.span),n.setIndex(e),i.setIndex(t),r.windows[t]=i,r.windows[e]=n;var a=i.element.style.width,o=i.element.style.height;i.element.style.width=n.element.style.width,i.element.style.height=n.element.style.height,n.element.style.width=a,n.element.style.height=o,r.updateLayout(r.layout.rows,r.layout.cols,r.layout.combines)}},this.windows=[],this.status=0,this.websocket=null,this.layout=G({},yt,n),this.config=G({},mt,i),this.windowCount=0,this.maxWindow=null,this.selectedIndex=0,this.oldParentWidth=0,this.oldParentHeight=0,null==this.config.fill&&(this.config.fill=!0),this.onStatus=function(t){},this.onChannelStatus=function(t,e){},!e)throw new Error("bad parentElement argument: "+e);var a=e;this.tableLayout=document.createElement("table"),this.tableLayout.setAttribute("cellspacing","1"),a.appendChild(this.tableLayout);var o=this;this.tableLayout.oncontextmenu=function(t){return!1};var l=function(){a.clientWidth===o.oldParentWidth&&a.clientHeight===o.oldParentHeight||(o.oldParentWidth=a.clientWidth,o.oldParentHeight=a.clientHeight,o.oldParentWidth>=window.innerWidth||o.oldParentHeight>=window.innerHeight?(a.style.width="1px",a.style.height="1px",o.adjustSize(0,0),setTimeout(function(){a.style.width="",a.style.height="",window.requestAnimationFrame(function(){o.updateLayout(o.layout.rows,o.layout.cols,o.layout.combines)})},1)):o.adjustSize(o.oldParentWidth,o.oldParentHeight))};this.fremeUpdateId=setInterval(function(){window.requestAnimationFrame(l)},500)}return d(t,[{key:"setLayout",value:function(t){if("number"!=typeof t.rows||"number"!=typeof t.cols||"object"!==m(t.combines))throw new Error("bad layout param ".concat(t));if(this.layout=t,this.updateLayout(this.layout.rows,this.layout.cols,this.layout.combines),void 0===this.layout.streams||null===this.layout.streams)this.layout.streams={};else for(var e=0;e<this.windowCount;e++)this.layout.streams[e]&&this.openLiveStream(e,this.layout.streams[e])}},{key:"getLayout",value:function(){for(var t={},e=0;e<this.windowCount;e++){var n=this.windows[e];if(n.hasChannel()){var i={id:n.id,name:n.name,url:n.urls.length>0?n.urls[0]:"",subUrl:n.urls.length>1?n.urls[1]:"",hasChannel:n.hasChannel()};t[e]=i}}var r=G({},this.layout);return r.streams=t,r}},{key:"toggleWindow",value:function(){if(null==this.maxWindow){var t=this._check_index(-1,!0);this.showMaxWindow(this.windows[t].element)}else this.showNormalWindow()}},{key:"openFace",value:function(t,e,n,i){this._check_login(),t=this._check_index(t,!0),this.windows[t].openFace(e,n,i)}},{key:"closeFace",value:function(t){this._check_login(),t=this._check_index(t,!0),this.windows[t].closeFace()}},{key:"openLiveStream",value:function(t,e){if(null===e.url||""===e.url)return-3;if(this._check_login(),-2===t)for(var n=0;n<this.windowCount;n++){var i=(this.selectedIndex+n)%this.windowCount;if(!this.windows[i].hasChannel()){t=i,this.selectWindow(this.windows[i].element);break}}if(-2===t)return-2;if(e.id&&""!==e.id)for(var r=0;r<this.windowCount;r++)if(this.windows[r].id===e.id)return-3;return t=this._check_index(t,!0),this.windows[t].openLiveStream(e),t}},{key:"select",value:function(t){this._check_login(),t=this._check_index(t,!1),this.selectWindow(this.windows[t].element)}},{key:"setROI",value:function(t,e){this._check_login(),t=this._check_index(t,!0),null==e&&(e=[]);var n=!0,i=!1,r=void 0;try{for(var o,s=a()(e);!(n=(o=s.next()).done);n=!0){var c=o.value;if(c.width<=0||c.height<=0)throw new Error("diagrams width and height must be grater that 0");if(c.type===at.DRAW_RECT){if(null===c.points||2!==c.points.length)throw new Error("diagram rect need two points")}else{if(c.type!==at.DRAW_POLYGON)throw new Error("diagram bad type");if(null===c.points||c.points.length<2)throw new Error("diagram polygon least 3 points")}}}catch(t){i=!0,r=t}finally{try{n||null==s.return||s.return()}finally{if(i)throw r}}this.windows[t].setROI(e)}},{key:"startROI",value:function(t,e){return this._check_login(),t=this._check_index(t,!0),this.windows[t].startROI(e)}},{key:"stopROI",value:function(t){this._check_login(),t=this._check_index(t,!0),this.windows[t].stopROI()}},{key:"saveROI",value:function(t){return this._check_login(),t=this._check_index(t,!0),this.windows[t].saveROI()}},{key:"closeStream",value:function(t){t=this._check_index(t,!0),null!==this.windows[t]&&this.windows[t].closeStream()}},{key:"getStreamInfo",value:function(t){var e={width:0,height:0};return t=this._check_index(t,!0),null!==this.windows[t]&&(e.width=this.windows[t].getStreamWidth(),e.height=this.windows[t].getStreamHeight()),e}},{key:"fillWindow",value:function(t,e){this._check_index(t,!0);for(var n=0;n<this.windowCount;n+=1)-1!==t&&t!==n||!this.windows[n]||this.windows[n].fillWindow(e)}},{key:"showFullscreen",value:function(){var t=this.tableLayout.parentElement;if(t.requestFullscreen)t.requestFullscreen();else if(t.mozRequestFullScreen)t.mozRequestFullScreen();else if(t.webkitRequestFullscreen)t.webkitRequestFullscreen();else{if(!t.msRequestFullscreen)return!1;t.msRequestFullscreen()}return!0}},{key:"exitFullscreen",value:function(){var t=document;if(t.exitFullscreen)t.exitFullscreen();else if(t.mozCancelFullScreen)t.mozCancelFullScreen();else{if(!t.webkitExitFullscreen)return!1;t.webkitExitFullscreen()}}},{key:"snapshot",value:function(t){t=this._check_index(t,!0),this.windows[t].snapshot()}},{key:"getImage",value:function(t){return t=this._check_index(t,!0),this.windows[t].getImage()}},{key:"stop",value:function(){clearInterval(this.fremeUpdateId);var t=!0,e=!1,n=void 0;try{for(var i,r=a()(this.windows);!(t=(i=r.next()).done);t=!0){i.value.closeStream()}}catch(t){e=!0,n=t}finally{try{t||null==r.return||r.return()}finally{if(e)throw n}}this.websocket&&(this.websocket.onclose=null,this.websocket.onerror=null,this.websocket.onopen=null,this.websocket.onmessage=null,this.websocket.close(),this.websocket=null)}},{key:"resize",value:function(){this.adjustSize()}},{key:"indexOf",value:function(t){if(null===t||void 0===t||"string"!=typeof t)return-1;for(var e=0;e<this.windowCount;e++)if(this.windows[e].id===t)return e;return 0}},{key:"startRecord",value:function(t,e,n){return t=this._check_index(t,!0),null!==this.windows[t]&&this.windows[t].startRecord(e,n)}},{key:"stopRecord",value:function(t){return t=this._check_index(t,!0),null!==this.windows[t]&&this.windows[t].stopRecord()}},{key:"updateToken",value:function(t){for(var e=0;e<this.windowCount;e++)this.windows[e].hasChannel()&&this.windows[e].updateToken(t)}},{key:"init",value:function(t,e,n){var i=this;t.websocket=new WebSocket(dt.WS_URL),t.websocket.onopen=function(){t.status=1,t.onStatus(t.status);var e=W()({cmd:dt.CMD_LOGIN,version:gt});t.websocket&&t.websocket.send(e)},t.websocket.onclose=function(){0===t.status?(t.showCheckError("插件服务未安装或未启动"),n(t)):t.showCheckError("插件服务连接断开,请检查服务是否启动并刷新浏览器",!1),t.status=-1,t.onStatus(t.status)},t.websocket.onmessage=function(n){var r=JSON.parse(n.data);if(r.cmd===dt.CMD_LOGIN&&0===r.code)if(1===t.status){var a=wt;0===a.indexOf("=")?0===vt()(r.version,a.substring(1))?(e(t),t.status=2,t.setLayout(i.layout),t.onStatus(t.status)):t.showCheckError("插件服务版本不匹配,当前版本:".concat(r.version," 要求:").concat(a.substring(1)),!0):vt()(r.version,a)>=0?(e(t),t.status=2,t.setLayout(i.layout),t.onStatus(t.status)):t.showCheckError("插件服务版本过低,当前版本:".concat(r.version," 最低要求:").concat(a),!0)}else t.showCheckError("连接插件服务错误");else if(r.cmd===dt.CMD_CHANNEL_STATUS){var o=s()(r.id,10),c=t.getWindowByOriginIndex(o);null!=c&&c.handleChannelOpened(r.ws_port,r.http_port)}else r.cmd},setTimeout(function(){0===t.status&&(t.showCheckError("插件服务未安装或未启动"),n(t),t.onStatus(-1))},650)}},{key:"_check_login",value:function(){if(2!==this.status){var t="cannot detected vat plugin service";throw t}return!0}},{key:"_check_index",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(void 0===t)throw new Error("bad parameter index");if(e&&-1===t)return this.selectedIndex;if(t<0||t>=this.windowCount)throw new Error("index out of range");return t}},{key:"adjustSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;if(this.tableLayout.parentElement){var i=this.layout.rows,r=this.layout.cols;null!=this.maxWindow&&(i=1,r=1),-1===e&&(e=this.tableLayout.parentElement.clientWidth),-1===n&&(n=this.tableLayout.parentElement.clientHeight),e<t.MIN_WIDTH&&(e=t.MIN_WIDTH),n<t.MIN_HEIGHT&&(n=t.MIN_HEIGHT);var a=s()(this.tableLayout.cellSpacing,10),o=this.tableLayout.querySelector("td");if(o){e=(e-2-a*(r+1)-this.getBDWx2(o)*r)/r,n=(n-2-a*(i+1)-this.getBDHx2(o)*i)/i,e=Math.max(Math.floor(e),0),n=Math.max(Math.floor(n),0);var c=a+this.getBDHx2(o),l=a+this.getBDWx2(o);if(null!=this.maxWindow)this.maxWindow.adjustSize(e,n,c,l,1),this.maxWindow.showMain(!0);else for(var u=i*r/4,h=0;h<this.windowCount;h+=1)if(this.windows[h]){this.windows[h].adjustSize(e,n,c,l,-1),Math.pow(this.windows[h].span,2)>=u?this.windows[h].showMain(!0):this.windows[h].showMain(!1);var d=this.findTDElement(this.windows[h].element);d&&(d.style.height="0px")}}}}},{key:"updateLayout",value:function(t,e,n){for(var i=this,r={},a=0,o=0;o<this.windowCount;o++)this.windows[o].element.parentElement&&this.windows[o].element.parentElement.removeChild(this.windows[o].element);for(this.maxWindow=null;this.tableLayout.firstChild;)this.tableLayout.removeChild(this.tableLayout.firstChild);for(var s=0;s<t;s++){for(var c=document.createElement("tr"),l=0;l<e;l++){var u=s*e+l;if(null==r[u]){var h=n[u];if(null==h)h=1;else if(h>1)for(var d=0;d<h;d++)for(var f=0;f<h;f++)r[(s+d)*e+l+f]=1;var v=document.createElement("td");if(v.setAttribute("rowSpan",""+h),v.setAttribute("colSpan",""+h),v.setAttribute("windex",""+a),c.appendChild(v),!0===this.config.dbClick&&(v.ondblclick=function(t){i.showMaxWindow(t.target)}),v.onclick=this.onTDClick,a<this.windows.length){var p=this.windows[a];p.element.style.width="1px",p.element.style.height="1px",v.appendChild(p.element),this.windows[a]=p,p.setIndex(a),p.setSpan(h)}else this.createWindow(a,v,h);a++}}this.tableLayout.appendChild(c)}for(var g=a;g<this.windowCount;g++){if(this.websocket){var w=W()({cmd:dt.CMD_CLOSE_CHANNEL,id:""+this.windows[g].originIndex});this.websocket.send(w)}this.windows[g].closeStream(!1)}this.windowCount=a,this.adjustSize();for(var m=0;m<a;m++)this.windows[m].isDrivingClosed()||this.windows[m].hasChannel()||this.windows[m].restoreStream();this.windowCount>0&&(this.selectedIndex>=this.windowCount&&(this.selectedIndex=0),this.selectWindow(this.windows[this.selectedIndex].element))}},{key:"createWindow",value:function(e,n,i){var r=this,a={dragWindow:!0===this.config.dragWindow,toolBar:this.config.toolBar,titleBar:this.config.titleBar,onSnapshot:void 0===this.config.onSnapshot?null:this.config.onSnapshot,onDrop:this.dropWindow,onRoi:void 0===this.config.onRoi?null:this.config.onRoi,maxRoi:this.config.maxRoi,onZoom:function(){null==r.maxWindow?r.showMaxWindow(o.element):r.showNormalWindow()},onRunning:function(){r.update10Window()},onClose:function(e,n){r.config.onWinOp&&r.config.onWinOp(e,n,t.WIN_OP_CLOSE)},onRecg:this.config.onRecg,roiMenu:!0===this.config.roiMenu,onRecord:void 0===this.config.onRecord?null:this.config.onRecord,onStreamStatus:this.config.onStreamStatus},o=new ut(e,n,this.websocket,a);o.fillWindow(!0===this.config.fill),o.setSpan(i),this.windows.push(o)}},{key:"update10Window",value:function(){for(var t=0,e=0;e<this.windowCount;e++)this.windows[e].hasChannel()&&t++;if(t>=10){var n=this;window.requestAnimationFrame(function(){n.updateLayout(n.layout.rows,n.layout.cols,n.layout.combines)})}}},{key:"showCheckError",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.updateLayout(0,0,{});var n=document.createElement("tr"),i=document.createElement("td");i.className="check_error";var r=document.createElement("div");if(r.innerText=t,i.appendChild(r),e){var a=document.createElement("a");a.className="vat-down",a.innerHTML="<span>下载</span>",a.href=this.config.pluginUrl?this.config.pluginUrl:"#",i.appendChild(a)}n.appendChild(i),this.tableLayout.appendChild(n)}},{key:"showNormalWindow",value:function(){if(null!=this.maxWindow&&null!=this.maxWindow.element.parentElement){for(this.maxWindow.element.parentElement.removeChild(this.maxWindow.element);this.tableLayout.firstChild;)this.tableLayout.removeChild(this.tableLayout.firstChild);this.updateLayout(this.layout.rows,this.layout.cols,this.layout.combines),this.maxWindow=null,this.adjustSize()}}},{key:"findTDElement",value:function(t){var e=null;do{if("TD"===t.nodeName&&null!=t.getAttribute("windex")){e=t;break}if(!t.parentElement)return null;t=t.parentElement}while("BODY"!==t.nodeName);return e}},{key:"getTDIndex",value:function(t){return null==t?-1:s()(t.getAttribute("windex")||"-1",10)}},{key:"getWindowByOriginIndex",value:function(t){for(var e=0;e<this.windowCount;e++)if(this.windows[e].originIndex===t)return this.windows[e];return null}},{key:"parseLiveStreamParam",value:function(t){try{var e=JSON.parse(t);if(!e.url)throw Error("require param 'url'");return e}catch(e){throw Error("cannot parse param:"+t)}}}],[{key:"create",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:yt,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:mt;i.success||(i.success=function(){}),i.fail||(i.fail=function(){});var r=new t(e,n,i);return r.init(r,i.success,i.fail),r}}]),t}();bt.MAX_CHANNEL_COUNT=9,bt.MIN_WIDTH=10,bt.MIN_HEIGHT=10,bt.WIN_OP_CLOSE="close",bt.WIN_OP_SELECT="select";var xt=function(t){function e(){var t;return c(this,e),(t=y(this,_(e).apply(this,arguments))).api=null,t}return R(e,A.a),d(e,[{key:"setLayout",value:function(t){this.api&&this.api.setLayout(t)}},{key:"getLayout",value:function(){return this.api?this.api.getLayout():null}},{key:"toggleWindow",value:function(){this.api&&this.api.toggleWindow()}},{key:"openLiveStream",value:function(t,e){return this.api?this.api.openLiveStream(t,e):-4}},{key:"selectWindow",value:function(t){this.api&&this.api.select(t)}},{key:"setROI",value:function(t,e){this.api&&this.api.setROI(t,e)}},{key:"startROI",value:function(t,e){return this.api&&this.api.startROI(t,e)}},{key:"stopROI",value:function(t){this.api&&this.api.stopROI(t)}},{key:"saveROI",value:function(t){return this.api&&this.api.saveROI(t)}},{key:"closeStream",value:function(t){this.api&&this.api.closeStream(t)}},{key:"fillWindow",value:function(t,e){this.api&&this.api.fillWindow(t,e)}},{key:"showFullscreen",value:function(){return this.api&&this.api.showFullscreen()}},{key:"exitFullscreen",value:function(){this.api&&this.api.exitFullscreen()}},{key:"getImage",value:function(t){return this.api?this.api.getImage(t):null}},{key:"snapshot",value:function(t){this.api&&this.api.snapshot(t)}},{key:"indexOf",value:function(t){return this.api?this.api.indexOf(t):-1}},{key:"getStreamInfo",value:function(t){if(this.api)return this.api.getStreamInfo(t)}},{key:"startRecord",value:function(t,e,n){return!!this.api&&(void 0!==n&&null!==n||(n=""),this.api.startRecord(t,e,n))}},{key:"stopRecord",value:function(t){return!!this.api&&this.api.stopRecord(t)}},{key:"openFace",value:function(t,e,n,i){if(!this.api)return!1;this.api.openFace(t,e,n,i)}},{key:"closeFace",value:function(t){if(!this.api)return!1;this.api.closeFace(t)}},{key:"onTokenChange",value:function(t,e){if(ot.token=this.$attrs.token,!this.api)return!1;this.api.updateToken(t)}},{key:"mounted",value:function(){var t=this;ot.token=this.$attrs.token;var e={rows:s()("".concat(this.rows),10),cols:s()("".concat(this.cols),10),combines:[],streams:{}},n={pluginUrl:"#",onSnapshot:this.onSnapshot,onRoi:this.onROI,dbClick:"true"==="".concat(this.dbClick),dragWindow:"true"==="".concat(this.dragWindow),toolBar:this.toolBar,titleBar:this.titleBar,maxRoi:s()("".concat(this.maxRoi),10),onRecg:this.onRecg,onWinOp:this.onWinOp,roiMenu:"true"==="".concat(this.roiMenu),onRecord:this.onRecord,onStreamStatus:this.onStreamStatus},i=void 0===this.$slots.default?[]:this.$slots.default,r=!0,o=!1,c=void 0;try{for(var l,u=a()(i);!(r=(l=u.next()).done);r=!0){var h=l.value;if("combine"===h.tag){if(void 0===h.data||void 0===h.data.attrs)continue;void 0!==h.data.attrs.index&&void 0!==h.data.attrs.size&&(e.combines[s()(h.data.attrs.index,10)]=s()(h.data.attrs.size,10))}else if("download-url"===h.tag){if(void 0!==h.text)n.pluginUrl=h.text;else if(void 0!==h.children&&h.children.length>0){var d=!0,f=!1,v=void 0;try{for(var p,g=a()(h.children);!(d=(p=g.next()).done);d=!0){void 0===p.value.tag&&(n.pluginUrl=h.children[0].text)}}catch(t){f=!0,v=t}finally{try{d||null==g.return||g.return()}finally{if(f)throw v}}}}else if("open-live"===h.tag){if(void 0===h.data||void 0===h.data.attrs)continue;var w=h.data.attrs;if(void 0===w.index||void 0===w.url)continue;var m={id:w.id,name:w.name,url:w.url,subUrl:w.subUrl?w.subUrl:w["sub-url"],faceRectUrl:w.faceRectUrl?w.faceRectUrl:w["face-rect-url"],faceSnapUrl:w.faceSnapUrl?w.faceSnapUrl:w["face-snap-url"],faceRecgUrl:w.faceRecgUrl?w.faceRecgUrl:w["face-recg-url"]};void 0===e.streams&&(e.streams={}),e.streams[s()(w.index,10)]=m}}}catch(t){o=!0,c=t}finally{try{r||null==u.return||u.return()}finally{if(o)throw c}}n.success=function(e){t.$emit("onLoad",e)},this.api=bt.create(this.$el,e,n)}},{key:"beforeDestroy",value:function(){this.api&&this.api.stop()}},{key:"onSnapshot",value:function(t,e){this.$emit("onSnapshot",t,e)}},{key:"onROI",value:function(t,e){this.$emit("onRoi",t,e)}},{key:"onRecg",value:function(t,e){this.$emit("onRecg",t,e)}},{key:"onWinOp",value:function(t,e,n){this.$emit("onWinOp",t,e,n)}},{key:"onRecord",value:function(t,e,n){this.$emit("onRecord",t,e,n)}},{key:"onStreamStatus",value:function(t,e,n){this.$emit("onStreamStatus",t,e,n)}}]),e}();T([P({default:2})],xt.prototype,"cols",void 0),T([P({default:2})],xt.prototype,"rows",void 0),T([P({default:10})],xt.prototype,"maxRoi",void 0),T([P({default:"dark"})],xt.prototype,"theme",void 0),T([P({default:lt.DEFAULT})],xt.prototype,"toolBar",void 0),T([P({default:Z.ALL})],xt.prototype,"titleBar",void 0),T([P({default:!1})],xt.prototype,"dbClick",void 0),T([P({default:!0})],xt.prototype,"dragWindow",void 0),T([P({default:!0})],xt.prototype,"roiMenu",void 0),T([function(t,e){void 0===e&&(e={});var n=e.deep,i=void 0!==n&&n,r=e.immediate,a=void 0!==r&&r;return Object(D.createDecorator)(function(e,n){"object"!=typeof e.watch&&(e.watch=Object.create(null));var r=e.watch;"object"!=typeof r[t]||Array.isArray(r[t])?void 0===r[t]&&(r[t]=[]):r[t]=[r[t]],r[t].push({handler:n,deep:i,immediate:a})})}("$attrs.token",{immediate:!0})],xt.prototype,"onTokenChange",null);var kt=xt=T([I()({components:{}})],xt);n("4b0b");var St=function(t,e,n,i,r,a,o,s){var c,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),o?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},l._ssrRegister=c):r&&(c=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,e){return c.call(e),u(t,e)}}else{var h=l.beforeCreate;l.beforeCreate=h?[].concat(h,c):[c]}return{exports:t,options:l}}(kt,function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:["vatlive","vatlive-"+t.theme]})},[],!1,null,null,null).exports,_t={install:function(t,e){t.component("live-player",St)}};n.d(e,"LivePlayer",function(){return St}),e.default=_t},fde4:function(t,e,n){n("bf90");var i=n("584a").Object;t.exports=function(t,e){return i.getOwnPropertyDescriptor(t,e)}}})},t.exports=i(n("7+uW"))},S558:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n("Dd8w"),r=n.n(i),a=n("mvHQ"),o=n.n(a),s=n("EEkg"),c=n("x1DN"),l=n("vMX1"),u=n("7PvZ"),h=n("CED4"),d={components:{cascader:c.a,LivePlayer:h.LivePlayer,searchPage:l.a,morer:u.a},data:function(){return{pluginUrl:"./static/VATPlugin-1.1.0.exe",isShow:!1,selectIndex:void 0,single:!1,searchForm:{rowsOfPage:10,currentPage:1,deviceTypeId:"",deviceStatus:""},engineTypes:[],engineRecogTypes:[],mechanismTypes:[],deviceStatusList:[{label:"全部",value:""},{label:"在线",value:"2"},{label:"离线",value:"3"},{label:"已禁用",value:"1"}],tableData:[],loading:!1,total:0,tableLoading:!1}},created:function(){this.fetchData(),this.fetchTypeList(),this.fetchMechanismList()},methods:{fetchTypeList:function(){var t=this;s.a.typeList().then(function(e){t.engineTypes=e,t.engineTypes.unshift({label:"全部",value:""})}).catch(function(e){t.$message.error(e.message)})},fetchRecogTypeList:function(){var t=this;s.a.typeRecogList().then(function(e){t.engineRecogTypes=e}).catch(function(e){t.$message.error(e.message)})},addClear:function(){localStorage.clear("isEdit")},checkVideo:function(t,e){this.selectIndex=e,this.$refs["player"+e].openLiveStream(0,{name:"自定义流",url:t.vmsCameraMainRtspUrl,subUrl:t.vmsCameraChildRtspUrl})},fetchMechanismList:function(){var t=this;s.a.mechanismList().then(function(e){t.mechanismTypes=e}).catch(function(e){t.$message.error(e.message)})},searchData:function(){this.searchForm.currentPage=1,this.fetchData()},goDetail:function(t){"rtsp"===t.protocol?this.$router.push({name:"cameraDetailEquipment",query:{id:t.id}}):this.$router.push({name:"detailEquipment",query:{info:encodeURIComponent(o()(t))}})},fetchData:function(t){var e=this;this.tableLoading=!0,null!==this.searchForm.deviceName&&void 0!==this.searchForm.deviceName&&(this.searchForm.deviceName=this.searchForm.deviceName.trim()),null!==this.searchForm.deviceCode&&void 0!==this.searchForm.deviceCode&&(this.searchForm.deviceCode=this.searchForm.deviceCode.trim()),s.a.search(r()({},this.searchForm,{recogniseType:this.searchForm.recogniseType?"recogniseType#"+this.searchForm.recogniseType:""})).then(function(t){setTimeout(function(){e.tableData=t.data,e.total=t.total,e.tableLoading=!1},500)}).catch(function(t){e.tableLoading=!1})},disable:function(t){var e=this;this.$confirm("是否确定禁用?","确认禁用",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){e.$set(t,"loading",!0),s.a.disable(t.id).then(function(n){e.$set(t,"loading",!1),e.$message.success(n.message),e.fetchData()}).catch(function(n){e.$set(t,"loading",!1),e.$message.error(n.message),e.fetchData()})}).catch(function(){})},enable:function(t){var e=this;this.$set(t,"loading",!0),s.a.enable(t.id).then(function(n){e.$set(t,"loading",!1),e.$message.success(n.message),e.fetchData()}).catch(function(n){e.$message.error(n.message),e.$set(t,"loading",!1),e.fetchData()})},transterRecogType:function(t){if(t){var e=t.split("#"),n=e.length>1?e[1]:"";return this.engineRecogTypes.some(function(t){if(t.value===n)return n=t.label,!0}),n}return""},resetSearch:function(){this.searchForm={rowsOfPage:10,currentPage:1},this.fetchData()}}},f={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"app-container"},[n("el-card",{staticClass:"upadd-card",attrs:{shadow:"hover"}},[n("search-page",{attrs:{pageSize:t.searchForm.rowsOfPage,pageNum:t.searchForm.currentPage,total:t.total},on:{"update:pageSize":function(e){return t.$set(t.searchForm,"rowsOfPage",e)},"update:page-size":function(e){return t.$set(t.searchForm,"rowsOfPage",e)},"update:pageNum":function(e){return t.$set(t.searchForm,"currentPage",e)},"update:page-num":function(e){return t.$set(t.searchForm,"currentPage",e)},change:t.fetchData}},[n("el-form",{staticClass:"search",attrs:{inline:""}},[n("div",{staticClass:"search-input"},[t.single?n("el-form-item",{attrs:{label:"所属机构"}},[n("cascader",{model:{value:t.searchForm.orgId,callback:function(e){t.$set(t.searchForm,"orgId",e)},expression:"searchForm.orgId"}})],1):t._e(),t._v(" "),n("el-form-item",{attrs:{label:"设备名称"}},[n("el-input",{staticStyle:{width:"204px"},attrs:{placeholder:"请输入设备名称(模糊查询)",maxlength:"32"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.searchData(e)}},model:{value:t.searchForm.deviceName,callback:function(e){t.$set(t.searchForm,"deviceName","string"==typeof e?e.trim():e)},expression:"searchForm.deviceName"}})],1),t._v(" "),n("el-form-item",{attrs:{label:"设备编号"}},[n("el-input",{staticStyle:{width:"204px"},attrs:{placeholder:"请输入设备编号(精确查询)",maxlength:"32"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.searchData(e)}},model:{value:t.searchForm.deviceCode,callback:function(e){t.$set(t.searchForm,"deviceCode","string"==typeof e?e.trim():e)},expression:"searchForm.deviceCode"}})],1),t._v(" "),n("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.isShow,expression:"isShow"}],attrs:{label:"设备类型"}},[n("el-select",{model:{value:t.searchForm.deviceTypeId,callback:function(e){t.$set(t.searchForm,"deviceTypeId",e)},expression:"searchForm.deviceTypeId"}},t._l(t.engineTypes,function(t,e){return n("el-option",{key:e,attrs:{label:t.label,value:t.value}})}),1)],1),t._v(" "),n("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.isShow&&!t.single,expression:"isShow && !single"}],attrs:{label:"协议类型"}},[n("el-select",{model:{value:t.searchForm.protocol,callback:function(e){t.$set(t.searchForm,"protocol",e)},expression:"searchForm.protocol"}},[n("el-option",{attrs:{label:"全部",value:""}}),t._v(" "),n("el-option",{attrs:{label:"其他",value:"other"}}),t._v(" "),n("el-option",{attrs:{label:"rtsp",value:"rtsp"}})],1)],1),t._v(" "),n("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.isShow,expression:"isShow"}],attrs:{label:"设备状态"}},[n("el-select",{model:{value:t.searchForm.deviceStatus,callback:function(e){t.$set(t.searchForm,"deviceStatus",e)},expression:"searchForm.deviceStatus"}},t._l(t.deviceStatusList,function(t,e){return n("el-option",{key:e,attrs:{label:t.label,value:t.value}})}),1)],1)],1),t._v(" "),n("div",{staticClass:"search-button"},[n("el-form-item",[n("el-button",{directives:[{name:"show",rawName:"v-show",value:!t.isShow,expression:"!isShow"}],staticStyle:{position:"relative",top:"2px",left:"3px"},attrs:{type:"text"},on:{click:function(e){t.isShow=!0}}},[t._v("\n 展开\n "),n("el-icon",{staticClass:"el-icon-arrow-down"})],1),t._v(" "),n("el-button",{directives:[{name:"show",rawName:"v-show",value:t.isShow,expression:"isShow"}],staticStyle:{position:"relative",top:"2px",left:"3px",margin:"0"},attrs:{type:"text"},on:{click:function(e){t.isShow=!1}}},[t._v("\n 收起\n "),n("el-icon",{staticClass:"el-icon-arrow-up"})],1),t._v(" "),n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:[t.$auth.deviceManageSearch],expression:"[$auth.deviceManageSearch]"}],attrs:{type:"warning"},on:{click:t.searchData}},[t._v("查询")]),t._v(" "),n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:[t.$auth.deviceManageSearch],expression:"[$auth.deviceManageSearch]"}],on:{click:t.resetSearch}},[t._v("重置")]),t._v(" "),n("router-link",{attrs:{to:{name:"addEquipment"}}},[n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:[t.$auth.deviceManageAdd],expression:"[$auth.deviceManageAdd]"}],staticStyle:{"margin-left":"10px"},attrs:{type:"primary"},on:{click:t.addClear}},[t._v("新建")])],1)],1)],1)]),t._v(" "),n("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.tableLoading,expression:"tableLoading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData}},[n("el-table-column",{attrs:{type:"index",width:"50",label:"序号"}}),t._v(" "),t.single?n("el-table-column",{attrs:{prop:"orgName",label:"所属机构","show-overflow-tooltip":""}}):t._e(),t._v(" "),n("el-table-column",{attrs:{prop:"deviceName",label:"设备名称"}}),t._v(" "),n("el-table-column",{attrs:{prop:"deviceCode",label:"设备编号"}}),t._v(" "),t.single?t._e():n("el-table-column",{attrs:{prop:"protocol",label:"协议类型"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("span",[t._v(t._s(e.row.protocol?e.row.protocol:"其他"))])]}}],null,!1,622032611)}),t._v(" "),n("el-table-column",{attrs:{prop:"deviceTypeName",label:"设备类型"}}),t._v(" "),n("el-table-column",{attrs:{prop:"deviceVersion",label:"版本号"}}),t._v(" "),n("el-table-column",{attrs:{prop:"address",label:"设备安装位置","min-width":"120","show-overflow-tooltip":""}}),t._v(" "),n("el-table-column",{attrs:{prop:"deviceStatus",label:"状态"},scopedSlots:t._u([{key:"default",fn:function(t){return[n("morer",{attrs:{disabled:"1"==t.row.deviceStatus,leave:"3"==t.row.deviceStatus,value:t.row.deviceStatus}})]}}])}),t._v(" "),n("el-table-column",{attrs:{label:"操作",width:"200px",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){return[n("el-popover",{directives:[{name:"show",rawName:"v-show",value:"rtsp"===e.row.protocol,expression:"scope.row.protocol === 'rtsp'"}],attrs:{placement:"left",width:"300",trigger:"click"}},[e.$index===t.selectIndex?n("div",{staticStyle:{height:"280px"}},[n("live-player",{ref:"player"+e.$index,staticClass:"player",attrs:{rows:1,cols:1,toolBar:0,titleBar:0,dragWindow:"false"}},[n("download-url",[t._v(t._s(t.pluginUrl))]),t._v(" "),n("open-live",{attrs:{index:"0,",id:"",name:"初始化流",url:"",subUrl:""}})],1)],1):t._e(),t._v(" "),n("el-button",{staticClass:"btn-border-right",attrs:{slot:"reference",type:"text"},on:{click:function(n){return t.checkVideo(e.row,e.$index)}},slot:"reference"},[t._v("预览\n ")])],1),t._v(" "),n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:[t.$auth.deviceManageEdit],expression:"[$auth.deviceManageEdit]"}],staticClass:"btn-border-right",attrs:{type:"text"},on:{click:function(n){return t.goDetail(e.row)}}},[t._v("详情")]),t._v(" "),2==e.row.deviceStatus||3==e.row.deviceStatus?n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:[t.$auth.deviceManageEnable],expression:"[$auth.deviceManageEnable]"}],staticClass:"btn-border-right",attrs:{loading:e.row.loading,type:"text"},on:{click:function(n){return t.disable(e.row)}}},[t._v("禁用")]):t._e(),t._v(" "),1==e.row.deviceStatus?n("el-button",{directives:[{name:"permission",rawName:"v-permission",value:[t.$auth.deviceManageEnable],expression:"[$auth.deviceManageEnable]"}],staticClass:"btn-border-right",attrs:{loading:e.row.loading,type:"text"},on:{click:function(n){return t.enable(e.row)}}},[t._v("启用")]):t._e()]}}])})],1)],1)],1)],1)},staticRenderFns:[]};var v=n("VU/8")(d,f,!1,function(t){n("rh9V")},"data-v-7f78016c",null);e.default=v.exports},rh9V:function(t,e,n){var i=n("3D60");"string"==typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);n("rjj0")("b067ccf2",i,!0)}});