123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-libs"],{"00ce":function(t,e,n){"use strict";var r,i=SyntaxError,o=Function,s=TypeError,a=function(t){try{return o('"use strict"; return ('+t+").constructor;")()}catch(e){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(S){c=null}var u=function(){throw new s},l=c?function(){try{return u}catch(t){try{return c(arguments,"callee").get}catch(e){return u}}}():u,f=n("5156")(),h=Object.getPrototypeOf||function(t){return t.__proto__},d={},p="undefined"===typeof Uint8Array?r:h(Uint8Array),g={"%AggregateError%":"undefined"===typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"===typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":f?h([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%Atomics%":"undefined"===typeof Atomics?r:Atomics,"%BigInt%":"undefined"===typeof BigInt?r:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"===typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"===typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"===typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"===typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":d,"%Int8Array%":"undefined"===typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"===typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"===typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?h(h([][Symbol.iterator]())):r,"%JSON%":"object"===typeof JSON?JSON:r,"%Map%":"undefined"===typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!==typeof Map&&f?h((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"===typeof Promise?r:Promise,"%Proxy%":"undefined"===typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"===typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"===typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!==typeof Set&&f?h((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"===typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?h(""[Symbol.iterator]()):r,"%Symbol%":f?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":l,"%TypedArray%":p,"%TypeError%":s,"%Uint8Array%":"undefined"===typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"===typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"===typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"===typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"===typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"===typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"===typeof WeakSet?r:WeakSet},v=function t(e){var n;if("%AsyncFunction%"===e)n=a("async function () {}");else if("%GeneratorFunction%"===e)n=a("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=a("async function* () {}");else if("%AsyncGenerator%"===e){var r=t("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===e){var i=t("%AsyncGenerator%");i&&(n=h(i.prototype))}return g[e]=n,n},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},m=n("0f7c"),I=n("a0d3"),M=m.call(Function.call,Array.prototype.concat),b=m.call(Function.apply,Array.prototype.splice),_=m.call(Function.call,String.prototype.replace),A=m.call(Function.call,String.prototype.slice),C=m.call(Function.call,RegExp.prototype.exec),T=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,E=/\\(\\)?/g,w=function(t){var e=A(t,0,1),n=A(t,-1);if("%"===e&&"%"!==n)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new i("invalid intrinsic syntax, expected opening `%`");var r=[];return _(t,T,(function(t,e,n,i){r[r.length]=n?_(i,E,"$1"):e||t})),r},N=function(t,e){var n,r=t;if(I(y,r)&&(n=y[r],r="%"+n[0]+"%"),I(g,r)){var o=g[r];if(o===d&&(o=v(r)),"undefined"===typeof o&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new i("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!==typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!==typeof e)throw new s('"allowMissing" argument must be a boolean');if(null===C(/^%?[^%]*%?$/,t))throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=w(t),r=n.length>0?n[0]:"",o=N("%"+r+"%",e),a=o.name,u=o.value,l=!1,f=o.alias;f&&(r=f[0],b(n,M([0,1],f)));for(var h=1,d=!0;h<n.length;h+=1){var p=n[h],v=A(p,0,1),y=A(p,-1);if(('"'===v||"'"===v||"`"===v||'"'===y||"'"===y||"`"===y)&&v!==y)throw new i("property names with quotes must have matching quotes");if("constructor"!==p&&d||(l=!0),r+="."+p,a="%"+r+"%",I(g,a))u=g[a];else if(null!=u){if(!(p in u)){if(!e)throw new s("base intrinsic for "+t+" exists, but the property is not available.");return}if(c&&h+1>=n.length){var m=c(u,p);d=!!m,u=d&&"get"in m&&!("originalValue"in m.get)?m.get:u[p]}else d=I(u,p),u=u[p];d&&!l&&(g[a]=u)}}return u}},"013f":function(t,e,n){"use strict";function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}n.d(e,"a",(function(){return r}))},"014b":function(t,e,n){"use strict";var r=n("e53d"),i=n("07e3"),o=n("8e60"),s=n("63b6"),a=n("9138"),c=n("ebfd").KEY,u=n("294c"),l=n("dbdb"),f=n("45f2"),h=n("62a0"),d=n("5168"),p=n("ccb9"),g=n("6718"),v=n("47ee"),y=n("9003"),m=n("e4ae"),I=n("f772"),M=n("241e"),b=n("36c3"),_=n("1bc3"),A=n("aebd"),C=n("a159"),T=n("0395"),E=n("bf0b"),w=n("9aa9"),N=n("d9f6"),S=n("c3a1"),O=E.f,D=N.f,R=T.f,L=r.Symbol,x=r.JSON,j=x&&x.stringify,k="prototype",P=d("_hidden"),U=d("toPrimitive"),z={}.propertyIsEnumerable,G=l("symbol-registry"),B=l("symbols"),Y=l("op-symbols"),F=Object[k],$="function"==typeof L&&!!w.f,H=r.QObject,V=!H||!H[k]||!H[k].findChild,Q=o&&u((function(){return 7!=C(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=O(F,e);r&&delete F[e],D(t,e,n),r&&t!==F&&D(F,e,r)}:D,W=function(t){var e=B[t]=C(L[k]);return e._k=t,e},Z=$&&"symbol"==typeof L.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof L},K=function(t,e,n){return t===F&&K(Y,e,n),m(t),e=_(e,!0),m(n),i(B,e)?(n.enumerable?(i(t,P)&&t[P][e]&&(t[P][e]=!1),n=C(n,{enumerable:A(0,!1)})):(i(t,P)||D(t,P,A(1,{})),t[P][e]=!0),Q(t,e,n)):D(t,e,n)},q=function(t,e){m(t);var n,r=v(e=b(e)),i=0,o=r.length;while(o>i)K(t,n=r[i++],e[n]);return t},J=function(t,e){return void 0===e?C(t):q(C(t),e)},X=function(t){var e=z.call(this,t=_(t,!0));return!(this===F&&i(B,t)&&!i(Y,t))&&(!(e||!i(this,t)||!i(B,t)||i(this,P)&&this[P][t])||e)},tt=function(t,e){if(t=b(t),e=_(e,!0),t!==F||!i(B,e)||i(Y,e)){var n=O(t,e);return!n||!i(B,e)||i(t,P)&&t[P][e]||(n.enumerable=!0),n}},et=function(t){var e,n=R(b(t)),r=[],o=0;while(n.length>o)i(B,e=n[o++])||e==P||e==c||r.push(e);return r},nt=function(t){var e,n=t===F,r=R(n?Y:b(t)),o=[],s=0;while(r.length>s)!i(B,e=r[s++])||n&&!i(F,e)||o.push(B[e]);return o};$||(L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===F&&e.call(Y,n),i(this,P)&&i(this[P],t)&&(this[P][t]=!1),Q(this,t,A(1,n))};return o&&V&&Q(F,t,{configurable:!0,set:e}),W(t)},a(L[k],"toString",(function(){return this._k})),E.f=tt,N.f=K,n("6abf").f=T.f=et,n("355d").f=X,w.f=nt,o&&!n("b8e3")&&a(F,"propertyIsEnumerable",X,!0),p.f=function(t){return W(d(t))}),s(s.G+s.W+s.F*!$,{Symbol:L});for(var rt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),it=0;rt.length>it;)d(rt[it++]);for(var ot=S(d.store),st=0;ot.length>st;)g(ot[st++]);s(s.S+s.F*!$,"Symbol",{for:function(t){return i(G,t+="")?G[t]:G[t]=L(t)},keyFor:function(t){if(!Z(t))throw TypeError(t+" is not a symbol!");for(var e in G)if(G[e]===t)return e},useSetter:function(){V=!0},useSimple:function(){V=!1}}),s(s.S+s.F*!$,"Object",{create:J,defineProperty:K,defineProperties:q,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var at=u((function(){w.f(1)}));s(s.S+s.F*at,"Object",{getOwnPropertySymbols:function(t){return w.f(M(t))}}),x&&s(s.S+s.F*(!$||u((function(){var t=L();return"[null]"!=j([t])||"{}"!=j({a:t})||"{}"!=j(Object(t))}))),"JSON",{stringify:function(t){var e,n,r=[t],i=1;while(arguments.length>i)r.push(arguments[i++]);if(n=e=r[1],(I(e)||void 0!==t)&&!Z(t))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Z(e))return e}),r[1]=e,j.apply(x,r)}}),L[k][U]||n("35e8")(L[k],U,L[k].valueOf),f(L,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},"01f9":function(t,e,n){"use strict";var r=n("2d00"),i=n("5ca1"),o=n("2aba"),s=n("32e9"),a=n("84f2"),c=n("41a0"),u=n("7f20"),l=n("38fd"),f=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",p="keys",g="values",v=function(){return this};t.exports=function(t,e,n,y,m,I,M){c(n,e,y);var b,_,A,C=function(t){if(!h&&t in N)return N[t];switch(t){case p:return function(){return new n(this,t)};case g:return function(){return new n(this,t)}}return function(){return new n(this,t)}},T=e+" Iterator",E=m==g,w=!1,N=t.prototype,S=N[f]||N[d]||m&&N[m],O=S||C(m),D=m?E?C("entries"):O:void 0,R="Array"==e&&N.entries||S;if(R&&(A=l(R.call(new t)),A!==Object.prototype&&A.next&&(u(A,T,!0),r||"function"==typeof A[f]||s(A,f,v))),E&&S&&S.name!==g&&(w=!0,O=function(){return S.call(this)}),r&&!M||!h&&!w&&N[f]||s(N,f,O),a[e]=O,a[T]=v,m)if(b={values:E?O:C(g),keys:I?O:C(p),entries:D},M)for(_ in b)_ in N||o(N,_,b[_]);else i(i.P+i.F*(h||w),e,b);return b}},"0293":function(t,e,n){var r=n("241e"),i=n("53e2");n("ce7e")("getPrototypeOf",(function(){return function(t){return i(r(t))}}))},"0298":function(t,e,n){"use strict";var r=n("5ca1"),i=n("4bf8"),o=n("6a99");r(r.P+r.F*n("79e5")((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(t){var e=i(this),n=o(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},"02de":function(t,e,n){"use strict";function r(t){var e=window.getComputedStyle(t),n="none"===e.display,r=null===t.offsetParent&&"fixed"!==e.position;return n||r}n.d(e,"a",(function(){return r}))},"02f4":function(t,e,n){var r=n("4588"),i=n("be13");t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),c=r(n),u=a.length;return c<0||c>=u?t?"":void 0:(o=a.charCodeAt(c),o<55296||o>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):o:t?a.slice(c,c+2):s-56320+(o-55296<<10)+65536)}}},"036c":function(t,e,n){"use strict";var r=n("5ca1"),i=n("4588"),o=n("bef9"),s=n("9744"),a=1..toFixed,c=Math.floor,u=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",f="0",h=function(t,e){var n=-1,r=e;while(++n<6)r+=t*u[n],u[n]=r%1e7,r=c(r/1e7)},d=function(t){var e=6,n=0;while(--e>=0)n+=u[e],u[e]=c(n/t),n=n%t*1e7},p=function(){var t=6,e="";while(--t>=0)if(""!==e||0===t||0!==u[t]){var n=String(u[t]);e=""===e?n:e+s.call(f,7-n.length)+n}return e},g=function(t,e,n){return 0===e?n:e%2===1?g(t,e-1,n*t):g(t*t,e/2,n)},v=function(t){var e=0,n=t;while(n>=4096)e+=12,n/=4096;while(n>=2)e+=1,n/=2;return e};r(r.P+r.F*(!!a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n("79e5")((function(){a.call({})}))),"Number",{toFixed:function(t){var e,n,r,a,c=o(this,l),u=i(t),y="",m=f;if(u<0||u>20)throw RangeError(l);if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(y="-",c=-c),c>1e-21)if(e=v(c*g(2,69,1))-69,n=e<0?c*g(2,-e,1):c/g(2,e,1),n*=4503599627370496,e=52-e,e>0){h(0,n),r=u;while(r>=7)h(1e7,0),r-=7;h(g(10,r,1),0),r=e-1;while(r>=23)d(1<<23),r-=23;d(1<<r),h(1,1),d(2),m=p()}else h(0,n),h(1<<-e,0),m=p()+s.call(f,u);return u>0?(a=m.length,m=y+(a<=u?"0."+s.call(f,u-a)+m:m.slice(0,a-u)+"."+m.slice(a-u))):m=y+m,m}})},"0390":function(t,e,n){"use strict";var r=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"0395":function(t,e,n){var r=n("36c3"),i=n("6abf").f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(e){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?a(t):i(r(t))}},"042e":function(t,e,n){var r=n("5ca1");r(r.S,"Math",{fround:n("91ca")})},"044b":function(t,e){
- /*!
- * Determine if an object is a Buffer
- *
- * @author Feross Aboukhadijeh <https://feross.org>
- * @license MIT
- */
- t.exports=function(t){return null!=t&&null!=t.constructor&&"function"===typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}},"049f":function(t,e,n){var r=n("5ca1");r(r.S,"Math",{log1p:n("d6c6")})},"04ff":function(t,e,n){var r=n("5ca1"),i=n("3ca5");r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},"061b":function(t,e,n){t.exports=n("fa99")},"06a7":function(t,e,n){var r=n("37a7"),i=n("cb7c"),o=r.get,s=r.key;r.exp({getOwnMetadata:function(t,e){return o(t,i(e),arguments.length<3?void 0:s(arguments[2]))}})},"06db":function(t,e,n){"use strict";var r=n("23c6"),i={};i[n("2b4c")("toStringTag")]="z",i+""!="[object z]"&&n("2aba")(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},"07e3":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"097d":function(t,e,n){"use strict";var r=n("5ca1"),i=n("8378"),o=n("7726"),s=n("ebd6"),a=n("bcaa");r(r.P+r.R,"Promise",{finally:function(t){var e=s(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then((function(){return n}))}:t,n?function(n){return a(e,t()).then((function(){throw n}))}:t)}})},"09e0":function(t,e,n){var r=n("5ca1");r(r.S,"Math",{clamp:function(t,e,n){return Math.min(n,Math.max(e,t))}})},"09fa":function(t,e,n){var r=n("4588"),i=n("9def");t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=i(e);if(e!==n)throw RangeError("Wrong length!");return n}},"0a06":function(t,e,n){"use strict";var r=n("2444"),i=n("c532"),o=n("f6b4"),s=n("5270");function a(t){this.defaults=t,this.interceptors={request:new o,response:new o}}a.prototype.request=function(t){"string"===typeof t&&(t=i.merge({url:arguments[0]},arguments[1])),t=i.merge(r,{method:"get"},this.defaults,t),t.method=t.method.toLowerCase();var e=[s,void 0],n=Promise.resolve(t);this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));while(e.length)n=n.then(e.shift(),e.shift());return n},i.forEach(["delete","get","head","options"],(function(t){a.prototype[t]=function(e,n){return this.request(i.merge(n||{},{method:t,url:e}))}})),i.forEach(["post","put","patch"],(function(t){a.prototype[t]=function(e,n,r){return this.request(i.merge(r||{},{method:t,url:e,data:n}))}})),t.exports=a},"0a49":function(t,e,n){var r=n("9b43"),i=n("626a"),o=n("4bf8"),s=n("9def"),a=n("cd1c");t.exports=function(t,e){var n=1==t,c=2==t,u=3==t,l=4==t,f=6==t,h=5==t||f,d=e||a;return function(e,a,p){for(var g,v,y=o(e),m=i(y),I=r(a,p,3),M=s(m.length),b=0,_=n?d(e,M):c?d(e,0):void 0;M>b;b++)if((h||b in m)&&(g=m[b],v=I(g,b,y),t))if(n)_[b]=v;else if(v)switch(t){case 3:return!0;case 5:return g;case 6:return b;case 2:_.push(g)}else if(l)return!1;return f?-1:u||l?l:_}}},"0b21":function(t,e,n){var r=n("5ca1");r(r.S,"Math",{sign:n("96fb")})},"0bfb":function(t,e,n){"use strict";var r=n("cb7c");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0c00":function(t,e,n){var r=n("5ca1");r(r.S,"Math",{DEG_PER_RAD:Math.PI/180})},"0c36":function(t,e,n){var r=n("5ca1");r(r.G,{global:n("7726")})},"0cd8":function(t,e,n){"use strict";var r=n("5ca1"),i=n("7b23");r(r.P+r.F*!n("2f21")([].reduce,!0),"Array",{reduce:function(t){return i(this,t,arguments.length,arguments[1],!1)}})},"0d25":function(t,e,n){var r=n("5ca1"),i=n("8079")(),o=n("7726").process,s="process"==n("2d95")(o);r(r.G,{asap:function(t){var e=s&&o.domain;i(e?e.bind(t):t)}})},"0d58":function(t,e,n){var r=n("ce10"),i=n("e11e");t.exports=Object.keys||function(t){return r(t,i)}},"0d6d":function(t,e,n){var r=n("d3f4"),i=n("67ab").onFreeze;n("5eda")("freeze",(function(t){return function(e){return t&&r(e)?t(i(e)):e}}))},"0df6":function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"0e15":function(t,e,n){var r=n("597f");t.exports=function(t,e,n){return void 0===n?r(t,e,!1):r(t,n,!1!==e)}},"0f7c":function(t,e,n){"use strict";var r=n("688e");t.exports=Function.prototype.bind||r},"0f88":function(t,e,n){var r,i=n("7726"),o=n("32e9"),s=n("ca5a"),a=s("typed_array"),c=s("view"),u=!(!i.ArrayBuffer||!i.DataView),l=u,f=0,h=9,d="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");while(f<h)(r=i[d[f++]])?(o(r.prototype,a,!0),o(r.prototype,c,!0)):l=!1;t.exports={ABV:u,CONSTR:l,TYPED:a,VIEW:c}},"0fc9":function(t,e,n){var r=n("3a38"),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},1098:function(t,e,n){"use strict";e.__esModule=!0;var r=n("17ed"),i=c(r),o=n("f893"),s=c(o),a="function"===typeof s.default&&"symbol"===typeof i.default?function(t){return typeof t}:function(t){return t&&"function"===typeof s.default&&t.constructor===s.default&&t!==s.default.prototype?"symbol":typeof t};function c(t){return t&&t.__esModule?t:{default:t}}e.default="function"===typeof s.default&&"symbol"===a(i.default)?function(t){return"undefined"===typeof t?"undefined":a(t)}:function(t){return t&&"function"===typeof s.default&&t.constructor===s.default&&t!==s.default.prototype?"symbol":"undefined"===typeof t?"undefined":a(t)}},"10ad":function(t,e,n){"use strict";var r,i=n("7726"),o=n("0a49")(0),s=n("2aba"),a=n("67ab"),c=n("7333"),u=n("643e"),l=n("d3f4"),f=n("b39a"),h=n("b39a"),d=!i.ActiveXObject&&"ActiveXObject"in i,p="WeakMap",g=a.getWeak,v=Object.isExtensible,y=u.ufstore,m=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},I={get:function(t){if(l(t)){var e=g(t);return!0===e?y(f(this,p)).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(f(this,p),t,e)}},M=t.exports=n("e0b8")(p,m,I,u,!0,!0);h&&d&&(r=u.getConstructor(m,p),c(r.prototype,I),a.NEED=!0,o(["delete","has","get","set"],(function(t){var e=M.prototype,n=e[t];s(e,t,(function(e,i){if(l(e)&&!v(e)){this._f||(this._f=new r);var o=this._f[t](e,i);return"set"==t?this:o}return n.call(this,e,i)}))})))},1169:function(t,e,n){var r=n("2d95");t.exports=Array.isArray||function(t){return"Array"==r(t)}},1173:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},"11e9":function(t,e,n){var r=n("52a7"),i=n("4630"),o=n("6821"),s=n("6a99"),a=n("69a8"),c=n("c69a"),u=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?u:function(t,e){if(t=o(t),e=s(e,!0),c)try{return u(t,e)}catch(n){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},"130f":function(t,e,n){var r=n("5ca1"),i=n("1991");r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},1325:function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return a})),n.d(e,"c",(function(){return u}));var r=n("a142"),i=!1;if(!r["g"])try{var o={};Object.defineProperty(o,"passive",{get:function(){i=!0}}),window.addEventListener("test-passive",null,o)}catch(l){}function s(t,e,n,o){void 0===o&&(o=!1),r["g"]||t.addEventListener(e,n,!!i&&{capture:!1,passive:o})}function a(t,e,n){r["g"]||t.removeEventListener(e,n)}function c(t){t.stopPropagation()}function u(t,e){("boolean"!==typeof t.cancelable||t.cancelable)&&t.preventDefault(),e&&c(t)}},"13d9":function(t,e){t.exports=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,n=[],r=0;r<t.rangeCount;r++)n.push(t.getRangeAt(r));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null;break}return t.removeAllRanges(),function(){"Caret"===t.type&&t.removeAllRanges(),t.rangeCount||n.forEach((function(e){t.addRange(e)})),e&&e.focus()}}},1448:function(t,e,n){"use strict";n("386b")("strike",(function(t){return function(){return t(this,"strike","","")}}))},1495:function(t,e,n){var r=n("86cc"),i=n("cb7c"),o=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){i(t);var n,s=o(e),a=s.length,c=0;while(a>c)r.f(t,n=s[c++],e[n]);return t}},"14b9":function(t,e,n){var r=n("5ca1");r(r.P,"String",{repeat:n("9744")})},"14e1":function(t,e,n){},"157a":function(t,e,n){},"15ac":function(t,e,n){n("ec30")("Int16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},1654:function(t,e,n){"use strict";var r=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=r(e,n),this._i+=t.length,{value:t,done:!1})}))},"165b":function(t,e,n){var r=n("d3f4");n("5eda")("isExtensible",(function(t){return function(e){return!!r(e)&&(!t||t(e))}}))},1691:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},1696:function(t,e,n){"use strict";t.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"===typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;var r=42;for(e in t[e]=r,t)return!1;if("function"===typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var i=Object.getOwnPropertySymbols(t);if(1!==i.length||i[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(o.value!==r||!0!==o.enumerable)return!1}return!0}},"17ed":function(t,e,n){t.exports={default:n("d8d6"),__esModule:!0}},"18d0":function(t,e,n){var r=n("5ca1"),i=n("3ca5");r(r.G+r.F*(parseInt!=i),{parseInt:i})},1991:function(t,e,n){var r,i,o,s=n("9b43"),a=n("31f4"),c=n("fab2"),u=n("230e"),l=n("7726"),f=l.process,h=l.setImmediate,d=l.clearImmediate,p=l.MessageChannel,g=l.Dispatch,v=0,y={},m="onreadystatechange",I=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},M=function(t){I.call(t.data)};h&&d||(h=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return y[++v]=function(){a("function"==typeof t?t:Function(t),e)},r(v),v},d=function(t){delete y[t]},"process"==n("2d95")(f)?r=function(t){f.nextTick(s(I,t,1))}:g&&g.now?r=function(t){g.now(s(I,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=M,r=s(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",M,!1)):r=m in u("script")?function(t){c.appendChild(u("script"))[m]=function(){c.removeChild(this),I.call(t)}}:function(t){setTimeout(s(I,t,1),0)}),t.exports={set:h,clear:d}},"1af6":function(t,e,n){var r=n("63b6");r(r.S,"Array",{isArray:n("9003")})},"1bc3":function(t,e,n){var r=n("f772");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"1c01":function(t,e,n){var r=n("5ca1");r(r.S+r.F*!n("9e1e"),"Object",{defineProperty:n("86cc").f})},"1c4c":function(t,e,n){"use strict";var r=n("9b43"),i=n("5ca1"),o=n("4bf8"),s=n("1fa8"),a=n("33a4"),c=n("9def"),u=n("f1ae"),l=n("27ee");i(i.S+i.F*!n("5cc5")((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,i,f,h=o(t),d="function"==typeof this?this:Array,p=arguments.length,g=p>1?arguments[1]:void 0,v=void 0!==g,y=0,m=l(h);if(v&&(g=r(g,p>2?arguments[2]:void 0,2)),void 0==m||d==Array&&a(m))for(e=c(h.length),n=new d(e);e>y;y++)u(n,y,v?g(h[y],y):h[y]);else for(f=m.call(h),n=new d;!(i=f.next()).done;y++)u(n,y,v?s(f,g,[i.value,y],!0):i.value);return n.length=y,n}})},"1d2b":function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},"1df8":function(t,e,n){var r=n("63b6");r(r.S,"Object",{setPrototypeOf:n("ead6").set})},"1ec9":function(t,e,n){var r=n("f772"),i=n("e53d").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},"1f18":function(t,e,n){var r=n("5ca1");r(r.S,"Math",{RAD_PER_DEG:180/Math.PI})},"1f91":function(t,e,n){var r=n("5ca1"),i=n("e9d2"),o=n("91ca");r(r.S,"Math",{fscale:function(t,e,n,r,s){return o(i(t,e,n,r,s))}})},"1fa8":function(t,e,n){var r=n("cb7c");t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(s){var o=t["return"];throw void 0!==o&&r(o.call(t)),s}}},"1fb5":function(t,e,n){"use strict";e.byteLength=l,e.toByteArray=h,e.fromByteArray=g;for(var r=[],i=[],o="undefined"!==typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,c=s.length;a<c;++a)r[a]=s[a],i[s.charCodeAt(a)]=a;function u(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");-1===n&&(n=e);var r=n===e?0:4-n%4;return[n,r]}function l(t){var e=u(t),n=e[0],r=e[1];return 3*(n+r)/4-r}function f(t,e,n){return 3*(e+n)/4-n}function h(t){var e,n,r=u(t),s=r[0],a=r[1],c=new o(f(t,s,a)),l=0,h=a>0?s-4:s;for(n=0;n<h;n+=4)e=i[t.charCodeAt(n)]<<18|i[t.charCodeAt(n+1)]<<12|i[t.charCodeAt(n+2)]<<6|i[t.charCodeAt(n+3)],c[l++]=e>>16&255,c[l++]=e>>8&255,c[l++]=255&e;return 2===a&&(e=i[t.charCodeAt(n)]<<2|i[t.charCodeAt(n+1)]>>4,c[l++]=255&e),1===a&&(e=i[t.charCodeAt(n)]<<10|i[t.charCodeAt(n+1)]<<4|i[t.charCodeAt(n+2)]>>2,c[l++]=e>>8&255,c[l++]=255&e),c}function d(t){return r[t>>18&63]+r[t>>12&63]+r[t>>6&63]+r[63&t]}function p(t,e,n){for(var r,i=[],o=e;o<n;o+=3)r=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(255&t[o+2]),i.push(d(r));return i.join("")}function g(t){for(var e,n=t.length,i=n%3,o=[],s=16383,a=0,c=n-i;a<c;a+=s)o.push(p(t,a,a+s>c?c:a+s));return 1===i?(e=t[n-1],o.push(r[e>>2]+r[e<<4&63]+"==")):2===i&&(e=(t[n-2]<<8)+t[n-1],o.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"=")),o.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},"20d6":function(t,e,n){"use strict";var r=n("5ca1"),i=n("0a49")(6),o="findIndex",s=!0;o in[]&&Array(1)[o]((function(){s=!1})),r(r.P+r.F*s,"Array",{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(o)},"20fd":function(t,e,n){"use strict";var r=n("d9f6"),i=n("aebd");t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},"214f":function(t,e,n){"use strict";n("b0c5");var r=n("2aba"),i=n("32e9"),o=n("79e5"),s=n("be13"),a=n("2b4c"),c=n("520a"),u=a("species"),l=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),f=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 h=a(t),d=!o((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),p=d?!o((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[u]=function(){return n}),n[h](""),!e})):void 0;if(!d||!p||"replace"===t&&!l||"split"===t&&!f){var g=/./[h],v=n(s,h,""[t],(function(t,e,n,r,i){return e.exec===c?d&&!i?{done:!0,value:g.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),y=v[0],m=v[1];r(String.prototype,t,y),i(RegExp.prototype,h,2==e?function(t,e){return m.call(t,this,e)}:function(t){return m.call(t,this)})}}},"217b":function(t,e,n){"use strict";var r=n("d3f4"),i=n("38fd"),o=n("2b4c")("hasInstance"),s=Function.prototype;o in s||n("86cc").f(s,o,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;while(t=i(t))if(this.prototype===t)return!0;return!1}})},"21a1":function(t,e,n){(function(e){(function(e,n){t.exports=n()})(0,(function(){"use strict";"undefined"!==typeof window?window:"undefined"!==typeof e||"undefined"!==typeof self&&self;function t(t,e){return e={exports:{}},t(e,e.exports),e.exports}var n=t((function(t,e){(function(e,n){t.exports=n()})(0,(function(){function t(t){var e=t&&"object"===typeof t;return e&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(t){return Array.isArray(t)?[]:{}}function n(n,r){var i=r&&!0===r.clone;return i&&t(n)?o(e(n),n,r):n}function r(e,r,i){var s=e.slice();return r.forEach((function(r,a){"undefined"===typeof s[a]?s[a]=n(r,i):t(r)?s[a]=o(e[a],r,i):-1===e.indexOf(r)&&s.push(n(r,i))})),s}function i(e,r,i){var s={};return t(e)&&Object.keys(e).forEach((function(t){s[t]=n(e[t],i)})),Object.keys(r).forEach((function(a){t(r[a])&&e[a]?s[a]=o(e[a],r[a],i):s[a]=n(r[a],i)})),s}function o(t,e,o){var s=Array.isArray(e),a=o||{arrayMerge:r},c=a.arrayMerge||r;return s?Array.isArray(t)?c(t,e,o):n(e,o):i(t,e,o)}return o.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return o(t,n,e)}))},o}))}));function r(t){return t=t||Object.create(null),{on:function(e,n){(t[e]||(t[e]=[])).push(n)},off:function(e,n){t[e]&&t[e].splice(t[e].indexOf(n)>>>0,1)},emit:function(e,n){(t[e]||[]).map((function(t){t(n)})),(t["*"]||[]).map((function(t){t(e,n)}))}}}var i=t((function(t,e){var n={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}};e.default=n,t.exports=e.default})),o=function(t){return Object.keys(t).map((function(e){var n=t[e].toString().replace(/"/g,""");return e+'="'+n+'"'})).join(" ")},s=i.svg,a=i.xlink,c={};c[s.name]=s.uri,c[a.name]=a.uri;var u,l=function(t,e){void 0===t&&(t="");var r=n(c,e||{}),i=o(r);return"<svg "+i+">"+t+"</svg>"},f=i.svg,h=i.xlink,d={attrs:(u={style:["position: absolute","width: 0","height: 0"].join("; ")},u[f.name]=f.uri,u[h.name]=h.uri,u)},p=function(t){this.config=n(d,t||{}),this.symbols=[]};p.prototype.add=function(t){var e=this,n=e.symbols,r=this.find(t.id);return r?(n[n.indexOf(r)]=t,!1):(n.push(t),!0)},p.prototype.remove=function(t){var e=this,n=e.symbols,r=this.find(t);return!!r&&(n.splice(n.indexOf(r),1),r.destroy(),!0)},p.prototype.find=function(t){return this.symbols.filter((function(e){return e.id===t}))[0]||null},p.prototype.has=function(t){return null!==this.find(t)},p.prototype.stringify=function(){var t=this.config,e=t.attrs,n=this.symbols.map((function(t){return t.stringify()})).join("");return l(n,e)},p.prototype.toString=function(){return this.stringify()},p.prototype.destroy=function(){this.symbols.forEach((function(t){return t.destroy()}))};var g=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};g.prototype.stringify=function(){return this.content},g.prototype.toString=function(){return this.stringify()},g.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))};var v=function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n},y=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"===typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return v(l(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,n),e}(g),m={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},I=function(t){return Array.prototype.slice.call(t,0)},M=navigator.userAgent,b={isChrome:/chrome/i.test(M),isFirefox:/firefox/i.test(M),isIE:/msie/i.test(M)||/trident/i.test(M),isEdge:/edge/i.test(M)},_=function(t,e){var n=document.createEvent("CustomEvent");n.initCustomEvent(t,!1,!1,e),window.dispatchEvent(n)},A=function(t){var e=[];return I(t.querySelectorAll("style")).forEach((function(t){t.textContent+="",e.push(t)})),e},C=function(t){return(t||window.location.href).split("#")[0]},T=function(t){angular.module("ng").run(["$rootScope",function(e){e.$on("$locationChangeSuccess",(function(e,n,r){_(t,{oldUrl:r,newUrl:n})}))}])},E="linearGradient, radialGradient, pattern",w=function(t,e){return void 0===e&&(e=E),I(t.querySelectorAll("symbol")).forEach((function(t){I(t.querySelectorAll(e)).forEach((function(e){t.parentNode.insertBefore(e,t)}))})),t};function N(t,e){var n=I(t).reduce((function(t,n){if(!n.attributes)return t;var r=I(n.attributes),i=e?r.filter(e):r;return t.concat(i)}),[]);return n}var S=i.xlink.uri,O="xlink:href",D=/[{}|\\\^\[\]`"<>]/g;function R(t){return t.replace(D,(function(t){return"%"+t[0].charCodeAt(0).toString(16).toUpperCase()}))}function L(t,e,n){return I(t).forEach((function(t){var r=t.getAttribute(O);if(r&&0===r.indexOf(e)){var i=r.replace(e,n);t.setAttributeNS(S,O,i)}})),t}var x,j=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],k=j.map((function(t){return"["+t+"]"})).join(","),P=function(t,e,n,r){var i=R(n),o=R(r),s=t.querySelectorAll(k),a=N(s,(function(t){var e=t.localName,n=t.value;return-1!==j.indexOf(e)&&-1!==n.indexOf("url("+i)}));a.forEach((function(t){return t.value=t.value.replace(i,o)})),L(e,i,o)},U={MOUNT:"mount",SYMBOL_MOUNT:"symbol_mount"},z=function(t){function e(e){var i=this;void 0===e&&(e={}),t.call(this,n(m,e));var o=r();this._emitter=o,this.node=null;var s=this,a=s.config;if(a.autoConfigure&&this._autoConfigure(e),a.syncUrlsWithBaseTag){var c=document.getElementsByTagName("base")[0].getAttribute("href");o.on(U.MOUNT,(function(){return i.updateUrls("#",c)}))}var u=this._handleLocationChange.bind(this);this._handleLocationChange=u,a.listenLocationChangeEvent&&window.addEventListener(a.locationChangeEvent,u),a.locationChangeAngularEmitter&&T(a.locationChangeEvent),o.on(U.MOUNT,(function(t){a.moveGradientsOutsideSymbol&&w(t)})),o.on(U.SYMBOL_MOUNT,(function(t){a.moveGradientsOutsideSymbol&&w(t.parentNode),(b.isIE||b.isEdge)&&A(t)}))}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var i={isMounted:{}};return i.isMounted.get=function(){return!!this.node},e.prototype._autoConfigure=function(t){var e=this,n=e.config;"undefined"===typeof t.syncUrlsWithBaseTag&&(n.syncUrlsWithBaseTag="undefined"!==typeof document.getElementsByTagName("base")[0]),"undefined"===typeof t.locationChangeAngularEmitter&&(n.locationChangeAngularEmitter="angular"in window),"undefined"===typeof t.moveGradientsOutsideSymbol&&(n.moveGradientsOutsideSymbol=b.isFirefox)},e.prototype._handleLocationChange=function(t){var e=t.detail,n=e.oldUrl,r=e.newUrl;this.updateUrls(n,r)},e.prototype.add=function(e){var n=this,r=t.prototype.add.call(this,e);return this.isMounted&&r&&(e.mount(n.node),this._emitter.emit(U.SYMBOL_MOUNT,e.node)),r},e.prototype.attach=function(t){var e=this,n=this;if(n.isMounted)return n.node;var r="string"===typeof t?document.querySelector(t):t;return n.node=r,this.symbols.forEach((function(t){t.mount(n.node),e._emitter.emit(U.SYMBOL_MOUNT,t.node)})),I(r.querySelectorAll("symbol")).forEach((function(t){var e=y.createFromExistingNode(t);e.node=t,n.add(e)})),this._emitter.emit(U.MOUNT,r),r},e.prototype.destroy=function(){var t=this,e=t.config,n=t.symbols,r=t._emitter;n.forEach((function(t){return t.destroy()})),r.off("*"),window.removeEventListener(e.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},e.prototype.mount=function(t,e){void 0===t&&(t=this.config.mountTo),void 0===e&&(e=!1);var n=this;if(n.isMounted)return n.node;var r="string"===typeof t?document.querySelector(t):t,i=n.render();return this.node=i,e&&r.childNodes[0]?r.insertBefore(i,r.childNodes[0]):r.appendChild(i),this._emitter.emit(U.MOUNT,i),i},e.prototype.render=function(){return v(this.stringify())},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},e.prototype.updateUrls=function(t,e){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return P(this.node,n,C(t)+"#",C(e)+"#"),!0},Object.defineProperties(e.prototype,i),e}(p),G=t((function(t){
- /*!
- * domready (c) Dustin Diaz 2014 - License MIT
- */
- !function(e,n){t.exports=n()}(0,(function(){var t,e=[],n=document,r=n.documentElement.doScroll,i="DOMContentLoaded",o=(r?/^loaded|^c/:/^loaded|^i|^c/).test(n.readyState);return o||n.addEventListener(i,t=function(){n.removeEventListener(i,t),o=1;while(t=e.shift())t()}),function(t){o?setTimeout(t,0):e.push(t)}}))})),B="__SVG_SPRITE_NODE__",Y="__SVG_SPRITE__",F=!!window[Y];F?x=window[Y]:(x=new z({attrs:{id:B}}),window[Y]=x);var $=function(){var t=document.getElementById(B);t?x.attach(t):x.mount(document.body,!0)};document.body?$():G($);var H=x;return H}))}).call(this,n("c8ba"))},2251:function(t,e,n){var r=n("5ca1"),i=n("cb7c"),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},"230e":function(t,e,n){var r=n("d3f4"),i=n("7726").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},2397:function(t,e,n){var r=n("5ca1"),i=n("2aeb"),o=n("d8e8"),s=n("cb7c"),a=n("d3f4"),c=n("79e5"),u=n("f0c1"),l=(n("7726").Reflect||{}).construct,f=c((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),h=!c((function(){l((function(){}))}));r(r.S+r.F*(f||h),"Reflect",{construct:function(t,e){o(t),s(e);var n=arguments.length<3?t:o(arguments[2]);if(h&&!f)return l(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(u.apply(t,r))}var c=n.prototype,d=i(a(c)?c:Object.prototype),p=Function.apply.call(t,d,e);return a(p)?p:d}})},"23be":function(t,e,n){"use strict";n("aa77")("trimLeft",(function(t){return function(){return t(this,1)}}),"trimStart")},"23bf":function(t,e,n){"use strict";var r=n("5ca1"),i=n("fab2"),o=n("2d95"),s=n("77f1"),a=n("9def"),c=[].slice;r(r.P+r.F*n("79e5")((function(){i&&c.call(i)})),"Array",{slice:function(t,e){var n=a(this.length),r=o(this);if(e=void 0===e?n:e,"Array"==r)return c.call(this,t,e);for(var i=s(t,n),u=s(e,n),l=a(u-i),f=new Array(l),h=0;h<l;h++)f[h]="String"==r?this.charAt(i+h):this[i+h];return f}})},"23c6":function(t,e,n){var r=n("2d95"),i=n("2b4c")("toStringTag"),o="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},"23db":function(t,e,n){(function(t,n){var r=9007199254740991,i="[object Arguments]",o="[object Function]",s="[object GeneratorFunction]",a="[object Map]",c="[object Object]",u="[object Promise]",l="[object Set]",f="[object WeakMap]",h="[object DataView]",d=/[\\^$.*+?()[\]{}|]/g,p=/^\[object .+?Constructor\]$/,g="object"==typeof t&&t&&t.Object===Object&&t,v="object"==typeof self&&self&&self.Object===Object&&self,y=g||v||Function("return this")(),m=e&&!e.nodeType&&e,I=m&&"object"==typeof n&&n&&!n.nodeType&&n,M=I&&I.exports===m;function b(t,e){return null==t?void 0:t[e]}function _(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}function A(t,e){return function(n){return t(e(n))}}var C=Function.prototype,T=Object.prototype,E=y["__core-js_shared__"],w=function(){var t=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),N=C.toString,S=T.hasOwnProperty,O=T.toString,D=RegExp("^"+N.call(S).replace(d,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),R=M?y.Buffer:void 0,L=T.propertyIsEnumerable,x=R?R.isBuffer:void 0,j=A(Object.keys,Object),k=Z(y,"DataView"),P=Z(y,"Map"),U=Z(y,"Promise"),z=Z(y,"Set"),G=Z(y,"WeakMap"),B=!L.call({valueOf:1},"valueOf"),Y=X(k),F=X(P),$=X(U),H=X(z),V=X(G);function Q(t){return O.call(t)}function W(t){if(!ct(t)||q(t))return!1;var e=st(t)||_(t)?D:p;return e.test(X(t))}function Z(t,e){var n=b(t,e);return W(n)?n:void 0}var K=Q;function q(t){return!!w&&w in t}function J(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||T;return t===n}function X(t){if(null!=t){try{return N.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function tt(t){return rt(t)&&S.call(t,"callee")&&(!L.call(t,"callee")||O.call(t)==i)}(k&&K(new k(new ArrayBuffer(1)))!=h||P&&K(new P)!=a||U&&K(U.resolve())!=u||z&&K(new z)!=l||G&&K(new G)!=f)&&(K=function(t){var e=O.call(t),n=e==c?t.constructor:void 0,r=n?X(n):void 0;if(r)switch(r){case Y:return h;case F:return a;case $:return u;case H:return l;case V:return f}return e});var et=Array.isArray;function nt(t){return null!=t&&at(t.length)&&!st(t)}function rt(t){return ut(t)&&nt(t)}var it=x||lt;function ot(t){if(nt(t)&&(et(t)||"string"==typeof t||"function"==typeof t.splice||it(t)||tt(t)))return!t.length;var e=K(t);if(e==a||e==l)return!t.size;if(B||J(t))return!j(t).length;for(var n in t)if(S.call(t,n))return!1;return!0}function st(t){var e=ct(t)?O.call(t):"";return e==o||e==s}function at(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}function ct(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function ut(t){return!!t&&"object"==typeof t}function lt(){return!1}n.exports=ot}).call(this,n("c8ba"),n("62e4")(t))},"241e":function(t,e,n){var r=n("25eb");t.exports=function(t){return Object(r(t))}},"242a":function(t,e,n){"use strict";n("386b")("sup",(function(t){return function(){return t(this,"sup","","")}}))},2444:function(t,e,n){"use strict";(function(e){var r=n("c532"),i=n("c8af"),o={"Content-Type":"application/x-www-form-urlencoded"};function s(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function a(){var t;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof e)&&(t=n("b50d")),t}var c={adapter:a(),transformRequest:[function(t,e){return i(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(s(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(s(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"===typeof t)try{t=JSON.parse(t)}catch(e){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){c.headers[t]=r.merge(o)})),t.exports=c}).call(this,n("4362"))},"24c5":function(t,e,n){"use strict";var r,i,o,s,a=n("b8e3"),c=n("e53d"),u=n("d864"),l=n("40c3"),f=n("63b6"),h=n("f772"),d=n("79aa"),p=n("1173"),g=n("a22a"),v=n("f201"),y=n("4178").set,m=n("aba2")(),I=n("656e"),M=n("4439"),b=n("bc13"),_=n("cd78"),A="Promise",C=c.TypeError,T=c.process,E=T&&T.versions,w=E&&E.v8||"",N=c[A],S="process"==l(T),O=function(){},D=i=I.f,R=!!function(){try{var t=N.resolve(1),e=(t.constructor={})[n("5168")("species")]=function(t){t(O,O)};return(S||"function"==typeof PromiseRejectionEvent)&&t.then(O)instanceof e&&0!==w.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(r){}}(),L=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},x=function(t,e){if(!t._n){t._n=!0;var n=t._c;m((function(){var r=t._v,i=1==t._s,o=0,s=function(e){var n,o,s,a=i?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{a?(i||(2==t._h&&P(t),t._h=1),!0===a?n=r:(l&&l.enter(),n=a(r),l&&(l.exit(),s=!0)),n===e.promise?u(C("Promise-chain cycle")):(o=L(n))?o.call(n,c,u):c(n)):u(r)}catch(f){l&&!s&&l.exit(),u(f)}};while(n.length>o)s(n[o++]);t._c=[],t._n=!1,e&&!t._h&&j(t)}))}},j=function(t){y.call(c,(function(){var e,n,r,i=t._v,o=k(t);if(o&&(e=M((function(){S?T.emit("unhandledRejection",i,t):(n=c.onunhandledrejection)?n({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)})),t._h=S||k(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},k=function(t){return 1!==t._h&&0===(t._a||t._c).length},P=function(t){y.call(c,(function(){var e;S?T.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},U=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),x(e,!0))},z=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw C("Promise can't be resolved itself");(e=L(t))?m((function(){var r={_w:n,_d:!1};try{e.call(t,u(z,r,1),u(U,r,1))}catch(i){U.call(r,i)}})):(n._v=t,n._s=1,x(n,!1))}catch(r){U.call({_w:n,_d:!1},r)}}};R||(N=function(t){p(this,N,A,"_h"),d(t),r.call(this);try{t(u(z,this,1),u(U,this,1))}catch(e){U.call(this,e)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n("5c95")(N.prototype,{then:function(t,e){var n=D(v(this,N));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=S?T.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&x(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=u(z,t,1),this.reject=u(U,t,1)},I.f=D=function(t){return t===N||t===s?new o(t):i(t)}),f(f.G+f.W+f.F*!R,{Promise:N}),n("45f2")(N,A),n("4c95")(A),s=n("584a")[A],f(f.S+f.F*!R,A,{reject:function(t){var e=D(this),n=e.reject;return n(t),e.promise}}),f(f.S+f.F*(a||!R),A,{resolve:function(t){return _(a&&this===s?N:this,t)}}),f(f.S+f.F*!(R&&n("4ee1")((function(t){N.all(t)["catch"](O)}))),A,{all:function(t){var e=this,n=D(e),r=n.resolve,i=n.reject,o=M((function(){var n=[],o=0,s=1;g(t,!1,(function(t){var a=o++,c=!1;n.push(void 0),s++,e.resolve(t).then((function(t){c||(c=!0,n[a]=t,--s||r(n))}),i)})),--s||r(n)}));return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=D(e),r=n.reject,i=M((function(){g(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},"25b0":function(t,e,n){n("1df8"),t.exports=n("584a").Object.setPrototypeOf},"25c9":function(t,e,n){var r=n("5ca1"),i=Math.exp;r(r.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},"25db":function(t,e,n){n("5eda")("getOwnPropertyNames",(function(){return n("7bbc").f}))},"25eb":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"262f":function(t,e,n){var r=n("5ca1");r(r.G+r.W+r.F*!n("0f88").ABV,{DataView:n("ed0b").DataView})},2638:function(t,e,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(t){for(var e,n=1;n<arguments.length;n++)for(var r in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},r.apply(this,arguments)}var i=["attrs","props","domProps"],o=["class","style","directives"],s=["on","nativeOn"],a=function(t){return t.reduce((function(t,e){for(var n in e)if(t[n])if(-1!==i.indexOf(n))t[n]=r({},t[n],e[n]);else if(-1!==o.indexOf(n)){var a=t[n]instanceof Array?t[n]:[t[n]],u=e[n]instanceof Array?e[n]:[e[n]];t[n]=[].concat(a,u)}else if(-1!==s.indexOf(n))for(var l in e[n])if(t[n][l]){var f=t[n][l]instanceof Array?t[n][l]:[t[n][l]],h=e[n][l]instanceof Array?e[n][l]:[e[n][l]];t[n][l]=[].concat(f,h)}else t[n][l]=e[n][l];else if("hook"===n)for(var d in e[n])t[n][d]=t[n][d]?c(t[n][d],e[n][d]):e[n][d];else t[n]=e[n];else t[n]=e[n];return t}),{})},c=function(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}};t.exports=a},"268f":function(t,e,n){t.exports=n("fde4")},2714:function(t,e,n){var r="function"===typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&i&&"function"===typeof i.get?i.get:null,s=r&&Map.prototype.forEach,a="function"===typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=a&&c&&"function"===typeof c.get?c.get:null,l=a&&Set.prototype.forEach,f="function"===typeof WeakMap&&WeakMap.prototype,h=f?WeakMap.prototype.has:null,d="function"===typeof WeakSet&&WeakSet.prototype,p=d?WeakSet.prototype.has:null,g="function"===typeof WeakRef&&WeakRef.prototype,v=g?WeakRef.prototype.deref:null,y=Boolean.prototype.valueOf,m=Object.prototype.toString,I=Function.prototype.toString,M=String.prototype.match,b=String.prototype.slice,_=String.prototype.replace,A=String.prototype.toUpperCase,C=String.prototype.toLowerCase,T=RegExp.prototype.test,E=Array.prototype.concat,w=Array.prototype.join,N=Array.prototype.slice,S=Math.floor,O="function"===typeof BigInt?BigInt.prototype.valueOf:null,D=Object.getOwnPropertySymbols,R="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,L="function"===typeof Symbol&&"object"===typeof Symbol.iterator,x="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===L||"symbol")?Symbol.toStringTag:null,j=Object.prototype.propertyIsEnumerable,k=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function P(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||T.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof t){var r=t<0?-S(-t):S(t);if(r!==t){var i=String(r),o=b.call(e,i.length+1);return _.call(i,n,"$&_")+"."+_.call(_.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return _.call(e,n,"$&_")}var U=n(1),z=U.custom,G=K(z)?z:null;function B(t,e,n){var r="double"===(n.quoteStyle||e)?'"':"'";return r+t+r}function Y(t){return _.call(String(t),/"/g,""")}function F(t){return"[object Array]"===tt(t)&&(!x||!("object"===typeof t&&x in t))}function $(t){return"[object Date]"===tt(t)&&(!x||!("object"===typeof t&&x in t))}function H(t){return"[object RegExp]"===tt(t)&&(!x||!("object"===typeof t&&x in t))}function V(t){return"[object Error]"===tt(t)&&(!x||!("object"===typeof t&&x in t))}function Q(t){return"[object String]"===tt(t)&&(!x||!("object"===typeof t&&x in t))}function W(t){return"[object Number]"===tt(t)&&(!x||!("object"===typeof t&&x in t))}function Z(t){return"[object Boolean]"===tt(t)&&(!x||!("object"===typeof t&&x in t))}function K(t){if(L)return t&&"object"===typeof t&&t instanceof Symbol;if("symbol"===typeof t)return!0;if(!t||"object"!==typeof t||!R)return!1;try{return R.call(t),!0}catch(e){}return!1}function q(t){if(!t||"object"!==typeof t||!O)return!1;try{return O.call(t),!0}catch(e){}return!1}t.exports=function t(e,n,r,i){var a=n||{};if(X(a,"quoteStyle")&&"single"!==a.quoteStyle&&"double"!==a.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(X(a,"maxStringLength")&&("number"===typeof a.maxStringLength?a.maxStringLength<0&&a.maxStringLength!==1/0:null!==a.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var c=!X(a,"customInspect")||a.customInspect;if("boolean"!==typeof c&&"symbol"!==c)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(X(a,"indent")&&null!==a.indent&&"\t"!==a.indent&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(X(a,"numericSeparator")&&"boolean"!==typeof a.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var f=a.numericSeparator;if("undefined"===typeof e)return"undefined";if(null===e)return"null";if("boolean"===typeof e)return e?"true":"false";if("string"===typeof e)return ut(e,a);if("number"===typeof e){if(0===e)return 1/0/e>0?"0":"-0";var h=String(e);return f?P(e,h):h}if("bigint"===typeof e){var d=String(e)+"n";return f?P(e,d):d}var p="undefined"===typeof a.depth?5:a.depth;if("undefined"===typeof r&&(r=0),r>=p&&p>0&&"object"===typeof e)return F(e)?"[Array]":"[Object]";var g=gt(a,r);if("undefined"===typeof i)i=[];else if(nt(i,e)>=0)return"[Circular]";function v(e,n,o){if(n&&(i=N.call(i),i.push(n)),o){var s={depth:a.depth};return X(a,"quoteStyle")&&(s.quoteStyle=a.quoteStyle),t(e,s,r+1,i)}return t(e,a,r+1,i)}if("function"===typeof e&&!H(e)){var m=et(e),I=yt(e,v);return"[Function"+(m?": "+m:" (anonymous)")+"]"+(I.length>0?" { "+w.call(I,", ")+" }":"")}if(K(e)){var M=L?_.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):R.call(e);return"object"!==typeof e||L?M:ft(M)}if(ct(e)){for(var A="<"+C.call(String(e.nodeName)),T=e.attributes||[],S=0;S<T.length;S++)A+=" "+T[S].name+"="+B(Y(T[S].value),"double",a);return A+=">",e.childNodes&&e.childNodes.length&&(A+="..."),A+="</"+C.call(String(e.nodeName))+">",A}if(F(e)){if(0===e.length)return"[]";var D=yt(e,v);return g&&!pt(D)?"["+vt(D,g)+"]":"[ "+w.call(D,", ")+" ]"}if(V(e)){var z=yt(e,v);return"cause"in Error.prototype||!("cause"in e)||j.call(e,"cause")?0===z.length?"["+String(e)+"]":"{ ["+String(e)+"] "+w.call(z,", ")+" }":"{ ["+String(e)+"] "+w.call(E.call("[cause]: "+v(e.cause),z),", ")+" }"}if("object"===typeof e&&c){if(G&&"function"===typeof e[G]&&U)return U(e,{depth:p-r});if("symbol"!==c&&"function"===typeof e.inspect)return e.inspect()}if(rt(e)){var J=[];return s.call(e,(function(t,n){J.push(v(n,e,!0)+" => "+v(t,e))})),dt("Map",o.call(e),J,g)}if(st(e)){var lt=[];return l.call(e,(function(t){lt.push(v(t,e))})),dt("Set",u.call(e),lt,g)}if(it(e))return ht("WeakMap");if(at(e))return ht("WeakSet");if(ot(e))return ht("WeakRef");if(W(e))return ft(v(Number(e)));if(q(e))return ft(v(O.call(e)));if(Z(e))return ft(y.call(e));if(Q(e))return ft(v(String(e)));if(!$(e)&&!H(e)){var mt=yt(e,v),It=k?k(e)===Object.prototype:e instanceof Object||e.constructor===Object,Mt=e instanceof Object?"":"null prototype",bt=!It&&x&&Object(e)===e&&x in e?b.call(tt(e),8,-1):Mt?"Object":"",_t=It||"function"!==typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"",At=_t+(bt||Mt?"["+w.call(E.call([],bt||[],Mt||[]),": ")+"] ":"");return 0===mt.length?At+"{}":g?At+"{"+vt(mt,g)+"}":At+"{ "+w.call(mt,", ")+" }"}return String(e)};var J=Object.prototype.hasOwnProperty||function(t){return t in this};function X(t,e){return J.call(t,e)}function tt(t){return m.call(t)}function et(t){if(t.name)return t.name;var e=M.call(I.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function nt(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}function rt(t){if(!o||!t||"object"!==typeof t)return!1;try{o.call(t);try{u.call(t)}catch(e){return!0}return t instanceof Map}catch(n){}return!1}function it(t){if(!h||!t||"object"!==typeof t)return!1;try{h.call(t,h);try{p.call(t,p)}catch(e){return!0}return t instanceof WeakMap}catch(n){}return!1}function ot(t){if(!v||!t||"object"!==typeof t)return!1;try{return v.call(t),!0}catch(e){}return!1}function st(t){if(!u||!t||"object"!==typeof t)return!1;try{u.call(t);try{o.call(t)}catch(e){return!0}return t instanceof Set}catch(n){}return!1}function at(t){if(!p||!t||"object"!==typeof t)return!1;try{p.call(t,p);try{h.call(t,h)}catch(e){return!0}return t instanceof WeakSet}catch(n){}return!1}function ct(t){return!(!t||"object"!==typeof t)&&("undefined"!==typeof HTMLElement&&t instanceof HTMLElement||"string"===typeof t.nodeName&&"function"===typeof t.getAttribute)}function ut(t,e){if(t.length>e.maxStringLength){var n=t.length-e.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return ut(b.call(t,0,e.maxStringLength),e)+r}var i=_.call(_.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lt);return B(i,"single",e)}function lt(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+A.call(e.toString(16))}function ft(t){return"Object("+t+")"}function ht(t){return t+" { ? }"}function dt(t,e,n,r){var i=r?vt(n,r):w.call(n,", ");return t+" ("+e+") {"+i+"}"}function pt(t){for(var e=0;e<t.length;e++)if(nt(t[e],"\n")>=0)return!1;return!0}function gt(t,e){var n;if("\t"===t.indent)n="\t";else{if(!("number"===typeof t.indent&&t.indent>0))return null;n=w.call(Array(t.indent+1)," ")}return{base:n,prev:w.call(Array(e+1),n)}}function vt(t,e){if(0===t.length)return"";var n="\n"+e.prev+e.base;return n+w.call(t,","+n)+"\n"+e.prev}function yt(t,e){var n=F(t),r=[];if(n){r.length=t.length;for(var i=0;i<t.length;i++)r[i]=X(t,i)?e(t[i],t):""}var o,s="function"===typeof D?D(t):[];if(L){o={};for(var a=0;a<s.length;a++)o["$"+s[a]]=s[a]}for(var c in t)X(t,c)&&(n&&String(Number(c))===c&&c<t.length||L&&o["$"+c]instanceof Symbol||(T.call(/[^\w$]/,c)?r.push(e(c,t)+": "+e(t[c],t)):r.push(c+": "+e(t[c],t))));if("function"===typeof D)for(var u=0;u<s.length;u++)j.call(t,s[u])&&r.push("["+e(s[u])+"]: "+e(t[s[u]],t));return r}},2748:function(t,e,n){var r=n("5ca1"),i=180/Math.PI;r(r.S,"Math",{degrees:function(t){return t*i}})},"27ee":function(t,e,n){var r=n("23c6"),i=n("2b4c")("iterator"),o=n("84f2");t.exports=n("8378").getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},2877:function(t,e,n){"use strict";function r(t,e,n,r,i,o,s,a){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=c):i&&(c=a?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},"28a5":function(t,e,n){"use strict";var r=n("aae3"),i=n("cb7c"),o=n("ebd6"),s=n("0390"),a=n("9def"),c=n("5f1b"),u=n("520a"),l=n("79e5"),f=Math.min,h=[].push,d="split",p="length",g="lastIndex",v=4294967295,y=!l((function(){RegExp(v,"y")}));n("214f")("split",2,(function(t,e,n,l){var m;return m="c"=="abbc"[d](/(b)*/)[1]||4!="test"[d](/(?:)/,-1)[p]||2!="ab"[d](/(?:ab)*/)[p]||4!="."[d](/(.?)(.?)/)[p]||"."[d](/()()/)[p]>1||""[d](/.?/)[p]?function(t,e){var i=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(i,t,e);var o,s,a,c=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,d=void 0===e?v:e>>>0,y=new RegExp(t.source,l+"g");while(o=u.call(y,i)){if(s=y[g],s>f&&(c.push(i.slice(f,o.index)),o[p]>1&&o.index<i[p]&&h.apply(c,o.slice(1)),a=o[0][p],f=s,c[p]>=d))break;y[g]===o.index&&y[g]++}return f===i[p]?!a&&y.test("")||c.push(""):c.push(i.slice(f)),c[p]>d?c.slice(0,d):c}:"0"[d](void 0,0)[p]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var i=t(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,i,r):m.call(String(i),n,r)},function(t,e){var r=l(m,t,this,e,m!==n);if(r.done)return r.value;var u=i(t),h=String(this),d=o(u,RegExp),p=u.unicode,g=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(y?"y":"g"),I=new d(y?u:"^(?:"+u.source+")",g),M=void 0===e?v:e>>>0;if(0===M)return[];if(0===h.length)return null===c(I,h)?[h]:[];var b=0,_=0,A=[];while(_<h.length){I.lastIndex=y?_:0;var C,T=c(I,y?h:h.slice(_));if(null===T||(C=f(a(I.lastIndex+(y?0:_)),h.length))===b)_=s(h,_,p);else{if(A.push(h.slice(b,_)),A.length===M)return A;for(var E=1;E<=T.length-1;E++)if(A.push(T[E]),A.length===M)return A;_=b=C}}return A.push(h.slice(b)),A}]}))},"28e4":function(t,e,n){"use strict";var r=n("5ca1"),i=n("d8e8"),o=n("9b43"),s=n("4a59");t.exports=function(t){r(r.S,t,{from:function(t){var e,n,r,a,c=arguments[1];return i(this),e=void 0!==c,e&&i(c),void 0==t?new this:(n=[],e?(r=0,a=o(c,arguments[2],2),s(t,!1,(function(t){n.push(a(t,r++))}))):s(t,!1,n.push,n),new this(n))}})}},"294c":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"2aba":function(t,e,n){var r=n("7726"),i=n("32e9"),o=n("69a8"),s=n("ca5a")("src"),a=n("fa5b"),c="toString",u=(""+a).split(c);n("8378").inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var c="function"==typeof n;c&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(c&&(o(n,s)||i(n,s,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,c,(function(){return"function"==typeof this&&this[s]||a.call(this)}))},"2aeb":function(t,e,n){var r=n("cb7c"),i=n("1495"),o=n("e11e"),s=n("613b")("IE_PROTO"),a=function(){},c="prototype",u=function(){var t,e=n("230e")("iframe"),r=o.length,i="<",s=">";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+s+"document.F=Object"+i+"/script"+s),t.close(),u=t.F;while(r--)delete u[c][o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[c]=r(t),n=new a,a[c]=null,n[s]=t):n=u(),void 0===e?n:i(n,e)}},"2b0e":function(t,e,n){"use strict";n.r(e),function(t){
- /*!
- * Vue.js v2.6.10
- * (c) 2014-2019 Evan You
- * Released under the MIT License.
- */
- var n=Object.freeze({});function r(t){return void 0===t||null===t}function i(t){return void 0!==t&&null!==t}function o(t){return!0===t}function s(t){return!1===t}function a(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function c(t){return null!==t&&"object"===typeof t}var u=Object.prototype.toString;function l(t){return"[object Object]"===u.call(t)}function f(t){return"[object RegExp]"===u.call(t)}function h(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return i(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function p(t){return null==t?"":Array.isArray(t)||l(t)&&t.toString===u?JSON.stringify(t,null,2):String(t)}function g(t){var e=parseFloat(t);return isNaN(e)?t:e}function v(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}v("slot,component",!0);var y=v("key,ref,slot,slot-scope,is");function m(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var I=Object.prototype.hasOwnProperty;function M(t,e){return I.call(t,e)}function b(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var _=/-(\w)/g,A=b((function(t){return t.replace(_,(function(t,e){return e?e.toUpperCase():""}))})),C=b((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),T=/\B([A-Z])/g,E=b((function(t){return t.replace(T,"-$1").toLowerCase()}));function w(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function N(t,e){return t.bind(e)}var S=Function.prototype.bind?N:w;function O(t,e){e=e||0;var n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}function D(t,e){for(var n in e)t[n]=e[n];return t}function R(t){for(var e={},n=0;n<t.length;n++)t[n]&&D(e,t[n]);return e}function L(t,e,n){}var x=function(t,e,n){return!1},j=function(t){return t};function k(t,e){if(t===e)return!0;var n=c(t),r=c(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var i=Array.isArray(t),o=Array.isArray(e);if(i&&o)return t.length===e.length&&t.every((function(t,n){return k(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(i||o)return!1;var s=Object.keys(t),a=Object.keys(e);return s.length===a.length&&s.every((function(n){return k(t[n],e[n])}))}catch(u){return!1}}function P(t,e){for(var n=0;n<t.length;n++)if(k(t[n],e))return n;return-1}function U(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var z="data-server-rendered",G=["component","directive","filter"],B=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],Y={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:x,isReservedAttr:x,isUnknownElement:x,getTagNamespace:L,parsePlatformTagName:j,mustUseProp:x,async:!0,_lifecycleHooks:B},F=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function $(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function H(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var V=new RegExp("[^"+F.source+".$_\\d]");function Q(t){if(!V.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}var W,Z="__proto__"in{},K="undefined"!==typeof window,q="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,J=q&&WXEnvironment.platform.toLowerCase(),X=K&&window.navigator.userAgent.toLowerCase(),tt=X&&/msie|trident/.test(X),et=X&&X.indexOf("msie 9.0")>0,nt=X&&X.indexOf("edge/")>0,rt=(X&&X.indexOf("android"),X&&/iphone|ipad|ipod|ios/.test(X)||"ios"===J),it=(X&&/chrome\/\d+/.test(X),X&&/phantomjs/.test(X),X&&X.match(/firefox\/(\d+)/)),ot={}.watch,st=!1;if(K)try{var at={};Object.defineProperty(at,"passive",{get:function(){st=!0}}),window.addEventListener("test-passive",null,at)}catch(As){}var ct=function(){return void 0===W&&(W=!K&&!q&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),W},ut=K&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function lt(t){return"function"===typeof t&&/native code/.test(t.toString())}var ft,ht="undefined"!==typeof Symbol&<(Symbol)&&"undefined"!==typeof Reflect&<(Reflect.ownKeys);ft="undefined"!==typeof Set&<(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var dt=L,pt=0,gt=function(){this.id=pt++,this.subs=[]};gt.prototype.addSub=function(t){this.subs.push(t)},gt.prototype.removeSub=function(t){m(this.subs,t)},gt.prototype.depend=function(){gt.target&>.target.addDep(this)},gt.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e<n;e++)t[e].update()},gt.target=null;var vt=[];function yt(t){vt.push(t),gt.target=t}function mt(){vt.pop(),gt.target=vt[vt.length-1]}var It=function(t,e,n,r,i,o,s,a){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=a,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},Mt={child:{configurable:!0}};Mt.child.get=function(){return this.componentInstance},Object.defineProperties(It.prototype,Mt);var bt=function(t){void 0===t&&(t="");var e=new It;return e.text=t,e.isComment=!0,e};function _t(t){return new It(void 0,void 0,void 0,String(t))}function At(t){var e=new It(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var Ct=Array.prototype,Tt=Object.create(Ct),Et=["push","pop","shift","unshift","splice","sort","reverse"];Et.forEach((function(t){var e=Ct[t];H(Tt,t,(function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];var i,o=e.apply(this,n),s=this.__ob__;switch(t){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2);break}return i&&s.observeArray(i),s.dep.notify(),o}))}));var wt=Object.getOwnPropertyNames(Tt),Nt=!0;function St(t){Nt=t}var Ot=function(t){this.value=t,this.dep=new gt,this.vmCount=0,H(t,"__ob__",this),Array.isArray(t)?(Z?Dt(t,Tt):Rt(t,Tt,wt),this.observeArray(t)):this.walk(t)};function Dt(t,e){t.__proto__=e}function Rt(t,e,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];H(t,o,e[o])}}function Lt(t,e){var n;if(c(t)&&!(t instanceof It))return M(t,"__ob__")&&t.__ob__ instanceof Ot?n=t.__ob__:Nt&&!ct()&&(Array.isArray(t)||l(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new Ot(t)),e&&n&&n.vmCount++,n}function xt(t,e,n,r,i){var o=new gt,s=Object.getOwnPropertyDescriptor(t,e);if(!s||!1!==s.configurable){var a=s&&s.get,c=s&&s.set;a&&!c||2!==arguments.length||(n=t[e]);var u=!i&&Lt(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=a?a.call(t):n;return gt.target&&(o.depend(),u&&(u.dep.depend(),Array.isArray(e)&&Pt(e))),e},set:function(e){var r=a?a.call(t):n;e===r||e!==e&&r!==r||a&&!c||(c?c.call(t,e):n=e,u=!i&&Lt(e),o.notify())}})}}function jt(t,e,n){if(Array.isArray(t)&&h(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var r=t.__ob__;return t._isVue||r&&r.vmCount?n:r?(xt(r.value,e,n),r.dep.notify(),n):(t[e]=n,n)}function kt(t,e){if(Array.isArray(t)&&h(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||M(t,e)&&(delete t[e],n&&n.dep.notify())}}function Pt(t){for(var e=void 0,n=0,r=t.length;n<r;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&Pt(e)}Ot.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)xt(t,e[n])},Ot.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Lt(t[e])};var Ut=Y.optionMergeStrategies;function zt(t,e){if(!e)return t;for(var n,r,i,o=ht?Reflect.ownKeys(e):Object.keys(e),s=0;s<o.length;s++)n=o[s],"__ob__"!==n&&(r=t[n],i=e[n],M(t,n)?r!==i&&l(r)&&l(i)&&zt(r,i):jt(t,n,i));return t}function Gt(t,e,n){return n?function(){var r="function"===typeof e?e.call(n,n):e,i="function"===typeof t?t.call(n,n):t;return r?zt(r,i):i}:e?t?function(){return zt("function"===typeof e?e.call(this,this):e,"function"===typeof t?t.call(this,this):t)}:e:t}function Bt(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?Yt(n):n}function Yt(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}function Ft(t,e,n,r){var i=Object.create(t||null);return e?D(i,e):i}Ut.data=function(t,e,n){return n?Gt(t,e,n):e&&"function"!==typeof e?t:Gt(t,e)},B.forEach((function(t){Ut[t]=Bt})),G.forEach((function(t){Ut[t+"s"]=Ft})),Ut.watch=function(t,e,n,r){if(t===ot&&(t=void 0),e===ot&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var i={};for(var o in D(i,t),e){var s=i[o],a=e[o];s&&!Array.isArray(s)&&(s=[s]),i[o]=s?s.concat(a):Array.isArray(a)?a:[a]}return i},Ut.props=Ut.methods=Ut.inject=Ut.computed=function(t,e,n,r){if(!t)return e;var i=Object.create(null);return D(i,t),e&&D(i,e),i},Ut.provide=Gt;var $t=function(t,e){return void 0===e?t:e};function Ht(t,e){var n=t.props;if(n){var r,i,o,s={};if(Array.isArray(n)){r=n.length;while(r--)i=n[r],"string"===typeof i&&(o=A(i),s[o]={type:null})}else if(l(n))for(var a in n)i=n[a],o=A(a),s[o]=l(i)?i:{type:i};else 0;t.props=s}}function Vt(t,e){var n=t.inject;if(n){var r=t.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(l(n))for(var o in n){var s=n[o];r[o]=l(s)?D({from:o},s):{from:s}}else 0}}function Qt(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"===typeof r&&(e[n]={bind:r,update:r})}}function Wt(t,e,n){if("function"===typeof e&&(e=e.options),Ht(e,n),Vt(e,n),Qt(e),!e._base&&(e.extends&&(t=Wt(t,e.extends,n)),e.mixins))for(var r=0,i=e.mixins.length;r<i;r++)t=Wt(t,e.mixins[r],n);var o,s={};for(o in t)a(o);for(o in e)M(t,o)||a(o);function a(r){var i=Ut[r]||$t;s[r]=i(t[r],e[r],n,r)}return s}function Zt(t,e,n,r){if("string"===typeof n){var i=t[e];if(M(i,n))return i[n];var o=A(n);if(M(i,o))return i[o];var s=C(o);if(M(i,s))return i[s];var a=i[n]||i[o]||i[s];return a}}function Kt(t,e,n,r){var i=e[t],o=!M(n,t),s=n[t],a=te(Boolean,i.type);if(a>-1)if(o&&!M(i,"default"))s=!1;else if(""===s||s===E(t)){var c=te(String,i.type);(c<0||a<c)&&(s=!0)}if(void 0===s){s=qt(r,i,t);var u=Nt;St(!0),Lt(s),St(u)}return s}function qt(t,e,n){if(M(e,"default")){var r=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:"function"===typeof r&&"Function"!==Jt(e.type)?r.call(t):r}}function Jt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function Xt(t,e){return Jt(t)===Jt(e)}function te(t,e){if(!Array.isArray(e))return Xt(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(Xt(e[n],t))return n;return-1}function ee(t,e,n){yt();try{if(e){var r=e;while(r=r.$parent){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{var s=!1===i[o].call(r,t,e,n);if(s)return}catch(As){re(As,r,"errorCaptured hook")}}}re(t,e,n)}finally{mt()}}function ne(t,e,n,r,i){var o;try{o=n?t.apply(e,n):t.call(e),o&&!o._isVue&&d(o)&&!o._handled&&(o.catch((function(t){return ee(t,r,i+" (Promise/async)")})),o._handled=!0)}catch(As){ee(As,r,i)}return o}function re(t,e,n){if(Y.errorHandler)try{return Y.errorHandler.call(null,t,e,n)}catch(As){As!==t&&ie(As,null,"config.errorHandler")}ie(t,e,n)}function ie(t,e,n){if(!K&&!q||"undefined"===typeof console)throw t;console.error(t)}var oe,se=!1,ae=[],ce=!1;function ue(){ce=!1;var t=ae.slice(0);ae.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!==typeof Promise&<(Promise)){var le=Promise.resolve();oe=function(){le.then(ue),rt&&setTimeout(L)},se=!0}else if(tt||"undefined"===typeof MutationObserver||!lt(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())oe="undefined"!==typeof setImmediate&<(setImmediate)?function(){setImmediate(ue)}:function(){setTimeout(ue,0)};else{var fe=1,he=new MutationObserver(ue),de=document.createTextNode(String(fe));he.observe(de,{characterData:!0}),oe=function(){fe=(fe+1)%2,de.data=String(fe)},se=!0}function pe(t,e){var n;if(ae.push((function(){if(t)try{t.call(e)}catch(As){ee(As,e,"nextTick")}else n&&n(e)})),ce||(ce=!0,oe()),!t&&"undefined"!==typeof Promise)return new Promise((function(t){n=t}))}var ge=new ft;function ve(t){ye(t,ge),ge.clear()}function ye(t,e){var n,r,i=Array.isArray(t);if(!(!i&&!c(t)||Object.isFrozen(t)||t instanceof It)){if(t.__ob__){var o=t.__ob__.dep.id;if(e.has(o))return;e.add(o)}if(i){n=t.length;while(n--)ye(t[n],e)}else{r=Object.keys(t),n=r.length;while(n--)ye(t[r[n]],e)}}}var me=b((function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var n="~"===t.charAt(0);t=n?t.slice(1):t;var r="!"===t.charAt(0);return t=r?t.slice(1):t,{name:t,once:n,capture:r,passive:e}}));function Ie(t,e){function n(){var t=arguments,r=n.fns;if(!Array.isArray(r))return ne(r,null,arguments,e,"v-on handler");for(var i=r.slice(),o=0;o<i.length;o++)ne(i[o],null,t,e,"v-on handler")}return n.fns=t,n}function Me(t,e,n,i,s,a){var c,u,l,f;for(c in t)u=t[c],l=e[c],f=me(c),r(u)||(r(l)?(r(u.fns)&&(u=t[c]=Ie(u,a)),o(f.once)&&(u=t[c]=s(f.name,u,f.capture)),n(f.name,u,f.capture,f.passive,f.params)):u!==l&&(l.fns=u,t[c]=l));for(c in e)r(t[c])&&(f=me(c),i(f.name,e[c],f.capture))}function be(t,e,n){var s;t instanceof It&&(t=t.data.hook||(t.data.hook={}));var a=t[e];function c(){n.apply(this,arguments),m(s.fns,c)}r(a)?s=Ie([c]):i(a.fns)&&o(a.merged)?(s=a,s.fns.push(c)):s=Ie([a,c]),s.merged=!0,t[e]=s}function _e(t,e,n){var o=e.options.props;if(!r(o)){var s={},a=t.attrs,c=t.props;if(i(a)||i(c))for(var u in o){var l=E(u);Ae(s,c,u,l,!0)||Ae(s,a,u,l,!1)}return s}}function Ae(t,e,n,r,o){if(i(e)){if(M(e,n))return t[n]=e[n],o||delete e[n],!0;if(M(e,r))return t[n]=e[r],o||delete e[r],!0}return!1}function Ce(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}function Te(t){return a(t)?[_t(t)]:Array.isArray(t)?we(t):void 0}function Ee(t){return i(t)&&i(t.text)&&s(t.isComment)}function we(t,e){var n,s,c,u,l=[];for(n=0;n<t.length;n++)s=t[n],r(s)||"boolean"===typeof s||(c=l.length-1,u=l[c],Array.isArray(s)?s.length>0&&(s=we(s,(e||"")+"_"+n),Ee(s[0])&&Ee(u)&&(l[c]=_t(u.text+s[0].text),s.shift()),l.push.apply(l,s)):a(s)?Ee(u)?l[c]=_t(u.text+s):""!==s&&l.push(_t(s)):Ee(s)&&Ee(u)?l[c]=_t(u.text+s.text):(o(t._isVList)&&i(s.tag)&&r(s.key)&&i(e)&&(s.key="__vlist"+e+"_"+n+"__"),l.push(s)));return l}function Ne(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}function Se(t){var e=Oe(t.$options.inject,t);e&&(St(!1),Object.keys(e).forEach((function(n){xt(t,n,e[n])})),St(!0))}function Oe(t,e){if(t){for(var n=Object.create(null),r=ht?Reflect.ownKeys(t):Object.keys(t),i=0;i<r.length;i++){var o=r[i];if("__ob__"!==o){var s=t[o].from,a=e;while(a){if(a._provided&&M(a._provided,s)){n[o]=a._provided[s];break}a=a.$parent}if(!a)if("default"in t[o]){var c=t[o].default;n[o]="function"===typeof c?c.call(e):c}else 0}}return n}}function De(t,e){if(!t||!t.length)return{};for(var n={},r=0,i=t.length;r<i;r++){var o=t[r],s=o.data;if(s&&s.attrs&&s.attrs.slot&&delete s.attrs.slot,o.context!==e&&o.fnContext!==e||!s||null==s.slot)(n.default||(n.default=[])).push(o);else{var a=s.slot,c=n[a]||(n[a]=[]);"template"===o.tag?c.push.apply(c,o.children||[]):c.push(o)}}for(var u in n)n[u].every(Re)&&delete n[u];return n}function Re(t){return t.isComment&&!t.asyncFactory||" "===t.text}function Le(t,e,r){var i,o=Object.keys(e).length>0,s=t?!!t.$stable:!o,a=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(s&&r&&r!==n&&a===r.$key&&!o&&!r.$hasNormal)return r;for(var c in i={},t)t[c]&&"$"!==c[0]&&(i[c]=xe(e,c,t[c]))}else i={};for(var u in e)u in i||(i[u]=je(e,u));return t&&Object.isExtensible(t)&&(t._normalized=i),H(i,"$stable",s),H(i,"$key",a),H(i,"$hasNormal",o),i}function xe(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});return t=t&&"object"===typeof t&&!Array.isArray(t)?[t]:Te(t),t&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function je(t,e){return function(){return t[e]}}function ke(t,e){var n,r,o,s,a;if(Array.isArray(t)||"string"===typeof t)for(n=new Array(t.length),r=0,o=t.length;r<o;r++)n[r]=e(t[r],r);else if("number"===typeof t)for(n=new Array(t),r=0;r<t;r++)n[r]=e(r+1,r);else if(c(t))if(ht&&t[Symbol.iterator]){n=[];var u=t[Symbol.iterator](),l=u.next();while(!l.done)n.push(e(l.value,n.length)),l=u.next()}else for(s=Object.keys(t),n=new Array(s.length),r=0,o=s.length;r<o;r++)a=s[r],n[r]=e(t[a],a,r);return i(n)||(n=[]),n._isVList=!0,n}function Pe(t,e,n,r){var i,o=this.$scopedSlots[t];o?(n=n||{},r&&(n=D(D({},r),n)),i=o(n)||e):i=this.$slots[t]||e;var s=n&&n.slot;return s?this.$createElement("template",{slot:s},i):i}function Ue(t){return Zt(this.$options,"filters",t,!0)||j}function ze(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function Ge(t,e,n,r,i){var o=Y.keyCodes[e]||n;return i&&r&&!Y.keyCodes[e]?ze(i,r):o?ze(o,t):r?E(r)!==e:void 0}function Be(t,e,n,r,i){if(n)if(c(n)){var o;Array.isArray(n)&&(n=R(n));var s=function(s){if("class"===s||"style"===s||y(s))o=t;else{var a=t.attrs&&t.attrs.type;o=r||Y.mustUseProp(e,a,s)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var c=A(s),u=E(s);if(!(c in o)&&!(u in o)&&(o[s]=n[s],i)){var l=t.on||(t.on={});l["update:"+s]=function(t){n[s]=t}}};for(var a in n)s(a)}else;return t}function Ye(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e||(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),$e(r,"__static__"+t,!1)),r}function Fe(t,e,n){return $e(t,"__once__"+e+(n?"_"+n:""),!0),t}function $e(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!==typeof t[r]&&He(t[r],e+"_"+r,n);else He(t,e,n)}function He(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Ve(t,e){if(e)if(l(e)){var n=t.on=t.on?D({},t.on):{};for(var r in e){var i=n[r],o=e[r];n[r]=i?[].concat(i,o):o}}else;return t}function Qe(t,e,n,r){e=e||{$stable:!n};for(var i=0;i<t.length;i++){var o=t[i];Array.isArray(o)?Qe(o,e,n):o&&(o.proxy&&(o.fn.proxy=!0),e[o.key]=o.fn)}return r&&(e.$key=r),e}function We(t,e){for(var n=0;n<e.length;n+=2){var r=e[n];"string"===typeof r&&r&&(t[e[n]]=e[n+1])}return t}function Ze(t,e){return"string"===typeof t?e+t:t}function Ke(t){t._o=Fe,t._n=g,t._s=p,t._l=ke,t._t=Pe,t._q=k,t._i=P,t._m=Ye,t._f=Ue,t._k=Ge,t._b=Be,t._v=_t,t._e=bt,t._u=Qe,t._g=Ve,t._d=We,t._p=Ze}function qe(t,e,r,i,s){var a,c=this,u=s.options;M(i,"_uid")?(a=Object.create(i),a._original=i):(a=i,i=i._original);var l=o(u._compiled),f=!l;this.data=t,this.props=e,this.children=r,this.parent=i,this.listeners=t.on||n,this.injections=Oe(u.inject,i),this.slots=function(){return c.$slots||Le(t.scopedSlots,c.$slots=De(r,i)),c.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return Le(t.scopedSlots,this.slots())}}),l&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=Le(t.scopedSlots,this.$slots)),u._scopeId?this._c=function(t,e,n,r){var o=fn(a,t,e,n,r,f);return o&&!Array.isArray(o)&&(o.fnScopeId=u._scopeId,o.fnContext=i),o}:this._c=function(t,e,n,r){return fn(a,t,e,n,r,f)}}function Je(t,e,r,o,s){var a=t.options,c={},u=a.props;if(i(u))for(var l in u)c[l]=Kt(l,u,e||n);else i(r.attrs)&&tn(c,r.attrs),i(r.props)&&tn(c,r.props);var f=new qe(r,c,s,o,t),h=a.render.call(null,f._c,f);if(h instanceof It)return Xe(h,r,f.parent,a,f);if(Array.isArray(h)){for(var d=Te(h)||[],p=new Array(d.length),g=0;g<d.length;g++)p[g]=Xe(d[g],r,f.parent,a,f);return p}}function Xe(t,e,n,r,i){var o=At(t);return o.fnContext=n,o.fnOptions=r,e.slot&&((o.data||(o.data={})).slot=e.slot),o}function tn(t,e){for(var n in e)t[A(n)]=e[n]}Ke(qe.prototype);var en={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;en.prepatch(n,n)}else{var r=t.componentInstance=on(t,On);r.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions,r=e.componentInstance=t.componentInstance;jn(r,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,zn(n,"mounted")),t.data.keepAlive&&(e._isMounted?Jn(n):Pn(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?Un(e,!0):e.$destroy())}},nn=Object.keys(en);function rn(t,e,n,s,a){if(!r(t)){var u=n.$options._base;if(c(t)&&(t=u.extend(t)),"function"===typeof t){var l;if(r(t.cid)&&(l=t,t=bn(l,u),void 0===t))return Mn(l,e,n,s,a);e=e||{},br(t),i(e.model)&&cn(t.options,e);var f=_e(e,t,a);if(o(t.options.functional))return Je(t,f,e,n,s);var h=e.on;if(e.on=e.nativeOn,o(t.options.abstract)){var d=e.slot;e={},d&&(e.slot=d)}sn(e);var p=t.options.name||a,g=new It("vue-component-"+t.cid+(p?"-"+p:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:f,listeners:h,tag:a,children:s},l);return g}}}function on(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;return i(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns),new t.componentOptions.Ctor(n)}function sn(t){for(var e=t.hook||(t.hook={}),n=0;n<nn.length;n++){var r=nn[n],i=e[r],o=en[r];i===o||i&&i._merged||(e[r]=i?an(o,i):o)}}function an(t,e){var n=function(n,r){t(n,r),e(n,r)};return n._merged=!0,n}function cn(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var o=e.on||(e.on={}),s=o[r],a=e.model.callback;i(s)?(Array.isArray(s)?-1===s.indexOf(a):s!==a)&&(o[r]=[a].concat(s)):o[r]=a}var un=1,ln=2;function fn(t,e,n,r,i,s){return(Array.isArray(n)||a(n))&&(i=r,r=n,n=void 0),o(s)&&(i=ln),hn(t,e,n,r,i)}function hn(t,e,n,r,o){if(i(n)&&i(n.__ob__))return bt();if(i(n)&&i(n.is)&&(e=n.is),!e)return bt();var s,a,c;(Array.isArray(r)&&"function"===typeof r[0]&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),o===ln?r=Te(r):o===un&&(r=Ce(r)),"string"===typeof e)?(a=t.$vnode&&t.$vnode.ns||Y.getTagNamespace(e),s=Y.isReservedTag(e)?new It(Y.parsePlatformTagName(e),n,r,void 0,void 0,t):n&&n.pre||!i(c=Zt(t.$options,"components",e))?new It(e,n,r,void 0,void 0,t):rn(c,n,t,r,e)):s=rn(e,n,t,r);return Array.isArray(s)?s:i(s)?(i(a)&&dn(s,a),i(n)&&pn(n),s):bt()}function dn(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),i(t.children))for(var s=0,a=t.children.length;s<a;s++){var c=t.children[s];i(c.tag)&&(r(c.ns)||o(n)&&"svg"!==c.tag)&&dn(c,e,n)}}function pn(t){c(t.style)&&ve(t.style),c(t.class)&&ve(t.class)}function gn(t){t._vnode=null,t._staticTrees=null;var e=t.$options,r=t.$vnode=e._parentVnode,i=r&&r.context;t.$slots=De(e._renderChildren,i),t.$scopedSlots=n,t._c=function(e,n,r,i){return fn(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return fn(t,e,n,r,i,!0)};var o=r&&r.data;xt(t,"$attrs",o&&o.attrs||n,null,!0),xt(t,"$listeners",e._parentListeners||n,null,!0)}var vn,yn=null;function mn(t){Ke(t.prototype),t.prototype.$nextTick=function(t){return pe(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,r=n.render,i=n._parentVnode;i&&(e.$scopedSlots=Le(i.data.scopedSlots,e.$slots,e.$scopedSlots)),e.$vnode=i;try{yn=e,t=r.call(e._renderProxy,e.$createElement)}catch(As){ee(As,e,"render"),t=e._vnode}finally{yn=null}return Array.isArray(t)&&1===t.length&&(t=t[0]),t instanceof It||(t=bt()),t.parent=i,t}}function In(t,e){return(t.__esModule||ht&&"Module"===t[Symbol.toStringTag])&&(t=t.default),c(t)?e.extend(t):t}function Mn(t,e,n,r,i){var o=bt();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:r,tag:i},o}function bn(t,e){if(o(t.error)&&i(t.errorComp))return t.errorComp;if(i(t.resolved))return t.resolved;var n=yn;if(n&&i(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),o(t.loading)&&i(t.loadingComp))return t.loadingComp;if(n&&!i(t.owners)){var s=t.owners=[n],a=!0,u=null,l=null;n.$on("hook:destroyed",(function(){return m(s,n)}));var f=function(t){for(var e=0,n=s.length;e<n;e++)s[e].$forceUpdate();t&&(s.length=0,null!==u&&(clearTimeout(u),u=null),null!==l&&(clearTimeout(l),l=null))},h=U((function(n){t.resolved=In(n,e),a?s.length=0:f(!0)})),p=U((function(e){i(t.errorComp)&&(t.error=!0,f(!0))})),g=t(h,p);return c(g)&&(d(g)?r(t.resolved)&&g.then(h,p):d(g.component)&&(g.component.then(h,p),i(g.error)&&(t.errorComp=In(g.error,e)),i(g.loading)&&(t.loadingComp=In(g.loading,e),0===g.delay?t.loading=!0:u=setTimeout((function(){u=null,r(t.resolved)&&r(t.error)&&(t.loading=!0,f(!1))}),g.delay||200)),i(g.timeout)&&(l=setTimeout((function(){l=null,r(t.resolved)&&p(null)}),g.timeout)))),a=!1,t.loading?t.loadingComp:t.resolved}}function _n(t){return t.isComment&&t.asyncFactory}function An(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(i(n)&&(i(n.componentOptions)||_n(n)))return n}}function Cn(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Nn(t,e)}function Tn(t,e){vn.$on(t,e)}function En(t,e){vn.$off(t,e)}function wn(t,e){var n=vn;return function r(){var i=e.apply(null,arguments);null!==i&&n.$off(t,r)}}function Nn(t,e,n){vn=t,Me(e,n||{},Tn,En,wn,t),vn=void 0}function Sn(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var i=0,o=t.length;i<o;i++)r.$on(t[i],n);else(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0);return r},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var r=0,i=t.length;r<i;r++)n.$off(t[r],e);return n}var o,s=n._events[t];if(!s)return n;if(!e)return n._events[t]=null,n;var a=s.length;while(a--)if(o=s[a],o===e||o.fn===e){s.splice(a,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?O(n):n;for(var r=O(arguments,1),i='event handler for "'+t+'"',o=0,s=n.length;o<s;o++)ne(n[o],e,r,e,i)}return e}}var On=null;function Dn(t){var e=On;return On=t,function(){On=e}}function Rn(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function Ln(t){t.prototype._update=function(t,e){var n=this,r=n.$el,i=n._vnode,o=Dn(n);n._vnode=t,n.$el=i?n.__patch__(i,t):n.__patch__(n.$el,t,e,!1),o(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){zn(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||m(e.$children,t),t._watcher&&t._watcher.teardown();var n=t._watchers.length;while(n--)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),zn(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function xn(t,e,n){var r;return t.$el=e,t.$options.render||(t.$options.render=bt),zn(t,"beforeMount"),r=function(){t._update(t._render(),n)},new nr(t,r,L,{before:function(){t._isMounted&&!t._isDestroyed&&zn(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,zn(t,"mounted")),t}function jn(t,e,r,i,o){var s=i.data.scopedSlots,a=t.$scopedSlots,c=!!(s&&!s.$stable||a!==n&&!a.$stable||s&&t.$scopedSlots.$key!==s.$key),u=!!(o||t.$options._renderChildren||c);if(t.$options._parentVnode=i,t.$vnode=i,t._vnode&&(t._vnode.parent=i),t.$options._renderChildren=o,t.$attrs=i.data.attrs||n,t.$listeners=r||n,e&&t.$options.props){St(!1);for(var l=t._props,f=t.$options._propKeys||[],h=0;h<f.length;h++){var d=f[h],p=t.$options.props;l[d]=Kt(d,p,e,t)}St(!0),t.$options.propsData=e}r=r||n;var g=t.$options._parentListeners;t.$options._parentListeners=r,Nn(t,r,g),u&&(t.$slots=De(o,i.context),t.$forceUpdate())}function kn(t){while(t&&(t=t.$parent))if(t._inactive)return!0;return!1}function Pn(t,e){if(e){if(t._directInactive=!1,kn(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)Pn(t.$children[n]);zn(t,"activated")}}function Un(t,e){if((!e||(t._directInactive=!0,!kn(t)))&&!t._inactive){t._inactive=!0;for(var n=0;n<t.$children.length;n++)Un(t.$children[n]);zn(t,"deactivated")}}function zn(t,e){yt();var n=t.$options[e],r=e+" hook";if(n)for(var i=0,o=n.length;i<o;i++)ne(n[i],t,null,t,r);t._hasHookEvent&&t.$emit("hook:"+e),mt()}var Gn=[],Bn=[],Yn={},Fn=!1,$n=!1,Hn=0;function Vn(){Hn=Gn.length=Bn.length=0,Yn={},Fn=$n=!1}var Qn=0,Wn=Date.now;if(K&&!tt){var Zn=window.performance;Zn&&"function"===typeof Zn.now&&Wn()>document.createEvent("Event").timeStamp&&(Wn=function(){return Zn.now()})}function Kn(){var t,e;for(Qn=Wn(),$n=!0,Gn.sort((function(t,e){return t.id-e.id})),Hn=0;Hn<Gn.length;Hn++)t=Gn[Hn],t.before&&t.before(),e=t.id,Yn[e]=null,t.run();var n=Bn.slice(),r=Gn.slice();Vn(),Xn(n),qn(r),ut&&Y.devtools&&ut.emit("flush")}function qn(t){var e=t.length;while(e--){var n=t[e],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&zn(r,"updated")}}function Jn(t){t._inactive=!1,Bn.push(t)}function Xn(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,Pn(t[e],!0)}function tr(t){var e=t.id;if(null==Yn[e]){if(Yn[e]=!0,$n){var n=Gn.length-1;while(n>Hn&&Gn[n].id>t.id)n--;Gn.splice(n+1,0,t)}else Gn.push(t);Fn||(Fn=!0,pe(Kn))}}var er=0,nr=function(t,e,n,r,i){this.vm=t,i&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++er,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ft,this.newDepIds=new ft,this.expression="","function"===typeof e?this.getter=e:(this.getter=Q(e),this.getter||(this.getter=L)),this.value=this.lazy?void 0:this.get()};nr.prototype.get=function(){var t;yt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(As){if(!this.user)throw As;ee(As,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ve(t),mt(),this.cleanupDeps()}return t},nr.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},nr.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},nr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():tr(this)},nr.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(As){ee(As,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},nr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},nr.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},nr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||m(this.vm._watchers,this);var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1}};var rr={enumerable:!0,configurable:!0,get:L,set:L};function ir(t,e,n){rr.get=function(){return this[e][n]},rr.set=function(t){this[e][n]=t},Object.defineProperty(t,n,rr)}function or(t){t._watchers=[];var e=t.$options;e.props&&sr(t,e.props),e.methods&&pr(t,e.methods),e.data?ar(t):Lt(t._data={},!0),e.computed&&lr(t,e.computed),e.watch&&e.watch!==ot&&gr(t,e.watch)}function sr(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[],o=!t.$parent;o||St(!1);var s=function(o){i.push(o);var s=Kt(o,e,n,t);xt(r,o,s),o in t||ir(t,"_props",o)};for(var a in e)s(a);St(!0)}function ar(t){var e=t.$options.data;e=t._data="function"===typeof e?cr(e,t):e||{},l(e)||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);while(i--){var o=n[i];0,r&&M(r,o)||$(o)||ir(t,"_data",o)}Lt(e,!0)}function cr(t,e){yt();try{return t.call(e,e)}catch(As){return ee(As,e,"data()"),{}}finally{mt()}}var ur={lazy:!0};function lr(t,e){var n=t._computedWatchers=Object.create(null),r=ct();for(var i in e){var o=e[i],s="function"===typeof o?o:o.get;0,r||(n[i]=new nr(t,s||L,L,ur)),i in t||fr(t,i,o)}}function fr(t,e,n){var r=!ct();"function"===typeof n?(rr.get=r?hr(e):dr(n),rr.set=L):(rr.get=n.get?r&&!1!==n.cache?hr(e):dr(n.get):L,rr.set=n.set||L),Object.defineProperty(t,e,rr)}function hr(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),gt.target&&e.depend(),e.value}}function dr(t){return function(){return t.call(this,this)}}function pr(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?L:S(e[n],t)}function gr(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)vr(t,n,r[i]);else vr(t,n,r)}}function vr(t,e,n,r){return l(n)&&(r=n,n=n.handler),"string"===typeof n&&(n=t[n]),t.$watch(e,n,r)}function yr(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=jt,t.prototype.$delete=kt,t.prototype.$watch=function(t,e,n){var r=this;if(l(e))return vr(r,t,e,n);n=n||{},n.user=!0;var i=new nr(r,t,e,n);if(n.immediate)try{e.call(r,i.value)}catch(o){ee(o,r,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}var mr=0;function Ir(t){t.prototype._init=function(t){var e=this;e._uid=mr++,e._isVue=!0,t&&t._isComponent?Mr(e,t):e.$options=Wt(br(e.constructor),t||{},e),e._renderProxy=e,e._self=e,Rn(e),Cn(e),gn(e),zn(e,"beforeCreate"),Se(e),or(e),Ne(e),zn(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}function Mr(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function br(t){var e=t.options;if(t.super){var n=br(t.super),r=t.superOptions;if(n!==r){t.superOptions=n;var i=_r(t);i&&D(t.extendOptions,i),e=t.options=Wt(n,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function _r(t){var e,n=t.options,r=t.sealedOptions;for(var i in n)n[i]!==r[i]&&(e||(e={}),e[i]=n[i]);return e}function Ar(t){this._init(t)}function Cr(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=O(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}function Tr(t){t.mixin=function(t){return this.options=Wt(this.options,t),this}}function Er(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name;var s=function(t){this._init(t)};return s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.cid=e++,s.options=Wt(n.options,t),s["super"]=n,s.options.props&&wr(s),s.options.computed&&Nr(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,G.forEach((function(t){s[t]=n[t]})),o&&(s.options.components[o]=s),s.superOptions=n.options,s.extendOptions=t,s.sealedOptions=D({},s.options),i[r]=s,s}}function wr(t){var e=t.options.props;for(var n in e)ir(t.prototype,"_props",n)}function Nr(t){var e=t.options.computed;for(var n in e)fr(t.prototype,n,e[n])}function Sr(t){G.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&l(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"===typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function Or(t){return t&&(t.Ctor.options.name||t.tag)}function Dr(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function Rr(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var s=n[o];if(s){var a=Or(s.componentOptions);a&&!e(a)&&Lr(n,o,r,i)}}}function Lr(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,m(n,e)}Ir(Ar),yr(Ar),Sn(Ar),Ln(Ar),mn(Ar);var xr=[String,RegExp,Array],jr={name:"keep-alive",abstract:!0,props:{include:xr,exclude:xr,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Lr(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",(function(e){Rr(t,(function(t){return Dr(e,t)}))})),this.$watch("exclude",(function(e){Rr(t,(function(t){return!Dr(e,t)}))}))},render:function(){var t=this.$slots.default,e=An(t),n=e&&e.componentOptions;if(n){var r=Or(n),i=this,o=i.include,s=i.exclude;if(o&&(!r||!Dr(o,r))||s&&r&&Dr(s,r))return e;var a=this,c=a.cache,u=a.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;c[l]?(e.componentInstance=c[l].componentInstance,m(u,l),u.push(l)):(c[l]=e,u.push(l),this.max&&u.length>parseInt(this.max)&&Lr(c,u[0],u,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},kr={KeepAlive:jr};function Pr(t){var e={get:function(){return Y}};Object.defineProperty(t,"config",e),t.util={warn:dt,extend:D,mergeOptions:Wt,defineReactive:xt},t.set=jt,t.delete=kt,t.nextTick=pe,t.observable=function(t){return Lt(t),t},t.options=Object.create(null),G.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,D(t.options.components,kr),Cr(t),Tr(t),Er(t),Sr(t)}Pr(Ar),Object.defineProperty(Ar.prototype,"$isServer",{get:ct}),Object.defineProperty(Ar.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Ar,"FunctionalRenderContext",{value:qe}),Ar.version="2.6.10";var Ur=v("style,class"),zr=v("input,textarea,option,select,progress"),Gr=function(t,e,n){return"value"===n&&zr(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Br=v("contenteditable,draggable,spellcheck"),Yr=v("events,caret,typing,plaintext-only"),Fr=function(t,e){return Wr(e)||"false"===e?"false":"contenteditable"===t&&Yr(e)?e:"true"},$r=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Hr="http://www.w3.org/1999/xlink",Vr=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Qr=function(t){return Vr(t)?t.slice(6,t.length):""},Wr=function(t){return null==t||!1===t};function Zr(t){var e=t.data,n=t,r=t;while(i(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(e=Kr(r.data,e));while(i(n=n.parent))n&&n.data&&(e=Kr(e,n.data));return qr(e.staticClass,e.class)}function Kr(t,e){return{staticClass:Jr(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function qr(t,e){return i(t)||i(e)?Jr(t,Xr(e)):""}function Jr(t,e){return t?e?t+" "+e:t:e||""}function Xr(t){return Array.isArray(t)?ti(t):c(t)?ei(t):"string"===typeof t?t:""}function ti(t){for(var e,n="",r=0,o=t.length;r<o;r++)i(e=Xr(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}function ei(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}var ni={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ri=v("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),ii=v("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),oi=function(t){return ri(t)||ii(t)};function si(t){return ii(t)?"svg":"math"===t?"math":void 0}var ai=Object.create(null);function ci(t){if(!K)return!0;if(oi(t))return!1;if(t=t.toLowerCase(),null!=ai[t])return ai[t];var e=document.createElement(t);return t.indexOf("-")>-1?ai[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:ai[t]=/HTMLUnknownElement/.test(e.toString())}var ui=v("text,number,password,search,email,tel,url");function li(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function fi(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function hi(t,e){return document.createElementNS(ni[t],e)}function di(t){return document.createTextNode(t)}function pi(t){return document.createComment(t)}function gi(t,e,n){t.insertBefore(e,n)}function vi(t,e){t.removeChild(e)}function yi(t,e){t.appendChild(e)}function mi(t){return t.parentNode}function Ii(t){return t.nextSibling}function Mi(t){return t.tagName}function bi(t,e){t.textContent=e}function _i(t,e){t.setAttribute(e,"")}var Ai=Object.freeze({createElement:fi,createElementNS:hi,createTextNode:di,createComment:pi,insertBefore:gi,removeChild:vi,appendChild:yi,parentNode:mi,nextSibling:Ii,tagName:Mi,setTextContent:bi,setStyleScope:_i}),Ci={create:function(t,e){Ti(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Ti(t,!0),Ti(e))},destroy:function(t){Ti(t,!0)}};function Ti(t,e){var n=t.data.ref;if(i(n)){var r=t.context,o=t.componentInstance||t.elm,s=r.$refs;e?Array.isArray(s[n])?m(s[n],o):s[n]===o&&(s[n]=void 0):t.data.refInFor?Array.isArray(s[n])?s[n].indexOf(o)<0&&s[n].push(o):s[n]=[o]:s[n]=o}}var Ei=new It("",{},[]),wi=["create","activate","update","remove","destroy"];function Ni(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&i(t.data)===i(e.data)&&Si(t,e)||o(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&r(e.asyncFactory.error))}function Si(t,e){if("input"!==t.tag)return!0;var n,r=i(n=t.data)&&i(n=n.attrs)&&n.type,o=i(n=e.data)&&i(n=n.attrs)&&n.type;return r===o||ui(r)&&ui(o)}function Oi(t,e,n){var r,o,s={};for(r=e;r<=n;++r)o=t[r].key,i(o)&&(s[o]=r);return s}function Di(t){var e,n,s={},c=t.modules,u=t.nodeOps;for(e=0;e<wi.length;++e)for(s[wi[e]]=[],n=0;n<c.length;++n)i(c[n][wi[e]])&&s[wi[e]].push(c[n][wi[e]]);function l(t){return new It(u.tagName(t).toLowerCase(),{},[],void 0,t)}function f(t,e){function n(){0===--n.listeners&&h(t)}return n.listeners=e,n}function h(t){var e=u.parentNode(t);i(e)&&u.removeChild(e,t)}function d(t,e,n,r,s,a,c){if(i(t.elm)&&i(a)&&(t=a[c]=At(t)),t.isRootInsert=!s,!p(t,e,n,r)){var l=t.data,f=t.children,h=t.tag;i(h)?(t.elm=t.ns?u.createElementNS(t.ns,h):u.createElement(h,t),_(t),I(t,f,e),i(l)&&b(t,e),m(n,t.elm,r)):o(t.isComment)?(t.elm=u.createComment(t.text),m(n,t.elm,r)):(t.elm=u.createTextNode(t.text),m(n,t.elm,r))}}function p(t,e,n,r){var s=t.data;if(i(s)){var a=i(t.componentInstance)&&s.keepAlive;if(i(s=s.hook)&&i(s=s.init)&&s(t,!1),i(t.componentInstance))return g(t,e),m(n,t.elm,r),o(a)&&y(t,e,n,r),!0}}function g(t,e){i(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,M(t)?(b(t,e),_(t)):(Ti(t),e.push(t))}function y(t,e,n,r){var o,a=t;while(a.componentInstance)if(a=a.componentInstance._vnode,i(o=a.data)&&i(o=o.transition)){for(o=0;o<s.activate.length;++o)s.activate[o](Ei,a);e.push(a);break}m(n,t.elm,r)}function m(t,e,n){i(t)&&(i(n)?u.parentNode(n)===t&&u.insertBefore(t,e,n):u.appendChild(t,e))}function I(t,e,n){if(Array.isArray(e)){0;for(var r=0;r<e.length;++r)d(e[r],n,t.elm,null,!0,e,r)}else a(t.text)&&u.appendChild(t.elm,u.createTextNode(String(t.text)))}function M(t){while(t.componentInstance)t=t.componentInstance._vnode;return i(t.tag)}function b(t,n){for(var r=0;r<s.create.length;++r)s.create[r](Ei,t);e=t.data.hook,i(e)&&(i(e.create)&&e.create(Ei,t),i(e.insert)&&n.push(t))}function _(t){var e;if(i(e=t.fnScopeId))u.setStyleScope(t.elm,e);else{var n=t;while(n)i(e=n.context)&&i(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e),n=n.parent}i(e=On)&&e!==t.context&&e!==t.fnContext&&i(e=e.$options._scopeId)&&u.setStyleScope(t.elm,e)}function A(t,e,n,r,i,o){for(;r<=i;++r)d(n[r],o,t,e,!1,n,r)}function C(t){var e,n,r=t.data;if(i(r))for(i(e=r.hook)&&i(e=e.destroy)&&e(t),e=0;e<s.destroy.length;++e)s.destroy[e](t);if(i(e=t.children))for(n=0;n<t.children.length;++n)C(t.children[n])}function T(t,e,n,r){for(;n<=r;++n){var o=e[n];i(o)&&(i(o.tag)?(E(o),C(o)):h(o.elm))}}function E(t,e){if(i(e)||i(t.data)){var n,r=s.remove.length+1;for(i(e)?e.listeners+=r:e=f(t.elm,r),i(n=t.componentInstance)&&i(n=n._vnode)&&i(n.data)&&E(n,e),n=0;n<s.remove.length;++n)s.remove[n](t,e);i(n=t.data.hook)&&i(n=n.remove)?n(t,e):e()}else h(t.elm)}function w(t,e,n,o,s){var a,c,l,f,h=0,p=0,g=e.length-1,v=e[0],y=e[g],m=n.length-1,I=n[0],M=n[m],b=!s;while(h<=g&&p<=m)r(v)?v=e[++h]:r(y)?y=e[--g]:Ni(v,I)?(S(v,I,o,n,p),v=e[++h],I=n[++p]):Ni(y,M)?(S(y,M,o,n,m),y=e[--g],M=n[--m]):Ni(v,M)?(S(v,M,o,n,m),b&&u.insertBefore(t,v.elm,u.nextSibling(y.elm)),v=e[++h],M=n[--m]):Ni(y,I)?(S(y,I,o,n,p),b&&u.insertBefore(t,y.elm,v.elm),y=e[--g],I=n[++p]):(r(a)&&(a=Oi(e,h,g)),c=i(I.key)?a[I.key]:N(I,e,h,g),r(c)?d(I,o,t,v.elm,!1,n,p):(l=e[c],Ni(l,I)?(S(l,I,o,n,p),e[c]=void 0,b&&u.insertBefore(t,l.elm,v.elm)):d(I,o,t,v.elm,!1,n,p)),I=n[++p]);h>g?(f=r(n[m+1])?null:n[m+1].elm,A(t,f,n,p,m,o)):p>m&&T(t,e,h,g)}function N(t,e,n,r){for(var o=n;o<r;o++){var s=e[o];if(i(s)&&Ni(t,s))return o}}function S(t,e,n,a,c,l){if(t!==e){i(e.elm)&&i(a)&&(e=a[c]=At(e));var f=e.elm=t.elm;if(o(t.isAsyncPlaceholder))i(e.asyncFactory.resolved)?R(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(o(e.isStatic)&&o(t.isStatic)&&e.key===t.key&&(o(e.isCloned)||o(e.isOnce)))e.componentInstance=t.componentInstance;else{var h,d=e.data;i(d)&&i(h=d.hook)&&i(h=h.prepatch)&&h(t,e);var p=t.children,g=e.children;if(i(d)&&M(e)){for(h=0;h<s.update.length;++h)s.update[h](t,e);i(h=d.hook)&&i(h=h.update)&&h(t,e)}r(e.text)?i(p)&&i(g)?p!==g&&w(f,p,g,n,l):i(g)?(i(t.text)&&u.setTextContent(f,""),A(f,null,g,0,g.length-1,n)):i(p)?T(f,p,0,p.length-1):i(t.text)&&u.setTextContent(f,""):t.text!==e.text&&u.setTextContent(f,e.text),i(d)&&i(h=d.hook)&&i(h=h.postpatch)&&h(t,e)}}}function O(t,e,n){if(o(n)&&i(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}var D=v("attrs,class,staticClass,staticStyle,key");function R(t,e,n,r){var s,a=e.tag,c=e.data,u=e.children;if(r=r||c&&c.pre,e.elm=t,o(e.isComment)&&i(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(i(c)&&(i(s=c.hook)&&i(s=s.init)&&s(e,!0),i(s=e.componentInstance)))return g(e,n),!0;if(i(a)){if(i(u))if(t.hasChildNodes())if(i(s=c)&&i(s=s.domProps)&&i(s=s.innerHTML)){if(s!==t.innerHTML)return!1}else{for(var l=!0,f=t.firstChild,h=0;h<u.length;h++){if(!f||!R(f,u[h],n,r)){l=!1;break}f=f.nextSibling}if(!l||f)return!1}else I(e,u,n);if(i(c)){var d=!1;for(var p in c)if(!D(p)){d=!0,b(e,n);break}!d&&c["class"]&&ve(c["class"])}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,a){if(!r(e)){var c=!1,f=[];if(r(t))c=!0,d(e,f);else{var h=i(t.nodeType);if(!h&&Ni(t,e))S(t,e,f,null,null,a);else{if(h){if(1===t.nodeType&&t.hasAttribute(z)&&(t.removeAttribute(z),n=!0),o(n)&&R(t,e,f))return O(e,f,!0),t;t=l(t)}var p=t.elm,g=u.parentNode(p);if(d(e,f,p._leaveCb?null:g,u.nextSibling(p)),i(e.parent)){var v=e.parent,y=M(e);while(v){for(var m=0;m<s.destroy.length;++m)s.destroy[m](v);if(v.elm=e.elm,y){for(var I=0;I<s.create.length;++I)s.create[I](Ei,v);var b=v.data.hook.insert;if(b.merged)for(var _=1;_<b.fns.length;_++)b.fns[_]()}else Ti(v);v=v.parent}}i(g)?T(g,[t],0,0):i(t.tag)&&C(t)}}return O(e,f,c),e.elm}i(t)&&C(t)}}var Ri={create:Li,update:Li,destroy:function(t){Li(t,Ei)}};function Li(t,e){(t.data.directives||e.data.directives)&&xi(t,e)}function xi(t,e){var n,r,i,o=t===Ei,s=e===Ei,a=ki(t.data.directives,t.context),c=ki(e.data.directives,e.context),u=[],l=[];for(n in c)r=a[n],i=c[n],r?(i.oldValue=r.value,i.oldArg=r.arg,Ui(i,"update",e,t),i.def&&i.def.componentUpdated&&l.push(i)):(Ui(i,"bind",e,t),i.def&&i.def.inserted&&u.push(i));if(u.length){var f=function(){for(var n=0;n<u.length;n++)Ui(u[n],"inserted",e,t)};o?be(e,"insert",f):f()}if(l.length&&be(e,"postpatch",(function(){for(var n=0;n<l.length;n++)Ui(l[n],"componentUpdated",e,t)})),!o)for(n in a)c[n]||Ui(a[n],"unbind",t,t,s)}var ji=Object.create(null);function ki(t,e){var n,r,i=Object.create(null);if(!t)return i;for(n=0;n<t.length;n++)r=t[n],r.modifiers||(r.modifiers=ji),i[Pi(r)]=r,r.def=Zt(e.$options,"directives",r.name,!0);return i}function Pi(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function Ui(t,e,n,r,i){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,r,i)}catch(As){ee(As,n.context,"directive "+t.name+" "+e+" hook")}}var zi=[Ci,Ri];function Gi(t,e){var n=e.componentOptions;if((!i(n)||!1!==n.Ctor.options.inheritAttrs)&&(!r(t.data.attrs)||!r(e.data.attrs))){var o,s,a,c=e.elm,u=t.data.attrs||{},l=e.data.attrs||{};for(o in i(l.__ob__)&&(l=e.data.attrs=D({},l)),l)s=l[o],a=u[o],a!==s&&Bi(c,o,s);for(o in(tt||nt)&&l.value!==u.value&&Bi(c,"value",l.value),u)r(l[o])&&(Vr(o)?c.removeAttributeNS(Hr,Qr(o)):Br(o)||c.removeAttribute(o))}}function Bi(t,e,n){t.tagName.indexOf("-")>-1?Yi(t,e,n):$r(e)?Wr(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Br(e)?t.setAttribute(e,Fr(e,n)):Vr(e)?Wr(n)?t.removeAttributeNS(Hr,Qr(e)):t.setAttributeNS(Hr,e,n):Yi(t,e,n)}function Yi(t,e,n){if(Wr(n))t.removeAttribute(e);else{if(tt&&!et&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var Fi={create:Gi,update:Gi};function $i(t,e){var n=e.elm,o=e.data,s=t.data;if(!(r(o.staticClass)&&r(o.class)&&(r(s)||r(s.staticClass)&&r(s.class)))){var a=Zr(e),c=n._transitionClasses;i(c)&&(a=Jr(a,Xr(c))),a!==n._prevClass&&(n.setAttribute("class",a),n._prevClass=a)}}var Hi,Vi={create:$i,update:$i},Qi="__r",Wi="__c";function Zi(t){if(i(t[Qi])){var e=tt?"change":"input";t[e]=[].concat(t[Qi],t[e]||[]),delete t[Qi]}i(t[Wi])&&(t.change=[].concat(t[Wi],t.change||[]),delete t[Wi])}function Ki(t,e,n){var r=Hi;return function i(){var o=e.apply(null,arguments);null!==o&&Xi(t,i,n,r)}}var qi=se&&!(it&&Number(it[1])<=53);function Ji(t,e,n,r){if(qi){var i=Qn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Hi.addEventListener(t,e,st?{capture:n,passive:r}:n)}function Xi(t,e,n,r){(r||Hi).removeEventListener(t,e._wrapper||e,n)}function to(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},i=t.data.on||{};Hi=e.elm,Zi(n),Me(n,i,Ji,Xi,Ki,e.context),Hi=void 0}}var eo,no={create:to,update:to};function ro(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,o,s=e.elm,a=t.data.domProps||{},c=e.data.domProps||{};for(n in i(c.__ob__)&&(c=e.data.domProps=D({},c)),a)n in c||(s[n]="");for(n in c){if(o=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),o===a[n])continue;1===s.childNodes.length&&s.removeChild(s.childNodes[0])}if("value"===n&&"PROGRESS"!==s.tagName){s._value=o;var u=r(o)?"":String(o);io(s,u)&&(s.value=u)}else if("innerHTML"===n&&ii(s.tagName)&&r(s.innerHTML)){eo=eo||document.createElement("div"),eo.innerHTML="<svg>"+o+"</svg>";var l=eo.firstChild;while(s.firstChild)s.removeChild(s.firstChild);while(l.firstChild)s.appendChild(l.firstChild)}else if(o!==a[n])try{s[n]=o}catch(As){}}}}function io(t,e){return!t.composing&&("OPTION"===t.tagName||oo(t,e)||so(t,e))}function oo(t,e){var n=!0;try{n=document.activeElement!==t}catch(As){}return n&&t.value!==e}function so(t,e){var n=t.value,r=t._vModifiers;if(i(r)){if(r.number)return g(n)!==g(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}var ao={create:ro,update:ro},co=b((function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function uo(t){var e=lo(t.style);return t.staticStyle?D(t.staticStyle,e):e}function lo(t){return Array.isArray(t)?R(t):"string"===typeof t?co(t):t}function fo(t,e){var n,r={};if(e){var i=t;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(n=uo(i.data))&&D(r,n)}(n=uo(t.data))&&D(r,n);var o=t;while(o=o.parent)o.data&&(n=uo(o.data))&&D(r,n);return r}var ho,po=/^--/,go=/\s*!important$/,vo=function(t,e,n){if(po.test(e))t.style.setProperty(e,n);else if(go.test(n))t.style.setProperty(E(e),n.replace(go,""),"important");else{var r=mo(e);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)t.style[r]=n[i];else t.style[r]=n}},yo=["Webkit","Moz","ms"],mo=b((function(t){if(ho=ho||document.createElement("div").style,t=A(t),"filter"!==t&&t in ho)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<yo.length;n++){var r=yo[n]+e;if(r in ho)return r}}));function Io(t,e){var n=e.data,o=t.data;if(!(r(n.staticStyle)&&r(n.style)&&r(o.staticStyle)&&r(o.style))){var s,a,c=e.elm,u=o.staticStyle,l=o.normalizedStyle||o.style||{},f=u||l,h=lo(e.data.style)||{};e.data.normalizedStyle=i(h.__ob__)?D({},h):h;var d=fo(e,!0);for(a in f)r(d[a])&&vo(c,a,"");for(a in d)s=d[a],s!==f[a]&&vo(c,a,null==s?"":s)}}var Mo={create:Io,update:Io},bo=/\s+/;function _o(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(bo).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Ao(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(bo).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function Co(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&D(e,To(t.name||"v")),D(e,t),e}return"string"===typeof t?To(t):void 0}}var To=b((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),Eo=K&&!et,wo="transition",No="animation",So="transition",Oo="transitionend",Do="animation",Ro="animationend";Eo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(So="WebkitTransition",Oo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Do="WebkitAnimation",Ro="webkitAnimationEnd"));var Lo=K?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function xo(t){Lo((function(){Lo(t)}))}function jo(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),_o(t,e))}function ko(t,e){t._transitionClasses&&m(t._transitionClasses,e),Ao(t,e)}function Po(t,e,n){var r=zo(t,e),i=r.type,o=r.timeout,s=r.propCount;if(!i)return n();var a=i===wo?Oo:Ro,c=0,u=function(){t.removeEventListener(a,l),n()},l=function(e){e.target===t&&++c>=s&&u()};setTimeout((function(){c<s&&u()}),o+1),t.addEventListener(a,l)}var Uo=/\b(transform|all)(,|$)/;function zo(t,e){var n,r=window.getComputedStyle(t),i=(r[So+"Delay"]||"").split(", "),o=(r[So+"Duration"]||"").split(", "),s=Go(i,o),a=(r[Do+"Delay"]||"").split(", "),c=(r[Do+"Duration"]||"").split(", "),u=Go(a,c),l=0,f=0;e===wo?s>0&&(n=wo,l=s,f=o.length):e===No?u>0&&(n=No,l=u,f=c.length):(l=Math.max(s,u),n=l>0?s>u?wo:No:null,f=n?n===wo?o.length:c.length:0);var h=n===wo&&Uo.test(r[So+"Property"]);return{type:n,timeout:l,propCount:f,hasTransform:h}}function Go(t,e){while(t.length<e.length)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return Bo(e)+Bo(t[n])})))}function Bo(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Yo(t,e){var n=t.elm;i(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var o=Co(t.data.transition);if(!r(o)&&!i(n._enterCb)&&1===n.nodeType){var s=o.css,a=o.type,u=o.enterClass,l=o.enterToClass,f=o.enterActiveClass,h=o.appearClass,d=o.appearToClass,p=o.appearActiveClass,v=o.beforeEnter,y=o.enter,m=o.afterEnter,I=o.enterCancelled,M=o.beforeAppear,b=o.appear,_=o.afterAppear,A=o.appearCancelled,C=o.duration,T=On,E=On.$vnode;while(E&&E.parent)T=E.context,E=E.parent;var w=!T._isMounted||!t.isRootInsert;if(!w||b||""===b){var N=w&&h?h:u,S=w&&p?p:f,O=w&&d?d:l,D=w&&M||v,R=w&&"function"===typeof b?b:y,L=w&&_||m,x=w&&A||I,j=g(c(C)?C.enter:C);0;var k=!1!==s&&!et,P=Ho(R),z=n._enterCb=U((function(){k&&(ko(n,O),ko(n,S)),z.cancelled?(k&&ko(n,N),x&&x(n)):L&&L(n),n._enterCb=null}));t.data.show||be(t,"insert",(function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),R&&R(n,z)})),D&&D(n),k&&(jo(n,N),jo(n,S),xo((function(){ko(n,N),z.cancelled||(jo(n,O),P||($o(j)?setTimeout(z,j):Po(n,a,z)))}))),t.data.show&&(e&&e(),R&&R(n,z)),k||P||z()}}}function Fo(t,e){var n=t.elm;i(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var o=Co(t.data.transition);if(r(o)||1!==n.nodeType)return e();if(!i(n._leaveCb)){var s=o.css,a=o.type,u=o.leaveClass,l=o.leaveToClass,f=o.leaveActiveClass,h=o.beforeLeave,d=o.leave,p=o.afterLeave,v=o.leaveCancelled,y=o.delayLeave,m=o.duration,I=!1!==s&&!et,M=Ho(d),b=g(c(m)?m.leave:m);0;var _=n._leaveCb=U((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),I&&(ko(n,l),ko(n,f)),_.cancelled?(I&&ko(n,u),v&&v(n)):(e(),p&&p(n)),n._leaveCb=null}));y?y(A):A()}function A(){_.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),h&&h(n),I&&(jo(n,u),jo(n,f),xo((function(){ko(n,u),_.cancelled||(jo(n,l),M||($o(b)?setTimeout(_,b):Po(n,a,_)))}))),d&&d(n,_),I||M||_())}}function $o(t){return"number"===typeof t&&!isNaN(t)}function Ho(t){if(r(t))return!1;var e=t.fns;return i(e)?Ho(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Vo(t,e){!0!==e.data.show&&Yo(e)}var Qo=K?{create:Vo,activate:Vo,remove:function(t,e){!0!==t.data.show?Fo(t,e):e()}}:{},Wo=[Fi,Vi,no,ao,Mo,Qo],Zo=Wo.concat(zi),Ko=Di({nodeOps:Ai,modules:Zo});et&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&is(t,"input")}));var qo={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?be(n,"postpatch",(function(){qo.componentUpdated(t,e,n)})):Jo(t,e,n.context),t._vOptions=[].map.call(t.options,es)):("textarea"===n.tag||ui(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",ns),t.addEventListener("compositionend",rs),t.addEventListener("change",rs),et&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Jo(t,e,n.context);var r=t._vOptions,i=t._vOptions=[].map.call(t.options,es);if(i.some((function(t,e){return!k(t,r[e])}))){var o=t.multiple?e.value.some((function(t){return ts(t,i)})):e.value!==e.oldValue&&ts(e.value,i);o&&is(t,"change")}}}};function Jo(t,e,n){Xo(t,e,n),(tt||nt)&&setTimeout((function(){Xo(t,e,n)}),0)}function Xo(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,s,a=0,c=t.options.length;a<c;a++)if(s=t.options[a],i)o=P(r,es(s))>-1,s.selected!==o&&(s.selected=o);else if(k(es(s),r))return void(t.selectedIndex!==a&&(t.selectedIndex=a));i||(t.selectedIndex=-1)}}function ts(t,e){return e.every((function(e){return!k(e,t)}))}function es(t){return"_value"in t?t._value:t.value}function ns(t){t.target.composing=!0}function rs(t){t.target.composing&&(t.target.composing=!1,is(t.target,"input"))}function is(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function os(t){return!t.componentInstance||t.data&&t.data.transition?t:os(t.componentInstance._vnode)}var ss={bind:function(t,e,n){var r=e.value;n=os(n);var i=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,Yo(n,(function(){t.style.display=o}))):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value,i=e.oldValue;if(!r!==!i){n=os(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,r?Yo(n,(function(){t.style.display=t.__vOriginalDisplay})):Fo(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}},as={model:qo,show:ss},cs={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function us(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?us(An(e.children)):t}function ls(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[A(o)]=i[o];return e}function fs(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function hs(t){while(t=t.parent)if(t.data.transition)return!0}function ds(t,e){return e.key===t.key&&e.tag===t.tag}var ps=function(t){return t.tag||_n(t)},gs=function(t){return"show"===t.name},vs={name:"transition",props:cs,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(ps),n.length)){0;var r=this.mode;0;var i=n[0];if(hs(this.$vnode))return i;var o=us(i);if(!o)return i;if(this._leaving)return fs(t,i);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var c=(o.data||(o.data={})).transition=ls(this),u=this._vnode,l=us(u);if(o.data.directives&&o.data.directives.some(gs)&&(o.data.show=!0),l&&l.data&&!ds(o,l)&&!_n(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=D({},c);if("out-in"===r)return this._leaving=!0,be(f,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),fs(t,i);if("in-out"===r){if(_n(o))return u;var h,d=function(){h()};be(c,"afterEnter",d),be(c,"enterCancelled",d),be(f,"delayLeave",(function(t){h=t}))}}return i}}},ys=D({tag:String,moveClass:String},cs);delete ys.mode;var ms={props:ys,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var i=Dn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],s=ls(this),a=0;a<i.length;a++){var c=i[a];if(c.tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))o.push(c),n[c.key]=c,(c.data||(c.data={})).transition=s;else;}if(r){for(var u=[],l=[],f=0;f<r.length;f++){var h=r[f];h.data.transition=s,h.data.pos=h.elm.getBoundingClientRect(),n[h.key]?u.push(h):l.push(h)}this.kept=t(e,null,u),this.removed=l}return t(e,null,o)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(Is),t.forEach(Ms),t.forEach(bs),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,r=n.style;jo(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Oo,n._moveCb=function t(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Oo,t),n._moveCb=null,ko(n,e))})}})))},methods:{hasMove:function(t,e){if(!Eo)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){Ao(n,t)})),_o(n,e),n.style.display="none",this.$el.appendChild(n);var r=zo(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function Is(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Ms(t){t.data.newPos=t.elm.getBoundingClientRect()}function bs(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}var _s={Transition:vs,TransitionGroup:ms};Ar.config.mustUseProp=Gr,Ar.config.isReservedTag=oi,Ar.config.isReservedAttr=Ur,Ar.config.getTagNamespace=si,Ar.config.isUnknownElement=ci,D(Ar.options.directives,as),D(Ar.options.components,_s),Ar.prototype.__patch__=K?Ko:L,Ar.prototype.$mount=function(t,e){return t=t&&K?li(t):void 0,xn(this,t,e)},K&&setTimeout((function(){Y.devtools&&ut&&ut.emit("init",Ar)}),0),e["default"]=Ar}.call(this,n("c8ba"))},"2b4c":function(t,e,n){var r=n("5537")("wks"),i=n("ca5a"),o=n("7726").Symbol,s="function"==typeof o,a=t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))};a.store=r},"2b88":function(t,e,n){"use strict";
- /*!
- * portal-vue © Thorsten Lünborg, 2019
- *
- * Version: 2.1.7
- *
- * LICENCE: MIT
- *
- * https://github.com/linusborg/portal-vue
- *
- */function r(t){return t&&"object"===typeof t&&"default"in t?t["default"]:t}Object.defineProperty(e,"__esModule",{value:!0});var i=r(n("2b0e"));function o(t){return o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function s(t){return a(t)||c(t)||u()}function a(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function c(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function u(){throw new TypeError("Invalid attempt to spread non-iterable instance")}var l="undefined"!==typeof window;function f(t){return Array.isArray(t)||"object"===o(t)?Object.freeze(t):t}function h(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.reduce((function(t,n){var r=n.passengers[0],i="function"===typeof r?r(e):n.passengers;return t.concat(i)}),[])}function d(t,e){return t.map((function(t,e){return[e,t]})).sort((function(t,n){return e(t[1],n[1])||t[0]-n[0]})).map((function(t){return t[1]}))}function p(t,e){return e.reduce((function(e,n){return t.hasOwnProperty(n)&&(e[n]=t[n]),e}),{})}var g={},v={},y={},m=i.extend({data:function(){return{transports:g,targets:v,sources:y,trackInstances:l}},methods:{open:function(t){if(l){var e=t.to,n=t.from,r=t.passengers,o=t.order,s=void 0===o?1/0:o;if(e&&n&&r){var a={to:e,from:n,passengers:f(r),order:s},c=Object.keys(this.transports);-1===c.indexOf(e)&&i.set(this.transports,e,[]);var u=this.$_getTransportIndex(a),h=this.transports[e].slice(0);-1===u?h.push(a):h[u]=a,this.transports[e]=d(h,(function(t,e){return t.order-e.order}))}}},close:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.to,r=t.from;if(n&&(r||!1!==e)&&this.transports[n])if(e)this.transports[n]=[];else{var i=this.$_getTransportIndex(t);if(i>=0){var o=this.transports[n].slice(0);o.splice(i,1),this.transports[n]=o}}},registerTarget:function(t,e,n){l&&(this.trackInstances&&!n&&this.targets[t]&&console.warn("[portal-vue]: Target ".concat(t," already exists")),this.$set(this.targets,t,Object.freeze([e])))},unregisterTarget:function(t){this.$delete(this.targets,t)},registerSource:function(t,e,n){l&&(this.trackInstances&&!n&&this.sources[t]&&console.warn("[portal-vue]: source ".concat(t," already exists")),this.$set(this.sources,t,Object.freeze([e])))},unregisterSource:function(t){this.$delete(this.sources,t)},hasTarget:function(t){return!(!this.targets[t]||!this.targets[t][0])},hasSource:function(t){return!(!this.sources[t]||!this.sources[t][0])},hasContentFor:function(t){return!!this.transports[t]&&!!this.transports[t].length},$_getTransportIndex:function(t){var e=t.to,n=t.from;for(var r in this.transports[e])if(this.transports[e][r].from===n)return+r;return-1}}}),I=new m(g),M=1,b=i.extend({name:"portal",props:{disabled:{type:Boolean},name:{type:String,default:function(){return String(M++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}}},created:function(){var t=this;this.$nextTick((function(){I.registerSource(t.name,t)}))},mounted:function(){this.disabled||this.sendUpdate()},updated:function(){this.disabled?this.clear():this.sendUpdate()},beforeDestroy:function(){I.unregisterSource(this.name),this.clear()},watch:{to:function(t,e){e&&e!==t&&this.clear(e),this.sendUpdate()}},methods:{clear:function(t){var e={from:this.name,to:t||this.to};I.close(e)},normalizeSlots:function(){return this.$scopedSlots.default?[this.$scopedSlots.default]:this.$slots.default},normalizeOwnChildren:function(t){return"function"===typeof t?t(this.slotProps):t},sendUpdate:function(){var t=this.normalizeSlots();if(t){var e={from:this.name,to:this.to,passengers:s(t),order:this.order};I.open(e)}else this.clear()}},render:function(t){var e=this.$slots.default||this.$scopedSlots.default||[],n=this.tag;return e&&this.disabled?e.length<=1&&this.slim?this.normalizeOwnChildren(e)[0]:t(n,[this.normalizeOwnChildren(e)]):this.slim?t():t(n,{class:{"v-portal":!0},style:{display:"none"},key:"v-portal-placeholder"})}}),_=i.extend({name:"portalTarget",props:{multiple:{type:Boolean,default:!1},name:{type:String,required:!0},slim:{type:Boolean,default:!1},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},data:function(){return{transports:I.transports,firstRender:!0}},created:function(){var t=this;this.$nextTick((function(){I.registerTarget(t.name,t)}))},watch:{ownTransports:function(){this.$emit("change",this.children().length>0)},name:function(t,e){I.unregisterTarget(e),I.registerTarget(t,this)}},mounted:function(){var t=this;this.transition&&this.$nextTick((function(){t.firstRender=!1}))},beforeDestroy:function(){I.unregisterTarget(this.name)},computed:{ownTransports:function(){var t=this.transports[this.name]||[];return this.multiple?t:0===t.length?[]:[t[t.length-1]]},passengers:function(){return h(this.ownTransports,this.slotProps)}},methods:{children:function(){return 0!==this.passengers.length?this.passengers:this.$scopedSlots.default?this.$scopedSlots.default(this.slotProps):this.$slots.default||[]},noWrapper:function(){var t=this.slim&&!this.transition;return t&&this.children().length>1&&console.warn("[portal-vue]: PortalTarget with `slim` option received more than one child element."),t}},render:function(t){var e=this.noWrapper(),n=this.children(),r=this.transition||this.tag;return e?n[0]:this.slim&&!r?t():t(r,{props:{tag:this.transition&&this.tag?this.tag:void 0},class:{"vue-portal-target":!0}},n)}}),A=0,C=["disabled","name","order","slim","slotProps","tag","to"],T=["multiple","transition"],E=i.extend({name:"MountingPortal",inheritAttrs:!1,props:{append:{type:[Boolean,String]},bail:{type:Boolean},mountTo:{type:String,required:!0},disabled:{type:Boolean},name:{type:String,default:function(){return"mounted_"+String(A++)}},order:{type:Number,default:0},slim:{type:Boolean},slotProps:{type:Object,default:function(){return{}}},tag:{type:String,default:"DIV"},to:{type:String,default:function(){return String(Math.round(1e7*Math.random()))}},multiple:{type:Boolean,default:!1},targetSlim:{type:Boolean},targetSlotProps:{type:Object,default:function(){return{}}},targetTag:{type:String,default:"div"},transition:{type:[String,Object,Function]}},created:function(){if("undefined"!==typeof document){var t=document.querySelector(this.mountTo);if(t){var e=this.$props;if(I.targets[e.name])e.bail?console.warn("[portal-vue]: Target ".concat(e.name," is already mounted.\n Aborting because 'bail: true' is set")):this.portalTarget=I.targets[e.name];else{var n=e.append;if(n){var r="string"===typeof n?n:"DIV",i=document.createElement(r);t.appendChild(i),t=i}var o=p(this.$props,T);o.slim=this.targetSlim,o.tag=this.targetTag,o.slotProps=this.targetSlotProps,o.name=this.to,this.portalTarget=new _({el:t,parent:this.$parent||this,propsData:o})}}else console.error("[portal-vue]: Mount Point '".concat(this.mountTo,"' not found in document"))}},beforeDestroy:function(){var t=this.portalTarget;if(this.append){var e=t.$el;e.parentNode.removeChild(e)}t.$destroy()},render:function(t){if(!this.portalTarget)return console.warn("[portal-vue] Target wasn't mounted"),t();if(!this.$scopedSlots.manual){var e=p(this.$props,C);return t(b,{props:e,attrs:this.$attrs,on:this.$listeners,scopedSlots:this.$scopedSlots},this.$slots.default)}var n=this.$scopedSlots.manual({to:this.to});return Array.isArray(n)&&(n=n[0]),n||t()}});function w(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.component(e.portalName||"Portal",b),t.component(e.portalTargetName||"PortalTarget",_),t.component(e.MountingPortalName||"MountingPortal",E)}var N={install:w};e.default=N,e.Portal=b,e.PortalTarget=_,e.MountingPortal=E,e.Wormhole=I},"2bdd":function(t,e,n){"use strict";var r=n("d282"),i=n("02de"),o=n("a8c1"),s=n("5fbe"),a=n("543e"),c=Object(r["a"])("list"),u=c[0],l=c[1],f=c[2];e["a"]=u({mixins:[Object(s["a"])((function(t){this.scroller||(this.scroller=Object(o["c"])(this.$el)),t(this.scroller,"scroll",this.check)}))],model:{prop:"loading"},props:{error:Boolean,loading:Boolean,finished:Boolean,errorText:String,loadingText:String,finishedText:String,immediateCheck:{type:Boolean,default:!0},offset:{type:[Number,String],default:300},direction:{type:String,default:"down"}},data:function(){return{innerLoading:this.loading}},updated:function(){this.innerLoading=this.loading},mounted:function(){this.immediateCheck&&this.check()},watch:{loading:"check",finished:"check"},methods:{check:function(){var t=this;this.$nextTick((function(){if(!(t.innerLoading||t.finished||t.error)){var e,n=t.$el,r=t.scroller,o=t.offset,s=t.direction;e=r.getBoundingClientRect?r.getBoundingClientRect():{top:0,bottom:r.innerHeight};var a=e.bottom-e.top;if(!a||Object(i["a"])(n))return!1;var c=!1,u=t.$refs.placeholder.getBoundingClientRect();c="up"===s?e.top-u.top<=o:u.bottom-e.bottom<=o,c&&(t.innerLoading=!0,t.$emit("input",!0),t.$emit("load"))}}))},clickErrorText:function(){this.$emit("update:error",!1),this.check()},genLoading:function(){var t=this.$createElement;if(this.innerLoading&&!this.finished)return t("div",{key:"loading",class:l("loading")},[this.slots("loading")||t(a["a"],{attrs:{size:"16"}},[this.loadingText||f("loading")])])},genFinishedText:function(){var t=this.$createElement;if(this.finished){var e=this.slots("finished")||this.finishedText;if(e)return t("div",{class:l("finished-text")},[e])}},genErrorText:function(){var t=this.$createElement;if(this.error){var e=this.slots("error")||this.errorText;if(e)return t("div",{on:{click:this.clickErrorText},class:l("error-text")},[e])}}},render:function(){var t=arguments[0],e=t("div",{ref:"placeholder",key:"placeholder",class:l("placeholder")});return t("div",{class:l(),attrs:{role:"feed","aria-busy":this.innerLoading}},["down"===this.direction?this.slots():e,this.genLoading(),this.genFinishedText(),this.genErrorText(),"up"===this.direction?this.slots():e])}})},"2caf":function(t,e,n){var r=n("5ca1");r(r.S,"Array",{isArray:n("1169")})},"2d00":function(t,e){t.exports=!1},"2d34":function(t,e,n){var r=n("5ca1"),i=n("38fd"),o=n("cb7c");r(r.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},"2d5c":function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},"2d63":function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n("67bb"),i=n.n(r),o=n("5d58"),s=n.n(o),a=n("a745"),c=n.n(a),u=n("e630");function l(t,e){var n="undefined"!==typeof i.a&&t[s.a]||t["@@iterator"];if(!n){if(c()(t)||(n=Object(u["a"])(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,l=!0,f=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return l=t.done,t},e:function(t){f=!0,a=t},f:function(){try{l||null==n["return"]||n["return"]()}finally{if(f)throw a}}}}},"2d83":function(t,e,n){"use strict";var r=n("387f");t.exports=function(t,e,n,i,o){var s=new Error(t);return r(s,e,n,i,o)}},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2e08":function(t,e,n){var r=n("9def"),i=n("9744"),o=n("be13");t.exports=function(t,e,n,s){var a=String(o(t)),c=a.length,u=void 0===n?" ":String(n),l=r(e);if(l<=c||""==u)return a;var f=l-c,h=i.call(u,Math.ceil(f/u.length));return h.length>f&&(h=h.slice(0,f)),s?h+a:a+h}},"2e37":function(t,e,n){var r=n("5ca1");r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},"2e67":function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},"2ef0":function(t,e,n){(function(t,r){var i;
- /**
- * @license
- * Lodash <https://lodash.com/>
- * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
- * Released under MIT license <https://lodash.com/license>
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
- */(function(){var o,s="4.17.21",a=200,c="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",l="Invalid `variable` option passed into `_.template`",f="__lodash_hash_undefined__",h=500,d="__lodash_placeholder__",p=1,g=2,v=4,y=1,m=2,I=1,M=2,b=4,_=8,A=16,C=32,T=64,E=128,w=256,N=512,S=30,O="...",D=800,R=16,L=1,x=2,j=3,k=1/0,P=9007199254740991,U=17976931348623157e292,z=NaN,G=4294967295,B=G-1,Y=G>>>1,F=[["ary",E],["bind",I],["bindKey",M],["curry",_],["curryRight",A],["flip",N],["partial",C],["partialRight",T],["rearg",w]],$="[object Arguments]",H="[object Array]",V="[object AsyncFunction]",Q="[object Boolean]",W="[object Date]",Z="[object DOMException]",K="[object Error]",q="[object Function]",J="[object GeneratorFunction]",X="[object Map]",tt="[object Number]",et="[object Null]",nt="[object Object]",rt="[object Promise]",it="[object Proxy]",ot="[object RegExp]",st="[object Set]",at="[object String]",ct="[object Symbol]",ut="[object Undefined]",lt="[object WeakMap]",ft="[object WeakSet]",ht="[object ArrayBuffer]",dt="[object DataView]",pt="[object Float32Array]",gt="[object Float64Array]",vt="[object Int8Array]",yt="[object Int16Array]",mt="[object Int32Array]",It="[object Uint8Array]",Mt="[object Uint8ClampedArray]",bt="[object Uint16Array]",_t="[object Uint32Array]",At=/\b__p \+= '';/g,Ct=/\b(__p \+=) '' \+/g,Tt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Et=/&(?:amp|lt|gt|quot|#39);/g,wt=/[&<>"']/g,Nt=RegExp(Et.source),St=RegExp(wt.source),Ot=/<%-([\s\S]+?)%>/g,Dt=/<%([\s\S]+?)%>/g,Rt=/<%=([\s\S]+?)%>/g,Lt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,xt=/^\w*$/,jt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,kt=/[\\^$.*+?()[\]{}|]/g,Pt=RegExp(kt.source),Ut=/^\s+/,zt=/\s/,Gt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Bt=/\{\n\/\* \[wrapped with (.+)\] \*/,Yt=/,? & /,Ft=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,$t=/[()=,{}\[\]\/\s]/,Ht=/\\(\\)?/g,Vt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Qt=/\w*$/,Wt=/^[-+]0x[0-9a-f]+$/i,Zt=/^0b[01]+$/i,Kt=/^\[object .+?Constructor\]$/,qt=/^0o[0-7]+$/i,Jt=/^(?:0|[1-9]\d*)$/,Xt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,te=/($^)/,ee=/['\n\r\u2028\u2029\\]/g,ne="\\ud800-\\udfff",re="\\u0300-\\u036f",ie="\\ufe20-\\ufe2f",oe="\\u20d0-\\u20ff",se=re+ie+oe,ae="\\u2700-\\u27bf",ce="a-z\\xdf-\\xf6\\xf8-\\xff",ue="\\xac\\xb1\\xd7\\xf7",le="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",fe="\\u2000-\\u206f",he=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",de="A-Z\\xc0-\\xd6\\xd8-\\xde",pe="\\ufe0e\\ufe0f",ge=ue+le+fe+he,ve="['’]",ye="["+ne+"]",me="["+ge+"]",Ie="["+se+"]",Me="\\d+",be="["+ae+"]",_e="["+ce+"]",Ae="[^"+ne+ge+Me+ae+ce+de+"]",Ce="\\ud83c[\\udffb-\\udfff]",Te="(?:"+Ie+"|"+Ce+")",Ee="[^"+ne+"]",we="(?:\\ud83c[\\udde6-\\uddff]){2}",Ne="[\\ud800-\\udbff][\\udc00-\\udfff]",Se="["+de+"]",Oe="\\u200d",De="(?:"+_e+"|"+Ae+")",Re="(?:"+Se+"|"+Ae+")",Le="(?:"+ve+"(?:d|ll|m|re|s|t|ve))?",xe="(?:"+ve+"(?:D|LL|M|RE|S|T|VE))?",je=Te+"?",ke="["+pe+"]?",Pe="(?:"+Oe+"(?:"+[Ee,we,Ne].join("|")+")"+ke+je+")*",Ue="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ze="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ge=ke+je+Pe,Be="(?:"+[be,we,Ne].join("|")+")"+Ge,Ye="(?:"+[Ee+Ie+"?",Ie,we,Ne,ye].join("|")+")",Fe=RegExp(ve,"g"),$e=RegExp(Ie,"g"),He=RegExp(Ce+"(?="+Ce+")|"+Ye+Ge,"g"),Ve=RegExp([Se+"?"+_e+"+"+Le+"(?="+[me,Se,"$"].join("|")+")",Re+"+"+xe+"(?="+[me,Se+De,"$"].join("|")+")",Se+"?"+De+"+"+Le,Se+"+"+xe,ze,Ue,Me,Be].join("|"),"g"),Qe=RegExp("["+Oe+ne+se+pe+"]"),We=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ze=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ke=-1,qe={};qe[pt]=qe[gt]=qe[vt]=qe[yt]=qe[mt]=qe[It]=qe[Mt]=qe[bt]=qe[_t]=!0,qe[$]=qe[H]=qe[ht]=qe[Q]=qe[dt]=qe[W]=qe[K]=qe[q]=qe[X]=qe[tt]=qe[nt]=qe[ot]=qe[st]=qe[at]=qe[lt]=!1;var Je={};Je[$]=Je[H]=Je[ht]=Je[dt]=Je[Q]=Je[W]=Je[pt]=Je[gt]=Je[vt]=Je[yt]=Je[mt]=Je[X]=Je[tt]=Je[nt]=Je[ot]=Je[st]=Je[at]=Je[ct]=Je[It]=Je[Mt]=Je[bt]=Je[_t]=!0,Je[K]=Je[q]=Je[lt]=!1;var Xe={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},tn={"&":"&","<":"<",">":">",'"':""","'":"'"},en={"&":"&","<":"<",">":">",""":'"',"'":"'"},nn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},rn=parseFloat,on=parseInt,sn="object"==typeof t&&t&&t.Object===Object&&t,an="object"==typeof self&&self&&self.Object===Object&&self,cn=sn||an||Function("return this")(),un=e&&!e.nodeType&&e,ln=un&&"object"==typeof r&&r&&!r.nodeType&&r,fn=ln&&ln.exports===un,hn=fn&&sn.process,dn=function(){try{var t=ln&&ln.require&&ln.require("util").types;return t||hn&&hn.binding&&hn.binding("util")}catch(e){}}(),pn=dn&&dn.isArrayBuffer,gn=dn&&dn.isDate,vn=dn&&dn.isMap,yn=dn&&dn.isRegExp,mn=dn&&dn.isSet,In=dn&&dn.isTypedArray;function Mn(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function bn(t,e,n,r){var i=-1,o=null==t?0:t.length;while(++i<o){var s=t[i];e(r,s,n(s),t)}return r}function _n(t,e){var n=-1,r=null==t?0:t.length;while(++n<r)if(!1===e(t[n],n,t))break;return t}function An(t,e){var n=null==t?0:t.length;while(n--)if(!1===e(t[n],n,t))break;return t}function Cn(t,e){var n=-1,r=null==t?0:t.length;while(++n<r)if(!e(t[n],n,t))return!1;return!0}function Tn(t,e){var n=-1,r=null==t?0:t.length,i=0,o=[];while(++n<r){var s=t[n];e(s,n,t)&&(o[i++]=s)}return o}function En(t,e){var n=null==t?0:t.length;return!!n&&Un(t,e,0)>-1}function wn(t,e,n){var r=-1,i=null==t?0:t.length;while(++r<i)if(n(e,t[r]))return!0;return!1}function Nn(t,e){var n=-1,r=null==t?0:t.length,i=Array(r);while(++n<r)i[n]=e(t[n],n,t);return i}function Sn(t,e){var n=-1,r=e.length,i=t.length;while(++n<r)t[i+n]=e[n];return t}function On(t,e,n,r){var i=-1,o=null==t?0:t.length;r&&o&&(n=t[++i]);while(++i<o)n=e(n,t[i],i,t);return n}function Dn(t,e,n,r){var i=null==t?0:t.length;r&&i&&(n=t[--i]);while(i--)n=e(n,t[i],i,t);return n}function Rn(t,e){var n=-1,r=null==t?0:t.length;while(++n<r)if(e(t[n],n,t))return!0;return!1}var Ln=Yn("length");function xn(t){return t.split("")}function jn(t){return t.match(Ft)||[]}function kn(t,e,n){var r;return n(t,(function(t,n,i){if(e(t,n,i))return r=n,!1})),r}function Pn(t,e,n,r){var i=t.length,o=n+(r?1:-1);while(r?o--:++o<i)if(e(t[o],o,t))return o;return-1}function Un(t,e,n){return e===e?pr(t,e,n):Pn(t,Gn,n)}function zn(t,e,n,r){var i=n-1,o=t.length;while(++i<o)if(r(t[i],e))return i;return-1}function Gn(t){return t!==t}function Bn(t,e){var n=null==t?0:t.length;return n?Vn(t,e)/n:z}function Yn(t){return function(e){return null==e?o:e[t]}}function Fn(t){return function(e){return null==t?o:t[e]}}function $n(t,e,n,r,i){return i(t,(function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)})),n}function Hn(t,e){var n=t.length;t.sort(e);while(n--)t[n]=t[n].value;return t}function Vn(t,e){var n,r=-1,i=t.length;while(++r<i){var s=e(t[r]);s!==o&&(n=n===o?s:n+s)}return n}function Qn(t,e){var n=-1,r=Array(t);while(++n<t)r[n]=e(n);return r}function Wn(t,e){return Nn(e,(function(e){return[e,t[e]]}))}function Zn(t){return t?t.slice(0,mr(t)+1).replace(Ut,""):t}function Kn(t){return function(e){return t(e)}}function qn(t,e){return Nn(e,(function(e){return t[e]}))}function Jn(t,e){return t.has(e)}function Xn(t,e){var n=-1,r=t.length;while(++n<r&&Un(e,t[n],0)>-1);return n}function tr(t,e){var n=t.length;while(n--&&Un(e,t[n],0)>-1);return n}function er(t,e){var n=t.length,r=0;while(n--)t[n]===e&&++r;return r}var nr=Fn(Xe),rr=Fn(tn);function ir(t){return"\\"+nn[t]}function or(t,e){return null==t?o:t[e]}function sr(t){return Qe.test(t)}function ar(t){return We.test(t)}function cr(t){var e,n=[];while(!(e=t.next()).done)n.push(e.value);return n}function ur(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function lr(t,e){return function(n){return t(e(n))}}function fr(t,e){var n=-1,r=t.length,i=0,o=[];while(++n<r){var s=t[n];s!==e&&s!==d||(t[n]=d,o[i++]=n)}return o}function hr(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function dr(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}function pr(t,e,n){var r=n-1,i=t.length;while(++r<i)if(t[r]===e)return r;return-1}function gr(t,e,n){var r=n+1;while(r--)if(t[r]===e)return r;return r}function vr(t){return sr(t)?Mr(t):Ln(t)}function yr(t){return sr(t)?br(t):xn(t)}function mr(t){var e=t.length;while(e--&&zt.test(t.charAt(e)));return e}var Ir=Fn(en);function Mr(t){var e=He.lastIndex=0;while(He.test(t))++e;return e}function br(t){return t.match(He)||[]}function _r(t){return t.match(Ve)||[]}var Ar=function t(e){e=null==e?cn:Cr.defaults(cn.Object(),e,Cr.pick(cn,Ze));var n=e.Array,r=e.Date,i=e.Error,zt=e.Function,Ft=e.Math,ne=e.Object,re=e.RegExp,ie=e.String,oe=e.TypeError,se=n.prototype,ae=zt.prototype,ce=ne.prototype,ue=e["__core-js_shared__"],le=ae.toString,fe=ce.hasOwnProperty,he=0,de=function(){var t=/[^.]+$/.exec(ue&&ue.keys&&ue.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),pe=ce.toString,ge=le.call(ne),ve=cn._,ye=re("^"+le.call(fe).replace(kt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),me=fn?e.Buffer:o,Ie=e.Symbol,Me=e.Uint8Array,be=me?me.allocUnsafe:o,_e=lr(ne.getPrototypeOf,ne),Ae=ne.create,Ce=ce.propertyIsEnumerable,Te=se.splice,Ee=Ie?Ie.isConcatSpreadable:o,we=Ie?Ie.iterator:o,Ne=Ie?Ie.toStringTag:o,Se=function(){try{var t=Qs(ne,"defineProperty");return t({},"",{}),t}catch(e){}}(),Oe=e.clearTimeout!==cn.clearTimeout&&e.clearTimeout,De=r&&r.now!==cn.Date.now&&r.now,Re=e.setTimeout!==cn.setTimeout&&e.setTimeout,Le=Ft.ceil,xe=Ft.floor,je=ne.getOwnPropertySymbols,ke=me?me.isBuffer:o,Pe=e.isFinite,Ue=se.join,ze=lr(ne.keys,ne),Ge=Ft.max,Be=Ft.min,Ye=r.now,He=e.parseInt,Ve=Ft.random,Qe=se.reverse,We=Qs(e,"DataView"),Xe=Qs(e,"Map"),tn=Qs(e,"Promise"),en=Qs(e,"Set"),nn=Qs(e,"WeakMap"),sn=Qs(ne,"create"),an=nn&&new nn,un={},ln=Ra(We),hn=Ra(Xe),dn=Ra(tn),Ln=Ra(en),xn=Ra(nn),Fn=Ie?Ie.prototype:o,pr=Fn?Fn.valueOf:o,Mr=Fn?Fn.toString:o;function br(t){if(Tl(t)&&!cl(t)&&!(t instanceof wr)){if(t instanceof Er)return t;if(fe.call(t,"__wrapped__"))return xa(t)}return new Er(t)}var Ar=function(){function t(){}return function(e){if(!Cl(e))return{};if(Ae)return Ae(e);t.prototype=e;var n=new t;return t.prototype=o,n}}();function Tr(){}function Er(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=o}function wr(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=G,this.__views__=[]}function Nr(){var t=new wr(this.__wrapped__);return t.__actions__=is(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=is(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=is(this.__views__),t}function Sr(){if(this.__filtered__){var t=new wr(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function Or(){var t=this.__wrapped__.value(),e=this.__dir__,n=cl(t),r=e<0,i=n?t.length:0,o=Js(0,i,this.__views__),s=o.start,a=o.end,c=a-s,u=r?a:s-1,l=this.__iteratees__,f=l.length,h=0,d=Be(c,this.__takeCount__);if(!n||!r&&i==c&&d==c)return zo(t,this.__actions__);var p=[];t:while(c--&&h<d){u+=e;var g=-1,v=t[u];while(++g<f){var y=l[g],m=y.iteratee,I=y.type,M=m(v);if(I==x)v=M;else if(!M){if(I==L)continue t;break t}}p[h++]=v}return p}function Dr(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Rr(){this.__data__=sn?sn(null):{},this.size=0}function Lr(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function xr(t){var e=this.__data__;if(sn){var n=e[t];return n===f?o:n}return fe.call(e,t)?e[t]:o}function jr(t){var e=this.__data__;return sn?e[t]!==o:fe.call(e,t)}function kr(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=sn&&e===o?f:e,this}function Pr(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Ur(){this.__data__=[],this.size=0}function zr(t){var e=this.__data__,n=li(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():Te.call(e,n,1),--this.size,!0}function Gr(t){var e=this.__data__,n=li(e,t);return n<0?o:e[n][1]}function Br(t){return li(this.__data__,t)>-1}function Yr(t,e){var n=this.__data__,r=li(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}function Fr(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function $r(){this.size=0,this.__data__={hash:new Dr,map:new(Xe||Pr),string:new Dr}}function Hr(t){var e=Hs(this,t)["delete"](t);return this.size-=e?1:0,e}function Vr(t){return Hs(this,t).get(t)}function Qr(t){return Hs(this,t).has(t)}function Wr(t,e){var n=Hs(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}function Zr(t){var e=-1,n=null==t?0:t.length;this.__data__=new Fr;while(++e<n)this.add(t[e])}function Kr(t){return this.__data__.set(t,f),this}function qr(t){return this.__data__.has(t)}function Jr(t){var e=this.__data__=new Pr(t);this.size=e.size}function Xr(){this.__data__=new Pr,this.size=0}function ti(t){var e=this.__data__,n=e["delete"](t);return this.size=e.size,n}function ei(t){return this.__data__.get(t)}function ni(t){return this.__data__.has(t)}function ri(t,e){var n=this.__data__;if(n instanceof Pr){var r=n.__data__;if(!Xe||r.length<a-1)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Fr(r)}return n.set(t,e),this.size=n.size,this}function ii(t,e){var n=cl(t),r=!n&&al(t),i=!n&&!r&&dl(t),o=!n&&!r&&!i&&Gl(t),s=n||r||i||o,a=s?Qn(t.length,ie):[],c=a.length;for(var u in t)!e&&!fe.call(t,u)||s&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||sa(u,c))||a.push(u);return a}function oi(t){var e=t.length;return e?t[mo(0,e-1)]:o}function si(t,e){return Sa(is(t),vi(e,0,t.length))}function ai(t){return Sa(is(t))}function ci(t,e,n){(n!==o&&!il(t[e],n)||n===o&&!(e in t))&&pi(t,e,n)}function ui(t,e,n){var r=t[e];fe.call(t,e)&&il(r,n)&&(n!==o||e in t)||pi(t,e,n)}function li(t,e){var n=t.length;while(n--)if(il(t[n][0],e))return n;return-1}function fi(t,e,n,r){return _i(t,(function(t,i,o){e(r,t,n(t),o)})),r}function hi(t,e){return t&&os(e,Af(e),t)}function di(t,e){return t&&os(e,Cf(e),t)}function pi(t,e,n){"__proto__"==e&&Se?Se(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function gi(t,e){var r=-1,i=e.length,s=n(i),a=null==t;while(++r<i)s[r]=a?o:yf(t,e[r]);return s}function vi(t,e,n){return t===t&&(n!==o&&(t=t<=n?t:n),e!==o&&(t=t>=e?t:e)),t}function yi(t,e,n,r,i,s){var a,c=e&p,u=e&g,l=e&v;if(n&&(a=i?n(t,r,i,s):n(t)),a!==o)return a;if(!Cl(t))return t;var f=cl(t);if(f){if(a=ea(t),!c)return is(t,a)}else{var h=qs(t),d=h==q||h==J;if(dl(t))return Wo(t,c);if(h==nt||h==$||d&&!i){if(a=u||d?{}:na(t),!c)return u?as(t,di(a,t)):ss(t,hi(a,t))}else{if(!Je[h])return i?t:{};a=ra(t,h,c)}}s||(s=new Jr);var y=s.get(t);if(y)return y;s.set(t,a),Pl(t)?t.forEach((function(r){a.add(yi(r,e,n,r,t,s))})):El(t)&&t.forEach((function(r,i){a.set(i,yi(r,e,n,i,t,s))}));var m=l?u?Gs:zs:u?Cf:Af,I=f?o:m(t);return _n(I||t,(function(r,i){I&&(i=r,r=t[i]),ui(a,i,yi(r,e,n,i,t,s))})),a}function mi(t){var e=Af(t);return function(n){return Ii(n,t,e)}}function Ii(t,e,n){var r=n.length;if(null==t)return!r;t=ne(t);while(r--){var i=n[r],s=e[i],a=t[i];if(a===o&&!(i in t)||!s(a))return!1}return!0}function Mi(t,e,n){if("function"!=typeof t)throw new oe(u);return Ta((function(){t.apply(o,n)}),e)}function bi(t,e,n,r){var i=-1,o=En,s=!0,c=t.length,u=[],l=e.length;if(!c)return u;n&&(e=Nn(e,Kn(n))),r?(o=wn,s=!1):e.length>=a&&(o=Jn,s=!1,e=new Zr(e));t:while(++i<c){var f=t[i],h=null==n?f:n(f);if(f=r||0!==f?f:0,s&&h===h){var d=l;while(d--)if(e[d]===h)continue t;u.push(f)}else o(e,h,r)||u.push(f)}return u}br.templateSettings={escape:Ot,evaluate:Dt,interpolate:Rt,variable:"",imports:{_:br}},br.prototype=Tr.prototype,br.prototype.constructor=br,Er.prototype=Ar(Tr.prototype),Er.prototype.constructor=Er,wr.prototype=Ar(Tr.prototype),wr.prototype.constructor=wr,Dr.prototype.clear=Rr,Dr.prototype["delete"]=Lr,Dr.prototype.get=xr,Dr.prototype.has=jr,Dr.prototype.set=kr,Pr.prototype.clear=Ur,Pr.prototype["delete"]=zr,Pr.prototype.get=Gr,Pr.prototype.has=Br,Pr.prototype.set=Yr,Fr.prototype.clear=$r,Fr.prototype["delete"]=Hr,Fr.prototype.get=Vr,Fr.prototype.has=Qr,Fr.prototype.set=Wr,Zr.prototype.add=Zr.prototype.push=Kr,Zr.prototype.has=qr,Jr.prototype.clear=Xr,Jr.prototype["delete"]=ti,Jr.prototype.get=ei,Jr.prototype.has=ni,Jr.prototype.set=ri;var _i=ls(Di),Ai=ls(Ri,!0);function Ci(t,e){var n=!0;return _i(t,(function(t,r,i){return n=!!e(t,r,i),n})),n}function Ti(t,e,n){var r=-1,i=t.length;while(++r<i){var s=t[r],a=e(s);if(null!=a&&(c===o?a===a&&!zl(a):n(a,c)))var c=a,u=s}return u}function Ei(t,e,n,r){var i=t.length;n=Wl(n),n<0&&(n=-n>i?0:i+n),r=r===o||r>i?i:Wl(r),r<0&&(r+=i),r=n>r?0:Zl(r);while(n<r)t[n++]=e;return t}function wi(t,e){var n=[];return _i(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n}function Ni(t,e,n,r,i){var o=-1,s=t.length;n||(n=oa),i||(i=[]);while(++o<s){var a=t[o];e>0&&n(a)?e>1?Ni(a,e-1,n,r,i):Sn(i,a):r||(i[i.length]=a)}return i}var Si=fs(),Oi=fs(!0);function Di(t,e){return t&&Si(t,e,Af)}function Ri(t,e){return t&&Oi(t,e,Af)}function Li(t,e){return Tn(e,(function(e){return bl(t[e])}))}function xi(t,e){e=$o(e,t);var n=0,r=e.length;while(null!=t&&n<r)t=t[Da(e[n++])];return n&&n==r?t:o}function ji(t,e,n){var r=e(t);return cl(t)?r:Sn(r,n(t))}function ki(t){return null==t?t===o?ut:et:Ne&&Ne in ne(t)?Ws(t):Ia(t)}function Pi(t,e){return t>e}function Ui(t,e){return null!=t&&fe.call(t,e)}function zi(t,e){return null!=t&&e in ne(t)}function Gi(t,e,n){return t>=Be(e,n)&&t<Ge(e,n)}function Bi(t,e,r){var i=r?wn:En,s=t[0].length,a=t.length,c=a,u=n(a),l=1/0,f=[];while(c--){var h=t[c];c&&e&&(h=Nn(h,Kn(e))),l=Be(h.length,l),u[c]=!r&&(e||s>=120&&h.length>=120)?new Zr(c&&h):o}h=t[0];var d=-1,p=u[0];t:while(++d<s&&f.length<l){var g=h[d],v=e?e(g):g;if(g=r||0!==g?g:0,!(p?Jn(p,v):i(f,v,r))){c=a;while(--c){var y=u[c];if(!(y?Jn(y,v):i(t[c],v,r)))continue t}p&&p.push(v),f.push(g)}}return f}function Yi(t,e,n,r){return Di(t,(function(t,i,o){e(r,n(t),i,o)})),r}function Fi(t,e,n){e=$o(e,t),t=ba(t,e);var r=null==t?t:t[Da(oc(e))];return null==r?o:Mn(r,t,n)}function $i(t){return Tl(t)&&ki(t)==$}function Hi(t){return Tl(t)&&ki(t)==ht}function Vi(t){return Tl(t)&&ki(t)==W}function Qi(t,e,n,r,i){return t===e||(null==t||null==e||!Tl(t)&&!Tl(e)?t!==t&&e!==e:Wi(t,e,n,r,Qi,i))}function Wi(t,e,n,r,i,o){var s=cl(t),a=cl(e),c=s?H:qs(t),u=a?H:qs(e);c=c==$?nt:c,u=u==$?nt:u;var l=c==nt,f=u==nt,h=c==u;if(h&&dl(t)){if(!dl(e))return!1;s=!0,l=!1}if(h&&!l)return o||(o=new Jr),s||Gl(t)?js(t,e,n,r,i,o):ks(t,e,c,n,r,i,o);if(!(n&y)){var d=l&&fe.call(t,"__wrapped__"),p=f&&fe.call(e,"__wrapped__");if(d||p){var g=d?t.value():t,v=p?e.value():e;return o||(o=new Jr),i(g,v,n,r,o)}}return!!h&&(o||(o=new Jr),Ps(t,e,n,r,i,o))}function Zi(t){return Tl(t)&&qs(t)==X}function Ki(t,e,n,r){var i=n.length,s=i,a=!r;if(null==t)return!s;t=ne(t);while(i--){var c=n[i];if(a&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}while(++i<s){c=n[i];var u=c[0],l=t[u],f=c[1];if(a&&c[2]){if(l===o&&!(u in t))return!1}else{var h=new Jr;if(r)var d=r(l,f,u,t,e,h);if(!(d===o?Qi(f,l,y|m,r,h):d))return!1}}return!0}function qi(t){if(!Cl(t)||fa(t))return!1;var e=bl(t)?ye:Kt;return e.test(Ra(t))}function Ji(t){return Tl(t)&&ki(t)==ot}function Xi(t){return Tl(t)&&qs(t)==st}function to(t){return Tl(t)&&Al(t.length)&&!!qe[ki(t)]}function eo(t){return"function"==typeof t?t:null==t?Dh:"object"==typeof t?cl(t)?ao(t[0],t[1]):so(t):$h(t)}function no(t){if(!da(t))return ze(t);var e=[];for(var n in ne(t))fe.call(t,n)&&"constructor"!=n&&e.push(n);return e}function ro(t){if(!Cl(t))return ma(t);var e=da(t),n=[];for(var r in t)("constructor"!=r||!e&&fe.call(t,r))&&n.push(r);return n}function io(t,e){return t<e}function oo(t,e){var r=-1,i=ll(t)?n(t.length):[];return _i(t,(function(t,n,o){i[++r]=e(t,n,o)})),i}function so(t){var e=Vs(t);return 1==e.length&&e[0][2]?ga(e[0][0],e[0][1]):function(n){return n===t||Ki(n,t,e)}}function ao(t,e){return ca(t)&&pa(e)?ga(Da(t),e):function(n){var r=yf(n,t);return r===o&&r===e?If(n,t):Qi(e,r,y|m)}}function co(t,e,n,r,i){t!==e&&Si(e,(function(s,a){if(i||(i=new Jr),Cl(s))uo(t,e,a,n,co,r,i);else{var c=r?r(Aa(t,a),s,a+"",t,e,i):o;c===o&&(c=s),ci(t,a,c)}}),Cf)}function uo(t,e,n,r,i,s,a){var c=Aa(t,n),u=Aa(e,n),l=a.get(u);if(l)ci(t,n,l);else{var f=s?s(c,u,n+"",t,e,a):o,h=f===o;if(h){var d=cl(u),p=!d&&dl(u),g=!d&&!p&&Gl(u);f=u,d||p||g?cl(c)?f=c:fl(c)?f=is(c):p?(h=!1,f=Wo(u,!0)):g?(h=!1,f=Xo(u,!0)):f=[]:xl(u)||al(u)?(f=c,al(c)?f=ql(c):Cl(c)&&!bl(c)||(f=na(u))):h=!1}h&&(a.set(u,f),i(f,u,r,s,a),a["delete"](u)),ci(t,n,f)}}function lo(t,e){var n=t.length;if(n)return e+=e<0?n:0,sa(e,n)?t[e]:o}function fo(t,e,n){e=e.length?Nn(e,(function(t){return cl(t)?function(e){return xi(e,1===t.length?t[0]:t)}:t})):[Dh];var r=-1;e=Nn(e,Kn($s()));var i=oo(t,(function(t,n,i){var o=Nn(e,(function(e){return e(t)}));return{criteria:o,index:++r,value:t}}));return Hn(i,(function(t,e){return es(t,e,n)}))}function ho(t,e){return po(t,e,(function(e,n){return If(t,n)}))}function po(t,e,n){var r=-1,i=e.length,o={};while(++r<i){var s=e[r],a=xi(t,s);n(a,s)&&Co(o,$o(s,t),a)}return o}function go(t){return function(e){return xi(e,t)}}function vo(t,e,n,r){var i=r?zn:Un,o=-1,s=e.length,a=t;t===e&&(e=is(e)),n&&(a=Nn(t,Kn(n)));while(++o<s){var c=0,u=e[o],l=n?n(u):u;while((c=i(a,l,c,r))>-1)a!==t&&Te.call(a,c,1),Te.call(t,c,1)}return t}function yo(t,e){var n=t?e.length:0,r=n-1;while(n--){var i=e[n];if(n==r||i!==o){var o=i;sa(i)?Te.call(t,i,1):ko(t,i)}}return t}function mo(t,e){return t+xe(Ve()*(e-t+1))}function Io(t,e,r,i){var o=-1,s=Ge(Le((e-t)/(r||1)),0),a=n(s);while(s--)a[i?s:++o]=t,t+=r;return a}function Mo(t,e){var n="";if(!t||e<1||e>P)return n;do{e%2&&(n+=t),e=xe(e/2),e&&(t+=t)}while(e);return n}function bo(t,e){return Ea(Ma(t,e,Dh),t+"")}function _o(t){return oi(Yf(t))}function Ao(t,e){var n=Yf(t);return Sa(n,vi(e,0,n.length))}function Co(t,e,n,r){if(!Cl(t))return t;e=$o(e,t);var i=-1,s=e.length,a=s-1,c=t;while(null!=c&&++i<s){var u=Da(e[i]),l=n;if("__proto__"===u||"constructor"===u||"prototype"===u)return t;if(i!=a){var f=c[u];l=r?r(f,u,c):o,l===o&&(l=Cl(f)?f:sa(e[i+1])?[]:{})}ui(c,u,l),c=c[u]}return t}var To=an?function(t,e){return an.set(t,e),t}:Dh,Eo=Se?function(t,e){return Se(t,"toString",{configurable:!0,enumerable:!1,value:wh(e),writable:!0})}:Dh;function wo(t){return Sa(Yf(t))}function No(t,e,r){var i=-1,o=t.length;e<0&&(e=-e>o?0:o+e),r=r>o?o:r,r<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;var s=n(o);while(++i<o)s[i]=t[i+e];return s}function So(t,e){var n;return _i(t,(function(t,r,i){return n=e(t,r,i),!n})),!!n}function Oo(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e===e&&i<=Y){while(r<i){var o=r+i>>>1,s=t[o];null!==s&&!zl(s)&&(n?s<=e:s<e)?r=o+1:i=o}return i}return Do(t,e,Dh,n)}function Do(t,e,n,r){var i=0,s=null==t?0:t.length;if(0===s)return 0;e=n(e);var a=e!==e,c=null===e,u=zl(e),l=e===o;while(i<s){var f=xe((i+s)/2),h=n(t[f]),d=h!==o,p=null===h,g=h===h,v=zl(h);if(a)var y=r||g;else y=l?g&&(r||d):c?g&&d&&(r||!p):u?g&&d&&!p&&(r||!v):!p&&!v&&(r?h<=e:h<e);y?i=f+1:s=f}return Be(s,B)}function Ro(t,e){var n=-1,r=t.length,i=0,o=[];while(++n<r){var s=t[n],a=e?e(s):s;if(!n||!il(a,c)){var c=a;o[i++]=0===s?0:s}}return o}function Lo(t){return"number"==typeof t?t:zl(t)?z:+t}function xo(t){if("string"==typeof t)return t;if(cl(t))return Nn(t,xo)+"";if(zl(t))return Mr?Mr.call(t):"";var e=t+"";return"0"==e&&1/t==-k?"-0":e}function jo(t,e,n){var r=-1,i=En,o=t.length,s=!0,c=[],u=c;if(n)s=!1,i=wn;else if(o>=a){var l=e?null:Ss(t);if(l)return hr(l);s=!1,i=Jn,u=new Zr}else u=e?[]:c;t:while(++r<o){var f=t[r],h=e?e(f):f;if(f=n||0!==f?f:0,s&&h===h){var d=u.length;while(d--)if(u[d]===h)continue t;e&&u.push(h),c.push(f)}else i(u,h,n)||(u!==c&&u.push(h),c.push(f))}return c}function ko(t,e){return e=$o(e,t),t=ba(t,e),null==t||delete t[Da(oc(e))]}function Po(t,e,n,r){return Co(t,e,n(xi(t,e)),r)}function Uo(t,e,n,r){var i=t.length,o=r?i:-1;while((r?o--:++o<i)&&e(t[o],o,t));return n?No(t,r?0:o,r?o+1:i):No(t,r?o+1:0,r?i:o)}function zo(t,e){var n=t;return n instanceof wr&&(n=n.value()),On(e,(function(t,e){return e.func.apply(e.thisArg,Sn([t],e.args))}),n)}function Go(t,e,r){var i=t.length;if(i<2)return i?jo(t[0]):[];var o=-1,s=n(i);while(++o<i){var a=t[o],c=-1;while(++c<i)c!=o&&(s[o]=bi(s[o]||a,t[c],e,r))}return jo(Ni(s,1),e,r)}function Bo(t,e,n){var r=-1,i=t.length,s=e.length,a={};while(++r<i){var c=r<s?e[r]:o;n(a,t[r],c)}return a}function Yo(t){return fl(t)?t:[]}function Fo(t){return"function"==typeof t?t:Dh}function $o(t,e){return cl(t)?t:ca(t,e)?[t]:Oa(Xl(t))}var Ho=bo;function Vo(t,e,n){var r=t.length;return n=n===o?r:n,!e&&n>=r?t:No(t,e,n)}var Qo=Oe||function(t){return cn.clearTimeout(t)};function Wo(t,e){if(e)return t.slice();var n=t.length,r=be?be(n):new t.constructor(n);return t.copy(r),r}function Zo(t){var e=new t.constructor(t.byteLength);return new Me(e).set(new Me(t)),e}function Ko(t,e){var n=e?Zo(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function qo(t){var e=new t.constructor(t.source,Qt.exec(t));return e.lastIndex=t.lastIndex,e}function Jo(t){return pr?ne(pr.call(t)):{}}function Xo(t,e){var n=e?Zo(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function ts(t,e){if(t!==e){var n=t!==o,r=null===t,i=t===t,s=zl(t),a=e!==o,c=null===e,u=e===e,l=zl(e);if(!c&&!l&&!s&&t>e||s&&a&&u&&!c&&!l||r&&a&&u||!n&&u||!i)return 1;if(!r&&!s&&!l&&t<e||l&&n&&i&&!r&&!s||c&&n&&i||!a&&i||!u)return-1}return 0}function es(t,e,n){var r=-1,i=t.criteria,o=e.criteria,s=i.length,a=n.length;while(++r<s){var c=ts(i[r],o[r]);if(c){if(r>=a)return c;var u=n[r];return c*("desc"==u?-1:1)}}return t.index-e.index}function ns(t,e,r,i){var o=-1,s=t.length,a=r.length,c=-1,u=e.length,l=Ge(s-a,0),f=n(u+l),h=!i;while(++c<u)f[c]=e[c];while(++o<a)(h||o<s)&&(f[r[o]]=t[o]);while(l--)f[c++]=t[o++];return f}function rs(t,e,r,i){var o=-1,s=t.length,a=-1,c=r.length,u=-1,l=e.length,f=Ge(s-c,0),h=n(f+l),d=!i;while(++o<f)h[o]=t[o];var p=o;while(++u<l)h[p+u]=e[u];while(++a<c)(d||o<s)&&(h[p+r[a]]=t[o++]);return h}function is(t,e){var r=-1,i=t.length;e||(e=n(i));while(++r<i)e[r]=t[r];return e}function os(t,e,n,r){var i=!n;n||(n={});var s=-1,a=e.length;while(++s<a){var c=e[s],u=r?r(n[c],t[c],c,n,t):o;u===o&&(u=t[c]),i?pi(n,c,u):ui(n,c,u)}return n}function ss(t,e){return os(t,Zs(t),e)}function as(t,e){return os(t,Ks(t),e)}function cs(t,e){return function(n,r){var i=cl(n)?bn:fi,o=e?e():{};return i(n,t,$s(r,2),o)}}function us(t){return bo((function(e,n){var r=-1,i=n.length,s=i>1?n[i-1]:o,a=i>2?n[2]:o;s=t.length>3&&"function"==typeof s?(i--,s):o,a&&aa(n[0],n[1],a)&&(s=i<3?o:s,i=1),e=ne(e);while(++r<i){var c=n[r];c&&t(e,c,r,s)}return e}))}function ls(t,e){return function(n,r){if(null==n)return n;if(!ll(n))return t(n,r);var i=n.length,o=e?i:-1,s=ne(n);while(e?o--:++o<i)if(!1===r(s[o],o,s))break;return n}}function fs(t){return function(e,n,r){var i=-1,o=ne(e),s=r(e),a=s.length;while(a--){var c=s[t?a:++i];if(!1===n(o[c],c,o))break}return e}}function hs(t,e,n){var r=e&I,i=gs(t);function o(){var e=this&&this!==cn&&this instanceof o?i:t;return e.apply(r?n:this,arguments)}return o}function ds(t){return function(e){e=Xl(e);var n=sr(e)?yr(e):o,r=n?n[0]:e.charAt(0),i=n?Vo(n,1).join(""):e.slice(1);return r[t]()+i}}function ps(t){return function(e){return On(_h(Zf(e).replace(Fe,"")),t,"")}}function gs(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Ar(t.prototype),r=t.apply(n,e);return Cl(r)?r:n}}function vs(t,e,r){var i=gs(t);function s(){var a=arguments.length,c=n(a),u=a,l=Fs(s);while(u--)c[u]=arguments[u];var f=a<3&&c[0]!==l&&c[a-1]!==l?[]:fr(c,l);if(a-=f.length,a<r)return ws(t,e,Is,s.placeholder,o,c,f,o,o,r-a);var h=this&&this!==cn&&this instanceof s?i:t;return Mn(h,this,c)}return s}function ys(t){return function(e,n,r){var i=ne(e);if(!ll(e)){var s=$s(n,3);e=Af(e),n=function(t){return s(i[t],t,i)}}var a=t(e,n,r);return a>-1?i[s?e[a]:a]:o}}function ms(t){return Us((function(e){var n=e.length,r=n,i=Er.prototype.thru;t&&e.reverse();while(r--){var s=e[r];if("function"!=typeof s)throw new oe(u);if(i&&!a&&"wrapper"==Ys(s))var a=new Er([],!0)}r=a?r:n;while(++r<n){s=e[r];var c=Ys(s),l="wrapper"==c?Bs(s):o;a=l&&la(l[0])&&l[1]==(E|_|C|w)&&!l[4].length&&1==l[9]?a[Ys(l[0])].apply(a,l[3]):1==s.length&&la(s)?a[c]():a.thru(s)}return function(){var t=arguments,r=t[0];if(a&&1==t.length&&cl(r))return a.plant(r).value();var i=0,o=n?e[i].apply(this,t):r;while(++i<n)o=e[i].call(this,o);return o}}))}function Is(t,e,r,i,s,a,c,u,l,f){var h=e&E,d=e&I,p=e&M,g=e&(_|A),v=e&N,y=p?o:gs(t);function m(){var o=arguments.length,I=n(o),M=o;while(M--)I[M]=arguments[M];if(g)var b=Fs(m),_=er(I,b);if(i&&(I=ns(I,i,s,g)),a&&(I=rs(I,a,c,g)),o-=_,g&&o<f){var A=fr(I,b);return ws(t,e,Is,m.placeholder,r,I,A,u,l,f-o)}var C=d?r:this,T=p?C[t]:t;return o=I.length,u?I=_a(I,u):v&&o>1&&I.reverse(),h&&l<o&&(I.length=l),this&&this!==cn&&this instanceof m&&(T=y||gs(T)),T.apply(C,I)}return m}function Ms(t,e){return function(n,r){return Yi(n,t,e(r),{})}}function bs(t,e){return function(n,r){var i;if(n===o&&r===o)return e;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=xo(n),r=xo(r)):(n=Lo(n),r=Lo(r)),i=t(n,r)}return i}}function _s(t){return Us((function(e){return e=Nn(e,Kn($s())),bo((function(n){var r=this;return t(e,(function(t){return Mn(t,r,n)}))}))}))}function As(t,e){e=e===o?" ":xo(e);var n=e.length;if(n<2)return n?Mo(e,t):e;var r=Mo(e,Le(t/vr(e)));return sr(e)?Vo(yr(r),0,t).join(""):r.slice(0,t)}function Cs(t,e,r,i){var o=e&I,s=gs(t);function a(){var e=-1,c=arguments.length,u=-1,l=i.length,f=n(l+c),h=this&&this!==cn&&this instanceof a?s:t;while(++u<l)f[u]=i[u];while(c--)f[u++]=arguments[++e];return Mn(h,o?r:this,f)}return a}function Ts(t){return function(e,n,r){return r&&"number"!=typeof r&&aa(e,n,r)&&(n=r=o),e=Ql(e),n===o?(n=e,e=0):n=Ql(n),r=r===o?e<n?1:-1:Ql(r),Io(e,n,r,t)}}function Es(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=Kl(e),n=Kl(n)),t(e,n)}}function ws(t,e,n,r,i,s,a,c,u,l){var f=e&_,h=f?a:o,d=f?o:a,p=f?s:o,g=f?o:s;e|=f?C:T,e&=~(f?T:C),e&b||(e&=~(I|M));var v=[t,e,i,p,h,g,d,c,u,l],y=n.apply(o,v);return la(t)&&Ca(y,v),y.placeholder=r,wa(y,t,e)}function Ns(t){var e=Ft[t];return function(t,n){if(t=Kl(t),n=null==n?0:Be(Wl(n),292),n&&Pe(t)){var r=(Xl(t)+"e").split("e"),i=e(r[0]+"e"+(+r[1]+n));return r=(Xl(i)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return e(t)}}var Ss=en&&1/hr(new en([,-0]))[1]==k?function(t){return new en(t)}:zh;function Os(t){return function(e){var n=qs(e);return n==X?ur(e):n==st?dr(e):Wn(e,t(e))}}function Ds(t,e,n,r,i,s,a,c){var l=e&M;if(!l&&"function"!=typeof t)throw new oe(u);var f=r?r.length:0;if(f||(e&=~(C|T),r=i=o),a=a===o?a:Ge(Wl(a),0),c=c===o?c:Wl(c),f-=i?i.length:0,e&T){var h=r,d=i;r=i=o}var p=l?o:Bs(t),g=[t,e,n,r,i,h,d,s,a,c];if(p&&ya(g,p),t=g[0],e=g[1],n=g[2],r=g[3],i=g[4],c=g[9]=g[9]===o?l?0:t.length:Ge(g[9]-f,0),!c&&e&(_|A)&&(e&=~(_|A)),e&&e!=I)v=e==_||e==A?vs(t,e,c):e!=C&&e!=(I|C)||i.length?Is.apply(o,g):Cs(t,e,n,r);else var v=hs(t,e,n);var y=p?To:Ca;return wa(y(v,g),t,e)}function Rs(t,e,n,r){return t===o||il(t,ce[n])&&!fe.call(r,n)?e:t}function Ls(t,e,n,r,i,s){return Cl(t)&&Cl(e)&&(s.set(e,t),co(t,e,o,Ls,s),s["delete"](e)),t}function xs(t){return xl(t)?o:t}function js(t,e,n,r,i,s){var a=n&y,c=t.length,u=e.length;if(c!=u&&!(a&&u>c))return!1;var l=s.get(t),f=s.get(e);if(l&&f)return l==e&&f==t;var h=-1,d=!0,p=n&m?new Zr:o;s.set(t,e),s.set(e,t);while(++h<c){var g=t[h],v=e[h];if(r)var I=a?r(v,g,h,e,t,s):r(g,v,h,t,e,s);if(I!==o){if(I)continue;d=!1;break}if(p){if(!Rn(e,(function(t,e){if(!Jn(p,e)&&(g===t||i(g,t,n,r,s)))return p.push(e)}))){d=!1;break}}else if(g!==v&&!i(g,v,n,r,s)){d=!1;break}}return s["delete"](t),s["delete"](e),d}function ks(t,e,n,r,i,o,s){switch(n){case dt:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ht:return!(t.byteLength!=e.byteLength||!o(new Me(t),new Me(e)));case Q:case W:case tt:return il(+t,+e);case K:return t.name==e.name&&t.message==e.message;case ot:case at:return t==e+"";case X:var a=ur;case st:var c=r&y;if(a||(a=hr),t.size!=e.size&&!c)return!1;var u=s.get(t);if(u)return u==e;r|=m,s.set(t,e);var l=js(a(t),a(e),r,i,o,s);return s["delete"](t),l;case ct:if(pr)return pr.call(t)==pr.call(e)}return!1}function Ps(t,e,n,r,i,s){var a=n&y,c=zs(t),u=c.length,l=zs(e),f=l.length;if(u!=f&&!a)return!1;var h=u;while(h--){var d=c[h];if(!(a?d in e:fe.call(e,d)))return!1}var p=s.get(t),g=s.get(e);if(p&&g)return p==e&&g==t;var v=!0;s.set(t,e),s.set(e,t);var m=a;while(++h<u){d=c[h];var I=t[d],M=e[d];if(r)var b=a?r(M,I,d,e,t,s):r(I,M,d,t,e,s);if(!(b===o?I===M||i(I,M,n,r,s):b)){v=!1;break}m||(m="constructor"==d)}if(v&&!m){var _=t.constructor,A=e.constructor;_==A||!("constructor"in t)||!("constructor"in e)||"function"==typeof _&&_ instanceof _&&"function"==typeof A&&A instanceof A||(v=!1)}return s["delete"](t),s["delete"](e),v}function Us(t){return Ea(Ma(t,o,Wa),t+"")}function zs(t){return ji(t,Af,Zs)}function Gs(t){return ji(t,Cf,Ks)}var Bs=an?function(t){return an.get(t)}:zh;function Ys(t){var e=t.name+"",n=un[e],r=fe.call(un,e)?n.length:0;while(r--){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function Fs(t){var e=fe.call(br,"placeholder")?br:t;return e.placeholder}function $s(){var t=br.iteratee||Rh;return t=t===Rh?eo:t,arguments.length?t(arguments[0],arguments[1]):t}function Hs(t,e){var n=t.__data__;return ua(e)?n["string"==typeof e?"string":"hash"]:n.map}function Vs(t){var e=Af(t),n=e.length;while(n--){var r=e[n],i=t[r];e[n]=[r,i,pa(i)]}return e}function Qs(t,e){var n=or(t,e);return qi(n)?n:o}function Ws(t){var e=fe.call(t,Ne),n=t[Ne];try{t[Ne]=o;var r=!0}catch(s){}var i=pe.call(t);return r&&(e?t[Ne]=n:delete t[Ne]),i}var Zs=je?function(t){return null==t?[]:(t=ne(t),Tn(je(t),(function(e){return Ce.call(t,e)})))}:Wh,Ks=je?function(t){var e=[];while(t)Sn(e,Zs(t)),t=_e(t);return e}:Wh,qs=ki;function Js(t,e,n){var r=-1,i=n.length;while(++r<i){var o=n[r],s=o.size;switch(o.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=Be(e,t+s);break;case"takeRight":t=Ge(t,e-s);break}}return{start:t,end:e}}function Xs(t){var e=t.match(Bt);return e?e[1].split(Yt):[]}function ta(t,e,n){e=$o(e,t);var r=-1,i=e.length,o=!1;while(++r<i){var s=Da(e[r]);if(!(o=null!=t&&n(t,s)))break;t=t[s]}return o||++r!=i?o:(i=null==t?0:t.length,!!i&&Al(i)&&sa(s,i)&&(cl(t)||al(t)))}function ea(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&fe.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function na(t){return"function"!=typeof t.constructor||da(t)?{}:Ar(_e(t))}function ra(t,e,n){var r=t.constructor;switch(e){case ht:return Zo(t);case Q:case W:return new r(+t);case dt:return Ko(t,n);case pt:case gt:case vt:case yt:case mt:case It:case Mt:case bt:case _t:return Xo(t,n);case X:return new r;case tt:case at:return new r(t);case ot:return qo(t);case st:return new r;case ct:return Jo(t)}}function ia(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(Gt,"{\n/* [wrapped with "+e+"] */\n")}function oa(t){return cl(t)||al(t)||!!(Ee&&t&&t[Ee])}function sa(t,e){var n=typeof t;return e=null==e?P:e,!!e&&("number"==n||"symbol"!=n&&Jt.test(t))&&t>-1&&t%1==0&&t<e}function aa(t,e,n){if(!Cl(n))return!1;var r=typeof e;return!!("number"==r?ll(n)&&sa(e,n.length):"string"==r&&e in n)&&il(n[e],t)}function ca(t,e){if(cl(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!zl(t))||(xt.test(t)||!Lt.test(t)||null!=e&&t in ne(e))}function ua(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function la(t){var e=Ys(t),n=br[e];if("function"!=typeof n||!(e in wr.prototype))return!1;if(t===n)return!0;var r=Bs(n);return!!r&&t===r[0]}function fa(t){return!!de&&de in t}(We&&qs(new We(new ArrayBuffer(1)))!=dt||Xe&&qs(new Xe)!=X||tn&&qs(tn.resolve())!=rt||en&&qs(new en)!=st||nn&&qs(new nn)!=lt)&&(qs=function(t){var e=ki(t),n=e==nt?t.constructor:o,r=n?Ra(n):"";if(r)switch(r){case ln:return dt;case hn:return X;case dn:return rt;case Ln:return st;case xn:return lt}return e});var ha=ue?bl:Zh;function da(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||ce;return t===n}function pa(t){return t===t&&!Cl(t)}function ga(t,e){return function(n){return null!=n&&(n[t]===e&&(e!==o||t in ne(n)))}}function va(t){var e=Gu(t,(function(t){return n.size===h&&n.clear(),t})),n=e.cache;return e}function ya(t,e){var n=t[1],r=e[1],i=n|r,o=i<(I|M|E),s=r==E&&n==_||r==E&&n==w&&t[7].length<=e[8]||r==(E|w)&&e[7].length<=e[8]&&n==_;if(!o&&!s)return t;r&I&&(t[2]=e[2],i|=n&I?0:b);var a=e[3];if(a){var c=t[3];t[3]=c?ns(c,a,e[4]):a,t[4]=c?fr(t[3],d):e[4]}return a=e[5],a&&(c=t[5],t[5]=c?rs(c,a,e[6]):a,t[6]=c?fr(t[5],d):e[6]),a=e[7],a&&(t[7]=a),r&E&&(t[8]=null==t[8]?e[8]:Be(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=i,t}function ma(t){var e=[];if(null!=t)for(var n in ne(t))e.push(n);return e}function Ia(t){return pe.call(t)}function Ma(t,e,r){return e=Ge(e===o?t.length-1:e,0),function(){var i=arguments,o=-1,s=Ge(i.length-e,0),a=n(s);while(++o<s)a[o]=i[e+o];o=-1;var c=n(e+1);while(++o<e)c[o]=i[o];return c[e]=r(a),Mn(t,this,c)}}function ba(t,e){return e.length<2?t:xi(t,No(e,0,-1))}function _a(t,e){var n=t.length,r=Be(e.length,n),i=is(t);while(r--){var s=e[r];t[r]=sa(s,n)?i[s]:o}return t}function Aa(t,e){if(("constructor"!==e||"function"!==typeof t[e])&&"__proto__"!=e)return t[e]}var Ca=Na(To),Ta=Re||function(t,e){return cn.setTimeout(t,e)},Ea=Na(Eo);function wa(t,e,n){var r=e+"";return Ea(t,ia(r,La(Xs(r),n)))}function Na(t){var e=0,n=0;return function(){var r=Ye(),i=R-(r-n);if(n=r,i>0){if(++e>=D)return arguments[0]}else e=0;return t.apply(o,arguments)}}function Sa(t,e){var n=-1,r=t.length,i=r-1;e=e===o?r:e;while(++n<e){var s=mo(n,i),a=t[s];t[s]=t[n],t[n]=a}return t.length=e,t}var Oa=va((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(jt,(function(t,n,r,i){e.push(r?i.replace(Ht,"$1"):n||t)})),e}));function Da(t){if("string"==typeof t||zl(t))return t;var e=t+"";return"0"==e&&1/t==-k?"-0":e}function Ra(t){if(null!=t){try{return le.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function La(t,e){return _n(F,(function(n){var r="_."+n[0];e&n[1]&&!En(t,r)&&t.push(r)})),t.sort()}function xa(t){if(t instanceof wr)return t.clone();var e=new Er(t.__wrapped__,t.__chain__);return e.__actions__=is(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function ja(t,e,r){e=(r?aa(t,e,r):e===o)?1:Ge(Wl(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];var s=0,a=0,c=n(Le(i/e));while(s<i)c[a++]=No(t,s,s+=e);return c}function ka(t){var e=-1,n=null==t?0:t.length,r=0,i=[];while(++e<n){var o=t[e];o&&(i[r++]=o)}return i}function Pa(){var t=arguments.length;if(!t)return[];var e=n(t-1),r=arguments[0],i=t;while(i--)e[i-1]=arguments[i];return Sn(cl(r)?is(r):[r],Ni(e,1))}var Ua=bo((function(t,e){return fl(t)?bi(t,Ni(e,1,fl,!0)):[]})),za=bo((function(t,e){var n=oc(e);return fl(n)&&(n=o),fl(t)?bi(t,Ni(e,1,fl,!0),$s(n,2)):[]})),Ga=bo((function(t,e){var n=oc(e);return fl(n)&&(n=o),fl(t)?bi(t,Ni(e,1,fl,!0),o,n):[]}));function Ba(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===o?1:Wl(e),No(t,e<0?0:e,r)):[]}function Ya(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===o?1:Wl(e),e=r-e,No(t,0,e<0?0:e)):[]}function Fa(t,e){return t&&t.length?Uo(t,$s(e,3),!0,!0):[]}function $a(t,e){return t&&t.length?Uo(t,$s(e,3),!0):[]}function Ha(t,e,n,r){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&aa(t,e,n)&&(n=0,r=i),Ei(t,e,n,r)):[]}function Va(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:Wl(n);return i<0&&(i=Ge(r+i,0)),Pn(t,$s(e,3),i)}function Qa(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return n!==o&&(i=Wl(n),i=n<0?Ge(r+i,0):Be(i,r-1)),Pn(t,$s(e,3),i,!0)}function Wa(t){var e=null==t?0:t.length;return e?Ni(t,1):[]}function Za(t){var e=null==t?0:t.length;return e?Ni(t,k):[]}function Ka(t,e){var n=null==t?0:t.length;return n?(e=e===o?1:Wl(e),Ni(t,e)):[]}function qa(t){var e=-1,n=null==t?0:t.length,r={};while(++e<n){var i=t[e];r[i[0]]=i[1]}return r}function Ja(t){return t&&t.length?t[0]:o}function Xa(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:Wl(n);return i<0&&(i=Ge(r+i,0)),Un(t,e,i)}function tc(t){var e=null==t?0:t.length;return e?No(t,0,-1):[]}var ec=bo((function(t){var e=Nn(t,Yo);return e.length&&e[0]===t[0]?Bi(e):[]})),nc=bo((function(t){var e=oc(t),n=Nn(t,Yo);return e===oc(n)?e=o:n.pop(),n.length&&n[0]===t[0]?Bi(n,$s(e,2)):[]})),rc=bo((function(t){var e=oc(t),n=Nn(t,Yo);return e="function"==typeof e?e:o,e&&n.pop(),n.length&&n[0]===t[0]?Bi(n,o,e):[]}));function ic(t,e){return null==t?"":Ue.call(t,e)}function oc(t){var e=null==t?0:t.length;return e?t[e-1]:o}function sc(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return n!==o&&(i=Wl(n),i=i<0?Ge(r+i,0):Be(i,r-1)),e===e?gr(t,e,i):Pn(t,Gn,i,!0)}function ac(t,e){return t&&t.length?lo(t,Wl(e)):o}var cc=bo(uc);function uc(t,e){return t&&t.length&&e&&e.length?vo(t,e):t}function lc(t,e,n){return t&&t.length&&e&&e.length?vo(t,e,$s(n,2)):t}function fc(t,e,n){return t&&t.length&&e&&e.length?vo(t,e,o,n):t}var hc=Us((function(t,e){var n=null==t?0:t.length,r=gi(t,e);return yo(t,Nn(e,(function(t){return sa(t,n)?+t:t})).sort(ts)),r}));function dc(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;e=$s(e,3);while(++r<o){var s=t[r];e(s,r,t)&&(n.push(s),i.push(r))}return yo(t,i),n}function pc(t){return null==t?t:Qe.call(t)}function gc(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&aa(t,e,n)?(e=0,n=r):(e=null==e?0:Wl(e),n=n===o?r:Wl(n)),No(t,e,n)):[]}function vc(t,e){return Oo(t,e)}function yc(t,e,n){return Do(t,e,$s(n,2))}function mc(t,e){var n=null==t?0:t.length;if(n){var r=Oo(t,e);if(r<n&&il(t[r],e))return r}return-1}function Ic(t,e){return Oo(t,e,!0)}function Mc(t,e,n){return Do(t,e,$s(n,2),!0)}function bc(t,e){var n=null==t?0:t.length;if(n){var r=Oo(t,e,!0)-1;if(il(t[r],e))return r}return-1}function _c(t){return t&&t.length?Ro(t):[]}function Ac(t,e){return t&&t.length?Ro(t,$s(e,2)):[]}function Cc(t){var e=null==t?0:t.length;return e?No(t,1,e):[]}function Tc(t,e,n){return t&&t.length?(e=n||e===o?1:Wl(e),No(t,0,e<0?0:e)):[]}function Ec(t,e,n){var r=null==t?0:t.length;return r?(e=n||e===o?1:Wl(e),e=r-e,No(t,e<0?0:e,r)):[]}function wc(t,e){return t&&t.length?Uo(t,$s(e,3),!1,!0):[]}function Nc(t,e){return t&&t.length?Uo(t,$s(e,3)):[]}var Sc=bo((function(t){return jo(Ni(t,1,fl,!0))})),Oc=bo((function(t){var e=oc(t);return fl(e)&&(e=o),jo(Ni(t,1,fl,!0),$s(e,2))})),Dc=bo((function(t){var e=oc(t);return e="function"==typeof e?e:o,jo(Ni(t,1,fl,!0),o,e)}));function Rc(t){return t&&t.length?jo(t):[]}function Lc(t,e){return t&&t.length?jo(t,$s(e,2)):[]}function xc(t,e){return e="function"==typeof e?e:o,t&&t.length?jo(t,o,e):[]}function jc(t){if(!t||!t.length)return[];var e=0;return t=Tn(t,(function(t){if(fl(t))return e=Ge(t.length,e),!0})),Qn(e,(function(e){return Nn(t,Yn(e))}))}function kc(t,e){if(!t||!t.length)return[];var n=jc(t);return null==e?n:Nn(n,(function(t){return Mn(e,o,t)}))}var Pc=bo((function(t,e){return fl(t)?bi(t,e):[]})),Uc=bo((function(t){return Go(Tn(t,fl))})),zc=bo((function(t){var e=oc(t);return fl(e)&&(e=o),Go(Tn(t,fl),$s(e,2))})),Gc=bo((function(t){var e=oc(t);return e="function"==typeof e?e:o,Go(Tn(t,fl),o,e)})),Bc=bo(jc);function Yc(t,e){return Bo(t||[],e||[],ui)}function Fc(t,e){return Bo(t||[],e||[],Co)}var $c=bo((function(t){var e=t.length,n=e>1?t[e-1]:o;return n="function"==typeof n?(t.pop(),n):o,kc(t,n)}));function Hc(t){var e=br(t);return e.__chain__=!0,e}function Vc(t,e){return e(t),t}function Qc(t,e){return e(t)}var Wc=Us((function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return gi(e,t)};return!(e>1||this.__actions__.length)&&r instanceof wr&&sa(n)?(r=r.slice(n,+n+(e?1:0)),r.__actions__.push({func:Qc,args:[i],thisArg:o}),new Er(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(o),t}))):this.thru(i)}));function Zc(){return Hc(this)}function Kc(){return new Er(this.value(),this.__chain__)}function qc(){this.__values__===o&&(this.__values__=Vl(this.value()));var t=this.__index__>=this.__values__.length,e=t?o:this.__values__[this.__index__++];return{done:t,value:e}}function Jc(){return this}function Xc(t){var e,n=this;while(n instanceof Tr){var r=xa(n);r.__index__=0,r.__values__=o,e?i.__wrapped__=r:e=r;var i=r;n=n.__wrapped__}return i.__wrapped__=t,e}function tu(){var t=this.__wrapped__;if(t instanceof wr){var e=t;return this.__actions__.length&&(e=new wr(this)),e=e.reverse(),e.__actions__.push({func:Qc,args:[pc],thisArg:o}),new Er(e,this.__chain__)}return this.thru(pc)}function eu(){return zo(this.__wrapped__,this.__actions__)}var nu=cs((function(t,e,n){fe.call(t,n)?++t[n]:pi(t,n,1)}));function ru(t,e,n){var r=cl(t)?Cn:Ci;return n&&aa(t,e,n)&&(e=o),r(t,$s(e,3))}function iu(t,e){var n=cl(t)?Tn:wi;return n(t,$s(e,3))}var ou=ys(Va),su=ys(Qa);function au(t,e){return Ni(vu(t,e),1)}function cu(t,e){return Ni(vu(t,e),k)}function uu(t,e,n){return n=n===o?1:Wl(n),Ni(vu(t,e),n)}function lu(t,e){var n=cl(t)?_n:_i;return n(t,$s(e,3))}function fu(t,e){var n=cl(t)?An:Ai;return n(t,$s(e,3))}var hu=cs((function(t,e,n){fe.call(t,n)?t[n].push(e):pi(t,n,[e])}));function du(t,e,n,r){t=ll(t)?t:Yf(t),n=n&&!r?Wl(n):0;var i=t.length;return n<0&&(n=Ge(i+n,0)),Ul(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&Un(t,e,n)>-1}var pu=bo((function(t,e,r){var i=-1,o="function"==typeof e,s=ll(t)?n(t.length):[];return _i(t,(function(t){s[++i]=o?Mn(e,t,r):Fi(t,e,r)})),s})),gu=cs((function(t,e,n){pi(t,n,e)}));function vu(t,e){var n=cl(t)?Nn:oo;return n(t,$s(e,3))}function yu(t,e,n,r){return null==t?[]:(cl(e)||(e=null==e?[]:[e]),n=r?o:n,cl(n)||(n=null==n?[]:[n]),fo(t,e,n))}var mu=cs((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));function Iu(t,e,n){var r=cl(t)?On:$n,i=arguments.length<3;return r(t,$s(e,4),n,i,_i)}function Mu(t,e,n){var r=cl(t)?Dn:$n,i=arguments.length<3;return r(t,$s(e,4),n,i,Ai)}function bu(t,e){var n=cl(t)?Tn:wi;return n(t,Bu($s(e,3)))}function _u(t){var e=cl(t)?oi:_o;return e(t)}function Au(t,e,n){e=(n?aa(t,e,n):e===o)?1:Wl(e);var r=cl(t)?si:Ao;return r(t,e)}function Cu(t){var e=cl(t)?ai:wo;return e(t)}function Tu(t){if(null==t)return 0;if(ll(t))return Ul(t)?vr(t):t.length;var e=qs(t);return e==X||e==st?t.size:no(t).length}function Eu(t,e,n){var r=cl(t)?Rn:So;return n&&aa(t,e,n)&&(e=o),r(t,$s(e,3))}var wu=bo((function(t,e){if(null==t)return[];var n=e.length;return n>1&&aa(t,e[0],e[1])?e=[]:n>2&&aa(e[0],e[1],e[2])&&(e=[e[0]]),fo(t,Ni(e,1),[])})),Nu=De||function(){return cn.Date.now()};function Su(t,e){if("function"!=typeof e)throw new oe(u);return t=Wl(t),function(){if(--t<1)return e.apply(this,arguments)}}function Ou(t,e,n){return e=n?o:e,e=t&&null==e?t.length:e,Ds(t,E,o,o,o,o,e)}function Du(t,e){var n;if("function"!=typeof e)throw new oe(u);return t=Wl(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=o),n}}var Ru=bo((function(t,e,n){var r=I;if(n.length){var i=fr(n,Fs(Ru));r|=C}return Ds(t,r,e,n,i)})),Lu=bo((function(t,e,n){var r=I|M;if(n.length){var i=fr(n,Fs(Lu));r|=C}return Ds(e,r,t,n,i)}));function xu(t,e,n){e=n?o:e;var r=Ds(t,_,o,o,o,o,o,e);return r.placeholder=xu.placeholder,r}function ju(t,e,n){e=n?o:e;var r=Ds(t,A,o,o,o,o,o,e);return r.placeholder=ju.placeholder,r}function ku(t,e,n){var r,i,s,a,c,l,f=0,h=!1,d=!1,p=!0;if("function"!=typeof t)throw new oe(u);function g(e){var n=r,s=i;return r=i=o,f=e,a=t.apply(s,n),a}function v(t){return f=t,c=Ta(I,e),h?g(t):a}function y(t){var n=t-l,r=t-f,i=e-n;return d?Be(i,s-r):i}function m(t){var n=t-l,r=t-f;return l===o||n>=e||n<0||d&&r>=s}function I(){var t=Nu();if(m(t))return M(t);c=Ta(I,y(t))}function M(t){return c=o,p&&r?g(t):(r=i=o,a)}function b(){c!==o&&Qo(c),f=0,r=l=i=c=o}function _(){return c===o?a:M(Nu())}function A(){var t=Nu(),n=m(t);if(r=arguments,i=this,l=t,n){if(c===o)return v(l);if(d)return Qo(c),c=Ta(I,e),g(l)}return c===o&&(c=Ta(I,e)),a}return e=Kl(e)||0,Cl(n)&&(h=!!n.leading,d="maxWait"in n,s=d?Ge(Kl(n.maxWait)||0,e):s,p="trailing"in n?!!n.trailing:p),A.cancel=b,A.flush=_,A}var Pu=bo((function(t,e){return Mi(t,1,e)})),Uu=bo((function(t,e,n){return Mi(t,Kl(e)||0,n)}));function zu(t){return Ds(t,N)}function Gu(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new oe(u);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(Gu.Cache||Fr),n}function Bu(t){if("function"!=typeof t)throw new oe(u);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}function Yu(t){return Du(2,t)}Gu.Cache=Fr;var Fu=Ho((function(t,e){e=1==e.length&&cl(e[0])?Nn(e[0],Kn($s())):Nn(Ni(e,1),Kn($s()));var n=e.length;return bo((function(r){var i=-1,o=Be(r.length,n);while(++i<o)r[i]=e[i].call(this,r[i]);return Mn(t,this,r)}))})),$u=bo((function(t,e){var n=fr(e,Fs($u));return Ds(t,C,o,e,n)})),Hu=bo((function(t,e){var n=fr(e,Fs(Hu));return Ds(t,T,o,e,n)})),Vu=Us((function(t,e){return Ds(t,w,o,o,o,e)}));function Qu(t,e){if("function"!=typeof t)throw new oe(u);return e=e===o?e:Wl(e),bo(t,e)}function Wu(t,e){if("function"!=typeof t)throw new oe(u);return e=null==e?0:Ge(Wl(e),0),bo((function(n){var r=n[e],i=Vo(n,0,e);return r&&Sn(i,r),Mn(t,this,i)}))}function Zu(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new oe(u);return Cl(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),ku(t,e,{leading:r,maxWait:e,trailing:i})}function Ku(t){return Ou(t,1)}function qu(t,e){return $u(Fo(e),t)}function Ju(){if(!arguments.length)return[];var t=arguments[0];return cl(t)?t:[t]}function Xu(t){return yi(t,v)}function tl(t,e){return e="function"==typeof e?e:o,yi(t,v,e)}function el(t){return yi(t,p|v)}function nl(t,e){return e="function"==typeof e?e:o,yi(t,p|v,e)}function rl(t,e){return null==e||Ii(t,e,Af(e))}function il(t,e){return t===e||t!==t&&e!==e}var ol=Es(Pi),sl=Es((function(t,e){return t>=e})),al=$i(function(){return arguments}())?$i:function(t){return Tl(t)&&fe.call(t,"callee")&&!Ce.call(t,"callee")},cl=n.isArray,ul=pn?Kn(pn):Hi;function ll(t){return null!=t&&Al(t.length)&&!bl(t)}function fl(t){return Tl(t)&&ll(t)}function hl(t){return!0===t||!1===t||Tl(t)&&ki(t)==Q}var dl=ke||Zh,pl=gn?Kn(gn):Vi;function gl(t){return Tl(t)&&1===t.nodeType&&!xl(t)}function vl(t){if(null==t)return!0;if(ll(t)&&(cl(t)||"string"==typeof t||"function"==typeof t.splice||dl(t)||Gl(t)||al(t)))return!t.length;var e=qs(t);if(e==X||e==st)return!t.size;if(da(t))return!no(t).length;for(var n in t)if(fe.call(t,n))return!1;return!0}function yl(t,e){return Qi(t,e)}function ml(t,e,n){n="function"==typeof n?n:o;var r=n?n(t,e):o;return r===o?Qi(t,e,o,n):!!r}function Il(t){if(!Tl(t))return!1;var e=ki(t);return e==K||e==Z||"string"==typeof t.message&&"string"==typeof t.name&&!xl(t)}function Ml(t){return"number"==typeof t&&Pe(t)}function bl(t){if(!Cl(t))return!1;var e=ki(t);return e==q||e==J||e==V||e==it}function _l(t){return"number"==typeof t&&t==Wl(t)}function Al(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=P}function Cl(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Tl(t){return null!=t&&"object"==typeof t}var El=vn?Kn(vn):Zi;function wl(t,e){return t===e||Ki(t,e,Vs(e))}function Nl(t,e,n){return n="function"==typeof n?n:o,Ki(t,e,Vs(e),n)}function Sl(t){return Ll(t)&&t!=+t}function Ol(t){if(ha(t))throw new i(c);return qi(t)}function Dl(t){return null===t}function Rl(t){return null==t}function Ll(t){return"number"==typeof t||Tl(t)&&ki(t)==tt}function xl(t){if(!Tl(t)||ki(t)!=nt)return!1;var e=_e(t);if(null===e)return!0;var n=fe.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&le.call(n)==ge}var jl=yn?Kn(yn):Ji;function kl(t){return _l(t)&&t>=-P&&t<=P}var Pl=mn?Kn(mn):Xi;function Ul(t){return"string"==typeof t||!cl(t)&&Tl(t)&&ki(t)==at}function zl(t){return"symbol"==typeof t||Tl(t)&&ki(t)==ct}var Gl=In?Kn(In):to;function Bl(t){return t===o}function Yl(t){return Tl(t)&&qs(t)==lt}function Fl(t){return Tl(t)&&ki(t)==ft}var $l=Es(io),Hl=Es((function(t,e){return t<=e}));function Vl(t){if(!t)return[];if(ll(t))return Ul(t)?yr(t):is(t);if(we&&t[we])return cr(t[we]());var e=qs(t),n=e==X?ur:e==st?hr:Yf;return n(t)}function Ql(t){if(!t)return 0===t?t:0;if(t=Kl(t),t===k||t===-k){var e=t<0?-1:1;return e*U}return t===t?t:0}function Wl(t){var e=Ql(t),n=e%1;return e===e?n?e-n:e:0}function Zl(t){return t?vi(Wl(t),0,G):0}function Kl(t){if("number"==typeof t)return t;if(zl(t))return z;if(Cl(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Cl(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Zn(t);var n=Zt.test(t);return n||qt.test(t)?on(t.slice(2),n?2:8):Wt.test(t)?z:+t}function ql(t){return os(t,Cf(t))}function Jl(t){return t?vi(Wl(t),-P,P):0===t?t:0}function Xl(t){return null==t?"":xo(t)}var tf=us((function(t,e){if(da(e)||ll(e))os(e,Af(e),t);else for(var n in e)fe.call(e,n)&&ui(t,n,e[n])})),ef=us((function(t,e){os(e,Cf(e),t)})),nf=us((function(t,e,n,r){os(e,Cf(e),t,r)})),rf=us((function(t,e,n,r){os(e,Af(e),t,r)})),of=Us(gi);function sf(t,e){var n=Ar(t);return null==e?n:hi(n,e)}var af=bo((function(t,e){t=ne(t);var n=-1,r=e.length,i=r>2?e[2]:o;i&&aa(e[0],e[1],i)&&(r=1);while(++n<r){var s=e[n],a=Cf(s),c=-1,u=a.length;while(++c<u){var l=a[c],f=t[l];(f===o||il(f,ce[l])&&!fe.call(t,l))&&(t[l]=s[l])}}return t})),cf=bo((function(t){return t.push(o,Ls),Mn(Nf,o,t)}));function uf(t,e){return kn(t,$s(e,3),Di)}function lf(t,e){return kn(t,$s(e,3),Ri)}function ff(t,e){return null==t?t:Si(t,$s(e,3),Cf)}function hf(t,e){return null==t?t:Oi(t,$s(e,3),Cf)}function df(t,e){return t&&Di(t,$s(e,3))}function pf(t,e){return t&&Ri(t,$s(e,3))}function gf(t){return null==t?[]:Li(t,Af(t))}function vf(t){return null==t?[]:Li(t,Cf(t))}function yf(t,e,n){var r=null==t?o:xi(t,e);return r===o?n:r}function mf(t,e){return null!=t&&ta(t,e,Ui)}function If(t,e){return null!=t&&ta(t,e,zi)}var Mf=Ms((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=pe.call(e)),t[e]=n}),wh(Dh)),bf=Ms((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=pe.call(e)),fe.call(t,e)?t[e].push(n):t[e]=[n]}),$s),_f=bo(Fi);function Af(t){return ll(t)?ii(t):no(t)}function Cf(t){return ll(t)?ii(t,!0):ro(t)}function Tf(t,e){var n={};return e=$s(e,3),Di(t,(function(t,r,i){pi(n,e(t,r,i),t)})),n}function Ef(t,e){var n={};return e=$s(e,3),Di(t,(function(t,r,i){pi(n,r,e(t,r,i))})),n}var wf=us((function(t,e,n){co(t,e,n)})),Nf=us((function(t,e,n,r){co(t,e,n,r)})),Sf=Us((function(t,e){var n={};if(null==t)return n;var r=!1;e=Nn(e,(function(e){return e=$o(e,t),r||(r=e.length>1),e})),os(t,Gs(t),n),r&&(n=yi(n,p|g|v,xs));var i=e.length;while(i--)ko(n,e[i]);return n}));function Of(t,e){return Rf(t,Bu($s(e)))}var Df=Us((function(t,e){return null==t?{}:ho(t,e)}));function Rf(t,e){if(null==t)return{};var n=Nn(Gs(t),(function(t){return[t]}));return e=$s(e),po(t,n,(function(t,n){return e(t,n[0])}))}function Lf(t,e,n){e=$o(e,t);var r=-1,i=e.length;i||(i=1,t=o);while(++r<i){var s=null==t?o:t[Da(e[r])];s===o&&(r=i,s=n),t=bl(s)?s.call(t):s}return t}function xf(t,e,n){return null==t?t:Co(t,e,n)}function jf(t,e,n,r){return r="function"==typeof r?r:o,null==t?t:Co(t,e,n,r)}var kf=Os(Af),Pf=Os(Cf);function Uf(t,e,n){var r=cl(t),i=r||dl(t)||Gl(t);if(e=$s(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:Cl(t)&&bl(o)?Ar(_e(t)):{}}return(i?_n:Di)(t,(function(t,r,i){return e(n,t,r,i)})),n}function zf(t,e){return null==t||ko(t,e)}function Gf(t,e,n){return null==t?t:Po(t,e,Fo(n))}function Bf(t,e,n,r){return r="function"==typeof r?r:o,null==t?t:Po(t,e,Fo(n),r)}function Yf(t){return null==t?[]:qn(t,Af(t))}function Ff(t){return null==t?[]:qn(t,Cf(t))}function $f(t,e,n){return n===o&&(n=e,e=o),n!==o&&(n=Kl(n),n=n===n?n:0),e!==o&&(e=Kl(e),e=e===e?e:0),vi(Kl(t),e,n)}function Hf(t,e,n){return e=Ql(e),n===o?(n=e,e=0):n=Ql(n),t=Kl(t),Gi(t,e,n)}function Vf(t,e,n){if(n&&"boolean"!=typeof n&&aa(t,e,n)&&(e=n=o),n===o&&("boolean"==typeof e?(n=e,e=o):"boolean"==typeof t&&(n=t,t=o)),t===o&&e===o?(t=0,e=1):(t=Ql(t),e===o?(e=t,t=0):e=Ql(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=Ve();return Be(t+i*(e-t+rn("1e-"+((i+"").length-1))),e)}return mo(t,e)}var Qf=ps((function(t,e,n){return e=e.toLowerCase(),t+(n?Wf(e):e)}));function Wf(t){return bh(Xl(t).toLowerCase())}function Zf(t){return t=Xl(t),t&&t.replace(Xt,nr).replace($e,"")}function Kf(t,e,n){t=Xl(t),e=xo(e);var r=t.length;n=n===o?r:vi(Wl(n),0,r);var i=n;return n-=e.length,n>=0&&t.slice(n,i)==e}function qf(t){return t=Xl(t),t&&St.test(t)?t.replace(wt,rr):t}function Jf(t){return t=Xl(t),t&&Pt.test(t)?t.replace(kt,"\\$&"):t}var Xf=ps((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),th=ps((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),eh=ds("toLowerCase");function nh(t,e,n){t=Xl(t),e=Wl(e);var r=e?vr(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return As(xe(i),n)+t+As(Le(i),n)}function rh(t,e,n){t=Xl(t),e=Wl(e);var r=e?vr(t):0;return e&&r<e?t+As(e-r,n):t}function ih(t,e,n){t=Xl(t),e=Wl(e);var r=e?vr(t):0;return e&&r<e?As(e-r,n)+t:t}function oh(t,e,n){return n||null==e?e=0:e&&(e=+e),He(Xl(t).replace(Ut,""),e||0)}function sh(t,e,n){return e=(n?aa(t,e,n):e===o)?1:Wl(e),Mo(Xl(t),e)}function ah(){var t=arguments,e=Xl(t[0]);return t.length<3?e:e.replace(t[1],t[2])}var ch=ps((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));function uh(t,e,n){return n&&"number"!=typeof n&&aa(t,e,n)&&(e=n=o),n=n===o?G:n>>>0,n?(t=Xl(t),t&&("string"==typeof e||null!=e&&!jl(e))&&(e=xo(e),!e&&sr(t))?Vo(yr(t),0,n):t.split(e,n)):[]}var lh=ps((function(t,e,n){return t+(n?" ":"")+bh(e)}));function fh(t,e,n){return t=Xl(t),n=null==n?0:vi(Wl(n),0,t.length),e=xo(e),t.slice(n,n+e.length)==e}function hh(t,e,n){var r=br.templateSettings;n&&aa(t,e,n)&&(e=o),t=Xl(t),e=nf({},e,r,Rs);var s,a,c=nf({},e.imports,r.imports,Rs),u=Af(c),f=qn(c,u),h=0,d=e.interpolate||te,p="__p += '",g=re((e.escape||te).source+"|"+d.source+"|"+(d===Rt?Vt:te).source+"|"+(e.evaluate||te).source+"|$","g"),v="//# sourceURL="+(fe.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ke+"]")+"\n";t.replace(g,(function(e,n,r,i,o,c){return r||(r=i),p+=t.slice(h,c).replace(ee,ir),n&&(s=!0,p+="' +\n__e("+n+") +\n'"),o&&(a=!0,p+="';\n"+o+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),h=c+e.length,e})),p+="';\n";var y=fe.call(e,"variable")&&e.variable;if(y){if($t.test(y))throw new i(l)}else p="with (obj) {\n"+p+"\n}\n";p=(a?p.replace(At,""):p).replace(Ct,"$1").replace(Tt,"$1;"),p="function("+(y||"obj")+") {\n"+(y?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(s?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var m=Ah((function(){return zt(u,v+"return "+p).apply(o,f)}));if(m.source=p,Il(m))throw m;return m}function dh(t){return Xl(t).toLowerCase()}function ph(t){return Xl(t).toUpperCase()}function gh(t,e,n){if(t=Xl(t),t&&(n||e===o))return Zn(t);if(!t||!(e=xo(e)))return t;var r=yr(t),i=yr(e),s=Xn(r,i),a=tr(r,i)+1;return Vo(r,s,a).join("")}function vh(t,e,n){if(t=Xl(t),t&&(n||e===o))return t.slice(0,mr(t)+1);if(!t||!(e=xo(e)))return t;var r=yr(t),i=tr(r,yr(e))+1;return Vo(r,0,i).join("")}function yh(t,e,n){if(t=Xl(t),t&&(n||e===o))return t.replace(Ut,"");if(!t||!(e=xo(e)))return t;var r=yr(t),i=Xn(r,yr(e));return Vo(r,i).join("")}function mh(t,e){var n=S,r=O;if(Cl(e)){var i="separator"in e?e.separator:i;n="length"in e?Wl(e.length):n,r="omission"in e?xo(e.omission):r}t=Xl(t);var s=t.length;if(sr(t)){var a=yr(t);s=a.length}if(n>=s)return t;var c=n-vr(r);if(c<1)return r;var u=a?Vo(a,0,c).join(""):t.slice(0,c);if(i===o)return u+r;if(a&&(c+=u.length-c),jl(i)){if(t.slice(c).search(i)){var l,f=u;i.global||(i=re(i.source,Xl(Qt.exec(i))+"g")),i.lastIndex=0;while(l=i.exec(f))var h=l.index;u=u.slice(0,h===o?c:h)}}else if(t.indexOf(xo(i),c)!=c){var d=u.lastIndexOf(i);d>-1&&(u=u.slice(0,d))}return u+r}function Ih(t){return t=Xl(t),t&&Nt.test(t)?t.replace(Et,Ir):t}var Mh=ps((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),bh=ds("toUpperCase");function _h(t,e,n){return t=Xl(t),e=n?o:e,e===o?ar(t)?_r(t):jn(t):t.match(e)||[]}var Ah=bo((function(t,e){try{return Mn(t,o,e)}catch(n){return Il(n)?n:new i(n)}})),Ch=Us((function(t,e){return _n(e,(function(e){e=Da(e),pi(t,e,Ru(t[e],t))})),t}));function Th(t){var e=null==t?0:t.length,n=$s();return t=e?Nn(t,(function(t){if("function"!=typeof t[1])throw new oe(u);return[n(t[0]),t[1]]})):[],bo((function(n){var r=-1;while(++r<e){var i=t[r];if(Mn(i[0],this,n))return Mn(i[1],this,n)}}))}function Eh(t){return mi(yi(t,p))}function wh(t){return function(){return t}}function Nh(t,e){return null==t||t!==t?e:t}var Sh=ms(),Oh=ms(!0);function Dh(t){return t}function Rh(t){return eo("function"==typeof t?t:yi(t,p))}function Lh(t){return so(yi(t,p))}function xh(t,e){return ao(t,yi(e,p))}var jh=bo((function(t,e){return function(n){return Fi(n,t,e)}})),kh=bo((function(t,e){return function(n){return Fi(t,n,e)}}));function Ph(t,e,n){var r=Af(e),i=Li(e,r);null!=n||Cl(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=Li(e,Af(e)));var o=!(Cl(n)&&"chain"in n)||!!n.chain,s=bl(t);return _n(i,(function(n){var r=e[n];t[n]=r,s&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),i=n.__actions__=is(this.__actions__);return i.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,Sn([this.value()],arguments))})})),t}function Uh(){return cn._===this&&(cn._=ve),this}function zh(){}function Gh(t){return t=Wl(t),bo((function(e){return lo(e,t)}))}var Bh=_s(Nn),Yh=_s(Cn),Fh=_s(Rn);function $h(t){return ca(t)?Yn(Da(t)):go(t)}function Hh(t){return function(e){return null==t?o:xi(t,e)}}var Vh=Ts(),Qh=Ts(!0);function Wh(){return[]}function Zh(){return!1}function Kh(){return{}}function qh(){return""}function Jh(){return!0}function Xh(t,e){if(t=Wl(t),t<1||t>P)return[];var n=G,r=Be(t,G);e=$s(e),t-=G;var i=Qn(r,e);while(++n<t)e(n);return i}function td(t){return cl(t)?Nn(t,Da):zl(t)?[t]:is(Oa(Xl(t)))}function ed(t){var e=++he;return Xl(t)+e}var nd=bs((function(t,e){return t+e}),0),rd=Ns("ceil"),id=bs((function(t,e){return t/e}),1),od=Ns("floor");function sd(t){return t&&t.length?Ti(t,Dh,Pi):o}function ad(t,e){return t&&t.length?Ti(t,$s(e,2),Pi):o}function cd(t){return Bn(t,Dh)}function ud(t,e){return Bn(t,$s(e,2))}function ld(t){return t&&t.length?Ti(t,Dh,io):o}function fd(t,e){return t&&t.length?Ti(t,$s(e,2),io):o}var hd=bs((function(t,e){return t*e}),1),dd=Ns("round"),pd=bs((function(t,e){return t-e}),0);function gd(t){return t&&t.length?Vn(t,Dh):0}function vd(t,e){return t&&t.length?Vn(t,$s(e,2)):0}return br.after=Su,br.ary=Ou,br.assign=tf,br.assignIn=ef,br.assignInWith=nf,br.assignWith=rf,br.at=of,br.before=Du,br.bind=Ru,br.bindAll=Ch,br.bindKey=Lu,br.castArray=Ju,br.chain=Hc,br.chunk=ja,br.compact=ka,br.concat=Pa,br.cond=Th,br.conforms=Eh,br.constant=wh,br.countBy=nu,br.create=sf,br.curry=xu,br.curryRight=ju,br.debounce=ku,br.defaults=af,br.defaultsDeep=cf,br.defer=Pu,br.delay=Uu,br.difference=Ua,br.differenceBy=za,br.differenceWith=Ga,br.drop=Ba,br.dropRight=Ya,br.dropRightWhile=Fa,br.dropWhile=$a,br.fill=Ha,br.filter=iu,br.flatMap=au,br.flatMapDeep=cu,br.flatMapDepth=uu,br.flatten=Wa,br.flattenDeep=Za,br.flattenDepth=Ka,br.flip=zu,br.flow=Sh,br.flowRight=Oh,br.fromPairs=qa,br.functions=gf,br.functionsIn=vf,br.groupBy=hu,br.initial=tc,br.intersection=ec,br.intersectionBy=nc,br.intersectionWith=rc,br.invert=Mf,br.invertBy=bf,br.invokeMap=pu,br.iteratee=Rh,br.keyBy=gu,br.keys=Af,br.keysIn=Cf,br.map=vu,br.mapKeys=Tf,br.mapValues=Ef,br.matches=Lh,br.matchesProperty=xh,br.memoize=Gu,br.merge=wf,br.mergeWith=Nf,br.method=jh,br.methodOf=kh,br.mixin=Ph,br.negate=Bu,br.nthArg=Gh,br.omit=Sf,br.omitBy=Of,br.once=Yu,br.orderBy=yu,br.over=Bh,br.overArgs=Fu,br.overEvery=Yh,br.overSome=Fh,br.partial=$u,br.partialRight=Hu,br.partition=mu,br.pick=Df,br.pickBy=Rf,br.property=$h,br.propertyOf=Hh,br.pull=cc,br.pullAll=uc,br.pullAllBy=lc,br.pullAllWith=fc,br.pullAt=hc,br.range=Vh,br.rangeRight=Qh,br.rearg=Vu,br.reject=bu,br.remove=dc,br.rest=Qu,br.reverse=pc,br.sampleSize=Au,br.set=xf,br.setWith=jf,br.shuffle=Cu,br.slice=gc,br.sortBy=wu,br.sortedUniq=_c,br.sortedUniqBy=Ac,br.split=uh,br.spread=Wu,br.tail=Cc,br.take=Tc,br.takeRight=Ec,br.takeRightWhile=wc,br.takeWhile=Nc,br.tap=Vc,br.throttle=Zu,br.thru=Qc,br.toArray=Vl,br.toPairs=kf,br.toPairsIn=Pf,br.toPath=td,br.toPlainObject=ql,br.transform=Uf,br.unary=Ku,br.union=Sc,br.unionBy=Oc,br.unionWith=Dc,br.uniq=Rc,br.uniqBy=Lc,br.uniqWith=xc,br.unset=zf,br.unzip=jc,br.unzipWith=kc,br.update=Gf,br.updateWith=Bf,br.values=Yf,br.valuesIn=Ff,br.without=Pc,br.words=_h,br.wrap=qu,br.xor=Uc,br.xorBy=zc,br.xorWith=Gc,br.zip=Bc,br.zipObject=Yc,br.zipObjectDeep=Fc,br.zipWith=$c,br.entries=kf,br.entriesIn=Pf,br.extend=ef,br.extendWith=nf,Ph(br,br),br.add=nd,br.attempt=Ah,br.camelCase=Qf,br.capitalize=Wf,br.ceil=rd,br.clamp=$f,br.clone=Xu,br.cloneDeep=el,br.cloneDeepWith=nl,br.cloneWith=tl,br.conformsTo=rl,br.deburr=Zf,br.defaultTo=Nh,br.divide=id,br.endsWith=Kf,br.eq=il,br.escape=qf,br.escapeRegExp=Jf,br.every=ru,br.find=ou,br.findIndex=Va,br.findKey=uf,br.findLast=su,br.findLastIndex=Qa,br.findLastKey=lf,br.floor=od,br.forEach=lu,br.forEachRight=fu,br.forIn=ff,br.forInRight=hf,br.forOwn=df,br.forOwnRight=pf,br.get=yf,br.gt=ol,br.gte=sl,br.has=mf,br.hasIn=If,br.head=Ja,br.identity=Dh,br.includes=du,br.indexOf=Xa,br.inRange=Hf,br.invoke=_f,br.isArguments=al,br.isArray=cl,br.isArrayBuffer=ul,br.isArrayLike=ll,br.isArrayLikeObject=fl,br.isBoolean=hl,br.isBuffer=dl,br.isDate=pl,br.isElement=gl,br.isEmpty=vl,br.isEqual=yl,br.isEqualWith=ml,br.isError=Il,br.isFinite=Ml,br.isFunction=bl,br.isInteger=_l,br.isLength=Al,br.isMap=El,br.isMatch=wl,br.isMatchWith=Nl,br.isNaN=Sl,br.isNative=Ol,br.isNil=Rl,br.isNull=Dl,br.isNumber=Ll,br.isObject=Cl,br.isObjectLike=Tl,br.isPlainObject=xl,br.isRegExp=jl,br.isSafeInteger=kl,br.isSet=Pl,br.isString=Ul,br.isSymbol=zl,br.isTypedArray=Gl,br.isUndefined=Bl,br.isWeakMap=Yl,br.isWeakSet=Fl,br.join=ic,br.kebabCase=Xf,br.last=oc,br.lastIndexOf=sc,br.lowerCase=th,br.lowerFirst=eh,br.lt=$l,br.lte=Hl,br.max=sd,br.maxBy=ad,br.mean=cd,br.meanBy=ud,br.min=ld,br.minBy=fd,br.stubArray=Wh,br.stubFalse=Zh,br.stubObject=Kh,br.stubString=qh,br.stubTrue=Jh,br.multiply=hd,br.nth=ac,br.noConflict=Uh,br.noop=zh,br.now=Nu,br.pad=nh,br.padEnd=rh,br.padStart=ih,br.parseInt=oh,br.random=Vf,br.reduce=Iu,br.reduceRight=Mu,br.repeat=sh,br.replace=ah,br.result=Lf,br.round=dd,br.runInContext=t,br.sample=_u,br.size=Tu,br.snakeCase=ch,br.some=Eu,br.sortedIndex=vc,br.sortedIndexBy=yc,br.sortedIndexOf=mc,br.sortedLastIndex=Ic,br.sortedLastIndexBy=Mc,br.sortedLastIndexOf=bc,br.startCase=lh,br.startsWith=fh,br.subtract=pd,br.sum=gd,br.sumBy=vd,br.template=hh,br.times=Xh,br.toFinite=Ql,br.toInteger=Wl,br.toLength=Zl,br.toLower=dh,br.toNumber=Kl,br.toSafeInteger=Jl,br.toString=Xl,br.toUpper=ph,br.trim=gh,br.trimEnd=vh,br.trimStart=yh,br.truncate=mh,br.unescape=Ih,br.uniqueId=ed,br.upperCase=Mh,br.upperFirst=bh,br.each=lu,br.eachRight=fu,br.first=Ja,Ph(br,function(){var t={};return Di(br,(function(e,n){fe.call(br.prototype,n)||(t[n]=e)})),t}(),{chain:!1}),br.VERSION=s,_n(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){br[t].placeholder=br})),_n(["drop","take"],(function(t,e){wr.prototype[t]=function(n){n=n===o?1:Ge(Wl(n),0);var r=this.__filtered__&&!e?new wr(this):this.clone();return r.__filtered__?r.__takeCount__=Be(n,r.__takeCount__):r.__views__.push({size:Be(n,G),type:t+(r.__dir__<0?"Right":"")}),r},wr.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),_n(["filter","map","takeWhile"],(function(t,e){var n=e+1,r=n==L||n==j;wr.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:$s(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}})),_n(["head","last"],(function(t,e){var n="take"+(e?"Right":"");wr.prototype[t]=function(){return this[n](1).value()[0]}})),_n(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");wr.prototype[t]=function(){return this.__filtered__?new wr(this):this[n](1)}})),wr.prototype.compact=function(){return this.filter(Dh)},wr.prototype.find=function(t){return this.filter(t).head()},wr.prototype.findLast=function(t){return this.reverse().find(t)},wr.prototype.invokeMap=bo((function(t,e){return"function"==typeof t?new wr(this):this.map((function(n){return Fi(n,t,e)}))})),wr.prototype.reject=function(t){return this.filter(Bu($s(t)))},wr.prototype.slice=function(t,e){t=Wl(t);var n=this;return n.__filtered__&&(t>0||e<0)?new wr(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==o&&(e=Wl(e),n=e<0?n.dropRight(-e):n.take(e-t)),n)},wr.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},wr.prototype.toArray=function(){return this.take(G)},Di(wr.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=br[r?"take"+("last"==e?"Right":""):e],s=r||/^find/.test(e);i&&(br.prototype[e]=function(){var e=this.__wrapped__,a=r?[1]:arguments,c=e instanceof wr,u=a[0],l=c||cl(e),f=function(t){var e=i.apply(br,Sn([t],a));return r&&h?e[0]:e};l&&n&&"function"==typeof u&&1!=u.length&&(c=l=!1);var h=this.__chain__,d=!!this.__actions__.length,p=s&&!h,g=c&&!d;if(!s&&l){e=g?e:new wr(this);var v=t.apply(e,a);return v.__actions__.push({func:Qc,args:[f],thisArg:o}),new Er(v,h)}return p&&g?t.apply(this,a):(v=this.thru(f),p?r?v.value()[0]:v.value():v)})})),_n(["pop","push","shift","sort","splice","unshift"],(function(t){var e=se[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);br.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(cl(i)?i:[],t)}return this[n]((function(n){return e.apply(cl(n)?n:[],t)}))}})),Di(wr.prototype,(function(t,e){var n=br[e];if(n){var r=n.name+"";fe.call(un,r)||(un[r]=[]),un[r].push({name:e,func:n})}})),un[Is(o,M).name]=[{name:"wrapper",func:o}],wr.prototype.clone=Nr,wr.prototype.reverse=Sr,wr.prototype.value=Or,br.prototype.at=Wc,br.prototype.chain=Zc,br.prototype.commit=Kc,br.prototype.next=qc,br.prototype.plant=Xc,br.prototype.reverse=tu,br.prototype.toJSON=br.prototype.valueOf=br.prototype.value=eu,br.prototype.first=br.prototype.head,we&&(br.prototype[we]=Jc),br},Cr=Ar();cn._=Cr,i=function(){return Cr}.call(e,n,e,r),i===o||(r.exports=i)}).call(this)}).call(this,n("c8ba"),n("62e4")(t))},"2f21":function(t,e,n){"use strict";var r=n("79e5");t.exports=function(t,e){return!!t&&r((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},"2f62":function(t,e,n){"use strict";
- /**
- * vuex v3.1.0
- * (c) 2019 Evan You
- * @license MIT
- */
- function r(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:r});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[r].concat(t.init):r,n.call(this,t)}}function r(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}n.d(e,"b",(function(){return D}));var i="undefined"!==typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(t){i&&(t._devtoolHook=i,i.emit("vuex:init",t),i.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){i.emit("vuex:mutation",t,e)})))}function s(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function a(t){return null!==t&&"object"===typeof t}function c(t){return t&&"function"===typeof t.then}var u=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},l={namespaced:{configurable:!0}};l.namespaced.get=function(){return!!this._rawModule.namespaced},u.prototype.addChild=function(t,e){this._children[t]=e},u.prototype.removeChild=function(t){delete this._children[t]},u.prototype.getChild=function(t){return this._children[t]},u.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},u.prototype.forEachChild=function(t){s(this._children,t)},u.prototype.forEachGetter=function(t){this._rawModule.getters&&s(this._rawModule.getters,t)},u.prototype.forEachAction=function(t){this._rawModule.actions&&s(this._rawModule.actions,t)},u.prototype.forEachMutation=function(t){this._rawModule.mutations&&s(this._rawModule.mutations,t)},Object.defineProperties(u.prototype,l);var f=function(t){this.register([],t,!1)};function h(t,e,n){if(e.update(n),n.modules)for(var r in n.modules){if(!e.getChild(r))return void 0;h(t.concat(r),e.getChild(r),n.modules[r])}}f.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},f.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")}),"")},f.prototype.update=function(t){h([],this.root,t)},f.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=new u(e,n);if(0===t.length)this.root=i;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],i)}e.modules&&s(e.modules,(function(e,i){r.register(t.concat(i),e,n)}))},f.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)};var d;var p=function(t){var e=this;void 0===t&&(t={}),!d&&"undefined"!==typeof window&&window.Vue&&N(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var r=t.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new f(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new d;var i=this,s=this,a=s.dispatch,c=s.commit;this.dispatch=function(t,e){return a.call(i,t,e)},this.commit=function(t,e,n){return c.call(i,t,e,n)},this.strict=r;var u=this._modules.root.state;I(this,u,[],this._modules.root),m(this,u),n.forEach((function(t){return t(e)}));var l=void 0!==t.devtools?t.devtools:d.config.devtools;l&&o(this)},g={state:{configurable:!0}};function v(t,e){return e.indexOf(t)<0&&e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function y(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;I(t,n,[],t._modules.root,!0),m(t,n,e)}function m(t,e,n){var r=t._vm;t.getters={};var i=t._wrappedGetters,o={};s(i,(function(e,n){o[n]=function(){return e(t)},Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var a=d.config.silent;d.config.silent=!0,t._vm=new d({data:{$$state:e},computed:o}),d.config.silent=a,t.strict&&T(t),r&&(n&&t._withCommit((function(){r._data.$$state=null})),d.nextTick((function(){return r.$destroy()})))}function I(t,e,n,r,i){var o=!n.length,s=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[s]=r),!o&&!i){var a=E(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){d.set(a,c,r.state)}))}var u=r.context=M(t,s,n);r.forEachMutation((function(e,n){var r=s+n;_(t,r,e,u)})),r.forEachAction((function(e,n){var r=e.root?n:s+n,i=e.handler||e;A(t,r,i,u)})),r.forEachGetter((function(e,n){var r=s+n;C(t,r,e,u)})),r.forEachChild((function(r,o){I(t,e,n.concat(o),r,i)}))}function M(t,e,n){var r=""===e,i={dispatch:r?t.dispatch:function(n,r,i){var o=w(n,r,i),s=o.payload,a=o.options,c=o.type;return a&&a.root||(c=e+c),t.dispatch(c,s)},commit:r?t.commit:function(n,r,i){var o=w(n,r,i),s=o.payload,a=o.options,c=o.type;a&&a.root||(c=e+c),t.commit(c,s,a)}};return Object.defineProperties(i,{getters:{get:r?function(){return t.getters}:function(){return b(t,e)}},state:{get:function(){return E(t.state,n)}}}),i}function b(t,e){var n={},r=e.length;return Object.keys(t.getters).forEach((function(i){if(i.slice(0,r)===e){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return t.getters[i]},enumerable:!0})}})),n}function _(t,e,n,r){var i=t._mutations[e]||(t._mutations[e]=[]);i.push((function(e){n.call(t,r.state,e)}))}function A(t,e,n,r){var i=t._actions[e]||(t._actions[e]=[]);i.push((function(e,i){var o=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e,i);return c(o)||(o=Promise.resolve(o)),t._devtoolHook?o.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):o}))}function C(t,e,n,r){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)})}function T(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function E(t,e){return e.length?e.reduce((function(t,e){return t[e]}),t):t}function w(t,e,n){return a(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function N(t){d&&t===d||(d=t,r(d))}g.state.get=function(){return this._vm._data.$$state},g.state.set=function(t){0},p.prototype.commit=function(t,e,n){var r=this,i=w(t,e,n),o=i.type,s=i.payload,a=(i.options,{type:o,payload:s}),c=this._mutations[o];c&&(this._withCommit((function(){c.forEach((function(t){t(s)}))})),this._subscribers.forEach((function(t){return t(a,r.state)})))},p.prototype.dispatch=function(t,e){var n=this,r=w(t,e),i=r.type,o=r.payload,s={type:i,payload:o},a=this._actions[i];if(a){try{this._actionSubscribers.filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(u){0}var c=a.length>1?Promise.all(a.map((function(t){return t(o)}))):a[0](o);return c.then((function(t){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(s,n.state)}))}catch(u){0}return t}))}},p.prototype.subscribe=function(t){return v(t,this._subscribers)},p.prototype.subscribeAction=function(t){var e="function"===typeof t?{before:t}:t;return v(e,this._actionSubscribers)},p.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},p.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},p.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),I(this,this.state,t,this._modules.get(t),n.preserveState),m(this,this.state)},p.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=E(e.state,t.slice(0,-1));d.delete(n,t[t.length-1])})),y(this)},p.prototype.hotUpdate=function(t){this._modules.update(t),y(this,!0)},p.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(p.prototype,g);var S=j((function(t,e){var n={};return x(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=k(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"===typeof i?i.call(this,e,n):e[i]},n[r].vuex=!0})),n})),O=j((function(t,e){var n={};return x(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.commit;if(t){var o=k(this.$store,"mapMutations",t);if(!o)return;r=o.context.commit}return"function"===typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n})),D=j((function(t,e){var n={};return x(e).forEach((function(e){var r=e.key,i=e.val;i=t+i,n[r]=function(){if(!t||k(this.$store,"mapGetters",t))return this.$store.getters[i]},n[r].vuex=!0})),n})),R=j((function(t,e){var n={};return x(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var o=k(this.$store,"mapActions",t);if(!o)return;r=o.context.dispatch}return"function"===typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n})),L=function(t){return{mapState:S.bind(null,t),mapGetters:D.bind(null,t),mapMutations:O.bind(null,t),mapActions:R.bind(null,t)}};function x(t){return Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}}))}function j(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function k(t,e,n){var r=t._modulesNamespaceMap[n];return r}var P={Store:p,install:N,version:"3.1.0",mapState:S,mapMutations:O,mapGetters:D,mapActions:R,createNamespacedHelpers:L};e["a"]=P},"2f78":function(t,e,n){var r=n("5ca1");r(r.S,"Math",{isubh:function(t,e,n,r){var i=t>>>0,o=e>>>0,s=n>>>0;return o-(r>>>0)-((~i&s|~(i^s)&i-s>>>0)>>>31)|0}})},"2fdb":function(t,e,n){"use strict";var r=n("5ca1"),i=n("d2c8"),o="includes";r(r.P+r.F*n("5147")(o),"String",{includes:function(t){return!!~i(this,t,o).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},3024:function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},"308d":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("7618"),i=n("013f");function o(t,e){if(e&&("object"===Object(r["a"])(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Object(i["a"])(t)}},"30b5":function(t,e,n){"use strict";var r=n("c532");function i(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(r.isURLSearchParams(e))o=e.toString();else{var s=[];r.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),s.push(i(e)+"="+i(t))})))})),o=s.join("&")}return o&&(t+=(-1===t.indexOf("?")?"?":"&")+o),t}},"30f1":function(t,e,n){"use strict";var r=n("b8e3"),i=n("63b6"),o=n("9138"),s=n("35e8"),a=n("481b"),c=n("8f60"),u=n("45f2"),l=n("53e2"),f=n("5168")("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",p="keys",g="values",v=function(){return this};t.exports=function(t,e,n,y,m,I,M){c(n,e,y);var b,_,A,C=function(t){if(!h&&t in N)return N[t];switch(t){case p:return function(){return new n(this,t)};case g:return function(){return new n(this,t)}}return function(){return new n(this,t)}},T=e+" Iterator",E=m==g,w=!1,N=t.prototype,S=N[f]||N[d]||m&&N[m],O=S||C(m),D=m?E?C("entries"):O:void 0,R="Array"==e&&N.entries||S;if(R&&(A=l(R.call(new t)),A!==Object.prototype&&A.next&&(u(A,T,!0),r||"function"==typeof A[f]||s(A,f,v))),E&&S&&S.name!==g&&(w=!0,O=function(){return S.call(this)}),r&&!M||!h&&!w&&N[f]||s(N,f,O),a[e]=O,a[T]=v,m)if(b={values:E?O:C(g),keys:I?O:C(p),entries:D},M)for(_ in b)_ in N||o(N,_,b[_]);else i(i.P+i.F*(h||w),e,b);return b}},"31f4":function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},"323e":function(t,e,n){var r,i;
- /* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
- * @license MIT */(function(o,s){r=s,i="function"===typeof r?r.call(e,n,e,t):r,void 0===i||(t.exports=i)})(0,(function(){var t={version:"0.2.0"},e=t.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function n(t,e,n){return t<e?e:t>n?n:t}function r(t){return 100*(-1+t)}function i(t,n,i){var o;return o="translate3d"===e.positionUsing?{transform:"translate3d("+r(t)+"%,0,0)"}:"translate"===e.positionUsing?{transform:"translate("+r(t)+"%,0)"}:{"margin-left":r(t)+"%"},o.transition="all "+n+"ms "+i,o}t.configure=function(t){var n,r;for(n in t)r=t[n],void 0!==r&&t.hasOwnProperty(n)&&(e[n]=r);return this},t.status=null,t.set=function(r){var a=t.isStarted();r=n(r,e.minimum,1),t.status=1===r?null:r;var c=t.render(!a),u=c.querySelector(e.barSelector),l=e.speed,f=e.easing;return c.offsetWidth,o((function(n){""===e.positionUsing&&(e.positionUsing=t.getPositioningCSS()),s(u,i(r,l,f)),1===r?(s(c,{transition:"none",opacity:1}),c.offsetWidth,setTimeout((function(){s(c,{transition:"all "+l+"ms linear",opacity:0}),setTimeout((function(){t.remove(),n()}),l)}),l)):setTimeout(n,l)})),this},t.isStarted=function(){return"number"===typeof t.status},t.start=function(){t.status||t.set(0);var n=function(){setTimeout((function(){t.status&&(t.trickle(),n())}),e.trickleSpeed)};return e.trickle&&n(),this},t.done=function(e){return e||t.status?t.inc(.3+.5*Math.random()).set(1):this},t.inc=function(e){var r=t.status;return r?("number"!==typeof e&&(e=(1-r)*n(Math.random()*r,.1,.95)),r=n(r+e,0,.994),t.set(r)):t.start()},t.trickle=function(){return t.inc(Math.random()*e.trickleRate)},function(){var e=0,n=0;t.promise=function(r){return r&&"resolved"!==r.state()?(0===n&&t.start(),e++,n++,r.always((function(){n--,0===n?(e=0,t.done()):t.set((e-n)/e)})),this):this}}(),t.render=function(n){if(t.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var i=document.createElement("div");i.id="nprogress",i.innerHTML=e.template;var o,a=i.querySelector(e.barSelector),u=n?"-100":r(t.status||0),l=document.querySelector(e.parent);return s(a,{transition:"all 0 linear",transform:"translate3d("+u+"%,0,0)"}),e.showSpinner||(o=i.querySelector(e.spinnerSelector),o&&f(o)),l!=document.body&&c(l,"nprogress-custom-parent"),l.appendChild(i),i},t.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(e.parent),"nprogress-custom-parent");var t=document.getElementById("nprogress");t&&f(t)},t.isRendered=function(){return!!document.getElementById("nprogress")},t.getPositioningCSS=function(){var t=document.body.style,e="WebkitTransform"in t?"Webkit":"MozTransform"in t?"Moz":"msTransform"in t?"ms":"OTransform"in t?"O":"";return e+"Perspective"in t?"translate3d":e+"Transform"in t?"translate":"margin"};var o=function(){var t=[];function e(){var n=t.shift();n&&n(e)}return function(n){t.push(n),1==t.length&&e()}}(),s=function(){var t=["Webkit","O","Moz","ms"],e={};function n(t){return t.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(t,e){return e.toUpperCase()}))}function r(e){var n=document.body.style;if(e in n)return e;var r,i=t.length,o=e.charAt(0).toUpperCase()+e.slice(1);while(i--)if(r=t[i]+o,r in n)return r;return e}function i(t){return t=n(t),e[t]||(e[t]=r(t))}function o(t,e,n){e=i(e),t.style[e]=n}return function(t,e){var n,r,i=arguments;if(2==i.length)for(n in e)r=e[n],void 0!==r&&e.hasOwnProperty(n)&&o(t,n,r);else o(t,i[1],i[2])}}();function a(t,e){var n="string"==typeof t?t:l(t);return n.indexOf(" "+e+" ")>=0}function c(t,e){var n=l(t),r=n+e;a(n,e)||(t.className=r.substring(1))}function u(t,e){var n,r=l(t);a(t,e)&&(n=r.replace(" "+e+" "," "),t.className=n.substring(1,n.length-1))}function l(t){return(" "+(t.className||"")+" ").replace(/\s+/gi," ")}function f(t){t&&t.parentNode&&t.parentNode.removeChild(t)}return t}))},"32a6":function(t,e,n){var r=n("241e"),i=n("c3a1");n("ce7e")("keys",(function(){return function(t){return i(r(t))}}))},"32d7":function(t,e,n){var r=n("5ca1");r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},"32e9":function(t,e,n){var r=n("86cc"),i=n("4630");t.exports=n("9e1e")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"32fc":function(t,e,n){var r=n("e53d").document;t.exports=r&&r.documentElement},"335c":function(t,e,n){var r=n("6b4c");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"33a4":function(t,e,n){var r=n("84f2"),i=n("2b4c")("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},"34ef":function(t,e,n){n("ec30")("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},3535:function(t,e,n){"use strict";var r=n("5ca1"),i=n("02f4")(!0),o=n("79e5"),s=o((function(){return"𠮷"!=="𠮷".at(0)}));r(r.P+r.F*s,"String",{at:function(t){return i(this,t)}})},"355d":function(t,e){e.f={}.propertyIsEnumerable},"35e8":function(t,e,n){var r=n("d9f6"),i=n("aebd");t.exports=n("8e60")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"36bd":function(t,e,n){"use strict";var r=n("4bf8"),i=n("77f1"),o=n("9def");t.exports=function(t){var e=r(this),n=o(e.length),s=arguments.length,a=i(s>1?arguments[1]:void 0,n),c=s>2?arguments[2]:void 0,u=void 0===c?n:i(c,n);while(u>a)e[a++]=t;return e}},"36c3":function(t,e,n){var r=n("335c"),i=n("25eb");t.exports=function(t){return r(i(t))}},3702:function(t,e,n){var r=n("481b"),i=n("5168")("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},"373f":function(t,e,n){"use strict";var r=n("5ca1"),i=n("6821"),o=[].join;r(r.P+r.F*(n("626a")!=Object||!n("2f21")(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},"37a7":function(t,e,n){var r=n("f400"),i=n("5ca1"),o=n("5537")("metadata"),s=o.store||(o.store=new(n("10ad"))),a=function(t,e,n){var i=s.get(t);if(!i){if(!n)return;s.set(t,i=new r)}var o=i.get(e);if(!o){if(!n)return;i.set(e,o=new r)}return o},c=function(t,e,n){var r=a(e,n,!1);return void 0!==r&&r.has(t)},u=function(t,e,n){var r=a(e,n,!1);return void 0===r?void 0:r.get(t)},l=function(t,e,n,r){a(n,r,!0).set(t,e)},f=function(t,e){var n=a(t,e,!1),r=[];return n&&n.forEach((function(t,e){r.push(e)})),r},h=function(t){return void 0===t||"symbol"==typeof t?t:String(t)},d=function(t){i(i.S,"Reflect",t)};t.exports={store:s,map:a,has:c,get:u,set:l,keys:f,key:h,exp:d}},"37b5":function(t,e,n){"use strict";var r=n("5ca1"),i=n("7726"),o=n("8378"),s=n("8079")(),a=n("2b4c")("observable"),c=n("d8e8"),u=n("cb7c"),l=n("f605"),f=n("dcbc"),h=n("32e9"),d=n("4a59"),p=d.RETURN,g=function(t){return null==t?void 0:c(t)},v=function(t){var e=t._c;e&&(t._c=void 0,e())},y=function(t){return void 0===t._o},m=function(t){y(t)||(t._o=void 0,v(t))},I=function(t,e){u(t),this._c=void 0,this._o=t,t=new M(this);try{var n=e(t),r=n;null!=n&&("function"===typeof n.unsubscribe?n=function(){r.unsubscribe()}:c(n),this._c=n)}catch(i){return void t.error(i)}y(this)&&v(this)};I.prototype=f({},{unsubscribe:function(){m(this)}});var M=function(t){this._s=t};M.prototype=f({},{next:function(t){var e=this._s;if(!y(e)){var n=e._o;try{var r=g(n.next);if(r)return r.call(n,t)}catch(i){try{m(e)}finally{throw i}}}},error:function(t){var e=this._s;if(y(e))throw t;var n=e._o;e._o=void 0;try{var r=g(n.error);if(!r)throw t;t=r.call(n,t)}catch(i){try{v(e)}finally{throw i}}return v(e),t},complete:function(t){var e=this._s;if(!y(e)){var n=e._o;e._o=void 0;try{var r=g(n.complete);t=r?r.call(n,t):void 0}catch(i){try{v(e)}finally{throw i}}return v(e),t}}});var b=function(t){l(this,b,"Observable","_f")._f=c(t)};f(b.prototype,{subscribe:function(t){return new I(t,this._f)},forEach:function(t){var e=this;return new(o.Promise||i.Promise)((function(n,r){c(t);var i=e.subscribe({next:function(e){try{return t(e)}catch(n){r(n),i.unsubscribe()}},error:r,complete:n})}))}}),f(b,{from:function(t){var e="function"===typeof this?this:b,n=g(u(t)[a]);if(n){var r=u(n.call(t));return r.constructor===e?r:new e((function(t){return r.subscribe(t)}))}return new e((function(e){var n=!1;return s((function(){if(!n){try{if(d(t,!1,(function(t){if(e.next(t),n)return p}))===p)return}catch(r){if(n)throw r;return void e.error(r)}e.complete()}})),function(){n=!0}}))},of:function(){for(var t=0,e=arguments.length,n=new Array(e);t<e;)n[t]=arguments[t++];return new("function"===typeof this?this:b)((function(t){var e=!1;return s((function(){if(!e){for(var r=0;r<n.length;++r)if(t.next(n[r]),e)return;t.complete()}})),function(){e=!0}}))}}),h(b.prototype,a,(function(){return this})),r(r.G,{Observable:b}),n("7a56")("Observable")},"37c8":function(t,e,n){e.f=n("2b4c")},3846:function(t,e,n){n("9e1e")&&"g"!=/./g.flags&&n("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:n("0bfb")})},"386b":function(t,e,n){var r=n("5ca1"),i=n("79e5"),o=n("be13"),s=/"/g,a=function(t,e,n,r){var i=String(o(t)),a="<"+e;return""!==n&&(a+=" "+n+'="'+String(r).replace(s,""")+'"'),a+">"+i+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(a),r(r.P+r.F*i((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})),"String",n)}},"386d":function(t,e,n){"use strict";var r=n("cb7c"),i=n("83a1"),o=n("5f1b");n("214f")("search",1,(function(t,e,n,s){return[function(n){var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=s(n,t,this);if(e.done)return e.value;var a=r(t),c=String(this),u=a.lastIndex;i(u,0)||(a.lastIndex=0);var l=o(a,c);return i(a.lastIndex,u)||(a.lastIndex=u),null===l?-1:l.index}]}))},3875:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("1325");function i(t,e){return t>e?"horizontal":e>t?"vertical":""}var o={data:function(){return{direction:""}},methods:{touchStart:function(t){this.resetTouchStatus(),this.startX=t.touches[0].clientX,this.startY=t.touches[0].clientY},touchMove:function(t){var e=t.touches[0];this.deltaX=e.clientX<0?0:e.clientX-this.startX,this.deltaY=e.clientY-this.startY,this.offsetX=Math.abs(this.deltaX),this.offsetY=Math.abs(this.deltaY);var n=10;(!this.direction||this.offsetX<n&&this.offsetY<n)&&(this.direction=i(this.offsetX,this.offsetY))},resetTouchStatus:function(){this.direction="",this.deltaX=0,this.deltaY=0,this.offsetX=0,this.offsetY=0},bindTouchEvent:function(t){var e=this.onTouchStart,n=this.onTouchMove,i=this.onTouchEnd;Object(r["b"])(t,"touchstart",e),Object(r["b"])(t,"touchmove",n),i&&(Object(r["b"])(t,"touchend",i),Object(r["b"])(t,"touchcancel",i))}}}},"387f":function(t,e,n){"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),t.request=r,t.response=i,t}},"38fd":function(t,e,n){var r=n("69a8"),i=n("4bf8"),o=n("613b")("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},3934:function(t,e,n){"use strict";var r=n("c532");t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=r.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return function(){return!0}}()},"3a38":function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},"3a72":function(t,e,n){var r=n("7726"),i=n("8378"),o=n("2d00"),s=n("37c8"),a=n("86cc").f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},"3a9c":function(t,e,n){var r=n("37a7"),i=n("cb7c"),o=n("d8e8"),s=r.key,a=r.set;r.exp({metadata:function(t,e){return function(n,r){a(t,e,(void 0!==r?i:o)(n),s(r))}}})},"3b2b":function(t,e,n){var r=n("7726"),i=n("5dbc"),o=n("86cc").f,s=n("9093").f,a=n("aae3"),c=n("0bfb"),u=r.RegExp,l=u,f=u.prototype,h=/a/g,d=/a/g,p=new u(h)!==h;if(n("9e1e")&&(!p||n("79e5")((function(){return d[n("2b4c")("match")]=!1,u(h)!=h||u(d)==d||"/a/i"!=u(h,"i")})))){u=function(t,e){var n=this instanceof u,r=a(t),o=void 0===e;return!n&&r&&t.constructor===u&&o?t:i(p?new l(r&&!o?t.source:t,e):l((r=t instanceof u)?t.source:t,r&&o?c.call(t):e),n?this:f,u)};for(var g=function(t){t in u||o(u,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})},v=s(l),y=0;v.length>y;)g(v[y++]);f.constructor=u,u.prototype=f,n("2aba")(r,"RegExp",u)}n("7a56")("RegExp")},"3b74":function(t,e,n){"use strict";function r(t){return t instanceof RegExp}function i(t){return t&&"[object Function]"==={}.toString.call(t)}function o(t){return null!==t&&!Array.isArray(t)&&"object"===typeof t}function s(t){return"undefined"===typeof t}e.__esModule=!0,e.isUndefined=e.isPlainObject=e.isFunction=e.isRegex=void 0,e.isRegex=r,e.isFunction=i,e.isPlainObject=o,e.isUndefined=s},"3b8d":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("795b"),i=n.n(r);function o(t,e,n,r,o,s,a){try{var c=t[s](a),u=c.value}catch(l){return void n(l)}c.done?e(u):i.a.resolve(u).then(r,o)}function s(t){return function(){var e=this,n=arguments;return new i.a((function(r,i){var s=t.apply(e,n);function a(t){o(s,r,i,a,c,"next",t)}function c(t){o(s,r,i,a,c,"throw",t)}a(void 0)}))}}},"3c11":function(t,e,n){"use strict";var r=n("63b6"),i=n("584a"),o=n("e53d"),s=n("f201"),a=n("cd78");r(r.P+r.R,"Promise",{finally:function(t){var e=s(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then((function(){return n}))}:t,n?function(n){return a(e,t()).then((function(){throw n}))}:t)}})},"3c4e":function(t,e,n){"use strict";var r=function(t){return i(t)&&!o(t)};function i(t){return!!t&&"object"===typeof t}function o(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||c(t)}var s="function"===typeof Symbol&&Symbol.for,a=s?Symbol.for("react.element"):60103;function c(t){return t.$$typeof===a}function u(t){return Array.isArray(t)?[]:{}}function l(t,e){var n=e&&!0===e.clone;return n&&r(t)?d(u(t),t,e):t}function f(t,e,n){var i=t.slice();return e.forEach((function(e,o){"undefined"===typeof i[o]?i[o]=l(e,n):r(e)?i[o]=d(t[o],e,n):-1===t.indexOf(e)&&i.push(l(e,n))})),i}function h(t,e,n){var i={};return r(t)&&Object.keys(t).forEach((function(e){i[e]=l(t[e],n)})),Object.keys(e).forEach((function(o){r(e[o])&&t[o]?i[o]=d(t[o],e[o],n):i[o]=l(e[o],n)})),i}function d(t,e,n){var r=Array.isArray(e),i=Array.isArray(t),o=n||{arrayMerge:f},s=r===i;if(s){if(r){var a=o.arrayMerge||f;return a(t,e,n)}return h(t,e,n)}return l(e,n)}d.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return d(t,n,e)}))};var p=d;t.exports=p},"3ca5":function(t,e,n){var r=n("7726").parseInt,i=n("aa77").trim,o=n("fdef"),s=/^[-+]?0[xX]/;t.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(t,e){var n=i(String(t),3);return r(n,e>>>0||(s.test(n)?16:10))}:r},"3eb1":function(t,e,n){"use strict";var r=n("0f7c"),i=n("00ce"),o=i("%Function.prototype.apply%"),s=i("%Function.prototype.call%"),a=i("%Reflect.apply%",!0)||r.call(s,o),c=i("%Object.getOwnPropertyDescriptor%",!0),u=i("%Object.defineProperty%",!0),l=i("%Math.max%");if(u)try{u({},"a",{value:1})}catch(h){u=null}t.exports=function(t){var e=a(r,s,arguments);if(c&&u){var n=c(e,"length");n.configurable&&u(e,"length",{value:1+l(0,t.length-(arguments.length-1))})}return e};var f=function(){return a(r,o,arguments)};u?u(t.exports,"apply",{value:f}):t.exports.apply=f},"3f6b":function(t,e,n){t.exports={default:n("51b6"),__esModule:!0}},"40c3":function(t,e,n){var r=n("6b4c"),i=n("5168")("toStringTag"),o="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},4127:function(t,e,n){"use strict";var r=n("5402"),i=n("d233"),o=n("b313"),s=Object.prototype.hasOwnProperty,a={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},c=Array.isArray,u=String.prototype.split,l=Array.prototype.push,f=function(t,e){l.apply(t,c(e)?e:[e])},h=Date.prototype.toISOString,d=o["default"],p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:i.encode,encodeValuesOnly:!1,format:d,formatter:o.formatters[d],indices:!1,serializeDate:function(t){return h.call(t)},skipNulls:!1,strictNullHandling:!1},g=function(t){return"string"===typeof t||"number"===typeof t||"boolean"===typeof t||"symbol"===typeof t||"bigint"===typeof t},v={},y=function t(e,n,o,s,a,l,h,d,y,m,I,M,b,_,A,C){var T=e,E=C,w=0,N=!1;while(void 0!==(E=E.get(v))&&!N){var S=E.get(e);if(w+=1,"undefined"!==typeof S){if(S===w)throw new RangeError("Cyclic object value");N=!0}"undefined"===typeof E.get(v)&&(w=0)}if("function"===typeof d?T=d(n,T):T instanceof Date?T=I(T):"comma"===o&&c(T)&&(T=i.maybeMap(T,(function(t){return t instanceof Date?I(t):t}))),null===T){if(a)return h&&!_?h(n,p.encoder,A,"key",M):n;T=""}if(g(T)||i.isBuffer(T)){if(h){var O=_?n:h(n,p.encoder,A,"key",M);if("comma"===o&&_){for(var D=u.call(String(T),","),R="",L=0;L<D.length;++L)R+=(0===L?"":",")+b(h(D[L],p.encoder,A,"value",M));return[b(O)+(s&&c(T)&&1===D.length?"[]":"")+"="+R]}return[b(O)+"="+b(h(T,p.encoder,A,"value",M))]}return[b(n)+"="+b(String(T))]}var x,j=[];if("undefined"===typeof T)return j;if("comma"===o&&c(T))x=[{value:T.length>0?T.join(",")||null:void 0}];else if(c(d))x=d;else{var k=Object.keys(T);x=y?k.sort(y):k}for(var P=s&&c(T)&&1===T.length?n+"[]":n,U=0;U<x.length;++U){var z=x[U],G="object"===typeof z&&"undefined"!==typeof z.value?z.value:T[z];if(!l||null!==G){var B=c(T)?"function"===typeof o?o(P,z):P:P+(m?"."+z:"["+z+"]");C.set(e,w);var Y=r();Y.set(v,C),f(j,t(G,B,o,s,a,l,h,d,y,m,I,M,b,_,A,Y))}}return j},m=function(t){if(!t)return p;if(null!==t.encoder&&"undefined"!==typeof t.encoder&&"function"!==typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||p.charset;if("undefined"!==typeof t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o["default"];if("undefined"!==typeof t.format){if(!s.call(o.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var r=o.formatters[n],i=p.filter;return("function"===typeof t.filter||c(t.filter))&&(i=t.filter),{addQueryPrefix:"boolean"===typeof t.addQueryPrefix?t.addQueryPrefix:p.addQueryPrefix,allowDots:"undefined"===typeof t.allowDots?p.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"===typeof t.charsetSentinel?t.charsetSentinel:p.charsetSentinel,delimiter:"undefined"===typeof t.delimiter?p.delimiter:t.delimiter,encode:"boolean"===typeof t.encode?t.encode:p.encode,encoder:"function"===typeof t.encoder?t.encoder:p.encoder,encodeValuesOnly:"boolean"===typeof t.encodeValuesOnly?t.encodeValuesOnly:p.encodeValuesOnly,filter:i,format:n,formatter:r,serializeDate:"function"===typeof t.serializeDate?t.serializeDate:p.serializeDate,skipNulls:"boolean"===typeof t.skipNulls?t.skipNulls:p.skipNulls,sort:"function"===typeof t.sort?t.sort:null,strictNullHandling:"boolean"===typeof t.strictNullHandling?t.strictNullHandling:p.strictNullHandling}};t.exports=function(t,e){var n,i,o=t,s=m(e);"function"===typeof s.filter?(i=s.filter,o=i("",o)):c(s.filter)&&(i=s.filter,n=i);var u,l=[];if("object"!==typeof o||null===o)return"";u=e&&e.arrayFormat in a?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var h=a[u];if(e&&"commaRoundTrip"in e&&"boolean"!==typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var d="comma"===h&&e&&e.commaRoundTrip;n||(n=Object.keys(o)),s.sort&&n.sort(s.sort);for(var p=r(),g=0;g<n.length;++g){var v=n[g];s.skipNulls&&null===o[v]||f(l,y(o[v],v,h,d,s.strictNullHandling,s.skipNulls,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.format,s.formatter,s.encodeValuesOnly,s.charset,p))}var I=l.join(s.delimiter),M=!0===s.addQueryPrefix?"?":"";return s.charsetSentinel&&("iso-8859-1"===s.charset?M+="utf8=%26%2310003%3B&":M+="utf8=%E2%9C%93&"),I.length>0?M+I:""}},"416c":function(t,e,n){n("28e4")("Map")},4178:function(t,e,n){var r,i,o,s=n("d864"),a=n("3024"),c=n("32fc"),u=n("1ec9"),l=n("e53d"),f=l.process,h=l.setImmediate,d=l.clearImmediate,p=l.MessageChannel,g=l.Dispatch,v=0,y={},m="onreadystatechange",I=function(){var t=+this;if(y.hasOwnProperty(t)){var e=y[t];delete y[t],e()}},M=function(t){I.call(t.data)};h&&d||(h=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return y[++v]=function(){a("function"==typeof t?t:Function(t),e)},r(v),v},d=function(t){delete y[t]},"process"==n("6b4c")(f)?r=function(t){f.nextTick(s(I,t,1))}:g&&g.now?r=function(t){g.now(s(I,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=M,r=s(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",M,!1)):r=m in u("script")?function(t){c.appendChild(u("script"))[m]=function(){c.removeChild(this),I.call(t)}}:function(t){setTimeout(s(I,t,1),0)}),t.exports={set:h,clear:d}},"419e":function(t,e,n){"use strict";var r=this&&this.__read||function(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{while((void 0===e||e-- >0)&&!(r=o.next()).done)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return s},i=this&&this.__spreadArray||function(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n];return t};function o(t,e,n){var o=new Set(e);return function(e,s,a){return a===t&&Array.from(i(i([],r(e)),r(s)).map((function(t){return{key:n(t),value:t}})).map((function(t){var e=t.key,n=t.value;return{key:o.has(e)?e:n,value:n}})).reduce((function(t,e){var n=e.key,r=e.value;return t["delete"](n),t.set(n,r)}),new Map).values())}}e.__esModule=!0,e["default"]=o},"41a0":function(t,e,n){"use strict";var r=n("2aeb"),i=n("4630"),o=n("7f20"),s={};n("32e9")(s,n("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},"41b2":function(t,e,n){"use strict";e.__esModule=!0;var r=n("3f6b"),i=o(r);function o(t){return t&&t.__esModule?t:{default:t}}e.default=i.default||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}},4208:function(t,e,n){!function(e,n){t.exports=n()}(0,(function(){"use strict";return function(t,e,n){t=t||{};var r=e.prototype,i={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function o(t,e,n,i){return r.fromToBase(t,e,n,i)}n.en.relativeTime=i,r.fromToBase=function(e,r,o,s,a){for(var c,u,l,f=o.$locale().relativeTime||i,h=t.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],d=h.length,p=0;p<d;p+=1){var g=h[p];g.d&&(c=s?n(e).diff(o,g.d,!0):o.diff(e,g.d,!0));var v=(t.rounding||Math.round)(Math.abs(c));if(l=c>0,v<=g.r||!g.r){v<=1&&p>0&&(g=h[p-1]);var y=f[g.l];a&&(v=a(""+v)),u="string"==typeof y?y.replace("%d",v):y(v,r,g.l,l);break}}if(r)return u;var m=l?f.future:f.past;return"function"==typeof m?m(u):m.replace("%s",u)},r.to=function(t,e){return o(t,e,this,!0)},r.from=function(t,e){return o(t,e,this)};var s=function(t){return t.$u?n.utc():n()};r.toNow=function(t){return this.to(s(this),t)},r.fromNow=function(t){return this.from(s(this),t)}}}))},4276:function(t,e,n){var r=n("5ca1"),i=n("2d95");r(r.S,"Error",{isError:function(t){return"Error"===i(t)}})},"42ab":function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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 r=n("e53d"),i=n("07e3"),o=n("8e60"),s=n("63b6"),a=n("9138"),c=n("ebfd").KEY,u=n("294c"),l=n("dbdb"),f=n("45f2"),h=n("62a0"),d=n("5168"),p=n("ccb9"),g=n("6718"),v=n("47ee"),y=n("9003"),m=n("e4ae"),I=n("f772"),M=n("241e"),b=n("36c3"),_=n("1bc3"),A=n("aebd"),C=n("a159"),T=n("0395"),E=n("bf0b"),w=n("9aa9"),N=n("d9f6"),S=n("c3a1"),O=E.f,D=N.f,R=T.f,L=r.Symbol,x=r.JSON,j=x&&x.stringify,k="prototype",P=d("_hidden"),U=d("toPrimitive"),z={}.propertyIsEnumerable,G=l("symbol-registry"),B=l("symbols"),Y=l("op-symbols"),F=Object[k],$="function"==typeof L&&!!w.f,H=r.QObject,V=!H||!H[k]||!H[k].findChild,Q=o&&u((function(){return 7!=C(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=O(F,e);r&&delete F[e],D(t,e,n),r&&t!==F&&D(F,e,r)}:D,W=function(t){var e=B[t]=C(L[k]);return e._k=t,e},Z=$&&"symbol"==typeof L.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof L},K=function(t,e,n){return t===F&&K(Y,e,n),m(t),e=_(e,!0),m(n),i(B,e)?(n.enumerable?(i(t,P)&&t[P][e]&&(t[P][e]=!1),n=C(n,{enumerable:A(0,!1)})):(i(t,P)||D(t,P,A(1,{})),t[P][e]=!0),Q(t,e,n)):D(t,e,n)},q=function(t,e){m(t);var n,r=v(e=b(e)),i=0,o=r.length;while(o>i)K(t,n=r[i++],e[n]);return t},J=function(t,e){return void 0===e?C(t):q(C(t),e)},X=function(t){var e=z.call(this,t=_(t,!0));return!(this===F&&i(B,t)&&!i(Y,t))&&(!(e||!i(this,t)||!i(B,t)||i(this,P)&&this[P][t])||e)},tt=function(t,e){if(t=b(t),e=_(e,!0),t!==F||!i(B,e)||i(Y,e)){var n=O(t,e);return!n||!i(B,e)||i(t,P)&&t[P][e]||(n.enumerable=!0),n}},et=function(t){var e,n=R(b(t)),r=[],o=0;while(n.length>o)i(B,e=n[o++])||e==P||e==c||r.push(e);return r},nt=function(t){var e,n=t===F,r=R(n?Y:b(t)),o=[],s=0;while(r.length>s)!i(B,e=r[s++])||n&&!i(F,e)||o.push(B[e]);return o};$||(L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===F&&e.call(Y,n),i(this,P)&&i(this[P],t)&&(this[P][t]=!1),Q(this,t,A(1,n))};return o&&V&&Q(F,t,{configurable:!0,set:e}),W(t)},a(L[k],"toString",(function(){return this._k})),E.f=tt,N.f=K,n("6abf").f=T.f=et,n("355d").f=X,w.f=nt,o&&!n("b8e3")&&a(F,"propertyIsEnumerable",X,!0),p.f=function(t){return W(d(t))}),s(s.G+s.W+s.F*!$,{Symbol:L});for(var rt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),it=0;rt.length>it;)d(rt[it++]);for(var ot=S(d.store),st=0;ot.length>st;)g(ot[st++]);s(s.S+s.F*!$,"Symbol",{for:function(t){return i(G,t+="")?G[t]:G[t]=L(t)},keyFor:function(t){if(!Z(t))throw TypeError(t+" is not a symbol!");for(var e in G)if(G[e]===t)return e},useSetter:function(){V=!0},useSimple:function(){V=!1}}),s(s.S+s.F*!$,"Object",{create:J,defineProperty:K,defineProperties:q,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var at=u((function(){w.f(1)}));s(s.S+s.F*at,"Object",{getOwnPropertySymbols:function(t){return w.f(M(t))}}),x&&s(s.S+s.F*(!$||u((function(){var t=L();return"[null]"!=j([t])||"{}"!=j({a:t})||"{}"!=j(Object(t))}))),"JSON",{stringify:function(t){var e,n,r=[t],i=1;while(arguments.length>i)r.push(arguments[i++]);if(n=e=r[1],(I(e)||void 0!==t)&&!Z(t))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Z(e))return e}),r[1]=e,j.apply(x,r)}}),L[k][U]||n("35e8")(L[k],U,L[k].valueOf),f(L,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},"01f9":function(t,e,n){"use strict";var r=n("2d00"),i=n("5ca1"),o=n("2aba"),s=n("32e9"),a=n("84f2"),c=n("41a0"),u=n("7f20"),l=n("38fd"),f=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",p="keys",g="values",v=function(){return this};t.exports=function(t,e,n,y,m,I,M){c(n,e,y);var b,_,A,C=function(t){if(!h&&t in N)return N[t];switch(t){case p:return function(){return new n(this,t)};case g:return function(){return new n(this,t)}}return function(){return new n(this,t)}},T=e+" Iterator",E=m==g,w=!1,N=t.prototype,S=N[f]||N[d]||m&&N[m],O=S||C(m),D=m?E?C("entries"):O:void 0,R="Array"==e&&N.entries||S;if(R&&(A=l(R.call(new t)),A!==Object.prototype&&A.next&&(u(A,T,!0),r||"function"==typeof A[f]||s(A,f,v))),E&&S&&S.name!==g&&(w=!0,O=function(){return S.call(this)}),r&&!M||!h&&!w&&N[f]||s(N,f,O),a[e]=O,a[T]=v,m)if(b={values:E?O:C(g),keys:I?O:C(p),entries:D},M)for(_ in b)_ in N||o(N,_,b[_]);else i(i.P+i.F*(h||w),e,b);return b}},"02f4":function(t,e,n){var r=n("4588"),i=n("be13");t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),c=r(n),u=a.length;return c<0||c>=u?t?"":void 0:(o=a.charCodeAt(c),o<55296||o>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):o:t?a.slice(c,c+2):s-56320+(o-55296<<10)+65536)}}},"0390":function(t,e,n){"use strict";var r=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"0395":function(t,e,n){var r=n("36c3"),i=n("6abf").f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(e){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?a(t):i(r(t))}},"07e3":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"07fa":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".vue-core-video-player-layers{z-index:11;position:absolute;left:0;bottom:0;width:100%;height:100%}",""])},"0b49":function(t,e,n){var r=n("3b4a");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("b8b31476",r,!0,{sourceMap:!1,shadowMode:!1})},"0bfb":function(t,e,n){"use strict";var r=n("cb7c");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d22":function(t,e,n){"use strict";var r=n("3863"),i=n.n(r);i.a},"0d2d":function(t){t.exports=JSON.parse('{"dashboard":{"btn":{"play":"再生","pause":"一時停止","fullscreen":"全画面","exitFullscreen":"全画面をキャンセル","mute":"ミュート","unmute":"ミュートを解除","back":"戻る","pip":"ピクチャインピクチャ"},"settings":{"autoplay":"自動再生","loop":"ループプレイ","speed":"スピード","resolution":"画質"}},"layers":{"error":{"2404":"ソースが見つかりません","2502":"ネットワークエラー","2503":"デコードエラー","2504":"働いていない","title":"(O_O)? 再生エラー!"},"loading":{"msg":"待っている ..."}}}')},"0d58":function(t,e,n){var r=n("ce10"),i=n("e11e");t.exports=Object.keys||function(t){return r(t,i)}},"0e5b":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".vcp-controls{z-index:10;position:absolute;left:0;bottom:5px;width:100%;height:50px;text-align:left}.playback-control,.setting-control{display:-webkit-box;display:-ms-flexbox;display:flex;position:absolute;top:0;height:100%;text-align:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.playback-control{left:0}.setting-control{right:0}",""])},"0ee8":function(t,e,n){var r=n("f31c");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("20ebd1d3",r,!0,{sourceMap:!1,shadowMode:!1})},"0fc9":function(t,e,n){var r=n("3a38"),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},1170:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".settings-control .btn-mute{display:none}.settings-control .btn-settings svg{width:24px;margin-top:-2px}.settings-control .btn-control-panel{display:block;right:0;left:auto;min-height:130px;-webkit-transform:translateX(0);transform:translateX(0)}.settings-control .btn-control-panel .current-panel{width:180px}.settings-control .btn-control-panel .resolution-list,.settings-control .btn-control-panel .speed-list{width:80px}.settings-control .btn-control-panel .resolution-list li,.settings-control .btn-control-panel .speed-list li{cursor:pointer}.settings-control .btn-control-panel .resolution-list li:first-child,.settings-control .btn-control-panel .speed-list li:first-child{margin-left:-20px;cursor:pointer}.vcp-m-dashboard .settings-control .btn-control-panel{z-index:20000;position:fixed;left:0;right:0;bottom:0}.vcp-m-dashboard .settings-control .btn-control-panel .current-panel{width:100%}.vcp-m-dashboard .settings-control .btn-control-panel .resolution-list,.vcp-m-dashboard .settings-control .btn-control-panel .speed-list{margin-left:20px}",""])},"11de":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".vcp-controls{z-index:10;position:absolute;left:0;bottom:5px;width:100%;height:50px;text-align:left}.playback-control,.setting-control{display:-webkit-box;display:-ms-flexbox;display:flex;position:absolute;top:0;height:100%;text-align:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.playback-control{left:0}.setting-control{right:0}",""])},"11e9":function(t,e,n){var r=n("52a7"),i=n("4630"),o=n("6821"),s=n("6a99"),a=n("69a8"),c=n("c69a"),u=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?u:function(t,e){if(t=o(t),e=s(e,!0),c)try{return u(t,e)}catch(n){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},"12ae":function(t,e,n){var r=n("1170");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("280eb641",r,!0,{sourceMap:!1,shadowMode:!1})},1495:function(t,e,n){var r=n("86cc"),i=n("cb7c"),o=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){i(t);var n,s=o(e),a=s.length,c=0;while(a>c)r.f(t,n=s[c++],e[n]);return t}},"14ab":function(t,e,n){"use strict";t.exports=function(){var t,e=Object.assign;return"function"===typeof e&&(t={foo:"raz"},e(t,{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")}},"156e":function(t,e,n){"use strict";var r=n("234e"),i=n.n(r);i.a},1654:function(t,e,n){"use strict";var r=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=r(e,n),this._i+=t.length,{value:t,done:!1})}))},1689:function(t,e,n){var r=n("cfb4");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("169e5806",r,!0,{sourceMap:!1,shadowMode:!1})},1691:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},1793:function(t,e,n){"use strict";var r=n("6321"),i=/^\s*class[\s{/}]/,o=Function.prototype.toString;t.exports=function(t){return!!r(t)&&!i.test(o.call(t))}},"18ec":function(t,e,n){"use strict";var r="razdwatrzy";t.exports=function(){return"function"===typeof r.contains&&(!0===r.contains("dwa")&&!1===r.contains("foo"))}},"1a94":function(t,e,n){"use strict";t.exports=function(t){if("function"!==typeof t)throw new TypeError(t+" is not a function");return t}},"1b6f":function(t,e,n){"use strict";var r=n("ff1c"),i=n.n(r);i.a},"1bc3":function(t,e,n){var r=n("f772");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"1ec9":function(t,e,n){var r=n("f772"),i=n("e53d").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},2031:function(t,e,n){"use strict";t.exports=n("14ab")()?Object.assign:n("f60e")},"214f":function(t,e,n){"use strict";n("b0c5");var r=n("2aba"),i=n("32e9"),o=n("79e5"),s=n("be13"),a=n("2b4c"),c=n("520a"),u=a("species"),l=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),f=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 h=a(t),d=!o((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),p=d?!o((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[u]=function(){return n}),n[h](""),!e})):void 0;if(!d||!p||"replace"===t&&!l||"split"===t&&!f){var g=/./[h],v=n(s,h,""[t],(function(t,e,n,r,i){return e.exec===c?d&&!i?{done:!0,value:g.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),y=v[0],m=v[1];r(String.prototype,t,y),i(RegExp.prototype,h,2==e?function(t,e){return m.call(t,this,e)}:function(t){return m.call(t,this)})}}},"22bf":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".vcp-m-dashboard{z-index:11;position:absolute;left:0;bottom:0;width:100%;height:59px;background:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.7)),to(transparent));background:linear-gradient(0deg,rgba(0,0,0,.7),transparent)}.fullscreen .vcp-m-dashboard{bottom:12px}.small .vcp-m-dashboard{height:49px}.settings-open .vcp-m-dashboard{display:block!important}.small .vcp-m-dashboard .vcp-controls{height:40px}",""])},"230e":function(t,e,n){var r=n("d3f4"),i=n("7726").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},2316:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".title-layer{z-index:11;text-align:left}.title-layer .video-title{position:absolute;top:0;left:0;right:0;padding:16px 20px;line-height:32px;font-size:14px;background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.7)),to(transparent));background-image:linear-gradient(180deg,rgba(0,0,0,.7),transparent)}.fullscreen .title-layer .video-title{font-size:16px;font-weight:700}",""])},"234e":function(t,e,n){var r=n("743b");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("13d618fe",r,!0,{sourceMap:!1,shadowMode:!1})},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 o=r(i),s=i.sources.map((function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"}));return[n].concat(s).concat([o]).join("\n")}return[n].join("\n")}function r(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+n+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=n(e,t);return e[2]?"@media "+e[2]+"{"+r+"}":r})).join("")},e.i=function(t,n){"string"===typeof t&&(t=[[null,t,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"===typeof o&&(r[o]=!0)}for(i=0;i<t.length;i++){var s=t[i];"number"===typeof s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),e.push(s))}},e}},"23c6":function(t,e,n){var r=n("2d95"),i=n("2b4c")("toStringTag"),o="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(n){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},"241e":function(t,e,n){var r=n("25eb");t.exports=function(t){return Object(r(t))}},"25eb":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"263c":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,'.play-pause-layer{z-index:12;background:rgba(0,0,0,.25)}.play-pause-layer .btn-control{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;position:absolute;top:50%;left:50%;width:60px;height:60px;margin-left:-30px;margin-top:-30px;background-color:#fff;border-radius:30px}.play-pause-layer .btn-control:before{content:"";display:block;position:absolute;top:50%;left:50%;width:72px;height:72px;margin-left:-36px;margin-top:-36px;border-radius:36px;background-color:hsla(0,0%,100%,.25)}.play-pause-layer .btn-play svg{margin-left:10px}',""])},2814:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,'.vue-core-video-player-control{display:inline-block;position:relative;width:30px;height:30px}.vue-core-video-player-control svg{width:20px}.volume-control:hover .btn-control-panel{display:block}.volume-control .btn-control-panel{display:none;width:40px;height:150px}.volume-control .btn-control-panel:before{content:"";display:block;position:absolute;bottom:-30px;left:0;width:100%;height:35px}.volume-control .btn-control-panel .progress{position:absolute;width:4px;height:100px;left:50%;top:50%;margin-left:-2px;margin-top:-50px;background-color:hsla(0,0%,100%,.7);cursor:pointer}.volume-control .btn-control-panel .progress .volume-current{position:absolute;bottom:0;left:0;height:0;width:100%;background-color:#ff6060}.volume-control .btn-control-panel .progress .volume-current .thumb-drag{opacity:0;position:absolute;left:50%;top:0;width:10px;height:10px;border-radius:5px;background-color:#fff;-webkit-transform:translateY(-50%) translateX(-50%);transform:translateY(-50%) translateX(-50%);-webkit-transition:height .05s ease .15s;transition:height .05s ease .15s}.volume-control .btn-control-panel .progress .volume-current .thumb-drag:before{content:"";display:inline-block;position:absolute;top:-2px;left:-2px;width:14px;height:14px;border-radius:7px;background-color:hsla(0,0%,100%,.3)}.volume-control .btn-control-panel .progress:hover .thumb-drag{opacity:1}.volume-control .btn-control-panel .volume-info{position:absolute;top:-30px;left:0;width:40px;height:20px;background-color:rgba(0,0,0,.7);border-radius:4px;font-size:12px;line-height:20px}.settings-open .volume-control:hover .btn-control-panel{display:none}',""])},"28a5":function(t,e,n){"use strict";var r=n("aae3"),i=n("cb7c"),o=n("ebd6"),s=n("0390"),a=n("9def"),c=n("5f1b"),u=n("520a"),l=n("79e5"),f=Math.min,h=[].push,d="split",p="length",g="lastIndex",v=4294967295,y=!l((function(){RegExp(v,"y")}));n("214f")("split",2,(function(t,e,n,l){var m;return m="c"=="abbc"[d](/(b)*/)[1]||4!="test"[d](/(?:)/,-1)[p]||2!="ab"[d](/(?:ab)*/)[p]||4!="."[d](/(.?)(.?)/)[p]||"."[d](/()()/)[p]>1||""[d](/.?/)[p]?function(t,e){var i=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(i,t,e);var o,s,a,c=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,d=void 0===e?v:e>>>0,y=new RegExp(t.source,l+"g");while(o=u.call(y,i)){if(s=y[g],s>f&&(c.push(i.slice(f,o.index)),o[p]>1&&o.index<i[p]&&h.apply(c,o.slice(1)),a=o[0][p],f=s,c[p]>=d))break;y[g]===o.index&&y[g]++}return f===i[p]?!a&&y.test("")||c.push(""):c.push(i.slice(f)),c[p]>d?c.slice(0,d):c}:"0"[d](void 0,0)[p]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var i=t(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,i,r):m.call(String(i),n,r)},function(t,e){var r=l(m,t,this,e,m!==n);if(r.done)return r.value;var u=i(t),h=String(this),d=o(u,RegExp),p=u.unicode,g=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(y?"y":"g"),I=new d(y?u:"^(?:"+u.source+")",g),M=void 0===e?v:e>>>0;if(0===M)return[];if(0===h.length)return null===c(I,h)?[h]:[];var b=0,_=0,A=[];while(_<h.length){I.lastIndex=y?_:0;var C,T=c(I,y?h:h.slice(_));if(null===T||(C=f(a(I.lastIndex+(y?0:_)),h.length))===b)_=s(h,_,p);else{if(A.push(h.slice(b,_)),A.length===M)return A;for(var E=1;E<=T.length-1;E++)if(A.push(T[E]),A.length===M)return A;_=b=C}}return A.push(h.slice(b)),A}]}))},"294c":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"2aba":function(t,e,n){var r=n("7726"),i=n("32e9"),o=n("69a8"),s=n("ca5a")("src"),a=n("fa5b"),c="toString",u=(""+a).split(c);n("8378").inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var c="function"==typeof n;c&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(c&&(o(n,s)||i(n,s,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,c,(function(){return"function"==typeof this&&this[s]||a.call(this)}))},"2aeb":function(t,e,n){var r=n("cb7c"),i=n("1495"),o=n("e11e"),s=n("613b")("IE_PROTO"),a=function(){},c="prototype",u=function(){var t,e=n("230e")("iframe"),r=o.length,i="<",s=">";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+s+"document.F=Object"+i+"/script"+s),t.close(),u=t.F;while(r--)delete u[c][o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[c]=r(t),n=new a,a[c]=null,n[s]=t):n=u(),void 0===e?n:i(n,e)}},"2b4c":function(t,e,n){var r=n("5537")("wks"),i=n("ca5a"),o=n("7726").Symbol,s="function"==typeof o,a=t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))};a.store=r},"2be5":function(t,e,n){var r=n("07fa");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("6fa741d5",r,!0,{sourceMap:!1,shadowMode:!1})},"2c1a":function(t,e,n){"use strict";var r=n("2be5"),i=n.n(r);i.a},"2d00":function(t,e){t.exports=!1},"2d60":function(t,e,n){var r=n("6f66");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("61ad65d7",r,!0,{sourceMap:!1,shadowMode:!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 r=n("b8e3"),i=n("63b6"),o=n("9138"),s=n("35e8"),a=n("481b"),c=n("8f60"),u=n("45f2"),l=n("53e2"),f=n("5168")("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",p="keys",g="values",v=function(){return this};t.exports=function(t,e,n,y,m,I,M){c(n,e,y);var b,_,A,C=function(t){if(!h&&t in N)return N[t];switch(t){case p:return function(){return new n(this,t)};case g:return function(){return new n(this,t)}}return function(){return new n(this,t)}},T=e+" Iterator",E=m==g,w=!1,N=t.prototype,S=N[f]||N[d]||m&&N[m],O=S||C(m),D=m?E?C("entries"):O:void 0,R="Array"==e&&N.entries||S;if(R&&(A=l(R.call(new t)),A!==Object.prototype&&A.next&&(u(A,T,!0),r||"function"==typeof A[f]||s(A,f,v))),E&&S&&S.name!==g&&(w=!0,O=function(){return S.call(this)}),r&&!M||!h&&!w&&N[f]||s(N,f,O),a[e]=O,a[T]=v,m)if(b={values:E?O:C(g),keys:I?O:C(p),entries:D},M)for(_ in b)_ in N||o(N,_,b[_]);else i(i.P+i.F*(h||w),e,b);return b}},"32e9":function(t,e,n){var r=n("86cc"),i=n("4630");t.exports=n("9e1e")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"32fc":function(t,e,n){var r=n("e53d").document;t.exports=r&&r.documentElement},"335c":function(t,e,n){var r=n("6b4c");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"355d":function(t,e){e.f={}.propertyIsEnumerable},"35e8":function(t,e,n){var r=n("d9f6"),i=n("aebd");t.exports=n("8e60")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"36c3":function(t,e,n){var r=n("335c"),i=n("25eb");t.exports=function(t){return r(i(t))}},3846:function(t,e,n){n("9e1e")&&"g"!=/./g.flags&&n("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:n("0bfb")})},3863:function(t,e,n){var r=n("f232");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("3b10f201",r,!0,{sourceMap:!1,shadowMode:!1})},"38fd":function(t,e,n){var r=n("69a8"),i=n("4bf8"),o=n("613b")("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},"3a38":function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},"3b4a":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".vue-core-video-player-control.timespan{line-height:30px;width:140px;font-family:Arial!important}",""])},"41a0":function(t,e,n){"use strict";var r=n("2aeb"),i=n("4630"),o=n("7f20"),s={};n("32e9")(s,n("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},"42e9":function(t,e,n){"use strict";var r=n("e9c8"),i=n.n(r);i.a},4447:function(t,e,n){"use strict";var r=n("6412"),i=n.n(r);i.a},"454f":function(t,e,n){n("46a7");var r=n("584a").Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},"456d":function(t,e,n){var r=n("4bf8"),i=n("0d58");n("5eda")("keys",(function(){return function(t){return i(r(t))}}))},4588:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},"45f2":function(t,e,n){var r=n("d9f6").f,i=n("07e3"),o=n("5168")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{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}}},"46a7":function(t,e,n){var r=n("63b6");r(r.S+r.F*!n("8e60"),"Object",{defineProperty:n("d9f6").f})},"47ee":function(t,e,n){var r=n("c3a1"),i=n("9aa9"),o=n("355d");t.exports=function(t){var e=r(t),n=i.f;if(n){var s,a=n(t),c=o.f,u=0;while(a.length>u)c.call(t,s=a[u++])&&e.push(s)}return e}},"481b":function(t,e){t.exports={}},"499e":function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],s=o[0],a=o[1],c=o[2],u=o[3],l={id:t+":"+i,css:a,media:c,sourceMap:u};r[s]?r[s].parts.push(l):n.push(r[s]={id:s,parts:[l]})}return n}n.r(e),n.d(e,"default",(function(){return p}));var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)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 o={},s=i&&(document.head||document.getElementsByTagName("head")[0]),a=null,c=0,u=!1,l=function(){},f=null,h="data-vue-ssr-id",d="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t,e,n,i){u=n,f=i||{};var s=r(t,e);return g(s),function(e){for(var n=[],i=0;i<s.length;i++){var a=s[i],c=o[a.id];c.refs--,n.push(c)}e?(s=r(t,e),g(s)):s=[];for(i=0;i<n.length;i++){c=n[i];if(0===c.refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete o[c.id]}}}}function g(t){for(var e=0;e<t.length;e++){var n=t[e],r=o[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(y(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var s=[];for(i=0;i<n.parts.length;i++)s.push(y(n.parts[i]));o[n.id]={id:n.id,refs:1,parts:s}}}}function v(){var t=document.createElement("style");return t.type="text/css",s.appendChild(t),t}function y(t){var e,n,r=document.querySelector("style["+h+'~="'+t.id+'"]');if(r){if(u)return l;r.parentNode.removeChild(r)}if(d){var i=c++;r=a||(a=v()),e=I.bind(null,r,i,!1),n=I.bind(null,r,i,!0)}else r=v(),e=M.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}var m=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function I(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=m(e,i);else{var o=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function M(t,e){var n=e.css,r=e.media,i=e.sourceMap;if(r&&t.setAttribute("media",r),f.ssrId&&t.setAttribute(h,e.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},"4bf8":function(t,e,n){var r=n("be13");t.exports=function(t){return Object(r(t))}},"4cc6":function(t,e,n){"use strict";var r=n("7c86"),i=n.n(r);i.a},5005:function(t,e,n){var r=n("22bf");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("c17df316",r,!0,{sourceMap:!1,shadowMode:!1})},"504c":function(t,e,n){var r=n("9e1e"),i=n("0d58"),o=n("6821"),s=n("52a7").f;t.exports=function(t){return function(e){var n,a=o(e),c=i(a),u=c.length,l=0,f=[];while(u>l)n=c[l++],r&&!s.call(a,n)||f.push(t?[n,a[n]]:a[n]);return f}}},"50ed":function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},5168:function(t,e,n){var r=n("dbdb")("wks"),i=n("62a0"),o=n("e53d").Symbol,s="function"==typeof o,a=t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))};a.store=r},"520a":function(t,e,n){"use strict";var r=n("0bfb"),i=RegExp.prototype.exec,o=String.prototype.replace,s=i,a="lastIndex",c=function(){var t=/a/,e=/b*/g;return i.call(t,"a"),i.call(e,"a"),0!==t[a]||0!==e[a]}(),u=void 0!==/()??/.exec("")[1],l=c||u;l&&(s=function(t){var e,n,s,l,f=this;return u&&(n=new RegExp("^"+f.source+"$(?!\\s)",r.call(f))),c&&(e=f[a]),s=i.call(f,t),c&&s&&(f[a]=f.global?s.index+s[0].length:e),u&&s&&s.length>1&&o.call(s[0],n,(function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(s[l]=void 0)})),s}),t.exports=s},5276:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".logo-layer{z-index:11;text-align:left}.logo-layer .logo-wrap{position:absolute;top:15px;right:15px;opacity:.7;text-align:right}.logo-layer .logo-wrap img{max-width:160px;height:48px}",""])},"52a7":function(t,e){e.f={}.propertyIsEnumerable},5311:function(t,e,n){"use strict";var r=n("0b49"),i=n.n(r);i.a},"53e2":function(t,e,n){var r=n("07e3"),i=n("241e"),o=n("5559")("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},5537:function(t,e,n){var r=n("8378"),i=n("7726"),o="__core-js_shared__",s=i[o]||(i[o]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},5559:function(t,e,n){var r=n("dbdb")("keys"),i=n("62a0");t.exports=function(t){return r[t]||(r[t]=i(t))}},5695:function(t,e,n){var r=n("e9d0");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("1c7c0837",r,!0,{sourceMap:!1,shadowMode:!1})},"56fb":function(t,e,n){"use strict";var r=n("f922"),i=n.n(r);i.a},"584a":function(t,e){var n=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},"5b4e":function(t,e,n){var r=n("36c3"),i=n("b447"),o=n("0fc9");t.exports=function(t){return function(e,n,s){var a,c=r(e),u=i(c.length),l=o(s,u);if(t&&n!=n){while(u>l)if(a=c[l++],a!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},"5ca1":function(t,e,n){var r=n("7726"),i=n("8378"),o=n("32e9"),s=n("2aba"),a=n("9b43"),c="prototype",u=function(t,e,n){var l,f,h,d,p=t&u.F,g=t&u.G,v=t&u.S,y=t&u.P,m=t&u.B,I=g?r:v?r[e]||(r[e]={}):(r[e]||{})[c],M=g?i:i[e]||(i[e]={}),b=M[c]||(M[c]={});for(l in g&&(n=e),n)f=!p&&I&&void 0!==I[l],h=(f?I:n)[l],d=m&&f?a(h,r):y&&"function"==typeof h?a(Function.call,h):h,I&&s(I,l,h,t&u.U),M[l]!=h&&o(M,l,d),y&&b[l]!=h&&(b[l]=h)};r.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},"5d58":function(t,e,n){t.exports=n("d8d6")},"5eda":function(t,e,n){var r=n("5ca1"),i=n("8378"),o=n("79e5");t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],s={};s[t]=e(n),r(r.S+r.F*o((function(){n(1)})),"Object",s)}},"5edd":function(t,e,n){"use strict";var r=n("936a"),i={object:!0,function:!0,undefined:!0};t.exports=function(t){return!!r(t)&&hasOwnProperty.call(i,typeof t)}},"5f1b":function(t,e,n){"use strict";var r=n("23c6"),i=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var o=n.call(t,e);if("object"!==typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},"613b":function(t,e,n){var r=n("5537")("keys"),i=n("ca5a");t.exports=function(t){return r[t]||(r[t]=i(t))}},"626a":function(t,e,n){var r=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"62a0":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},"62c4":function(t,e,n){"use strict";var r=n("e76c")();t.exports=function(t){return t!==r&&null!==t}},6321:function(t,e,n){"use strict";var r=n("9013");t.exports=function(t){if("function"!==typeof t)return!1;if(!hasOwnProperty.call(t,"length"))return!1;try{if("number"!==typeof t.length)return!1;if("function"!==typeof t.call)return!1;if("function"!==typeof t.apply)return!1}catch(e){return!1}return!r(t)}},"63b6":function(t,e,n){var r=n("e53d"),i=n("584a"),o=n("d864"),s=n("35e8"),a=n("07e3"),c="prototype",u=function(t,e,n){var l,f,h,d=t&u.F,p=t&u.G,g=t&u.S,v=t&u.P,y=t&u.B,m=t&u.W,I=p?i:i[e]||(i[e]={}),M=I[c],b=p?r:g?r[e]:(r[e]||{})[c];for(l in p&&(n=e),n)f=!d&&b&&void 0!==b[l],f&&a(I,l)||(h=f?b[l]:n[l],I[l]=p&&"function"!=typeof b[l]?n[l]:y&&f?o(h,r):m&&b[l]==h?function(t){var e=function(e,n,r){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,r)}return t.apply(this,arguments)};return e[c]=t[c],e}(h):v&&"function"==typeof h?o(Function.call,h):h,v&&((I.virtual||(I.virtual={}))[l]=h,t&u.R&&M&&!M[l]&&s(M,l,h)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},6412:function(t,e,n){var r=n("263c");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("2625ca16",r,!0,{sourceMap:!1,shadowMode:!1})},6718:function(t,e,n){var r=n("e53d"),i=n("584a"),o=n("b8e3"),s=n("ccb9"),a=n("d9f6").f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},"67bb":function(t,e,n){t.exports=n("f921")},6821:function(t,e,n){var r=n("626a"),i=n("be13");t.exports=function(t){return r(i(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 r=n("d3f4");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"6abf":function(t,e,n){var r=n("e6f3"),i=n("1691").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},"6b4c":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"6b54":function(t,e,n){"use strict";n("3846");var r=n("cb7c"),i=n("0bfb"),o=n("9e1e"),s="toString",a=/./[s],c=function(t){n("2aba")(RegExp.prototype,s,t,!0)};n("79e5")((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?c((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)})):a.name!=s&&c((function(){return a.call(this)}))},"6c1c":function(t,e,n){n("c367");for(var r=n("e53d"),i=n("35e8"),o=n("481b"),s=n("5168")("toStringTag"),a="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<a.length;c++){var u=a[c],l=r[u],f=l&&l.prototype;f&&!f[s]&&i(f,s,u),o[u]=o.Array}},"6d0c":function(t,e,n){var r=n("6ddc");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("f6023f92",r,!0,{sourceMap:!1,shadowMode:!1})},"6ddc":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".loading-layer{z-index:16;background-color:#333}.loading-layer .loading-wrap{position:absolute;left:50%;top:50%;width:120px;height:80px;margin-top:-40px;margin-left:-60px;text-align:center}.loading-layer .h5-layer-loading{position:relative;width:40px;height:40px;margin:0 auto}.loading-layer .h5-layer-loading .spinner{backface-visibility:hidden;-webkit-backface-visibility:hidden;-webkit-animation:rotator 1.4s linear infinite;animation:rotator 1.4s linear infinite}.loading-layer .h5-layer-loading p{padding-top:20px}@-webkit-keyframes rotator{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(270deg);transform:rotate(270deg)}}@keyframes rotator{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(270deg);transform:rotate(270deg)}}.loading-layer .h5-layer-loading .path{stroke-dasharray:188.8;stroke-dashoffset:188.8;-webkit-transform-origin:center;transform-origin:center;-webkit-animation:dash 1.4s ease-in-out infinite;animation:dash 1.4s ease-in-out infinite}.loading-layer .h5-layer-loading .dot1{-webkit-animation:dot1a 1.4s ease-in-out infinite;animation:dot1a 1.4s ease-in-out infinite}.loading-layer .h5-layer-loading .dot1,.loading-layer .h5-layer-loading .dot2{stroke-dasharray:188.8;stroke-dashoffset:187.8;-webkit-transform-origin:center;transform-origin:center}.loading-layer .h5-layer-loading .dot2{-webkit-animation:dot2a 1.4s ease-in-out infinite forwards;animation:dot2a 1.4s ease-in-out infinite forwards}@-webkit-keyframes dash{0%{stroke-dashoffset:188.8}50%{stroke-dashoffset:47.2;-webkit-transform:rotate(135deg);transform:rotate(135deg)}to{stroke-dashoffset:188.8;-webkit-transform:rotate(450deg);transform:rotate(450deg)}}@keyframes dash{0%{stroke-dashoffset:188.8}50%{stroke-dashoffset:47.2;-webkit-transform:rotate(135deg);transform:rotate(135deg)}to{stroke-dashoffset:188.8;-webkit-transform:rotate(450deg);transform:rotate(450deg)}}@-webkit-keyframes dot1a{0%{stroke-dashoffset:188.8;-webkit-transform:rotate(0);transform:rotate(0)}50%{stroke-dashoffset:187.8;-webkit-transform:rotate(135deg);transform:rotate(135deg)}to{stroke-dashoffset:188.8;-webkit-transform:rotate(450deg);transform:rotate(450deg)}}@keyframes dot1a{0%{stroke-dashoffset:188.8;-webkit-transform:rotate(0);transform:rotate(0)}50%{stroke-dashoffset:187.8;-webkit-transform:rotate(135deg);transform:rotate(135deg)}to{stroke-dashoffset:188.8;-webkit-transform:rotate(450deg);transform:rotate(450deg)}}@-webkit-keyframes dot2a{0%{stroke-dashoffset:188.8;-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{stroke-dashoffset:187.8;-webkit-transform:rotate(415deg);transform:rotate(415deg)}to{stroke-dashoffset:188.8;-webkit-transform:rotate(450deg);transform:rotate(450deg)}}@keyframes dot2a{0%{stroke-dashoffset:188.8;-webkit-transform:rotate(0deg);transform:rotate(0deg)}50%{stroke-dashoffset:187.8;-webkit-transform:rotate(415deg);transform:rotate(415deg)}to{stroke-dashoffset:188.8;-webkit-transform:rotate(450deg);transform:rotate(450deg)}}",""])},"6f66":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".cover-layer{z-index:11;background-color:#333}.cover-layer img{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}",""])},"71c1":function(t,e,n){var r=n("3a38"),i=n("25eb");t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),c=r(n),u=a.length;return c<0||c>=u?t?"":void 0:(o=a.charCodeAt(c),o<55296||o>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):o:t?a.slice(c,c+2):s-56320+(o-55296<<10)+65536)}}},7333:function(t,e,n){"use strict";var r=n("9e1e"),i=n("0d58"),o=n("2621"),s=n("52a7"),a=n("4bf8"),c=n("626a"),u=Object.assign;t.exports=!u||n("79e5")((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r}))?function(t,e){var n=a(t),u=arguments.length,l=1,f=o.f,h=s.f;while(u>l){var d,p=c(arguments[l++]),g=f?i(p).concat(f(p)):i(p),v=g.length,y=0;while(v>y)d=g[y++],r&&!h.call(p,d)||(n[d]=p[d])}return n}:u},7335:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".vue-core-video-player-control .btn-pip svg{width:22px}",""])},7373:function(t,e,n){"use strict";var r=n("62c4"),i=Object.keys;t.exports=function(t){return i(r(t)?Object(t):t)}},"743b":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".vue-core-video-player-control .btn-fullscreen svg{width:20px}",""])},"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)},"77f1":function(t,e,n){var r=n("4588"),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(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(e){return!0}}},"7bdf":function(t,e,n){"use strict";t.exports=n("ecf9")()?Object.keys:n("7373")},"7c86":function(t,e,n){var r=n("11de");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("8bc865d0",r,!0,{sourceMap:!1,shadowMode:!1})},"7e90":function(t,e,n){var r=n("d9f6"),i=n("e4ae"),o=n("c3a1");t.exports=n("8e60")?Object.defineProperties:function(t,e){i(t);var n,s=o(e),a=s.length,c=0;while(a>c)r.f(t,n=s[c++],e[n]);return t}},"7f20":function(t,e,n){var r=n("86cc").f,i=n("69a8"),o=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},"7fc5":function(t,e,n){"use strict";var r=n("ab5c"),i=n.n(r);i.a},8378:function(t,e){var n=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},8436:function(t,e){t.exports=function(){}},"84f2":function(t,e){t.exports={}},"850d":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".vue-core-video-player-control .btn-pause{margin-left:20px}.vue-core-video-player-control .btn-pause svg{width:15px}.vue-core-video-player-control .btn-play{margin-left:20px}.vue-core-video-player-control .btn-play svg{width:16px}",""])},"85f2":function(t,e,n){t.exports=n("454f")},8615:function(t,e,n){var r=n("5ca1"),i=n("504c")(!1);r(r.S,"Object",{values:function(t){return i(t)}})},"86cc":function(t,e,n){var r=n("cb7c"),i=n("c69a"),o=n("6a99"),s=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"8bbf":function(t,e){t.exports=n("2b0e")},"8e60":function(t,e,n){t.exports=!n("294c")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"8e6e":function(t,e,n){var r=n("5ca1"),i=n("990b"),o=n("6821"),s=n("11e9"),a=n("f1ae");r(r.S,"Object",{getOwnPropertyDescriptors:function(t){var e,n,r=o(t),c=s.f,u=i(r),l={},f=0;while(u.length>f)n=c(r,e=u[f++]),void 0!==n&&a(l,e,n);return l}})},"8f60":function(t,e,n){"use strict";var r=n("a159"),i=n("aebd"),o=n("45f2"),s={};n("35e8")(s,n("5168")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},9003:function(t,e,n){var r=n("6b4c");t.exports=Array.isArray||function(t){return"Array"==r(t)}},9013:function(t,e,n){"use strict";var r=n("5edd");t.exports=function(t){if(!r(t))return!1;try{return!!t.constructor&&t.constructor.prototype===t}catch(e){return!1}}},9093:function(t,e,n){var r=n("ce10"),i=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},"90e0":function(t,e,n){var r=n("2316");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("41493392",r,!0,{sourceMap:!1,shadowMode:!1})},9138:function(t,e,n){t.exports=n("35e8")},"936a":function(t,e,n){"use strict";var r=void 0;t.exports=function(t){return t!==r&&null!==t}},9643:function(t,e,n){var r=n("850d");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("39384dc1",r,!0,{sourceMap:!1,shadowMode:!1})},"96ae":function(t,e,n){"use strict";var r=n("62c4");t.exports=function(t){if(!r(t))throw new TypeError("Cannot use null or undefined");return t}},"990b":function(t,e,n){var r=n("9093"),i=n("2621"),o=n("cb7c"),s=n("7726").Reflect;t.exports=s&&s.ownKeys||function(t){var e=r.f(o(t)),n=i.f;return n?e.concat(n(t)):e}},9983:function(t,e,n){"use strict";var r=n("2d60"),i=n.n(r);i.a},"9aa9":function(t,e){e.f=Object.getOwnPropertySymbols},"9b43":function(t,e,n){var r=n("d8e8");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var r=n("2b4c")("unscopables"),i=Array.prototype;void 0==i[r]&&n("32e9")(i,r,{}),t.exports=function(t){i[r][t]=!0}},"9def":function(t,e,n){var r=n("4588"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a159:function(t,e,n){var r=n("e4ae"),i=n("7e90"),o=n("1691"),s=n("5559")("IE_PROTO"),a=function(){},c="prototype",u=function(){var t,e=n("1ec9")("iframe"),r=o.length,i="<",s=">";e.style.display="none",n("32fc").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+s+"document.F=Object"+i+"/script"+s),t.close(),u=t.F;while(r--)delete u[c][o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[c]=r(t),n=new a,a[c]=null,n[s]=t):n=u(),void 0===e?n:i(n,e)}},a3e9:function(t,e,n){"use strict";var r=n("5005"),i=n.n(r);i.a},a481:function(t,e,n){"use strict";var r=n("cb7c"),i=n("4bf8"),o=n("9def"),s=n("4588"),a=n("0390"),c=n("5f1b"),u=Math.max,l=Math.min,f=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g,p=function(t){return void 0===t?t:String(t)};n("214f")("replace",2,(function(t,e,n,g){return[function(r,i){var o=t(this),s=void 0==r?void 0:r[e];return void 0!==s?s.call(r,o,i):n.call(String(o),r,i)},function(t,e){var i=g(n,t,this,e);if(i.done)return i.value;var f=r(t),h=String(this),d="function"===typeof e;d||(e=String(e));var y=f.global;if(y){var m=f.unicode;f.lastIndex=0}var I=[];while(1){var M=c(f,h);if(null===M)break;if(I.push(M),!y)break;var b=String(M[0]);""===b&&(f.lastIndex=a(h,o(f.lastIndex),m))}for(var _="",A=0,C=0;C<I.length;C++){M=I[C];for(var T=String(M[0]),E=u(l(s(M.index),h.length),0),w=[],N=1;N<M.length;N++)w.push(p(M[N]));var S=M.groups;if(d){var O=[T].concat(w,E,h);void 0!==S&&O.push(S);var D=String(e.apply(void 0,O))}else D=v(T,h,E,w,S,e);E>=A&&(_+=h.slice(A,E)+D,A=E+T.length)}return _+h.slice(A)}];function v(t,e,r,o,s,a){var c=r+t.length,u=o.length,l=d;return void 0!==s&&(s=i(s),l=h),n.call(a,l,(function(n,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(c);case"<":a=s[i.slice(1,-1)];break;default:var l=+i;if(0===l)return n;if(l>u){var h=f(l/10);return 0===h?n:h<=u?void 0===o[h-1]?i.charAt(1):o[h-1]+i.charAt(1):n}a=o[l-1]}return void 0===a?"":a}))}}))},aa54:function(t,e,n){"use strict";var r=n("12ae"),i=n.n(r);i.a},aae3:function(t,e,n){var r=n("d3f4"),i=n("2d95"),o=n("2b4c")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},ab5c:function(t,e,n){var r=n("0e5b");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("76a6120a",r,!0,{sourceMap:!1,shadowMode:!1})},ac6a:function(t,e,n){for(var r=n("cadf"),i=n("0d58"),o=n("2aba"),s=n("7726"),a=n("32e9"),c=n("84f2"),u=n("2b4c"),l=u("iterator"),f=u("toStringTag"),h=c.Array,d={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},p=i(d),g=0;g<p.length;g++){var v,y=p[g],m=d[y],I=s[y],M=I&&I.prototype;if(M&&(M[l]||a(M,l,h),M[f]||a(M,f,y),c[y]=h,m))for(v in r)M[v]||o(M,v,r[v],!0)}},add7:function(t,e,n){var r=n("dc03");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("26edf8bf",r,!0,{sourceMap:!1,shadowMode:!1})},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 r=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},b1ba:function(t,e,n){"use strict";var r=n("6d0c"),i=n.n(r);i.a},b447:function(t,e,n){var r=n("3a38"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},b5de:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".vcp-container{position:relative;margin:0 auto}.vcp-container,.vcp-container video{width:100%;height:100%;background-color:#000}",""])},b72f:function(t,e,n){"use strict";var r=n("90e0"),i=n.n(r);i.a},b8e3:function(t,e){t.exports=!0},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},bead:function(t,e,n){"use strict";var r=n("f0b7"),i=n.n(r);i.a},bf0b:function(t,e,n){var r=n("355d"),i=n("aebd"),o=n("36c3"),s=n("1bc3"),a=n("07e3"),c=n("794b"),u=Object.getOwnPropertyDescriptor;e.f=n("8e60")?u:function(t,e){if(t=o(t),e=s(e,!0),c)try{return u(t,e)}catch(n){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},c207:function(t,e){},c366:function(t,e,n){var r=n("6821"),i=n("9def"),o=n("77f1");t.exports=function(t){return function(e,n,s){var a,c=r(e),u=i(c.length),l=o(s,u);if(t&&n!=n){while(u>l)if(a=c[l++],a!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},c367:function(t,e,n){"use strict";var r=n("8436"),i=n("50ed"),o=n("481b"),s=n("36c3");t.exports=n("30f1")(Array,"Array",(function(t,e){this._t=s(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,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},c3a1:function(t,e,n){var r=n("e6f3"),i=n("1691");t.exports=Object.keys||function(t){return r(t,i)}},c428:function(t,e,n){"use strict";var r=n("1689"),i=n.n(r);i.a},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}))},c9fc:function(t,e,n){"use strict";var r,i,o,s,a,c,u,l=n("f508"),f=n("1a94"),h=Function.prototype.apply,d=Function.prototype.call,p=Object.create,g=Object.defineProperty,v=Object.defineProperties,y=Object.prototype.hasOwnProperty,m={configurable:!0,enumerable:!1,writable:!0};r=function(t,e){var n;return f(e),y.call(this,"__ee__")?n=this.__ee__:(n=m.value=p(null),g(this,"__ee__",m),m.value=null),n[t]?"object"===typeof n[t]?n[t].push(e):n[t]=[n[t],e]:n[t]=e,this},i=function(t,e){var n,i;return f(e),i=this,r.call(this,t,n=function(){o.call(i,t,n),h.call(e,this,arguments)}),n.__eeOnceListener__=e,this},o=function(t,e){var n,r,i,o;if(f(e),!y.call(this,"__ee__"))return this;if(n=this.__ee__,!n[t])return this;if(r=n[t],"object"===typeof r)for(o=0;i=r[o];++o)i!==e&&i.__eeOnceListener__!==e||(2===r.length?n[t]=r[o?0:1]:r.splice(o,1));else r!==e&&r.__eeOnceListener__!==e||delete n[t];return this},s=function(t){var e,n,r,i,o;if(y.call(this,"__ee__")&&(i=this.__ee__[t],i))if("object"===typeof i){for(n=arguments.length,o=new Array(n-1),e=1;e<n;++e)o[e-1]=arguments[e];for(i=i.slice(),e=0;r=i[e];++e)h.call(r,this,o)}else switch(arguments.length){case 1:d.call(i,this);break;case 2:d.call(i,this,arguments[1]);break;case 3:d.call(i,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,o=new Array(n-1),e=1;e<n;++e)o[e-1]=arguments[e];h.call(i,this,o)}},a={on:r,once:i,off:o,emit:s},c={on:l(r),once:l(i),off:l(o),emit:l(s)},u=v({},c),t.exports=e=function(t){return null==t?p(u):v(Object(t),c)},e.methods=a},ca5a:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},cadf:function(t,e,n){"use strict";var r=n("9c6c"),i=n("d53b"),o=n("84f2"),s=n("6821");t.exports=n("01f9")(Array,"Array",(function(t,e){this._t=s(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,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},cb7c:function(t,e,n){var r=n("d3f4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},cc1d:function(t,e,n){"use strict";var r=n("0ee8"),i=n.n(r);i.a},ccb9:function(t,e,n){e.f=n("5168")},ce10:function(t,e,n){var r=n("69a8"),i=n("6821"),o=n("c366")(!1),s=n("613b")("IE_PROTO");t.exports=function(t,e){var n,a=i(t),c=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);while(e.length>c)r(a,n=e[c++])&&(~o(u,n)||u.push(n));return u}},cfb4:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,'.vcp-switch{display:inline-block;position:relative;width:40px;height:16px;border-radius:8px;background-color:#fff;cursor:pointer}.vcp-switch:after{content:"";display:inline-block;position:absolute;top:1px;left:2px;width:14px;height:14px;border-radius:7px;background-color:#ff6060;-webkit-transition:left .2s ease-in .05s;transition:left .2s ease-in .05s}.vcp-switch.open:after{left:23px}',""])},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}}},d658:function(t,e,n){"use strict";var r=n("9643"),i=n.n(r);i.a},d864:function(t,e,n){var r=n("79aa");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}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 r=n("e4ae"),i=n("794b"),o=n("1bc3"),s=Object.defineProperty;e.f=n("8e60")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(a){}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 r=n("584a"),i=n("e53d"),o="__core-js_shared__",s=i[o]||(i[o]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("b8e3")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},dc03:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".animated{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(20%,0,0);transform:translate3d(20%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(20%,0,0);transform:translate3d(20%,0,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-10%,0);transform:translate3d(0,-10%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-10%,0);transform:translate3d(0,-10%,0)}to{opacity:1;-webkit-transform:translateZ(0);transform:translateZ(0)}}.fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}.vcp-layer{position:absolute;top:0;bottom:0;right:0;left:0;color:#fff;font-weight:400}.vcp-layer div,.vcp-layer svg{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vcp-icon{display:inline-block}.vue-core-video-player-control{display:inline-block;position:relative;width:30px;height:30px;margin-right:20px;font-size:13px;color:#fff}.vcp-m-dashboard .vue-core-video-player-control{margin-right:10px}.btn-control-panel{position:absolute;left:50%;bottom:54px;padding:20px;min-height:30px;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transform:translateX(-50%);transform:translateX(-50%);background-color:rgba(0,0,0,.7);border-radius:4px;font-weight:500}.btn-control-panel li,.btn-control-panel ul{margin:0;padding:0;text-align:center}.btn-control-panel ul li{list-style:none;height:30px;line-height:30px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;text-align:left}.btn-control-panel ul li .item-name{-webkit-box-flex:1;-ms-flex:1;flex:1;-ms-flex-item-align:start;align-self:flex-start}.btn-control-panel ul li .item-control{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:right;line-height:30px;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.btn-control,.btn-control-panel ul li .item-control{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer}.btn-control{position:relative;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;width:30px;height:30px}.btn-control:focus{background:none;outline-style:none}.btn-control .tips{display:none;position:absolute;min-width:30px;padding:4px;border-radius:2px;bottom:54px;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);font-size:12px;font-weight:700;color:hsla(0,0%,100%,.7);background-color:rgba(0,0,0,.7);text-align:center;line-height:1.2;word-break:keep-all;word-wrap:no-wrap;white-space:nowrap;opacity:0;-webkit-transition:opacity .15s ease-in;transition:opacity .15s ease-in}.btn-control svg{opacity:.85;-webkit-transition:opacity .1s ease;transition:opacity .1s ease}.btn-control:hover svg{opacity:1}.btn-control:hover .tips{display:block;opacity:1}",""])},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e312:function(t){t.exports=JSON.parse('{"dashboard":{"btn":{"play":"Play","pause":"Pause","fullscreen":"Full Screen","exitFullscreen":"Exit Full Screen","mute":"Mute","unmute":"Unmute","back":"Back","pip":"Picture-in-Picture"},"settings":{"autoplay":"Autoplay","loop":"Loop","speed":"Speed","resolution":"Resolution"}},"layers":{"error":{"2404":"Video Source Not Found","2502":"Media Network Error","2503":"Video Cannot DECODE","2504":"Video Cannot Play!","title":"(O_O)? Error!"},"loading":{"msg":"Loading ..."}}}')},e4ae:function(t,e,n){var r=n("f772");t.exports=function(t){if(!r(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)},e6f3:function(t,e,n){var r=n("07e3"),i=n("36c3"),o=n("5b4e")(!1),s=n("5559")("IE_PROTO");t.exports=function(t,e){var n,a=i(t),c=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);while(e.length>c)r(a,n=e[c++])&&(~o(u,n)||u.push(n));return u}},e76c:function(t,e,n){"use strict";t.exports=function(){}},e9c8:function(t,e,n){var r=n("2814");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("d37f223e",r,!0,{sourceMap:!1,shadowMode:!1})},e9d0:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".error-layer{z-index:12;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJO0ttC6IBD3kM0ve0tJwMdSfjZo+EEISaeTr9P3wYrGjXqyC1krcKdhMpxEnt5JetoulscpyzhXN5FRpuPHvbeQaKxFAEB6EN+cYN6xD7RYGpXpNndMmZgM5Dcs3YSNFDHUo2LGfZuukSWyUYirJAdYbF3MfqEKmjM+I2EfhA94iG3L7uKrR+GdWD73ydlIB+6hgref1QTlmgmbM3/LeX5GI1Ux1RWpgxpLuZ2+I+IjzZ8wqE4nilvQdkUdfhzI5QDWy+kw5Wgg2pGpeEVeCCA7b85BO3F9DzxB3cdqvBzWcmzbyMiqhzuYqtHRVG2y4x+KOlnyqla8AoWWpuBoYRxzXrfKuILl6SfiWCbjxoZJUaCBj1CjH7GIaDbc9kqBY3W/Rgjda1iqQcOJu2WW+76pZC9QG7M00dffe9hNnseupFL53r8F7YHSwJWUKP2q+k7RdsxyOB11n0xtOvnW4irMMFNV4H0uqwS5ExsmP9AxbDTc9JwgneAT5vTiUSm1E7BSflSt3bfa1tv8Di3R8n3Af7MNWzs49hmauE2wP+ttrq+AsWpFG2awvsuOqbipWHgtuvuaAE+A1Z/7gC9hesnr+7wqCwG8c5yAg3AL1fm8T9AZtp/bbJGwl1pNrE7RuOX7PeMRUERVaPpEs+yqeoSmuOlokqw49pgomjLeh7icHNlG19yjs6XXOMedYm5xH2YxpV2tc0Ro2jJfxC50ApuxGob7lMsxfTbeUv07TyYxpeLucEH1gNd4IKH2LAg5TdVhlCafZvpskfncCfx8pOhJzd76bJWeYFnFciwcYfubRc12Ip/ppIhA1/mSZ/RxjFDrJC5xifFjJpY2Xl5zXdguFqYyTR1zSp1Y9p+tktDYYSNflcxI0iyO4TPBdlRcpeqjK/piF5bklq77VSEaA+z8qmJTFzIWiitbnzR794USKBUaT0NTEsVjZqLaFVqJoPN9ODG70IPbfBHKK+/q/AWR0tJzYHRULOa4MP+W/HfGadZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==);background-color:#333;background-repeat:repeat;text-align:center}.error-layer .error-icon{width:194px;margin:-40px auto 0}.error-layer .error-msg{color:hsla(0,0%,100%,.7)}",""])},ebd6:function(t,e,n){var r=n("cb7c"),i=n("d8e8"),o=n("2b4c")("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||void 0==(n=r(s)[o])?e:i(n)}},ebfd:function(t,e,n){var r=n("62a0")("meta"),i=n("f772"),o=n("07e3"),s=n("d9f6").f,a=0,c=Object.isExtensible||function(){return!0},u=!n("294c")((function(){return c(Object.preventExtensions({}))})),l=function(t){s(t,r,{value:{i:"O"+ ++a,w:{}}})},f=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[r].i},h=function(t,e){if(!o(t,r)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[r].w},d=function(t){return u&&p.NEED&&c(t)&&!o(t,r)&&l(t),t},p=t.exports={KEY:r,NEED:!1,fastKey:f,getWeak:h,onFreeze:d}},ecf9:function(t,e,n){"use strict";t.exports=function(){try{return Object.keys("primitive"),!0}catch(t){return!1}}},f0b7:function(t,e,n){var r=n("b5de");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("9172fcae",r,!0,{sourceMap:!1,shadowMode:!1})},f1ae:function(t,e,n){"use strict";var r=n("86cc"),i=n("4630");t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},f201:function(t){t.exports=JSON.parse('{"dashboard":{"btn":{"play":"播放","pause":"暂停","fullscreen":"全屏","exitFullscreen":"退出全屏","mute":"静音","unmute":"取消静音","back":"返回","pip":"画中画模式"},"settings":{"autoplay":"自动播放","loop":"循环播放","speed":"播放速度","resolution":"清晰度"}},"layers":{"error":{"2404":"找不到播放视频","2502":"播放网络异常","2503":"视频无法解码","2504":"视频无法正常播放","title":"(O_O)? 播放错误!"},"loading":{"msg":"加载中 ..."}}}')},f232:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,'.vcp-progress-hover{position:absolute;bottom:100%;left:0;height:12px;width:100%;cursor:pointer}.vcp-progress-hover .vcp-progress{position:absolute;bottom:0;left:0;height:4px;width:100%;background-color:hsla(0,0%,100%,.3);-webkit-transition:height .2s ease .05s;transition:height .2s ease .05s}.vcp-progress-hover:hover .vcp-progress{height:6px}.vcp-progress-hover:hover .vcp-progress .thumb-drag{opacity:1}.vcp-progress-loaded,.vcp-progress-played{position:absolute;top:0;left:0;width:0;height:100%;background-color:hsla(0,0%,100%,.7)}.vcp-progress-loaded{-webkit-transition:width .1s cubic-bezier(.4,0,1,1);transition:width .1s cubic-bezier(.4,0,1,1)}.vcp-progress-played{width:0;background-color:#ff6060}.vcp-progress-played .thumb-drag{opacity:0;position:absolute;right:0;top:50%;width:12px;height:12px;border-radius:6px;background-color:#fff;-webkit-transform:translateY(-50%) translateX(50%);transform:translateY(-50%) translateX(50%);-webkit-transition:height .05s ease .15s;transition:height .05s ease .15s}.vcp-progress-played .thumb-drag:before{content:"";display:inline-block;position:absolute;top:-2px;left:-2px;width:16px;height:16px;border-radius:7px;background-color:hsla(0,0%,100%,.3)}.vcp-m-dashboard .vcp-progress-hover{bottom:0}.vcp-m-dashboard .vcp-progress-hover .vcp-progress{height:3px}.vcp-m-dashboard .vcp-progress-hover .vcp-progress-played .thumb-drag{background-color:#ff6060}.vcp-m-dashboard .vcp-progress-hover .vcp-progress-played .thumb-drag:before{background-color:#ff6060;opacity:.25}',""])},f31c:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".vcp-dashboard{z-index:11;position:absolute;left:0;bottom:0;width:100%;height:59px;background:rgba(0,0,0,.5)}.fullscreen .vcp-dashboard{bottom:60px;width:1182px;left:50%;margin-left:-591px}.small .vcp-dashboard{height:49px}.settings-open .vcp-dashboard{display:block!important}.small .vcp-dashboard .vcp-controls{height:40px}",""])},f3a6:function(t,e,n){"use strict";var r=n("62c4"),i=Array.prototype.forEach,o=Object.create,s=function(t,e){var n;for(n in t)e[n]=t[n]};t.exports=function(t){var e=o(null);return i.call(arguments,(function(t){r(t)&&s(Object(t),e)})),e}},f508:function(t,e,n){"use strict";var r=n("936a"),i=n("1793"),o=n("2031"),s=n("f3a6"),a=n("f973"),c=t.exports=function(t,e){var n,i,c,u,l;return arguments.length<2||"string"!==typeof t?(u=e,e=t,t=null):u=arguments[2],r(t)?(n=a.call(t,"c"),i=a.call(t,"e"),c=a.call(t,"w")):(n=c=!0,i=!1),l={value:e,configurable:n,enumerable:i,writable:c},u?o(s(u),l):l};c.gs=function(t,e,n){var c,u,l,f;return"string"!==typeof t?(l=n,n=e,e=t,t=null):l=arguments[3],r(e)?i(e)?r(n)?i(n)||(l=n,n=void 0):n=void 0:(l=e,e=n=void 0):e=void 0,r(t)?(c=a.call(t,"c"),u=a.call(t,"e")):(c=!0,u=!1),f={get:e,set:n,configurable:c,enumerable:u},l?o(s(l),f):f}},f60e:function(t,e,n){"use strict";var r=n("7bdf"),i=n("96ae"),o=Math.max;t.exports=function(t,e){var n,s,a,c=o(arguments.length,2);for(t=Object(i(t)),a=function(r){try{t[r]=e[r]}catch(i){n||(n=i)}},s=1;s<c;++s)e=arguments[s],r(e).forEach(a);if(void 0!==n)throw n;return t}},f64c:function(t,e,n){"use strict";var r=n("5695"),i=n.n(r);i.a},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(r){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})})(document)},f751:function(t,e,n){var r=n("5ca1");r(r.S+r.F,"Object",{assign:n("7333")})},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},f922:function(t,e,n){var r=n("5276");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("22717135",r,!0,{sourceMap:!1,shadowMode:!1})},f967:function(t,e,n){"use strict";var r=String.prototype.indexOf;t.exports=function(t){return r.call(this,t,arguments[1])>-1}},f973:function(t,e,n){"use strict";t.exports=n("18ec")()?String.prototype.contains:n("f967")},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(t,e,n){var r=n("7726").document;t.exports=r&&r.documentElement},fb15:function(t,e,n){"use strict";var r;(n.r(e),"undefined"!==typeof window)&&(n("f6fd"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));var i=n("5d58"),o=n.n(i),s=n("67bb"),a=n.n(s);function c(t){return c="function"===typeof a.a&&"symbol"===typeof o.a?function(t){return typeof t}:function(t){return t&&"function"===typeof a.a&&t.constructor===a.a&&t!==a.a.prototype?"symbol":typeof t},c(t)}function u(t){return u="function"===typeof a.a&&"symbol"===c(o.a)?function(t){return c(t)}:function(t){return t&&"function"===typeof a.a&&t.constructor===a.a&&t!==a.a.prototype?"symbol":c(t)},u(t)}n("28a5");var l=n("f201"),f=n("e312"),h=n("0d2d"),d={"zh-CN":l,jp:h,en:f},p={t:function(t,e){for(var n=t.split("."),r=n.length,i=p.locale,o=0;o<r;o++)i.hasOwnProperty(n[o])&&(i=i[n[o]]);return i||e},setLocale:function(t){return"object"===u(t)?p.locale=t:p.locale=d[t||"en"],p.locale}},g=p,v=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"vcp-el",staticClass:"vcp-container"},[n("video",{ref:"vcp-video",attrs:{title:t.title,cover:t.cover,loop:t.loop,playsinline:t.playsinline,src:t.source}}),n("Layers"),t.isMobile?t._e():n("Dashboard",{attrs:{controls:t.controls,muted:t.muted}}),t.isMobile?n("MobileDashboard",{attrs:{controls:t.controls,muted:t.muted}}):t._e()],1)},y=[],m=(n("8e6e"),n("456d"),n("cadf"),n("8615"),n("85f2")),I=n.n(m);function M(t,e,n){return e in t?I()(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n("ac6a"),n("add7");var b=n("8bbf"),_=n.n(b);_.a.directive("t",{bind:function(t,e){t.innerText=g.t(e.expression)}});var A={loop:!1,volume:1,muted:!1,autoplay:!1,preload:"metadata",playList:[],safeBufferTime:2,minPlayBufferTime:1,resolution:"720p",dashboardHideDelay:2500},C=A;function T(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function E(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?T(n,!0).forEach((function(e){M(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):T(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var w={ERROR_NO_MEDIA:"ERROR_NO_MEDIA",ERROR_AUTO_PLAY:"ERROR_AUTO_PLAY"},N={LIFECYCLE_INITING:"lifecycle_initing",LIFECYCLE_INITED:"lifecycle_inited",LIFECYCLE_PARSED:"lifecycle_parse",LIFECYCLE_STOP:"lifecycle_stop"},S={SOURCE_UPDATED:"SOURCE_UPDATED"},O={UI_DASHBOARD_SHOW:"ui_dashboard_show",UI_DASHBOARD_HIDE:"ui_dashboard_hide",UI_PLAY:"ui_play",UI_PAUSE:"ui_pause"},D=E({},w,{},N,{},S,{},O,{SERVICE_LOADING:"service_loading",SERVICE_ENDED:"service_ended",LOADING_START:"loading_start",LOADING_END:"loading_end",CORE_TO_MP4:"core_to_mp4",PLAY:"play",PAUSE:"pause",LOADEDDATA:"loadeddata",CANPLAY:"canplay",CANPLAYTHROUGH:"canplaythrough",ERROR:"error",DURATIONCHANGE:"durationchange",ENDED:"ended",TIMEUPDATE:"timeupdate",LOADEDMETADATA:"loadedmetadata",WAITING:"waiting",PLAYING:"playing",RETRY:"retry",SEEKED:"seeked",SEEKING:"seeking",VOLUMECHANGE:"volumechange",EXIT:"exit",PROGRESS:"progress",STALLED:"stalled",LOADSTART:"loadstart",RESOLUTION_UPDATE:"resolution_update"}),R=D,L={NO_SOURCE:{code:"2404",msg:"Prop `src` not found"},2502:"Media Network Error",2503:"Video Cannot DECODE",2504:"Video Cannot Play!",2701:"Parse Error",2801:"Not found reason"},x=L,j=["video/webm","video/mp4"];n("6b54"),n("a481");const k=/iPhone/i,P=/iPod/i,U=/iPad/i,z=/\bAndroid(?:.+)Mobile\b/i,G=/Android/i,B=/(?:SD4930UR|\bSilk(?:.+)Mobile\b)/i,Y=/Silk/i,F=/Windows Phone/i,$=/\bWindows(?:.+)ARM\b/i,H=/BlackBerry/i,V=/BB10/i,Q=/Opera Mini/i,W=/\b(CriOS|Chrome)(?:.+)Mobile/i,Z=/Mobile(?:.+)Firefox\b/i;function K(t,e){return t.test(e)}function q(t){t=t||("undefined"!==typeof navigator?navigator.userAgent:"");let e=t.split("[FBAN");"undefined"!==typeof e[1]&&(t=e[0]),e=t.split("Twitter"),"undefined"!==typeof e[1]&&(t=e[0]);const n={apple:{phone:K(k,t)&&!K(F,t),ipod:K(P,t),tablet:!K(k,t)&&K(U,t)&&!K(F,t),device:(K(k,t)||K(P,t)||K(U,t))&&!K(F,t)},amazon:{phone:K(B,t),tablet:!K(B,t)&&K(Y,t),device:K(B,t)||K(Y,t)},android:{phone:!K(F,t)&&K(B,t)||!K(F,t)&&K(z,t),tablet:!K(F,t)&&!K(B,t)&&!K(z,t)&&(K(Y,t)||K(G,t)),device:!K(F,t)&&(K(B,t)||K(Y,t)||K(z,t)||K(G,t))||K(/\bokhttp\b/i,t)},windows:{phone:K(F,t),tablet:K($,t),device:K(F,t)||K($,t)},other:{blackberry:K(H,t),blackberry10:K(V,t),opera:K(Q,t),firefox:K(Z,t),chrome:K(W,t),device:K(H,t)||K(V,t)||K(Q,t)||K(Z,t)||K(W,t)},any:!1,phone:!1,tablet:!1};return n.any=n.apple.device||n.android.device||n.windows.device||n.other.device,n.phone=n.apple.phone||n.android.phone||n.windows.phone,n.tablet=n.apple.tablet||n.android.tablet||n.windows.tablet,n}function J(t){return"string"===typeof t}var X=navigator.userAgent.toLowerCase();function tt(t){return t<10?"0".concat(t):t}function et(t,e){t=parseInt(t);var n=t%60,r=parseInt(t/3600),i=parseInt(t%3600/60);return"array"===e?[r,i,n]:"m:s"===e?(i=parseInt(t/60),[i,n].map((function(t){return tt(t)})).join(":")):[r,i,n].map((function(t){return tt(t)})).join(":")}function nt(t){var e=0,n=0;do{e+=t.offsetLeft,n+=t.offsetTop}while(t=t.offsetParent);return{left:e,top:n}}function rt(){function t(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()}var it=function(){return navigator.userAgent.indexOf("Safari")>-1};function ot(t,e){if(0===e.length)return 0;for(var n=0;n<e.length;n++){var r=e.start(n),i=e.end(n);if(t>=r&&t<=i)return e.end(n)}return t}var st=function(){return"object"!==("undefined"===typeof localStorage?"undefined":u(localStorage))&&"object"!==("undefined"===typeof navigator?"undefined":u(navigator))},at=q(X).any,ct=q(X).android,ut=q(X).apple&&q(X).apple.device,lt=(ut&&it(),/MQQBrowser/i.test(X)),ft=(/ucbrowser/i.test(X),/chrome/i.test(X)),ht=(/MicroMessenger/i.test(X),/firefox/i.test(X)),dt=function(t){return!!(Array.isArray(t)&&"object"===u(t[0])&&t[0].resolution&&t[0].src)};function pt(t){return dt(t)?t.filter((function(t){return t.src&&t.resolution})):"string"===typeof t?[t]:t}function gt(t,e){return st()?!(!ht&&!ft||"video/webm"!==t)||"video/mp4"===t:(e||(e=document.createElement("videos")),e.canPlayType(t))}n("f751");function vt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),I()(t,r.key,r)}}function mt(t,e,n){return e&&yt(t.prototype,e),n&&yt(t,n),t}function It(t,e){if(e&&t){var n=e.split(" ");if(t.classList&&1===n.length)t.classList.add(e);else{var r=t.className.split(" ");r.push(e),t.className=r.join(" ")}}}function Mt(t,e){if(t.classList)t.classList.remove(e);else{for(var n=t.className.split(" "),r=-1,i=0,o=n.length;i<o;i++)n[i]===e&&(r=i);r>-1&&n.splice(r,1),t.className=n.join(" ")}}function bt(t,e){var n=e.parentNode;while(null!=n){if(n===t)return!0;n=n.parentNode}return!1}function _t(t,e,n){if(e){var r=at?t.changedTouches[0]["clientX"]:t.clientX,i=at?t.changedTouches[0]["clientY"]:t.clientY,o=r-n.x,s=i-n.y;return o<=n.minLeft&&(o=n.minLeft),o>=n.maxLeft&&(o=n.maxLeft),s<=n.minTop&&(s=n.minTop),s>=n.maxTop&&(s=n.maxTop),{left:o,top:s}}}function At(t){document.addEventListener("fullscreenchange",(function(){t(document.webkitIsFullScreen)}),!1),document.addEventListener("mozfullscreenchange",(function(){t(document.mozFullScreen)}),!1),document.addEventListener("msFullscreenElement",(function(){t(document.mozFullScreen)}),!1),document.addEventListener("webkitfullscreenchange",(function(){t(document.webkitIsFullScreen)}),!1)}var Ct=["play","playing","timeupdate","pause","seeking","waiting","loadedmetadata","loadeddata","loadstart","seeked","ended","durationchange","progress","canplaythrough","volumechange"],Tt=["muted","volume","loop","preload"],Et=function(){function t(e){vt(this,t),this.config=Object.assign(C,e),this.$video=this.config.videoEl,this.$el=this.config.el,this._eventEmitter=e.eventEmitter,this.state={};var n=this.config.src;this.checkSource(n)&&(this.parse(n),this.init())}return mt(t,[{key:"parse",value:function(t){this.initResolution(t),this.initVideoType()}},{key:"checkSource",value:function(t){if(!t){var e=x.NO_SOURCE.code;return this.emit(R.ERROR,{code:e}),!1}return!!(!Array.isArray(t)||t[0]&&t[0].src)}},{key:"setSource",value:function(t){var e=this;if(this.checkSource(t)){this.parse(t);var n=this.isPlaying();if(n){this.pause();var r=function t(){e.play(),e.$video.removeEventListener(R.DURATIONCHANGE,t)};this.$video.addEventListener(R.DURATIONCHANGE,r)}}}},{key:"init",value:function(){this.checkSource(this.config.src),this._autoRegisterEvents(),this._setVideoAttr(),this.setContainer(),this.setSize(),this.emit(R.LIFECYCLE_INITED),this._autoplay()}},{key:"setContainer",value:function(){at&&It(this.$el,"mobile")}},{key:"setSize",value:function(){var t=this.$el.offsetWidth,e="";t<=763&&(e="small"),It(this.$el,e)}},{key:"_autoplay",value:function(){var t=this;if(this.config.autoplay&&!at){var e=function(){var e=t.play();t.autoPlayPolicy(e)};e()}}},{key:"setConfig",value:function(t,e){Tt.indexOf(t)>=0&&(this.config[t]=e,this.$video[t]=e)}},{key:"initResolution",value:function(t){var e=this,n=this.config.resolution;this.medias=pt(t),this.medias.forEach((function(t){t.resolution===n&&(e.config.src=t.src)})),this.resolution=n,setTimeout((function(){e.emit(R.SOURCE_UPDATED)}),200)}},{key:"initVideoType",value:function(){for(var t=this,e=function(e){for(var n=0;n<t.medias.length;n++)if(t.medias[n].type===e)return t.medias[n]},n=0;n<j.length;n++){var r=e(j[n]);if(gt(j[n],this.$video)&&r)return this.config.src=r.src,this.$video.src=this.config.src,this.resolution="",void(this.medias=[r])}}},{key:"setResolution",value:function(t){var e=this,n=this.medias;if(n&&n.length>1)for(var r=0;r<n.length;r++)n[r].resolution===t&&function(){e.resolution=t;var i=e.isPlaying(),o=e.getCurrentTime();e.$video.src=n[r].src,e.emit(R.SOURCE_UPDATED),e.$video.load(),i&&o<1&&e.$video.play();var s=R.CANPLAYTHROUGH,a=0,c=function t(){ct&<?(e.play(),1===a&&e.seek(o),a+=1):e.seek(o),ct&<&&!i&&e.pause(),e.$video.removeEventListener(R.CANPLAYTHROUGH,t),2===a&&(e.$video.removeEventListener(R.DURATIONCHANGE,t),a=0)},u=function t(){i&&e.play(),e.$video.removeEventListener(R.SEEKED,t)},l=function t(){e.start(),e.$video.removeEventListener(R.PLAYING,t)};ct&<&&(s=R.DURATIONCHANGE,e.play()),e.$video.addEventListener(s,c),e.$video.addEventListener(R.SEEKED,u),e.$video.addEventListener(R.PLAY,l)}()}},{key:"setAudio",value:function(t){}},{key:"_autoRegisterEvents",value:function(){var t=this;Ct.forEach((function(e){t.$video.addEventListener(e,(function(n){var r="on".concat(e);"function"===typeof t[r]&&t[r](n),t.emit(e,{name:e,target:t.$video})}))})),this.$video.addEventListener("error",(function(e){if(e.target.getAttribute("src"))if(e.target.error&&e.target.error.code){var n=Object.assign({},e.target.error,{code:"250"+e.target.error.code});t.emit("error",n)}else"object"!==u(e)&&(e={code:5001,e:e}),t.emit("error",e)})),this.on(R.CORE_TO_MP4,(function(){t.downgradeCore()})),this._bindProgressEvent()}},{key:"_bindProgressEvent",value:function(){var t=this,e=this.config,n=e.minPlayBUfferTime,r=e.safeBufferTime,i=function(){if(t.state.waiting_trigger){var e=t.getBufferTime(),i=t.getCurrentTime(),o=t.getDuration();if(!(i<2)&&!(o-i<n)){var s=e-i;e-i<n?(t.player.pause(),t.state.waiting_pause=!0,t.emit(R.LOADING_START,!0)):t.state.waiting_pause&&s>r&&(t.play(),t.state.waiting_pause=!1)}}};this.on(R.UI_PLAY,(function(){t.state.waiting_pause=!0}));var o=!1;this.on(R.PLAY,(function(){o||(o=!0,t.on(R.PROGRESS,i))})),this.on(R.UI_PAUSE,(function(){t.state.waiting_trigger=!1})),this.on(R.UI_PLAY,(function(){t.state.waiting_trigger=!0}))}},{key:"play",value:function(){return this.$video.play()}},{key:"pause",value:function(){this.$video.pause()}},{key:"isPlaying",value:function(){return!this.$video.paused&&!this.$video.ended}},{key:"replay",value:function(){this.$video.play()}},{key:"seek",value:function(t){this.$video.currentTime=t}},{key:"requestPictureInPicture",value:function(){var t=this.$video;try{t!==document.pictureInPictureElement?t.requestPictureInPicture():document.exitPictureInPicture()}catch(e){console.error(e)}}},{key:"onended",value:function(){var t=this.config.loop;t&&this.player.play()}},{key:"getDuration",value:function(){return this.$video&&this.$video.duration||0}},{key:"getCurrentTime",value:function(){var t=this.$video.currentTime||0;return t}},{key:"getBufferTime",value:function(){var t=this.$video,e=this.getCurrentTime();return ot(e,t.buffered)}},{key:"getProgress",value:function(){return this.getCurrentTime()&&(this.getCurrentTime()/this.getDuration()*100).toFixed(2)||0}},{key:"getVolume",value:function(){return this.$video?this.$video.volume:1}},{key:"getVideoAttr",value:function(t){return this.$video[t]}},{key:"setVideoAttr",value:function(t,e){this.$video[t]=e}},{key:"_setVideoAttr",value:function(){var t=this;at&&(this.$video.setAttribute("x5-video-player-type","h5"),this.$video.setAttribute("x5-video-player-fullscreen",!1)),this.$video.loop=!1,Tt.forEach((function(e){t.config[e]&&(t.$video[e]=t.config[e])}))}},{key:"autoPlayPolicy",value:function(t){var e=this;void 0!==t&&t.catch((function(t){e.emit(R.ERROR_AUTO_PLAY,t),e.config.autoplay=!1})).then((function(){}))}},{key:"setVolume",value:function(t){this.$video.volume=t}},{key:"setMuted",value:function(t){this.$video.muted=t,t&&this.emit(R.VOLUMECHANGE,!0)}},{key:"setSpeed",value:function(t){this.$video.playbackRate=t}},{key:"destroy",value:function(){this.pause()}},{key:"getVideoElement",value:function(){return this.$video}},{key:"on",value:function(t,e){this._eventEmitter.on(t,e)}},{key:"off",value:function(t,e){this._eventEmitter.off(t,e)}},{key:"emit",value:function(t,e){this._eventEmitter.emit(t,e)}},{key:"once",value:function(t,e){this._eventEmitter.once(t,e)}}],[{key:"debug",set:function(t){localStorage._vueCorePlayerDebug=!!t||""}}]),t}();window.VCPVideoCore=Et;var wt=Et,Nt={};function St(t){var e=rt();t._id=e;var n=t.core||wt,r=new n(t);return r.id=e,Nt[e]=r,r}var Ot=n("c9fc"),Dt=n.n(Ot),Rt=Dt()(),Lt={data:function(){return{show:!1,fullscreen:!1,isPlaying:!1,_coreID:""}},created:function(){var t=this;this.on(R.LIFECYCLE_INITING,(function(e){t.$player=e,t.$container=t.$player.$el})),this.on(R.PLAY,(function(){t.isPlaying=!0})),this.on(R.PAUSE,(function(){t.isPlaying=!1})),At((function(e){e?(It(t.$container,"fullscreen"),t.emit("fullscreen",!0)):(Mt(t.$container,"fullscreen"),t.emit("fullscreen",!1))}))},_events:{},methods:{play:function(){this.$player.play()},pause:function(){this.$player.pause()},enterFullscreen:function(){var t=this.$container;t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.requestFullScreen&&t.requestFullscreen(),this.fullscreen=!0},cancelFullscreen:function(t){document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.cancelFullScreen&&document.cancelFullScreen(),this.fullscreen=!1},getFullscreen:function(){return!document.fullscreenElement&&!document.webkitIsFullScreen&&!document.mozFullScreen&&!document.msFullscreenElement},on:function(t,e){var n=this;J(t)?(this._events[t]=e,Rt.on(t,e)):Array.isArray(t)&&t.forEach((function(t){n._events[t]=e,Rt.on(t,e)}))},emit:function(t,e){Rt.emit(t,e)},off:function(t,e){Rt.off(t,e)},removeAllEvents:function(){for(var t in this._events)Rt.off(t,this._events[t])},addClass:function(t){this.$container.classList.remove(t)},removeClass:function(t){this.$container.classList.remove(t)}},beforeDestroy:function(){this.removeAllEvents()}},xt=Lt,jt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],ref:"dashboard",staticClass:"vcp-dashboard",attrs:{autoplay:""}},[n("Progress"),n("Controls",{attrs:{muted:t.muted}})],1)},kt=[],Pt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"input",staticClass:"vcp-progress-hover",on:{click:t.seek}},[n("div",{ref:"container",staticClass:"vcp-progress"},[n("div",{staticClass:"vcp-progress-loaded",style:{width:t.bufferProgress+"%"}}),n("div",{staticClass:"vcp-progress-played",style:{width:t.progress+"%"}},[n("div",{ref:"thumb",staticClass:"thumb-drag",on:{touchstart:t.startDrag,mousedown:t.startDrag}})])])])},Ut=[],zt={name:"Progress",props:{visible:Boolean},mixins:[xt],data:function(){return{progress:0,bufferProgress:0}},created:function(){var t=this;this.on(R.TIMEUPDATE,(function(){if(!t._dragEl){var e=t.$player.getCurrentTime(),n=t.$player.getDuration();t.progress=(e/n*100).toFixed(2)}})),this.on(R.PROGRESS,(function(){var e=t.$player.getBufferTime(),n=t.$player.getDuration();e>0&&n>0&&(t.bufferProgress=(e/n*100).toFixed(2))})),this.on(R.LOADSTART,(function(){var e=t.$player.getBufferTime(),n=t.$player.getDuration();t.bufferProgress=(e/n*100).toFixed(2)}))},methods:{seek:function(t){var e=nt(t.currentTarget);this.getFullscreen()&&(e.left=0);var n=t.currentTarget.getBoundingClientRect(),r=t.pageX-n.left,i=t.currentTarget.offsetWidth,o=(r/i*100).toFixed(2);this.progress=o;var s=this.$player.getDuration();this.$player.seek(r/i*s)},startDrag:function(t){this.initDrag(t),this.startSeek=!0},initDrag:function(t){t.preventDefault();var e=this;this._dragEl=this.$refs["thumb"];var n=this.$refs["input"].offsetWidth,r=getComputedStyle(this._dragEl,null).marginLeft;r&&(r=parseFloat(r));var i={x:(at?t.touches[0].clientX:t.pageX)-this._dragEl.offsetLeft+r,y:(at?t.touches[0].clientX:t.clientY)-this._dragEl.offsetTop,maxLeft:n};this.getFullscreen()&&(i.x=t.pageX-this._dragEl.offsetLeft);var o=function(t){if(e._dragEl){var r=_t(t,e._dragEl,i);if(r){var o=r.left,s=(o/n*100).toFixed(2);e.progress=s;var a=e.$player.getDuration();e.$player.seek(o/n*a)}}},s=function t(){if(e._dragEl=null,at)return e.$refs["container"].removeEventListener("touchmove",o,!1),void document.removeEventListener("touchend",t,!1);document.removeEventListener("mousemove",o,!1),document.removeEventListener("mouseup",t,!1)};if(at)return e.$refs["container"].addEventListener("touchmove",o,!1),void document.addEventListener("touchend",s,!1);document.addEventListener("mousemove",o,!1),document.addEventListener("mouseup",s,!1)}}},Gt=zt;n("0d22");function Bt(t,e,n,r,i,o,s,a){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=c):i&&(c=a?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}var Yt=Bt(Gt,Pt,Ut,!1,null,null,null),Ft=Yt.exports,$t=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vcp-controls"},[n("div",{staticClass:"playback-control"},[n("play-pause-cntrol"),n("time-span")],1),n("div",{staticClass:"setting-control"},[n("volume-control",{attrs:{muted:t.muted}}),n("picture-in-picture"),n("settings-control"),n("fullscreen-control")],1)])},Ht=[],Vt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue-core-video-player-control"},[t.isPlaying?n("div",{staticClass:"btn-control btn-pause",on:{click:t.pause}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"48",viewBox:"0 0 36 48"}},[n("g",{attrs:{transform:"translate(-950 -398)"}},[n("rect",{attrs:{width:"12",height:"48",transform:"translate(950 398)",fill:"#fff"}}),n("rect",{attrs:{width:"12",height:"48",transform:"translate(974 398)",fill:"#fff"}})])]),n("span",{staticClass:"tips"},[t._v(t._s(t.$t("dashboard.btn.pause")))])]):n("div",{staticClass:"btn-control btn-play",on:{click:t.play}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"41",height:"47",viewBox:"0 0 41 47"}},[n("path",{attrs:{d:"M23.5,0,47,41H0Z",transform:"translate(41) rotate(90)",fill:"#fff"}})]),n("span",{staticClass:"tips"},[t._v(t._s(t.$t("dashboard.btn.play")))])])])},Qt=[],Wt={name:"PlayPauseControl",mixins:[xt],props:{visible:Boolean}},Zt=Wt,Kt=(n("d658"),Bt(Zt,Vt,Qt,!1,null,null,null)),qt=Kt.exports,Jt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue-core-video-player-control timespan"},[n("span",{staticClass:"time-current"},[t._v(t._s(t.currentTime))]),n("span",{staticClass:"time-split"},[t._v(" / ")]),n("span",{staticClass:"time-duration"},[t._v(t._s(t.duration))])])},Xt=[],te={name:"TimeSpan",props:{visible:Boolean},mixins:[xt],data:function(){return{currentTime:"00:00:00",duration:"--:--:--"}},created:function(){var t=this;this.on(R.TIMEUPDATE,(function(){var e=t.$player.getCurrentTime();if(e){t.currentTime=et(e);var n=t.$player.getDuration();n!==t.duration&&(t.duration=et(n))}})),this.on(R.DURATIONCHANGE,(function(){var e=t.$player.getDuration();t.duration=et(e)}))}},ee=te,ne=(n("5311"),Bt(ee,Jt,Xt,!1,null,null,null)),re=ne.exports,ie=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue-core-video-player-control volume-control"},[t.isMuted?t._e():n("div",{staticClass:"btn-control btn-volume",on:{click:t.toggle}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"23.542",height:"23",viewBox:"0 0 23.542 23"}},[n("path",{attrs:{"data-name":"15",fill:"#fff",d:"M0 5.5h7v12H0z"}}),n("path",{attrs:{"data-name":"3",d:"M.5 11.5L12.5 0v23z",fill:"#fff"}}),n("g",{attrs:{"data-name":"12 1",fill:"none",stroke:"#fff","stroke-width":"1.5"}},[n("path",{attrs:{"data-name":"2",d:"M15.787 8.349a2.89 2.89 0 0 1 3.04 3.126 2.763 2.763 0 0 1-3.142 2.833","stroke-width":"1.50021"}}),n("path",{attrs:{"data-name":"3",d:"M16.052 4.807s6.917-.147 6.61 6.796-6.83 6.16-6.83 6.16","stroke-width":"1.50021"}})])])]),t.isMuted?n("div",{staticClass:"btn-control btn-mute",on:{click:t.toggle}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24.485",height:"23",viewBox:"0 0 24.485 23"}},[n("g",{attrs:{fill:"#fff"}},[n("path",{attrs:{"data-name":"矩形 15",d:"M0 5.5h7v12H0z"}}),n("path",{attrs:{"data-name":"多边形 3",d:"M.5 11.5L12.5 0v23z"}}),n("g",{attrs:{"data-name":"组 3"}},[n("path",{attrs:{"data-name":"矩形 39",d:"M23.071 7.257l1.414 1.414-7.07 7.071L16 14.328z"}}),n("path",{attrs:{"data-name":"矩形 40",d:"M16 8.672l1.414-1.414 7.071 7.07-1.414 1.415z"}})])])])]):t._e(),n("div",{staticClass:"btn-control-panel"},[n("div",{staticClass:"progress",on:{click:t.seek}},[n("div",{staticClass:"volume-current",style:{height:t.volume+"%"}},[n("div",{staticClass:"thumb-drag"})])]),n("div",{staticClass:"volume-info"},[t._v(t._s(t.volume)+"%")])])])},oe=[],se={name:"Volume",props:{visible:Boolean,muted:Boolean},mixins:[xt],data:function(){return{panelShow:!1,volume:50,isMuted:this.muted}},methods:{seek:function(t){var e=t.offsetY;"volume-current"===t.target.className&&(e+=t.target.offsetTop);var n=t.currentTarget.offsetHeight,r=1-e/n;this.isMuted&&this.$player.setMuted(!1),this.$player.setVolume(r,!0),this.setRangeValue(r)},setRangeValue:function(t){this.volume=parseInt(100*t)},toggle:function(){this.isMuted=!this.isMuted,this.isMuted?(this.$player.setMuted(!0),this.volume=0):(this.$player.setMuted(!1),this.volume=parseInt(100*this.$player.getVolume()))}}},ae=se,ce=(n("42e9"),Bt(ae,ie,oe,!1,null,null,null)),ue=ce.exports,le=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.disable?t._e():n("div",{staticClass:"vue-core-video-player-control"},[t.fullscreen?t._e():n("div",{staticClass:"btn-control btn-fullscreen",on:{click:t.enterFullscreen}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"20",viewBox:"0 0 28 20"}},[n("g",{attrs:{fill:"#fff"}},[n("g",{attrs:{"data-name":"6 7"}},[n("g",{attrs:{"data-name":"4 1"}},[n("path",{attrs:{"data-name":"7",d:"M16 0h10v2H16z"}}),n("path",{attrs:{"data-name":"8",d:"M26 0h2v6h-2z"}})]),n("g",{attrs:{"data-name":"5 1"}},[n("path",{attrs:{"data-name":"9",d:"M18 18h10v2H18z"}}),n("path",{attrs:{"data-name":"10",d:"M26 14h2v6h-2z"}})])]),n("g",{attrs:{"data-name":"6 8"}},[n("g",{attrs:{"data-name":"4 1"}},[n("path",{attrs:{"data-name":"7",d:"M12 20H2v-2h10z"}}),n("path",{attrs:{"data-name":"8",d:"M2 20H0v-6h2z"}})]),n("g",{attrs:{"data-name":"5 1"}},[n("path",{attrs:{"data-name":"9",d:"M10 2H0V0h10z"}}),n("path",{attrs:{"data-name":"10",d:"M2 6H0V0h2z"}})])])])]),n("div",{staticClass:"tips"},[t._v(t._s(t.$t("dashboard.btn.fullscreen")))])]),t.fullscreen?n("div",{staticClass:"btn-control btn-off-fullscreen",on:{click:t.cancelFullscreen}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"18",viewBox:"0 0 25 18"}},[n("g",{attrs:{fill:"#fff"}},[n("g",{attrs:{"data-name":"6 9"}},[n("g",{attrs:{"data-name":"4 1"}},[n("path",{attrs:{"data-name":"7",d:"M15 5h10v2H15z"}}),n("path",{attrs:{"data-name":"8",d:"M15 0h2v6h-2z"}})]),n("g",{attrs:{"data-name":"5 1"}},[n("path",{attrs:{"data-name":"9",d:"M15 12h10v2H15z"}}),n("path",{attrs:{"data-name":"10",d:"M15 12h2v6h-2z"}})])]),n("g",{attrs:{"data-name":"6 10"}},[n("g",{attrs:{"data-name":"4 1"}},[n("path",{attrs:{"data-name":"7",d:"M10 14H0v-2h10z"}}),n("path",{attrs:{"data-name":"8",d:"M10 18H8v-6h2z"}})]),n("g",{attrs:{"data-name":"5 1"}},[n("path",{attrs:{"data-name":"9",d:"M10 6H0V4h10z"}}),n("path",{attrs:{"data-name":"10",d:"M10 6H8V0h2z"}})])])])]),n("span",{staticClass:"tips"},[t._v(t._s(t.$t("dashboard.btn.exitFullscreen")))])]):t._e()])},fe=[],he={name:"Fullscreen",mixins:[xt],props:{visible:Boolean},data:function(){return{disable:at&&ut}}},de=he,pe=(n("156e"),Bt(de,le,fe,!1,null,null,null)),ge=pe.exports,ve=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue-core-video-player-control settings-control"},[n("div",{staticClass:"btn-control btn-settings",on:{click:t.toggle}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"31.971",height:"31.971",viewBox:"0 0 31.971 31.971"}},[n("g",{attrs:{"data-name":"7",transform:"translate(6.985 6.985)",fill:"none",stroke:"#fff","stroke-width":"5"}},[n("circle",{attrs:{cx:"9",cy:"9",r:"9",stroke:"none"}}),n("circle",{attrs:{cx:"9",cy:"9",r:"6.5"}})]),n("g",{attrs:{"data-name":"15 10",fill:"#fff"}},[n("g",{attrs:{"data-name":"14 1"}},[n("g",{attrs:{"data-name":"13 1"}},[n("path",{attrs:{"data-name":"17",d:"M13.985 3.985h4v3h-4z"}}),n("path",{attrs:{"data-name":"4",d:"M15.985 3.985l3 4h-6z"}})]),n("g",{attrs:{"data-name":"13 2"}},[n("path",{attrs:{"data-name":"17",d:"M17.985 27.985h-4v-3h4z"}}),n("path",{attrs:{"data-name":"4",d:"M15.985 27.985l-3-4h6z"}})])]),n("g",{attrs:{"data-name":"14 2"}},[n("g",{attrs:{"data-name":"13 1"}},[n("path",{attrs:{"data-name":"17",d:"M23.056 6.085l2.829 2.829-2.122 2.12-2.828-2.828z"}}),n("path",{attrs:{"data-name":"4",d:"M24.47 7.5l-.707 4.95-4.242-4.244z"}})]),n("g",{attrs:{"data-name":"13 2"}},[n("path",{attrs:{"data-name":"17",d:"M8.914 25.884l-2.828-2.828 2.12-2.122 2.83 2.829z"}}),n("path",{attrs:{"data-name":"4",d:"M7.5 24.47l.707-4.95 4.243 4.243z"}})])])]),n("g",{attrs:{"data-name":"15 11",fill:"#fff"}},[n("g",{attrs:{"data-name":"14 1"}},[n("g",{attrs:{"data-name":"13 1"}},[n("path",{attrs:{"data-name":"17",d:"M23.056 6.086l2.828 2.828-2.12 2.122-2.83-2.829z"}}),n("path",{attrs:{"data-name":"4",d:"M24.47 7.5l-.707 4.95-4.242-4.243z"}})]),n("g",{attrs:{"data-name":"13 2"}},[n("path",{attrs:{"data-name":"17",d:"M8.914 25.885l-2.828-2.828 2.12-2.122 2.83 2.829z"}}),n("path",{attrs:{"data-name":"4",d:"M7.5 24.47l.707-4.949 4.242 4.243z"}})])]),n("g",{attrs:{"data-name":"14 2"}},[n("g",{attrs:{"data-name":"13 1"}},[n("path",{attrs:{"data-name":"17",d:"M27.985 13.985v4h-3v-4z"}}),n("path",{attrs:{"data-name":"4",d:"M27.985 15.985l-4 3v-6z"}})]),n("g",{attrs:{"data-name":"13 2"}},[n("path",{attrs:{"data-name":"17",d:"M3.985 17.985v-4h3v4z"}}),n("path",{attrs:{"data-name":"4",d:"M3.985 15.985l4-3v6z"}})])])]),n("g",{attrs:{"data-name":"15 12",fill:"#fff"}},[n("g",{attrs:{"data-name":"14 1"}},[n("g",{attrs:{"data-name":"13 1"}},[n("path",{attrs:{"data-name":"17",d:"M27.985 13.985v4h-3v-4z"}}),n("path",{attrs:{"data-name":"4",d:"M27.985 15.985l-4 3v-6z"}})]),n("g",{attrs:{"data-name":"13 2"}},[n("path",{attrs:{"data-name":"17",d:"M3.985 17.985v-4h3v4z"}}),n("path",{attrs:{"data-name":"4",d:"M3.985 15.985l4-3v6z"}})])]),n("g",{attrs:{"data-name":"14 2"}},[n("g",{attrs:{"data-name":"13 1"}},[n("path",{attrs:{"data-name":"17",d:"M25.885 23.056l-2.829 2.829-2.12-2.122 2.828-2.828z"}}),n("path",{attrs:{"data-name":"4",d:"M24.47 24.47l-4.95-.707 4.244-4.242z"}})]),n("g",{attrs:{"data-name":"13 2"}},[n("path",{attrs:{"data-name":"17",d:"M6.086 8.914l2.828-2.828 2.122 2.12-2.829 2.83z"}}),n("path",{attrs:{"data-name":"4",d:"M7.5 7.5l4.95.707-4.243 4.243z"}})])])])])]),n("div",{directives:[{name:"show",rawName:"v-show",value:t.panelShow,expression:"panelShow"}],staticClass:"btn-control-panel",on:{click:t.preventHide}},[n("ul",{directives:[{name:"show",rawName:"v-show",value:t.currentPanel,expression:"currentPanel"}],staticClass:"current-panel"},[n("li",[n("span",{staticClass:"item-name"},[t._v("\n "+t._s(t.$t("dashboard.settings.autoplay"))+"\n ")]),n("div",{staticClass:"item-control"},[n("widgets-switch",{ref:"autoplaySwitch",on:{change:t.changeAutoplaySettings}})],1)]),n("li",[n("span",{staticClass:"item-name"},[t._v(t._s(t.$t("dashboard.settings.loop")))]),n("div",{staticClass:"item-control"},[n("widgets-switch",{ref:"loopSwitch",on:{change:t.changeLoopSettings}})],1)]),n("li",[n("span",{staticClass:"item-name"},[t._v(t._s(t.$t("dashboard.settings.speed")))]),n("div",{staticClass:"item-control",on:{click:t.showSpeedPanel}},[n("span",[t._v(t._s(t.speed)+"x")]),n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"5.963",height:"11.568",viewBox:"0 0 5.963 11.568"}},[n("path",{attrs:{"data-name":"4",d:"M.809.616l3.9 5-3.9 5.368",fill:"none",stroke:"#fff","stroke-width":"2"}})])])]),n("li",{directives:[{name:"show",rawName:"v-show",value:t.medias.length>1,expression:"medias.length > 1"}]},[n("span",{staticClass:"item-name"},[t._v(t._s(t.$t("dashboard.settings.resolution")))]),t.resolution?n("div",{staticClass:"item-control",on:{click:t.showResolutionPanel}},[n("span",[t._v(t._s(t.resolution))]),n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"5.963",height:"11.568",viewBox:"0 0 5.963 11.568"}},[n("path",{attrs:{"data-name":"4",d:"M.809.616l3.9 5-3.9 5.368",fill:"none",stroke:"#fff","stroke-width":"2"}})])]):t._e()])]),n("ul",{directives:[{name:"show",rawName:"v-show",value:t.resolutionListPanel,expression:"resolutionListPanel"}],staticClass:"resolution-list animated fadeInRight"},[n("li",{on:{click:t.backCurrentPanel}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"5.963",height:"11.568",viewBox:"0 0 5.963 11.568"}},[n("path",{attrs:{"data-name":"5",d:"M5.154.616l-3.9 5 3.9 5.368",fill:"none",stroke:"#fff","stroke-width":"2"}})]),t._v("\n "+t._s(t.$t("dashboard.btn.back"))+"\n ")]),t._l(t.medias,(function(e,r){return n("li",{key:r,on:{click:function(n){return t.setResolution(e)}}},[t._v(t._s(e.resolution))])}))],2),t.speedListPanel?n("ul",{staticClass:"speed-list animated fadeInRight"},[n("li",{on:{click:t.backCurrentPanel}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"5.963",height:"11.568",viewBox:"0 0 5.963 11.568"}},[n("path",{attrs:{"data-name":"5",d:"M5.154.616l-3.9 5 3.9 5.368",fill:"none",stroke:"#fff","stroke-width":"2"}})]),t._v("\n "+t._s(t.$t("dashboard.btn.back"))+"\n ")]),n("li",{attrs:{"data-val":"0.5"},on:{click:t.setSpeed}},[t._v("0.5x")]),n("li",{attrs:{"data-val":"1"},on:{click:t.setSpeed}},[t._v("1x")]),n("li",{attrs:{"data-val":"1.25"},on:{click:t.setSpeed}},[t._v("1.25x")]),n("li",{attrs:{"data-val":"1.5"},on:{click:t.setSpeed}},[t._v("1.5x")]),n("li",{attrs:{"data-val":"2"},on:{click:t.setSpeed}},[t._v("2x")])]):t._e()])])},ye=[],me=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vcp-switch",class:{open:t.isOpen},on:{click:t.toggle}})},Ie=[],Me={name:"setting-switch",props:{openStatus:Boolean},data:function(){return{isOpen:!1}},methods:{toggle:function(){this.isOpen=!this.isOpen,this.$emit("change",this.isOpen)},open:function(){this.isOpen=!0}}},be=Me,_e=(n("c428"),Bt(be,me,Ie,!1,null,null,null)),Ae=_e.exports,Ce={name:"Settings",props:{visible:Boolean},mixins:[xt],components:{"widgets-switch":Ae},data:function(){return{autoplay:!1,loop:!1,resolution:"",panelShow:!1,currentPanel:!0,resolutionListPanel:!1,speedListPanel:!1,speed:1,medias:[]}},methods:{toggle:function(t){t&&t.stopPropagation(),this.panelShow=!this.panelShow,this.panelShow?this.$container.classList.add("settings-open"):this.$container.classList.remove("settings-open")},preventHide:function(t){t.stopPropagation()},showResolutionPanel:function(t){this.medias.length<=1||(this.currentPanel=!1,this.resolutionListPanel=!0)},showSpeedPanel:function(t){this.currentPanel=!1,this.speedListPanel=!0},backCurrentPanel:function(){this.currentPanel=!0,this.speedListPanel=!1,this.resolutionListPanel=!1},setResolution:function(t){this.resolution!==t.resolution?(this.$player.setResolution(t.resolution),this.backCurrentPanel(),this.toggle()):this.backCurrentPanel()},setSpeed:function(t){var e=+t.target.dataset["val"];this.speed=e,this.$player.setSpeed(e),this.backCurrentPanel()},changeAutoplaySettings:function(t){this.$player.setConfig("autoplay",t)},changeLoopSettings:function(t){this.$player.setConfig("loop",t)}},mounted:function(){var t=this;this.on(R.SOURCE_UPDATED,(function(){t.medias=t.$player.medias,t.resolution=t.$player.resolution})),this.on(R.LIFECYCLE_INITING,(function(){var e=t.$player.config,n=e.autoplay,r=e.loop;n&&t.$refs["autoplaySwitch"].open(),r&&t.$refs["loopSwitch"].open()})),document.addEventListener("click",(function(){t.panelShow&&(t.panelShow=!1,t.speedListPanel=!1,t.resolutionListPanel=!1,t.$container.classList.remove("settings-open"))}))}},Te=Ce,Ee=(n("aa54"),Bt(Te,ve,ye,!1,null,null,null)),we=Ee.exports,Ne=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.show?n("div",{staticClass:"vue-core-video-player-control",on:{click:t.requestPictureInPicture}},[n("div",{staticClass:"btn-control btn-pip"},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"28",height:"16",viewBox:"0 0 28 16"}},[n("g",{attrs:{"data-name":"6 13"}},[n("g",{attrs:{"data-name":"5 1",fill:"#fff"}},[n("path",{attrs:{"data-name":"9",d:"M18 14h10v2H18z"}}),n("path",{attrs:{"data-name":"10",d:"M26 9h2v6h-2z"}})])]),n("g",{attrs:{"data-name":"6 14",fill:"#fff"}},[n("g",{attrs:{"data-name":"4 1"}},[n("path",{attrs:{"data-name":"7",d:"M12 16H2v-2h10z"}}),n("path",{attrs:{"data-name":"8",d:"M2 16H0V6h2z"}})]),n("path",{attrs:{"data-name":"41",d:"M28 2H0V0h28z"}})])]),n("div",{staticClass:"tips"},[t._v(t._s(t.$t("dashboard.btn.pip")))])])]):t._e()},Se=[],Oe=function(){if("pictureInPictureEnabled"in document)return!0;var t=document.createElement("video");return!(!t.requestPictureInPicture||"function"!==typeof t.requestPictureInPicture)},De={name:"PictureInPicture",mixins:[xt],props:{visible:Boolean},data:function(){return{show:!1}},created:function(){Oe&&(this.show=!0)},methods:{requestPictureInPicture:function(){this.$player.requestPictureInPicture()}}},Re=De,Le=(n("1b6f"),Bt(Re,Ne,Se,!1,null,null,null)),xe=Le.exports,je={name:"Controls",components:{"play-pause-cntrol":qt,"time-span":re,"volume-control":ue,"fullscreen-control":ge,"settings-control":we,"picture-in-picture":xe},props:{visible:Boolean,muted:Boolean}},ke=je,Pe=(n("7fc5"),Bt(ke,$t,Ht,!1,null,null,null)),Ue=Pe.exports,ze={x:null,y:null},Ge={name:"Dashboard",components:{Progress:Ft,Controls:Ue},props:{controls:[Boolean,String],muted:Boolean},data:function(){return{show:!0}},mixins:[xt],methods:{showDashboard:function(t){var e=this;window.clearTimeout(this._hideTimeout),this.show=!0,this.emit(R.UI_DASHBOARD_SHOW),0===t||(this._hideTimeout=setTimeout((function(){e.hideDashboard()}),t||C.dashboardHideDelay))},hideDashboard:function(){this.show=!1,this.emit(R.UI_DASHBOARD_HIDE)},_initAutoMode:function(){var t=this.$refs["dashboard"].parentNode;at?t.addEventListener("touchend",this._onTouchend.bind(this),!0):(t.addEventListener("mousemove",this._onMousemove.bind(this)),t.addEventListener("mouseleave",this._onMouseleave.bind(this)),t.addEventListener("mouseover",this._onMouseover.bind(this),!0)),this.showDashboard(4e3)},_onMousemove:function(t){return t.pageX===ze.x&&t.pageY===ze.y?(ze.x=t.pageX,void(ze.y=t.pageY)):(ze.x=t.pageX,ze.y=t.pageY,bt(this._el,t.target)?this.showDashboard(0):void this.showDashboard())},_onMouseleave:function(){this.showDashboard()},_onMouseover:function(){this.showDashboard(0)},_onTouchend:function(){this.showDashboard()}},mounted:function(){var t=this.controls;t?"fixed"===t?this.show=!0:this._initAutoMode():this.show=!1}},Be=Ge,Ye=(n("cc1d"),Bt(Be,jt,kt,!1,null,null,null)),Fe=Ye.exports,$e=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],ref:"dashboard",staticClass:"vcp-m-dashboard",attrs:{autoplay:""}},[n("MobileControls",{attrs:{muted:t.muted}}),n("Progress")],1)},He=[],Ve=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vcp-controls"},[n("div",{staticClass:"playback-control"},[n("time-span")],1),n("div",{staticClass:"setting-control"},[n("picture-in-picture"),n("settings-control"),n("fullscreen-control")],1)])},Qe=[],We={name:"Controls",components:{"time-span":re,"fullscreen-control":ge,"settings-control":we,"picture-in-picture":xe},props:{visible:Boolean,muted:Boolean}},Ze=We,Ke=(n("4cc6"),Bt(Ze,Ve,Qe,!1,null,null,null)),qe=Ke.exports,Je={x:null,y:null},Xe={name:"MobileDashboard",components:{Progress:Ft,MobileControls:qe},props:{controls:[Boolean,String],muted:Boolean},data:function(){return{show:!0}},mixins:[xt],methods:{showDashboard:function(t){var e=this;window.clearTimeout(this._hideTimeout),this.show=!0,this.emit(R.UI_DASHBOARD_SHOW),0===t||(this._hideTimeout=setTimeout((function(){e.hideDashboard()}),t||C.dashboardHideDelay))},hideDashboard:function(){this.show=!1,this.emit(R.UI_DASHBOARD_HIDE)},_initAutoMode:function(){var t=this.$refs["dashboard"].parentNode;at?t.addEventListener("touchend",this._onTouchend.bind(this),!0):(t.addEventListener("mousemove",this._onMousemove.bind(this)),t.addEventListener("mouseleave",this._onMouseleave.bind(this)),t.addEventListener("mouseover",this._onMouseover.bind(this),!0)),this.showDashboard(4e3)},_onMousemove:function(t){return t.pageX===Je.x&&t.pageY===Je.y?(Je.x=t.pageX,void(Je.y=t.pageY)):(Je.x=t.pageX,Je.y=t.pageY,bt(this._el,t.target)?this.showDashboard(0):void this.showDashboard())},_onMouseleave:function(){this.showDashboard()},_onMouseover:function(){this.showDashboard(0)},_onTouchend:function(){this.showDashboard()}},mounted:function(){var t=this.controls;t?"fixed"===t?this.show=!0:this._initAutoMode():this.show=!1}},tn=Xe,en=(n("a3e9"),Bt(tn,$e,He,!1,null,null,null)),nn=en.exports,rn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"vue-core-video-player-layers"},[n("cover-layer"),n("logo-layer"),n("title-layer"),n("play-pause-layer"),n("loading-layer"),n("error-layer")],1)},on=[],sn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.show&&t.title.length,expression:"show && title.length"}],staticClass:"vcp-layer title-layer"},[n("div",{staticClass:"video-title"},[t._v(t._s(t.title))])])},an=[],cn={name:"CoverLayer",mixins:[xt],data:function(){return{title:"",show:!1}},mounted:function(){var t=this;this.on(R.LIFECYCLE_INITING,(function(){var e=t.$player.config.title;e&&(t.title=e)})),this.on(R.UI_DASHBOARD_SHOW,(function(){t.show=!0})),this.on(R.UI_DASHBOARD_HIDE,(function(){t.show=!1}))}},un=cn,ln=(n("b72f"),Bt(un,sn,an,!1,null,null,null)),fn=ln.exports,hn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.logo?n("div",{staticClass:"vcp-layer logo-layer"},[n("div",{staticClass:"logo-wrap"},[n("img",{attrs:{alt:"logo",src:t.logo}})])]):t._e()},dn=[],pn={name:"CoverLayer",mixins:[xt],props:{visible:Boolean},data:function(){return{logo:""}},mounted:function(){var t=this;this.on(R.LIFECYCLE_INITING,(function(){var e=t.$player.config.logo;e&&(t.logo=e)}))}},gn=pn,vn=(n("56fb"),Bt(gn,hn,dn,!1,null,null,null)),yn=vn.exports,mn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"vcp-layer play-pause-layer"},[t.isPlaying?t._e():n("a",{staticClass:"btn-control btn-play",attrs:{href:"javascript:;"},on:{click:t.play}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"31",height:"35",viewBox:"0 0 41 47"}},[n("path",{attrs:{d:"M23.5,0,47,41H0Z",transform:"translate(41) rotate(90)",fill:"#ff6060"}})])]),t.isPlaying?n("a",{staticClass:"btn-control btn-pause",attrs:{href:"javascript:;"},on:{click:t.pause}},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"27",height:"36",viewBox:"0 0 36 48"}},[n("g",{attrs:{transform:"translate(-950 -398)"}},[n("rect",{attrs:{width:"12",height:"48",transform:"translate(950 398)",fill:"#ff6060"}}),n("rect",{attrs:{width:"12",height:"48",transform:"translate(974 398)",fill:"#ff6060"}})])])]):t._e()])},In=[],Mn={name:"PlayPauseLayer",mixins:[xt],props:{visible:Boolean},data:function(){return{show:at}},mounted:function(){var t=this;this.on(R.UI_DASHBOARD_SHOW,(function(){t.show=!0})),this.on(R.UI_DASHBOARD_HIDE,(function(){t.show=!1}))}},bn=Mn,_n=(n("4447"),Bt(bn,mn,In,!1,null,null,null)),An=_n.exports,Cn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"vcp-layer cover-layer"},[n("img",{attrs:{alt:"video cover",src:t.cover}})])},Tn=[],En={name:"CoverLayer",mixins:[xt],props:{visible:Boolean},data:function(){return{cover:"data:image/gif;base64,R0lGODlhAgACAIAAADMzMwAAACH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNi4wLWMwMDIgNzkuMTY0MzUyLCAyMDIwLzAxLzMwLTE1OjUwOjM4ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgMjEuMSAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoyMEQ4MDk3RDgzRTUxMUVBOEFBNkNFRTA4ODA0RDY3OCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDoyMEQ4MDk3RTgzRTUxMUVBOEFBNkNFRTA4ODA0RDY3OCI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjIwRDgwOTdCODNFNTExRUE4QUE2Q0VFMDg4MDRENjc4IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjIwRDgwOTdDODNFNTExRUE4QUE2Q0VFMDg4MDRENjc4Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnIx8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCPjo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdWVVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4dHBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEAAAAAAAsAAAAAAIAAgAAAgKEUQA7",show:!1}},mounted:function(){var t=this;this.on(R.LIFECYCLE_INITING,(function(){var e=t.$player.config.cover;e&&(t.cover=e)})),this.on(R.ERROR_AUTO_PLAY,(function(){t.show=!0})),this.on(R.PLAY,(function(){t.show=!1}))}},wn=En,Nn=(n("9983"),Bt(wn,Cn,Tn,!1,null,null,null)),Sn=Nn.exports,On=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"vcp-layer loading-layer"},[n("div",{staticClass:"loading-wrap"},[n("div",{staticClass:"h5-layer-loading"},[n("svg",{staticClass:"spinner",attrs:{width:"100%",height:"100%",viewBox:"0 0 80 80",xmlns:"http://www.w3.org/2000/svg"}},[n("defs",[n("linearGradient",{attrs:{id:"grad",gradientUnits:"objectBoundingBox",gradientTransform:"rotate(135 0.5 0.5)"}},[n("stop",{attrs:{offset:"0%","stop-color":"#ff6060"}}),n("stop",{attrs:{offset:"100%","stop-color":"#fa3b3b"}})],1)],1),n("circle",{staticClass:"path",attrs:{stroke:"url(#grad)","stroke-width":"10",fill:"none","stroke-linecap":"round",cx:"40",cy:"40",r:"30"}})])]),n("p",[t._v(t._s(t.$t("layers.loading.msg")))])])])},Dn=[],Rn=600,Ln={name:"LoadingLayer",mixins:[xt],data:function(){return{show:!1}},methods:{showLoading:function(t){var e=this;t?this.show=!0:(window.clearTimeout(this._timeout),this._timeout=setTimeout((function(){e.show=!0}),Rn))},hideLoading:function(){window.clearTimeout(this._timeout),this.show=!1}},created:function(){var t=this;this.on([R.CANPLAY,R.CANPLAYTHROUGH,R.PLAY,R.LOADEDMETADATA,R.SEEKED,R.ERROR],(function(){t.hideLoading()})),this.on([R.SEEKING,R.STALLED,R.LOADSTART],(function(e){t.showLoading()})),this.on(["playing"],(function(){t.hideLoading()}))}},xn=Ln,jn=(n("b1ba"),Bt(xn,On,Dn,!1,null,null,null)),kn=jn.exports,Pn=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"vcp-layer error-layer"},[n("div",{staticClass:"error-icon"},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"120",height:"120",viewBox:"0 0 200 200"}},[n("g",{attrs:{transform:"translate(-963 -1663)"}},[n("circle",{attrs:{"data-name":"11",cx:"100",cy:"100",r:"100",transform:"translate(963 1663)",fill:"#ff5e5c"}}),n("g",{attrs:{"data-name":"46",transform:"translate(1006 1727)",fill:"#fff",stroke:"#fff","stroke-width":"3"}},[n("rect",{attrs:{width:"120",height:"73",rx:"2",stroke:"none"}}),n("rect",{attrs:{x:"1.5",y:"1.5",width:"117",height:"70",rx:".5",fill:"none"}})]),n("g",{attrs:{"data-name":"12",transform:"translate(1108 1743)",fill:"#fff",stroke:"#ff5a52","stroke-width":"2"}},[n("circle",{attrs:{cx:"6",cy:"6",r:"6",stroke:"none"}}),n("circle",{attrs:{cx:"6",cy:"6",r:"5",fill:"none"}})]),n("path",{attrs:{"data-name":"1",fill:"none",stroke:"#fff","stroke-width":"3",d:"M1057.5 1728.5l30-22"}}),n("path",{attrs:{"data-name":"2",fill:"none",stroke:"#fff","stroke-width":"3",d:"M1036.5 1697.5l22 30"}}),n("path",{attrs:{"data-name":"48",d:"M1018 1737h80a4 4 0 0 1 4 4v45a5 5 0 0 1-5 5h-78a5 5 0 0 1-5-5v-45a4 4 0 0 1 4-4z",fill:"#2785f2"}}),n("g",{attrs:{"data-name":"4",fill:"#ff584c"}},[n("path",{attrs:{"data-name":"49",d:"M1108 1757h3v2h-3z"}}),n("path",{attrs:{"data-name":"50",d:"M1113 1757h3v2h-3z"}}),n("path",{attrs:{"data-name":"51",d:"M1118 1757h3v2h-3z"}})]),n("g",{attrs:{"data-name":"5",fill:"#ff584c"}},[n("path",{attrs:{"data-name":"49",d:"M1108 1760h3v2h-3z"}}),n("path",{attrs:{"data-name":"50",d:"M1113 1760h3v2h-3z"}}),n("path",{attrs:{"data-name":"51",d:"M1118 1760h3v2h-3z"}})])])])]),n("div",{staticClass:"error-msg-wrap"},[n("h2",[t._v(t._s(t.$t("layers.error.title")))]),n("p",{staticClass:"error-msg"},[t._v(t._s(t.errMsg))])])])},Un=[],zn={name:"CoverLayer",mixins:[xt],props:{dsiable:Boolean},data:function(){return{errMsg:"",show:!1}},mounted:function(){var t=this;this.on(R.ERROR,(function(e){console.log(e),t.show=!0;var n="layers.error."+e.code;t.errMsg=g.t(n,"")}))}},Gn=zn,Bn=(n("f64c"),Bt(Gn,Pn,Un,!1,null,null,null)),Yn=Bn.exports,Fn={name:"Layers",components:{PlayPauseLayer:An,CoverLayer:Sn,LogoLayer:yn,TitleLayer:fn,LoadingLayer:kn,ErrorLayer:Yn},props:{visible:Boolean}},$n=Fn,Hn=(n("2c1a"),Bt($n,rn,on,!1,null,null,null)),Vn=Hn.exports;function Qn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Wn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Qn(n,!0).forEach((function(e){M(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Qn(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Zn={name:"VueCoreVideoPlayer",mixins:[xt],components:{Dashboard:Fe,MobileDashboard:nn,Layers:Vn},props:{src:[String,Array],autoplay:{type:Boolean,default:!0},loop:{type:Boolean,default:!1},playsinline:{type:Boolean,default:!0},title:String,cover:String,logo:String,muted:{type:Boolean,default:!1},controls:{type:[String,Boolean],default:!0},lang:{type:[String,Object],default:"en"},core:{type:Function},viewCore:{type:Array,default:function(){return[]}}},data:function(){return{isMobile:at}},computed:{source:function(){var t=this.src;if(!t)return"";var e,n=this.resolution||C.resolution,r=pt(t);return r.forEach((function(t){t.resolution===n&&(e=t.src)})),e||("object"===u(r[0])&&r[0].src?e=r[0].src:"string"===typeof r[0]&&(e=r[0])),this.$player&&this.$player.setSource(t),e}},mounted:function(){var t=this;this.$player=this.videoCore=St(Wn({},this.$props,{videoEl:this.$refs["vcp-video"],el:this.$refs["vcp-el"],eventEmitter:{on:this.on,emit:this.emit,off:this.off}})),Object.values(R).forEach((function(e){t.$player.on(e,(function(n){"function"===typeof t.$listeners[e]&&t.$listeners[e](n)}))})),this._coreID=this.videoCore.id,this.emit(R.LIFECYCLE_INITING,this.$player);try{this.viewCore.map((function(e){"function"===typeof e&&e(t.$player,t.$player.config)}))}catch(e){console.error(e)}},beforeDestroy:function(){this.$player.destroy()}},Kn=Zn,qn=(n("bead"),Bt(Kn,v,y,!1,null,null,null)),Jn=qn.exports,Xn={install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};g.setLocale(e.lang),t.prototype.$t=function(t){return g.t(t)},t.component("vue-core-video-player",Jn)}},tr=Xn;n.d(e,"BaseVideoCore",(function(){return wt})),n.d(e,"EVENTS",(function(){return R}));e["default"]=tr},ff1c:function(t,e,n){var r=n("7335");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("499e").default;i("4cfaecc1",r,!0,{sourceMap:!1,shadowMode:!1})}})},4328:function(t,e,n){"use strict";var r=n("4127"),i=n("9e6a"),o=n("b313");t.exports={formats:o,parse:i,stringify:r}},4362:function(t,e,n){e.nextTick=function(t){var e=Array.prototype.slice.call(arguments);e.shift(),setTimeout((function(){t.apply(null,e)}),0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(t){throw new Error("No such module. (Possibly not yet loaded)")},function(){var t,r="/";e.cwd=function(){return r},e.chdir=function(e){t||(t=n("df7c")),r=t.resolve(e,r)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},4379:function(t,e,n){var r=n("4a59");t.exports=function(t,e){var n=[];return r(t,!1,n.push,n,e),n}},"43fc":function(t,e,n){"use strict";var r=n("63b6"),i=n("656e"),o=n("4439");r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},4439:function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(e){return{e:!0,v:e}}}},"44b8":function(t,e,n){var r=n("23c6"),i=n("4379");t.exports=function(t){return function(){if(r(this)!=t)throw TypeError(t+"#toJSON isn't generic");return i(this)}}},4504:function(t,e,n){"use strict";var r=n("5ca1"),i=n("4bf8"),o=n("d8e8"),s=n("86cc");n("9e1e")&&r(r.P+n("c5b4"),"Object",{__defineGetter__:function(t,e){s.f(i(this),t,{get:o(e),enumerable:!0,configurable:!0})}})},"454f":function(t,e,n){n("46a7");var r=n("584a").Object;t.exports=function(t,e,n){return r.defineProperty(t,e,n)}},"456d":function(t,e,n){var r=n("4bf8"),i=n("0d58");n("5eda")("keys",(function(){return function(t){return i(r(t))}}))},4588:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},"45f2":function(t,e,n){var r=n("d9f6").f,i=n("07e3"),o=n("5168")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{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}}},"467f":function(t,e,n){"use strict";var r=n("2d83");t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},"46a7":function(t,e,n){var r=n("63b6");r(r.S+r.F*!n("8e60"),"Object",{defineProperty:n("d9f6").f})},4704:function(t,e,n){var r=n("5ca1");r(r.P+r.R,"Map",{toJSON:n("44b8")("Map")})},4795:function(t,e,n){var r=n("7726"),i=n("5ca1"),o=n("a25f"),s=[].slice,a=/MSIE .\./.test(o),c=function(t){return function(e,n){var r=arguments.length>2,i=!!r&&s.call(arguments,2);return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,i)}:e,n)}};i(i.G+i.B+i.F*a,{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},"47ee":function(t,e,n){var r=n("c3a1"),i=n("9aa9"),o=n("355d");t.exports=function(t){var e=r(t),n=i.f;if(n){var s,a=n(t),c=o.f,u=0;while(a.length>u)c.call(t,s=a[u++])&&e.push(s)}return e}},"481b":function(t,e){t.exports={}},"48c0":function(t,e,n){"use strict";n("386b")("bold",(function(t){return function(){return t(this,"b","","")}}))},"48f4":function(t,e,n){"use strict";function r(t){return"NavigationDuplicated"===t.name||t.message&&-1!==t.message.indexOf("redundant navigation")}function i(t,e){var n=e.to,i=e.url,o=e.replace;if(n&&t){var s=t[o?"replace":"push"](n);s&&s.catch&&s.catch((function(t){if(t&&!r(t))throw t}))}else i&&(o?location.replace(i):location.href=i)}function o(t){i(t.parent&&t.parent.$router,t.props)}n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"c",(function(){return s}));var s={url:String,replace:Boolean,to:[String,Object]}},"48f8":function(t,e,n){"use strict";var r=n("5ca1"),i=n("7b23");r(r.P+r.F*!n("2f21")([].reduceRight,!0),"Array",{reduceRight:function(t){return i(this,t,arguments.length,arguments[1],!0)}})},4917:function(t,e,n){"use strict";var r=n("cb7c"),i=n("9def"),o=n("0390"),s=n("5f1b");n("214f")("match",1,(function(t,e,n,a){return[function(n){var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=a(n,t,this);if(e.done)return e.value;var c=r(t),u=String(this);if(!c.global)return s(c,u);var l=c.unicode;c.lastIndex=0;var f,h=[],d=0;while(null!==(f=s(c,u))){var p=String(f[0]);h[d]=p,""===p&&(c.lastIndex=o(u,i(c.lastIndex),l)),d++}return 0===d?null:h}]}))},"4a59":function(t,e,n){var r=n("9b43"),i=n("1fa8"),o=n("33a4"),s=n("cb7c"),a=n("9def"),c=n("27ee"),u={},l={};e=t.exports=function(t,e,n,f,h){var d,p,g,v,y=h?function(){return t}:c(t),m=r(n,f,e?2:1),I=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(d=a(t.length);d>I;I++)if(v=e?m(s(p=t[I])[0],p[1]):m(t[I]),v===u||v===l)return v}else for(g=y.call(t);!(p=g.next()).done;)if(v=i(g,m,p.value,e),v===u||v===l)return v};e.BREAK=u,e.RETURN=l},"4aa6":function(t,e,n){t.exports=n("dc62")},"4bf8":function(t,e,n){var r=n("be13");t.exports=function(t){return Object(r(t))}},"4c95":function(t,e,n){"use strict";var r=n("e53d"),i=n("584a"),o=n("d9f6"),s=n("8e60"),a=n("5168")("species");t.exports=function(t){var e="function"==typeof i[t]?i[t]:r[t];s&&e&&!e[a]&&o.f(e,a,{configurable:!0,get:function(){return this}})}},"4d16":function(t,e,n){t.exports=n("25b0")},"4dda":function(t,e,n){n("ec30")("Float64",8,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},"4e2b":function(t,e,n){"use strict";var r=n("4aa6"),i=n.n(r),o=n("85f2"),s=n.n(o),a=n("4d16"),c=n.n(a);function u(t,e){return u=c.a?c.a.bind():function(t,e){return t.__proto__=e,t},u(t,e)}function l(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=i()(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),s()(t,"prototype",{writable:!1}),e&&u(t,e)}n.d(e,"a",(function(){return l}))},"4ee1":function(t,e,n){var r=n("5168")("iterator"),i=!1;try{var o=[7][r]();o["return"]=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(s){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},t(o)}catch(s){}return n}},"4f37":function(t,e,n){"use strict";n("aa77")("trim",(function(t){return function(){return t(this,3)}}))},"4f7f":function(t,e,n){"use strict";var r=n("c26b"),i=n("b39a"),o="Set";t.exports=n("e0b8")(o,(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(i(this,o),t=0===t?0:t,t)}},r)},"504c":function(t,e,n){var r=n("9e1e"),i=n("0d58"),o=n("6821"),s=n("52a7").f;t.exports=function(t){return function(e){var n,a=o(e),c=i(a),u=c.length,l=0,f=[];while(u>l)n=c[l++],r&&!s.call(a,n)||f.push(t?[n,a[n]]:a[n]);return f}}},"50ed":function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},5147:function(t,e,n){var r=n("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(i){}}return!0}},5156:function(t,e,n){"use strict";var r="undefined"!==typeof Symbol&&Symbol,i=n("1696");t.exports=function(){return"function"===typeof r&&("function"===typeof Symbol&&("symbol"===typeof r("foo")&&("symbol"===typeof Symbol("bar")&&i())))}},5168:function(t,e,n){var r=n("dbdb")("wks"),i=n("62a0"),o=n("e53d").Symbol,s="function"==typeof o,a=t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))};a.store=r},"51b6":function(t,e,n){n("a3c3"),t.exports=n("584a").Object.assign},"520a":function(t,e,n){"use strict";var r=n("0bfb"),i=RegExp.prototype.exec,o=String.prototype.replace,s=i,a="lastIndex",c=function(){var t=/a/,e=/b*/g;return i.call(t,"a"),i.call(e,"a"),0!==t[a]||0!==e[a]}(),u=void 0!==/()??/.exec("")[1],l=c||u;l&&(s=function(t){var e,n,s,l,f=this;return u&&(n=new RegExp("^"+f.source+"$(?!\\s)",r.call(f))),c&&(e=f[a]),s=i.call(f,t),c&&s&&(f[a]=f.global?s.index+s[0].length:e),u&&s&&s.length>1&&o.call(s[0],n,(function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(s[l]=void 0)})),s}),t.exports=s},5270:function(t,e,n){"use strict";var r=n("c532"),i=n("c401"),o=n("2e67"),s=n("2444"),a=n("d925"),c=n("e683");function u(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){u(t),t.baseURL&&!a(t.url)&&(t.url=c(t.baseURL,t.url)),t.headers=t.headers||{},t.data=i(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]}));var e=t.adapter||s.adapter;return e(t).then((function(e){return u(t),e.data=i(e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(u(t),e&&e.response&&(e.response.data=i(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},"52a7":function(t,e){e.f={}.propertyIsEnumerable},"52f6":function(t,e,n){"use strict";(function(e){
- /*!
- * shallow-clone <https://github.com/jonschlinkert/shallow-clone>
- *
- * Copyright (c) 2015-present, Jon Schlinkert.
- * Released under the MIT License.
- */
- const r=Symbol.prototype.valueOf,i=n("ef5d");function o(t,e){switch(i(t)){case"array":return t.slice();case"object":return Object.assign({},t);case"date":return new t.constructor(Number(t));case"map":return new Map(t);case"set":return new Set(t);case"buffer":return u(t);case"symbol":return l(t);case"arraybuffer":return a(t);case"float32array":case"float64array":case"int16array":case"int32array":case"int8array":case"uint16array":case"uint32array":case"uint8clampedarray":case"uint8array":return c(t);case"regexp":return s(t);case"error":return Object.create(t);default:return t}}function s(t){const e=void 0!==t.flags?t.flags:/\w+$/.exec(t)||void 0,n=new t.constructor(t.source,e);return n.lastIndex=t.lastIndex,n}function a(t){const e=new t.constructor(t.byteLength);return new Uint8Array(e).set(new Uint8Array(t)),e}function c(t,e){return new t.constructor(t.buffer,t.byteOffset,t.length)}function u(t){const n=t.length,r=e.allocUnsafe?e.allocUnsafe(n):e.from(n);return t.copy(r),r}function l(t){return r?Object(r.call(t)):{}}t.exports=o}).call(this,n("b639").Buffer)},"536b":function(t,e,n){var r=n("5ca1"),i=Math.asinh;function o(t){return isFinite(t=+t)&&0!=t?t<0?-o(-t):Math.log(t+Math.sqrt(t*t+1)):t}r(r.S+r.F*!(i&&1/i(0)>0),"Math",{asinh:o})},"53e2":function(t,e,n){var r=n("07e3"),i=n("241e"),o=n("5559")("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},5402:function(t,e,n){"use strict";var r=n("00ce"),i=n("545e"),o=n("2714"),s=r("%TypeError%"),a=r("%WeakMap%",!0),c=r("%Map%",!0),u=i("WeakMap.prototype.get",!0),l=i("WeakMap.prototype.set",!0),f=i("WeakMap.prototype.has",!0),h=i("Map.prototype.get",!0),d=i("Map.prototype.set",!0),p=i("Map.prototype.has",!0),g=function(t,e){for(var n,r=t;null!==(n=r.next);r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n},v=function(t,e){var n=g(t,e);return n&&n.value},y=function(t,e,n){var r=g(t,e);r?r.value=n:t.next={key:e,next:t.next,value:n}},m=function(t,e){return!!g(t,e)};t.exports=function(){var t,e,n,r={assert:function(t){if(!r.has(t))throw new s("Side channel does not contain "+o(t))},get:function(r){if(a&&r&&("object"===typeof r||"function"===typeof r)){if(t)return u(t,r)}else if(c){if(e)return h(e,r)}else if(n)return v(n,r)},has:function(r){if(a&&r&&("object"===typeof r||"function"===typeof r)){if(t)return f(t,r)}else if(c){if(e)return p(e,r)}else if(n)return m(n,r);return!1},set:function(r,i){a&&r&&("object"===typeof r||"function"===typeof r)?(t||(t=new a),l(t,r,i)):c?(e||(e=new c),d(e,r,i)):(n||(n={key:{},next:null}),y(n,r,i))}};return r}},"543e":function(t,e,n){"use strict";var r=n("2638"),i=n.n(r),o=n("d282"),s=n("ea8e"),a=n("ba31"),c=Object(o["a"])("loading"),u=c[0],l=c[1];function f(t,e){if("spinner"===e.type){for(var n=[],r=0;r<12;r++)n.push(t("i"));return n}return t("svg",{class:l("circular"),attrs:{viewBox:"25 25 50 50"}},[t("circle",{attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})])}function h(t,e,n){if(n.default){var r,i={fontSize:Object(s["a"])(e.textSize),color:null!=(r=e.textColor)?r:e.color};return t("span",{class:l("text"),style:i},[n.default()])}}function d(t,e,n,r){var o=e.color,c=e.size,u=e.type,d={color:o};if(c){var p=Object(s["a"])(c);d.width=p,d.height=p}return t("div",i()([{class:l([u,{vertical:e.vertical}])},Object(a["b"])(r,!0)]),[t("span",{class:l("spinner",u),style:d},[f(t,e)]),h(t,e,n)])}d.props={color:String,size:[Number,String],vertical:Boolean,textSize:[Number,String],textColor:String,type:{type:String,default:"circular"}},e["a"]=u(d)},"545e":function(t,e,n){"use strict";var r=n("00ce"),i=n("3eb1"),o=i(r("String.prototype.indexOf"));t.exports=function(t,e){var n=r(t,!!e);return"function"===typeof n&&o(t,".prototype.")>-1?i(n):n}},"549b":function(t,e,n){"use strict";var r=n("d864"),i=n("63b6"),o=n("241e"),s=n("b0dc"),a=n("3702"),c=n("b447"),u=n("20fd"),l=n("7cd6");i(i.S+i.F*!n("4ee1")((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,i,f,h=o(t),d="function"==typeof this?this:Array,p=arguments.length,g=p>1?arguments[1]:void 0,v=void 0!==g,y=0,m=l(h);if(v&&(g=r(g,p>2?arguments[2]:void 0,2)),void 0==m||d==Array&&a(m))for(e=c(h.length),n=new d(e);e>y;y++)u(n,y,v?g(h[y],y):h[y]);else for(f=m.call(h),n=new d;!(i=f.next()).done;y++)u(n,y,v?s(f,g,[i.value,y],!0):i.value);return n.length=y,n}})},"54a8":function(t,e,n){"use strict";var r=n("5ca1"),i=n("79e5"),o=n("bef9"),s=1..toPrecision;r(r.P+r.F*(i((function(){return"1"!==s.call(1,void 0)}))||!i((function(){s.call({})}))),"Number",{toPrecision:function(t){var e=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?s.call(e):s.call(e,t)}})},"551c":function(t,e,n){"use strict";var r,i,o,s,a=n("2d00"),c=n("7726"),u=n("9b43"),l=n("23c6"),f=n("5ca1"),h=n("d3f4"),d=n("d8e8"),p=n("f605"),g=n("4a59"),v=n("ebd6"),y=n("1991").set,m=n("8079")(),I=n("a5b8"),M=n("9c80"),b=n("a25f"),_=n("bcaa"),A="Promise",C=c.TypeError,T=c.process,E=T&&T.versions,w=E&&E.v8||"",N=c[A],S="process"==l(T),O=function(){},D=i=I.f,R=!!function(){try{var t=N.resolve(1),e=(t.constructor={})[n("2b4c")("species")]=function(t){t(O,O)};return(S||"function"==typeof PromiseRejectionEvent)&&t.then(O)instanceof e&&0!==w.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(r){}}(),L=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},x=function(t,e){if(!t._n){t._n=!0;var n=t._c;m((function(){var r=t._v,i=1==t._s,o=0,s=function(e){var n,o,s,a=i?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{a?(i||(2==t._h&&P(t),t._h=1),!0===a?n=r:(l&&l.enter(),n=a(r),l&&(l.exit(),s=!0)),n===e.promise?u(C("Promise-chain cycle")):(o=L(n))?o.call(n,c,u):c(n)):u(r)}catch(f){l&&!s&&l.exit(),u(f)}};while(n.length>o)s(n[o++]);t._c=[],t._n=!1,e&&!t._h&&j(t)}))}},j=function(t){y.call(c,(function(){var e,n,r,i=t._v,o=k(t);if(o&&(e=M((function(){S?T.emit("unhandledRejection",i,t):(n=c.onunhandledrejection)?n({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)})),t._h=S||k(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},k=function(t){return 1!==t._h&&0===(t._a||t._c).length},P=function(t){y.call(c,(function(){var e;S?T.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},U=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),x(e,!0))},z=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw C("Promise can't be resolved itself");(e=L(t))?m((function(){var r={_w:n,_d:!1};try{e.call(t,u(z,r,1),u(U,r,1))}catch(i){U.call(r,i)}})):(n._v=t,n._s=1,x(n,!1))}catch(r){U.call({_w:n,_d:!1},r)}}};R||(N=function(t){p(this,N,A,"_h"),d(t),r.call(this);try{t(u(z,this,1),u(U,this,1))}catch(e){U.call(this,e)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n("dcbc")(N.prototype,{then:function(t,e){var n=D(v(this,N));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=S?T.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&x(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=u(z,t,1),this.reject=u(U,t,1)},I.f=D=function(t){return t===N||t===s?new o(t):i(t)}),f(f.G+f.W+f.F*!R,{Promise:N}),n("7f20")(N,A),n("7a56")(A),s=n("8378")[A],f(f.S+f.F*!R,A,{reject:function(t){var e=D(this),n=e.reject;return n(t),e.promise}}),f(f.S+f.F*(a||!R),A,{resolve:function(t){return _(a&&this===s?N:this,t)}}),f(f.S+f.F*!(R&&n("5cc5")((function(t){N.all(t)["catch"](O)}))),A,{all:function(t){var e=this,n=D(e),r=n.resolve,i=n.reject,o=M((function(){var n=[],o=0,s=1;g(t,!1,(function(t){var a=o++,c=!1;n.push(void 0),s++,e.resolve(t).then((function(t){c||(c=!0,n[a]=t,--s||r(n))}),i)})),--s||r(n)}));return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=D(e),r=n.reject,i=M((function(){g(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},5537:function(t,e,n){var r=n("8378"),i=n("7726"),o="__core-js_shared__",s=i[o]||(i[o]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},5559:function(t,e,n){var r=n("dbdb")("keys"),i=n("62a0");t.exports=function(t){return r[t]||(r[t]=i(t))}},"55dd":function(t,e,n){"use strict";var r=n("5ca1"),i=n("d8e8"),o=n("4bf8"),s=n("79e5"),a=[].sort,c=[1,2,3];r(r.P+r.F*(s((function(){c.sort(void 0)}))||!s((function(){c.sort(null)}))||!n("2f21")(a)),"Array",{sort:function(t){return void 0===t?a.call(o(this)):a.call(o(this),i(t))}})},5695:function(t,e,n){var r=n("5ca1"),i=n("77f1"),o=String.fromCharCode,s=String.fromCodePoint;r(r.S+r.F*(!!s&&1!=s.length),"String",{fromCodePoint:function(t){var e,n=[],r=arguments.length,s=0;while(r>s){if(e=+arguments[s++],i(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},"57e7":function(t,e,n){"use strict";var r=n("5ca1"),i=n("c366")(!1),o=[].indexOf,s=!!o&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(s||!n("2f21")(o)),"Array",{indexOf:function(t){return s?o.apply(this,arguments)||0:i(this,t,arguments[1])}})},"57f0":function(t,e,n){var r=n("d3f4");n("5eda")("isSealed",(function(t){return function(e){return!r(e)||!!t&&t(e)}}))},"584a":function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},"58b2":function(t,e,n){var r=n("5ca1");r(r.S+r.F*!n("9e1e"),"Object",{defineProperties:n("1495")})},"58e6":function(t,e,n){"use strict";var r=n("d282"),i=n("1325"),o=n("a8c1"),s=n("3875"),a=n("543e"),c=Object(r["a"])("pull-refresh"),u=c[0],l=c[1],f=c[2],h=50,d=["pulling","loosing","success"];e["a"]=u({mixins:[s["a"]],props:{disabled:Boolean,successText:String,pullingText:String,loosingText:String,loadingText:String,pullDistance:[Number,String],value:{type:Boolean,required:!0},successDuration:{type:[Number,String],default:500},animationDuration:{type:[Number,String],default:300},headHeight:{type:[Number,String],default:h}},data:function(){return{status:"normal",distance:0,duration:0}},computed:{touchable:function(){return"loading"!==this.status&&"success"!==this.status&&!this.disabled},headStyle:function(){if(this.headHeight!==h)return{height:this.headHeight+"px"}}},watch:{value:function(t){this.duration=this.animationDuration,t?this.setStatus(+this.headHeight,!0):this.slots("success")||this.successText?this.showSuccessTip():this.setStatus(0,!1)}},mounted:function(){this.bindTouchEvent(this.$refs.track),this.scrollEl=Object(o["c"])(this.$el)},methods:{checkPullStart:function(t){this.ceiling=0===Object(o["b"])(this.scrollEl),this.ceiling&&(this.duration=0,this.touchStart(t))},onTouchStart:function(t){this.touchable&&this.checkPullStart(t)},onTouchMove:function(t){this.touchable&&(this.ceiling||this.checkPullStart(t),this.touchMove(t),this.ceiling&&this.deltaY>=0&&"vertical"===this.direction&&(Object(i["c"])(t),this.setStatus(this.ease(this.deltaY))))},onTouchEnd:function(){var t=this;this.touchable&&this.ceiling&&this.deltaY&&(this.duration=this.animationDuration,"loosing"===this.status?(this.setStatus(+this.headHeight,!0),this.$emit("input",!0),this.$nextTick((function(){t.$emit("refresh")}))):this.setStatus(0))},ease:function(t){var e=+(this.pullDistance||this.headHeight);return t>e&&(t=t<2*e?e+(t-e)/2:1.5*e+(t-2*e)/4),Math.round(t)},setStatus:function(t,e){var n;n=e?"loading":0===t?"normal":t<(this.pullDistance||this.headHeight)?"pulling":"loosing",this.distance=t,n!==this.status&&(this.status=n)},genStatus:function(){var t=this.$createElement,e=this.status,n=this.distance,r=this.slots(e,{distance:n});if(r)return r;var i=[],o=this[e+"Text"]||f(e);return-1!==d.indexOf(e)&&i.push(t("div",{class:l("text")},[o])),"loading"===e&&i.push(t(a["a"],{attrs:{size:"16"}},[o])),i},showSuccessTip:function(){var t=this;this.status="success",setTimeout((function(){t.setStatus(0)}),this.successDuration)}},render:function(){var t=arguments[0],e={transitionDuration:this.duration+"ms",transform:this.distance?"translate3d(0,"+this.distance+"px, 0)":""};return t("div",{class:l()},[t("div",{ref:"track",class:l("track"),style:e},[t("div",{class:l("head"),style:this.headStyle},[this.genStatus()]),this.slots()])])}})},"597f":function(t,e){t.exports=function(t,e,n,r){var i,o=0;function s(){var s=this,a=Number(new Date)-o,c=arguments;function u(){o=Number(new Date),n.apply(s,c)}function l(){i=void 0}r&&!i&&u(),i&&clearTimeout(i),void 0===r&&a>t?u():!0!==e&&(i=setTimeout(r?l:u,void 0===r?t-a:t))}return"boolean"!==typeof e&&(r=n,n=e,e=void 0),s}},"5a0c":function(t,e,n){!function(e,n){t.exports=n()}(0,(function(){"use strict";var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",o="minute",s="hour",a="day",c="week",u="month",l="quarter",f="year",h="date",d="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},y=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},m={s:y,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+y(r,2,"0")+":"+y(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,u),o=n-i<0,s=e.clone().add(r+(o?-1:1),u);return+(-(r+(n-i)/(o?i-s:s-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:u,y:f,w:c,d:a,D:h,h:s,m:o,s:i,ms:r,Q:l}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},I="en",M={};M[I]=v;var b=function(t){return t instanceof T},_=function t(e,n,r){var i;if(!e)return I;if("string"==typeof e){var o=e.toLowerCase();M[o]&&(i=o),n&&(M[o]=n,i=o);var s=e.split("-");if(!i&&s.length>1)return t(s[0])}else{var a=e.name;M[a]=e,i=a}return!r&&i&&(I=i),i||!r&&I},A=function(t,e){if(b(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new T(n)},C=m;C.l=_,C.i=b,C.w=function(t,e){return A(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var T=function(){function v(t){this.$L=_(t.locale,null,!0),this.parse(t)}var y=v.prototype;return y.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(C.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(p);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},y.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},y.$utils=function(){return C},y.isValid=function(){return!(this.$d.toString()===d)},y.isSame=function(t,e){var n=A(t);return this.startOf(e)<=n&&n<=this.endOf(e)},y.isAfter=function(t,e){return A(t)<this.startOf(e)},y.isBefore=function(t,e){return this.endOf(e)<A(t)},y.$g=function(t,e,n){return C.u(t)?this[e]:this.set(n,t)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(t,e){var n=this,r=!!C.u(e)||e,l=C.p(t),d=function(t,e){var i=C.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},p=function(t,e){return C.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},g=this.$W,v=this.$M,y=this.$D,m="set"+(this.$u?"UTC":"");switch(l){case f:return r?d(1,0):d(31,11);case u:return r?d(1,v):d(0,v+1);case c:var I=this.$locale().weekStart||0,M=(g<I?g+7:g)-I;return d(r?y-M:y+(6-M),v);case a:case h:return p(m+"Hours",0);case s:return p(m+"Minutes",1);case o:return p(m+"Seconds",2);case i:return p(m+"Milliseconds",3);default:return this.clone()}},y.endOf=function(t){return this.startOf(t,!1)},y.$set=function(t,e){var n,c=C.p(t),l="set"+(this.$u?"UTC":""),d=(n={},n[a]=l+"Date",n[h]=l+"Date",n[u]=l+"Month",n[f]=l+"FullYear",n[s]=l+"Hours",n[o]=l+"Minutes",n[i]=l+"Seconds",n[r]=l+"Milliseconds",n)[c],p=c===a?this.$D+(e-this.$W):e;if(c===u||c===f){var g=this.clone().set(h,1);g.$d[d](p),g.init(),this.$d=g.set(h,Math.min(this.$D,g.daysInMonth())).$d}else d&&this.$d[d](p);return this.init(),this},y.set=function(t,e){return this.clone().$set(t,e)},y.get=function(t){return this[C.p(t)]()},y.add=function(r,l){var h,d=this;r=Number(r);var p=C.p(l),g=function(t){var e=A(d);return C.w(e.date(e.date()+Math.round(t*r)),d)};if(p===u)return this.set(u,this.$M+r);if(p===f)return this.set(f,this.$y+r);if(p===a)return g(1);if(p===c)return g(7);var v=(h={},h[o]=e,h[s]=n,h[i]=t,h)[p]||1,y=this.$d.getTime()+r*v;return C.w(y,this)},y.subtract=function(t,e){return this.add(-1*t,e)},y.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||d;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=C.z(this),o=this.$H,s=this.$m,a=this.$M,c=n.weekdays,u=n.months,l=function(t,n,i,o){return t&&(t[n]||t(e,r))||i[n].slice(0,o)},f=function(t){return C.s(o%12||12,t,"0")},h=n.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},p={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:C.s(a+1,2,"0"),MMM:l(n.monthsShort,a,u,3),MMMM:l(u,a),D:this.$D,DD:C.s(this.$D,2,"0"),d:String(this.$W),dd:l(n.weekdaysMin,this.$W,c,2),ddd:l(n.weekdaysShort,this.$W,c,3),dddd:c[this.$W],H:String(o),HH:C.s(o,2,"0"),h:f(1),hh:f(2),a:h(o,s,!0),A:h(o,s,!1),m:String(s),mm:C.s(s,2,"0"),s:String(this.$s),ss:C.s(this.$s,2,"0"),SSS:C.s(this.$ms,3,"0"),Z:i};return r.replace(g,(function(t,e){return e||p[t]||i.replace(":","")}))},y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(r,h,d){var p,g=C.p(h),v=A(r),y=(v.utcOffset()-this.utcOffset())*e,m=this-v,I=C.m(this,v);return I=(p={},p[f]=I/12,p[u]=I,p[l]=I/3,p[c]=(m-y)/6048e5,p[a]=(m-y)/864e5,p[s]=m/n,p[o]=m/e,p[i]=m/t,p)[g]||m,d?I:C.a(I)},y.daysInMonth=function(){return this.endOf(u).$D},y.$locale=function(){return M[this.$L]},y.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=_(t,e,!0);return r&&(n.$L=r),n},y.clone=function(){return C.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},v}(),E=T.prototype;return A.prototype=E,[["$ms",r],["$s",i],["$m",o],["$H",s],["$W",a],["$M",u],["$y",f],["$D",h]].forEach((function(t){E[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),A.extend=function(t,e){return t.$i||(t(e,T,A),t.$i=!0),A},A.locale=_,A.isDayjs=b,A.unix=function(t){return A(1e3*t)},A.en=M[I],A.Ls=M,A.p={},A}))},"5b4e":function(t,e,n){var r=n("36c3"),i=n("b447"),o=n("0fc9");t.exports=function(t){return function(e,n,s){var a,c=r(e),u=i(c.length),l=o(s,u);if(t&&n!=n){while(u>l)if(a=c[l++],a!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},"5bba":function(t,e,n){n("9d98");var r=n("584a").Object;t.exports=function(t,e){return r.defineProperties(t,e)}},"5c95":function(t,e,n){var r=n("35e8");t.exports=function(t,e,n){for(var i in e)n&&t[i]?t[i]=e[i]:r(t,i,e[i]);return t}},"5ca1":function(t,e,n){var r=n("7726"),i=n("8378"),o=n("32e9"),s=n("2aba"),a=n("9b43"),c="prototype",u=function(t,e,n){var l,f,h,d,p=t&u.F,g=t&u.G,v=t&u.S,y=t&u.P,m=t&u.B,I=g?r:v?r[e]||(r[e]={}):(r[e]||{})[c],M=g?i:i[e]||(i[e]={}),b=M[c]||(M[c]={});for(l in g&&(n=e),n)f=!p&&I&&void 0!==I[l],h=(f?I:n)[l],d=m&&f?a(h,r):y&&"function"==typeof h?a(Function.call,h):h,I&&s(I,l,h,t&u.U),M[l]!=h&&o(M,l,d),y&&b[l]!=h&&(b[l]=h)};r.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},"5cc5":function(t,e,n){var r=n("2b4c")("iterator"),i=!1;try{var o=[7][r]();o["return"]=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(s){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},t(o)}catch(s){}return n}},"5d40":function(t,e,n){n("28e4")("WeakMap")},"5d58":function(t,e,n){t.exports=n("d8d6")},"5d90":function(t,e,n){n("28e4")("WeakSet")},"5dbc":function(t,e,n){var r=n("d3f4"),i=n("8b97").set;t.exports=function(t,e,n){var o,s=e.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},"5df2":function(t,e,n){var r=n("5ca1"),i=n("d752");r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},"5df3":function(t,e,n){"use strict";var r=n("02f4")(!0);n("01f9")(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=r(e,n),this._i+=t.length,{value:t,done:!1})}))},"5e83":function(t,e,n){t.exports=n("8580")},"5eda":function(t,e,n){var r=n("5ca1"),i=n("8378"),o=n("79e5");t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],s={};s[t]=e(n),r(r.S+r.F*o((function(){n(1)})),"Object",s)}},"5f1b":function(t,e,n){"use strict";var r=n("23c6"),i=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var o=n.call(t,e);if("object"!==typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},"5fbe":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("1325"),i=0;function o(t){var e="binded_"+i++;function n(){this[e]||(t.call(this,r["b"],!0),this[e]=!0)}function o(){this[e]&&(t.call(this,r["a"],!1),this[e]=!1)}return{mounted:n,activated:n,deactivated:o,beforeDestroy:o}}},6095:function(t,e,n){"use strict";var r=n("5ca1"),i=n("0a49")(4);r(r.P+r.F*!n("2f21")([].every,!0),"Array",{every:function(t){return i(this,t,arguments[1])}})},"613b":function(t,e,n){var r=n("5537")("keys"),i=n("ca5a");t.exports=function(t){return r[t]||(r[t]=i(t))}},"626a":function(t,e,n){var r=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},"62a0":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},"62e4":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},"63b6":function(t,e,n){var r=n("e53d"),i=n("584a"),o=n("d864"),s=n("35e8"),a=n("07e3"),c="prototype",u=function(t,e,n){var l,f,h,d=t&u.F,p=t&u.G,g=t&u.S,v=t&u.P,y=t&u.B,m=t&u.W,I=p?i:i[e]||(i[e]={}),M=I[c],b=p?r:g?r[e]:(r[e]||{})[c];for(l in p&&(n=e),n)f=!d&&b&&void 0!==b[l],f&&a(I,l)||(h=f?b[l]:n[l],I[l]=p&&"function"!=typeof b[l]?n[l]:y&&f?o(h,r):m&&b[l]==h?function(t){var e=function(e,n,r){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,r)}return t.apply(this,arguments)};return e[c]=t[c],e}(h):v&&"function"==typeof h?o(Function.call,h):h,v&&((I.virtual||(I.virtual={}))[l]=h,t&u.R&&M&&!M[l]&&s(M,l,h)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},"63d9":function(t,e,n){n("ec30")("Float32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},"643e":function(t,e,n){"use strict";var r=n("dcbc"),i=n("67ab").getWeak,o=n("cb7c"),s=n("d3f4"),a=n("f605"),c=n("4a59"),u=n("0a49"),l=n("69a8"),f=n("b39a"),h=u(5),d=u(6),p=0,g=function(t){return t._l||(t._l=new v)},v=function(){this.a=[]},y=function(t,e){return h(t.a,(function(t){return t[0]===e}))};v.prototype={get:function(t){var e=y(this,t);if(e)return e[1]},has:function(t){return!!y(this,t)},set:function(t,e){var n=y(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=d(this.a,(function(e){return e[0]===t}));return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,o){var u=t((function(t,r){a(t,u,e,"_i"),t._t=e,t._i=p++,t._l=void 0,void 0!=r&&c(r,n,t[o],t)}));return r(u.prototype,{delete:function(t){if(!s(t))return!1;var n=i(t);return!0===n?g(f(this,e))["delete"](t):n&&l(n,this._i)&&delete n[this._i]},has:function(t){if(!s(t))return!1;var n=i(t);return!0===n?g(f(this,e)).has(t):n&&l(n,this._i)}}),u},def:function(t,e,n){var r=i(o(e),!0);return!0===r?g(t).set(e,n):r[t._i]=n,t},ufstore:g}},"64d5":function(t,e,n){"use strict";var r=n("5ca1"),i=n("4bf8"),o=n("6a99"),s=n("38fd"),a=n("11e9").f;n("9e1e")&&r(r.P+n("c5b4"),"Object",{__lookupSetter__:function(t){var e,n=i(this),r=o(t,!0);do{if(e=a(n,r))return e.set}while(n=s(n))}})},"656e":function(t,e,n){"use strict";var r=n("79aa");function i(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new i(t)}},6612:function(t,e,n){var r,i;
- /*! @preserve
- * numeral.js
- * version : 2.0.6
- * author : Adam Draper
- * license : MIT
- * http://adamwdraper.github.com/Numeral-js/
- */(function(o,s){r=s,i="function"===typeof r?r.call(e,n,e,t):r,void 0===i||(t.exports=i)})(0,(function(){var t,e,n="2.0.6",r={},i={},o={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},s={currentLocale:o.currentLocale,zeroFormat:o.zeroFormat,nullFormat:o.nullFormat,defaultFormat:o.defaultFormat,scalePercentBy100:o.scalePercentBy100};function a(t,e){this._input=t,this._value=e}return t=function(n){var i,o,c,u;if(t.isNumeral(n))i=n.value();else if(0===n||"undefined"===typeof n)i=0;else if(null===n||e.isNaN(n))i=null;else if("string"===typeof n)if(s.zeroFormat&&n===s.zeroFormat)i=0;else if(s.nullFormat&&n===s.nullFormat||!n.replace(/[^0-9]+/g,"").length)i=null;else{for(o in r)if(u="function"===typeof r[o].regexps.unformat?r[o].regexps.unformat():r[o].regexps.unformat,u&&n.match(u)){c=r[o].unformat;break}c=c||t._.stringToNumber,i=c(n)}else i=Number(n)||null;return new a(n,i)},t.version=n,t.isNumeral=function(t){return t instanceof a},t._=e={numberToFormat:function(e,n,r){var o,s,a,c,u,l,f,h=i[t.options.currentLocale],d=!1,p=!1,g=0,v="",y=1e12,m=1e9,I=1e6,M=1e3,b="",_=!1;if(e=e||0,s=Math.abs(e),t._.includes(n,"(")?(d=!0,n=n.replace(/[\(|\)]/g,"")):(t._.includes(n,"+")||t._.includes(n,"-"))&&(u=t._.includes(n,"+")?n.indexOf("+"):e<0?n.indexOf("-"):-1,n=n.replace(/[\+|\-]/g,"")),t._.includes(n,"a")&&(o=n.match(/a(k|m|b|t)?/),o=!!o&&o[1],t._.includes(n," a")&&(v=" "),n=n.replace(new RegExp(v+"a[kmbt]?"),""),s>=y&&!o||"t"===o?(v+=h.abbreviations.trillion,e/=y):s<y&&s>=m&&!o||"b"===o?(v+=h.abbreviations.billion,e/=m):s<m&&s>=I&&!o||"m"===o?(v+=h.abbreviations.million,e/=I):(s<I&&s>=M&&!o||"k"===o)&&(v+=h.abbreviations.thousand,e/=M)),t._.includes(n,"[.]")&&(p=!0,n=n.replace("[.]",".")),a=e.toString().split(".")[0],c=n.split(".")[1],l=n.indexOf(","),g=(n.split(".")[0].split(",")[0].match(/0/g)||[]).length,c?(t._.includes(c,"[")?(c=c.replace("]",""),c=c.split("["),b=t._.toFixed(e,c[0].length+c[1].length,r,c[1].length)):b=t._.toFixed(e,c.length,r),a=b.split(".")[0],b=t._.includes(b,".")?h.delimiters.decimal+b.split(".")[1]:"",p&&0===Number(b.slice(1))&&(b="")):a=t._.toFixed(e,0,r),v&&!o&&Number(a)>=1e3&&v!==h.abbreviations.trillion)switch(a=String(Number(a)/1e3),v){case h.abbreviations.thousand:v=h.abbreviations.million;break;case h.abbreviations.million:v=h.abbreviations.billion;break;case h.abbreviations.billion:v=h.abbreviations.trillion;break}if(t._.includes(a,"-")&&(a=a.slice(1),_=!0),a.length<g)for(var A=g-a.length;A>0;A--)a="0"+a;return l>-1&&(a=a.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+h.delimiters.thousands)),0===n.indexOf(".")&&(a=""),f=a+b+(v||""),d?f=(d&&_?"(":"")+f+(d&&_?")":""):u>=0?f=0===u?(_?"-":"+")+f:f+(_?"-":"+"):_&&(f="-"+f),f},stringToNumber:function(t){var e,n,r,o=i[s.currentLocale],a=t,c={thousand:3,million:6,billion:9,trillion:12};if(s.zeroFormat&&t===s.zeroFormat)n=0;else if(s.nullFormat&&t===s.nullFormat||!t.replace(/[^0-9]+/g,"").length)n=null;else{for(e in n=1,"."!==o.delimiters.decimal&&(t=t.replace(/\./g,"").replace(o.delimiters.decimal,".")),c)if(r=new RegExp("[^a-zA-Z]"+o.abbreviations[e]+"(?:\\)|(\\"+o.currency.symbol+")?(?:\\))?)?$"),a.match(r)){n*=Math.pow(10,c[e]);break}n*=(t.split("-").length+Math.min(t.split("(").length-1,t.split(")").length-1))%2?1:-1,t=t.replace(/[^0-9\.]+/g,""),n*=Number(t)}return n},isNaN:function(t){return"number"===typeof t&&isNaN(t)},includes:function(t,e){return-1!==t.indexOf(e)},insert:function(t,e,n){return t.slice(0,n)+e+t.slice(n)},reduce:function(t,e){if(null===this)throw new TypeError("Array.prototype.reduce called on null or undefined");if("function"!==typeof e)throw new TypeError(e+" is not a function");var n,r=Object(t),i=r.length>>>0,o=0;if(3===arguments.length)n=arguments[2];else{while(o<i&&!(o in r))o++;if(o>=i)throw new TypeError("Reduce of empty array with no initial value");n=r[o++]}for(;o<i;o++)o in r&&(n=e(n,r[o],o,r));return n},multiplier:function(t){var e=t.toString().split(".");return e.length<2?1:Math.pow(10,e[1].length)},correctionFactor:function(){var t=Array.prototype.slice.call(arguments);return t.reduce((function(t,n){var r=e.multiplier(n);return t>r?t:r}),1)},toFixed:function(t,e,n,r){var i,o,s,a,c=t.toString().split("."),u=e-(r||0);return i=2===c.length?Math.min(Math.max(c[1].length,u),e):u,s=Math.pow(10,i),a=(n(t+"e+"+i)/s).toFixed(i),r>e-i&&(o=new RegExp("\\.?0{1,"+(r-(e-i))+"}$"),a=a.replace(o,"")),a}},t.options=s,t.formats=r,t.locales=i,t.locale=function(t){return t&&(s.currentLocale=t.toLowerCase()),s.currentLocale},t.localeData=function(t){if(!t)return i[s.currentLocale];if(t=t.toLowerCase(),!i[t])throw new Error("Unknown locale : "+t);return i[t]},t.reset=function(){for(var t in o)s[t]=o[t]},t.zeroFormat=function(t){s.zeroFormat="string"===typeof t?t:null},t.nullFormat=function(t){s.nullFormat="string"===typeof t?t:null},t.defaultFormat=function(t){s.defaultFormat="string"===typeof t?t:"0.0"},t.register=function(t,e,n){if(e=e.toLowerCase(),this[t+"s"][e])throw new TypeError(e+" "+t+" already registered.");return this[t+"s"][e]=n,n},t.validate=function(e,n){var r,i,o,s,a,c,u,l;if("string"!==typeof e&&(e+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",e)),e=e.trim(),e.match(/^\d+$/))return!0;if(""===e)return!1;try{u=t.localeData(n)}catch(f){u=t.localeData(t.locale())}return o=u.currency.symbol,a=u.abbreviations,r=u.delimiters.decimal,i="."===u.delimiters.thousands?"\\.":u.delimiters.thousands,l=e.match(/^[^\d]+/),(null===l||(e=e.substr(1),l[0]===o))&&(l=e.match(/[^\d]+$/),(null===l||(e=e.slice(0,-1),l[0]===a.thousand||l[0]===a.million||l[0]===a.billion||l[0]===a.trillion))&&(c=new RegExp(i+"{2}"),!e.match(/[^\d.,]/g)&&(s=e.split(r),!(s.length>2)&&(s.length<2?!!s[0].match(/^\d+.*\d$/)&&!s[0].match(c):1===s[0].length?!!s[0].match(/^\d+$/)&&!s[0].match(c)&&!!s[1].match(/^\d+$/):!!s[0].match(/^\d+.*\d$/)&&!s[0].match(c)&&!!s[1].match(/^\d+$/)))))},t.fn=a.prototype={clone:function(){return t(this)},format:function(e,n){var i,o,a,c=this._value,u=e||s.defaultFormat;if(n=n||Math.round,0===c&&null!==s.zeroFormat)o=s.zeroFormat;else if(null===c&&null!==s.nullFormat)o=s.nullFormat;else{for(i in r)if(u.match(r[i].regexps.format)){a=r[i].format;break}a=a||t._.numberToFormat,o=a(c,u,n)}return o},value:function(){return this._value},input:function(){return this._input},set:function(t){return this._value=Number(t),this},add:function(t){var n=e.correctionFactor.call(null,this._value,t);function r(t,e,r,i){return t+Math.round(n*e)}return this._value=e.reduce([this._value,t],r,0)/n,this},subtract:function(t){var n=e.correctionFactor.call(null,this._value,t);function r(t,e,r,i){return t-Math.round(n*e)}return this._value=e.reduce([t],r,Math.round(this._value*n))/n,this},multiply:function(t){function n(t,n,r,i){var o=e.correctionFactor(t,n);return Math.round(t*o)*Math.round(n*o)/Math.round(o*o)}return this._value=e.reduce([this._value,t],n,1),this},divide:function(t){function n(t,n,r,i){var o=e.correctionFactor(t,n);return Math.round(t*o)/Math.round(n*o)}return this._value=e.reduce([this._value,t],n),this},difference:function(e){return Math.abs(t(this._value).subtract(e).value())}},t.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(t){var e=t%10;return 1===~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th"},currency:{symbol:"$"}}),function(){t.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(e,n,r){var i,o=t._.includes(n," BPS")?" ":"";return e*=1e4,n=n.replace(/\s?BPS/,""),i=t._.numberToFormat(e,n,r),t._.includes(i,")")?(i=i.split(""),i.splice(-1,0,o+"BPS"),i=i.join("")):i=i+o+"BPS",i},unformat:function(e){return+(1e-4*t._.stringToNumber(e)).toFixed(15)}})}(),function(){var e={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},n={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},r=e.suffixes.concat(n.suffixes.filter((function(t){return e.suffixes.indexOf(t)<0}))),i=r.join("|");i="("+i.replace("B","B(?!PS)")+")",t.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(i)},format:function(r,i,o){var s,a,c,u,l=t._.includes(i,"ib")?n:e,f=t._.includes(i," b")||t._.includes(i," ib")?" ":"";for(i=i.replace(/\s?i?b/,""),a=0;a<=l.suffixes.length;a++)if(c=Math.pow(l.base,a),u=Math.pow(l.base,a+1),null===r||0===r||r>=c&&r<u){f+=l.suffixes[a],c>0&&(r/=c);break}return s=t._.numberToFormat(r,i,o),s+f},unformat:function(r){var i,o,s=t._.stringToNumber(r);if(s){for(i=e.suffixes.length-1;i>=0;i--){if(t._.includes(r,e.suffixes[i])){o=Math.pow(e.base,i);break}if(t._.includes(r,n.suffixes[i])){o=Math.pow(n.base,i);break}}s*=o||1}return s}})}(),function(){t.register("format","currency",{regexps:{format:/(\$)/},format:function(e,n,r){var i,o,s,a=t.locales[t.options.currentLocale],c={before:n.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:n.match(/([\+|\-|\)|\s|\$]*)$/)[0]};for(n=n.replace(/\s?\$\s?/,""),i=t._.numberToFormat(e,n,r),e>=0?(c.before=c.before.replace(/[\-\(]/,""),c.after=c.after.replace(/[\-\)]/,"")):e<0&&!t._.includes(c.before,"-")&&!t._.includes(c.before,"(")&&(c.before="-"+c.before),s=0;s<c.before.length;s++)switch(o=c.before[s],o){case"$":i=t._.insert(i,a.currency.symbol,s);break;case" ":i=t._.insert(i," ",s+a.currency.symbol.length-1);break}for(s=c.after.length-1;s>=0;s--)switch(o=c.after[s],o){case"$":i=s===c.after.length-1?i+a.currency.symbol:t._.insert(i,a.currency.symbol,-(c.after.length-(1+s)));break;case" ":i=s===c.after.length-1?i+" ":t._.insert(i," ",-(c.after.length-(1+s)+a.currency.symbol.length-1));break}return i}})}(),function(){t.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(e,n,r){var i,o="number"!==typeof e||t._.isNaN(e)?"0e+0":e.toExponential(),s=o.split("e");return n=n.replace(/e[\+|\-]{1}0/,""),i=t._.numberToFormat(Number(s[0]),n,r),i+"e"+s[1]},unformat:function(e){var n=t._.includes(e,"e+")?e.split("e+"):e.split("e-"),r=Number(n[0]),i=Number(n[1]);function o(e,n,r,i){var o=t._.correctionFactor(e,n),s=e*o*(n*o)/(o*o);return s}return i=t._.includes(e,"e-")?i*=-1:i,t._.reduce([r,Math.pow(10,i)],o,1)}})}(),function(){t.register("format","ordinal",{regexps:{format:/(o)/},format:function(e,n,r){var i,o=t.locales[t.options.currentLocale],s=t._.includes(n," o")?" ":"";return n=n.replace(/\s?o/,""),s+=o.ordinal(e),i=t._.numberToFormat(e,n,r),i+s}})}(),function(){t.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(e,n,r){var i,o=t._.includes(n," %")?" ":"";return t.options.scalePercentBy100&&(e*=100),n=n.replace(/\s?\%/,""),i=t._.numberToFormat(e,n,r),t._.includes(i,")")?(i=i.split(""),i.splice(-1,0,o+"%"),i=i.join("")):i=i+o+"%",i},unformat:function(e){var n=t._.stringToNumber(e);return t.options.scalePercentBy100?.01*n:n}})}(),function(){t.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(t,e,n){var r=Math.floor(t/60/60),i=Math.floor((t-60*r*60)/60),o=Math.round(t-60*r*60-60*i);return r+":"+(i<10?"0"+i:i)+":"+(o<10?"0"+o:o)},unformat:function(t){var e=t.split(":"),n=0;return 3===e.length?(n+=60*Number(e[0])*60,n+=60*Number(e[1]),n+=Number(e[2])):2===e.length&&(n+=60*Number(e[0]),n+=Number(e[1])),Number(n)}})}(),t}))},"66c8":function(t,e,n){var r=n("d3f4");n("5eda")("isFrozen",(function(t){return function(e){return!r(e)||!!t&&t(e)}}))},"66f9":function(t,e,n){n("8a81"),n("8478"),n("1c01"),n("58b2"),n("9986"),n("e4f7"),n("456d"),n("25db"),n("0d6d"),n("cf6a"),n("9aea"),n("66c8"),n("57f0"),n("165b"),n("f751"),n("db97"),n("fd24"),n("06db"),n("d92a"),n("7f7f"),n("217b"),n("18d0"),n("b72c"),n("c5f6"),n("036c"),n("54a8"),n("2e37"),n("fca0"),n("7cdf"),n("ee1d"),n("b1b1"),n("87f3"),n("9278"),n("5df2"),n("04ff"),n("7f25"),n("536b"),n("d9ab"),n("f9ab"),n("32d7"),n("25c9"),n("9f3c"),n("042e"),n("c7c6"),n("f4ff"),n("7872"),n("049f"),n("a69f"),n("0b21"),n("6c1a"),n("c7c62"),n("84b4"),n("5695"),n("788d"),n("4f37"),n("5df3"),n("a032"),n("aef6"),n("2fdb"),n("14b9"),n("f559"),n("8449"),n("9c86"),n("fa83"),n("48c0"),n("d263"),n("6c37"),n("9ec8"),n("d0b0"),n("b54a"),n("f386"),n("1448"),n("673e"),n("242a"),n("78ce"),n("0298"),n("8ea5"),n("87b3"),n("c8ce"),n("2caf"),n("1c4c"),n("e804"),n("373f"),n("23bf"),n("55dd"),n("f3e2"),n("6d67"),n("d25f"),n("759f"),n("6095"),n("0cd8"),n("48f8"),n("57e7"),n("9865"),n("744f"),n("6c7b"),n("7514"),n("20d6"),n("d04f"),n("cadf"),n("3b2b"),n("b0c5"),n("6b54"),n("3846"),n("4917"),n("a481"),n("386d"),n("28a5"),n("551c"),n("f400"),n("4f7f"),n("10ad"),n("c02b"),n("c66f"),n("262f"),n("b05c"),n("34ef"),n("6aa2"),n("15ac"),n("af56"),n("b6e4"),n("9c29"),n("63d9"),n("4dda"),n("df1b"),n("2397"),n("88ca"),n("ba16"),n("7ff6"),n("d185"),n("ebde"),n("2d34"),n("f6b3"),n("2251"),n("c698"),n("a19f"),n("9253"),n("9275"),n("6762"),n("e956"),n("71f1"),n("3535"),n("f576"),n("ed50"),n("23be"),n("7c0e"),n("988d"),n("ac4d"),n("c7ca"),n("8e6e"),n("8615"),n("ffc1"),n("4504"),n("fee7"),n("b9a1"),n("64d5"),n("4704"),n("db9a"),n("729b"),n("99c5"),n("764f"),n("bdd1"),n("416c"),n("dd8a"),n("5d40"),n("5d90"),n("0c36"),n("a234"),n("4276"),n("09e0"),n("0c00"),n("2748"),n("1f91"),n("9c00"),n("2f78"),n("b4c2"),n("1f18"),n("692b"),n("c775"),n("8a5c"),n("ed7e"),n("097d"),n("a9cc"),n("e3d0"),n("ceaf"),n("e394"),n("b80b"),n("06a7"),n("7cdff"),n("896f"),n("ec39"),n("3a9c"),n("0d25"),n("37b5"),n("4795"),n("130f"),n("ac6a"),t.exports=n("8378")},6718:function(t,e,n){var r=n("e53d"),i=n("584a"),o=n("b8e3"),s=n("ccb9"),a=n("d9f6").f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},"673e":function(t,e,n){"use strict";n("386b")("sub",(function(t){return function(){return t(this,"sub","","")}}))},6762:function(t,e,n){"use strict";var r=n("5ca1"),i=n("c366")(!0);r(r.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},"67ab":function(t,e,n){var r=n("ca5a")("meta"),i=n("d3f4"),o=n("69a8"),s=n("86cc").f,a=0,c=Object.isExtensible||function(){return!0},u=!n("79e5")((function(){return c(Object.preventExtensions({}))})),l=function(t){s(t,r,{value:{i:"O"+ ++a,w:{}}})},f=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[r].i},h=function(t,e){if(!o(t,r)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[r].w},d=function(t){return u&&p.NEED&&c(t)&&!o(t,r)&&l(t),t},p=t.exports={KEY:r,NEED:!1,fastKey:f,getWeak:h,onFreeze:d}},"67bb":function(t,e,n){t.exports=n("f921")},6821:function(t,e,n){var r=n("626a"),i=n("be13");t.exports=function(t){return r(i(t))}},"688e":function(t,e,n){"use strict";var r="Function.prototype.bind called on incompatible ",i=Array.prototype.slice,o=Object.prototype.toString,s="[object Function]";t.exports=function(t){var e=this;if("function"!==typeof e||o.call(e)!==s)throw new TypeError(r+e);for(var n,a=i.call(arguments,1),c=function(){if(this instanceof n){var r=e.apply(this,a.concat(i.call(arguments)));return Object(r)===r?r:this}return e.apply(t,a.concat(i.call(arguments)))},u=Math.max(0,e.length-a.length),l=[],f=0;f<u;f++)l.push("$"+f);if(n=Function("binder","return function ("+l.join(",")+"){ return binder.apply(this,arguments); }")(c),e.prototype){var h=function(){};h.prototype=e.prototype,n.prototype=new h,h.prototype=null}return n}},"692b":function(t,e,n){var r=n("5ca1"),i=Math.PI/180;r(r.S,"Math",{radians:function(t){return t*i}})},"696e":function(t,e,n){n("c207"),n("1654"),n("6c1c"),n("24c5"),n("3c11"),n("43fc"),t.exports=n("584a").Promise},"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 r=n("d3f4");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"6aa2":function(t,e,n){n("ec30")("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}),!0)},"6abf":function(t,e,n){var r=n("e6f3"),i=n("1691").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},"6b4c":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"6b54":function(t,e,n){"use strict";n("3846");var r=n("cb7c"),i=n("0bfb"),o=n("9e1e"),s="toString",a=/./[s],c=function(t){n("2aba")(RegExp.prototype,s,t,!0)};n("79e5")((function(){return"/a/b"!=a.call({source:"a",flags:"b"})}))?c((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)})):a.name!=s&&c((function(){return a.call(this)}))},"6bb5":function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("4d16"),i=n.n(r),o=n("061b"),s=n.n(o);function a(t){return a=i.a?s.a.bind():function(t){return t.__proto__||s()(t)},a(t)}},"6c1a":function(t,e,n){var r=n("5ca1"),i=n("2d5c"),o=Math.exp;r(r.S+r.F*n("79e5")((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},"6c1c":function(t,e,n){n("c367");for(var r=n("e53d"),i=n("35e8"),o=n("481b"),s=n("5168")("toStringTag"),a="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<a.length;c++){var u=a[c],l=r[u],f=l&&l.prototype;f&&!f[s]&&i(f,s,u),o[u]=o.Array}},"6c37":function(t,e,n){"use strict";n("386b")("fontcolor",(function(t){return function(e){return t(this,"font","color",e)}}))},"6c7b":function(t,e,n){var r=n("5ca1");r(r.P,"Array",{fill:n("36bd")}),n("9c6c")("fill")},"6d67":function(t,e,n){"use strict";var r=n("5ca1"),i=n("0a49")(1);r(r.P+r.F*!n("2f21")([].map,!0),"Array",{map:function(t){return i(this,t,arguments[1])}})},"6dd8":function(t,e,n){"use strict";n.r(e),function(t){var n=function(){if("undefined"!==typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];t.call(e,i[1],i[0])}},e}()}(),r="undefined"!==typeof window&&"undefined"!==typeof document&&window.document===document,i=function(){return"undefined"!==typeof t&&t.Math===Math?t:"undefined"!==typeof self&&self.Math===Math?self:"undefined"!==typeof window&&window.Math===Math?window:Function("return this")()}(),o=function(){return"function"===typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)}}(),s=2;function a(t,e){var n=!1,r=!1,i=0;function a(){n&&(n=!1,t()),r&&u()}function c(){o(a)}function u(){var t=Date.now();if(n){if(t-i<s)return;r=!0}else n=!0,r=!1,setTimeout(c,e);i=t}return u}var c=20,u=["top","right","bottom","left","width","height","size","weight"],l="undefined"!==typeof MutationObserver,f=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=a(this.refresh.bind(this),c)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){var t=this.updateObservers_();t&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e,r=u.some((function(t){return!!~n.indexOf(t)}));r&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),h=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},d=function(t){var e=t&&t.ownerDocument&&t.ownerDocument.defaultView;return e||i},p=C(0,0,0,0);function g(t){return parseFloat(t)||0}function v(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){var r=t["border-"+n+"-width"];return e+g(r)}),0)}function y(t){for(var e=["top","right","bottom","left"],n={},r=0,i=e;r<i.length;r++){var o=i[r],s=t["padding-"+o];n[o]=g(s)}return n}function m(t){var e=t.getBBox();return C(0,0,e.width,e.height)}function I(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return p;var r=d(t).getComputedStyle(t),i=y(r),o=i.left+i.right,s=i.top+i.bottom,a=g(r.width),c=g(r.height);if("border-box"===r.boxSizing&&(Math.round(a+o)!==e&&(a-=v(r,"left","right")+o),Math.round(c+s)!==n&&(c-=v(r,"top","bottom")+s)),!b(t)){var u=Math.round(a+o)-e,l=Math.round(c+s)-n;1!==Math.abs(u)&&(a-=u),1!==Math.abs(l)&&(c-=l)}return C(i.left,i.top,a,c)}var M=function(){return"undefined"!==typeof SVGGraphicsElement?function(t){return t instanceof d(t).SVGGraphicsElement}:function(t){return t instanceof d(t).SVGElement&&"function"===typeof t.getBBox}}();function b(t){return t===d(t).document.documentElement}function _(t){return r?M(t)?m(t):I(t):p}function A(t){var e=t.x,n=t.y,r=t.width,i=t.height,o="undefined"!==typeof DOMRectReadOnly?DOMRectReadOnly:Object,s=Object.create(o.prototype);return h(s,{x:e,y:n,width:r,height:i,top:n,right:e+r,bottom:i+n,left:e}),s}function C(t,e,n,r){return{x:t,y:e,width:n,height:r}}var T=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=C(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=_(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),E=function(){function t(t,e){var n=A(e);h(this,{target:t,contentRect:n})}return t}(),w=function(){function t(t,e,r){if(this.activeObservations_=[],this.observations_=new n,"function"!==typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=r}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(t instanceof d(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new T(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!==typeof Element&&Element instanceof Object){if(!(t instanceof d(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new E(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),N="undefined"!==typeof WeakMap?new WeakMap:new n,S=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=f.getInstance(),r=new w(e,n,this);N.set(this,r)}return t}();["observe","unobserve","disconnect"].forEach((function(t){S.prototype[t]=function(){var e;return(e=N.get(this))[t].apply(e,arguments)}}));var O=function(){return"undefined"!==typeof i.ResizeObserver?i.ResizeObserver:S}();e["default"]=O}.call(this,n("c8ba"))},"6f71":function(t,e,n){"use strict";var r=/(\*|\?)/g;function i(t,e){this.text=t=t||"",this.hasWild=t.indexOf("*")>=0,this.separator=e,this.parts=t.split(e).map(this.classifyPart.bind(this))}i.prototype.match=function(t){var e,n,r=!0,i=this.parts,o=i.length;if("string"==typeof t||t instanceof String)if(this.hasWild||this.text==t){for(n=(t||"").split(this.separator),e=0;r&&e<o;e++)"*"!==i[e]&&(r=e<n.length&&(i[e]instanceof RegExp?i[e].test(n[e]):i[e]===n[e]));r=r&&n}else r=!1;else if("function"==typeof t.splice)for(r=[],e=t.length;e--;)this.match(t[e])&&(r[r.length]=t[e]);else if("object"==typeof t)for(var s in r={},t)this.match(s)&&(r[s]=t[s]);return r},i.prototype.classifyPart=function(t){return"*"===t?t:t.indexOf("*")>=0||t.indexOf("?")>=0?new RegExp(t.replace(r,".$1")):t},t.exports=function(t,e,n){var r=new i(t,n||/[\/\.]/);return"undefined"!=typeof e?r.match(e):r}},"71c1":function(t,e,n){var r=n("3a38"),i=n("25eb");t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),c=r(n),u=a.length;return c<0||c>=u?t?"":void 0:(o=a.charCodeAt(c),o<55296||o>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):o:t?a.slice(c,c+2):s-56320+(o-55296<<10)+65536)}}},"71f1":function(t,e,n){"use strict";var r=n("5ca1"),i=n("c45f"),o=n("4bf8"),s=n("9def"),a=n("4588"),c=n("cd1c");r(r.P,"Array",{flatten:function(){var t=arguments[0],e=o(this),n=s(e.length),r=c(e,0);return i(r,e,e,n,0,void 0===t?1:a(t)),r}}),n("9c6c")("flatten")},"729b":function(t,e,n){n("c6a1")("Map")},7333:function(t,e,n){"use strict";var r=n("9e1e"),i=n("0d58"),o=n("2621"),s=n("52a7"),a=n("4bf8"),c=n("626a"),u=Object.assign;t.exports=!u||n("79e5")((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r}))?function(t,e){var n=a(t),u=arguments.length,l=1,f=o.f,h=s.f;while(u>l){var d,p=c(arguments[l++]),g=f?i(p).concat(f(p)):i(p),v=g.length,y=0;while(v>y)d=g[y++],r&&!h.call(p,d)||(n[d]=p[d])}return n}:u},"733c":function(t,e,n){var r=n("63b6"),i=n("a159"),o=n("79aa"),s=n("e4ae"),a=n("f772"),c=n("294c"),u=n("c189"),l=(n("e53d").Reflect||{}).construct,f=c((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),h=!c((function(){l((function(){}))}));r(r.S+r.F*(f||h),"Reflect",{construct:function(t,e){o(t),s(e);var n=arguments.length<3?t:o(arguments[2]);if(h&&!f)return l(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(u.apply(t,r))}var c=n.prototype,d=i(a(c)?c:Object.prototype),p=Function.apply.call(t,d,e);return a(p)?p:d}})},"744f":function(t,e,n){var r=n("5ca1");r(r.P,"Array",{copyWithin:n("ba92")}),n("9c6c")("copyWithin")},7514:function(t,e,n){"use strict";var r=n("5ca1"),i=n("0a49")(5),o="find",s=!0;o in[]&&Array(1)[o]((function(){s=!1})),r(r.P+r.F*s,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(o)},"759f":function(t,e,n){"use strict";var r=n("5ca1"),i=n("0a49")(3);r(r.P+r.F*!n("2f21")([].some,!0),"Array",{some:function(t){return i(this,t,arguments[1])}})},"75fc":function(t,e,n){"use strict";var r=n("a745"),i=n.n(r),o=n("db2a");function s(t){if(i()(t))return Object(o["a"])(t)}var a=n("67bb"),c=n.n(a),u=n("5d58"),l=n.n(u),f=n("774e"),h=n.n(f);function d(t){if("undefined"!==typeof c.a&&null!=t[l.a]||null!=t["@@iterator"])return h()(t)}var p=n("e630");function g(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function v(t){return s(t)||d(t)||Object(p["a"])(t)||g()}n.d(e,"a",(function(){return v}))},7618:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("67bb"),i=n.n(r),o=n("5d58"),s=n.n(o);function a(t){return a="function"==typeof i.a&&"symbol"==typeof s.a?function(t){return typeof t}:function(t){return t&&"function"==typeof i.a&&t.constructor===i.a&&t!==i.a.prototype?"symbol":typeof t},a(t)}},"764f":function(t,e,n){n("c6a1")("WeakMap")},"765d":function(t,e,n){n("6718")("observable")},7676:function(t,e,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},r.apply(this,arguments)},i=this&&this.__read||function(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{while((void 0===e||e-- >0)&&!(r=o.next()).done)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return s},o=this&&this.__spreadArray||function(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n];return t},s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};e.__esModule=!0,e.unique=e.mergeWithRules=e.mergeWithCustomize=e["default"]=e.merge=e.CustomizeRule=e.customizeObject=e.customizeArray=void 0;var a=s(n("6f71")),c=s(n("d540")),u=s(n("c4d8")),l=s(n("419e"));e.unique=l["default"];var f=n("8a52");e.CustomizeRule=f.CustomizeRule;var h=n("3b74");function d(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return p({}).apply(void 0,o([t],i(e)))}function p(t){return function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if(h.isUndefined(e)||n.some(h.isUndefined))throw new TypeError("Merging undefined is not supported");if(e.then)throw new TypeError("Promises are not supported");if(!e)return{};if(0===n.length){if(Array.isArray(e)){if(0===e.length)return{};if(e.some(h.isUndefined))throw new TypeError("Merging undefined is not supported");if(e[0].then)throw new TypeError("Promises are not supported");return c["default"](e,u["default"](t))}return e}return c["default"]([e].concat(n),u["default"](t))}}function g(t){return function(e,n,r){var s=Object.keys(t).find((function(t){return a["default"](t,r)}))||"";if(s)switch(t[s]){case f.CustomizeRule.Prepend:return o(o([],i(n)),i(e));case f.CustomizeRule.Replace:return n;case f.CustomizeRule.Append:default:return o(o([],i(e)),i(n))}}}function v(t){return p({customizeArray:function(e,n,r){var i=t;return r.split(".").forEach((function(t){i&&(i=i[t])})),h.isPlainObject(i)?m({currentRule:i,a:e,b:n}):"string"===typeof i?I({currentRule:i,a:e,b:n}):void 0}})}e.merge=d,e["default"]=d,e.mergeWithCustomize=p,e.customizeArray=g,e.mergeWithRules=v;var y=Array.isArray;function m(t){var e=t.currentRule,n=t.a,s=t.b;if(!y(n))return n;var a=[],c=n.map((function(t){if(!h.isPlainObject(e))return t;var n={},c=[],u={};Object.entries(e).forEach((function(t){var e=i(t,2),n=e[0],r=e[1];r===f.CustomizeRule.Match?c.push(n):u[n]=r}));var l=s.filter((function(e){var n=c.every((function(n){var r,i;return(null===(r=t[n])||void 0===r?void 0:r.toString())===(null===(i=e[n])||void 0===i?void 0:i.toString())}));return n&&a.push(e),n}));return h.isPlainObject(t)?(Object.entries(t).forEach((function(t){var s=i(t,2),a=s[0],c=s[1],d=e;switch(e[a]){case f.CustomizeRule.Match:n[a]=c,Object.entries(d).forEach((function(t){var e=i(t,2),r=e[0],o=e[1];if(o===f.CustomizeRule.Replace&&l.length>0){var s=M(l)[r];"undefined"!==typeof s&&(n[r]=s)}}));break;case f.CustomizeRule.Append:if(!l.length){n[a]=c;break}var p=M(l)[a];if(!y(c)||!y(p))throw new TypeError("Trying to append non-arrays");n[a]=c.concat(p);break;case f.CustomizeRule.Merge:if(!l.length){n[a]=c;break}var g=M(l)[a];if(!h.isPlainObject(c)||!h.isPlainObject(g))throw new TypeError("Trying to merge non-objects");n[a]=r(r({},c),g);break;case f.CustomizeRule.Prepend:if(!l.length){n[a]=c;break}var v=M(l)[a];if(!y(c)||!y(v))throw new TypeError("Trying to prepend non-arrays");n[a]=v.concat(c);break;case f.CustomizeRule.Replace:n[a]=l.length>0?M(l)[a]:c;break;default:var I=u[a],b=l.map((function(t){return t[a]})).reduce((function(t,e){return y(t)&&y(e)?o(o([],i(t)),i(e)):t}),[]);n[a]=m({currentRule:I,a:c,b:b});break}})),n):t}));return c.concat(s.filter((function(t){return!a.includes(t)})))}function I(t){var e=t.currentRule,n=t.a,r=t.b;switch(e){case f.CustomizeRule.Append:return n.concat(r);case f.CustomizeRule.Prepend:return r.concat(n);case f.CustomizeRule.Replace:return r}return n}function M(t){return t[t.length-1]}function b(t){return function(e,n,r){switch(t[r]){case f.CustomizeRule.Prepend:return c["default"]([n,e],u["default"]());case f.CustomizeRule.Replace:return n;case f.CustomizeRule.Append:return c["default"]([e,n],u["default"]())}}}e.customizeObject=b},"768b":function(t,e,n){"use strict";var r=n("a745"),i=n.n(r);function o(t){if(i()(t))return t}var s=n("67bb"),a=n.n(s),c=n("5d58"),u=n.n(c);function l(t,e){var n=null==t?null:"undefined"!==typeof a.a&&t[u.a]||t["@@iterator"];if(null!=n){var r,i,o=[],s=!0,c=!1;try{for(n=n.call(t);!(s=(r=n.next()).done);s=!0)if(o.push(r.value),e&&o.length===e)break}catch(l){c=!0,i=l}finally{try{s||null==n["return"]||n["return"]()}finally{if(c)throw i}}return o}}var f=n("e630");function h(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(t,e){return o(t)||l(t,e)||Object(f["a"])(t,e)||h()}n.d(e,"a",(function(){return d}))},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)},7744:function(t,e,n){"use strict";var r=n("c31d"),i=n("2638"),o=n.n(i),s=n("d282"),a=n("a142"),c=n("ba31"),u=n("48f4"),l=n("dfaf"),f=n("ad06"),h=Object(s["a"])("cell"),d=h[0],p=h[1];function g(t,e,n,r){var i,s=e.icon,l=e.size,h=e.title,d=e.label,g=e.value,v=e.isLink,y=n.title||Object(a["c"])(h);function m(){var r=n.label||Object(a["c"])(d);if(r)return t("div",{class:[p("label"),e.labelClass]},[n.label?n.label():d])}function I(){if(y)return t("div",{class:[p("title"),e.titleClass],style:e.titleStyle},[n.title?n.title():t("span",[h]),m()])}function M(){var r=n.default||Object(a["c"])(g);if(r)return t("div",{class:[p("value",{alone:!y}),e.valueClass]},[n.default?n.default():t("span",[g])])}function b(){return n.icon?n.icon():s?t(f["a"],{class:p("left-icon"),attrs:{name:s,classPrefix:e.iconPrefix}}):void 0}function _(){var r=n["right-icon"];if(r)return r();if(v){var i=e.arrowDirection;return t(f["a"],{class:p("right-icon"),attrs:{name:i?"arrow-"+i:"arrow"}})}}function A(t){Object(c["a"])(r,"click",t),Object(u["a"])(r)}var C=null!=(i=e.clickable)?i:v,T={clickable:C,center:e.center,required:e.required,borderless:!e.border};return l&&(T[l]=l),t("div",o()([{class:p(T),attrs:{role:C?"button":null,tabindex:C?0:null},on:{click:A}},Object(c["b"])(r)]),[b(),I(),M(),_(),null==n.extra?void 0:n.extra()])}g.props=Object(r["a"])({},l["a"],u["c"]),e["a"]=d(g)},"774e":function(t,e,n){t.exports=n("d2d5")},"77f1":function(t,e,n){var r=n("4588"),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},7872:function(t,e,n){var r=n("5ca1");r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},"788d":function(t,e,n){var r=n("5ca1"),i=n("6821"),o=n("9def");r(r.S,"String",{raw:function(t){var e=i(t.raw),n=o(e.length),r=arguments.length,s=[],a=0;while(n>a)s.push(String(e[a++])),a<r&&s.push(String(arguments[a]));return s.join("")}})},"78ce":function(t,e,n){var r=n("5ca1");r(r.S,"Date",{now:function(){return(new Date).getTime()}})},"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}))},"795b":function(t,e,n){t.exports=n("696e")},"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(e){return!0}}},"7a56":function(t,e,n){"use strict";var r=n("7726"),i=n("86cc"),o=n("9e1e"),s=n("2b4c")("species");t.exports=function(t){var e=r[t];o&&e&&!e[s]&&i.f(e,s,{configurable:!0,get:function(){return this}})}},"7a77":function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},"7aac":function(t,e,n){"use strict";var r=n("c532");t.exports=r.isStandardBrowserEnv()?function(){return{write:function(t,e,n,i,o,s){var a=[];a.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(i)&&a.push("path="+i),r.isString(o)&&a.push("domain="+o),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},"7b23":function(t,e,n){var r=n("d8e8"),i=n("4bf8"),o=n("626a"),s=n("9def");t.exports=function(t,e,n,a,c){r(e);var u=i(t),l=o(u),f=s(u.length),h=c?f-1:0,d=c?-1:1;if(n<2)for(;;){if(h in l){a=l[h],h+=d;break}if(h+=d,c?h<0:f<=h)throw TypeError("Reduce of empty array with no initial value")}for(;c?h>=0:f>h;h+=d)h in l&&(a=e(a,l[h],h,u));return a}},"7b3e":function(t,e,n){"use strict";var r,i=n("a3de");
- /**
- * Checks if an event is supported in the current execution environment.
- *
- * NOTE: This will not work correctly for non-generic events such as `change`,
- * `reset`, `load`, `error`, and `select`.
- *
- * Borrows from Modernizr.
- *
- * @param {string} eventNameSuffix Event name, e.g. "click".
- * @param {?boolean} capture Check if the capture phase is supported.
- * @return {boolean} True if the event is supported.
- * @internal
- * @license Modernizr 3.0.0pre (Custom Build) | MIT
- */
- function o(t,e){if(!i.canUseDOM||e&&!("addEventListener"in document))return!1;var n="on"+t,o=n in document;if(!o){var s=document.createElement("div");s.setAttribute(n,"return;"),o="function"===typeof s[n]}return!o&&r&&"wheel"===t&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}i.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),t.exports=o},"7bbc":function(t,e,n){var r=n("6821"),i=n("9093").f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(e){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?a(t):i(r(t))}},"7c0e":function(t,e,n){"use strict";n("aa77")("trimRight",(function(t){return function(){return t(this,2)}}),"trimEnd")},"7cd6":function(t,e,n){var r=n("40c3"),i=n("5168")("iterator"),o=n("481b");t.exports=n("584a").getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},"7cdf":function(t,e,n){var r=n("5ca1");r(r.S,"Number",{isInteger:n("9c12")})},"7cdff":function(t,e,n){var r=n("37a7"),i=n("cb7c"),o=r.keys,s=r.key;r.exp({getOwnMetadataKeys:function(t){return o(i(t),arguments.length<2?void 0:s(arguments[1]))}})},"7e90":function(t,e,n){var r=n("d9f6"),i=n("e4ae"),o=n("c3a1");t.exports=n("8e60")?Object.defineProperties:function(t,e){i(t);var n,s=o(e),a=s.length,c=0;while(a>c)r.f(t,n=s[c++],e[n]);return t}},"7f20":function(t,e,n){var r=n("86cc").f,i=n("69a8"),o=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},"7f25":function(t,e,n){var r=n("5ca1"),i=n("d6c6"),o=Math.sqrt,s=Math.acosh;r(r.S+r.F*!(s&&710==Math.floor(s(Number.MAX_VALUE))&&s(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},"7f7f":function(t,e,n){var r=n("86cc").f,i=Function.prototype,o=/^\s*function ([^ (]*)/,s="name";s in i||n("9e1e")&&r(i,s,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},"7ff6":function(t,e,n){"use strict";var r=n("5ca1"),i=n("cb7c"),o=function(t){this._t=i(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n("41a0")(o,"Object",(function(){var t,e=this,n=e._k;do{if(e._i>=n.length)return{value:void 0,done:!0}}while(!((t=n[e._i++])in e._t));return{value:t,done:!1}})),r(r.S,"Reflect",{enumerate:function(t){return new o(t)}})},8079:function(t,e,n){var r=n("7726"),i=n("1991").set,o=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,c="process"==n("2d95")(s);t.exports=function(){var t,e,n,u=function(){var r,i;c&&(r=s.domain)&&r.exit();while(t){i=t.fn,t=t.next;try{i()}catch(o){throw t?n():e=void 0,o}}e=void 0,r&&r.enter()};if(c)n=function(){s.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var l=a.resolve(void 0);n=function(){l.then(u)}}else n=function(){i.call(r,u)};else{var f=!0,h=document.createTextNode("");new o(u).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},8096:function(t,e,n){},8378:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},8381:function(t,e,n){"use strict";var r=n("cb7c"),i=n("6a99"),o="number";t.exports=function(t){if("string"!==t&&t!==o&&"default"!==t)throw TypeError("Incorrect hint");return i(r(this),t!=o)}},"83a1":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t===1/e:t!=t&&e!=e}},8436:function(t,e){t.exports=function(){}},8449:function(t,e,n){"use strict";n("386b")("anchor",(function(t){return function(e){return t(this,"a","name",e)}}))},8478:function(t,e,n){var r=n("5ca1");r(r.S,"Object",{create:n("2aeb")})},"84b4":function(t,e,n){var r=n("5ca1");r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},"84f2":function(t,e){t.exports={}},8580:function(t,e,n){n("ee6d"),t.exports=n("584a").Object.getOwnPropertyDescriptors},"85f2":function(t,e,n){t.exports=n("454f")},8615:function(t,e,n){var r=n("5ca1"),i=n("504c")(!1);r(r.S,"Object",{values:function(t){return i(t)}})},"86cc":function(t,e,n){var r=n("cb7c"),i=n("c69a"),o=n("6a99"),s=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"87b3":function(t,e,n){var r=Date.prototype,i="Invalid Date",o="toString",s=r[o],a=r.getTime;new Date(NaN)+""!=i&&n("2aba")(r,o,(function(){var t=a.call(this);return t===t?s.call(this):i}))},"87f3":function(t,e,n){var r=n("5ca1");r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},"88ca":function(t,e,n){var r=n("86cc"),i=n("5ca1"),o=n("cb7c"),s=n("6a99");i(i.S+i.F*n("79e5")((function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(t,e,n){o(t),e=s(e,!0),o(n);try{return r.f(t,e,n),!0}catch(i){return!1}}})},"896f":function(t,e,n){var r=n("37a7"),i=n("cb7c"),o=n("38fd"),s=r.has,a=r.key,c=function(t,e,n){var r=s(t,e,n);if(r)return!0;var i=o(e);return null!==i&&c(t,i,n)};r.exp({hasMetadata:function(t,e){return c(t,i(e),arguments.length<3?void 0:a(arguments[2]))}})},"8a52":function(t,e,n){"use strict";e.__esModule=!0,e.CustomizeRule=void 0,function(t){t["Match"]="match",t["Merge"]="merge",t["Append"]="append",t["Prepend"]="prepend",t["Replace"]="replace"}(e.CustomizeRule||(e.CustomizeRule={}))},"8a5c":function(t,e,n){var r=n("5ca1");r(r.S,"Math",{umulh:function(t,e){var n=65535,r=+t,i=+e,o=r&n,s=i&n,a=r>>>16,c=i>>>16,u=(a*s>>>0)+(o*s>>>16);return a*c+(u>>>16)+((o*c>>>0)+(u&n)>>>16)}})},"8a81":function(t,e,n){"use strict";var r=n("7726"),i=n("69a8"),o=n("9e1e"),s=n("5ca1"),a=n("2aba"),c=n("67ab").KEY,u=n("79e5"),l=n("5537"),f=n("7f20"),h=n("ca5a"),d=n("2b4c"),p=n("37c8"),g=n("3a72"),v=n("d4c0"),y=n("1169"),m=n("cb7c"),I=n("d3f4"),M=n("4bf8"),b=n("6821"),_=n("6a99"),A=n("4630"),C=n("2aeb"),T=n("7bbc"),E=n("11e9"),w=n("2621"),N=n("86cc"),S=n("0d58"),O=E.f,D=N.f,R=T.f,L=r.Symbol,x=r.JSON,j=x&&x.stringify,k="prototype",P=d("_hidden"),U=d("toPrimitive"),z={}.propertyIsEnumerable,G=l("symbol-registry"),B=l("symbols"),Y=l("op-symbols"),F=Object[k],$="function"==typeof L&&!!w.f,H=r.QObject,V=!H||!H[k]||!H[k].findChild,Q=o&&u((function(){return 7!=C(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=O(F,e);r&&delete F[e],D(t,e,n),r&&t!==F&&D(F,e,r)}:D,W=function(t){var e=B[t]=C(L[k]);return e._k=t,e},Z=$&&"symbol"==typeof L.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof L},K=function(t,e,n){return t===F&&K(Y,e,n),m(t),e=_(e,!0),m(n),i(B,e)?(n.enumerable?(i(t,P)&&t[P][e]&&(t[P][e]=!1),n=C(n,{enumerable:A(0,!1)})):(i(t,P)||D(t,P,A(1,{})),t[P][e]=!0),Q(t,e,n)):D(t,e,n)},q=function(t,e){m(t);var n,r=v(e=b(e)),i=0,o=r.length;while(o>i)K(t,n=r[i++],e[n]);return t},J=function(t,e){return void 0===e?C(t):q(C(t),e)},X=function(t){var e=z.call(this,t=_(t,!0));return!(this===F&&i(B,t)&&!i(Y,t))&&(!(e||!i(this,t)||!i(B,t)||i(this,P)&&this[P][t])||e)},tt=function(t,e){if(t=b(t),e=_(e,!0),t!==F||!i(B,e)||i(Y,e)){var n=O(t,e);return!n||!i(B,e)||i(t,P)&&t[P][e]||(n.enumerable=!0),n}},et=function(t){var e,n=R(b(t)),r=[],o=0;while(n.length>o)i(B,e=n[o++])||e==P||e==c||r.push(e);return r},nt=function(t){var e,n=t===F,r=R(n?Y:b(t)),o=[],s=0;while(r.length>s)!i(B,e=r[s++])||n&&!i(F,e)||o.push(B[e]);return o};$||(L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===F&&e.call(Y,n),i(this,P)&&i(this[P],t)&&(this[P][t]=!1),Q(this,t,A(1,n))};return o&&V&&Q(F,t,{configurable:!0,set:e}),W(t)},a(L[k],"toString",(function(){return this._k})),E.f=tt,N.f=K,n("9093").f=T.f=et,n("52a7").f=X,w.f=nt,o&&!n("2d00")&&a(F,"propertyIsEnumerable",X,!0),p.f=function(t){return W(d(t))}),s(s.G+s.W+s.F*!$,{Symbol:L});for(var rt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),it=0;rt.length>it;)d(rt[it++]);for(var ot=S(d.store),st=0;ot.length>st;)g(ot[st++]);s(s.S+s.F*!$,"Symbol",{for:function(t){return i(G,t+="")?G[t]:G[t]=L(t)},keyFor:function(t){if(!Z(t))throw TypeError(t+" is not a symbol!");for(var e in G)if(G[e]===t)return e},useSetter:function(){V=!0},useSimple:function(){V=!1}}),s(s.S+s.F*!$,"Object",{create:J,defineProperty:K,defineProperties:q,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:nt});var at=u((function(){w.f(1)}));s(s.S+s.F*at,"Object",{getOwnPropertySymbols:function(t){return w.f(M(t))}}),x&&s(s.S+s.F*(!$||u((function(){var t=L();return"[null]"!=j([t])||"{}"!=j({a:t})||"{}"!=j(Object(t))}))),"JSON",{stringify:function(t){var e,n,r=[t],i=1;while(arguments.length>i)r.push(arguments[i++]);if(n=e=r[1],(I(e)||void 0!==t)&&!Z(t))return y(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!Z(e))return e}),r[1]=e,j.apply(x,r)}}),L[k][U]||n("32e9")(L[k],U,L[k].valueOf),f(L,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},"8aae":function(t,e,n){n("32a6"),t.exports=n("584a").Object.keys},"8b97":function(t,e,n){var r=n("d3f4"),i=n("cb7c"),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(i){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},"8c4f":function(t,e,n){"use strict";
- /*!
- * vue-router v3.0.6
- * (c) 2019 Evan You
- * @license MIT
- */function r(t,e){0}function i(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function o(t,e){for(var n in e)t[n]=e[n];return t}var s={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,i=e.parent,s=e.data;s.routerView=!0;var c=i.$createElement,u=n.name,l=i.$route,f=i._routerViewCache||(i._routerViewCache={}),h=0,d=!1;while(i&&i._routerRoot!==i){var p=i.$vnode&&i.$vnode.data;p&&(p.routerView&&h++,p.keepAlive&&i._inactive&&(d=!0)),i=i.$parent}if(s.routerViewDepth=h,d)return c(f[u],s,r);var g=l.matched[h];if(!g)return f[u]=null,c();var v=f[u]=g.components[u];s.registerRouteInstance=function(t,e){var n=g.instances[u];(e&&n!==t||!e&&n===t)&&(g.instances[u]=e)},(s.hook||(s.hook={})).prepatch=function(t,e){g.instances[u]=e.componentInstance},s.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==g.instances[u]&&(g.instances[u]=t.componentInstance)};var y=s.props=a(l,g.props&&g.props[u]);if(y){y=s.props=o({},y);var m=s.attrs=s.attrs||{};for(var I in y)v.props&&I in v.props||(m[I]=y[I],delete y[I])}return c(v,s,r)}};function a(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}var c=/[!'()*]/g,u=function(t){return"%"+t.charCodeAt(0).toString(16)},l=/%2C/g,f=function(t){return encodeURIComponent(t).replace(c,u).replace(l,",")},h=decodeURIComponent;function d(t,e,n){void 0===e&&(e={});var r,i=n||p;try{r=i(t||"")}catch(s){r={}}for(var o in e)r[o]=e[o];return r}function p(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),r=h(n.shift()),i=n.length>0?h(n.join("=")):null;void 0===e[r]?e[r]=i:Array.isArray(e[r])?e[r].push(i):e[r]=[e[r],i]})),e):e}function g(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return f(e);if(Array.isArray(n)){var r=[];return n.forEach((function(t){void 0!==t&&(null===t?r.push(f(e)):r.push(f(e)+"="+f(t)))})),r.join("&")}return f(e)+"="+f(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var v=/\/?$/;function y(t,e,n,r){var i=r&&r.options.stringifyQuery,o=e.query||{};try{o=m(o)}catch(a){}var s={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:o,params:e.params||{},fullPath:b(e,i),matched:t?M(t):[]};return n&&(s.redirectedFrom=b(n,i)),Object.freeze(s)}function m(t){if(Array.isArray(t))return t.map(m);if(t&&"object"===typeof t){var e={};for(var n in t)e[n]=m(t[n]);return e}return t}var I=y(null,{path:"/"});function M(t){var e=[];while(t)e.unshift(t),t=t.parent;return e}function b(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var i=t.hash;void 0===i&&(i="");var o=e||g;return(n||"/")+o(r)+i}function _(t,e){return e===I?t===e:!!e&&(t.path&&e.path?t.path.replace(v,"")===e.path.replace(v,"")&&t.hash===e.hash&&A(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&A(t.query,e.query)&&A(t.params,e.params)))}function A(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every((function(n){var r=t[n],i=e[n];return"object"===typeof r&&"object"===typeof i?A(r,i):String(r)===String(i)}))}function C(t,e){return 0===t.path.replace(v,"/").indexOf(e.path.replace(v,"/"))&&(!e.hash||t.hash===e.hash)&&T(t.query,e.query)}function T(t,e){for(var n in e)if(!(n in t))return!1;return!0}var E,w=[String,Object],N=[String,Array],S={name:"RouterLink",props:{to:{type:w,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:N,default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,i=n.resolve(this.to,r,this.append),s=i.location,a=i.route,c=i.href,u={},l=n.options.linkActiveClass,f=n.options.linkExactActiveClass,h=null==l?"router-link-active":l,d=null==f?"router-link-exact-active":f,p=null==this.activeClass?h:this.activeClass,g=null==this.exactActiveClass?d:this.exactActiveClass,v=s.path?y(null,s,null,n):a;u[g]=_(r,v),u[p]=this.exact?u[g]:C(r,v);var m=function(t){O(t)&&(e.replace?n.replace(s):n.push(s))},I={click:O};Array.isArray(this.event)?this.event.forEach((function(t){I[t]=m})):I[this.event]=m;var M={class:u};if("a"===this.tag)M.on=I,M.attrs={href:c};else{var b=D(this.$slots.default);if(b){b.isStatic=!1;var A=b.data=o({},b.data);A.on=I;var T=b.data.attrs=o({},b.data.attrs);T.href=c}else M.on=I}return t(this.tag,M,this.$slots.default)}};function O(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function D(t){if(t)for(var e,n=0;n<t.length;n++){if(e=t[n],"a"===e.tag)return e;if(e.children&&(e=D(e.children)))return e}}function R(t){if(!R.installed||E!==t){R.installed=!0,E=t;var e=function(t){return void 0!==t},n=function(t,n){var r=t.$options._parentVnode;e(r)&&e(r=r.data)&&e(r=r.registerRouteInstance)&&r(t,n)};t.mixin({beforeCreate:function(){e(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),t.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,n(this,this)},destroyed:function(){n(this)}}),Object.defineProperty(t.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(t.prototype,"$route",{get:function(){return this._routerRoot._route}}),t.component("RouterView",s),t.component("RouterLink",S);var r=t.config.optionMergeStrategies;r.beforeRouteEnter=r.beforeRouteLeave=r.beforeRouteUpdate=r.created}}var L="undefined"!==typeof window;function x(t,e,n){var r=t.charAt(0);if("/"===r)return t;if("?"===r||"#"===r)return e+t;var i=e.split("/");n&&i[i.length-1]||i.pop();for(var o=t.replace(/^\//,"").split("/"),s=0;s<o.length;s++){var a=o[s];".."===a?i.pop():"."!==a&&i.push(a)}return""!==i[0]&&i.unshift(""),i.join("/")}function j(t){var e="",n="",r=t.indexOf("#");r>=0&&(e=t.slice(r),t=t.slice(0,r));var i=t.indexOf("?");return i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),{path:t,query:n,hash:e}}function k(t){return t.replace(/\/\//g,"/")}var P=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},U=rt,z=$,G=H,B=W,Y=nt,F=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function $(t,e){var n,r=[],i=0,o=0,s="",a=e&&e.delimiter||"/";while(null!=(n=F.exec(t))){var c=n[0],u=n[1],l=n.index;if(s+=t.slice(o,l),o=l+c.length,u)s+=u[1];else{var f=t[o],h=n[2],d=n[3],p=n[4],g=n[5],v=n[6],y=n[7];s&&(r.push(s),s="");var m=null!=h&&null!=f&&f!==h,I="+"===v||"*"===v,M="?"===v||"*"===v,b=n[2]||a,_=p||g;r.push({name:d||i++,prefix:h||"",delimiter:b,optional:M,repeat:I,partial:m,asterisk:!!y,pattern:_?K(_):y?".*":"[^"+Z(b)+"]+?"})}}return o<t.length&&(s+=t.substr(o)),s&&r.push(s),r}function H(t,e){return W($(t,e))}function V(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function Q(t){return encodeURI(t).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function W(t){for(var e=new Array(t.length),n=0;n<t.length;n++)"object"===typeof t[n]&&(e[n]=new RegExp("^(?:"+t[n].pattern+")$"));return function(n,r){for(var i="",o=n||{},s=r||{},a=s.pretty?V:encodeURIComponent,c=0;c<t.length;c++){var u=t[c];if("string"!==typeof u){var l,f=o[u.name];if(null==f){if(u.optional){u.partial&&(i+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(P(f)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var h=0;h<f.length;h++){if(l=a(f[h]),!e[c].test(l))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(l)+"`");i+=(0===h?u.prefix:u.delimiter)+l}}else{if(l=u.asterisk?Q(f):a(f),!e[c].test(l))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+l+'"');i+=u.prefix+l}}else i+=u}return i}}function Z(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function K(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function q(t,e){return t.keys=e,t}function J(t){return t.sensitive?"":"i"}function X(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return q(t,e)}function tt(t,e,n){for(var r=[],i=0;i<t.length;i++)r.push(rt(t[i],e,n).source);var o=new RegExp("(?:"+r.join("|")+")",J(n));return q(o,e)}function et(t,e,n){return nt($(t,n),e,n)}function nt(t,e,n){P(e)||(n=e||n,e=[]),n=n||{};for(var r=n.strict,i=!1!==n.end,o="",s=0;s<t.length;s++){var a=t[s];if("string"===typeof a)o+=Z(a);else{var c=Z(a.prefix),u="(?:"+a.pattern+")";e.push(a),a.repeat&&(u+="(?:"+c+u+")*"),u=a.optional?a.partial?c+"("+u+")?":"(?:"+c+"("+u+"))?":c+"("+u+")",o+=u}}var l=Z(n.delimiter||"/"),f=o.slice(-l.length)===l;return r||(o=(f?o.slice(0,-l.length):o)+"(?:"+l+"(?=$))?"),o+=i?"$":r&&f?"":"(?="+l+"|$)",q(new RegExp("^"+o,J(n)),e)}function rt(t,e,n){return P(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?X(t,e):P(t)?tt(t,e,n):et(t,e,n)}U.parse=z,U.compile=G,U.tokensToFunction=B,U.tokensToRegExp=Y;var it=Object.create(null);function ot(t,e,n){e=e||{};try{var r=it[t]||(it[t]=U.compile(t));return e.pathMatch&&(e[0]=e.pathMatch),r(e,{pretty:!0})}catch(i){return""}finally{delete e[0]}}function st(t,e,n,r){var i=e||[],o=n||Object.create(null),s=r||Object.create(null);t.forEach((function(t){at(i,o,s,t)}));for(var a=0,c=i.length;a<c;a++)"*"===i[a]&&(i.push(i.splice(a,1)[0]),c--,a--);return{pathList:i,pathMap:o,nameMap:s}}function at(t,e,n,r,i,o){var s=r.path,a=r.name;var c=r.pathToRegexpOptions||{},u=ut(s,i,c.strict);"boolean"===typeof r.caseSensitive&&(c.sensitive=r.caseSensitive);var l={path:u,regex:ct(u,c),components:r.components||{default:r.component},instances:{},name:a,parent:i,matchAs:o,redirect:r.redirect,beforeEnter:r.beforeEnter,meta:r.meta||{},props:null==r.props?{}:r.components?r.props:{default:r.props}};if(r.children&&r.children.forEach((function(r){var i=o?k(o+"/"+r.path):void 0;at(t,e,n,r,l,i)})),void 0!==r.alias){var f=Array.isArray(r.alias)?r.alias:[r.alias];f.forEach((function(o){var s={path:o,children:r.children};at(t,e,n,s,i,l.path||"/")}))}e[l.path]||(t.push(l.path),e[l.path]=l),a&&(n[a]||(n[a]=l))}function ct(t,e){var n=U(t,[],e);return n}function ut(t,e,n){return n||(t=t.replace(/\/$/,"")),"/"===t[0]||null==e?t:k(e.path+"/"+t)}function lt(t,e,n,r){var i="string"===typeof t?{path:t}:t;if(i._normalized)return i;if(i.name)return o({},t);if(!i.path&&i.params&&e){i=o({},i),i._normalized=!0;var s=o(o({},e.params),i.params);if(e.name)i.name=e.name,i.params=s;else if(e.matched.length){var a=e.matched[e.matched.length-1].path;i.path=ot(a,s,"path "+e.path)}else 0;return i}var c=j(i.path||""),u=e&&e.path||"/",l=c.path?x(c.path,u,n||i.append):u,f=d(c.query,i.query,r&&r.options.parseQuery),h=i.hash||c.hash;return h&&"#"!==h.charAt(0)&&(h="#"+h),{_normalized:!0,path:l,query:f,hash:h}}function ft(t,e){var n=st(t),r=n.pathList,i=n.pathMap,o=n.nameMap;function s(t){st(t,r,i,o)}function a(t,n,s){var a=lt(t,n,!1,e),c=a.name;if(c){var u=o[c];if(!u)return l(null,a);var f=u.regex.keys.filter((function(t){return!t.optional})).map((function(t){return t.name}));if("object"!==typeof a.params&&(a.params={}),n&&"object"===typeof n.params)for(var h in n.params)!(h in a.params)&&f.indexOf(h)>-1&&(a.params[h]=n.params[h]);if(u)return a.path=ot(u.path,a.params,'named route "'+c+'"'),l(u,a,s)}else if(a.path){a.params={};for(var d=0;d<r.length;d++){var p=r[d],g=i[p];if(ht(g.regex,a.path,a.params))return l(g,a,s)}}return l(null,a)}function c(t,n){var r=t.redirect,i="function"===typeof r?r(y(t,n,null,e)):r;if("string"===typeof i&&(i={path:i}),!i||"object"!==typeof i)return l(null,n);var s=i,c=s.name,u=s.path,f=n.query,h=n.hash,d=n.params;if(f=s.hasOwnProperty("query")?s.query:f,h=s.hasOwnProperty("hash")?s.hash:h,d=s.hasOwnProperty("params")?s.params:d,c){o[c];return a({_normalized:!0,name:c,query:f,hash:h,params:d},void 0,n)}if(u){var p=dt(u,t),g=ot(p,d,'redirect route with path "'+p+'"');return a({_normalized:!0,path:g,query:f,hash:h},void 0,n)}return l(null,n)}function u(t,e,n){var r=ot(n,e.params,'aliased route with path "'+n+'"'),i=a({_normalized:!0,path:r});if(i){var o=i.matched,s=o[o.length-1];return e.params=i.params,l(s,e)}return l(null,e)}function l(t,n,r){return t&&t.redirect?c(t,r||n):t&&t.matchAs?u(t,n,t.matchAs):y(t,n,r,e)}return{match:a,addRoutes:s}}function ht(t,e,n){var r=e.match(t);if(!r)return!1;if(!n)return!0;for(var i=1,o=r.length;i<o;++i){var s=t.keys[i-1],a="string"===typeof r[i]?decodeURIComponent(r[i]):r[i];s&&(n[s.name||"pathMatch"]=a)}return!0}function dt(t,e){return x(t,e.parent?e.parent.path:"/",!0)}var pt=Object.create(null);function gt(){window.history.replaceState({key:St()},"",window.location.href.replace(window.location.origin,"")),window.addEventListener("popstate",(function(t){yt(),t.state&&t.state.key&&Ot(t.state.key)}))}function vt(t,e,n,r){if(t.app){var i=t.options.scrollBehavior;i&&t.app.$nextTick((function(){var o=mt(),s=i.call(t,e,n,r?o:null);s&&("function"===typeof s.then?s.then((function(t){Ct(t,o)})).catch((function(t){0})):Ct(s,o))}))}}function yt(){var t=St();t&&(pt[t]={x:window.pageXOffset,y:window.pageYOffset})}function mt(){var t=St();if(t)return pt[t]}function It(t,e){var n=document.documentElement,r=n.getBoundingClientRect(),i=t.getBoundingClientRect();return{x:i.left-r.left-e.x,y:i.top-r.top-e.y}}function Mt(t){return At(t.x)||At(t.y)}function bt(t){return{x:At(t.x)?t.x:window.pageXOffset,y:At(t.y)?t.y:window.pageYOffset}}function _t(t){return{x:At(t.x)?t.x:0,y:At(t.y)?t.y:0}}function At(t){return"number"===typeof t}function Ct(t,e){var n="object"===typeof t;if(n&&"string"===typeof t.selector){var r=document.querySelector(t.selector);if(r){var i=t.offset&&"object"===typeof t.offset?t.offset:{};i=_t(i),e=It(r,i)}else Mt(t)&&(e=bt(t))}else n&&Mt(t)&&(e=bt(t));e&&window.scrollTo(e.x,e.y)}var Tt=L&&function(){var t=window.navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&(window.history&&"pushState"in window.history)}(),Et=L&&window.performance&&window.performance.now?window.performance:Date,wt=Nt();function Nt(){return Et.now().toFixed(3)}function St(){return wt}function Ot(t){wt=t}function Dt(t,e){yt();var n=window.history;try{e?n.replaceState({key:wt},"",t):(wt=Nt(),n.pushState({key:wt},"",t))}catch(r){window.location[e?"replace":"assign"](t)}}function Rt(t){Dt(t,!0)}function Lt(t,e,n){var r=function(i){i>=t.length?n():t[i]?e(t[i],(function(){r(i+1)})):r(i+1)};r(0)}function xt(t){return function(e,n,r){var o=!1,s=0,a=null;jt(t,(function(t,e,n,c){if("function"===typeof t&&void 0===t.cid){o=!0,s++;var u,l=zt((function(e){Ut(e)&&(e=e.default),t.resolved="function"===typeof e?e:E.extend(e),n.components[c]=e,s--,s<=0&&r()})),f=zt((function(t){var e="Failed to resolve async component "+c+": "+t;a||(a=i(t)?t:new Error(e),r(a))}));try{u=t(l,f)}catch(d){f(d)}if(u)if("function"===typeof u.then)u.then(l,f);else{var h=u.component;h&&"function"===typeof h.then&&h.then(l,f)}}})),o||r()}}function jt(t,e){return kt(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function kt(t){return Array.prototype.concat.apply([],t)}var Pt="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Ut(t){return t.__esModule||Pt&&"Module"===t[Symbol.toStringTag]}function zt(t){var e=!1;return function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var Gt=function(t,e){this.router=t,this.base=Bt(e),this.current=I,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function Bt(t){if(!t)if(L){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function Yt(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n<r;n++)if(t[n]!==e[n])break;return{updated:e.slice(0,n),activated:e.slice(n),deactivated:t.slice(n)}}function Ft(t,e,n,r){var i=jt(t,(function(t,r,i,o){var s=$t(t,e);if(s)return Array.isArray(s)?s.map((function(t){return n(t,r,i,o)})):n(s,r,i,o)}));return kt(r?i.reverse():i)}function $t(t,e){return"function"!==typeof t&&(t=E.extend(t)),t.options[e]}function Ht(t){return Ft(t,"beforeRouteLeave",Qt,!0)}function Vt(t){return Ft(t,"beforeRouteUpdate",Qt)}function Qt(t,e){if(e)return function(){return t.apply(e,arguments)}}function Wt(t,e,n){return Ft(t,"beforeRouteEnter",(function(t,r,i,o){return Zt(t,i,o,e,n)}))}function Zt(t,e,n,r,i){return function(o,s,a){return t(o,s,(function(t){a(t),"function"===typeof t&&r.push((function(){Kt(t,e.instances,n,i)}))}))}}function Kt(t,e,n,r){e[n]&&!e[n]._isBeingDestroyed?t(e[n]):r()&&setTimeout((function(){Kt(t,e,n,r)}),16)}Gt.prototype.listen=function(t){this.cb=t},Gt.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},Gt.prototype.onError=function(t){this.errorCbs.push(t)},Gt.prototype.transitionTo=function(t,e,n){var r=this,i=this.router.match(t,this.current);this.confirmTransition(i,(function(){r.updateRoute(i),e&&e(i),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach((function(t){t(i)})))}),(function(t){n&&n(t),t&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach((function(e){e(t)})))}))},Gt.prototype.confirmTransition=function(t,e,n){var o=this,s=this.current,a=function(t){i(t)&&(o.errorCbs.length?o.errorCbs.forEach((function(e){e(t)})):(r(!1,"uncaught error during route navigation:"),console.error(t))),n&&n(t)};if(_(t,s)&&t.matched.length===s.matched.length)return this.ensureURL(),a();var c=Yt(this.current.matched,t.matched),u=c.updated,l=c.deactivated,f=c.activated,h=[].concat(Ht(l),this.router.beforeHooks,Vt(u),f.map((function(t){return t.beforeEnter})),xt(f));this.pending=t;var d=function(e,n){if(o.pending!==t)return a();try{e(t,s,(function(t){!1===t||i(t)?(o.ensureURL(!0),a(t)):"string"===typeof t||"object"===typeof t&&("string"===typeof t.path||"string"===typeof t.name)?(a(),"object"===typeof t&&t.replace?o.replace(t):o.push(t)):n(t)}))}catch(r){a(r)}};Lt(h,d,(function(){var n=[],r=function(){return o.current===t},i=Wt(f,n,r),s=i.concat(o.router.resolveHooks);Lt(s,d,(function(){if(o.pending!==t)return a();o.pending=null,e(t),o.router.app&&o.router.app.$nextTick((function(){n.forEach((function(t){t()}))}))}))}))},Gt.prototype.updateRoute=function(t){var e=this.current;this.current=t,this.cb&&this.cb(t),this.router.afterHooks.forEach((function(n){n&&n(t,e)}))};var qt=function(t){function e(e,n){var r=this;t.call(this,e,n);var i=e.options.scrollBehavior,o=Tt&&i;o&>();var s=Jt(this.base);window.addEventListener("popstate",(function(t){var n=r.current,i=Jt(r.base);r.current===I&&i===s||r.transitionTo(i,(function(t){o&&vt(e,t,n,!0)}))}))}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,(function(t){Dt(k(r.base+t.fullPath)),vt(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,(function(t){Rt(k(r.base+t.fullPath)),vt(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(Jt(this.base)!==this.current.fullPath){var e=k(this.base+this.current.fullPath);t?Dt(e):Rt(e)}},e.prototype.getCurrentLocation=function(){return Jt(this.base)},e}(Gt);function Jt(t){var e=decodeURI(window.location.pathname);return t&&0===e.indexOf(t)&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var Xt=function(t){function e(e,n,r){t.call(this,e,n),r&&te(this.base)||ee()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this,e=this.router,n=e.options.scrollBehavior,r=Tt&&n;r&>(),window.addEventListener(Tt?"popstate":"hashchange",(function(){var e=t.current;ee()&&t.transitionTo(ne(),(function(n){r&&vt(t.router,n,e,!0),Tt||oe(n.fullPath)}))}))},e.prototype.push=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,(function(t){ie(t.fullPath),vt(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,i=this,o=i.current;this.transitionTo(t,(function(t){oe(t.fullPath),vt(r.router,t,o,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;ne()!==e&&(t?ie(e):oe(e))},e.prototype.getCurrentLocation=function(){return ne()},e}(Gt);function te(t){var e=Jt(t);if(!/^\/#/.test(e))return window.location.replace(k(t+"/#"+e)),!0}function ee(){var t=ne();return"/"===t.charAt(0)||(oe("/"+t),!1)}function ne(){var t=window.location.href,e=t.indexOf("#");if(e<0)return"";t=t.slice(e+1);var n=t.indexOf("?");if(n<0){var r=t.indexOf("#");t=r>-1?decodeURI(t.slice(0,r))+t.slice(r):decodeURI(t)}else n>-1&&(t=decodeURI(t.slice(0,n))+t.slice(n));return t}function re(t){var e=window.location.href,n=e.indexOf("#"),r=n>=0?e.slice(0,n):e;return r+"#"+t}function ie(t){Tt?Dt(re(t)):window.location.hash=t}function oe(t){Tt?Rt(re(t)):window.location.replace(re(t))}var se=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){e.index=n,e.updateRoute(r)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Gt),ae=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=ft(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Tt&&!1!==t.fallback,this.fallback&&(e="hash"),L||(e="abstract"),this.mode=e,e){case"history":this.history=new qt(this,t.base);break;case"hash":this.history=new Xt(this,t.base,this.fallback);break;case"abstract":this.history=new se(this,t.base);break;default:0}},ce={currentRoute:{configurable:!0}};function ue(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function le(t,e,n){var r="hash"===n?"#"+e:e;return t?k(t+"/"+r):r}ae.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},ce.currentRoute.get=function(){return this.history&&this.history.current},ae.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null)})),!this.app){this.app=t;var n=this.history;if(n instanceof qt)n.transitionTo(n.getCurrentLocation());else if(n instanceof Xt){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},ae.prototype.beforeEach=function(t){return ue(this.beforeHooks,t)},ae.prototype.beforeResolve=function(t){return ue(this.resolveHooks,t)},ae.prototype.afterEach=function(t){return ue(this.afterHooks,t)},ae.prototype.onReady=function(t,e){this.history.onReady(t,e)},ae.prototype.onError=function(t){this.history.onError(t)},ae.prototype.push=function(t,e,n){this.history.push(t,e,n)},ae.prototype.replace=function(t,e,n){this.history.replace(t,e,n)},ae.prototype.go=function(t){this.history.go(t)},ae.prototype.back=function(){this.go(-1)},ae.prototype.forward=function(){this.go(1)},ae.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},ae.prototype.resolve=function(t,e,n){e=e||this.history.current;var r=lt(t,e,n,this),i=this.match(r,e),o=i.redirectedFrom||i.fullPath,s=this.history.base,a=le(s,o,this.mode);return{location:r,route:i,href:a,normalizedTo:r,resolved:i}},ae.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==I&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(ae.prototype,ce),ae.install=R,ae.version="3.0.6",L&&window.Vue&&window.Vue.use(ae),e["a"]=ae},"8df4":function(t,e,n){"use strict";var r=n("7a77");function i(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var t,e=new i((function(e){t=e}));return{token:e,cancel:t}},t.exports=i},"8e60":function(t,e,n){t.exports=!n("294c")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"8e6e":function(t,e,n){var r=n("5ca1"),i=n("990b"),o=n("6821"),s=n("11e9"),a=n("f1ae");r(r.S,"Object",{getOwnPropertyDescriptors:function(t){var e,n,r=o(t),c=s.f,u=i(r),l={},f=0;while(u.length>f)n=c(r,e=u[f++]),void 0!==n&&a(l,e,n);return l}})},"8ea5":function(t,e,n){var r=n("5ca1"),i=n("8ed0");r(r.P+r.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},"8eb7":function(t,e){var n,r,i,o,s,a,c,u,l,f,h,d,p,g,v,y=!1;function m(){if(!y){y=!0;var t=navigator.userAgent,e=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(t),m=/(Mac OS X)|(Windows)|(Linux)/.exec(t);if(d=/\b(iPhone|iP[ao]d)/.exec(t),p=/\b(iP[ao]d)/.exec(t),f=/Android/i.exec(t),g=/FBAN\/\w+;/i.exec(t),v=/Mobile/i.exec(t),h=!!/Win64/.exec(t),e){n=e[1]?parseFloat(e[1]):e[5]?parseFloat(e[5]):NaN,n&&document&&document.documentMode&&(n=document.documentMode);var I=/(?:Trident\/(\d+.\d+))/.exec(t);a=I?parseFloat(I[1])+4:n,r=e[2]?parseFloat(e[2]):NaN,i=e[3]?parseFloat(e[3]):NaN,o=e[4]?parseFloat(e[4]):NaN,o?(e=/(?:Chrome\/(\d+\.\d+))/.exec(t),s=e&&e[1]?parseFloat(e[1]):NaN):s=NaN}else n=r=i=s=o=NaN;if(m){if(m[1]){var M=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(t);c=!M||parseFloat(M[1].replace("_","."))}else c=!1;u=!!m[2],l=!!m[3]}else c=u=l=!1}}var I={ie:function(){return m()||n},ieCompatibilityMode:function(){return m()||a>n},ie64:function(){return I.ie()&&h},firefox:function(){return m()||r},opera:function(){return m()||i},webkit:function(){return m()||o},safari:function(){return I.webkit()},chrome:function(){return m()||s},windows:function(){return m()||u},osx:function(){return m()||c},linux:function(){return m()||l},iphone:function(){return m()||d},mobile:function(){return m()||d||p||f||v},nativeApp:function(){return m()||g},android:function(){return m()||f},ipad:function(){return m()||p}};t.exports=I},"8ed0":function(t,e,n){"use strict";var r=n("79e5"),i=Date.prototype.getTime,o=Date.prototype.toISOString,s=function(t){return t>9?t:"0"+t};t.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-50000000000001))}))||!r((function(){o.call(new Date(NaN))}))?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+s(t.getUTCMonth()+1)+"-"+s(t.getUTCDate())+"T"+s(t.getUTCHours())+":"+s(t.getUTCMinutes())+":"+s(t.getUTCSeconds())+"."+(n>99?n:"0"+s(n))+"Z"}:o},"8f60":function(t,e,n){"use strict";var r=n("a159"),i=n("aebd"),o=n("45f2"),s={};n("35e8")(s,n("5168")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},"8f9b":function(t,e,n){!function(e,r){t.exports=r(n("2b0e"))}("undefined"!=typeof self&&self,(function(t){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="./",e(e.s=64)}([function(t,e,n){"use strict";var r=n(45),i=n.n(r),o=n(6),s=n(50),a=n(13),c=n(49),u=n(27);e.a={data:function(){return{unwatchFns:[]}},mounted:function(){var t=this;a.b&&a.b.load().then((function(){t.__contextReady&&t.__contextReady.call(t,t.convertProps())})),this.$amap=this.$amap||this.$parent.$amap,this.$amap?this.register():this.$on(c.a.AMAP_READY_EVENT,(function(e){t.$amap=e,t.register()}))},destroyed:function(){this.unregisterEvents(),this.$amapComponent&&(this.$amapComponent.setMap&&this.$amapComponent.setMap(null),this.$amapComponent.close&&this.$amapComponent.close(),this.$amapComponent.editor&&this.$amapComponent.editor.close(),this.unwatchFns.forEach((function(t){return t()})),this.unwatchFns=[])},methods:{getHandlerFun:function(t){return this.handlers&&this.handlers[t]?this.handlers[t]:this.$amapComponent["set"+i()(t)]||this.$amapComponent.setOptions},convertProps:function(){var t=this,e={};this.$amap&&(e.map=this.$amap);var n=this.$options.propsData,r=void 0===n?{}:n,i=this.propsRedirect;return Object.keys(r).reduce((function(n,o){var s=o,a=t.convertSignalProp(s,r[s]);return void 0===a||(i&&i[o]&&(s=i[s]),e[s]=a),n}),e)},convertSignalProp:function(t,e){var n="",r="";if(this.amapTagName)try{var s=i()(this.amapTagName).replace(/^El/,"");r=(u.default[s]||"").props[t].$type,n=o.a[r]}catch(t){}if(r&&n)return n(e);if(this.converters&&this.converters[t])return this.converters[t].call(this,e);var a=o.a[t];return a?a(e):e},registerEvents:function(){if(this.setEditorEvents&&this.setEditorEvents(),this.$options.propsData){if(this.$options.propsData.events)for(var t in this.events)s.a.addListener(this.$amapComponent,t,this.events[t]);if(this.$options.propsData.onceEvents)for(var e in this.onceEvents)s.a.addListenerOnce(this.$amapComponent,e,this.onceEvents[e])}},unregisterEvents:function(){s.a.clearListeners(this.$amapComponent)},setPropWatchers:function(){var t=this,e=this.propsRedirect,n=this.$options.propsData,r=void 0===n?{}:n;Object.keys(r).forEach((function(n){var r=n;e&&e[n]&&(r=e[n]);var i=t.getHandlerFun(r);if(i||"events"===n){var o=t.$watch(n,(function(e){return"events"===n?(t.unregisterEvents(),void t.registerEvents()):i&&i===t.$amapComponent.setOptions?i.call(t.$amapComponent,(o={},o[r]=t.convertSignalProp(n,e),o)):void i.call(t.$amapComponent,t.convertSignalProp(n,e));var o}));t.unwatchFns.push(o)}}))},registerToManager:function(){var t=this.amapManager||this.$parent.amapManager;t&&void 0!==this.vid&&t.setComponent(this.vid,this.$amapComponent)},initProps:function(){var t=this;["editable","visible"].forEach((function(e){if(void 0!==t[e]){var n=t.getHandlerFun(e);n&&n.call(t.$amapComponent,t.convertSignalProp(e,t[e]))}}))},printReactiveProp:function(){var t=this;Object.keys(this._props).forEach((function(e){t.$amapComponent["set"+i()(e)]&&console.log(e)}))},register:function(){var t=this,e=this.__initComponent&&this.__initComponent(this.convertProps());e&&e.then?e.then((function(e){return t.registerRest(e)})):this.registerRest(e)},registerRest:function(t){!this.$amapComponent&&t&&(this.$amapComponent=t),this.registerEvents(),this.initProps(),this.setPropWatchers(),this.registerToManager(),this.events&&this.events.init&&this.events.init(this.$amapComponent,this.$amap,this.amapManager||this.$parent.amapManager)},$$getInstance:function(){return this.$amapComponent}}}},function(t,e,n){"use strict";function r(t,e,n,r,i,o,s,a){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var u,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId=o),s?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=u):i&&(u=a?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(l.functional){l._injectStyles=u;var f=l.render;l.render=function(t,e){return u.call(e),f(t,e)}}else{var h=l.beforeCreate;l.beforeCreate=h?[].concat(h,u):[u]}return{exports:t,options:l}}e.a=r},function(t,e,n){var r=n(30)("wks"),i=n(14),o=n(3).Symbol,s="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))}).store=r},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)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){t.exports=!n(15)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e,n){"use strict";function r(t){return new AMap.Pixel(t[0],t[1])}function i(t){return new AMap.Size(t[0],t[1])}function o(t){return Array.isArray(t)?t:[t.getX(),t.getY()]}function s(t){return new AMap.LngLat(t[0],t[1])}function a(t){if(t)return Array.isArray(t)?t.slice():[t.getLng(),t.getLat()]}function c(t){return new AMap.Bounds(s(t[0]),s(t[1]))}e.e=r,e.c=o,e.d=s,e.b=a,n.d(e,"a",(function(){return u}));var u={position:s,offset:r,bounds:c,LngLat:s,Pixel:r,Size:i,Bounds:c}},function(t,e,n){var r=n(3),i=n(8),o=n(11),s=n(14)("src"),a=Function.toString,c=(""+a).split("toString");n(16).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var u="function"==typeof n;u&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(u&&(o(n,s)||i(n,s,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[s]||a.call(this)}))},function(t,e,n){var r=n(9),i=n(20);t.exports=n(5)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(10),i=n(31),o=n(33),s=Object.defineProperty;e.f=n(5)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(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}},function(t,e,n){var r=n(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e){t.exports={}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return s}));var r=n(97),i=n(19),o=n.n(i),s=null,a=function(t){o.a.prototype.$isServer||s||(s||(s=new r.a(t)),s.load())}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var n=t.exports={version:"2.5.5"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(71);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(75),i=n(22);t.exports=function(t){return r(i(t))}},function(e,n){e.exports=t},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){"use strict";var r=n(70),i=n(34),o=n(7),s=n(8),a=n(12),c=n(72),u=n(25),l=n(79),f=n(2)("iterator"),h=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,p,g,v,y){c(n,e,p);var m,I,M,b=function(t){if(!h&&t in T)return T[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},_=e+" Iterator",A="values"==g,C=!1,T=t.prototype,E=T[f]||T["@@iterator"]||g&&T[g],w=E||b(g),N=g?A?b("entries"):w:void 0,S="Array"==e&&T.entries||E;if(S&&(M=l(S.call(new t)))!==Object.prototype&&M.next&&(u(M,_,!0),r||"function"==typeof M[f]||s(M,f,d)),A&&E&&"values"!==E.name&&(C=!0,w=function(){return E.call(this)}),r&&!y||!h&&!C&&T[f]||s(T,f,w),a[e]=w,a[_]=d,g)if(m={values:A?w:b("values"),keys:v?w:b("keys"),entries:N},y)for(I in m)I in T||o(T,I,m[I]);else i(i.P+i.F*(h||C),e,m);return m}},function(t,e,n){var r=n(30)("keys"),i=n(14);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(9).f,i=n(11),o=n(2)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){"use strict";var r=n(50);e.a={methods:{setEditorEvents:function(){var t=this;if(this.$amapComponent.editor&&this.events){var e=["addnode","adjust","removenode","end","move"],n={};Object.keys(this.events).forEach((function(r){-1!==e.indexOf(r)&&(n[r]=t.events[r])})),Object.keys(n).forEach((function(e){r.a.addListener(t.$amapComponent.editor,e,n[e])}))}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=(n(65),n(45)),i=n.n(r),o=n(13),s=n(100),a=n(106),c=n(107),u=n(111),l=n(113),f=n(115),h=n(116),d=n(118),p=n(120),g=n(122),v=n(124),y=n(126),m=n(128),I=n(130),M=n(131);n.d(e,"AMapManager",(function(){return I.a})),n.d(e,"initAMapApiLoader",(function(){return o.a})),n.d(e,"createCustomComponent",(function(){return M.a})),n.d(e,"lazyAMapApiLoaderInstance",(function(){return o.b}));var b=[s.a,a.a,c.a,u.a,l.a,f.a,d.a,h.a,p.a,g.a,v.a,y.a,m.a],_={initAMapApiLoader:o.a,AMapManager:I.a,install:function(t){_.installed||(t.config.optionMergeStrategies.deferredReady=t.config.optionMergeStrategies.created,b.map((function(e){t.component(e.name,e),_[i()(e.name).replace(/^El/,"")]=e})))}};"undefined"!=typeof window&&window.Vue&&function t(e){t.installed||_.install(e)}(window.Vue),e.default=_},function(t,e,n){var r=n(29),i=n(2)("toStringTag"),o="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(3),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,e,n){t.exports=!n(5)&&!n(15)((function(){return 7!=Object.defineProperty(n(32)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(4),i=n(3).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(3),i=n(16),o=n(8),s=n(7),a=n(17),c=function(t,e,n){var u,l,f,h,d=t&c.F,p=t&c.G,g=t&c.S,v=t&c.P,y=t&c.B,m=p?r:g?r[e]||(r[e]={}):(r[e]||{}).prototype,I=p?i:i[e]||(i[e]={}),M=I.prototype||(I.prototype={});for(u in p&&(n=e),n)l=!d&&m&&void 0!==m[u],f=(l?m:n)[u],h=y&&l?a(f,r):v&&"function"==typeof f?a(Function.call,f):f,m&&s(m,u,f,t&c.U),I[u]!=f&&o(I,u,h),v&&M[u]!=f&&(M[u]=f)};r.core=i,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){var r=n(10),i=n(73),o=n(38),s=n(24)("IE_PROTO"),a=function(){},c=function(){var t,e=n(32)("iframe"),r=o.length;for(e.style.display="none",n(78).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[s]=t):n=c(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(74),i=n(38);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(21),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(7);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(17),i=n(86),o=n(87),s=n(10),a=n(37),c=n(88),u={},l={};e=t.exports=function(t,e,n,f,h){var d,p,g,v,y=h?function(){return t}:c(t),m=r(n,f,e?2:1),I=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(d=a(t.length);d>I;I++)if((v=e?m(s(p=t[I])[0],p[1]):m(t[I]))===u||v===l)return v}else for(g=y.call(t);!(p=g.next()).done;)if((v=i(g,m,p.value,e))===u||v===l)return v};e.BREAK=u,e.RETURN=l},function(t,e,n){var r=n(14)("meta"),i=n(4),o=n(11),s=n(9).f,a=0,c=Object.isExtensible||function(){return!0},u=!n(15)((function(){return c(Object.preventExtensions({}))})),l=function(t){s(t,r,{value:{i:"O"+ ++a,w:{}}})},f=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[r].i},h=function(t,e){if(!o(t,r)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[r].w},d=function(t){return u&&p.NEED&&c(t)&&!o(t,r)&&l(t),t},p=t.exports={KEY:r,NEED:!1,fastKey:f,getWeak:h,onFreeze:d}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){"use strict";var r=n(96);t.exports=function(){var t=r.apply(r,arguments);return t.charAt(0).toUpperCase()+t.slice(1)}},function(t,e){function n(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var o=r(i);return[n].concat(i.sources.map((function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"}))).concat([o]).join("\n")}return[n].join("\n")}function r(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=n(e,t);return e[2]?"@media "+e[2]+"{"+r+"}":r})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<t.length;i++){var s=t[i];"number"==typeof s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),e.push(s))}},e}},function(t,e,n){function r(t){for(var e=0;e<t.length;e++){var n=t[e],r=l[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(o(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var s=[];for(i=0;i<n.parts.length;i++)s.push(o(n.parts[i]));l[n.id]={id:n.id,refs:1,parts:s}}}}function i(){var t=document.createElement("style");return t.type="text/css",f.appendChild(t),t}function o(t){var e,n,r=document.querySelector('style[data-vue-ssr-id~="'+t.id+'"]');if(r){if(p)return g;r.parentNode.removeChild(r)}if(v){var o=d++;r=h||(h=i()),e=s.bind(null,r,o,!1),n=s.bind(null,r,o,!0)}else r=i(),e=a.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}function s(t,e,n,r){var i=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=y(e,i);else{var o=document.createTextNode(i),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function a(t,e){var n=e.css,r=e.media,i=e.sourceMap;if(r&&t.setAttribute("media",r),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var c="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!c)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 u=n(103),l={},f=c&&(document.head||document.getElementsByTagName("head")[0]),h=null,d=0,p=!1,g=function(){},v="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,e,n){p=n;var i=u(t,e);return r(i),function(e){for(var n=[],o=0;o<i.length;o++){var s=i[o],a=l[s.id];a.refs--,n.push(a)}e?(i=u(t,e),r(i)):i=[];for(o=0;o<n.length;o++){a=n[o];if(0===a.refs){for(var c=0;c<a.parts.length;c++)a.parts[c]();delete l[a.id]}}}};var y=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e,n){"use strict";var r=n(104),i=n(49),o=n(6),s=n(0),a=n(13),c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.a={name:"el-amap",mixins:[s.a],props:["viewMode","skyColor","rotateEnable","pitch","buildingAnimation","pitchEnable","vid","events","center","zoom","draggEnable","level","zooms","lang","defaultCursor","crs","animateEnable","isHotspot","defaultLayer","rotateEnable","resizeEnable","showIndoorMap","indoorMap","expandZoomRange","dragEnable","zoomEnable","doubleClickZoom","keyboardEnable","jogEnable","scrollWheel","touchZoom","mapStyle","plugin","features","amapManager"],beforeCreate:function(){this._loadPromise=a.b.load()},destroyed:function(){this.$amap&&this.$amap.destroy()},computed:{plugins:function(){var t=[],e=/^AMap./,n=function(t){return e.test(t)?t:"AMap."+t},r=function(t){return t.replace(e,"")};return"string"==typeof this.plugin?t.push({pName:n(this.plugin),sName:r(this.plugin)}):this.plugin instanceof Array&&(t=this.plugin.map((function(t){var e={};return"string"==typeof t?e={pName:n(t),sName:r(t)}:(t.pName=n(t.pName),t.sName=r(t.pName),e=t),e}))),t}},data:function(){return{converters:{center:function(t){return Object(o.d)(t)}},handlers:{zoomEnable:function(t){this.setStatus({zoomEnable:t})},dragEnable:function(t){this.setStatus({dragEnable:t})},rotateEnable:function(t){this.setStatus({rotateEnable:t})}}}},mounted:function(){this.createMap()},addEvents:function(){var t=this;this.$amapComponent.on("moveend",(function(){var e=t.$amapComponent.getCenter();t.center=[e.getLng(),e.getLat()]}))},methods:{addPlugins:function(){var t=this.plugins.filter((function(t){return!AMap[t.sName]}));return t&&t.length?this.$amapComponent.plugin(t,this.addMapControls):this.addMapControls()},addMapControls:function(){var t=this;this.plugins&&this.plugins.length&&(this.$plugins=this.$plugins||{},this.plugins.forEach((function(e){var n=t.convertAMapPluginProps(e),r=t.$plugins[n.pName]=new AMap[n.sName](n);if(t.$amapComponent.addControl(r),e.events)for(var i in e.events){var o=e.events[i];"init"===i?o(r):AMap.event.addListener(r,i,o)}})))},convertAMapPluginProps:function(t){if("object"===(void 0===t?"undefined":c(t))&&t.pName){switch(t.pName){case"AMap.ToolBar":case"AMap.Scale":t.offset&&t.offset instanceof Array&&(t.offset=Object(o.e)(t.offset))}return t}return""},setStatus:function(t){this.$amap.setStatus(t)},createMap:function(){var t=this;this._loadPromise.then((function(){var e=t.$el.querySelector(".el-vue-amap"),n=t.vid||Object(r.a)();e.id=n,t.$amap=t.$amapComponent=new AMap.Map(n,t.convertProps()),t.amapManager&&t.amapManager.setMap(t.$amap),t.$emit(i.a.AMAP_READY_EVENT,t.$amap),t.$children.forEach((function(e){e.$emit(i.a.AMAP_READY_EVENT,t.$amap)})),t.plugins&&t.plugins.length&&t.addPlugins()}))},$$getCenter:function(){return this.$amap?Object(o.b)(this.$amap.getCenter()):Object(o.b)(this.center)}}}},function(t,e,n){"use strict";e.a={AMAP_READY_EVENT:"AMAP_READY_EVENT"}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=void 0,o=function(){function t(){r(this,t),this._listener=new Map}return t.prototype.addListener=function(t,e,n,r){if(!AMap.event)throw new Error("please wait for Map API load");var i=AMap.event.addListener(t,e,n,r);this._listener.get(t)||this._listener.set(t,{});var o=this._listener.get(t);o[e]||(o[e]=[]),o[e].push(i)},t.prototype.removeListener=function(t,e,n){if(!AMap.event)throw new Error("please wait for Map API load");if(this._listener.get(t)&&this._listener.get(t)[e]){var r=this._listener.get(t)[e];if(n){var i=r.indexOf(n);AMap.event.removeListener(r[i]),r.splice(i,1)}else r.forEach((function(t){AMap.event.removeListener(t)})),this._listener.get(t)[e]=[]}},t.prototype.addListenerOnce=function(t,e,n,r){return AMap.event.addListenerOnce(t,e,n,r)},t.prototype.trigger=function(t,e,n){return AMap.event.trigger(t,e,n)},t.prototype.clearListeners=function(t){var e=this,n=this._listener.get(t);n&&Object.keys(n).map((function(n){e.removeListener(t,n)}))},t}();i=i||new o,e.a=i},function(t,e,n){"use strict";var r=n(0),i=n(6),o=n(52),s=n(19),a=n.n(s),c="el-amap-marker";e.a={name:c,mixins:[r.a],props:["vid","position","offset","icon","content","topWhenClick","bubble","draggable","raiseOnDrag","cursor","visible","zIndex","angle","autoRotation","animation","shadow","title","clickable","shape","extData","label","events","onceEvents","template","vnode","contentRender"],data:function(){var t=this;return{$tagName:c,withSlots:!1,tmpVM:null,propsRedirect:{template:"content",vnode:"content",contentRender:"content"},converters:{shape:function(t){return new AMap.MarkerShape(t)},shadow:function(t){return new AMap.Icon(t)},template:function(e){var n=Object(o.a)(e,t);return this.$customContent=n,n.$el},vnode:function(e){var n="function"==typeof e?e(t):e,r=Object(o.c)(n);return this.$customContent=r,r.$el},contentRender:function(e){var n=Object(o.b)(e,t);return this.$customContent=n,n.$el},label:function(t){var e=t.content,n=void 0===e?"":e,r=t.offset,o=void 0===r?[0,0]:r;return{content:n,offset:Object(i.e)(o)}}},handlers:{zIndex:function(t){this.setzIndex(t)},visible:function(t){!1===t?this.hide():this.show()}}}},created:function(){this.tmpVM=new a.a({data:function(){return{node:""}},render:function(t){var e=this.node;return t("div",{ref:"node"},Array.isArray(e)?e:[e])}}).$mount()},methods:{__initComponent:function(t){this.$slots.default&&this.$slots.default.length&&(t.content=this.tmpVM.$refs.node),this.$amapComponent=new AMap.Marker(t)},$$getExtData:function(){return this.$amapComponent.getExtData()},$$getPosition:function(){return Object(i.b)(this.$amapComponent.getPosition())},$$getOffset:function(){return Object(i.c)(this.$amapComponent.getOffset())}},render:function(t){var e=this.$slots.default||[];return e.length&&(this.tmpVM.node=e),null},destroyed:function(){this.tmpVM.$destroy(),this.$customContent&&this.$customContent.$destroy&&this.$customContent.$destroy()}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n.d(e,"c",(function(){return a})),n.d(e,"b",(function(){return c}));var r=n(19),i=n.n(r),o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s=function(t,e){var n=["methods","computed","data","filters"],r={},s=i.a.compile(t);n.forEach((function(t){r[t]=e.$parent.$parent.$options[t],"data"===t&&"function"==typeof r[t]&&(r[t]=r[t]())}));var a=new i.a(o({},r,s));return a.$mount(),a},a=function(t){var e=new i.a({render:function(e){return e("div",t)}});return e.$mount(),e},c=function(t,e){var n=new i.a({render:function(n){return t(n,e)}});return n.$mount(),n}},function(t,e,n){"use strict";var r=n(0),i=n(13);e.a={name:"el-amap-search-box",mixins:[r.a],props:["searchOption","onSearchResult","events","default"],data:function(){return{keyword:this.default||"",tips:[],selectedTip:-1,loaded:!1,adcode:null}},mounted:function(){var t=this;i.b.load().then((function(){t.loaded=!0,t._onSearchResult=t.onSearchResult,t.events&&t.events.init&&t.events.init({autoComplete:t._autoComplete,placeSearch:t._placeSearch})}))},computed:{_autoComplete:function(){if(this.loaded)return new AMap.Autocomplete(this.searchOption||{})},_placeSearch:function(){if(this.loaded)return new AMap.PlaceSearch(this.searchOption||{})}},methods:{autoComplete:function(){var t=this;this.keyword&&this._autoComplete&&this._autoComplete.search(this.keyword,(function(e,n){"complete"===e&&(t.tips=n.tips)}))},search:function(){var t=this;if(this.tips=[],this._placeSearch){var e=null;e=this.searchOption.citylimit&&this.searchOption.city?this.searchOption.city:this.adcode,this._placeSearch.setCity(e||this.searchOption.city),this._placeSearch.search(this.keyword,(function(e,n){if(n&&n.poiList&&n.poiList.count){var r=n.poiList.pois,i=r.map((function(t){return t.lat=t.location.lat,t.lng=t.location.lng,t}));t._onSearchResult(i)}else if(void 0===n.poiList)throw new Error(n)}))}},changeTip:function(t){this.adcode=t.adcode,this.keyword=t.name,this.search()},selectTip:function(t){"up"===t&&this.selectedTip>0?(this.selectedTip-=1,this.keyword=this.tips[this.selectedTip].name,this.adcode=this.tips[this.selectedTip].adcode):"down"===t&&this.selectedTip+1<this.tips.length&&(this.selectedTip+=1,this.keyword=this.tips[this.selectedTip].name,this.adcode=this.tips[this.selectedTip].adcode)}}}},function(t,e,n){"use strict";var r=n(0),i=n(6),o=n(26);e.a={name:"el-amap-circle",mixins:[r.a,o.a],props:["vid","zIndex","center","bubble","radius","strokeColor","strokeOpacity","strokeWeight","editable","fillColor","fillOpacity","strokeStyle","extData","strokeDasharray","events","visible","extData","onceEvents"],data:function(){return{converters:{center:function(t){return Object(i.d)(t)}},handlers:{zIndex:function(t){this.setzIndex(t)},visible:function(t){!1===t?this.hide():this.show()},editable:function(t){!0===t?this.editor.open():this.editor.close()}}}},methods:{__initComponent:function(t){this.$amapComponent=new AMap.Circle(t),this.$amapComponent.editor=new AMap.CircleEditor(this.$amap,this.$amapComponent)},$$getCenter:function(){return Object(i.b)(this.$amapComponent.getCenter())}}}},function(t,e,n){"use strict";var r=n(0);e.a={name:"el-amap-ground-image",mixins:[r.a],props:["vid","clickable","opacity","url","bounds","visible","events","onceEvents"],destroyed:function(){this.$amapComponent.setMap(null)},data:function(){return{converters:{},handlers:{visible:function(t){!1===t?this.setMap(null):this.setMap(this.$amap)}}}},methods:{__initComponent:function(t){this.$amapComponent=new AMap.ImageLayer(t)}}}},function(t,e,n){"use strict";var r=n(6),i=n(0),o=n(52),s=n(19),a=n.n(s);e.a={name:"el-amap-info-window",mixins:[i.a],props:["vid","isCustom","autoMove","closeWhenClickMap","content","size","offset","position","showShadow","visible","events","template","vnode","contentRender"],data:function(){var t=this;return{withSlots:!1,tmpVM:null,propsRedirect:{template:"content",vnode:"content",contentRender:"content"},converters:{template:function(e){var n=Object(o.a)(e,t);return this.$customContent=n,n.$el},vnode:function(e){var n="function"==typeof e?e(t):e,r=Object(o.c)(n);return this.$customContent=r,r.$el},contentRender:function(e){var n=Object(o.b)(e,t);return this.$customContent=n,n.$el}},handlers:{visible:function(e){var n=this.getPosition();n&&(!1===e?this.close():this.open(t.$amap,[n.lng,n.lat]))},template:function(t){this.setContent(t)}}}},created:function(){this.tmpVM=new a.a({data:function(){return{node:""}},render:function(t){var e=this.node;return t("div",{ref:"node"},Array.isArray(e)?e:[e])}}).$mount()},destroyed:function(){this.$amapComponent.close(),this.tmpVM.$destroy(),this.$customContent&&this.$customContent.$destroy&&this.$customContent.$destroy()},methods:{__initComponent:function(t){this.$slots.default&&this.$slots.default.length&&(t.content=this.tmpVM.$refs.node),delete t.map,this.$amapComponent=new AMap.InfoWindow(t),!1!==this.visible&&this.$amapComponent.open(this.$amap,Object(r.d)(this.position))}},render:function(t){var e=this.$slots.default||[];return e.length&&(this.tmpVM.node=e),null}}},function(t,e,n){"use strict";var r=n(0),i=n(26),o=n(6);e.a={name:"el-amap-polyline",mixins:[r.a,i.a],props:["vid","zIndex","visible","editable","bubble","geodesic","isOutline","outlineColor","path","strokeColor","strokeOpacity","strokeWeight","strokeStyle","strokeDasharray","events","extData","onceEvents","lineJoin"],data:function(){return{converters:{},handlers:{visible:function(t){!1===t?this.hide():this.show()},editable:function(t){!0===t?this.editor.open():this.editor.close()}}}},methods:{__initComponent:function(t){this.$amapComponent=new AMap.Polyline(t),this.$amapComponent.editor=new AMap.PolyEditor(this.$amap,this.$amapComponent)},$$getPath:function(){return this.$amapComponent.getPath().map(o.b)},$$getBounds:function(){return this.$amapComponent.getBounds()},$$getExtData:function(){return this.$amapComponent.getExtData()}}}},function(t,e,n){"use strict";var r=n(0),i=n(26),o=n(6);e.a={name:"el-amap-polygon",mixins:[r.a,i.a],props:["vid","zIndex","path","bubble","strokeColor","strokeOpacity","strokeWeight","fillColor","editable","fillOpacity","extData","strokeStyle","visible","strokeDasharray","events","onceEvents","draggable"],data:function(){return{converters:{},handlers:{visible:function(t){!1===t?this.hide():this.show()},zIndex:function(t){this.setOptions({zIndex:t})},editable:function(t){!0===t?this.editor.open():this.editor.close()}}}},methods:{__initComponent:function(){var t=this.convertProps();this.$amapComponent=new AMap.Polygon(t),this.$amapComponent.editor=new AMap.PolyEditor(this.$amap,this.$amapComponent)},$$getPath:function(){return this.$amapComponent.getPath().map(o.b)},$$getExtData:function(){return this.$amapComponent.getExtData()},$$contains:function(t){return Array.isArray(t)&&(t=new AMap.LngLat(t[0],t[1])),this.$amapComponent.getBounds().contains(t)}}}},function(t,e,n){"use strict";var r=n(0),i="el-amap-text";e.a={name:i,mixins:[r.a],props:{vid:{type:String,default:""},text:{type:String,default:""},textAlign:{type:String,default:""},verticalAlign:{type:String,default:""},position:{type:Array,default:function(){return[0,0]},$type:"LngLat"},offset:{type:Array,default:function(){return[0,0]},$type:"Pixel"},topWhenClick:{type:Boolean,default:function(){return!1}},bubble:{type:Boolean,default:function(){return!1}},draggable:{type:Boolean,default:function(){return!1}},raiseOnDrag:{type:Boolean,default:function(){return!1}},cursor:{type:String,default:function(){return""}},visible:{type:Boolean,default:function(){return!0}},zIndex:{type:Number,default:function(){return 100}},angle:{type:Number,default:function(){return 0}},autoRotation:{type:Boolean,default:function(){return!1}},animation:{type:String,default:function(){return"“AMAP_ANIMATION_NONE”"}},shadow:{type:Object,default:function(){return{}},$type:"Icon"},title:{type:String,default:function(){return""}},clickable:{type:Boolean,default:!0},events:{type:Object,default:function(){return{}}}},data:function(){return{converters:{},handlers:{zIndex:function(t){this.setzIndex(t)},visible:function(t){!1===t?this.hide():this.show()}},amapTagName:i}},methods:{__initComponent:function(t){this.$amapComponent=new AMap.Text(t)}}}},function(t,e,n){"use strict";var r=n(0),i="el-amap-bezier-curve";e.a={name:i,mixins:[r.a],props:{vid:{type:String},path:{type:Array},strokeColor:{type:String},strokeOpacity:{type:Number},strokeWeight:{type:Number,default:function(){return 1}},strokeStyle:{type:String},strokeDasharray:{type:Array},zIndex:{type:Number},showDir:{type:Boolean},bubble:{type:Boolean},cursor:{type:String},outlineColor:{type:Boolean},isOutline:{type:Boolean},visible:{type:Boolean,default:!0},events:{type:Object,default:function(){return{}}}},data:function(){return{converters:{},handlers:{zIndex:function(t){this.setzIndex(t)},visible:function(t){!1===t?this.hide():this.show()}},amapTagName:i}},methods:{__initComponent:function(t){this.$amapComponent=new AMap.BezierCurve(t)}}}},function(t,e,n){"use strict";var r=n(0),i="el-amap-circle-marker";e.a={name:i,mixins:[r.a],props:{vid:{type:String},zIndex:{type:Number},visible:{type:Boolean,default:!0},center:{type:Array,$type:"LngLat"},bubble:{type:Boolean},radius:{type:Number},strokeColor:{type:String},strokeOpacity:{type:Number},strokeWeight:{type:Number},fillColor:{type:String},fillOpacity:{type:Number},extData:{type:Object},events:{type:Object,default:function(){return{}}}},data:function(){return{converters:{},handlers:{zIndex:function(t){this.setzIndex(t)},visible:function(t){!1===t?this.hide():this.show()}},amapTagName:i}},methods:{__initComponent:function(t){this.$amapComponent=new AMap.CircleMarker(t)}}}},function(t,e,n){"use strict";var r=n(0),i="el-amap-ellipse";e.a={name:i,mixins:[r.a],props:{vid:{type:String},zIndex:{type:Number},center:{type:Array,$type:"LngLat"},radius:{type:Array,default:function(){return[1e3,1e3]}},bubble:{type:Boolean},cursor:{type:String},strokeColor:{type:String},strokeOpacity:{type:Number},strokeWeight:{type:Number},fillColor:{type:String},fillOpacity:{type:Number},strokeStyle:{type:String},extData:{type:Object,default:function(){return{}}},visible:{type:Boolean,default:!0},events:{type:Object,default:function(){return{}}}},data:function(){return{converters:{},handlers:{zIndex:function(t){this.setzIndex(t)},visible:function(t){!1===t?this.hide():this.show()}},amapTagName:i}},methods:{__initComponent:function(t){this.$amapComponent=new AMap.Ellipse(t)}}}},function(t,e,n){"use strict";var r=n(0),i="el-amap-rectangle";e.a={name:i,mixins:[r.a],props:{vid:{type:String},zIndex:{type:Number},center:{type:Array,$type:"LngLat"},bounds:{type:Array,$type:"Bounds"},bubble:{type:Boolean},cursor:{type:String},strokeColor:{type:String},strokeOpacity:{type:Number},strokeWeight:{type:Number},fillColor:{type:String},fillOpacity:{type:Number},strokeStyle:{type:String},extData:{type:Object,default:function(){return{}}},visible:{type:Boolean,default:!0},events:{type:Object,default:function(){return{}}}},data:function(){return{converters:{},handlers:{zIndex:function(t){this.setzIndex(t)},visible:function(t){!1===t?this.hide():this.show()}},amapTagName:i}},methods:{__initComponent:function(t){this.$amapComponent=new AMap.Rectangle(t)}}}},function(t,e,n){t.exports=n(27)},function(t,e,n){"use strict";var r=n(66);n.n(r)},function(t,e,n){n(67),n(68),n(81),n(84),t.exports=n(16).Map},function(t,e,n){"use strict";var r=n(28),i={};i[n(2)("toStringTag")]="z",i+""!="[object z]"&&n(7)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},function(t,e,n){"use strict";var r=n(69)(!0);n(23)(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=r(e,n),this._i+=t.length,{value:t,done:!1})}))},function(t,e,n){var r=n(21),i=n(22);t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),c=r(n),u=a.length;return c<0||c>=u?t?"":void 0:(o=a.charCodeAt(c),o<55296||o>56319||c+1===u||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):o:t?a.slice(c,c+2):s-56320+(o-55296<<10)+65536)}}},function(t,e){t.exports=!1},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){"use strict";var r=n(35),i=n(20),o=n(25),s={};n(8)(s,n(2)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var r=n(9),i=n(10),o=n(36);t.exports=n(5)?Object.defineProperties:function(t,e){i(t);for(var n,s=o(e),a=s.length,c=0;a>c;)r.f(t,n=s[c++],e[n]);return t}},function(t,e,n){var r=n(11),i=n(18),o=n(76)(!1),s=n(24)("IE_PROTO");t.exports=function(t,e){var n,a=i(t),c=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);for(;e.length>c;)r(a,n=e[c++])&&(~o(u,n)||u.push(n));return u}},function(t,e,n){var r=n(29);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(18),i=n(37),o=n(77);t.exports=function(t){return function(e,n,s){var a,c=r(e),u=i(c.length),l=o(s,u);if(t&&n!=n){for(;u>l;)if((a=c[l++])!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var r=n(21),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},function(t,e,n){var r=n(3).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(11),i=n(80),o=n(24)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e,n){var r=n(22);t.exports=function(t){return Object(r(t))}},function(t,e,n){for(var r=n(82),i=n(36),o=n(7),s=n(3),a=n(8),c=n(12),u=n(2),l=u("iterator"),f=u("toStringTag"),h=c.Array,d={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},p=i(d),g=0;g<p.length;g++){var v,y=p[g],m=d[y],I=s[y],M=I&&I.prototype;if(M&&(M[l]||a(M,l,h),M[f]||a(M,f,y),c[y]=h,m))for(v in r)M[v]||o(M,v,r[v],!0)}},function(t,e,n){"use strict";var r=n(83),i=n(39),o=n(12),s=n(18);t.exports=n(23)(Array,"Array",(function(t,e){this._t=s(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,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e,n){var r=n(2)("unscopables"),i=Array.prototype;void 0==i[r]&&n(8)(i,r,{}),t.exports=function(t){i[r][t]=!0}},function(t,e,n){"use strict";var r=n(85),i=n(44);t.exports=n(90)("Map",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(t){var e=r.getEntry(i(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(i(this,"Map"),0===t?0:t,e)}},r,!0)},function(t,e,n){"use strict";var r=n(9).f,i=n(35),o=n(40),s=n(17),a=n(41),c=n(42),u=n(23),l=n(39),f=n(89),h=n(5),d=n(43).fastKey,p=n(44),g=h?"_s":"size",v=function(t,e){var n,r=d(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,u){var l=t((function(t,r){a(t,l,e,"_i"),t._t=e,t._i=i(null),t._f=void 0,t._l=void 0,t[g]=0,void 0!=r&&c(r,n,t[u],t)}));return o(l.prototype,{clear:function(){for(var t=p(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[g]=0},delete:function(t){var n=p(this,e),r=v(n,t);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[g]--}return!!r},forEach:function(t){p(this,e);for(var n,r=s(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!v(p(this,e),t)}}),h&&r(l.prototype,"size",{get:function(){return p(this,e)[g]}}),l},def:function(t,e,n){var r,i,o=v(t,e);return o?o.v=n:(t._l=o={i:i=d(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[g]++,"F"!==i&&(t._i[i]=o)),t},getEntry:v,setStrong:function(t,e,n){u(t,e,(function(t,n){this._t=p(t,e),this._k=n,this._l=void 0}),(function(){for(var t=this,e=t._k,n=t._l;n&&n.r;)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?l(0,"keys"==e?n.k:"values"==e?n.v:[n.k,n.v]):(t._t=void 0,l(1))}),n?"entries":"values",!n,!0),f(e)}}},function(t,e,n){var r=n(10);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},function(t,e,n){var r=n(12),i=n(2)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,e,n){var r=n(28),i=n(2)("iterator"),o=n(12);t.exports=n(16).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){"use strict";var r=n(3),i=n(9),o=n(5),s=n(2)("species");t.exports=function(t){var e=r[t];o&&e&&!e[s]&&i.f(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,n){"use strict";var r=n(3),i=n(34),o=n(7),s=n(40),a=n(43),c=n(42),u=n(41),l=n(4),f=n(15),h=n(91),d=n(25),p=n(92);t.exports=function(t,e,n,g,v,y){var m=r[t],I=m,M=v?"set":"add",b=I&&I.prototype,_={},A=function(t){var e=b[t];o(b,t,"delete"==t||"has"==t?function(t){return!(y&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof I&&(y||b.forEach&&!f((function(){(new I).entries().next()})))){var C=new I,T=C[M](y?{}:-0,1)!=C,E=f((function(){C.has(1)})),w=h((function(t){new I(t)})),N=!y&&f((function(){for(var t=new I,e=5;e--;)t[M](e,e);return!t.has(-0)}));w||(I=e((function(e,n){u(e,I,t);var r=p(new m,e,I);return void 0!=n&&c(n,v,r[M],r),r})),I.prototype=b,b.constructor=I),(E||N)&&(A("delete"),A("has"),v&&A("get")),(N||T)&&A(M),y&&b.clear&&delete b.clear}else I=g.getConstructor(e,t,v,M),s(I.prototype,n),a.NEED=!0;return d(I,t),_[t]=I,i(i.G+i.W+i.F*(I!=m),_),y||g.setStrong(I,t,v),I}},function(t,e,n){var r=n(2)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},t(o)}catch(t){}return n}},function(t,e,n){var r=n(4),i=n(93).set;t.exports=function(t,e,n){var o,s=e.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},function(t,e,n){var r=n(4),i=n(10),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n(17)(Function.call,n(94).f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},function(t,e,n){var r=n(95),i=n(20),o=n(18),s=n(33),a=n(11),c=n(31),u=Object.getOwnPropertyDescriptor;e.f=n(5)?u:function(t,e){if(t=o(t),e=s(e,!0),c)try{return u(t,e)}catch(t){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";t.exports=function(){var t=[].map.call(arguments,(function(t){return t.trim()})).filter((function(t){return t.length})).join("-");return t.length?1!==t.length&&/[_.\- ]+/.test(t)?t.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(function(t,e){return e.toUpperCase()})):t[0]===t[0].toLowerCase()&&t.slice(1)!==t.slice(1).toLowerCase()?t:t.toLowerCase():""}},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=n(98),o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s={key:null,v:"1.4.4",protocol:"https",hostAndPath:"webapi.amap.com/maps",plugin:[],callback:"amapInitComponent"},a=function(){function t(e){r(this,t),this._config=o({},s,e),this._document=document,this._window=window,this._scriptLoaded=!1,this._queueEvents=[i.a]}return t.prototype.load=function(){var t=this;if(this._window.AMap&&this._window.AMap.Map)return this.loadUIAMap();if(this._scriptLoadingPromise)return this._scriptLoadingPromise;var e=this._document.createElement("script");e.type="text/javascript",e.async=!0,e.defer=!0,e.src=this._getScriptSrc();var n=this._config.uiVersion?this.loadUIAMap():null;return this._scriptLoadingPromise=new Promise((function(r,i){t._window.amapInitComponent=function(){for(;t._queueEvents.length;)t._queueEvents.pop().apply();if(!n)return r();n.then((function(){window.initAMapUI(),setTimeout(r)}))},e.onerror=function(t){return i(t)}})),this._document.head.appendChild(e),this._scriptLoadingPromise},t.prototype.loadUIAMap=function(){var t=this;return!this._config.uiVersion||window.AMapUI?Promise.resolve():new Promise((function(e,n){var r=document.createElement("script"),i=t._config.uiVersion.split("."),o=i[0],s=i[1],a=i[2];if(void 0!==o&&void 0!==s){var c=t._config.protocol+"://webapi.amap.com/ui/"+o+"."+s+"/main-async.js";a&&(c+="?v="+o+"."+s+"."+a),r.src=c,r.type="text/javascript",r.async=!0,t._document.head.appendChild(r),r.onload=function(){setTimeout(e,0)},r.onerror=function(){return n()}}else console.error("amap ui version is not correct, please check! version: ",t._config.uiVersion)}))},t.prototype._getScriptSrc=function(){var t=/^AMap./,e=this._config,n=["v","key","plugin","callback"];if(e.plugin&&e.plugin.length>0){e.plugin.push("Autocomplete","PlaceSearch","PolyEditor","CircleEditor");var r=[];e.plugin.forEach((function(e){var n=t.test(e)?e:"AMap."+e,i=n.replace(t,"");r.push(n,i)})),e.plugin=r}var i=Object.keys(e).filter((function(t){return~n.indexOf(t)})).filter((function(t){return null!=e[t]})).filter((function(t){return!Array.isArray(e[t])||Array.isArray(e[t])&&e[t].length>0})).map((function(t){var n=e[t];return Array.isArray(n)?{key:t,value:n.join(",")}:{key:t,value:n}})).map((function(t){return t.key+"="+t.value})).join("&");return this._config.protocol+"://"+this._config.hostAndPath+"?"+i},t}();e.a=a},function(t,e,n){"use strict";function r(){if(AMap.UA.ios&&"https:"!==document.location.protocol){var t=new i.a;navigator.geolocation.getCurrentPosition=function(){return t.getCurrentPosition.apply(t,arguments)},navigator.geolocation.watchPosition=function(){return t.watchPosition.apply(t,arguments)}}}e.a=r;var i=n(99)},function(t,e,n){"use strict";function r(){this._remoteSvrUrl="https://webapi.amap.com/html/geolocate.html",this._callbackList=[],this._seqBase=1,this._frameReady=0,this._watchIdMap={}}r.prototype={_getSeq:function(){return this._seqBase++},_onRrameReady:function(t){if(0===this._frameReady)return this._frameReadyList||(this._frameReadyList=[]),this._frameReadyList.push(t),void this._prepareIframe();t.call(this)},_prepareIframe:function(){if(!this._iframeWin){var t=document.createElement("iframe");t.src=this._remoteSvrUrl+(this._remoteSvrUrl.indexOf("?")>0?"&":"?"),t.width="0px",t.height="0px",t.style.position="absolute",t.style.display="none",t.allow="geolocation";var e=this,n=setTimeout((function(){e._frameReady=!1,e._callbackFrameReadyList()}),5e3);t.onload=function(){clearTimeout(n),e._frameReady=!0,e._callbackFrameReadyList(),t.onload=null},document.body.appendChild(t),this._iframeWin=t.contentWindow,window.addEventListener("message",(function(t){0===e._remoteSvrUrl.indexOf(t.origin)&&e._handleRemoteMsg(t.data)}),!1)}},_callbackFrameReadyList:function(){if(this._frameReadyList){var t=this._frameReadyList;this._frameReadyList=null;for(var e=0,n=t.length;e<n;e++)t[e].call(this,this._frameReady)}},_pickCallback:function(t,e){for(var n=this._callbackList,r=0,i=n.length;r<i;r++){var o=n[r];if(t===o.seq)return e||n.splice(r,1),o}},_handleRemoteMsg:function(t){var e=t.seq,n=this._pickCallback(e,!!t.notify);n?n.cbk.call(null,t.error,t.result):console.warn("Receive remote msg: ",t)},_postMessage:function(t,e,n,r){this._prepareIframe();var i={cmd:t,args:e,seq:r||this._getSeq()};this._callbackList.push({cbk:n,seq:i.seq}),this._onRrameReady((function(){if(!0===this._frameReady)try{this._iframeWin.postMessage(i,"*")}catch(t){this._pickCallback(i.seq),n(t)}else this._pickCallback(i.seq),n({message:"iFrame load failed!"})}))},getCurrentPosition:function(t,e,n){this._postMessage("getCurrentPosition",[n],(function(n,r){n?e&&e(n):t&&t(r)}))},watchPosition:function(t,e,n){var r="wk"+this._getSeq(),i=this._getSeq();this._watchIdMap[r]={stat:0,seq:i};var o=this;return this._postMessage("watchPosition",[n],(function(n,i){var s=null;i&&(s=i.id);var a=o._watchIdMap[r];if(a.id=s,a.stat=1,a.callbackList){var c=a.callbackList;a.callbackList=null;for(var u=0,l=c.length;u<l;u++)c[u].call(o,s)}n?e&&e(n):t&&t(i.pos)}),i),r},clearWatch:function(t,e){function n(n){i._postMessage("clearWatch",[n],(function(n,o){n||(i._pickCallback(r.seq),delete i._watchIdMap[t]),e&&e(n,o)}))}if(this._watchIdMap[t]){var r=this._watchIdMap[t],i=this;r.stat<1?(r.callbackList||(r.callbackList=[]),r.callbackList.push((function(t){n(t)}))):n(r.id)}else e("Id not exists: "+t)}},e.a=r},function(t,e,n){"use strict";function r(t){n(101)}var i=n(48),o=n(105),s=n(1),a=r,c=Object(s.a)(i.a,o.a,o.b,!1,a,null,null);e.a=c.exports},function(t,e,n){var r=n(102);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),n(47)("d6014b94",r,!0)},function(t,e,n){e=t.exports=n(46)(!1),e.push([t.i,".el-vue-amap-container,.el-vue-amap-container .el-vue-amap{height:100%}",""])},function(t,e){t.exports=function(t,e){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],s=o[0],a=o[1],c=o[2],u=o[3],l={id:t+":"+i,css:a,media:c,sourceMap:u};r[s]?r[s].parts.push(l):n.push(r[s]={id:s,parts:[l]})}return n}},function(t,e,n){"use strict";function r(){for(var t=[],e="0123456789abcdef",n=0;n<36;n++)t[n]=e.substr(Math.floor(16*Math.random()),1);return t[14]="4",t[19]=e.substr(3&t[19]|8,1),t[8]=t[13]=t[18]=t[23]="-",t.join("")}e.a=r},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"el-vue-amap-container"},[n("div",{staticClass:"el-vue-amap"}),t._v(" "),t._t("default")],2)},i=[]},function(t,e,n){"use strict";var r=n(51),i=n(1),o=Object(i.a)(r.a,void 0,void 0,!1,null,null,null);e.a=o.exports},function(t,e,n){"use strict";function r(t){n(108)}var i=n(53),o=n(110),s=n(1),a=r,c=Object(s.a)(i.a,o.a,o.b,!1,a,null,null);e.a=c.exports},function(t,e,n){var r=n(109);"string"==typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals),n(47)("80e271aa",r,!0)},function(t,e,n){e=t.exports=n(46)(!1),e.push([t.i,".el-vue-search-box-container{position:relative;width:360px;height:45px;background:#fff;box-shadow:0 2px 2px rgba(0,0,0,.15);border-radius:2px 3px 3px 2px;z-index:10}.el-vue-search-box-container .search-box-wrapper{position:absolute;display:flex;align-items:center;left:0;top:0;width:100%;height:100%;box-sizing:border-box}.el-vue-search-box-container .search-box-wrapper input{flex:1;height:20px;line-height:20px;letter-spacing:.5px;font-size:14px;text-indent:10px;box-sizing:border-box;border:none;outline:none}.el-vue-search-box-container .search-box-wrapper .search-btn{width:45px;height:100%;display:flex;align-items:center;justify-content:center;background:transparent;cursor:pointer}.el-vue-search-box-container .search-tips{position:absolute;top:100%;border:1px solid #dbdbdb;background:#fff;overflow:auto}.el-vue-search-box-container .search-tips ul{padding:0;margin:0}.el-vue-search-box-container .search-tips ul li{height:40px;line-height:40px;box-shadow:0 1px 1px rgba(0,0,0,.1);padding:0 10px;cursor:pointer}.el-vue-search-box-container .search-tips ul li.autocomplete-selected{background:#eee}",""])},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"el-vue-search-box-container",on:{keydown:[function(e){if(!("button"in e)&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"]))return null;t.selectTip("up")},function(e){if(!("button"in e)&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"]))return null;t.selectTip("down")}]}},[n("div",{staticClass:"search-box-wrapper"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.keyword,expression:"keyword"}],attrs:{type:"text"},domProps:{value:t.keyword},on:{keyup:function(e){return"button"in e||!t._k(e.keyCode,"enter",13,e.key,"Enter")?t.search(e):null},input:[function(e){e.target.composing||(t.keyword=e.target.value)},t.autoComplete]}}),t._v(" "),n("span",{staticClass:"search-btn",on:{click:t.search}},[t._v("搜索")])]),t._v(" "),n("div",{staticClass:"search-tips"},[n("ul",t._l(t.tips,(function(e,r){return n("li",{key:r,class:{"autocomplete-selected":r===t.selectedTip},on:{click:function(n){t.changeTip(e)},mouseover:function(e){t.selectedTip=r}}},[t._v(t._s(e.name))])})))])])},i=[]},function(t,e,n){"use strict";var r=n(54),i=n(112),o=n(1),s=Object(o.a)(r.a,i.a,i.b,!1,null,null,null);e.a=s.exports},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div")},i=[]},function(t,e,n){"use strict";var r=n(55),i=n(114),o=n(1),s=Object(o.a)(r.a,i.a,i.b,!1,null,null,null);e.a=s.exports},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div")},i=[]},function(t,e,n){"use strict";var r=n(56),i=n(1),o=Object(i.a)(r.a,void 0,void 0,!1,null,null,null);e.a=o.exports},function(t,e,n){"use strict";var r=n(57),i=n(117),o=n(1),s=Object(o.a)(r.a,i.a,i.b,!1,null,null,null);e.a=s.exports},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div")},i=[]},function(t,e,n){"use strict";var r=n(58),i=n(119),o=n(1),s=Object(o.a)(r.a,i.a,i.b,!1,null,null,null);e.a=s.exports},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div")},i=[]},function(t,e,n){"use strict";var r=n(59),i=n(121),o=n(1),s=Object(o.a)(r.a,i.a,i.b,!1,null,null,null);e.a=s.exports},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div")},i=[]},function(t,e,n){"use strict";var r=n(60),i=n(123),o=n(1),s=Object(o.a)(r.a,i.a,i.b,!1,null,null,null);e.a=s.exports},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div")},i=[]},function(t,e,n){"use strict";var r=n(61),i=n(125),o=n(1),s=Object(o.a)(r.a,i.a,i.b,!1,null,null,null);e.a=s.exports},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div")},i=[]},function(t,e,n){"use strict";var r=n(62),i=n(127),o=n(1),s=Object(o.a)(r.a,i.a,i.b,!1,null,null,null);e.a=s.exports},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div")},i=[]},function(t,e,n){"use strict";var r=n(63),i=n(129),o=n(1),s=Object(o.a)(r.a,i.a,i.b,!1,null,null,null);e.a=s.exports},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return i}));var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("div")},i=[]},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=function(){function t(){r(this,t),this._componentMap=new Map,this._map=null}return t.prototype.setMap=function(t){this._map=t},t.prototype.getMap=function(){return this._map},t.prototype.setComponent=function(t,e){this._componentMap.set(t,e)},t.prototype.getComponent=function(t){return this._componentMap.get(t)},t.prototype.getChildInstance=function(t){return this.getComponent(t)},t.prototype.removeComponent=function(t){this._componentMap.delete(t)},t}();e.a=i},function(t,e,n){"use strict";var r=n(0),i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};e.a=function(t){var e=t.init,n=t.data,o=void 0===n?function(){return{}}:n,s=t.converters,a=void 0===s?{}:s,c=t.handlers,u=void 0===c?{}:c,l=t.computed,f=t.methods,h=t.name,d=t.render,p=t.contextReady,g=t.template,v=t.mixins,y=void 0===v?[]:v,m=t.props,I=void 0===m?{}:m,M=i({},t,{props:I,data:function(){return i({},o(),{converters:a,handlers:u})},mixins:[r.a].concat(y),computed:l,methods:i({},f,{__initComponent:e,__contextReady:p})});return g||d||(M.render=function(){return null}),M.install=function(t){return t.use(h,M)},M}}])}))},9003:function(t,e,n){var r=n("6b4c");t.exports=Array.isArray||function(t){return"Array"==r(t)}},"903e":function(t,e,n){"use strict";(function(t){var r;n.d(e,"a",(function(){return us})),n.d(e,"b",(function(){return Pt})),n.d(e,"c",(function(){return D})),n.d(e,"d",(function(){return S})),n.d(e,"e",(function(){return Ot})),n.d(e,"f",(function(){return T})),n.d(e,"g",(function(){return s})),n.d(e,"h",(function(){return be})),n.d(e,"i",(function(){return Q})),n.d(e,"j",(function(){return Y})),n.d(e,"k",(function(){return w})),n.d(e,"l",(function(){return k})),n.d(e,"m",(function(){return _e})),n.d(e,"n",(function(){return G})),n.d(e,"o",(function(){return U})),n.d(e,"p",(function(){return o})),n.d(e,"q",(function(){return et})),n.d(e,"r",(function(){return $})),n.d(e,"s",(function(){return Rt})),n.d(e,"t",(function(){return _})),n.d(e,"u",(function(){return Xt})),n.d(e,"v",(function(){return Vt})),n.d(e,"w",(function(){return gt})),n.d(e,"x",(function(){return dt})),n.d(e,"y",(function(){return At})),n.d(e,"z",(function(){return pt})),n.d(e,"A",(function(){return It})),n.d(e,"B",(function(){return ht})),n.d(e,"C",(function(){return bt})),n.d(e,"D",(function(){return Tt})),n.d(e,"E",(function(){return Nt})),n.d(e,"F",(function(){return Et})),n.d(e,"G",(function(){return Ft})),n.d(e,"H",(function(){return mt})),n.d(e,"I",(function(){return yt})),n.d(e,"J",(function(){return de})),n.d(e,"K",(function(){return te})),function(t){t[t.READ=1]="READ",t[t.LISTENED=2]="LISTENED",t[t.DOWNLOADED=4]="DOWNLOADED",t[t.RETRIEVED=8]="RETRIEVED",t[t.UNREAD=0]="UNREAD"}(r||(r={}));var i,o=r,s=6e4,a=["https://nav.cn.ronghub.com","https://nav2-cn.ronghub.com"],c=["wsproxy.cn.ronghub.com","wsap-cn.ronghub.com"],u={"RC:TxtMsg":{isCounted:!0,isPersited:!0},"RC:ImgMsg":{isCounted:!0,isPersited:!0},"RC:VcMsg":{isCounted:!0,isPersited:!0},"RC:ImgTextMsg":{isCounted:!0,isPersited:!0,searchProps:["content","title"]},"RC:FileMsg":{isCounted:!0,isPersited:!0},"RC:HQVCMsg":{isCounted:!0,isPersited:!0},"RC:LBSMsg":{isCounted:!0,isPersited:!0},"RC:PSImgTxtMsg":{isCounted:!0,isPersited:!0},"RC:PSMultiImgTxtMsg":{isCounted:!0,isPersited:!0},"RCJrmf:RpMsg":{isCounted:!0,isPersited:!0},"RCJrmf:RpOpendMsg":{isCounted:!0,isPersited:!0},"RC:CombineMsg":{isCounted:!0,isPersited:!0},"RC:ReferenceMsg":{isCounted:!0,isPersited:!0,searchProps:["content"]},"RC:SightMsg":{isCounted:!0,isPersited:!0},"RC:GIFMsg":{isCounted:!0,isPersited:!0},"RC:InfoNtf":{isCounted:!1,isPersited:!0},"RC:ContactNtf":{isCounted:!1,isPersited:!0},"RC:ProfileNtf":{isCounted:!1,isPersited:!0},"RC:CmdNtf":{isCounted:!1,isPersited:!0},"RC:GrpNtf":{isCounted:!1,isPersited:!0},"RC:RcCmd":{isCounted:!1,isPersited:!0},"RC:CmdMsg":{isCounted:!1,isPersited:!1},"RC:TypSts":{isCounted:!1,isPersited:!1},"RC:PSCmd":{isCounted:!1,isPersited:!1},"RC:SRSMsg":{isCounted:!1,isPersited:!1},"RC:RRReqMsg":{isCounted:!1,isPersited:!1},"RC:RRRspMsg":{isCounted:!1,isPersited:!1},"RC:CsChaR":{isCounted:!1,isPersited:!1},"RC:CSCha":{isCounted:!1,isPersited:!1},"RC:CsEva":{isCounted:!1,isPersited:!1},"RC:CsContact":{isCounted:!1,isPersited:!1},"RC:CsHs":{isCounted:!1,isPersited:!1},"RC:CsHsR":{isCounted:!1,isPersited:!1},"RC:CsSp":{isCounted:!1,isPersited:!1},"RC:CsEnd":{isCounted:!1,isPersited:!1},"RC:CsUpdate":{isCounted:!1,isPersited:!1},"RC:ReadNtf":{isCounted:!1,isPersited:!1},"RC:chrmKVNotiMsg":{isCounted:!1,isPersited:!1},"RC:VCAccept":{isCounted:!1,isPersited:!1},"RC:VCRinging":{isCounted:!1,isPersited:!1},"RC:VCSummary":{isCounted:!1,isPersited:!1},"RC:VCHangup":{isCounted:!1,isPersited:!1},"RC:VCInvite":{isCounted:!1,isPersited:!1},"RC:VCModifyMedia":{isCounted:!1,isPersited:!1},"RC:VCModifyMem":{isCounted:!1,isPersited:!1},"RC:MsgExMsg":{isCounted:!1,isPersited:!1},"RC:Delivered":{isCounted:!1,isPersited:!1},"RC:RRMsg":{isCounted:!1,isPersited:!1},"RC:LogCmdMsg":{isCounted:!1,isPersited:!1},"RC:InterceptMsg":{isCounted:!1,isPersited:!1}},l=["RC:TypSts","RC:InterceptMsg"],f=function(t){return i||(i={set:function(e,n){t.localStorage.setItem(e,JSON.stringify(n))},get:function(e){var n;try{n=JSON.parse(t.localStorage.getItem(e))}catch(t){n=null}return n},remove:function(e){return t.localStorage.removeItem(e)},getKeys:function(){var e=[];for(var n in t.localStorage)e.push(n);return e}}),i},h=function(){function t(t){this._caches={},t&&(this._caches=t)}return t.prototype.set=function(t,e){this._caches[t]=e},t.prototype.remove=function(t){var e=this.get(t);return delete this._caches[t],e},t.prototype.get=function(t){return this._caches[t]},t.prototype.getKeys=function(){var t=[];for(var e in this._caches)t.push(e);return t},t}(),d=function(){function t(t,e){var n,r=e?"".concat("RCV4-").concat(e):"RCV4-";this._rootStorage=f(t);var i=this._rootStorage.get(r)||{};this._cache=new h(((n={})[r]=i,n)),this._storageKey=r}return t.prototype._get=function(){var t=this._storageKey;return this._cache.get(t)||{}},t.prototype._set=function(t){var e=this._storageKey;t=t||{},this._cache.set(e,t),this._rootStorage.set(e,t)},t.prototype.set=function(t,e){var n=this._get();n[t]=e,this._set(n)},t.prototype.remove=function(t){var e=this._get();delete e[t],this._set(e)},t.prototype.clear=function(){var t=this._storageKey;this._rootStorage.remove(t),this._cache.remove(t)},t.prototype.get=function(t){return this._get()[t]},t.prototype.getKeys=function(){var t=this._get(),e=[];for(var n in t)e.push(n);return e},t.prototype.getValues=function(){return this._get()||{}},t}(),p=function(t,e){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},p(t,e)};function v(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}p(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var y=function(){return y=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},y.apply(this,arguments)};function m(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{c(r.next(t))}catch(t){o(t)}}function a(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}c((r=r.apply(t,e||[])).next())}))}function I(t,e){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=e.call(t,s)}catch(t){a=[6,t],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}function M(t,e,n){if(n||2===arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}(function(t){function e(e){return t.call(this,"TODO => ".concat(e))||this}v(e,t)})(Error);var b,_=function(t,e){if(t=t.replace(/\?$/,""),!e)return t;var n=Object.keys(e).map((function(t){return"".concat(t,"=").concat(e[t])})).filter((function(t){return!!t}));return n.length?[t,n.join("&")].join("?"):t},A=function(t){return t.match(/\d+(\.\d+){2}/)[0]};!function(t){t[t.IMAGE=1]="IMAGE",t[t.AUDIO=2]="AUDIO",t[t.VIDEO=3]="VIDEO",t[t.FILE=4]="FILE",t[t.SIGHT=5]="SIGHT",t[t.COMBINE_HTML=6]="COMBINE_HTML"}(b||(b={}));var C,T=b;!function(t){t[t.SEND=1]="SEND",t[t.RECEIVE=2]="RECEIVE"}(C||(C={}));var E,w=C;!function(t){t[t.TIMEOUT=-1]="TIMEOUT",t[t.UNKNOWN=-2]="UNKNOWN",t[t.PARAMETER_ERROR=-3]="PARAMETER_ERROR",t[t.EXTRA_METHOD_UNDEFINED=-4]="EXTRA_METHOD_UNDEFINED",t[t.MAIN_PROCESS_ERROR=-5]="MAIN_PROCESS_ERROR",t[t.PARAMETER_CHANGED=-6]="PARAMETER_CHANGED",t[t.SUCCESS=0]="SUCCESS",t[t.RC_DISCUSSION_GROUP_ID_INVALID=20407]="RC_DISCUSSION_GROUP_ID_INVALID",t[t.SEND_FREQUENCY_TOO_FAST=20604]="SEND_FREQUENCY_TOO_FAST",t[t.NOT_IN_DISCUSSION=21406]="NOT_IN_DISCUSSION",t[t.FORBIDDEN_IN_GROUP=22408]="FORBIDDEN_IN_GROUP",t[t.RECALL_MESSAGE=25101]="RECALL_MESSAGE",t[t.NOT_IN_GROUP=22406]="NOT_IN_GROUP",t[t.NOT_IN_CHATROOM=23406]="NOT_IN_CHATROOM",t[t.FORBIDDEN_IN_CHATROOM=23408]="FORBIDDEN_IN_CHATROOM",t[t.RC_CHATROOM_USER_KICKED=23409]="RC_CHATROOM_USER_KICKED",t[t.RC_CHATROOM_NOT_EXIST=23410]="RC_CHATROOM_NOT_EXIST",t[t.RC_CHATROOM_IS_FULL=23411]="RC_CHATROOM_IS_FULL",t[t.RC_CHATROOM_PATAMETER_INVALID=23412]="RC_CHATROOM_PATAMETER_INVALID",t[t.CHATROOM_GET_HISTORYMSG_ERROR=23413]="CHATROOM_GET_HISTORYMSG_ERROR",t[t.CHATROOM_NOT_OPEN_HISTORYMSG_STORE=23414]="CHATROOM_NOT_OPEN_HISTORYMSG_STORE",t[t.CHATROOM_KV_EXCEED=23423]="CHATROOM_KV_EXCEED",t[t.CHATROOM_KV_OVERWRITE_INVALID=23424]="CHATROOM_KV_OVERWRITE_INVALID",t[t.CHATROOM_KV_STORE_NOT_OPEN=23426]="CHATROOM_KV_STORE_NOT_OPEN",t[t.CHATROOM_KEY_NOT_EXIST=23427]="CHATROOM_KEY_NOT_EXIST",t[t.CHATROOM_KV_SET_ERROR=23431]="CHATROOM_KV_SET_ERROR",t[t.SENSITIVE_SHIELD=21501]="SENSITIVE_SHIELD",t[t.SENSITIVE_REPLACE=21502]="SENSITIVE_REPLACE",t[t.JOIN_IN_DISCUSSION=21407]="JOIN_IN_DISCUSSION",t[t.CREATE_DISCUSSION=21408]="CREATE_DISCUSSION",t[t.INVITE_DICUSSION=21409]="INVITE_DICUSSION",t[t.GET_USERINFO_ERROR=23407]="GET_USERINFO_ERROR",t[t.REJECTED_BY_BLACKLIST=405]="REJECTED_BY_BLACKLIST",t[t.RC_NET_CHANNEL_INVALID=30001]="RC_NET_CHANNEL_INVALID",t[t.RC_NET_UNAVAILABLE=30002]="RC_NET_UNAVAILABLE",t[t.RC_MSG_RESP_TIMEOUT=30003]="RC_MSG_RESP_TIMEOUT",t[t.RC_HTTP_SEND_FAIL=30004]="RC_HTTP_SEND_FAIL",t[t.RC_HTTP_REQ_FAIL=30005]="RC_HTTP_REQ_FAIL",t[t.RC_HTTP_RECV_FAIL=30006]="RC_HTTP_RECV_FAIL",t[t.RC_NAVI_RESOURCE_ERROR=30007]="RC_NAVI_RESOURCE_ERROR",t[t.RC_NODE_NOT_FOUND=30008]="RC_NODE_NOT_FOUND",t[t.RC_DOMAIN_NOT_RESOLVE=30009]="RC_DOMAIN_NOT_RESOLVE",t[t.RC_SOCKET_NOT_CREATED=30010]="RC_SOCKET_NOT_CREATED",t[t.RC_SOCKET_DISCONNECTED=30011]="RC_SOCKET_DISCONNECTED",t[t.RC_PING_SEND_FAIL=30012]="RC_PING_SEND_FAIL",t[t.RC_PONG_RECV_FAIL=30013]="RC_PONG_RECV_FAIL",t[t.RC_MSG_SEND_FAIL=30014]="RC_MSG_SEND_FAIL",t[t.RC_MSG_CONTENT_EXCEED_LIMIT=30016]="RC_MSG_CONTENT_EXCEED_LIMIT",t[t.RC_CONN_ACK_TIMEOUT=31e3]="RC_CONN_ACK_TIMEOUT",t[t.RC_CONN_PROTO_VERSION_ERROR=31001]="RC_CONN_PROTO_VERSION_ERROR",t[t.RC_CONN_ID_REJECT=31002]="RC_CONN_ID_REJECT",t[t.RC_CONN_SERVER_UNAVAILABLE=31003]="RC_CONN_SERVER_UNAVAILABLE",t[t.RC_CONN_USER_OR_PASSWD_ERROR=31004]="RC_CONN_USER_OR_PASSWD_ERROR",t[t.RC_CONN_NOT_AUTHRORIZED=31005]="RC_CONN_NOT_AUTHRORIZED",t[t.RC_CONN_REDIRECTED=31006]="RC_CONN_REDIRECTED",t[t.RC_CONN_PACKAGE_NAME_INVALID=31007]="RC_CONN_PACKAGE_NAME_INVALID",t[t.RC_CONN_APP_BLOCKED_OR_DELETED=31008]="RC_CONN_APP_BLOCKED_OR_DELETED",t[t.RC_CONN_USER_BLOCKED=31009]="RC_CONN_USER_BLOCKED",t[t.RC_DISCONN_KICK=31010]="RC_DISCONN_KICK",t[t.RC_DISCONN_EXCEPTION=31011]="RC_DISCONN_EXCEPTION",t[t.RC_DISCONN_SAME_CLIENT_ON_LINE=31023]="RC_DISCONN_SAME_CLIENT_ON_LINE",t[t.RC_APP_AUTH_NOT_PASS=31026]="RC_APP_AUTH_NOT_PASS",t[t.RC_OTP_USED=31027]="RC_OTP_USED",t[t.RC_PLATFORM_ERROR=31028]="RC_PLATFORM_ERROR",t[t.RC_CONN_USER_LOGOUT=31029]="RC_CONN_USER_LOGOUT",t[t.RC_LICENSE_EXPIRED=31030]="RC_LICENSE_EXPIRED",t[t.RC_QUERY_ACK_NO_DATA=32001]="RC_QUERY_ACK_NO_DATA",t[t.RC_MSG_DATA_INCOMPLETE=32002]="RC_MSG_DATA_INCOMPLETE",t[t.BIZ_ERROR_CLIENT_NOT_INIT=33001]="BIZ_ERROR_CLIENT_NOT_INIT",t[t.BIZ_ERROR_DATABASE_ERROR=33002]="BIZ_ERROR_DATABASE_ERROR",t[t.BIZ_ERROR_INVALID_PARAMETER=33003]="BIZ_ERROR_INVALID_PARAMETER",t[t.BIZ_ERROR_NO_CHANNEL=33004]="BIZ_ERROR_NO_CHANNEL",t[t.BIZ_ERROR_RECONNECT_SUCCESS=33005]="BIZ_ERROR_RECONNECT_SUCCESS",t[t.BIZ_ERROR_CONNECTING=33006]="BIZ_ERROR_CONNECTING",t[t.MSG_ROAMING_SERVICE_UNAVAILABLE=33007]="MSG_ROAMING_SERVICE_UNAVAILABLE",t[t.MSG_INSERT_ERROR=33008]="MSG_INSERT_ERROR",t[t.MSG_DEL_ERROR=33009]="MSG_DEL_ERROR",t[t.TAG_EXISTS=33101]="TAG_EXISTS",t[t.TAG_NOT_EXIST=33100]="TAG_NOT_EXIST",t[t.NO_TAG_IN_CONVER=33102]="NO_TAG_IN_CONVER",t[t.CONVER_REMOVE_ERROR=34001]="CONVER_REMOVE_ERROR",t[t.CONVER_GETLIST_ERROR=34002]="CONVER_GETLIST_ERROR",t[t.CONVER_SETOP_ERROR=34003]="CONVER_SETOP_ERROR",t[t.CONVER_TOTAL_UNREAD_ERROR=34004]="CONVER_TOTAL_UNREAD_ERROR",t[t.CONVER_TYPE_UNREAD_ERROR=34005]="CONVER_TYPE_UNREAD_ERROR",t[t.CONVER_ID_TYPE_UNREAD_ERROR=34006]="CONVER_ID_TYPE_UNREAD_ERROR",t[t.EXPANSION_LIMIT_EXCEET=34010]="EXPANSION_LIMIT_EXCEET",t[t.MESSAGE_KV_NOT_SUPPORT=34008]="MESSAGE_KV_NOT_SUPPORT",t[t.CONVER_OUT_LIMIT_ERROR=34013]="CONVER_OUT_LIMIT_ERROR",t[t.CONVER_GET_ERROR=35021]="CONVER_GET_ERROR",t[t.GROUP_SYNC_ERROR=35001]="GROUP_SYNC_ERROR",t[t.GROUP_MATCH_ERROR=35002]="GROUP_MATCH_ERROR",t[t.READ_RECEIPT_ERROR=35003]="READ_RECEIPT_ERROR",t[t.PACKAGE_ENVIRONMENT_ERROR=35006]="PACKAGE_ENVIRONMENT_ERROR",t[t.CAN_NOT_RECONNECT=35007]="CAN_NOT_RECONNECT",t[t.SERVER_UNAVAILABLE=35008]="SERVER_UNAVAILABLE",t[t.HOSTNAME_ERROR=35009]="HOSTNAME_ERROR",t[t.HAS_OHTER_SAME_CLIENT_ON_LINE=35010]="HAS_OHTER_SAME_CLIENT_ON_LINE",t[t.METHOD_NOT_AVAILABLE=35011]="METHOD_NOT_AVAILABLE",t[t.METHOD_NOT_SUPPORT=35012]="METHOD_NOT_SUPPORT",t[t.MSG_LIMIT_ERROR=35013]="MSG_LIMIT_ERROR",t[t.METHOD_ONLY_SUPPORT_ULTRA_GROUP=35014]="METHOD_ONLY_SUPPORT_ULTRA_GROUP",t[t.UPLOAD_FILE_FAILED=35020]="UPLOAD_FILE_FAILED",t[t.CHATROOM_ID_ISNULL=36001]="CHATROOM_ID_ISNULL",t[t.CHARTOOM_JOIN_ERROR=36002]="CHARTOOM_JOIN_ERROR",t[t.CHATROOM_HISMESSAGE_ERROR=36003]="CHATROOM_HISMESSAGE_ERROR",t[t.CHATROOM_KV_NOT_FOUND=36004]="CHATROOM_KV_NOT_FOUND",t[t.BLACK_ADD_ERROR=37001]="BLACK_ADD_ERROR",t[t.BLACK_GETSTATUS_ERROR=37002]="BLACK_GETSTATUS_ERROR",t[t.BLACK_REMOVE_ERROR=37003]="BLACK_REMOVE_ERROR",t[t.DRAF_GET_ERROR=38001]="DRAF_GET_ERROR",t[t.DRAF_SAVE_ERROR=38002]="DRAF_SAVE_ERROR",t[t.DRAF_REMOVE_ERROR=38003]="DRAF_REMOVE_ERROR",t[t.SUBSCRIBE_ERROR=39001]="SUBSCRIBE_ERROR",t[t.NOT_SUPPORT=39002]="NOT_SUPPORT",t[t.QNTKN_FILETYPE_ERROR=41001]="QNTKN_FILETYPE_ERROR",t[t.QNTKN_GET_ERROR=41002]="QNTKN_GET_ERROR",t[t.COOKIE_ENABLE=51001]="COOKIE_ENABLE",t[t.HAVNODEVICEID=24001]="HAVNODEVICEID",t[t.DEVICEIDISHAVE=24002]="DEVICEIDISHAVE",t[t.FEILD=24009]="FEILD",t[t.VOIPISNULL=24013]="VOIPISNULL",t[t.NOENGINETYPE=24010]="NOENGINETYPE",t[t.NULLCHANNELNAME=24011]="NULLCHANNELNAME",t[t.VOIPDYANMICERROR=24012]="VOIPDYANMICERROR",t[t.NOVOIP=24014]="NOVOIP",t[t.INTERNALERRROR=24015]="INTERNALERRROR",t[t.VOIPCLOSE=24016]="VOIPCLOSE",t[t.ULTRA_GROUP_USER_NOT_IN_PRIVATE_CHANNEL=24416]="ULTRA_GROUP_USER_NOT_IN_PRIVATE_CHANNEL",t[t.CANCEL=1]="CANCEL",t[t.REJECT=2]="REJECT",t[t.HANGUP=3]="HANGUP",t[t.BUSYLINE=4]="BUSYLINE",t[t.NO_RESPONSE=5]="NO_RESPONSE",t[t.ENGINE_UN_SUPPORTED=6]="ENGINE_UN_SUPPORTED",t[t.NETWORK_ERROR=7]="NETWORK_ERROR",t[t.REMOTE_CANCEL=11]="REMOTE_CANCEL",t[t.REMOTE_REJECT=12]="REMOTE_REJECT",t[t.REMOTE_HANGUP=13]="REMOTE_HANGUP",t[t.REMOTE_BUSYLINE=14]="REMOTE_BUSYLINE",t[t.REMOTE_NO_RESPONSE=15]="REMOTE_NO_RESPONSE",t[t.REMOTE_ENGINE_UN_SUPPORTED=16]="REMOTE_ENGINE_UN_SUPPORTED",t[t.REMOTE_NETWORK_ERROR=17]="REMOTE_NETWORK_ERROR",t[t.VOIP_NOT_AVALIABLE=18]="VOIP_NOT_AVALIABLE",t[t.CHATROOM_KV_STORE_NOT_ALL_SUCCESS=23428]="CHATROOM_KV_STORE_NOT_ALL_SUCCESS",t[t.CHATROOM_KV_STORE_OUT_LIMIT=23429]="CHATROOM_KV_STORE_OUT_LIMIT",t[t.SEARCH_PROPS_LIMIT_ERROR=35022]="SEARCH_PROPS_LIMIT_ERROR"}(E||(E={}));var N,S=E;!function(t){t[t.NONE=0]="NONE",t[t.PRIVATE=1]="PRIVATE",t[t.DISCUSSION=2]="DISCUSSION",t[t.GROUP=3]="GROUP",t[t.CHATROOM=4]="CHATROOM",t[t.CUSTOMER_SERVICE=5]="CUSTOMER_SERVICE",t[t.SYSTEM=6]="SYSTEM",t[t.APP_PUBLIC_SERVICE=7]="APP_PUBLIC_SERVICE",t[t.PUBLIC_SERVICE=8]="PUBLIC_SERVICE",t[t.ULTRA_GROUP=10]="ULTRA_GROUP",t[t.RTC_ROOM=12]="RTC_ROOM"}(N||(N={}));var O,D=N;!function(t){t[t.CONNECTED=0]="CONNECTED",t[t.CONNECTING=1]="CONNECTING",t[t.DISCONNECTED=2]="DISCONNECTED",t[t.NETWORK_UNAVAILABLE=3]="NETWORK_UNAVAILABLE",t[t.CONNECTION_CLOSED=4]="CONNECTION_CLOSED",t[t.KICKED_OFFLINE_BY_OTHER_CLIENT=6]="KICKED_OFFLINE_BY_OTHER_CLIENT",t[t.WEBSOCKET_UNAVAILABLE=7]="WEBSOCKET_UNAVAILABLE",t[t.WEBSOCKET_ERROR=8]="WEBSOCKET_ERROR",t[t.BLOCKED=9]="BLOCKED",t[t.DOMAIN_INCORRECT=12]="DOMAIN_INCORRECT",t[t.DISCONNECT_BY_SERVER=13]="DISCONNECT_BY_SERVER",t[t.REDIRECT=14]="REDIRECT",t[t.USER_LOGOUT=19]="USER_LOGOUT",t[t.APPKEY_IS_FAKE=20]="APPKEY_IS_FAKE",t[t.FORBID_RECONNECT_BY_OTHER_SAME_CLIENT=31023]="FORBID_RECONNECT_BY_OTHER_SAME_CLIENT",t[t.ULTRALIMIT=1101]="ULTRALIMIT",t[t.REQUEST_NAVI=201]="REQUEST_NAVI",t[t.RESPONSE_NAVI=202]="RESPONSE_NAVI",t[t.RESPONSE_NAVI_ERROR=203]="RESPONSE_NAVI_ERROR",t[t.RESPONSE_NAVI_TIMEOUT=204]="RESPONSE_NAVI_TIMEOUT",t[t.RC_LICENSE_EXPIRED=31030]="RC_LICENSE_EXPIRED",t[t.RC_CONN_USER_OR_PASSWD_ERROR=31004]="RC_CONN_USER_OR_PASSWD_ERROR"}(O||(O={}));var R,L=O,x={ACCEPTED:0,UNACCEPTABLE_PROTOCOL_VERSION:1,IDENTIFIER_REJECTED:2,SERVER_UNAVAILABLE:3,TOKEN_INCORRECT:4,NOT_AUTHORIZED:5,REDIRECT:6,PACKAGE_ERROR:7,APP_BLOCK_OR_DELETE:8,BLOCK:9,TOKEN_EXPIRE:10,DEVICE_ERROR:11,HOSTNAME_ERROR:12,HASOHTERSAMECLIENTONLINE:13,IN_OTHER_CLUSTER:15,APP_AUTH_NOT_PASS:16,OTP_USED:17,PLATFORM_ERROR:18,USER_LOGOUT:19};!function(t){t.TextMessage="RC:TxtMsg",t.VOICE="RC:VcMsg",t.HQ_VOICE="RC:HQVCMsg",t.IMAGE="RC:ImgMsg",t.GIF="RC:GIFMsg",t.RICH_CONTENT="RC:ImgTextMsg",t.LOCATION="RC:LBSMsg",t.FILE="RC:FileMsg",t.SIGHT="RC:SightMsg",t.COMBINE="RC:CombineMsg",t.CHRM_KV_NOTIFY="RC:chrmKVNotiMsg",t.LOG_COMMAND="RC:LogCmdMsg",t.EXPANSION_NOTIFY="RC:MsgExMsg",t.REFERENCE="RC:ReferenceMsg",t.RECALL="RC:RcCmd",t.RECALL_NOTIFICATION_MESSAGE="RC:RcNtf",t.READ_RECEIPT="RC:ReadNtf",t.READ_RECEIPT_REQUEST="RC:RRReqMsg",t.READ_RECEIPT_RESPONSE="RC:RRRspMsg",t.SYNC_READ_STATUS="RC:SRSMsg",t.GROUP_READ_RECEIPT_REQUEST="RC:RRMsg",t.DELIVERED="RC:Delivered",t.DELIVERED_MSG="RC:DRMsg",t.CHATROOM_JOIN="RC:ChrmJoinNtf",t.CHATROOM_LEFT="RC:ChrmQuitNtf",t.CHATROOM_MERGE_CHANGE="RC:ChrmMemChange",t.TYPING_STATUS="RC:TypSts",t.INTERCEPT="RC:InterceptMsg"}(R||(R={}));var j,k=R;!function(t){t[t.OPEN=1]="OPEN",t[t.CLOSE=2]="CLOSE"}(j||(j={}));var P,U=j;!function(t){t[t.ALL_MESSAGE=-1]="ALL_MESSAGE",t[t.NOT_SET=0]="NOT_SET",t[t.AT_MESSAGE_NOTIFICATION=1]="AT_MESSAGE_NOTIFICATION",t[t.AT_USER_NOTIFICATION=2]="AT_USER_NOTIFICATION",t[t.AT_GROUP_ALL_USER_NOTIFICATION=4]="AT_GROUP_ALL_USER_NOTIFICATION",t[t.NOT_MESSAGE_NOTIFICATION=5]="NOT_MESSAGE_NOTIFICATION"}(P||(P={}));var z,G=P;!function(t){t[t.ALL=1]="ALL",t[t.SINGAL=2]="SINGAL"}(z||(z={}));var B,Y=z;!function(t){t[t.QINIU=1]="QINIU",t[t.ALI=2]="ALI",t[t.AWS=3]="AWS",t[t.STC=4]="STC"}(B||(B={}));var F,$=B;!function(t){t[t.UPDATE=1]="UPDATE",t[t.DELETE=2]="DELETE"}(F||(F={}));var H,V,Q,W,Z=F;!function(t){t[t.LOG=0]="LOG",t[t.DEBUG=0]="DEBUG",t[t.INFO=1]="INFO",t[t.WARN=2]="WARN",t[t.ERROR=3]="ERROR",t[t.FATAL=4]="FATAL",t[t.STATISTICS=6]="STATISTICS",t[t.NONE=1e3]="NONE"}(H||(H={})),function(t){t.IM="IM",t.RTC="RTC"}(V||(V={})),function(t){t.L_IMSDK_VER_O="L-imsdk_ver-O",t.A_INIT_O="A-init-O",t.A_INIT_REPEAT_O="A_INIT_REPEAT_O",t.L_INIT_O="L-init-O",t.A_DESTROY_O="A_DESTROY_O",t.L_DESTROY_O="L_DESTROY_O",t.A_CONNECT_T="A-connect-T",t.A_CONNECT_R="A-connect-R",t.A_DISCONNECT_O="A-disconnect-O",t.A_RECONNECT_T="A-reconnect-T",t.A_RECONNECT_R="A_RECONNECT_R",t.L_CONNECT_T="L-connect-T",t.L_CONNECT_R="L-connect-R",t.L_CONNECT_S="L-connect-S",t.L_NOTIFY_ULTRA_ONLINE_S="L-notify-ultra-online-S",t.L_ULTRA_SYNC_DONE_S="L-ultra-sync-done-S",t.L_BATCH_MESSAGE_O="L-BATCH_MESSAGE-O",t.A_MSG_LISTENER_E="A-MSG_LISTENER-E",t.O="L-original-O",t.T="L-TEST-O",t.L_INSTALL_PLUGIN_T="L-INSTALL_PLUGIN-T",t.L_INSTALL_PLUGIN_R="L-INSTALL_PLUGIN-R",t.L_NAVI_CONF_E="L-NAVI_CONF_ERROR-E",t.A_SEND_MSG_T="A-send_msg-T",t.A_SEND_MSG_R="A-send_msg-R",t.L_SEND_MSG_T="L-send_msg-T",t.L_SEND_MSG_R="L-send_msg-R",t.L_PULL_MSG_T="L-pull_msg-T",t.L_PULL_MSG_R="L-pull_msg-R",t.L_PULL_MSG_O="L-pull_msg-O",t.L_PULL_ULTRA_MSG_T="L-pull_ultra_msg-T",t.L_PULL_ULTRA_MSG_R="L-pull_ultra_msg-R",t.L_PULL_CHATROOM_KV_T="L-pull_chatroom_kv-T",t.L_PULL_CHATROOM_KV_R="L-pull_chatroom_kv-R",t.L_PULL_CHATROOM_MSG_T="L-pull_chatroom_msg-T",t.L_PULL_CHATROOM_MSG_R="L-pull_chatroom_msg-R",t.L_RECV_MULTI_SYNC_MSG_O="L-recv_multi_sync_msg-O",t.L_RECV_S_MSG_O="L-recv_s_msg-O",t.A_DELETE_MESSAGES_S="A-delete_messages-S",t.P_DELETE_MSG_S="P-delete_msg-S",t.L_PULL_CONVERSATION_S="L-pull_conversation-S",t.L_RECALL_ULTRA_MSG_S="L-recall_ultra_msg-S",t.A_REGTYP_O="A-regtyp-O",t.P_REGTYP_E="P-regtype-E",t.L_GET_NAVI_T="L-get_navi-T",t.L_GET_NAVI_R="L-get_navi-R",t.L_ENV_S="L-Env-S",t.L_GET_INDEX_NAVI_S="L-get_index_navi-S",t.A_JOIN_CHATROOM_T="A-join_chatroom-T",t.A_JOIN_CHATROOM_R="A-join_chatroom-R",t.L_JOIN_CHATROOM_T="L-join_chatroom-T",t.L_JOIN_CHATROOM_R="L-join_chatroom-R",t.A_QUIT_CHATROOM_T="A-quit_chatroom-T",t.A_QUIT_CHATROOM_R="A-quit_chatroom-R",t.L_REJOIN_CHATROOM_T="L-rejoin_chatroom-T",t.L_REJOIN_CHATROOM_R="L-rejoin_chatroom-R",t.L_MEDIA_S="L-media-S",t.L_MEDIA_UPLOAD_T="L-media_upload-T",t.L_MEDIA_UPLOAD_R="L-media_upload-R",t.G_UPLOAD_LOG_S="G-upload_log-S",t.G_REPORT_LOG_S="G-report_log-S",t.G_UPLOAD_LOG_E="G-upload_log-E",t.G_GET_REAL_TIMELOG_COMMAND_S="G-get_real_timelog_command-S",t.L_CHECK_ALIVE_IM_T="L-check_alive_im-T",t.L_CHECK_ALIVE_IM_R="L-check_alive_im-R",t.A_GET_HISTORY_MSG_T="A-get_history_msg-T",t.A_GET_HISTORY_MSG_R="A-get_history_msg-R",t.L_GET_HISTORY_MSG_T="L-get_history_msg-T",t.L_GET_HISTORY_MSG_R="L-get_history_msg-R",t.A_GET_PRIVATE_MESSAGE_DELIVER_TIME_E="A-get_privage_message_deliver_time-E",t.A_GET_GROUP_MESSAGE_DELIVER_LIST_E="A-get_group_message_deliver_list-E",t.A_CALLBACK_O="A-callback-O",t.A_CALLBACK_E="A-callback-E",t.L_CALLBACK_E="L-callback-E",t.A_GET_TOP_CONVERSATION_LIST_E="A-get_top_conversation_list-E",t.L_PB_ENCODE_E="L-pb-encode-E",t.L_PB_DECODE_E="L-pb-decode-E",t.L_NOTIFY_NAVI_CHANGE_E="L-notify_navi_change-E",t.L_REPORT_FULL_LOG_O="L-report_full_log-O",t.L_REPORT_FULL_LOG_T="L-report_full_log-T",t.L_REPORT_FULL_LOG_R="L-report_full_log-R",t.L_REPORT_LOG_POLICY_E="L-parse_navi_logpolicy-E",t.L_UNSUPPORT_INDEXDB_O="L-unsupport_IndexDB-O",t.L_LOGDB_OPEN_FAILED_E="L-logDB_open_failed-E",t.L_LOGDB_CLOSED_S="L-logDB_closed-S",t.L_LOGDB_ERROR_E="L-logDB_error-S",t.L_LOGDB_ABORT_S="L-logDB_abort-S",t.L_REALTIME_LOG_R="L_REALTIME_LOG_R",t.L_REALTIME_LOG_O="L_REALTIME_LOG_O",t.L_REALTIME_LOG_T="L_REALTIME_LOG_T",t.L_UNKNOWN_TOPIC_E="L_UNKNOWN_TOPIC_E",t.L_RECV_RMTP_O="L_RECV_RMTP_O",t.L_RECV_RMTP_E="L_RECV_RMTP_E",t.L_VER_REPORT_T="L-VER_REPORT-T",t.L_VER_REPORT_R="L-VER_REPORT-R",t.L_CALL_MAIN_SYNC_O="L_CALL_MAIN_SYNC_O",t.L_UNSUPPORT_NTF_FROM_MAIN_E="L_UNSUPPORT_NTF_FROM_MAIN_E",t.A_SET_MSG_CONTENT_O="A_SET_MSG_CONTENT_O"}(Q||(Q={})),function(t){t[t.QUIT=0]="QUIT",t[t.JOIN=1]="JOIN"}(W||(W={}));var K,q,J=W;!function(t){t[t.GLOBAL=1]="GLOBAL",t[t.CUSTOM=2]="CUSTOM",t[t.THIRD_PARTY=3]="THIRD_PARTY"}(K||(K={})),function(t){t[t.MSG_ORIGINAL=0]="MSG_ORIGINAL",t[t.MSG_EXPANSION=1]="MSG_EXPANSION",t[t.MSG_MODIFY=2]="MSG_MODIFY"}(q||(q={}));var X;!function(t){t[t.typing=0]="typing"}(X||(X={}));var tt,et,nt,rt,it,ot,st,at;!function(t){t.NAVI="rc-navi",t.REALTIME_LOG_TIMESTAMP="rc-realtime-log-timestamp"}(tt||(tt={})),function(t){t[t.PUBLIC=0]="PUBLIC",t[t.PRIVATE=1]="PRIVATE"}(et||(et={})),function(t){t[t.PUBLIC_TO_PRIVATE=2]="PUBLIC_TO_PRIVATE",t[t.PRIVATE_TO_PUBLIC=3]="PRIVATE_TO_PUBLIC",t[t.PUBLIC_TO_PRIVATE_USER_NOT_IN=6]="PUBLIC_TO_PRIVATE_USER_NOT_IN"}(nt||(nt={})),function(t){t[t.MSG_EXPANSION=1]="MSG_EXPANSION",t[t.MSG_MODIFY=2]="MSG_MODIFY",t[t.MSG_RECALL=3]="MSG_RECALL",t[t.CHANNEL_CHANGE=4]="CHANNEL_CHANGE"}(rt||(rt={})),function(t){t[t.CHANNEL_DELETE=1]="CHANNEL_DELETE",t[t.PUBLIC_TO_PRIVATE=2]="PUBLIC_TO_PRIVATE",t[t.PRIVATE_TO_PUBLIC=3]="PRIVATE_TO_PUBLIC",t[t.PRIVATE_CHANNEL_USER_JOIN_PUBLIC=4]="PRIVATE_CHANNEL_USER_JOIN_PUBLIC",t[t.CHANNEL_USER_KICKED=5]="CHANNEL_USER_KICKED",t[t.PUBLIC_TO_PRIVATE_USER_NOT_IN=6]="PUBLIC_TO_PRIVATE_USER_NOT_IN"}(it||(it={})),function(t){t[t.RTC=0]="RTC",t[t.LIVE=2]="LIVE",t[t.SIP=4]="SIP",t[t.CALL=5]="CALL",t[t.MEETING=6]="MEETING",t[t.CROSS_MUTI=7]="CROSS_MUTI",t[t.CROSS_LIVE=8]="CROSS_LIVE"}(ot||(ot={})),function(t){t[t.AUDIO_AND_VIDEO=0]="AUDIO_AND_VIDEO",t[t.AUDIO=1]="AUDIO"}(st||(st={})),function(t){t[t.ANCHOR=1]="ANCHOR",t[t.AUDIENCE=2]="AUDIENCE"}(at||(at={}));var ct,ut,lt,ft={"RC:VCAccept":"RC:VCAccept","RC:VCRinging":"RC:VCRinging","RC:VCSummary":"RC:VCSummary","RC:VCHangup":"RC:VCHangup","RC:VCInvite":"RC:VCInvite","RC:VCModifyMedia":"RC:VCModifyMedia","RC:VCModifyMem":"RC:VCModifyMem"};!function(t){t[t.ROOM=1]="ROOM",t[t.PERSON=2]="PERSON"}(ct||(ct={})),function(t){t[t.AnchorToViewer=1]="AnchorToViewer",t[t.ViewerToAnchor=2]="ViewerToAnchor"}(ut||(ut={})),function(t){t[t.KICK=0]="KICK",t[t.REFUSE=1]="REFUSE",t[t.COEXIST=2]="COEXIST"}(lt||(lt={}));var ht=function(t){return"string"==typeof t},dt=function(t){return"boolean"==typeof t},pt=function(t){return"number"==typeof t&&!Number.isNaN(t)},gt=function(t){return-1!==Object.prototype.toString.call(t).indexOf("Array")},vt=function(t){return"[object ArrayBuffer]"===Object.prototype.toString.call(t)},yt=function(t){return ht(t)&&t.length>0},mt=function(t){return gt(t)&&t.length>0},It=function(t){return"[object Object]"===Object.prototype.toString.call(t)},Mt=function(t){return"[object Function]"===Object.prototype.toString.call(t)},bt=function(t){return void 0===t||"[object Undefined]"===Object.prototype.toString.call(t)},_t=function(t){return"[object Null]"===Object.prototype.toString.call(t)},At=function(t){return ht(t)&&/https?:\/\//.test(t)},Ct=function(t){for(var e in t)return!0;return!1},Tt=function(t){return pt(t)&&Object.prototype.hasOwnProperty.call(D,t)},Et=function(t){return pt(t)&&Object.prototype.hasOwnProperty.call(G,t)},wt=function(t){var e=!1;return ht(t)&&!/_/g.test(t)&&t.length<=20&&(e=!0),e},Nt=function(t){return pt(t)&&Object.prototype.hasOwnProperty.call(T,t)},St=function(t){var e=!1,n=!1,r=!1;if(It(t)){var i=Object.keys(t).length;for(var o in e=i>20,t)if(n||(n=ht(o)&&!/^[A-Za-z0-9_=+-]+$/.test(o)),!r){var s=t[o];r=o.length>32||s.length>4096}}return{isExceedLimit:e,isIllgalEx:n,isExKeyOrValLengthExceedLimit:r}},Ot=function(){function t(){this._map={}}return t.prototype.on=function(t,e,n){var r=this._map[t]||(this._map[t]=[]);r.some((function(t){return t.listener===e&&t.target===n}))||r.push({listener:e,target:n})},t.prototype.once=function(t,e,n){var r=this._map[t]||(this._map[t]=[]);r.some((function(t){return t.listener===e&&t.target===n}))||r.push({listener:e,target:n,once:!0})},t.prototype.off=function(t,e,n){var r=this._map[t];r&&((r=r.filter((function(t){return t.listener!==e||t.target!==n}))).length?this._map[t]=r:delete this._map[t])},t.prototype.emit=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=this._map[t];if(r)for(var i=r.length-1;i>=0;i-=1){var o=r[i],s=o.target,a=o.once,c=o.listener;a&&r.splice(i,1);try{c.call.apply(c,M([s],e,!1))}catch(t){null===console||void 0===console||console.error(t)}}},t.prototype.removeAll=function(t){delete this._map[t]},t.prototype.clear=function(){Object.keys(this._map).forEach(this.removeAll,this)},t}(),Dt="undefined"!=typeof window&&window?(window.__RCVersionInfo||(window.__RCVersionInfo={}),window.__RCVersionInfo):{};Dt.engine="5.6.1";var Rt=function(){function t(){}return t.add=function(t,e){Dt[t]=e},t.validEngine=function(t){var e=t.match(/\d+\.\d+\.\d+/);if(!e)return!1;var n=e[0].split(".").map((function(t){return t.padStart(3,"0")})).join("");return Dt.engine.match(/\d+\.\d+\.\d+/)[0].split(".").map((function(t){return t.padStart(3,"0")})).join("")>=n},t.getInfo=function(){return Dt},t}(),Lt=Date.now(),xt=0;function jt(t,e,n,r){}var kt,Pt,Ut=jt.bind(null,H.DEBUG),zt=jt.bind(null,H.INFO),Gt=jt.bind(null,H.WARN),Bt=jt.bind(null,H.ERROR),Yt=jt.bind(null,H.FATAL),Ft=Object.freeze({__proto__:null,logLevelTransformer:function(t){return 4-t},ID:function(){var t=Date.now();return Lt!==t&&(Lt=t,xt=0),"".concat(Lt,"-").concat(xt++)},init:function(t){},log:jt,debug:Ut,info:zt,warn:Gt,error:Bt,fatal:Yt}),$t=function(){function t(t,e,n){this.tagId=t,this.logSource=e,this.initiator=n,this.debug=this.log.bind(this,H.DEBUG),this.info=this.log.bind(this,H.INFO),this.warn=this.log.bind(this,H.WARN),this.error=this.log.bind(this,H.ERROR),this.fatal=this.log.bind(this,H.FATAL)}return t.prototype.setLogLevel=function(t){},t.prototype.setLogStdout=function(t){},t.prototype.log=function(t){},t.prototype.set=function(t,e){},t.prototype.setStdout=function(t){},t}(),Ht=new $t("RC-E"),Vt=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"===t?e:3&e|8).toString(16)}))},Qt=function(){var t=Vt();if(t="".concat(t.replace(/-/g,""),"a"),t=function(t){var e="0123456789abcdefghigklmnopqrstuvwxyzABCDEFGHIGKLMNOPQRSTUVWXYZa0".split(""),n=e.length+1,r=+t,i=[];do{var o=r%n;r=(r-o)/n,i.unshift(e[o])}while(r);return i.join("")}(t=parseInt(t,16)),t.length>22&&(t=t.slice(0,22)),t.length<22)for(var e=22-t.length,n=0;n<e;n++)t+="0";return t};!function(t){t[t.STRING=0]="STRING",t[t.ONLY_STRING=1]="ONLY_STRING",t[t.NUMBER=2]="NUMBER",t[t.BOOLEAN=3]="BOOLEAN",t[t.OBJECT=4]="OBJECT",t[t.ARRAY=5]="ARRAY",t[t.CALLBACK=6]="CALLBACK",t[t.CHANNEL_ID=7]="CHANNEL_ID",t[t.CONVERSATION=8]="CONVERSATION"}(Pt||(Pt={}));var Wt,Zt,Kt,qt=((kt={})[Pt.STRING]=yt,kt[Pt.ONLY_STRING]=ht,kt[Pt.NUMBER]=pt,kt[Pt.BOOLEAN]=function(t){return"boolean"==typeof t},kt[Pt.OBJECT]=It,kt[Pt.ARRAY]=gt,kt[Pt.CALLBACK]=function(t){var e=!0;return It(t)||(e=!1),(t=t||{}).onSuccess&&!Mt(t.onSuccess)&&(e=!1),t.onError&&!Mt(t.onError)&&(e=!1),e},kt[Pt.CHANNEL_ID]=wt,kt[Pt.CONVERSATION]=function(t){var e=!0;return It(t)||(e=!1),ht(t.targetId)||(e=!1),Tt(t.conversationType)||(e=!1),bt(t.channelId)||wt(t.channelId)||(e=!1),e},kt),Jt=function(t){function e(e){var n=t.call(this,e)||this;return n.name="RCAssertError",n}return v(e,t),e}(Error),Xt=function(t,e,n,r){if(void 0===r&&(r=!1),!te(t,e,n,r))throw new Jt("'".concat(t,"' is invalid: ").concat(JSON.stringify(e)))},te=function(t,e,n,r){void 0===r&&(r=!1),n=qt[n]||n;var i=r?n(e):bt(e)||null==e||n(e);return i||null===console||void 0===console||console.error("'".concat(t,"' is invalid: ").concat(JSON.stringify(e))),i},ee=function(t){if(!It(t)||void 0===t.low||void 0===t.high)return t;var e=t.low;return e<0&&(e+=4294967296),e=e.toString(16),parseInt(t.high.toString(16)+"00000000".replace(new RegExp("0{".concat(e.length,"}$")),e),16)},ne=function(t,e){var n=Math.floor(1e3*Math.random()%1e4),r=Vt(),i=function(t){t=t||"-";var e=new Date,n=e.getFullYear(),r=e.getMonth()+1,i=e.getDate();return"".concat(n).concat(t).concat(r).concat(t).concat(i)}(),o=(new Date).getTime(),s="";if(e){var a=e.split(".");s=".".concat(a[a.length-1])}return"".concat(t,"__RC-").concat(i,"_").concat(n,"_").concat(o).concat(r).concat(s)},re=function(t,e){void 0===t&&(t={}),void 0===e&&(e={});var n=t.threadId,r=t.apnsCollapseId,i=t.category,o=t.richMediaUri,s=e.channelIdMi,a=e.channelIdHW,c=e.channelIdOPPO,u=e.typeVivo,l=e.googleConfig,f={};f["thread-id"]=n||"",f["apns-collapse-id"]=r||"",f.category=i||"",f.richMediaUri=o||"";var h={};h.collapse_key=null==l?void 0:l.collapseKey,h.imageUrl=null==l?void 0:l.imageUrl;var d=null==l?void 0:l.priority;d&&!["high","normal"].includes(d)&&(d="normal"),h.priority=d;var p=[{HW:{channelId:a||""}},{MI:{channelId:s||""}},{OPPO:{channelId:c||""}},{VIVO:{classification:u||""}},{APNS:f},{FCM:h}];return JSON.stringify(p)},ie=function(t,e,n){var r={},i={notificationId:n||""};if(!e)return{iOSConfig:r,androidConfig:i};try{var o=JSON.parse(e);null==o||o.forEach((function(t){var e,n,o,s,a=Object.keys(t);if(0!==a.length){var c=a[0];switch(c){case"HW":return void(i.channelIdHW=null===(e=t[c])||void 0===e?void 0:e.channelId);case"MI":return void(i.channelIdMi=null===(n=t[c])||void 0===n?void 0:n.channelId);case"OPPO":return void(i.channelIdOPPO=null===(o=t[c])||void 0===o?void 0:o.channelId);case"VIVO":return void(i.typeVivo=null===(s=t[c])||void 0===s?void 0:s.classification);case"APNS":return r.threadId=t[c]["thread-id"],r.apnsCollapseId=t[c]["apns-collapse-id"],r.category=t[c].category,void(r.richMediaUri=t[c].richMediaUri);case"FCM":i.googleConfig={collapseKey:t[c].collapse_key||"",imageUrl:t[c].imageUrl||"",priority:t[c].priority||""}}}}))}catch(n){t.error(Q.O,"Wrong format for pushConfigs field! content: ".concat(e))}return{iOSConfig:r,androidConfig:i}},oe=function(t){var e=/^[A-Za-z0-9_=+-]+$/.test(t),n=t.length;return e&&n<=128&&n>=1},se=function(t){var e=t.length;return e<=4096&&e>=1},ae=(Wt=0,function(){var t=((4294967295&Date.now())>>>0).toString(2),e=Math.floor(Math.random()*(Math.pow(2,20)-1)),n=t+Wt.toString(2).padStart(11,"0")+e.toString(2).padStart(20,"0");return Wt=2047&++Wt,parseInt(n,2)}),ce=function(t,e,n){var r=null==n?void 0:n.isReverse;It(t)&&function(){for(var n in t)e(t[n],n,t)}(),(gt(t)||ht(t))&&function(){if(r)for(var n=t.length-1;n>=0;n--)e(t[n],n);else for(var i=0,o=t.length;i<o;i++)e(t[i],i)}()},ue=function(t,e){return ce(t,(function(n,r){t[r]=e(n,r)})),t},le=function(t,e){if(t.indexOf)return t.indexOf(e);var n=-1;return ce(t,(function(t,r){e===t&&(n=r)})),n},fe=function(t,e){var n=[];return ce(t,(function(t){n.push(t)})),-1!==le(n,e)},he=function(t){return JSON.parse(JSON.stringify(t))},de=function(){return"undefined"!=typeof RCCppEngine},pe=function(t){switch(t){case x.SERVER_UNAVAILABLE:return S.SERVER_UNAVAILABLE;case x.TOKEN_INCORRECT:return S.RC_CONN_USER_OR_PASSWD_ERROR;case x.REDIRECT:return S.RC_CONN_REDIRECTED;case x.APP_BLOCK_OR_DELETE:return S.RC_CONN_APP_BLOCKED_OR_DELETED;case x.BLOCK:return S.RC_CONN_USER_BLOCKED;case x.TOKEN_EXPIRE:return S.RC_CONN_USER_OR_PASSWD_ERROR;case x.HOSTNAME_ERROR:return S.HOSTNAME_ERROR;case x.HASOHTERSAMECLIENTONLINE:return S.HAS_OHTER_SAME_CLIENT_ON_LINE;case x.APP_AUTH_NOT_PASS:return S.RC_APP_AUTH_NOT_PASS;case x.OTP_USED:return S.RC_OTP_USED;case x.PLATFORM_ERROR:return S.RC_PLATFORM_ERROR;case x.USER_LOGOUT:return S.RC_CONN_USER_LOGOUT;default:return S.RC_NET_UNAVAILABLE}},ge=function(t){var e;if("object"==typeof t&&null!==t)if(Array.isArray(t))for(var n in e=[],t)e.push(ge(t[n]));else for(var n in e={},t)e[n]=ge(t[n]);else e=t;return e},ve=function(t){var e;try{e=ge(t)}catch(o){Ht.error("clone err:",o),e=JSON.parse(JSON.stringify(t))}return e},ye=function(t){var e={},n=JSON.parse(t);return ce(n,(function(t,n){e[n]=t.v})),e},me={_delayTime:0,setTime:function(t){var e=(new Date).getTime();me._delayTime=e-t},getTime:function(){var t=me._delayTime;return(new Date).getTime()-t}},Ie=function(t,e){var n=0;return t.isAutoDelete&&(n|=1),t.isOverwrite&&(n|=2),2===e&&(n|=4),n};function Me(t,e,n){return m(this,void 0,void 0,(function(){return I(this,(function(t){return[2]}))}))}!function(t){t[t.PRIVATE=1]="PRIVATE",t[t.OPEN=0]="OPEN"}(Zt||(Zt={})),function(t){t[t.NAVI=1]="NAVI",t[t.TCP=2]="TCP",t[t.WS=3]="WS"}(Kt||(Kt={}));var be,_e,Ae,Ce,Te,Ee,we={},Ne={sdkPrivate:Zt.OPEN,serverPrivate:Zt.OPEN,bundleId:"lib-next"};function Se(){return Ne}function Oe(t){return we[t]||{}}!function(t){t.GET="GET",t.POST="POST"}(be||(be={})),function(t){t.WIFI="wifi",t.FOUR_G="4g",t.THREE_G="3g",t.TWO_G="2g",t.FIVE_G="2g",t.THREE_GENT="3gnet",t.UNKONWN="unknown"}(_e||(_e={})),function(t){t[t.AT_MOST_ONCE=0]="AT_MOST_ONCE",t[t.AT_LEAST_ONCE=1]="AT_LEAST_ONCE",t[t.EXACTLY_ONCE=2]="EXACTLY_ONCE",t[t.DEFAULT=3]="DEFAULT"}(Ae||(Ae={})),function(t){t[t.SYMMETRIC=0]="SYMMETRIC",t[t.CONNECT=1]="CONNECT",t[t.CONN_ACK=2]="CONN_ACK",t[t.PUBLISH=3]="PUBLISH",t[t.PUB_ACK=4]="PUB_ACK",t[t.QUERY=5]="QUERY",t[t.QUERY_ACK=6]="QUERY_ACK",t[t.QUERY_CONFIRM=7]="QUERY_CONFIRM",t[t.SUBSCRIBE=8]="SUBSCRIBE",t[t.SUB_ACK=9]="SUB_ACK",t[t.UNSUBSCRIBE=10]="UNSUBSCRIBE",t[t.UNSUB_ACK=11]="UNSUB_ACK",t[t.PING_REQ=12]="PING_REQ",t[t.PING_RESP=13]="PING_RESP",t[t.DISCONNECT=14]="DISCONNECT",t[t.RESERVER2=15]="RESERVER2"}(Ce||(Ce={})),function(t){t.PUB="pub",t.QUERY="qry"}(Te||(Te={})),function(t){t[t.V4=4]="V4",t[t.V3=3]="V3"}(Ee||(Ee={}));var De,Re=function(){function t(t,e,n,r){void 0===e&&(e=!1),void 0===n&&(n=Ae.AT_LEAST_ONCE),void 0===r&&(r=!1),this._retain=!1,this.qos=Ae.AT_LEAST_ONCE,this._dup=!1,this.syncMsg=!1;var i=t>0;t&&i&&1===arguments.length?(this._retain=(1&t)>0,this.qos=(6&t)>>1,this._dup=(8&t)>0,this.type=t>>4&15,this.syncMsg=8==(8&t)):(this.type=t,this._retain=e,this.qos=n,this._dup=r)}return t.prototype.encode=function(){var t=this.type<<4;return t|=this._retain?1:0,t|=this.qos<<1,t|(this._dup?8:0)},t}(),Le=function(){function t(){}return t.writeUTF=function(t,e){var n=[],r=0;if(ht(t))for(var i=0,o=t.length;i<o;i++){var s=t.charCodeAt(i);s>=0&&s<=127?(r+=1,n.push(s)):s>=128&&s<=2047?(r+=2,n.push(192|31&s>>6),n.push(128|63&s)):s>=2048&&s<=65535&&(r+=3,n.push(224|15&s>>12),n.push(128|63&s>>6),n.push(128|63&s))}for(i=0,o=n.length;i<o;i++)n[i]>255&&(n[i]&=255);return e?n:r<=255?[0,r].concat(n):[r>>8,255&r].concat(n)},t.readUTF=function(t){for(var e,n,r=[],i=-1,o=t,s="";++i<o.length;){var a=Number(o[i]);if(a===(127&a)||(240==(240&a)?a=(a=(a=(a^=240)<<6|128^o[++i])<<6|128^o[++i])<<6|128^o[++i]:224==(224&a)?a=(a=(a^=224)<<6|128^o[++i])<<6|128^o[++i]:192==(192&a)&&(a=(a^=192)<<6|128^o[++i])),!Number.isFinite(a)||a<0||a>1114111||Math.floor(a)!==a)throw RangeError("Invalid code point: ".concat(a));a<=65535?r.push(a):(e=(a-=65536)>>10|55296,n=a%1024|56320,r.push(e,n)),(i+1===o.length||r.length>16384)&&(s+=String.fromCharCode.apply(null,r),r.length=0)}return s},t}(),xe=function(){function t(t){this._position=0,this._poolLen=0,this._pool=t,this._poolLen=t.length}return t.prototype.check=function(){return this._position>=this._pool.length},t.prototype.read2Byte=function(){var t=this;if(t.check())return-1;for(var e="",n=0;n<2;n++){var r=t._pool[t._position++].toString(16);1===r.length&&(r="0".concat(r)),e+=r.toString()}return parseInt(e,16)},t.prototype.readInt=function(){var t=this;if(t.check())return-1;for(var e="",n=0;n<4;n++){var r=t._pool[t._position++].toString(16);1===r.length&&(r="0".concat(r)),e+=r.toString()}return parseInt(e,16)},t.prototype.readLong=function(){var t=this;if(t.check())return-1;for(var e="",n=0;n<8;n++){var r=t._pool[t._position++].toString(16);1===r.length&&(r="0".concat(r)),e+=r}return parseInt(e,16)},t.prototype.readByte=function(){if(this.check())return-1;var t=this._pool[this._position++];return t>255&&(t&=255),t},t.prototype.readUTF=function(){if(this.check())return"";var t=this.readByte()<<8|this.readByte(),e=this._pool.subarray(this._position,this._position+=t);return Le.readUTF(e)},t.prototype.readAll=function(){return this._pool.subarray(this._position,this._poolLen)},t}(),je=function(){function t(){this._pool=[],this._position=0,this._writen=0}return t.prototype.write=function(t){return-1!==Object.prototype.toString.call(t).indexOf("Array")?this._pool=this._pool.concat(t):t>=0&&(t>255&&(t&=255),this._pool.push(t),this._writen++),t},t.prototype.writeArr=function(t){return this._pool=this._pool.concat(t),t},t.prototype.writeUTF=function(t){var e=Le.writeUTF(t);this._pool=this._pool.concat(e),this._writen+=e.length},t.prototype.getBytesArray=function(){return this._pool},t}(),ke=function(t,e){return t&&e?"".concat(e,"_").concat(t):t||Date.now()},Pe=function(){function t(t){this.header=t,this.messageId=0,this.timestamp=0,this.syncMsg=!1,this.identifier=""}return t.prototype.getIdentifier=function(){var t=this.messageId,e=this.identifier;return ke(t,e)},t.prototype.read=function(t,e,n,r){this.readMessage(t,e,n,r)},t.prototype.readMessage=function(t,e,n,r){return{stream:e,length:n}},t}(),Ue=function(){function t(t){this.lengthSize=0,this.messageId=0,this.topic="",this.targetId="",this.identifier="",this._header=new Re(t,!1,Ae.AT_MOST_ONCE,!1)}return t.prototype.getIdentifier=function(){var t=this.messageId,e=this.identifier;return ke(t,e)},t.prototype.write=function(t){var e=this.getHeaderFlag();t.write(e),this.writeMessage(t)},t.prototype.setHeaderQos=function(t){this._header.qos=t},t.prototype.getHeaderFlag=function(){return this._header.encode()},t.prototype.getLengthSize=function(){return this.lengthSize},t.prototype.getBufferData=function(){var t=new je;this.write(t);var e=t.getBytesArray();return new Int8Array(e)},t}(),ze=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.status=null,e.userId=null,e.timestamp=0,e}return v(e,t),e.prototype.readMessage=function(t,n,r,i){if(n.readByte(),this.status=+n.readByte(),r<=e.MESSAGE_LENGTH)return{stream:n,length:r};if(i===Ee.V4){var o=n.readByte();1&o&&(this.userId=n.readUTF()),2&o&&n.readUTF(),4&o&&(this.timestamp=n.readLong()),8&o&&(this.messageId=n.read2Byte())}else{this.userId=n.readUTF();var s=n.readUTF();t.debug(Q.O,"server sessionId -> ".concat(s)),this.timestamp=n.readLong()}return{stream:n,length:r}},e.MESSAGE_LENGTH=2,e}(Pe),Ge=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.status=0,e}return v(e,t),e.prototype.readMessage=function(t,e,n){return e.readByte(),this.status=+e.readByte(),{stream:e,length:n}},e.MESSAGE_LENGTH=2,e}(Pe),Be=function(t){function e(){return t.call(this,Ce.PING_REQ)||this}return v(e,t),e.prototype.writeMessage=function(t){},e}(Ue),Ye=function(t){function e(e){return t.call(this,e)||this}return v(e,t),e}(Pe),Fe=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.messageId=0,e}return v(e,t),e.prototype.readMessage=function(t,e,n){var r=256*e.readByte()+e.readByte();return this.messageId=parseInt(r.toString(),10),{stream:e,length:n}},e}(Pe),$e=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return v(e,t),e.prototype.writeMessage=function(t){var e=this.messageId,n=255&e,r=(65280&e)>>8;t.write(r),t.write(n)},e}(Ue),He=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.topic="",e.targetId="",e.syncMsg=!1,e.identifier=Te.PUB,e}return v(e,t),e.prototype.readMessage=function(e,n,r){return this.date=n.readInt(),this.topic=n.readUTF(),this.targetId=n.readUTF(),t.prototype.readMessage.call(this,e,n,r),this.data=n.readAll(),{stream:n,length:r}},e}(Fe),Ve=function(t){function e(e,n,r){var i=t.call(this,Ce.PUBLISH)||this;return i.syncMsg=!1,i.identifier=Te.PUB,i.topic=e,i.data=ht(n)?Le.writeUTF(n):n,i.targetId=r,i}return v(e,t),e.prototype.writeMessage=function(e){e.writeUTF(this.topic),e.writeUTF(this.targetId),t.prototype.writeMessage.call(this,e),e.write(this.data)},e}($e),Qe=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.status=0,e.date=0,e.millisecond=0,e.messageUId="",e.timestamp=0,e.identifier=Te.PUB,e.topic="",e.targetId="",e}return v(e,t),e.prototype.readMessage=function(e,n,r){return t.prototype.readMessage.call(this,e,n,r),this.date=n.readInt(),this.status=256*n.readByte()+n.readByte(),this.millisecond=256*n.readByte()+n.readByte(),this.timestamp=1e3*this.date+this.millisecond,this.messageUId=n.readUTF(),{stream:n,length:r}},e}(Fe),We=function(t){function e(e){var n=t.call(this,Ce.PUB_ACK)||this;return n.status=0,n.date=0,n.millisecond=0,n.messageUId="",n.timestamp=0,n.messageId=e,n}return v(e,t),e.prototype.writeMessage=function(e){t.prototype.writeMessage.call(this,e)},e}($e),Ze=function(t){function e(e,n,r){var i=t.call(this,Ce.QUERY)||this;return i.identifier=Te.QUERY,i.topic=e,i.data=ht(n)?Le.writeUTF(n):n,i.targetId=r,i}return v(e,t),e.prototype.writeMessage=function(e){e.writeUTF(this.topic),e.writeUTF(this.targetId),t.prototype.writeMessage.call(this,e),e.write(this.data)},e}($e),Ke=function(t){function e(e){var n=t.call(this,Ce.QUERY_CONFIRM)||this;return n.messageId=e,n}return v(e,t),e}($e),qe=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.status=0,e.identifier=Te.QUERY,e.topic="",e.targetId="",e}return v(e,t),e.prototype.readMessage=function(e,n,r){return t.prototype.readMessage.call(this,e,n,r),this.date=n.readInt(),this.status=256*n.readByte()+n.readByte(),this.data=n.readAll(),{stream:n,length:r}},e}(Fe),Je=function(t,e,n){var r=new Uint8Array(e),i=new xe(r),o=i.readByte(),s=function(t,e){var n,r=t.type;switch(r){case Ce.CONN_ACK:n=new ze(t);break;case Ce.PUBLISH:(n=new He(t)).syncMsg=t.syncMsg;break;case Ce.PUB_ACK:n=new Qe(t);break;case Ce.QUERY_ACK:n=new qe(t);break;case Ce.SUB_ACK:case Ce.UNSUB_ACK:case Ce.PING_RESP:n=new Ye(t);break;case Ce.DISCONNECT:n=new Ge(t);break;default:n=new Pe(t),e.error(Q.O,"No support for deserializing ".concat(r," messages"))}return n}(new Re(o),t);return s.read(t,i,r.length-1,n),s};!function(t){t[t.ppMsgP=1]="ppMsgP",t[t.ppMsgN=2]="ppMsgN",t[t.ppMsgS=3]="ppMsgS",t[t.pgMsgP=4]="pgMsgP",t[t.chatMsg=5]="chatMsg",t[t.pcMsgP=6]="pcMsgP",t[t.qryPMsg=7]="qryPMsg",t[t.qryGMsg=8]="qryGMsg",t[t.qryCHMsg=9]="qryCHMsg",t[t.qryCMsg=10]="qryCMsg",t[t.qrySMsg=11]="qrySMsg",t[t.recallMsg=12]="recallMsg",t[t.prMsgS=13]="prMsgS",t[t.rrMsg=14]="rrMsg",t[t.rrList=15]="rrList",t[t.s_ntf=16]="s_ntf",t[t.s_msg=17]="s_msg",t[t.s_stat=18]="s_stat",t[t.s_cmd=19]="s_cmd",t[t.s_us=20]="s_us",t[t.pullUS=21]="pullUS",t[t.pgMsgS=22]="pgMsgS",t[t.chatMsgS=23]="chatMsgS",t[t.qrySessionsAtt=24]="qrySessionsAtt",t[t.pullMsg=25]="pullMsg",t[t.qrySessions=26]="qrySessions",t[t.delSessions=27]="delSessions",t[t.delMsg=28]="delMsg",t[t.updRRTime=29]="updRRTime",t[t.chrmPull=30]="chrmPull",t[t.joinChrm=31]="joinChrm",t[t.joinChrmR=32]="joinChrmR",t[t.exitChrm=33]="exitChrm",t[t.queryChrmI=34]="queryChrmI",t[t.setKV=35]="setKV",t[t.delKV=36]="delKV",t[t.pullKV=37]="pullKV",t[t.qryRelation=38]="qryRelation",t[t.delRelation=39]="delRelation",t[t.pullSeAtts=40]="pullSeAtts",t[t.setSeAtt=41]="setSeAtt",t[t.qnTkn=42]="qnTkn",t[t.qnUrl=43]="qnUrl",t[t.aliUrl=44]="aliUrl",t[t.s3Url=45]="s3Url",t[t.stcUrl=46]="stcUrl",t[t.cleanPMsg=47]="cleanPMsg",t[t.cleanGMsg=48]="cleanGMsg",t[t.cleanCMsg=49]="cleanCMsg",t[t.cleanSMsg=50]="cleanSMsg",t[t.rtcPing=51]="rtcPing",t[t.rtc_ntf=52]="rtc_ntf",t[t.rtcSetOutData=53]="rtcSetOutData",t[t.rtcQryUserOutData=54]="rtcQryUserOutData",t[t.addSeTag=55]="addSeTag",t[t.delSeTag=56]="delSeTag",t[t.addTag=57]="addTag",t[t.delTag=58]="delTag",t[t.disTag=59]="disTag",t[t.reportsdk=60]="reportsdk",t[t.pullUgSes=61]="pullUgSes",t[t.pullUgMsg=62]="pullUgMsg",t[t.ugMsg=63]="ugMsg",t[t.qryUgMsg=64]="qryUgMsg",t[t.updUgRTime=65]="updUgRTime",t[t.upMsgEx=66]="upMsgEx",t[t.modifyMsg=67]="modifyMsg",t[t.qryMsgChange=68]="qryMsgChange",t[t.qryMsg=69]="qryMsg",t[t.operate=70]="operate",t[t.s_opNtf=71]="s_opNtf",t[t.ugUnpushQuery=72]="ugUnpushQuery",t[t.ugUnpushSet=73]="ugUnpushSet",t[t.setRtcRoomId=74]="setRtcRoomId",t[t.qryUgUal=75]="qryUgUal"}(De||(De={}));var Xe,tn,en,nn=De;!function(t){t[t.REDIRECT=0]="REDIRECT",t[t.OTHER_DEVICE_LOGIN=1]="OTHER_DEVICE_LOGIN",t[t.BLOCK=2]="BLOCK",t[t.REMOTE_CLOSE=3]="REMOTE_CLOSE",t[t.LOGOUT=4]="LOGOUT",t[t.BLOCK_NEW=5]="BLOCK_NEW",t[t.REDIRECT_NEW=6]="REDIRECT_NEW",t[t.USER_LOGOUT=9]="USER_LOGOUT"}(Xe||(Xe={})),function(t){t.IM_NAVI="IM-stats_navi-S",t.IM_WEBSOCKET="IM-stats_websocket-S",t.IM_CONNECTION_DURATION="IM-stats_con_dur-S"}(tn||(tn={}));var rn,on="rtcRJoin_data",sn="rtcRExit",an="rtcRInfo",cn="rtcUData",un="rtcUPut",ln="rtcUDel",fn="rtcSetData",hn="userSetData",dn="rtcQryData",pn="rtcDelData",gn="rtcToken",vn="rtcUserState",yn="rtcUList",mn="viewerJoinR",In="viewerExitR",Mn="rtcPullKv",bn="rtcIdentityChange",_n="rtcInvite",An="rtcCancelInvite",Cn="rtcInviteAnswer",Tn="rtcEndInvite",En="rtcQueryJoined";!function(t){t.RtcInput="RtcInput",t.RtcUserListOutput="RtcUserListOutput",t.SetUserStatusInput="SetUserStatusInput",t.RtcSetDataInput="RtcSetDataInput",t.RtcUserSetDataInput="RtcUserSetDataInput",t.RtcDataInput="RtcDataInput",t.RtcSetOutDataInput="RtcSetOutDataInput",t.MCFollowInput="MCFollowInput",t.RtcTokenOutput="RtcTokenOutput",t.RtcQryOutput="RtcQryOutput",t.RtcQryUserOutDataInput="RtcQryUserOutDataInput",t.RtcUserOutDataOutput="RtcUserOutDataOutput",t.RtcQueryListInput="RtcQueryListInput",t.RtcRoomInfoOutput="RtcRoomInfoOutput",t.RtcValueInfo="RtcValueInfo",t.RtcKeyDeleteInput="RtcKeyDeleteInput",t.RtcNotifyMsg="RtcNotifyMsg",t.RtcPullKV="RtcPullKV",t.RtcKVOutput="RtcKVOutput",t.RtcQueryUserJoinedInput="RtcQueryUserJoinedInput",t.RtcQueryUserJoinedOutput="RtcQueryUserJoinedOutput",t.RtcViewerJoinedOutput="RtcViewerJoinedOutput",t.RtcInviteInput="RtcInviteInput",t.RtcCancelInviteInput="RtcCancelInviteInput",t.RtcInviteAnswerInput="RtcInviteAnswerInput",t.RtcEndInviteInput="RtcEndInviteInput",t.RtcOutput="RtcOutput"}(rn||(rn={}));var wn,Nn,Sn,On=((en={})[rn.RtcInput]=["roomType","broadcastType","extraInnerData","needSysChatroom","identityChangeType","joinType","innerDatas","outerDatas"],en[rn.RtcUserListOutput]=["users","token","sessionId","roomInfo"],en[rn.SetUserStatusInput]=["status"],en[rn.RtcSetDataInput]=["interior","target","key","value","objectName","content"],en[rn.RtcUserSetDataInput]=["valueInfo","objectName","content"],en[rn.RtcDataInput]=["interior","target","key","objectName","content"],en[rn.RtcSetOutDataInput]=["target","valueInfo","objectName","content"],en[rn.MCFollowInput]=["state"],en[rn.RtcTokenOutput]=["rtcToken"],en[rn.RtcQryOutput]=["outInfo"],en[rn.RtcQryUserOutDataInput]=["userId"],en[rn.RtcUserOutDataOutput]=["user"],en[rn.RtcQueryListInput]=["order"],en[rn.RtcRoomInfoOutput]=["roomId","roomData","userCount","list"],en[rn.RtcValueInfo]=["key","value"],en[rn.RtcKeyDeleteInput]=["key"],en[rn.RtcNotifyMsg]=["type","time","roomId"],en[rn.RtcPullKV]=["timestamp","roomId"],en[rn.RtcKVOutput]=["entries","bFullUpdate","syncTime"],en[rn.RtcQueryUserJoinedInput]=["userId"],en[rn.RtcQueryUserJoinedOutput]=["info"],en[rn.RtcInviteInput]=["invitedUserId","timeoutTime","invitedRoomId","inviteInfo","inviteSessionId"],en[rn.RtcCancelInviteInput]=["invitedUserId","invitedRoomId","inviteInfo","inviteSessionId"],en[rn.RtcInviteAnswerInput]=["inviteUserId","answerCode","inviteRoomId","inviteSessionId","content","key","value"],en[rn.RtcEndInviteInput]=["inviteRoomId","inviteSessionId","inviteContent","inviteRoomKeys"],en),Dn="\npackage Modules;\nmessage probuf {\n enum JoinType {\n KICK = 0; //踢前一个设备\n REFUSE = 1; //当前加入拒绝\n COEXIST = 2; //两个设备共存\n }\n enum targetType {\n ROOM =1 ;\n PERSON = 2;\n }\n message ".concat(rn.SetUserStatusInput,"\n {\n optional int32 status=1;\n }\n message ").concat(rn.MCFollowInput,"\n {\n required string state = 1;\n }\n message ").concat(rn.RtcQueryListInput,"{\n optional int32 order=1;\n }\n message ").concat(rn.RtcKeyDeleteInput,"{\n repeated string key=1;\n }\n message ").concat(rn.RtcValueInfo,"{\n required string key=1;\n required string value=2;\n }\n message RtcUserInfo{\n required string userId=1;\n repeated ").concat(rn.RtcValueInfo," userData=2; //用户资源信息\n }\n message ").concat(rn.RtcUserListOutput,"{\n repeated RtcUserInfo users=1;\n optional string token=2;\n optional string sessionId=3;\n repeated RtcValueInfo roomInfo = 4; //房间key value\n repeated RtcKVEntity entries = 5;//直播KV属性对象集合\n optional int64 syncTime = 6;//所有属性的最大时间戳(下次拉取KV时用)。\n optional int32 offlineKickTime = 7;//server超时踢人时间,默认60s\n }\n message RtcRoomInfoOutput{\n optional string roomId = 1;\n repeated ").concat(rn.RtcValueInfo," roomData = 2;\n optional int32 userCount = 3;\n repeated RtcUserInfo list=4;\n }\n message ").concat(rn.RtcInput,"{\n required int32 roomType=1;\n optional int32 broadcastType=2;\n optional RtcValueInfo extraInnerData = 3;\n optional bool needSysChatroom = 4; //是否需要同步聊天室\n optional IdentityChangeType identityChangeType = 5; //身份变更类型\n optional JoinType joinType = 6; // 加入房间类型\n repeated ").concat(rn.RtcValueInfo," innerDatas = 7; //用户内部inner数据,角色或者连麦信息等\n repeated ").concat(rn.RtcValueInfo," outerDatas = 8; //用户内部outer数据,自定义数据结构RtcInput。\n }\n message ").concat(rn.RtcQryOutput,"{\n repeated ").concat(rn.RtcValueInfo," outInfo=1;\n }\n message ").concat(rn.RtcDataInput,"{\n required bool interior=1;\n required targetType target=2;\n repeated string key=3;\n optional string objectName=4;\n optional string content=5;\n }\n message ").concat(rn.RtcSetDataInput,"{\n required bool interior=1;\n required targetType target=2;\n required string key=3;\n required string value=4;\n optional string objectName=5;\n optional string content=6;\n }\n message ").concat(rn.RtcUserSetDataInput," {\n repeated ").concat(rn.RtcValueInfo," valueInfo = 1;\n required string objectName = 2;\n repeated ").concat(rn.RtcValueInfo," content = 3;\n }\n message RtcQryInput{\n required bool isInterior=1;\n required targetType target=2;\n repeated string key=3;\n }\n message RtcDelDataInput{\n repeated string key=1;\n required bool isInterior=2;\n required targetType target=3;\n }\n message RtcOutput\n {\n optional int32 nothing=1;\n optional int64 version=2;\n }\n message ").concat(rn.RtcTokenOutput,"{\n required string rtcToken=1;\n }\n message ").concat(rn.RtcSetOutDataInput,"{\n required targetType target=1;\n repeated ").concat(rn.RtcValueInfo," valueInfo=2;\n optional string objectName=3;\n optional string content=4;\n }\n message ").concat(rn.RtcQryUserOutDataInput,"{\n repeated string userId = 1;\n }\n message ").concat(rn.RtcUserOutDataOutput,"{\n repeated RtcUserInfo user = 1;\n }\n message ").concat(rn.RtcNotifyMsg," \n {\n required int32 type= 1; //(通知类型 1:rtc房间状态KV变更通知)\n optional int64 time= 2; //消息产生时间\n optional string roomId=3; //主播房间id\n }\n message ").concat(rn.RtcPullKV,"\n {\n required int64 timestamp = 1;\n required string roomId = 2;\n }\n message RtcKVEntity \n {\n required string key = 1;\n required string value = 2;\n optional int32 status = 3;\n optional int64 timestamp = 4;\n optional string uid = 5;\n }\n message ").concat(rn.RtcKVOutput,"\n {\n repeated RtcKVEntity entries = 1;\n optional bool bFullUpdate = 2;\n optional int64 syncTime = 3; \n }\n enum IdentityChangeType \n {\n AnchorToViewer = 1; //1为主播变观众\n ViewerToAnchor = 2; //2为观众变主播\n }\n message ").concat(rn.RtcQueryUserJoinedInput,"\n {\n required string userId = 1;\n }\n message RtcJoinedInfo\n {\n required string deviceId = 1; //设备ID\n required string roomId = 2; //加入的房间ID\n optional int64 joinTime = 3; //加入的时间\n }\n message ").concat(rn.RtcQueryUserJoinedOutput,"\n {\n repeated RtcJoinedInfo info = 1;\n }\n message ").concat(rn.RtcViewerJoinedOutput,"\n {\n required string rtcToken=1;\n repeated RtcKVEntity entries = 2;//KV属性对象集合\n optional int64 syncTime = 3;//所有属性的最大时间戳(下次拉取KV时用)。\n }\n message ").concat(rn.RtcInviteInput,"\n {\n required string invitedUserId=1; //被邀请的人的uid\n optional int32 timeoutTime=2; //邀请超时时间(秒),默认三十秒\n required string invitedRoomId=3; //被邀请的房间\n required string inviteInfo=4; //邀请的信息(包含邀请人,被邀请人,各自userid)客户端定义好.协议栈和server透传\n required string inviteSessionId= 5; //客户端保证唯一性(建议roomid_userid_时间戳_随机数)\n }\n message ").concat(rn.RtcCancelInviteInput,"\n {\n required string invitedUserId=1; //被邀请的人的uid\n required string invitedRoomId=2; //被邀请的房间\n required string inviteInfo=3; //取消邀请的信息(包含邀请人,被邀请人,各自userid)客户端定义好.协议栈和server透传\n required string inviteSessionId=4; //邀请的sessionId,客户端发起邀请时产生\n }\n message ").concat(rn.RtcInviteAnswerInput,"\n {\n required string inviteUserId=1; //邀请的人的uid\n required int32 answerCode=2; //是否接受连麦邀请.0为拒绝,1为接受\n required string inviteRoomId=3; //邀请的房间\n required string inviteSessionId=4; //邀请的sessionId\n required string content=5; //需要转发的content\n optional string key=6; //如果接受的话,需要加这个字段,放在room级别的k和v,新加入房间的能拉取到\n optional string value=7; //如果接受的话,需要加这个字段,放在room级别的k和v,新加入房间的能拉取到\n }\n message ").concat(rn.RtcEndInviteInput,"\n {\n required string inviteRoomId=1; //邀请的房间\n required string inviteSessionId=2; //邀请的sessionId\n required string inviteContent=3; //结束连麦的信息(需要透传给房间内其他人)\n repeated string inviteRoomKeys=4; //需要删除连麦的信息的key\n }\n}\n");function Rn(e){var n=function(){function t(t,e,n){this.low=0|t,this.high=0|e,this.unsigned=!!n}function e(t){return!0===(t&&t.__isLong__)}function n(t,e){var n,r,o;return e?(o=(t>>>=0)>=0&&t<256)&&(r=c[t])?r:(n=i(t,(0|t)<0?-1:0,!0),o&&(c[t]=n),n):(o=(t|=0)>=-128&&t<128)&&(r=a[t])?r:(n=i(t,t<0?-1:0,!1),o&&(a[t]=n),n)}function r(t,e){if(isNaN(t)||!isFinite(t))return e?g:p;if(e){if(t<0)return g;if(t>=f)return M}else{if(-h>=t)return b;if(t+1>=h)return I}return t<0?r(-t,e).neg():i(0|t%l,0|t/l,e)}function i(e,n,r){return new t(e,n,r)}function o(t,e,n){var i,s,a,c,l,f,h;if(0===t.length)throw Error("empty string");if("NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return p;if("number"==typeof e?(n=e,e=!1):e=!!e,(n=n||10)<2||n>36)throw RangeError("radix");if((i=t.indexOf("-"))>0)throw Error("interior hyphen");if(0===i)return o(t.substring(1),e,n).neg();for(s=r(u(n,8)),a=p,c=0;c<t.length;c+=8)l=Math.min(8,t.length-c),f=parseInt(t.substring(c,c+l),n),l<8?(h=r(u(n,l)),a=a.mul(h).add(r(f))):a=(a=a.mul(s)).add(r(f));return a.unsigned=e,a}function s(e){return e instanceof t?e:"number"==typeof e?r(e):"string"==typeof e?o(e):i(e.low,e.high,e.unsigned)}var a,c,u,l,f,h,d,p,g,v,y,m,I,M,b,_;return t.prototype.__isLong__,Object.defineProperty(t.prototype,"__isLong__",{value:!0,enumerable:!1,configurable:!1}),t.isLong=e,a={},c={},t.fromInt=n,t.fromNumber=r,t.fromBits=i,u=Math.pow,t.fromString=o,t.fromValue=s,h=(f=(l=4294967296)*l)/2,d=n(16777216),p=n(0),t.ZERO=p,g=n(0,!0),t.UZERO=g,v=n(1),t.ONE=v,y=n(1,!0),t.UONE=y,m=n(-1),t.NEG_ONE=m,I=i(-1,2147483647,!1),t.MAX_VALUE=I,M=i(-1,-1,!0),t.MAX_UNSIGNED_VALUE=M,b=i(0,-2147483648,!1),t.MIN_VALUE=b,(_=t.prototype).toInt=function(){return this.unsigned?this.low>>>0:this.low},_.toNumber=function(){return this.unsigned?(this.high>>>0)*l+(this.low>>>0):this.high*l+(this.low>>>0)},_.toString=function(t){var e,n,i,o,s,a,c,l;if((t=t||10)<2||t>36)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative())return this.eq(b)?(e=r(t),i=(n=this.div(e)).mul(e).sub(this),n.toString(t)+i.toInt().toString(t)):"-"+this.neg().toString(t);for(o=r(u(t,6),this.unsigned),s=this,a="";;){if(c=s.div(o),l=(s.sub(c.mul(o)).toInt()>>>0).toString(t),(s=c).isZero())return l+a;for(;l.length<6;)l="0"+l;a=""+l+a}},_.getHighBits=function(){return this.high},_.getHighBitsUnsigned=function(){return this.high>>>0},_.getLowBits=function(){return this.low},_.getLowBitsUnsigned=function(){return this.low>>>0},_.getNumBitsAbs=function(){var t,e;if(this.isNegative())return this.eq(b)?64:this.neg().getNumBitsAbs();for(t=0!=this.high?this.high:this.low,e=31;e>0&&0==(t&1<<e);e--);return 0!=this.high?e+33:e+1},_.isZero=function(){return 0===this.high&&0===this.low},_.isNegative=function(){return!this.unsigned&&this.high<0},_.isPositive=function(){return this.unsigned||this.high>=0},_.isOdd=function(){return 1==(1&this.low)},_.isEven=function(){return 0==(1&this.low)},_.equals=function(t){return e(t)||(t=s(t)),(this.unsigned===t.unsigned||this.high>>>31!=1||t.high>>>31!=1)&&this.high===t.high&&this.low===t.low},_.eq=_.equals,_.notEquals=function(t){return!this.eq(t)},_.neq=_.notEquals,_.lessThan=function(t){return this.comp(t)<0},_.lt=_.lessThan,_.lessThanOrEqual=function(t){return this.comp(t)<=0},_.lte=_.lessThanOrEqual,_.greaterThan=function(t){return this.comp(t)>0},_.gt=_.greaterThan,_.greaterThanOrEqual=function(t){return this.comp(t)>=0},_.gte=_.greaterThanOrEqual,_.compare=function(t){if(e(t)||(t=s(t)),this.eq(t))return 0;var n=this.isNegative(),r=t.isNegative();return n&&!r?-1:!n&&r?1:this.unsigned?t.high>>>0>this.high>>>0||t.high===this.high&&t.low>>>0>this.low>>>0?-1:1:this.sub(t).isNegative()?-1:1},_.comp=_.compare,_.negate=function(){return!this.unsigned&&this.eq(b)?b:this.not().add(v)},_.neg=_.negate,_.add=function(t){var n,r,o,a,c,u,l,f,h,d,p;return e(t)||(t=s(t)),n=this.high>>>16,r=65535&this.high,o=this.low>>>16,a=65535&this.low,c=t.high>>>16,u=65535&t.high,l=t.low>>>16,f=0,h=0,d=0,p=0,d+=(p+=a+(65535&t.low))>>>16,h+=(d+=o+l)>>>16,f+=(h+=r+u)>>>16,f+=n+c,i((d&=65535)<<16|(p&=65535),(f&=65535)<<16|(h&=65535),this.unsigned)},_.subtract=function(t){return e(t)||(t=s(t)),this.add(t.neg())},_.sub=_.subtract,_.multiply=function(t){var n,o,a,c,u,l,f,h,g,v,y,m;return this.isZero()?p:(e(t)||(t=s(t)),t.isZero()?p:this.eq(b)?t.isOdd()?b:p:t.eq(b)?this.isOdd()?b:p:this.isNegative()?t.isNegative()?this.neg().mul(t.neg()):this.neg().mul(t).neg():t.isNegative()?this.mul(t.neg()).neg():this.lt(d)&&t.lt(d)?r(this.toNumber()*t.toNumber(),this.unsigned):(n=this.high>>>16,o=65535&this.high,a=this.low>>>16,c=65535&this.low,u=t.high>>>16,l=65535&t.high,f=t.low>>>16,g=0,v=0,y=0,m=0,y+=(m+=c*(h=65535&t.low))>>>16,v+=(y+=a*h)>>>16,y&=65535,v+=(y+=c*f)>>>16,g+=(v+=o*h)>>>16,v&=65535,g+=(v+=a*f)>>>16,v&=65535,g+=(v+=c*l)>>>16,g+=n*h+o*f+a*l+c*u,i((y&=65535)<<16|(m&=65535),(g&=65535)<<16|(v&=65535),this.unsigned)))},_.mul=_.multiply,_.divide=function(t){var n,i,o,a,c,l,f;if(e(t)||(t=s(t)),t.isZero())throw Error("division by zero");if(this.isZero())return this.unsigned?g:p;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return g;if(t.gt(this.shru(1)))return y;o=g}else{if(this.eq(b))return t.eq(v)||t.eq(m)?b:t.eq(b)?v:(n=this.shr(1).div(t).shl(1)).eq(p)?t.isNegative()?v:m:(i=this.sub(t.mul(n)),o=n.add(i.div(t)));if(t.eq(b))return this.unsigned?g:p;if(this.isNegative())return t.isNegative()?this.neg().div(t.neg()):this.neg().div(t).neg();if(t.isNegative())return this.div(t.neg()).neg();o=p}for(i=this;i.gte(t);){for(n=Math.max(1,Math.floor(i.toNumber()/t.toNumber())),c=(a=Math.ceil(Math.log(n)/Math.LN2))<=48?1:u(2,a-48),f=(l=r(n)).mul(t);f.isNegative()||f.gt(i);)f=(l=r(n-=c,this.unsigned)).mul(t);l.isZero()&&(l=v),o=o.add(l),i=i.sub(f)}return o},_.div=_.divide,_.modulo=function(t){return e(t)||(t=s(t)),this.sub(this.div(t).mul(t))},_.mod=_.modulo,_.not=function(){return i(~this.low,~this.high,this.unsigned)},_.and=function(t){return e(t)||(t=s(t)),i(this.low&t.low,this.high&t.high,this.unsigned)},_.or=function(t){return e(t)||(t=s(t)),i(this.low|t.low,this.high|t.high,this.unsigned)},_.xor=function(t){return e(t)||(t=s(t)),i(this.low^t.low,this.high^t.high,this.unsigned)},_.shiftLeft=function(t){return e(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?i(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):i(0,this.low<<t-32,this.unsigned)},_.shl=_.shiftLeft,_.shiftRight=function(t){return e(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?i(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):i(this.high>>t-32,this.high>=0?0:-1,this.unsigned)},_.shr=_.shiftRight,_.shiftRightUnsigned=function(t){var n;return e(t)&&(t=t.toInt()),0===(t&=63)?this:(n=this.high,t<32?i(this.low>>>t|n<<32-t,n>>>t,this.unsigned):i(32===t?n:n>>>t-32,0,this.unsigned))},_.shru=_.shiftRightUnsigned,_.toSigned=function(){return this.unsigned?i(this.low,this.high,!1):this},_.toUnsigned=function(){return this.unsigned?this:i(this.low,this.high,!0)},_.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()},_.toBytesLE=function(){var t=this.high,e=this.low;return[255&e,255&e>>>8,255&e>>>16,255&e>>>24,255&t,255&t>>>8,255&t>>>16,255&t>>>24]},_.toBytesBE=function(){var t=this.high,e=this.low;return[255&t>>>24,255&t>>>16,255&t>>>8,255&t,255&e>>>24,255&e>>>16,255&e>>>8,255&e]},t}(),r=function(t){function e(t){var e=0;return function(){return e<t.length?t.charCodeAt(e++):null}}function n(){var t=[],e=[];return function(){return 0===arguments.length?e.join("")+a.apply(String,t):(t.length+arguments.length>1024&&(e.push(a.apply(String,t)),t.length=0),void Array.prototype.push.apply(t,arguments))}}function r(t,e,n,r,i){var o,s,a=8*i-r-1,c=(1<<a)-1,u=c>>1,l=-7,f=n?i-1:0,h=n?-1:1,d=t[e+f];for(f+=h,o=d&(1<<-l)-1,d>>=-l,l+=a;l>0;o=256*o+t[e+f],f+=h,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=r;l>0;s=256*s+t[e+f],f+=h,l-=8);if(0===o)o=1-u;else{if(o===c)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,r),o-=u}return(d?-1:1)*s*Math.pow(2,o-r)}function i(t,e,n,r,i,o){var s,a,c,u=8*o-i-1,l=(1<<u)-1,f=l>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||1/0===e?(a=isNaN(e)?1:0,s=l):(s=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-s))<1&&(s--,c*=2),(e+=s+f>=1?h/c:h*Math.pow(2,1-f))*c>=2&&(s++,c/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(e*c-1)*Math.pow(2,i),s+=f):(a=e*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;t[n+d]=255&a,d+=p,a/=256,i-=8);for(s=s<<i|a,u+=i;u>0;t[n+d]=255&s,d+=p,s/=256,u-=8);t[n+d-p]|=128*g}var o,s,a,c,u,l=function(t,e,n){if(void 0===t&&(t=l.DEFAULT_CAPACITY),void 0===e&&(e=l.DEFAULT_ENDIAN),void 0===n&&(n=l.DEFAULT_NOASSERT),!n){if((t|=0)<0)throw RangeError("Illegal capacity");e=!!e,n=!!n}this.buffer=0===t?s:new ArrayBuffer(t),this.view=0===t?null:new Uint8Array(this.buffer),this.offset=0,this.markedOffset=-1,this.limit=t,this.littleEndian=e,this.noAssert=n};return l.VERSION="5.0.1",l.LITTLE_ENDIAN=!0,l.BIG_ENDIAN=!1,l.DEFAULT_CAPACITY=16,l.DEFAULT_ENDIAN=l.BIG_ENDIAN,l.DEFAULT_NOASSERT=!1,l.Long=t||null,(o=l.prototype).__isByteBuffer__,Object.defineProperty(o,"__isByteBuffer__",{value:!0,enumerable:!1,configurable:!1}),s=new ArrayBuffer(0),a=String.fromCharCode,l.accessor=function(){return Uint8Array},l.allocate=function(t,e,n){return new l(t,e,n)},l.concat=function(t,e,n,r){var i,o,s,a,c,u;for(("boolean"==typeof e||"string"!=typeof e)&&(r=n,n=e,e=void 0),i=0,s=0,a=t.length;a>s;++s)l.isByteBuffer(t[s])||(t[s]=l.wrap(t[s],e)),(o=t[s].limit-t[s].offset)>0&&(i+=o);if(0===i)return new l(0,n,r);for(u=new l(i,n,r),s=0;a>s;)(o=(c=t[s++]).limit-c.offset)<=0||(u.view.set(c.view.subarray(c.offset,c.limit),u.offset),u.offset+=o);return u.limit=u.offset,u.offset=0,u},l.isByteBuffer=function(t){return!0===(t&&t.__isByteBuffer__)},l.type=function(){return ArrayBuffer},l.wrap=function(t,e,n,r){var i,s;if("string"!=typeof e&&(r=n,n=e,e=void 0),"string"==typeof t)switch(void 0===e&&(e="utf8"),e){case"base64":return l.fromBase64(t,n);case"hex":return l.fromHex(t,n);case"binary":return l.fromBinary(t,n);case"utf8":return l.fromUTF8(t,n);case"debug":return l.fromDebug(t,n);default:throw Error("Unsupported encoding: "+e)}if(null===t||"object"!=typeof t)throw TypeError("Illegal buffer");if(l.isByteBuffer(t))return(i=o.clone.call(t)).markedOffset=-1,i;if(t instanceof Uint8Array)i=new l(0,n,r),t.length>0&&(i.buffer=t.buffer,i.offset=t.byteOffset,i.limit=t.byteOffset+t.byteLength,i.view=new Uint8Array(t.buffer));else if(t instanceof ArrayBuffer)i=new l(0,n,r),t.byteLength>0&&(i.buffer=t,i.offset=0,i.limit=t.byteLength,i.view=t.byteLength>0?new Uint8Array(t):null);else{if("[object Array]"!==Object.prototype.toString.call(t))throw TypeError("Illegal buffer");for((i=new l(t.length,n,r)).limit=t.length,s=0;s<t.length;++s)i.view[s]=t[s]}return i},o.writeBitSet=function(t,e){var n,r,i,o,s,a,c=void 0===e;if(c&&(e=this.offset),!this.noAssert){if(!(t instanceof Array))throw TypeError("Illegal BitSet: Not an array");if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+0) <= "+this.buffer.byteLength)}for(r=e,o=(i=t.length)>>3,s=0,e+=this.writeVarint32(i,e);o--;)n=1&!!t[s++]|(1&!!t[s++])<<1|(1&!!t[s++])<<2|(1&!!t[s++])<<3|(1&!!t[s++])<<4|(1&!!t[s++])<<5|(1&!!t[s++])<<6|(1&!!t[s++])<<7,this.writeByte(n,e++);if(i>s){for(a=0,n=0;i>s;)n|=(1&!!t[s++])<<a++;this.writeByte(n,e++)}return c?(this.offset=e,this):e-r},o.readBitSet=function(t){var e,n,r,i,o,s,a,c=void 0===t;for(c&&(t=this.offset),i=(r=(n=this.readVarint32(t)).value)>>3,o=0,s=[],t+=n.length;i--;)e=this.readByte(t++),s[o++]=!!(1&e),s[o++]=!!(2&e),s[o++]=!!(4&e),s[o++]=!!(8&e),s[o++]=!!(16&e),s[o++]=!!(32&e),s[o++]=!!(64&e),s[o++]=!!(128&e);if(r>o)for(a=0,e=this.readByte(t++);r>o;)s[o++]=!!(1&e>>a++);return c&&(this.offset=t),s},o.readBytes=function(t,e){var n,r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+t>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+"+t+") <= "+this.buffer.byteLength)}return n=this.slice(e,e+t),r&&(this.offset+=t),n},o.writeBytes=o.append,o.writeInt8=function(t,e){var n,r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal value: "+t+" (not an integer)");if(t|=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+0) <= "+this.buffer.byteLength)}return(e+=1)>(n=this.buffer.byteLength)&&this.resize((n*=2)>e?n:e),e-=1,this.view[e]=t,r&&(this.offset+=1),this},o.writeByte=o.writeInt8,o.readInt8=function(t){var e,n=void 0===t;if(n&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+1>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+1) <= "+this.buffer.byteLength)}return 128==(128&(e=this.view[t]))&&(e=-(255-e+1)),n&&(this.offset+=1),e},o.readByte=o.readInt8,o.writeUint8=function(t,e){var n,r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal value: "+t+" (not an integer)");if(t>>>=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+0) <= "+this.buffer.byteLength)}return(e+=1)>(n=this.buffer.byteLength)&&this.resize((n*=2)>e?n:e),e-=1,this.view[e]=t,r&&(this.offset+=1),this},o.writeUInt8=o.writeUint8,o.readUint8=function(t){var e,n=void 0===t;if(n&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+1>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+1) <= "+this.buffer.byteLength)}return e=this.view[t],n&&(this.offset+=1),e},o.readUInt8=o.readUint8,o.writeInt16=function(t,e){var n,r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal value: "+t+" (not an integer)");if(t|=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+0) <= "+this.buffer.byteLength)}return(e+=2)>(n=this.buffer.byteLength)&&this.resize((n*=2)>e?n:e),e-=2,this.littleEndian?(this.view[e+1]=(65280&t)>>>8,this.view[e]=255&t):(this.view[e]=(65280&t)>>>8,this.view[e+1]=255&t),r&&(this.offset+=2),this},o.writeShort=o.writeInt16,o.readInt16=function(t){var e,n=void 0===t;if(n&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+2>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+2) <= "+this.buffer.byteLength)}return e=0,this.littleEndian?(e=this.view[t],e|=this.view[t+1]<<8):(e=this.view[t]<<8,e|=this.view[t+1]),32768==(32768&e)&&(e=-(65535-e+1)),n&&(this.offset+=2),e},o.readShort=o.readInt16,o.writeUint16=function(t,e){var n,r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal value: "+t+" (not an integer)");if(t>>>=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+0) <= "+this.buffer.byteLength)}return(e+=2)>(n=this.buffer.byteLength)&&this.resize((n*=2)>e?n:e),e-=2,this.littleEndian?(this.view[e+1]=(65280&t)>>>8,this.view[e]=255&t):(this.view[e]=(65280&t)>>>8,this.view[e+1]=255&t),r&&(this.offset+=2),this},o.writeUInt16=o.writeUint16,o.readUint16=function(t){var e,n=void 0===t;if(n&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+2>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+2) <= "+this.buffer.byteLength)}return e=0,this.littleEndian?(e=this.view[t],e|=this.view[t+1]<<8):(e=this.view[t]<<8,e|=this.view[t+1]),n&&(this.offset+=2),e},o.readUInt16=o.readUint16,o.writeInt32=function(t,e){var n,r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal value: "+t+" (not an integer)");if(t|=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+0) <= "+this.buffer.byteLength)}return(e+=4)>(n=this.buffer.byteLength)&&this.resize((n*=2)>e?n:e),e-=4,this.littleEndian?(this.view[e+3]=255&t>>>24,this.view[e+2]=255&t>>>16,this.view[e+1]=255&t>>>8,this.view[e]=255&t):(this.view[e]=255&t>>>24,this.view[e+1]=255&t>>>16,this.view[e+2]=255&t>>>8,this.view[e+3]=255&t),r&&(this.offset+=4),this},o.writeInt=o.writeInt32,o.readInt32=function(t){var e,n=void 0===t;if(n&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+4>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+4) <= "+this.buffer.byteLength)}return e=0,this.littleEndian?(e=this.view[t+2]<<16,e|=this.view[t+1]<<8,e|=this.view[t],e+=this.view[t+3]<<24>>>0):(e=this.view[t+1]<<16,e|=this.view[t+2]<<8,e|=this.view[t+3],e+=this.view[t]<<24>>>0),e|=0,n&&(this.offset+=4),e},o.readInt=o.readInt32,o.writeUint32=function(t,e){var n,r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal value: "+t+" (not an integer)");if(t>>>=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+0) <= "+this.buffer.byteLength)}return(e+=4)>(n=this.buffer.byteLength)&&this.resize((n*=2)>e?n:e),e-=4,this.littleEndian?(this.view[e+3]=255&t>>>24,this.view[e+2]=255&t>>>16,this.view[e+1]=255&t>>>8,this.view[e]=255&t):(this.view[e]=255&t>>>24,this.view[e+1]=255&t>>>16,this.view[e+2]=255&t>>>8,this.view[e+3]=255&t),r&&(this.offset+=4),this},o.writeUInt32=o.writeUint32,o.readUint32=function(t){var e,n=void 0===t;if(n&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+4>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+4) <= "+this.buffer.byteLength)}return e=0,this.littleEndian?(e=this.view[t+2]<<16,e|=this.view[t+1]<<8,e|=this.view[t],e+=this.view[t+3]<<24>>>0):(e=this.view[t+1]<<16,e|=this.view[t+2]<<8,e|=this.view[t+3],e+=this.view[t]<<24>>>0),n&&(this.offset+=4),e},o.readUInt32=o.readUint32,t&&(o.writeInt64=function(e,n){var r,i,o,s=void 0===n;if(s&&(n=this.offset),!this.noAssert){if("number"==typeof e)e=t.fromNumber(e);else if("string"==typeof e)e=t.fromString(e);else if(!(e&&e instanceof t))throw TypeError("Illegal value: "+e+" (not an integer or Long)");if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+0) <= "+this.buffer.byteLength)}return"number"==typeof e?e=t.fromNumber(e):"string"==typeof e&&(e=t.fromString(e)),(n+=8)>(r=this.buffer.byteLength)&&this.resize((r*=2)>n?r:n),n-=8,i=e.low,o=e.high,this.littleEndian?(this.view[n+3]=255&i>>>24,this.view[n+2]=255&i>>>16,this.view[n+1]=255&i>>>8,this.view[n]=255&i,n+=4,this.view[n+3]=255&o>>>24,this.view[n+2]=255&o>>>16,this.view[n+1]=255&o>>>8,this.view[n]=255&o):(this.view[n]=255&o>>>24,this.view[n+1]=255&o>>>16,this.view[n+2]=255&o>>>8,this.view[n+3]=255&o,n+=4,this.view[n]=255&i>>>24,this.view[n+1]=255&i>>>16,this.view[n+2]=255&i>>>8,this.view[n+3]=255&i),s&&(this.offset+=8),this},o.writeLong=o.writeInt64,o.readInt64=function(e){var n,r,i,o=void 0===e;if(o&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+8>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+8) <= "+this.buffer.byteLength)}return n=0,r=0,this.littleEndian?(n=this.view[e+2]<<16,n|=this.view[e+1]<<8,n|=this.view[e],n+=this.view[e+3]<<24>>>0,e+=4,r=this.view[e+2]<<16,r|=this.view[e+1]<<8,r|=this.view[e],r+=this.view[e+3]<<24>>>0):(r=this.view[e+1]<<16,r|=this.view[e+2]<<8,r|=this.view[e+3],r+=this.view[e]<<24>>>0,e+=4,n=this.view[e+1]<<16,n|=this.view[e+2]<<8,n|=this.view[e+3],n+=this.view[e]<<24>>>0),i=new t(n,r,!1),o&&(this.offset+=8),i},o.readLong=o.readInt64,o.writeUint64=function(e,n){var r,i,o,s=void 0===n;if(s&&(n=this.offset),!this.noAssert){if("number"==typeof e)e=t.fromNumber(e);else if("string"==typeof e)e=t.fromString(e);else if(!(e&&e instanceof t))throw TypeError("Illegal value: "+e+" (not an integer or Long)");if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+0) <= "+this.buffer.byteLength)}return"number"==typeof e?e=t.fromNumber(e):"string"==typeof e&&(e=t.fromString(e)),(n+=8)>(r=this.buffer.byteLength)&&this.resize((r*=2)>n?r:n),n-=8,i=e.low,o=e.high,this.littleEndian?(this.view[n+3]=255&i>>>24,this.view[n+2]=255&i>>>16,this.view[n+1]=255&i>>>8,this.view[n]=255&i,n+=4,this.view[n+3]=255&o>>>24,this.view[n+2]=255&o>>>16,this.view[n+1]=255&o>>>8,this.view[n]=255&o):(this.view[n]=255&o>>>24,this.view[n+1]=255&o>>>16,this.view[n+2]=255&o>>>8,this.view[n+3]=255&o,n+=4,this.view[n]=255&i>>>24,this.view[n+1]=255&i>>>16,this.view[n+2]=255&i>>>8,this.view[n+3]=255&i),s&&(this.offset+=8),this},o.writeUInt64=o.writeUint64,o.readUint64=function(e){var n,r,i,o=void 0===e;if(o&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+8>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+8) <= "+this.buffer.byteLength)}return n=0,r=0,this.littleEndian?(n=this.view[e+2]<<16,n|=this.view[e+1]<<8,n|=this.view[e],n+=this.view[e+3]<<24>>>0,e+=4,r=this.view[e+2]<<16,r|=this.view[e+1]<<8,r|=this.view[e],r+=this.view[e+3]<<24>>>0):(r=this.view[e+1]<<16,r|=this.view[e+2]<<8,r|=this.view[e+3],r+=this.view[e]<<24>>>0,e+=4,n=this.view[e+1]<<16,n|=this.view[e+2]<<8,n|=this.view[e+3],n+=this.view[e]<<24>>>0),i=new t(n,r,!0),o&&(this.offset+=8),i},o.readUInt64=o.readUint64),o.writeFloat32=function(t,e){var n,r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof t)throw TypeError("Illegal value: "+t+" (not a number)");if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+0) <= "+this.buffer.byteLength)}return(e+=4)>(n=this.buffer.byteLength)&&this.resize((n*=2)>e?n:e),e-=4,i(this.view,t,e,this.littleEndian,23,4),r&&(this.offset+=4),this},o.writeFloat=o.writeFloat32,o.readFloat32=function(t){var e,n=void 0===t;if(n&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+4>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+4) <= "+this.buffer.byteLength)}return e=r(this.view,t,this.littleEndian,23,4),n&&(this.offset+=4),e},o.readFloat=o.readFloat32,o.writeFloat64=function(t,e){var n,r=void 0===e;if(r&&(e=this.offset),!this.noAssert){if("number"!=typeof t)throw TypeError("Illegal value: "+t+" (not a number)");if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+0) <= "+this.buffer.byteLength)}return(e+=8)>(n=this.buffer.byteLength)&&this.resize((n*=2)>e?n:e),e-=8,i(this.view,t,e,this.littleEndian,52,8),r&&(this.offset+=8),this},o.writeDouble=o.writeFloat64,o.readFloat64=function(t){var e,n=void 0===t;if(n&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+8>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+8) <= "+this.buffer.byteLength)}return e=r(this.view,t,this.littleEndian,52,8),n&&(this.offset+=8),e},o.readDouble=o.readFloat64,l.MAX_VARINT32_BYTES=5,l.calculateVarint32=function(t){return(t>>>=0)<128?1:t<16384?2:1<<21>t?3:1<<28>t?4:5},l.zigZagEncode32=function(t){return((t|=0)<<1^t>>31)>>>0},l.zigZagDecode32=function(t){return 0|t>>>1^-(1&t)},o.writeVarint32=function(t,e){var n,r,i,o=void 0===e;if(o&&(e=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal value: "+t+" (not an integer)");if(t|=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+0) <= "+this.buffer.byteLength)}for((e+=r=l.calculateVarint32(t))>(i=this.buffer.byteLength)&&this.resize((i*=2)>e?i:e),e-=r,t>>>=0;t>=128;)n=128|127&t,this.view[e++]=n,t>>>=7;return this.view[e++]=t,o?(this.offset=e,this):r},o.writeVarint32ZigZag=function(t,e){return this.writeVarint32(l.zigZagEncode32(t),e)},o.readVarint32=function(t){var e,n,r,i,o=void 0===t;if(o&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+1>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+1) <= "+this.buffer.byteLength)}n=0,r=0;do{if(!this.noAssert&&t>this.limit)throw(i=Error("Truncated")).truncated=!0,i;e=this.view[t++],n<5&&(r|=(127&e)<<7*n),++n}while(0!=(128&e));return r|=0,o?(this.offset=t,r):{value:r,length:n}},o.readVarint32ZigZag=function(t){var e=this.readVarint32(t);return"object"==typeof e?e.value=l.zigZagDecode32(e.value):e=l.zigZagDecode32(e),e},t&&(l.MAX_VARINT64_BYTES=10,l.calculateVarint64=function(e){"number"==typeof e?e=t.fromNumber(e):"string"==typeof e&&(e=t.fromString(e));var n=e.toInt()>>>0,r=e.shiftRightUnsigned(28).toInt()>>>0,i=e.shiftRightUnsigned(56).toInt()>>>0;return 0==i?0==r?n<16384?n<128?1:2:1<<21>n?3:4:r<16384?r<128?5:6:1<<21>r?7:8:i<128?9:10},l.zigZagEncode64=function(e){return"number"==typeof e?e=t.fromNumber(e,!1):"string"==typeof e?e=t.fromString(e,!1):!1!==e.unsigned&&(e=e.toSigned()),e.shiftLeft(1).xor(e.shiftRight(63)).toUnsigned()},l.zigZagDecode64=function(e){return"number"==typeof e?e=t.fromNumber(e,!1):"string"==typeof e?e=t.fromString(e,!1):!1!==e.unsigned&&(e=e.toSigned()),e.shiftRightUnsigned(1).xor(e.and(t.ONE).toSigned().negate()).toSigned()},o.writeVarint64=function(e,n){var r,i,o,s,a,c=void 0===n;if(c&&(n=this.offset),!this.noAssert){if("number"==typeof e)e=t.fromNumber(e);else if("string"==typeof e)e=t.fromString(e);else if(!(e&&e instanceof t))throw TypeError("Illegal value: "+e+" (not an integer or Long)");if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+0) <= "+this.buffer.byteLength)}switch("number"==typeof e?e=t.fromNumber(e,!1):"string"==typeof e?e=t.fromString(e,!1):!1!==e.unsigned&&(e=e.toSigned()),r=l.calculateVarint64(e),i=e.toInt()>>>0,o=e.shiftRightUnsigned(28).toInt()>>>0,s=e.shiftRightUnsigned(56).toInt()>>>0,(n+=r)>(a=this.buffer.byteLength)&&this.resize((a*=2)>n?a:n),n-=r,r){case 10:this.view[n+9]=1&s>>>7;case 9:this.view[n+8]=9!==r?128|s:127&s;case 8:this.view[n+7]=8!==r?128|o>>>21:127&o>>>21;case 7:this.view[n+6]=7!==r?128|o>>>14:127&o>>>14;case 6:this.view[n+5]=6!==r?128|o>>>7:127&o>>>7;case 5:this.view[n+4]=5!==r?128|o:127&o;case 4:this.view[n+3]=4!==r?128|i>>>21:127&i>>>21;case 3:this.view[n+2]=3!==r?128|i>>>14:127&i>>>14;case 2:this.view[n+1]=2!==r?128|i>>>7:127&i>>>7;case 1:this.view[n]=1!==r?128|i:127&i}return c?(this.offset+=r,this):r},o.writeVarint64ZigZag=function(t,e){return this.writeVarint64(l.zigZagEncode64(t),e)},o.readVarint64=function(e){var n,r,i,o,s,a,c=void 0===e;if(c&&(e=this.offset),!this.noAssert){if("number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+1>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+1) <= "+this.buffer.byteLength)}if(n=e,r=0,i=0,o=0,s=0,r=127&(s=this.view[e++]),128&s&&(r|=(127&(s=this.view[e++]))<<7,(128&s||this.noAssert&&void 0===s)&&(r|=(127&(s=this.view[e++]))<<14,(128&s||this.noAssert&&void 0===s)&&(r|=(127&(s=this.view[e++]))<<21,(128&s||this.noAssert&&void 0===s)&&(i=127&(s=this.view[e++]),(128&s||this.noAssert&&void 0===s)&&(i|=(127&(s=this.view[e++]))<<7,(128&s||this.noAssert&&void 0===s)&&(i|=(127&(s=this.view[e++]))<<14,(128&s||this.noAssert&&void 0===s)&&(i|=(127&(s=this.view[e++]))<<21,(128&s||this.noAssert&&void 0===s)&&(o=127&(s=this.view[e++]),(128&s||this.noAssert&&void 0===s)&&(o|=(127&(s=this.view[e++]))<<7,128&s||this.noAssert&&void 0===s))))))))))throw Error("Buffer overrun");return a=t.fromBits(r|i<<28,i>>>4|o<<24,!1),c?(this.offset=e,a):{value:a,length:e-n}},o.readVarint64ZigZag=function(e){var n=this.readVarint64(e);return n&&n.value instanceof t?n.value=l.zigZagDecode64(n.value):n=l.zigZagDecode64(n),n}),o.writeCString=function(t,n){var r,i,o,s=void 0===n;if(s&&(n=this.offset),i=t.length,!this.noAssert){if("string"!=typeof t)throw TypeError("Illegal str: Not a string");for(r=0;i>r;++r)if(0===t.charCodeAt(r))throw RangeError("Illegal str: Contains NULL-characters");if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+0) <= "+this.buffer.byteLength)}return i=u.calculateUTF16asUTF8(e(t))[1],n+=i+1,o=this.buffer.byteLength,n>o&&this.resize((o*=2)>n?o:n),n-=i+1,u.encodeUTF16toUTF8(e(t),function(t){this.view[n++]=t}.bind(this)),this.view[n++]=0,s?(this.offset=n,this):i},o.readCString=function(t){var e,r,i,o=void 0===t;if(o&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+1>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+1) <= "+this.buffer.byteLength)}return e=t,i=-1,u.decodeUTF8toUTF16(function(){if(0===i)return null;if(t>=this.limit)throw RangeError("Illegal range: Truncated data, "+t+" < "+this.limit);return 0===(i=this.view[t++])?null:i}.bind(this),r=n(),!0),o?(this.offset=t,r()):{string:r(),length:t-e}},o.writeIString=function(t,n){var r,i,o,s=void 0===n;if(s&&(n=this.offset),!this.noAssert){if("string"!=typeof t)throw TypeError("Illegal str: Not a string");if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+0) <= "+this.buffer.byteLength)}if(i=n,r=u.calculateUTF16asUTF8(e(t),this.noAssert)[1],n+=4+r,o=this.buffer.byteLength,n>o&&this.resize((o*=2)>n?o:n),n-=4+r,this.littleEndian?(this.view[n+3]=255&r>>>24,this.view[n+2]=255&r>>>16,this.view[n+1]=255&r>>>8,this.view[n]=255&r):(this.view[n]=255&r>>>24,this.view[n+1]=255&r>>>16,this.view[n+2]=255&r>>>8,this.view[n+3]=255&r),n+=4,u.encodeUTF16toUTF8(e(t),function(t){this.view[n++]=t}.bind(this)),n!==i+4+r)throw RangeError("Illegal range: Truncated data, "+n+" == "+(n+4+r));return s?(this.offset=n,this):n-i},o.readIString=function(t){var e,n,r,i=void 0===t;if(i&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+4>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+4) <= "+this.buffer.byteLength)}return e=t,n=this.readUint32(t),r=this.readUTF8String(n,l.METRICS_BYTES,t+=4),t+=r.length,i?(this.offset=t,r.string):{string:r.string,length:t-e}},l.METRICS_CHARS="c",l.METRICS_BYTES="b",o.writeUTF8String=function(t,n){var r,i,o,s=void 0===n;if(s&&(n=this.offset),!this.noAssert){if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+0) <= "+this.buffer.byteLength)}return i=n,r=u.calculateUTF16asUTF8(e(t))[1],n+=r,o=this.buffer.byteLength,n>o&&this.resize((o*=2)>n?o:n),n-=r,u.encodeUTF16toUTF8(e(t),function(t){this.view[n++]=t}.bind(this)),s?(this.offset=n,this):n-i},o.writeString=o.writeUTF8String,l.calculateUTF8Chars=function(t){return u.calculateUTF16asUTF8(e(t))[0]},l.calculateUTF8Bytes=function(t){return u.calculateUTF16asUTF8(e(t))[1]},l.calculateString=l.calculateUTF8Bytes,o.readUTF8String=function(t,e,r){var i,o,s,a,c;if("number"==typeof e&&(r=e,e=void 0),(i=void 0===r)&&(r=this.offset),void 0===e&&(e=l.METRICS_CHARS),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal length: "+t+" (not an integer)");if(t|=0,"number"!=typeof r||r%1!=0)throw TypeError("Illegal offset: "+r+" (not an integer)");if((r>>>=0)<0||r+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+r+" (+0) <= "+this.buffer.byteLength)}if(s=0,a=r,e===l.METRICS_CHARS){if(o=n(),u.decodeUTF8(function(){return t>s&&r<this.limit?this.view[r++]:null}.bind(this),(function(t){++s,u.UTF8toUTF16(t,o)})),s!==t)throw RangeError("Illegal range: Truncated data, "+s+" == "+t);return i?(this.offset=r,o()):{string:o(),length:r-a}}if(e===l.METRICS_BYTES){if(!this.noAssert){if("number"!=typeof r||r%1!=0)throw TypeError("Illegal offset: "+r+" (not an integer)");if((r>>>=0)<0||r+t>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+r+" (+"+t+") <= "+this.buffer.byteLength)}if(c=r+t,u.decodeUTF8toUTF16(function(){return c>r?this.view[r++]:null}.bind(this),o=n(),this.noAssert),r!==c)throw RangeError("Illegal range: Truncated data, "+r+" == "+c);return i?(this.offset=r,o()):{string:o(),length:r-a}}throw TypeError("Unsupported metrics: "+e)},o.readString=o.readUTF8String,o.writeVString=function(t,n){var r,i,o,s,a=void 0===n;if(a&&(n=this.offset),!this.noAssert){if("string"!=typeof t)throw TypeError("Illegal str: Not a string");if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+0) <= "+this.buffer.byteLength)}if(o=n,r=u.calculateUTF16asUTF8(e(t),this.noAssert)[1],i=l.calculateVarint32(r),n+=i+r,s=this.buffer.byteLength,n>s&&this.resize((s*=2)>n?s:n),n-=i+r,n+=this.writeVarint32(r,n),u.encodeUTF16toUTF8(e(t),function(t){this.view[n++]=t}.bind(this)),n!==o+r+i)throw RangeError("Illegal range: Truncated data, "+n+" == "+(n+r+i));return a?(this.offset=n,this):n-o},o.readVString=function(t){var e,n,r,i=void 0===t;if(i&&(t=this.offset),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+1>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+1) <= "+this.buffer.byteLength)}return e=t,n=this.readVarint32(t),r=this.readUTF8String(n.value,l.METRICS_BYTES,t+=n.length),t+=r.length,i?(this.offset=t,r.string):{string:r.string,length:t-e}},o.append=function(t,e,n){var r,i,o;if(("number"==typeof e||"string"!=typeof e)&&(n=e,e=void 0),(r=void 0===n)&&(n=this.offset),!this.noAssert){if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+0) <= "+this.buffer.byteLength)}return t instanceof l||(t=l.wrap(t,e)),(i=t.limit-t.offset)<=0||((n+=i)>(o=this.buffer.byteLength)&&this.resize((o*=2)>n?o:n),n-=i,this.view.set(t.view.subarray(t.offset,t.limit),n),t.offset+=i,r&&(this.offset+=i)),this},o.appendTo=function(t,e){return t.append(this,e),this},o.assert=function(t){return this.noAssert=!t,this},o.capacity=function(){return this.buffer.byteLength},o.clear=function(){return this.offset=0,this.limit=this.buffer.byteLength,this.markedOffset=-1,this},o.clone=function(t){var e=new l(0,this.littleEndian,this.noAssert);return t?(e.buffer=new ArrayBuffer(this.buffer.byteLength),e.view=new Uint8Array(e.buffer)):(e.buffer=this.buffer,e.view=this.view),e.offset=this.offset,e.markedOffset=this.markedOffset,e.limit=this.limit,e},o.compact=function(t,e){var n,r,i;if(void 0===t&&(t=this.offset),void 0===e&&(e=this.limit),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal begin: Not an integer");if(t>>>=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal end: Not an integer");if(e>>>=0,t<0||t>e||e>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+t+" <= "+e+" <= "+this.buffer.byteLength)}return 0===t&&e===this.buffer.byteLength?this:0===(n=e-t)?(this.buffer=s,this.view=null,this.markedOffset>=0&&(this.markedOffset-=t),this.offset=0,this.limit=0,this):(r=new ArrayBuffer(n),(i=new Uint8Array(r)).set(this.view.subarray(t,e)),this.buffer=r,this.view=i,this.markedOffset>=0&&(this.markedOffset-=t),this.offset=0,this.limit=n,this)},o.copy=function(t,e){if(void 0===t&&(t=this.offset),void 0===e&&(e=this.limit),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal begin: Not an integer");if(t>>>=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal end: Not an integer");if(e>>>=0,t<0||t>e||e>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+t+" <= "+e+" <= "+this.buffer.byteLength)}if(t===e)return new l(0,this.littleEndian,this.noAssert);var n=e-t,r=new l(n,this.littleEndian,this.noAssert);return r.offset=0,r.limit=n,r.markedOffset>=0&&(r.markedOffset-=t),this.copyTo(r,0,t,e),r},o.copyTo=function(t,e,n,r){var i,o,s;if(!this.noAssert&&!l.isByteBuffer(t))throw TypeError("Illegal target: Not a ByteBuffer");if(e=(o=void 0===e)?t.offset:0|e,n=(i=void 0===n)?this.offset:0|n,r=void 0===r?this.limit:0|r,e<0||e>t.buffer.byteLength)throw RangeError("Illegal target range: 0 <= "+e+" <= "+t.buffer.byteLength);if(n<0||r>this.buffer.byteLength)throw RangeError("Illegal source range: 0 <= "+n+" <= "+this.buffer.byteLength);return 0===(s=r-n)?t:(t.ensureCapacity(e+s),t.view.set(this.view.subarray(n,r),e),i&&(this.offset+=s),o&&(t.offset+=s),this)},o.ensureCapacity=function(t){var e=this.buffer.byteLength;return t>e?this.resize((e*=2)>t?e:t):this},o.fill=function(t,e,n){var r=void 0===e;if(r&&(e=this.offset),"string"==typeof t&&t.length>0&&(t=t.charCodeAt(0)),void 0===e&&(e=this.offset),void 0===n&&(n=this.limit),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal value: "+t+" (not an integer)");if(t|=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal begin: Not an integer");if(e>>>=0,"number"!=typeof n||n%1!=0)throw TypeError("Illegal end: Not an integer");if(n>>>=0,e<0||e>n||n>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+e+" <= "+n+" <= "+this.buffer.byteLength)}if(e>=n)return this;for(;n>e;)this.view[e++]=t;return r&&(this.offset=e),this},o.flip=function(){return this.limit=this.offset,this.offset=0,this},o.mark=function(t){if(t=void 0===t?this.offset:t,!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal offset: "+t+" (not an integer)");if((t>>>=0)<0||t+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+t+" (+0) <= "+this.buffer.byteLength)}return this.markedOffset=t,this},o.order=function(t){if(!this.noAssert&&"boolean"!=typeof t)throw TypeError("Illegal littleEndian: Not a boolean");return this.littleEndian=!!t,this},o.LE=function(t){return this.littleEndian=void 0===t||!!t,this},o.BE=function(t){return this.littleEndian=void 0!==t&&!t,this},o.prepend=function(t,e,n){var r,i,o,s,a;if(("number"==typeof e||"string"!=typeof e)&&(n=e,e=void 0),(r=void 0===n)&&(n=this.offset),!this.noAssert){if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: "+n+" (not an integer)");if((n>>>=0)<0||n+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+n+" (+0) <= "+this.buffer.byteLength)}return t instanceof l||(t=l.wrap(t,e)),(i=t.limit-t.offset)<=0||((o=i-n)>0?(s=new ArrayBuffer(this.buffer.byteLength+o),(a=new Uint8Array(s)).set(this.view.subarray(n,this.buffer.byteLength),i),this.buffer=s,this.view=a,this.offset+=o,this.markedOffset>=0&&(this.markedOffset+=o),this.limit+=o,n+=o):new Uint8Array(this.buffer),this.view.set(t.view.subarray(t.offset,t.limit),n-i),t.offset=t.limit,r&&(this.offset-=i)),this},o.prependTo=function(t,e){return t.prepend(this,e),this},o.printDebug=function(t){"function"!=typeof t&&(t=console.log.bind(console)),t(this.toString()+"\n-------------------------------------------------------------------\n"+this.toDebug(!0))},o.remaining=function(){return this.limit-this.offset},o.reset=function(){return this.markedOffset>=0?(this.offset=this.markedOffset,this.markedOffset=-1):this.offset=0,this},o.resize=function(t){var e,n;if(!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal capacity: "+t+" (not an integer)");if((t|=0)<0)throw RangeError("Illegal capacity: 0 <= "+t)}return this.buffer.byteLength<t&&(e=new ArrayBuffer(t),(n=new Uint8Array(e)).set(this.view),this.buffer=e,this.view=n),this},o.reverse=function(t,e){if(void 0===t&&(t=this.offset),void 0===e&&(e=this.limit),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal begin: Not an integer");if(t>>>=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal end: Not an integer");if(e>>>=0,t<0||t>e||e>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+t+" <= "+e+" <= "+this.buffer.byteLength)}return t===e||Array.prototype.reverse.call(this.view.subarray(t,e)),this},o.skip=function(t){if(!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal length: "+t+" (not an integer)");t|=0}var e=this.offset+t;if(!this.noAssert&&(e<0||e>this.buffer.byteLength))throw RangeError("Illegal length: 0 <= "+this.offset+" + "+t+" <= "+this.buffer.byteLength);return this.offset=e,this},o.slice=function(t,e){if(void 0===t&&(t=this.offset),void 0===e&&(e=this.limit),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal begin: Not an integer");if(t>>>=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal end: Not an integer");if(e>>>=0,t<0||t>e||e>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+t+" <= "+e+" <= "+this.buffer.byteLength)}var n=this.clone();return n.offset=t,n.limit=e,n},o.toBuffer=function(t){var e,n=this.offset,r=this.limit;if(!this.noAssert){if("number"!=typeof n||n%1!=0)throw TypeError("Illegal offset: Not an integer");if(n>>>=0,"number"!=typeof r||r%1!=0)throw TypeError("Illegal limit: Not an integer");if(r>>>=0,n<0||n>r||r>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+n+" <= "+r+" <= "+this.buffer.byteLength)}return t||0!==n||r!==this.buffer.byteLength?n===r?s:(e=new ArrayBuffer(r-n),new Uint8Array(e).set(new Uint8Array(this.buffer).subarray(n,r),0),e):this.buffer},o.toArrayBuffer=o.toBuffer,o.toString=function(t,e,n){if(void 0===t)return"ByteBufferAB(offset="+this.offset+",markedOffset="+this.markedOffset+",limit="+this.limit+",capacity="+this.capacity()+")";switch("number"==typeof t&&(n=e=t="utf8"),t){case"utf8":return this.toUTF8(e,n);case"base64":return this.toBase64(e,n);case"hex":return this.toHex(e,n);case"binary":return this.toBinary(e,n);case"debug":return this.toDebug();case"columns":return this.toColumns();default:throw Error("Unsupported encoding: "+t)}},c=function(){var t,e,n={},r=[65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,48,49,50,51,52,53,54,55,56,57,43,47],i=[];for(t=0,e=r.length;e>t;++t)i[r[t]]=t;return n.encode=function(t,e){for(var n,i;null!==(n=t());)e(r[63&n>>2]),i=(3&n)<<4,null!==(n=t())?(e(r[63&((i|=15&n>>4)|15&n>>4)]),i=(15&n)<<2,null!==(n=t())?(e(r[63&(i|3&n>>6)]),e(r[63&n])):(e(r[63&i]),e(61))):(e(r[63&i]),e(61),e(61))},n.decode=function(t,e){function n(t){throw Error("Illegal character code: "+t)}for(var r,o,s;null!==(r=t());)if(void 0===(o=i[r])&&n(r),null!==(r=t())&&(void 0===(s=i[r])&&n(r),e(o<<2>>>0|(48&s)>>4),null!==(r=t()))){if(void 0===(o=i[r])){if(61===r)break;n(r)}if(e((15&s)<<4>>>0|(60&o)>>2),null!==(r=t())){if(void 0===(s=i[r])){if(61===r)break;n(r)}e((3&o)<<6>>>0|s)}}},n.test=function(t){return/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/.test(t)},n}(),o.toBase64=function(t,e){if(void 0===t&&(t=this.offset),void 0===e&&(e=this.limit),e|=0,(t|=0)<0||e>this.capacity||t>e)throw RangeError("begin, end");var r;return c.encode(function(){return e>t?this.view[t++]:null}.bind(this),r=n()),r()},l.fromBase64=function(t,n){if("string"!=typeof t)throw TypeError("str");var r=new l(t.length/4*3,n),i=0;return c.decode(e(t),(function(t){r.view[i++]=t})),r.limit=i,r},l.btoa=function(t){return l.fromBinary(t).toBase64()},l.atob=function(t){return l.fromBase64(t).toBinary()},o.toBinary=function(t,e){if(void 0===t&&(t=this.offset),void 0===e&&(e=this.limit),e|=0,(t|=0)<0||e>this.capacity()||t>e)throw RangeError("begin, end");if(t===e)return"";for(var n=[],r=[];e>t;)n.push(this.view[t++]),n.length>=1024&&(r.push(String.fromCharCode.apply(String,n)),n=[]);return r.join("")+String.fromCharCode.apply(String,n)},l.fromBinary=function(t,e){if("string"!=typeof t)throw TypeError("str");for(var n,r=0,i=t.length,o=new l(i,e);i>r;){if((n=t.charCodeAt(r))>255)throw RangeError("illegal char code: "+n);o.view[r++]=n}return o.limit=i,o},o.toDebug=function(t){for(var e,n=-1,r=this.buffer.byteLength,i="",o="",s="";r>n;){if(-1!==n&&(i+=(e=this.view[n])<16?"0"+e.toString(16).toUpperCase():e.toString(16).toUpperCase(),t&&(o+=e>32&&e<127?String.fromCharCode(e):".")),++n,t&&n>0&&n%16==0&&n!==r){for(;i.length<51;)i+=" ";s+=i+o+"\n",i=o=""}i+=n===this.offset&&n===this.limit?n===this.markedOffset?"!":"|":n===this.offset?n===this.markedOffset?"[":"<":n===this.limit?n===this.markedOffset?"]":">":n===this.markedOffset?"'":t||0!==n&&n!==r?" ":""}if(t&&" "!==i){for(;i.length<51;)i+=" ";s+=i+o+"\n"}return t?s:i},l.fromDebug=function(t,e,n){for(var r,i,o=t.length,s=new l(0|(o+1)/3,e,n),a=0,c=0,u=!1,f=!1,h=!1,d=!1,p=!1;o>a;){switch(r=t.charAt(a++)){case"!":if(!n){if(f||h||d){p=!0;break}f=h=d=!0}s.offset=s.markedOffset=s.limit=c,u=!1;break;case"|":if(!n){if(f||d){p=!0;break}f=d=!0}s.offset=s.limit=c,u=!1;break;case"[":if(!n){if(f||h){p=!0;break}f=h=!0}s.offset=s.markedOffset=c,u=!1;break;case"<":if(!n){if(f){p=!0;break}f=!0}s.offset=c,u=!1;break;case"]":if(!n){if(d||h){p=!0;break}d=h=!0}s.limit=s.markedOffset=c,u=!1;break;case">":if(!n){if(d){p=!0;break}d=!0}s.limit=c,u=!1;break;case"'":if(!n){if(h){p=!0;break}h=!0}s.markedOffset=c,u=!1;break;case" ":u=!1;break;default:if(!n&&u){p=!0;break}if(i=parseInt(r+t.charAt(a++),16),!n&&(isNaN(i)||i<0||i>255))throw TypeError("Illegal str: Not a debug encoded string");s.view[c++]=i,u=!0}if(p)throw TypeError("Illegal str: Invalid symbol at "+a)}if(!n){if(!f||!d)throw TypeError("Illegal str: Missing offset or limit");if(c<s.buffer.byteLength)throw TypeError("Illegal str: Not a debug encoded string (is it hex?) "+c+" < "+o)}return s},o.toHex=function(t,e){if(t=void 0===t?this.offset:t,e=void 0===e?this.limit:e,!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal begin: Not an integer");if(t>>>=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal end: Not an integer");if(e>>>=0,t<0||t>e||e>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+t+" <= "+e+" <= "+this.buffer.byteLength)}for(var n,r=new Array(e-t);e>t;)(n=this.view[t++])<16?r.push("0",n.toString(16)):r.push(n.toString(16));return r.join("")},l.fromHex=function(t,e,n){var r,i,o,s,a;if(!n){if("string"!=typeof t)throw TypeError("Illegal str: Not a string");if(t.length%2!=0)throw TypeError("Illegal str: Length not a multiple of 2")}for(i=t.length,o=new l(0|i/2,e),s=0,a=0;i>s;s+=2){if(r=parseInt(t.substring(s,s+2),16),!n&&(!isFinite(r)||r<0||r>255))throw TypeError("Illegal str: Contains non-hex characters");o.view[a++]=r}return o.limit=a,o},u=function(){var t={MAX_CODEPOINT:1114111,encodeUTF8:function(t,e){var n=null;for("number"==typeof t&&(n=t,t=function(){return null});null!==n||null!==(n=t());)n<128?e(127&n):n<2048?(e(192|31&n>>6),e(128|63&n)):n<65536?(e(224|15&n>>12),e(128|63&n>>6),e(128|63&n)):(e(240|7&n>>18),e(128|63&n>>12),e(128|63&n>>6),e(128|63&n)),n=null},decodeUTF8:function(t,e){for(var n,r,i,o,s=function(t){t=t.slice(0,t.indexOf(null));var e=Error(t.toString());throw e.name="TruncatedError",e.bytes=t,e};null!==(n=t());)if(0==(128&n))e(n);else if(192==(224&n))null===(r=t())&&s([n,r]),e((31&n)<<6|63&r);else if(224==(240&n))(null===(r=t())||null===(i=t()))&&s([n,r,i]),e((15&n)<<12|(63&r)<<6|63&i);else{if(240!=(248&n))throw RangeError("Illegal starting byte: "+n);(null===(r=t())||null===(i=t())||null===(o=t()))&&s([n,r,i,o]),e((7&n)<<18|(63&r)<<12|(63&i)<<6|63&o)}},UTF16toUTF8:function(t,e){for(var n,r=null;null!==(n=null!==r?r:t());)n>=55296&&n<=57343&&null!==(r=t())&&r>=56320&&r<=57343?(e(1024*(n-55296)+r-56320+65536),r=null):e(n);null!==r&&e(r)},UTF8toUTF16:function(t,e){var n=null;for("number"==typeof t&&(n=t,t=function(){return null});null!==n||null!==(n=t());)n<=65535?e(n):(e(55296+((n-=65536)>>10)),e(n%1024+56320)),n=null},encodeUTF16toUTF8:function(e,n){t.UTF16toUTF8(e,(function(e){t.encodeUTF8(e,n)}))},decodeUTF8toUTF16:function(e,n){t.decodeUTF8(e,(function(e){t.UTF8toUTF16(e,n)}))},calculateCodePoint:function(t){return t<128?1:t<2048?2:t<65536?3:4},calculateUTF8:function(t){for(var e,n=0;null!==(e=t());)n+=e<128?1:e<2048?2:e<65536?3:4;return n},calculateUTF16asUTF8:function(e){var n=0,r=0;return t.UTF16toUTF8(e,(function(t){++n,r+=t<128?1:t<2048?2:t<65536?3:4})),[n,r]}};return t}(),o.toUTF8=function(t,e){if(void 0===t&&(t=this.offset),void 0===e&&(e=this.limit),!this.noAssert){if("number"!=typeof t||t%1!=0)throw TypeError("Illegal begin: Not an integer");if(t>>>=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal end: Not an integer");if(e>>>=0,t<0||t>e||e>this.buffer.byteLength)throw RangeError("Illegal range: 0 <= "+t+" <= "+e+" <= "+this.buffer.byteLength)}var r;try{u.decodeUTF8toUTF16(function(){return e>t?this.view[t++]:null}.bind(this),r=n())}catch(n){if(t!==e)throw RangeError("Illegal range: Truncated data, "+t+" != "+e)}return r()},l.fromUTF8=function(t,n,r){if(!r&&"string"!=typeof t)throw TypeError("Illegal str: Not a string");var i=new l(u.calculateUTF16asUTF8(e(t),!0)[1],n,r),o=0;return u.encodeUTF16toUTF8(e(t),(function(t){i.view[o++]=t})),i.limit=o,i},l}(n),i=function(n,r){var i,o,s={};return s.ByteBuffer=n,s.c=n,i=n,s.Long=r||null,s.VERSION="5.0.1",s.WIRE_TYPES={},s.WIRE_TYPES.VARINT=0,s.WIRE_TYPES.BITS64=1,s.WIRE_TYPES.LDELIM=2,s.WIRE_TYPES.STARTGROUP=3,s.WIRE_TYPES.ENDGROUP=4,s.WIRE_TYPES.BITS32=5,s.PACKABLE_WIRE_TYPES=[s.WIRE_TYPES.VARINT,s.WIRE_TYPES.BITS64,s.WIRE_TYPES.BITS32],s.TYPES={int32:{name:"int32",wireType:s.WIRE_TYPES.VARINT,defaultValue:0},uint32:{name:"uint32",wireType:s.WIRE_TYPES.VARINT,defaultValue:0},sint32:{name:"sint32",wireType:s.WIRE_TYPES.VARINT,defaultValue:0},int64:{name:"int64",wireType:s.WIRE_TYPES.VARINT,defaultValue:s.Long?s.Long.ZERO:void 0},uint64:{name:"uint64",wireType:s.WIRE_TYPES.VARINT,defaultValue:s.Long?s.Long.UZERO:void 0},sint64:{name:"sint64",wireType:s.WIRE_TYPES.VARINT,defaultValue:s.Long?s.Long.ZERO:void 0},bool:{name:"bool",wireType:s.WIRE_TYPES.VARINT,defaultValue:!1},double:{name:"double",wireType:s.WIRE_TYPES.BITS64,defaultValue:0},string:{name:"string",wireType:s.WIRE_TYPES.LDELIM,defaultValue:""},bytes:{name:"bytes",wireType:s.WIRE_TYPES.LDELIM,defaultValue:null},fixed32:{name:"fixed32",wireType:s.WIRE_TYPES.BITS32,defaultValue:0},sfixed32:{name:"sfixed32",wireType:s.WIRE_TYPES.BITS32,defaultValue:0},fixed64:{name:"fixed64",wireType:s.WIRE_TYPES.BITS64,defaultValue:s.Long?s.Long.UZERO:void 0},sfixed64:{name:"sfixed64",wireType:s.WIRE_TYPES.BITS64,defaultValue:s.Long?s.Long.ZERO:void 0},float:{name:"float",wireType:s.WIRE_TYPES.BITS32,defaultValue:0},enum:{name:"enum",wireType:s.WIRE_TYPES.VARINT,defaultValue:0},message:{name:"message",wireType:s.WIRE_TYPES.LDELIM,defaultValue:null},group:{name:"group",wireType:s.WIRE_TYPES.STARTGROUP,defaultValue:null}},s.MAP_KEY_TYPES=[s.TYPES.int32,s.TYPES.sint32,s.TYPES.sfixed32,s.TYPES.uint32,s.TYPES.fixed32,s.TYPES.int64,s.TYPES.sint64,s.TYPES.sfixed64,s.TYPES.uint64,s.TYPES.fixed64,s.TYPES.bool,s.TYPES.string,s.TYPES.bytes],s.ID_MIN=1,s.ID_MAX=536870911,s.convertFieldsToCamelCase=!1,s.populateAccessors=!0,s.populateDefaults=!0,s.Util=function(){var e={};return e.IS_NODE=!("object"!=typeof t||t+""!="[object process]"||t.browser),e.XHR=function(){var t,e=[function(){return new XMLHttpRequest},function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Msxml3.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")}],n=null;for(t=0;t<e.length;t++){try{n=e[t]()}catch(t){continue}break}if(!n)throw Error("XMLHttpRequest is not supported");return n},e.fetch=function(t,n){if(n&&"function"!=typeof n&&(n=null),e.IS_NODE)if(n)g.readFile(t,(function(t,e){n(t?null:""+e)}));else try{return g.readFileSync(t)}catch(e){return null}else{var r=e.XHR();if(r.open("GET",t,!!n),r.setRequestHeader("Accept","text/plain"),"function"==typeof r.overrideMimeType&&r.overrideMimeType("text/plain"),!n)return r.send(null),200==r.status||0==r.status&&"string"==typeof r.responseText?r.responseText:null;if(r.onreadystatechange=function(){4==r.readyState&&(200==r.status||0==r.status&&"string"==typeof r.responseText?n(r.responseText):n(null))},4==r.readyState)return;r.send(null)}},e.toCamelCase=function(t){return t.replace(/_([a-zA-Z])/g,(function(t,e){return e.toUpperCase()}))},e}(),s.Lang={DELIM:/[\s\{\}=;:\[\],'"\(\)<>]/g,RULE:/^(?:required|optional|repeated|map)$/,TYPE:/^(?:double|float|int32|uint32|sint32|int64|uint64|sint64|fixed32|sfixed32|fixed64|sfixed64|bool|string|bytes)$/,NAME:/^[a-zA-Z_][a-zA-Z_0-9]*$/,TYPEDEF:/^[a-zA-Z][a-zA-Z_0-9]*$/,TYPEREF:/^(?:\.?[a-zA-Z_][a-zA-Z_0-9]*)+$/,FQTYPEREF:/^(?:\.[a-zA-Z][a-zA-Z_0-9]*)+$/,NUMBER:/^-?(?:[1-9][0-9]*|0|0[xX][0-9a-fA-F]+|0[0-7]+|([0-9]*(\.[0-9]*)?([Ee][+-]?[0-9]+)?)|inf|nan)$/,NUMBER_DEC:/^(?:[1-9][0-9]*|0)$/,NUMBER_HEX:/^0[xX][0-9a-fA-F]+$/,NUMBER_OCT:/^0[0-7]+$/,NUMBER_FLT:/^([0-9]*(\.[0-9]*)?([Ee][+-]?[0-9]+)?|inf|nan)$/,BOOL:/^(?:true|false)$/i,ID:/^(?:[1-9][0-9]*|0|0[xX][0-9a-fA-F]+|0[0-7]+)$/,NEGID:/^\-?(?:[1-9][0-9]*|0|0[xX][0-9a-fA-F]+|0[0-7]+)$/,WHITESPACE:/\s/,STRING:/(?:"([^"\\]*(?:\\.[^"\\]*)*)")|(?:'([^'\\]*(?:\\.[^'\\]*)*)')/g,STRING_DQ:/(?:"([^"\\]*(?:\\.[^"\\]*)*)")/g,STRING_SQ:/(?:'([^'\\]*(?:\\.[^'\\]*)*)')/g},s.DotProto=function(t,e){function n(t,n){var r=-1,i=1;if("-"==t.charAt(0)&&(i=-1,t=t.substring(1)),e.NUMBER_DEC.test(t))r=parseInt(t);else if(e.NUMBER_HEX.test(t))r=parseInt(t.substring(2),16);else{if(!e.NUMBER_OCT.test(t))throw Error("illegal id value: "+(i<0?"-":"")+t);r=parseInt(t.substring(1),8)}if(r=0|i*r,!n&&r<0)throw Error("illegal id value: "+(i<0?"-":"")+t);return r}function r(t){var n=1;if("-"==t.charAt(0)&&(n=-1,t=t.substring(1)),e.NUMBER_DEC.test(t))return n*parseInt(t,10);if(e.NUMBER_HEX.test(t))return n*parseInt(t.substring(2),16);if(e.NUMBER_OCT.test(t))return n*parseInt(t.substring(1),8);if("inf"===t)return 1/0*n;if("nan"===t)return NaN;if(e.NUMBER_FLT.test(t))return n*parseFloat(t);throw Error("illegal number value: "+(n<0?"-":"")+t)}function i(t,e,n){void 0===t[e]?t[e]=n:(Array.isArray(t[e])||(t[e]=[t[e]]),t[e].push(n))}var o,s,a={},c=function(t){this.source=t+"",this.index=0,this.line=1,this.stack=[],this._stringOpen=null},u=c.prototype;return u._readString=function(){var t,n='"'===this._stringOpen?e.STRING_DQ:e.STRING_SQ;if(n.lastIndex=this.index-1,!(t=n.exec(this.source)))throw Error("unterminated string");return this.index=n.lastIndex,this.stack.push(this._stringOpen),this._stringOpen=null,t[1]},u.next=function(){var t,n,r,i,o;if(this.stack.length>0)return this.stack.shift();if(this.index>=this.source.length)return null;if(null!==this._stringOpen)return this._readString();do{for(t=!1;e.WHITESPACE.test(r=this.source.charAt(this.index));)if("\n"===r&&++this.line,++this.index===this.source.length)return null;if("/"===this.source.charAt(this.index))if(++this.index,"/"===this.source.charAt(this.index)){for(;"\n"!==this.source.charAt(++this.index);)if(this.index==this.source.length)return null;++this.index,++this.line,t=!0}else{if("*"!==(r=this.source.charAt(this.index)))return"/";do{if("\n"===r&&++this.line,++this.index===this.source.length)return null;n=r,r=this.source.charAt(this.index)}while("*"!==n||"/"!==r);++this.index,t=!0}}while(t);if(this.index===this.source.length)return null;if(i=this.index,e.DELIM.lastIndex=0,!e.DELIM.test(this.source.charAt(i++)))for(;i<this.source.length&&!e.DELIM.test(this.source.charAt(i));)++i;return('"'===(o=this.source.substring(this.index,this.index=i))||"'"===o)&&(this._stringOpen=o),o},u.peek=function(){if(0===this.stack.length){var t=this.next();if(null===t)return null;this.stack.push(t)}return this.stack[0]},u.skip=function(t){var e=this.next();if(e!==t)throw Error("illegal '"+e+"', '"+t+"' expected")},u.omit=function(t){return this.peek()===t&&(this.next(),!0)},u.toString=function(){return"Tokenizer ("+this.index+"/"+this.source.length+" at line "+this.line+")"},a.Tokenizer=c,o=function(t){this.tn=new c(t),this.proto3=!1},(s=o.prototype).parse=function(){var t,n={name:"[ROOT]",package:null,messages:[],enums:[],imports:[],options:{},services:[]},r=!0;try{for(;t=this.tn.next();)switch(t){case"package":if(!r||null!==n.package)throw Error("unexpected 'package'");if(t=this.tn.next(),!e.TYPEREF.test(t))throw Error("illegal package name: "+t);this.tn.skip(";"),n.package=t;break;case"import":if(!r)throw Error("unexpected 'import'");"public"===(t=this.tn.peek())&&this.tn.next(),t=this._readString(),this.tn.skip(";"),n.imports.push(t);break;case"syntax":if(!r)throw Error("unexpected 'syntax'");this.tn.skip("="),"proto3"===(n.syntax=this._readString())&&(this.proto3=!0),this.tn.skip(";");break;case"message":this._parseMessage(n,null),r=!1;break;case"enum":this._parseEnum(n),r=!1;break;case"option":this._parseOption(n);break;case"service":this._parseService(n);break;case"extend":this._parseExtend(n);break;default:throw Error("unexpected '"+t+"'")}}catch(t){throw t.message="Parse error at line "+this.tn.line+": "+t.message,t}return delete n.name,n},o.parse=function(t){return new o(t).parse()},s._readString=function(){var t,e,n="";do{if("'"!==(e=this.tn.next())&&'"'!==e)throw Error("illegal string delimiter: "+e);n+=this.tn.next(),this.tn.skip(e),t=this.tn.peek()}while('"'===t||'"'===t);return n},s._readValue=function(t){var n=this.tn.peek();if('"'===n||"'"===n)return this._readString();if(this.tn.next(),e.NUMBER.test(n))return r(n);if(e.BOOL.test(n))return"true"===n.toLowerCase();if(t&&e.TYPEREF.test(n))return n;throw Error("illegal value: "+n)},s._parseOption=function(t,n){var r,i=this.tn.next(),o=!1;if("("===i&&(o=!0,i=this.tn.next()),!e.TYPEREF.test(i))throw Error("illegal option name: "+i);r=i,o&&(this.tn.skip(")"),r="("+r+")",i=this.tn.peek(),e.FQTYPEREF.test(i)&&(r+=i,this.tn.next())),this.tn.skip("="),this._parseOptionValue(t,r),n||this.tn.skip(";")},s._parseOptionValue=function(t,n){var r=this.tn.peek();if("{"!==r)i(t.options,n,this._readValue(!0));else for(this.tn.skip("{");"}"!==(r=this.tn.next());){if(!e.NAME.test(r))throw Error("illegal option name: "+n+"."+r);this.tn.omit(":")?i(t.options,n+"."+r,this._readValue(!0)):this._parseOptionValue(t,n+"."+r)}},s._parseService=function(t){var n,r=this.tn.next();if(!e.NAME.test(r))throw Error("illegal service name at line "+this.tn.line+": "+r);for(n={name:r,rpc:{},options:{}},this.tn.skip("{");"}"!==(r=this.tn.next());)if("option"===r)this._parseOption(n);else{if("rpc"!==r)throw Error("illegal service token: "+r);this._parseServiceRPC(n)}this.tn.omit(";"),t.services.push(n)},s._parseServiceRPC=function(t){var n,r,i="rpc",o=this.tn.next();if(!e.NAME.test(o))throw Error("illegal rpc service method name: "+o);if(n=o,r={request:null,response:null,request_stream:!1,response_stream:!1,options:{}},this.tn.skip("("),"stream"===(o=this.tn.next()).toLowerCase()&&(r.request_stream=!0,o=this.tn.next()),!e.TYPEREF.test(o))throw Error("illegal rpc service request type: "+o);if(r.request=o,this.tn.skip(")"),"returns"!==(o=this.tn.next()).toLowerCase())throw Error("illegal rpc service request type delimiter: "+o);if(this.tn.skip("("),"stream"===(o=this.tn.next()).toLowerCase()&&(r.response_stream=!0,o=this.tn.next()),r.response=o,this.tn.skip(")"),"{"===(o=this.tn.peek())){for(this.tn.next();"}"!==(o=this.tn.next());){if("option"!==o)throw Error("illegal rpc service token: "+o);this._parseOption(r)}this.tn.omit(";")}else this.tn.skip(";");void 0===t[i]&&(t[i]={}),t[i][n]=r},s._parseMessage=function(t,r){var i=!!r,o=this.tn.next(),s={name:"",fields:[],enums:[],messages:[],options:{},services:[],oneofs:{}};if(!e.NAME.test(o))throw Error("illegal "+(i?"group":"message")+" name: "+o);for(s.name=o,i&&(this.tn.skip("="),r.id=n(this.tn.next()),s.isGroup=!0),"["===(o=this.tn.peek())&&r&&this._parseFieldOptions(r),this.tn.skip("{");"}"!==(o=this.tn.next());)if(e.RULE.test(o))this._parseMessageField(s,o);else if("oneof"===o)this._parseMessageOneOf(s);else if("enum"===o)this._parseEnum(s);else if("message"===o)this._parseMessage(s);else if("option"===o)this._parseOption(s);else if("service"===o)this._parseService(s);else if("extensions"===o)s.extensions=this._parseExtensionRanges();else if("reserved"===o)this._parseIgnored();else if("extend"===o)this._parseExtend(s);else{if(!e.TYPEREF.test(o))throw Error("illegal message token: "+o);if(!this.proto3)throw Error("illegal field rule: "+o);this._parseMessageField(s,"optional",o)}return this.tn.omit(";"),t.messages.push(s),s},s._parseIgnored=function(){for(;";"!==this.tn.peek();)this.tn.next();this.tn.skip(";")},s._parseMessageField=function(t,r,i){var o,s,a;if(!e.RULE.test(r))throw Error("illegal message field rule: "+r);if(o={rule:r,type:"",name:"",options:{},id:0},"map"===r){if(i)throw Error("illegal type: "+i);if(this.tn.skip("<"),s=this.tn.next(),!e.TYPE.test(s)&&!e.TYPEREF.test(s))throw Error("illegal message field type: "+s);if(o.keytype=s,this.tn.skip(","),s=this.tn.next(),!e.TYPE.test(s)&&!e.TYPEREF.test(s))throw Error("illegal message field: "+s);if(o.type=s,this.tn.skip(">"),s=this.tn.next(),!e.NAME.test(s))throw Error("illegal message field name: "+s);o.name=s,this.tn.skip("="),o.id=n(this.tn.next()),"["===(s=this.tn.peek())&&this._parseFieldOptions(o),this.tn.skip(";")}else if("group"===(i=void 0!==i?i:this.tn.next())){if(a=this._parseMessage(t,o),!/^[A-Z]/.test(a.name))throw Error("illegal group name: "+a.name);o.type=a.name,o.name=a.name.toLowerCase(),this.tn.omit(";")}else{if(!e.TYPE.test(i)&&!e.TYPEREF.test(i))throw Error("illegal message field type: "+i);if(o.type=i,s=this.tn.next(),!e.NAME.test(s))throw Error("illegal message field name: "+s);o.name=s,this.tn.skip("="),o.id=n(this.tn.next()),"["===(s=this.tn.peek())&&this._parseFieldOptions(o),this.tn.skip(";")}return t.fields.push(o),o},s._parseMessageOneOf=function(t){var n,r,i,o=this.tn.next();if(!e.NAME.test(o))throw Error("illegal oneof name: "+o);for(r=o,i=[],this.tn.skip("{");"}"!==(o=this.tn.next());)(n=this._parseMessageField(t,"optional",o)).oneof=r,i.push(n.id);this.tn.omit(";"),t.oneofs[r]=i},s._parseFieldOptions=function(t){this.tn.skip("[");for(var e=!0;"]"!==this.tn.peek();)e||this.tn.skip(","),this._parseOption(t,!0),e=!1;this.tn.next()},s._parseEnum=function(t){var r,i={name:"",values:[],options:{}},o=this.tn.next();if(!e.NAME.test(o))throw Error("illegal name: "+o);for(i.name=o,this.tn.skip("{");"}"!==(o=this.tn.next());)if("option"===o)this._parseOption(i);else{if(!e.NAME.test(o))throw Error("illegal name: "+o);this.tn.skip("="),r={name:o,id:n(this.tn.next(),!0)},"["===(o=this.tn.peek())&&this._parseFieldOptions({options:{}}),this.tn.skip(";"),i.values.push(r)}this.tn.omit(";"),t.enums.push(i)},s._parseExtensionRanges=function(){var e,n,i,o=[];do{for(n=[];;){switch(e=this.tn.next()){case"min":i=t.ID_MIN;break;case"max":i=t.ID_MAX;break;default:i=r(e)}if(n.push(i),2===n.length)break;if("to"!==this.tn.peek()){n.push(i);break}this.tn.next()}o.push(n)}while(this.tn.omit(","));return this.tn.skip(";"),o},s._parseExtend=function(t){var n,r=this.tn.next();if(!e.TYPEREF.test(r))throw Error("illegal extend reference: "+r);for(n={ref:r,fields:[]},this.tn.skip("{");"}"!==(r=this.tn.next());)if(e.RULE.test(r))this._parseMessageField(n,r);else{if(!e.TYPEREF.test(r))throw Error("illegal extend token: "+r);if(!this.proto3)throw Error("illegal field rule: "+r);this._parseMessageField(n,"optional",r)}return this.tn.omit(";"),t.messages.push(n),n},s.toString=function(){return"Parser at line "+this.tn.line},a.Parser=o,a}(s,s.Lang),s.Reflect=function(t){function e(e,n){if(e&&"number"==typeof e.low&&"number"==typeof e.high&&"boolean"==typeof e.unsigned&&e.low==e.low&&e.high==e.high)return new t.Long(e.low,e.high,void 0===n?e.unsigned:n);if("string"==typeof e)return t.Long.fromString(e,n||!1,10);if("number"==typeof e)return t.Long.fromNumber(e,n||!1);throw Error("not convertible to Long")}function r(e,n){var i=n.readVarint32(),o=7&i,s=i>>>3;switch(o){case t.WIRE_TYPES.VARINT:do{i=n.readUint8()}while(128==(128&i));break;case t.WIRE_TYPES.BITS64:n.offset+=8;break;case t.WIRE_TYPES.LDELIM:i=n.readVarint32(),n.offset+=i;break;case t.WIRE_TYPES.STARTGROUP:r(s,n);break;case t.WIRE_TYPES.ENDGROUP:if(s===e)return!1;throw Error("Illegal GROUPEND after unknown group: "+s+" ("+e+" expected)");case t.WIRE_TYPES.BITS32:n.offset+=4;break;default:throw Error("Illegal wire type in unknown group "+e+": "+o)}return!0}var o,s,a,c,u,l,f,h,d,p,g,v,y,m,I,M,b={},_=function(t,e,n){this.builder=t,this.parent=e,this.name=n,this.className},A=_.prototype;return A.fqn=function(){for(var t=this.name,e=this;null!=(e=e.parent);)t=e.name+"."+t;return t},A.toString=function(t){return(t?this.className+" ":"")+this.fqn()},A.build=function(){throw Error(this.toString(!0)+" cannot be built directly")},b.T=_,o=function(t,e,n,r,i){_.call(this,t,e,n),this.className="Namespace",this.children=[],this.options=r||{},this.syntax=i||"proto2"},(s=o.prototype=Object.create(_.prototype)).getChildren=function(t){var e,n,r;if(null==(t=t||null))return this.children.slice();for(e=[],n=0,r=this.children.length;r>n;++n)this.children[n]instanceof t&&e.push(this.children[n]);return e},s.addChild=function(t){var e;if(e=this.getChild(t.name))if(e instanceof u.Field&&e.name!==e.originalName&&null===this.getChild(e.originalName))e.name=e.originalName;else{if(!(t instanceof u.Field&&t.name!==t.originalName&&null===this.getChild(t.originalName)))throw Error("Duplicate name in namespace "+this.toString(!0)+": "+t.name);t.name=t.originalName}this.children.push(t)},s.getChild=function(t){var e,n,r="number"==typeof t?"id":"name";for(e=0,n=this.children.length;n>e;++e)if(this.children[e][r]===t)return this.children[e];return null},s.resolve=function(t,e){var n,r="string"==typeof t?t.split("."):t,i=this,o=0;if(""===r[o]){for(;null!==i.parent;)i=i.parent;o++}do{do{if(!(i instanceof b.Namespace)){i=null;break}if(!((n=i.getChild(r[o]))&&n instanceof b.T&&(!e||n instanceof b.Namespace))){i=null;break}i=n,o++}while(o<r.length);if(null!=i)break;if(null!==this.parent)return this.parent.resolve(t,e)}while(null!=i);return i},s.qn=function(t){var e,n,r=[],i=t;do{r.unshift(i.name),i=i.parent}while(null!==i);for(e=1;e<=r.length;e++)if(n=r.slice(r.length-e),t===this.resolve(n,t instanceof b.Namespace))return n.join(".");return t.fqn()},s.build=function(){var t,e,n,r={},i=this.children;for(e=0,n=i.length;n>e;++e)(t=i[e])instanceof o&&(r[t.name]=t.build());return Object.defineProperty&&Object.defineProperty(r,"$options",{value:this.buildOpt()}),r},s.buildOpt=function(){var t,e,n,r,i={},o=Object.keys(this.options);for(t=0,e=o.length;e>t;++t)n=o[t],r=this.options[o[t]],i[n]=r;return i},s.getOption=function(t){return void 0===t?this.options:void 0!==this.options[t]?this.options[t]:null},b.Namespace=o,a=function(e,n,r,i){if(this.type=e,this.resolvedType=n,this.isMapKey=r,this.syntax=i,r&&t.MAP_KEY_TYPES.indexOf(e)<0)throw Error("Invalid map key type: "+e.name)},c=a.prototype,a.defaultFieldValue=function(e){if("string"==typeof e&&(e=t.TYPES[e]),void 0===e.defaultValue)throw Error("default value for type "+e.name+" is not supported");return e==t.TYPES.bytes?new i(0):e.defaultValue},c.verifyValue=function(r){var i,o,s,a=function(t,e){throw Error("Illegal value for "+this.toString(!0)+" of type "+this.type.name+": "+t+" ("+e+")")}.bind(this);switch(this.type){case t.TYPES.int32:case t.TYPES.sint32:case t.TYPES.sfixed32:return("number"!=typeof r||r==r&&r%1!=0)&&a(typeof r,"not an integer"),r>4294967295?0|r:r;case t.TYPES.uint32:case t.TYPES.fixed32:return("number"!=typeof r||r==r&&r%1!=0)&&a(typeof r,"not an integer"),r<0?r>>>0:r;case t.TYPES.int64:case t.TYPES.sint64:case t.TYPES.sfixed64:if(t.Long)try{return e(r,!1)}catch(t){a(typeof r,t.message)}else a(typeof r,"requires Long.js");case t.TYPES.uint64:case t.TYPES.fixed64:if(t.Long)try{return e(r,!0)}catch(t){a(typeof r,t.message)}else a(typeof r,"requires Long.js");case t.TYPES.bool:return"boolean"!=typeof r&&a(typeof r,"not a boolean"),r;case t.TYPES.float:case t.TYPES.double:return"number"!=typeof r&&a(typeof r,"not a number"),r;case t.TYPES.string:return"string"==typeof r||r&&r instanceof String||a(typeof r,"not a string"),""+r;case t.TYPES.bytes:return n.isByteBuffer(r)?r:n.wrap(r);case t.TYPES.enum:for(i=this.resolvedType.getChildren(t.Reflect.Enum.Value),s=0;s<i.length;s++){if(i[s].name==r)return i[s].id;if(i[s].id==r)return i[s].id}if("proto3"===this.syntax)return("number"!=typeof r||r==r&&r%1!=0)&&a(typeof r,"not an integer"),(r>4294967295||r<0)&&a(typeof r,"not in range for uint32"),r;a(r,"not a valid enum value");case t.TYPES.group:case t.TYPES.message:if(r&&"object"==typeof r||a(typeof r,"object expected"),r instanceof this.resolvedType.clazz)return r;if(r instanceof t.Builder.Message){for(s in o={},r)r.hasOwnProperty(s)&&(o[s]=r[s]);r=o}return new this.resolvedType.clazz(r)}throw Error("[INTERNAL] Illegal value for "+this.toString(!0)+": "+r+" (undefined type "+this.type+")")},c.calculateLength=function(e,n){if(null===n)return 0;var r;switch(this.type){case t.TYPES.int32:return n<0?i.calculateVarint64(n):i.calculateVarint32(n);case t.TYPES.uint32:return i.calculateVarint32(n);case t.TYPES.sint32:return i.calculateVarint32(i.zigZagEncode32(n));case t.TYPES.fixed32:case t.TYPES.sfixed32:case t.TYPES.float:return 4;case t.TYPES.int64:case t.TYPES.uint64:return i.calculateVarint64(n);case t.TYPES.sint64:return i.calculateVarint64(i.zigZagEncode64(n));case t.TYPES.fixed64:case t.TYPES.sfixed64:return 8;case t.TYPES.bool:return 1;case t.TYPES.enum:return i.calculateVarint32(n);case t.TYPES.double:return 8;case t.TYPES.string:return r=i.calculateUTF8Bytes(n),i.calculateVarint32(r)+r;case t.TYPES.bytes:if(n.remaining()<0)throw Error("Illegal value for "+this.toString(!0)+": "+n.remaining()+" bytes remaining");return i.calculateVarint32(n.remaining())+n.remaining();case t.TYPES.message:return r=this.resolvedType.calculate(n),i.calculateVarint32(r)+r;case t.TYPES.group:return(r=this.resolvedType.calculate(n))+i.calculateVarint32(e<<3|t.WIRE_TYPES.ENDGROUP)}throw Error("[INTERNAL] Illegal value to encode in "+this.toString(!0)+": "+n+" (unknown type)")},c.encodeValue=function(e,n,r){var o,s;if(null===n)return r;switch(this.type){case t.TYPES.int32:n<0?r.writeVarint64(n):r.writeVarint32(n);break;case t.TYPES.uint32:r.writeVarint32(n);break;case t.TYPES.sint32:r.writeVarint32ZigZag(n);break;case t.TYPES.fixed32:r.writeUint32(n);break;case t.TYPES.sfixed32:r.writeInt32(n);break;case t.TYPES.int64:case t.TYPES.uint64:r.writeVarint64(n);break;case t.TYPES.sint64:r.writeVarint64ZigZag(n);break;case t.TYPES.fixed64:r.writeUint64(n);break;case t.TYPES.sfixed64:r.writeInt64(n);break;case t.TYPES.bool:"string"==typeof n?r.writeVarint32("false"===n.toLowerCase()?0:!!n):r.writeVarint32(n?1:0);break;case t.TYPES.enum:r.writeVarint32(n);break;case t.TYPES.float:r.writeFloat32(n);break;case t.TYPES.double:r.writeFloat64(n);break;case t.TYPES.string:r.writeVString(n);break;case t.TYPES.bytes:if(n.remaining()<0)throw Error("Illegal value for "+this.toString(!0)+": "+n.remaining()+" bytes remaining");o=n.offset,r.writeVarint32(n.remaining()),r.append(n),n.offset=o;break;case t.TYPES.message:s=(new i).LE(),this.resolvedType.encode(n,s),r.writeVarint32(s.offset),r.append(s.flip());break;case t.TYPES.group:this.resolvedType.encode(n,r),r.writeVarint32(e<<3|t.WIRE_TYPES.ENDGROUP);break;default:throw Error("[INTERNAL] Illegal value to encode in "+this.toString(!0)+": "+n+" (unknown type)")}return r},c.decode=function(e,n,r){if(n!=this.type.wireType)throw Error("Unexpected wire type for element");var i,o;switch(this.type){case t.TYPES.int32:return 0|e.readVarint32();case t.TYPES.uint32:return e.readVarint32()>>>0;case t.TYPES.sint32:return 0|e.readVarint32ZigZag();case t.TYPES.fixed32:return e.readUint32()>>>0;case t.TYPES.sfixed32:return 0|e.readInt32();case t.TYPES.int64:return e.readVarint64();case t.TYPES.uint64:return e.readVarint64().toUnsigned();case t.TYPES.sint64:return e.readVarint64ZigZag();case t.TYPES.fixed64:return e.readUint64();case t.TYPES.sfixed64:return e.readInt64();case t.TYPES.bool:return!!e.readVarint32();case t.TYPES.enum:return e.readVarint32();case t.TYPES.float:return e.readFloat();case t.TYPES.double:return e.readDouble();case t.TYPES.string:return e.readVString();case t.TYPES.bytes:if(o=e.readVarint32(),e.remaining()<o)throw Error("Illegal number of bytes for "+this.toString(!0)+": "+o+" required but got only "+e.remaining());return(i=e.clone()).limit=i.offset+o,e.offset+=o,i;case t.TYPES.message:return o=e.readVarint32(),this.resolvedType.decode(e,o);case t.TYPES.group:return this.resolvedType.decode(e,-1,r)}throw Error("[INTERNAL] Illegal decode type")},c.valueFromString=function(e){if(!this.isMapKey)throw Error("valueFromString() called on non-map-key element");switch(this.type){case t.TYPES.int32:case t.TYPES.sint32:case t.TYPES.sfixed32:case t.TYPES.uint32:case t.TYPES.fixed32:return this.verifyValue(parseInt(e));case t.TYPES.int64:case t.TYPES.sint64:case t.TYPES.sfixed64:case t.TYPES.uint64:case t.TYPES.fixed64:return this.verifyValue(e);case t.TYPES.bool:return"true"===e;case t.TYPES.string:return this.verifyValue(e);case t.TYPES.bytes:return i.fromBinary(e)}},c.valueToString=function(e){if(!this.isMapKey)throw Error("valueToString() called on non-map-key element");return this.type===t.TYPES.bytes?e.toString("binary"):e.toString()},b.Element=a,u=function(t,e,n,r,i,s){o.call(this,t,e,n,r,s),this.className="Message",this.extensions=void 0,this.clazz=null,this.isGroup=!!i,this._fields=null,this._fieldsById=null,this._fieldsByName=null},(l=u.prototype=Object.create(o.prototype)).build=function(e){var r,o,s,a;if(this.clazz&&!e)return this.clazz;for(r=function(t,e){function r(e,n,o,s){var a,c,u,l,f,h,d;if(null===e||"object"!=typeof e)return s&&s instanceof t.Reflect.Enum&&null!==(a=t.Reflect.Enum.getName(s.object,e))?a:e;if(i.isByteBuffer(e))return n?e.toBase64():e.toBuffer();if(t.Long.isLong(e))return o?e.toString():t.Long.fromValue(e);if(Array.isArray(e))return c=[],e.forEach((function(t,e){c[e]=r(t,n,o,s)})),c;if(c={},e instanceof t.Map){for(l=(u=e.entries()).next();!l.done;l=u.next())c[e.keyElem.valueToString(l.value[0])]=r(l.value[1],n,o,e.valueElem.resolvedType);return c}for(d in f=e.$type,h=void 0,e)e.hasOwnProperty(d)&&(c[d]=f&&(h=f.getChild(d))?r(e[d],n,o,h.resolvedType):r(e[d],n,o));return c}var o,s,a=e.getChildren(t.Reflect.Message.Field),c=e.getChildren(t.Reflect.Message.OneOf),u=function(n){var r,o,s,l;for(t.Builder.Message.call(this),r=0,o=c.length;o>r;++r)this[c[r].name]=null;for(r=0,o=a.length;o>r;++r)this[(s=a[r]).name]=s.repeated?[]:s.map?new t.Map(s):null,!s.required&&"proto3"!==e.syntax||null===s.defaultValue||(this[s.name]=s.defaultValue);if(arguments.length>0)if(1!==arguments.length||null===n||"object"!=typeof n||!("function"!=typeof n.encode||n instanceof u)||Array.isArray(n)||n instanceof t.Map||i.isByteBuffer(n)||n instanceof ArrayBuffer||t.Long&&n instanceof t.Long)for(r=0,o=arguments.length;o>r;++r)void 0!==(l=arguments[r])&&this.$set(a[r].name,l);else this.$set(n)},l=u.prototype=Object.create(t.Builder.Message.prototype);for(l.add=function(n,r,i){var o=e._fieldsByName[n];if(!i){if(!o)throw Error(this+"#"+n+" is undefined");if(!(o instanceof t.Reflect.Message.Field))throw Error(this+"#"+n+" is not a field: "+o.toString(!0));if(!o.repeated)throw Error(this+"#"+n+" is not a repeated field");r=o.verifyValue(r,!0)}return null===this[n]&&(this[n]=[]),this[n].push(r),this},l.$add=l.add,l.set=function(n,r,i){var o,s,a;if(n&&"object"==typeof n){for(o in i=r,n)n.hasOwnProperty(o)&&void 0!==(r=n[o])&&this.$set(o,r,i);return this}if(s=e._fieldsByName[n],i)this[n]=r;else{if(!s)throw Error(this+"#"+n+" is not a field: undefined");if(!(s instanceof t.Reflect.Message.Field))throw Error(this+"#"+n+" is not a field: "+s.toString(!0));this[s.name]=r=s.verifyValue(r)}return s&&s.oneof&&(a=this[s.oneof.name],null!==r?(null!==a&&a!==s.name&&(this[a]=null),this[s.oneof.name]=s.name):a===n&&(this[s.oneof.name]=null)),this},l.$set=l.set,l.get=function(n,r){if(r)return this[n];var i=e._fieldsByName[n];if(!(i&&i instanceof t.Reflect.Message.Field))throw Error(this+"#"+n+" is not a field: undefined");if(!(i instanceof t.Reflect.Message.Field))throw Error(this+"#"+n+" is not a field: "+i.toString(!0));return this[i.name]},l.$get=l.get,o=0;o<a.length;o++)(s=a[o])instanceof t.Reflect.Message.ExtensionField||e.builder.options.populateAccessors&&function(t){var n,r,i,o=t.originalName.replace(/(_[a-zA-Z])/g,(function(t){return t.toUpperCase().replace("_","")}));o=o.substring(0,1).toUpperCase()+o.substring(1),n=t.originalName.replace(/([A-Z])/g,(function(t){return"_"+t})),r=function(e,n){return this[t.name]=n?e:t.verifyValue(e),this},i=function(){return this[t.name]},null===e.getChild("set"+o)&&(l["set"+o]=r),null===e.getChild("set_"+n)&&(l["set_"+n]=r),null===e.getChild("get"+o)&&(l["get"+o]=i),null===e.getChild("get_"+n)&&(l["get_"+n]=i)}(s);return l.encode=function(t,r){var i,o;"boolean"==typeof t&&(r=t,t=void 0),i=!1,t||(t=new n,i=!0),o=t.littleEndian;try{return e.encode(this,t.LE(),r),(i?t.flip():t).LE(o)}catch(n){throw t.LE(o),n}},u.encode=function(t,e,n){return new u(t).encode(e,n)},l.calculate=function(){return e.calculate(this)},l.encodeDelimited=function(t){var n,r=!1;return t||(t=new i,r=!0),n=(new i).LE(),e.encode(this,n).flip(),t.writeVarint32(n.remaining()),t.append(n),r?t.flip():t},l.encodeAB=function(){try{return this.encode().toArrayBuffer()}catch(t){throw t.encoded&&(t.encoded=t.encoded.toArrayBuffer()),t}},l.toArrayBuffer=l.encodeAB,l.encodeNB=function(){try{return this.encode().toBuffer()}catch(t){throw t.encoded&&(t.encoded=t.encoded.toBuffer()),t}},l.toBuffer=l.encodeNB,l.encode64=function(){try{return this.encode().toBase64()}catch(t){throw t.encoded&&(t.encoded=t.encoded.toBase64()),t}},l.toBase64=l.encode64,l.encodeHex=function(){try{return this.encode().toHex()}catch(t){throw t.encoded&&(t.encoded=t.encoded.toHex()),t}},l.toHex=l.encodeHex,l.toRaw=function(t,e){return r(this,!!t,!!e,this.$type)},l.encodeJSON=function(){return JSON.stringify(r(this,!0,!0,this.$type))},u.decode=function(t,n){var r,o;"string"==typeof t&&(t=i.wrap(t,n||"base64")),r=(t=i.isByteBuffer(t)?t:i.wrap(t)).littleEndian;try{return o=e.decode(t.LE()),t.LE(r),o}catch(n){throw t.LE(r),n}},u.decodeDelimited=function(t,n){var r,o,s;if("string"==typeof t&&(t=i.wrap(t,n||"base64")),(t=i.isByteBuffer(t)?t:i.wrap(t)).remaining()<1)return null;if(r=t.offset,o=t.readVarint32(),t.remaining()<o)return t.offset=r,null;try{return s=e.decode(t.slice(t.offset,t.offset+o).LE()),t.offset+=o,s}catch(n){throw t.offset+=o,n}},u.decode64=function(t){return u.decode(t,"base64")},u.decodeHex=function(t){return u.decode(t,"hex")},u.decodeJSON=function(t){return new u(JSON.parse(t))},l.toString=function(){return e.toString()},Object.defineProperty&&(Object.defineProperty(u,"$options",{value:e.buildOpt()}),Object.defineProperty(l,"$options",{value:u.$options}),Object.defineProperty(u,"$type",{value:e}),Object.defineProperty(l,"$type",{value:e})),u}(t,this),this._fields=[],this._fieldsById={},this._fieldsByName={},s=0,a=this.children.length;a>s;s++)if((o=this.children[s])instanceof g||o instanceof u||o instanceof m){if(r.hasOwnProperty(o.name))throw Error("Illegal reflect child of "+this.toString(!0)+": "+o.toString(!0)+" cannot override static property '"+o.name+"'");r[o.name]=o.build()}else if(o instanceof u.Field)o.build(),this._fields.push(o),this._fieldsById[o.id]=o,this._fieldsByName[o.name]=o;else if(!(o instanceof u.OneOf||o instanceof y))throw Error("Illegal reflect child of "+this.toString(!0)+": "+this.children[s].toString(!0));return this.clazz=r},l.encode=function(t,e,n){var r,i,o,s,a,c=null;for(o=0,s=this._fields.length;s>o;++o)i=t[(r=this._fields[o]).name],r.required&&null===i?null===c&&(c=r):r.encode(n?i:r.verifyValue(i),e,t);if(null!==c)throw(a=Error("Missing at least one required field for "+this.toString(!0)+": "+c)).encoded=e,a;return e},l.calculate=function(t){for(var e,n,r=0,i=0,o=this._fields.length;o>i;++i){if(n=t[(e=this._fields[i]).name],e.required&&null===n)throw Error("Missing at least one required field for "+this.toString(!0)+": "+e);r+=e.calculate(n,t)}return r},l.decode=function(e,n,i){var o,s,a,c,u,l,f,h,d,p,g,v;for(n="number"==typeof n?n:-1,u=e.offset,l=new this.clazz;e.offset<u+n||-1===n&&e.remaining()>0;){if(a=(o=e.readVarint32())>>>3,(s=7&o)===t.WIRE_TYPES.ENDGROUP){if(a!==i)throw Error("Illegal group end indicator for "+this.toString(!0)+": "+a+" ("+(i?i+" expected":"not a group")+")");break}if(c=this._fieldsById[a])c.repeated&&!c.options.packed?l[c.name].push(c.decode(s,e)):c.map?(h=c.decode(s,e),l[c.name].set(h[0],h[1])):(l[c.name]=c.decode(s,e),c.oneof&&(null!==(d=l[c.oneof.name])&&d!==c.name&&(l[d]=null),l[c.oneof.name]=c.name));else switch(s){case t.WIRE_TYPES.VARINT:e.readVarint32();break;case t.WIRE_TYPES.BITS32:e.offset+=4;break;case t.WIRE_TYPES.BITS64:e.offset+=8;break;case t.WIRE_TYPES.LDELIM:f=e.readVarint32(),e.offset+=f;break;case t.WIRE_TYPES.STARTGROUP:for(;r(a,e););break;default:throw Error("Illegal wire type for unknown field "+a+" in "+this.toString(!0)+"#decode: "+s)}}for(p=0,g=this._fields.length;g>p;++p)if(null===l[(c=this._fields[p]).name])if("proto3"===this.syntax)l[c.name]=c.defaultValue;else{if(c.required)throw(v=Error("Missing at least one required field for "+this.toString(!0)+": "+c.name)).decoded=l,v;t.populateDefaults&&null!==c.defaultValue&&(l[c.name]=c.defaultValue)}return l},b.Message=u,f=function(e,n,r,i,o,s,a,c,l,f){_.call(this,e,n,s),this.className="Message.Field",this.required="required"===r,this.repeated="repeated"===r,this.map="map"===r,this.keyType=i||null,this.type=o,this.resolvedType=null,this.id=a,this.options=c||{},this.defaultValue=null,this.oneof=l||null,this.syntax=f||"proto2",this.originalName=this.name,this.element=null,this.keyElement=null,!this.builder.options.convertFieldsToCamelCase||this instanceof u.ExtensionField||(this.name=t.Util.toCamelCase(this.name))},(h=f.prototype=Object.create(_.prototype)).build=function(){this.element=new a(this.type,this.resolvedType,!1,this.syntax),this.map&&(this.keyElement=new a(this.keyType,void 0,!0,this.syntax)),"proto3"!==this.syntax||this.repeated||this.map?void 0!==this.options.default&&(this.defaultValue=this.verifyValue(this.options.default)):this.defaultValue=a.defaultFieldValue(this.type)},h.verifyValue=function(e,n){var r,i,o;if(n=n||!1,r=function(t,e){throw Error("Illegal value for "+this.toString(!0)+" of type "+this.type.name+": "+t+" ("+e+")")}.bind(this),null===e)return this.required&&r(typeof e,"required"),"proto3"===this.syntax&&this.type!==t.TYPES.message&&r(typeof e,"proto3 field without field presence cannot be null"),null;if(this.repeated&&!n){for(Array.isArray(e)||(e=[e]),o=[],i=0;i<e.length;i++)o.push(this.element.verifyValue(e[i]));return o}return this.map&&!n?e instanceof t.Map?e:(e instanceof Object||r(typeof e,"expected ProtoBuf.Map or raw object for map field"),new t.Map(this,e)):(!this.repeated&&Array.isArray(e)&&r(typeof e,"no array expected"),this.element.verifyValue(e))},h.hasWirePresence=function(e,n){if("proto3"!==this.syntax)return null!==e;if(this.oneof&&n[this.oneof.name]===this.name)return!0;switch(this.type){case t.TYPES.int32:case t.TYPES.sint32:case t.TYPES.sfixed32:case t.TYPES.uint32:case t.TYPES.fixed32:return 0!==e;case t.TYPES.int64:case t.TYPES.sint64:case t.TYPES.sfixed64:case t.TYPES.uint64:case t.TYPES.fixed64:return 0!==e.low||0!==e.high;case t.TYPES.bool:return e;case t.TYPES.float:case t.TYPES.double:return 0!==e;case t.TYPES.string:return e.length>0;case t.TYPES.bytes:return e.remaining()>0;case t.TYPES.enum:return 0!==e;case t.TYPES.message:return null!==e;default:return!0}},h.encode=function(e,n,r){var o,s,a,c,u;if(null===this.type||"object"!=typeof this.type)throw Error("[INTERNAL] Unresolved type in "+this.toString(!0)+": "+this.type);if(null===e||this.repeated&&0==e.length)return n;try{if(this.repeated)if(this.options.packed&&t.PACKABLE_WIRE_TYPES.indexOf(this.type.wireType)>=0){for(n.writeVarint32(this.id<<3|t.WIRE_TYPES.LDELIM),n.ensureCapacity(n.offset+=1),s=n.offset,o=0;o<e.length;o++)this.element.encodeValue(this.id,e[o],n);a=n.offset-s,(c=i.calculateVarint32(a))>1&&(u=n.slice(s,n.offset),s+=c-1,n.offset=s,n.append(u)),n.writeVarint32(a,s-c)}else for(o=0;o<e.length;o++)n.writeVarint32(this.id<<3|this.type.wireType),this.element.encodeValue(this.id,e[o],n);else this.map?e.forEach((function(e,r){var o=i.calculateVarint32(8|this.keyType.wireType)+this.keyElement.calculateLength(1,r)+i.calculateVarint32(16|this.type.wireType)+this.element.calculateLength(2,e);n.writeVarint32(this.id<<3|t.WIRE_TYPES.LDELIM),n.writeVarint32(o),n.writeVarint32(8|this.keyType.wireType),this.keyElement.encodeValue(1,r,n),n.writeVarint32(16|this.type.wireType),this.element.encodeValue(2,e,n)}),this):this.hasWirePresence(e,r)&&(n.writeVarint32(this.id<<3|this.type.wireType),this.element.encodeValue(this.id,e,n))}catch(t){throw Error("Illegal value for "+this.toString(!0)+": "+e+" ("+t+")")}return n},h.calculate=function(e,n){var r,o,s;if(e=this.verifyValue(e),null===this.type||"object"!=typeof this.type)throw Error("[INTERNAL] Unresolved type in "+this.toString(!0)+": "+this.type);if(null===e||this.repeated&&0==e.length)return 0;r=0;try{if(this.repeated)if(this.options.packed&&t.PACKABLE_WIRE_TYPES.indexOf(this.type.wireType)>=0){for(r+=i.calculateVarint32(this.id<<3|t.WIRE_TYPES.LDELIM),s=0,o=0;o<e.length;o++)s+=this.element.calculateLength(this.id,e[o]);r+=i.calculateVarint32(s),r+=s}else for(o=0;o<e.length;o++)r+=i.calculateVarint32(this.id<<3|this.type.wireType),r+=this.element.calculateLength(this.id,e[o]);else this.map?e.forEach((function(e,n){var o=i.calculateVarint32(8|this.keyType.wireType)+this.keyElement.calculateLength(1,n)+i.calculateVarint32(16|this.type.wireType)+this.element.calculateLength(2,e);r+=i.calculateVarint32(this.id<<3|t.WIRE_TYPES.LDELIM),r+=i.calculateVarint32(o),r+=o}),this):this.hasWirePresence(e,n)&&(r+=i.calculateVarint32(this.id<<3|this.type.wireType),r+=this.element.calculateLength(this.id,e))}catch(t){throw Error("Illegal value for "+this.toString(!0)+": "+e+" ("+t+")")}return r},h.decode=function(e,n,r){var i,o,s,c,u,l,f;if(!(!this.map&&e==this.type.wireType||!r&&this.repeated&&this.options.packed&&e==t.WIRE_TYPES.LDELIM||this.map&&e==t.WIRE_TYPES.LDELIM))throw Error("Illegal wire type for field "+this.toString(!0)+": "+e+" ("+this.type.wireType+" expected)");if(e==t.WIRE_TYPES.LDELIM&&this.repeated&&this.options.packed&&t.PACKABLE_WIRE_TYPES.indexOf(this.type.wireType)>=0&&!r){for(o=n.readVarint32(),o=n.offset+o,s=[];n.offset<o;)s.push(this.decode(this.type.wireType,n,!0));return s}if(this.map){if(c=a.defaultFieldValue(this.keyType),i=a.defaultFieldValue(this.type),o=n.readVarint32(),n.remaining()<o)throw Error("Illegal number of bytes for "+this.toString(!0)+": "+o+" required but got only "+n.remaining());for((u=n.clone()).limit=u.offset+o,n.offset+=o;u.remaining()>0;)if(e=7&(l=u.readVarint32()),1===(f=l>>>3))c=this.keyElement.decode(u,e,f);else{if(2!==f)throw Error("Unexpected tag in map field key/value submessage");i=this.element.decode(u,e,f)}return[c,i]}return this.element.decode(n,e,this.id)},b.Message.Field=f,d=function(t,e,n,r,i,o,s){f.call(this,t,e,n,null,r,i,o,s),this.extension},d.prototype=Object.create(f.prototype),b.Message.ExtensionField=d,p=function(t,e,n){_.call(this,t,e,n),this.fields=[]},b.Message.OneOf=p,g=function(t,e,n,r,i){o.call(this,t,e,n,r,i),this.className="Enum",this.object=null},g.getName=function(t,e){var n,r,i=Object.keys(t);for(r=0;r<i.length;++r)if(t[n=i[r]]===e)return n;return null},(g.prototype=Object.create(o.prototype)).build=function(e){var n,r,i,o;if(this.object&&!e)return this.object;for(n=new t.Builder.Enum,i=0,o=(r=this.getChildren(g.Value)).length;o>i;++i)n[r[i].name]=r[i].id;return Object.defineProperty&&Object.defineProperty(n,"$options",{value:this.buildOpt(),enumerable:!1}),this.object=n},b.Enum=g,v=function(t,e,n,r){_.call(this,t,e,n),this.className="Enum.Value",this.id=r},v.prototype=Object.create(_.prototype),b.Enum.Value=v,y=function(t,e,n,r){_.call(this,t,e,n),this.field=r},y.prototype=Object.create(_.prototype),b.Extension=y,m=function(t,e,n,r){o.call(this,t,e,n,r),this.className="Service",this.clazz=null},(m.prototype=Object.create(o.prototype)).build=function(e){return this.clazz&&!e?this.clazz:this.clazz=function(t,e){var n,r=function(e){t.Builder.Service.call(this),this.rpcImpl=e||function(t,e,n){setTimeout(n.bind(this,Error("Not implemented, see: https://github.com/dcodeIO/ProtoBuf.js/wiki/Services")),0)}},o=r.prototype=Object.create(t.Builder.Service.prototype),s=e.getChildren(t.Reflect.Service.RPCMethod);for(n=0;n<s.length;n++)!function(t){o[t.name]=function(n,r){try{try{n=t.resolvedRequestType.clazz.decode(i.wrap(n))}catch(t){if(!(t instanceof TypeError))throw t}if(null===n||"object"!=typeof n)throw Error("Illegal arguments");n instanceof t.resolvedRequestType.clazz||(n=new t.resolvedRequestType.clazz(n)),this.rpcImpl(t.fqn(),n,(function(n,i){if(!n){try{i=t.resolvedResponseType.clazz.decode(i)}catch(t){}return i&&i instanceof t.resolvedResponseType.clazz?void r(null,i):void r(Error("Illegal response type received in service method "+e.name+"#"+t.name))}r(n)}))}catch(t){setTimeout(r.bind(this,t),0)}},r[t.name]=function(e,n,i){new r(e)[t.name](n,i)},Object.defineProperty&&(Object.defineProperty(r[t.name],"$options",{value:t.buildOpt()}),Object.defineProperty(o[t.name],"$options",{value:r[t.name].$options}))}(s[n]);return Object.defineProperty&&(Object.defineProperty(r,"$options",{value:e.buildOpt()}),Object.defineProperty(o,"$options",{value:r.$options}),Object.defineProperty(r,"$type",{value:e}),Object.defineProperty(o,"$type",{value:e})),r}(t,this)},b.Service=m,I=function(t,e,n,r){_.call(this,t,e,n),this.className="Service.Method",this.options=r||{}},(I.prototype=Object.create(_.prototype)).buildOpt=s.buildOpt,b.Service.Method=I,M=function(t,e,n,r,i,o,s,a){I.call(this,t,e,n,a),this.className="Service.RPCMethod",this.requestName=r,this.responseName=i,this.requestStream=o,this.responseStream=s,this.resolvedRequestType=null,this.resolvedResponseType=null},M.prototype=Object.create(I.prototype),b.Service.RPCMethod=M,b}(s),s.Builder=function(t,e,n){function r(t){t.messages&&t.messages.forEach((function(e){e.syntax=t.syntax,r(e)})),t.enums&&t.enums.forEach((function(e){e.syntax=t.syntax}))}var i=function(t){this.ns=new n.Namespace(this,null,""),this.ptr=this.ns,this.resolved=!1,this.result=null,this.files={},this.importRoot=null,this.options=t||{}},o=i.prototype;return i.isMessage=function(t){return"string"==typeof t.name&&void 0===t.values&&void 0===t.rpc},i.isMessageField=function(t){return"string"==typeof t.rule&&"string"==typeof t.name&&"string"==typeof t.type&&void 0!==t.id},i.isEnum=function(t){return"string"==typeof t.name&&!(void 0===t.values||!Array.isArray(t.values)||0===t.values.length)},i.isService=function(t){return!("string"!=typeof t.name||"object"!=typeof t.rpc||!t.rpc)},i.isExtend=function(t){return"string"==typeof t.ref},o.reset=function(){return this.ptr=this.ns,this},o.define=function(t){if("string"!=typeof t||!e.TYPEREF.test(t))throw Error("illegal namespace: "+t);return t.split(".").forEach((function(t){var e=this.ptr.getChild(t);null===e&&this.ptr.addChild(e=new n.Namespace(this,this.ptr,t)),this.ptr=e}),this),this},o.create=function(e){var r,o,s,a,c;if(!e)return this;if(Array.isArray(e)){if(0===e.length)return this;e=e.slice()}else e=[e];for(r=[e];r.length>0;){if(e=r.pop(),!Array.isArray(e))throw Error("not a valid namespace: "+JSON.stringify(e));for(;e.length>0;){if(o=e.shift(),i.isMessage(o)){if(s=new n.Message(this,this.ptr,o.name,o.options,o.isGroup,o.syntax),a={},o.oneofs&&Object.keys(o.oneofs).forEach((function(t){s.addChild(a[t]=new n.Message.OneOf(this,s,t))}),this),o.fields&&o.fields.forEach((function(t){if(null!==s.getChild(0|t.id))throw Error("duplicate or invalid field id in "+s.name+": "+t.id);if(t.options&&"object"!=typeof t.options)throw Error("illegal field options in "+s.name+"#"+t.name);var e=null;if("string"==typeof t.oneof&&!(e=a[t.oneof]))throw Error("illegal oneof in "+s.name+"#"+t.name+": "+t.oneof);t=new n.Message.Field(this,s,t.rule,t.keytype,t.type,t.name,t.id,t.options,e,o.syntax),e&&e.fields.push(t),s.addChild(t)}),this),c=[],o.enums&&o.enums.forEach((function(t){c.push(t)})),o.messages&&o.messages.forEach((function(t){c.push(t)})),o.services&&o.services.forEach((function(t){c.push(t)})),o.extensions&&(s.extensions="number"==typeof o.extensions[0]?[o.extensions]:o.extensions),this.ptr.addChild(s),c.length>0){r.push(e),e=c,c=null,this.ptr=s,s=null;continue}c=null}else if(i.isEnum(o))s=new n.Enum(this,this.ptr,o.name,o.options,o.syntax),o.values.forEach((function(t){s.addChild(new n.Enum.Value(this,s,t.name,t.id))}),this),this.ptr.addChild(s);else if(i.isService(o))s=new n.Service(this,this.ptr,o.name,o.options),Object.keys(o.rpc).forEach((function(t){var e=o.rpc[t];s.addChild(new n.Service.RPCMethod(this,s,t,e.request,e.response,!!e.request_stream,!!e.response_stream,e.options))}),this),this.ptr.addChild(s);else{if(!i.isExtend(o))throw Error("not a valid definition: "+JSON.stringify(o));if(s=this.ptr.resolve(o.ref,!0))o.fields.forEach((function(e){var r,i,o,a;if(null!==s.getChild(0|e.id))throw Error("duplicate extended field id in "+s.name+": "+e.id);if(s.extensions&&(r=!1,s.extensions.forEach((function(t){e.id>=t[0]&&e.id<=t[1]&&(r=!0)})),!r))throw Error("illegal extended field id in "+s.name+": "+e.id+" (not within valid ranges)");i=e.name,this.options.convertFieldsToCamelCase&&(i=t.Util.toCamelCase(i)),o=new n.Message.ExtensionField(this,s,e.rule,e.type,this.ptr.fqn()+"."+i,e.id,e.options),a=new n.Extension(this,this.ptr,e.name,o),o.extension=a,this.ptr.addChild(a),s.addChild(o)}),this);else if(!/\.?google\.protobuf\./.test(o.ref))throw Error("extended message "+o.ref+" is not defined")}o=null,s=null}e=null,this.ptr=this.ptr.parent}return this.resolved=!1,this.result=null,this},o.import=function(e,n){var i,o,s,a,c,u,l,f,h="/";if("string"==typeof n){if(t.Util.IS_NODE,!0===this.files[n])return this.reset();this.files[n]=!0}else if("object"==typeof n){if(i=n.root,t.Util.IS_NODE,(i.indexOf("\\")>=0||n.file.indexOf("\\")>=0)&&(h="\\"),o=i+h+n.file,!0===this.files[o])return this.reset();this.files[o]=!0}if(e.imports&&e.imports.length>0){for(a=!1,"object"==typeof n?(this.importRoot=n.root,a=!0,s=this.importRoot,n=n.file,(s.indexOf("\\")>=0||n.indexOf("\\")>=0)&&(h="\\")):"string"==typeof n?this.importRoot?s=this.importRoot:n.indexOf("/")>=0?""===(s=n.replace(/\/[^\/]*$/,""))&&(s="/"):n.indexOf("\\")>=0?(s=n.replace(/\\[^\\]*$/,""),h="\\"):s=".":s=null,c=0;c<e.imports.length;c++)if("string"==typeof e.imports[c]){if(!s)throw Error("cannot determine import root");if("google/protobuf/descriptor.proto"===(u=e.imports[c]))continue;if(u=s+h+u,!0===this.files[u])continue;if(/\.proto$/i.test(u)&&!t.DotProto&&(u=u.replace(/\.proto$/,".json")),null===(l=t.Util.fetch(u)))throw Error("failed to import '"+u+"' in '"+n+"': file not found");/\.json$/i.test(u)?this.import(JSON.parse(l+""),u):this.import(t.DotProto.Parser.parse(l),u)}else n?/\.(\w+)$/.test(n)?this.import(e.imports[c],n.replace(/^(.+)\.(\w+)$/,(function(t,e,n){return e+"_import"+c+"."+n}))):this.import(e.imports[c],n+"_import"+c):this.import(e.imports[c]);a&&(this.importRoot=null)}return e.package&&this.define(e.package),e.syntax&&r(e),f=this.ptr,e.options&&Object.keys(e.options).forEach((function(t){f.options[t]=e.options[t]})),e.messages&&(this.create(e.messages),this.ptr=f),e.enums&&(this.create(e.enums),this.ptr=f),e.services&&(this.create(e.services),this.ptr=f),e.extends&&this.create(e.extends),this.reset()},o.resolveAll=function(){var r;if(null==this.ptr||"object"==typeof this.ptr.type)return this;if(this.ptr instanceof n.Namespace)this.ptr.children.forEach((function(t){this.ptr=t,this.resolveAll()}),this);else if(this.ptr instanceof n.Message.Field){if(e.TYPE.test(this.ptr.type))this.ptr.type=t.TYPES[this.ptr.type];else{if(!e.TYPEREF.test(this.ptr.type))throw Error("illegal type reference in "+this.ptr.toString(!0)+": "+this.ptr.type);if(!(r=(this.ptr instanceof n.Message.ExtensionField?this.ptr.extension.parent:this.ptr.parent).resolve(this.ptr.type,!0)))throw Error("unresolvable type reference in "+this.ptr.toString(!0)+": "+this.ptr.type);if(this.ptr.resolvedType=r,r instanceof n.Enum){if(this.ptr.type=t.TYPES.enum,"proto3"===this.ptr.syntax&&"proto3"!==r.syntax)throw Error("proto3 message cannot reference proto2 enum")}else{if(!(r instanceof n.Message))throw Error("illegal type reference in "+this.ptr.toString(!0)+": "+this.ptr.type);this.ptr.type=r.isGroup?t.TYPES.group:t.TYPES.message}}if(this.ptr.map){if(!e.TYPE.test(this.ptr.keyType))throw Error("illegal key type for map field in "+this.ptr.toString(!0)+": "+this.ptr.keyType);this.ptr.keyType=t.TYPES[this.ptr.keyType]}}else if(this.ptr instanceof t.Reflect.Service.Method){if(!(this.ptr instanceof t.Reflect.Service.RPCMethod))throw Error("illegal service type in "+this.ptr.toString(!0));if(!((r=this.ptr.parent.resolve(this.ptr.requestName,!0))&&r instanceof t.Reflect.Message))throw Error("Illegal type reference in "+this.ptr.toString(!0)+": "+this.ptr.requestName);if(this.ptr.resolvedRequestType=r,!((r=this.ptr.parent.resolve(this.ptr.responseName,!0))&&r instanceof t.Reflect.Message))throw Error("Illegal type reference in "+this.ptr.toString(!0)+": "+this.ptr.responseName);this.ptr.resolvedResponseType=r}else if(!(this.ptr instanceof t.Reflect.Message.OneOf||this.ptr instanceof t.Reflect.Extension||this.ptr instanceof t.Reflect.Enum.Value))throw Error("illegal object in namespace: "+typeof this.ptr+": "+this.ptr);return this.reset()},o.build=function(t){var e,n,r;if(this.reset(),this.resolved||(this.resolveAll(),this.resolved=!0,this.result=null),null===this.result&&(this.result=this.ns.build()),!t)return this.result;for(e="string"==typeof t?t.split("."):t,n=this.result,r=0;r<e.length;r++){if(!n[e[r]]){n=null;break}n=n[e[r]]}return n},o.lookup=function(t,e){return t?this.ns.resolve(t,e):this.ns},o.toString=function(){return"Builder"},i.Message=function(){},i.Enum=function(){},i.Service=function(){},i}(s,s.Lang,s.Reflect),s.Map=function(t,e){function n(t){var e=0;return{next:function(){return e<t.length?{done:!1,value:t[e++]}:{done:!0}}}}var r=function(t,n){var r,i,o,s;if(!t.map)throw Error("field is not a map");if(this.field=t,this.keyElem=new e.Element(t.keyType,null,!0,t.syntax),this.valueElem=new e.Element(t.type,t.resolvedType,!1,t.syntax),this.map={},Object.defineProperty(this,"size",{get:function(){return Object.keys(this.map).length}}),n)for(r=Object.keys(n),i=0;i<r.length;i++)o=this.keyElem.valueFromString(r[i]),s=this.valueElem.verifyValue(n[r[i]]),this.map[this.keyElem.valueToString(o)]={key:o,value:s}},i=r.prototype;return i.clear=function(){this.map={}},i.delete=function(t){var e=this.keyElem.valueToString(this.keyElem.verifyValue(t)),n=e in this.map;return delete this.map[e],n},i.entries=function(){var t,e,r=[],i=Object.keys(this.map);for(e=0;e<i.length;e++)r.push([(t=this.map[i[e]]).key,t.value]);return n(r)},i.keys=function(){var t,e=[],r=Object.keys(this.map);for(t=0;t<r.length;t++)e.push(this.map[r[t]].key);return n(e)},i.values=function(){var t,e=[],r=Object.keys(this.map);for(t=0;t<r.length;t++)e.push(this.map[r[t]].value);return n(e)},i.forEach=function(t,e){var n,r,i=Object.keys(this.map);for(r=0;r<i.length;r++)t.call(e,(n=this.map[i[r]]).value,n.key,this)},i.set=function(t,e){var n=this.keyElem.verifyValue(t),r=this.valueElem.verifyValue(e);return this.map[this.keyElem.valueToString(n)]={key:n,value:r},this},i.get=function(t){var e=this.keyElem.valueToString(this.keyElem.verifyValue(t));return e in this.map?this.map[e].value:void 0},i.has=function(t){return this.keyElem.valueToString(this.keyElem.verifyValue(t))in this.map},r}(0,s.Reflect),s.loadProto=function(t,e,n){return("string"==typeof e||e&&"string"==typeof e.file&&"string"==typeof e.root)&&(n=e,e=void 0),s.loadJson(s.DotProto.Parser.parse(t),e,n)},s.protoFromString=s.loadProto,s.loadProtoFile=function(t,e,n){if(e&&"object"==typeof e?(n=e,e=null):e&&"function"==typeof e||(e=null),e)return s.Util.fetch("string"==typeof t?t:t.root+"/"+t.file,(function(r){if(null!==r)try{e(null,s.loadProto(r,n,t))}catch(t){e(t)}else e(Error("Failed to fetch file"))}));var r=s.Util.fetch("object"==typeof t?t.root+"/"+t.file:t);return null===r?null:s.loadProto(r,n,t)},s.protoFromFile=s.loadProtoFile,s.newBuilder=function(t){return void 0===(t=t||{}).convertFieldsToCamelCase&&(t.convertFieldsToCamelCase=s.convertFieldsToCamelCase),void 0===t.populateAccessors&&(t.populateAccessors=s.populateAccessors),new s.Builder(t)},s.loadJson=function(t,e,n){return("string"==typeof e||e&&"string"==typeof e.file&&"string"==typeof e.root)&&(n=e,e=null),e&&"object"==typeof e||(e=s.newBuilder()),"string"==typeof t&&(t=JSON.parse(t)),e.import(t,n),e.resolveAll(),e},s.loadJsonFile=function(t,e,n){if(e&&"object"==typeof e?(n=e,e=null):e&&"function"==typeof e||(e=null),e)return s.Util.fetch("string"==typeof t?t:t.root+"/"+t.file,(function(r){if(null!==r)try{e(null,s.loadJson(JSON.parse(r),n,t))}catch(t){e(t)}else e(Error("Failed to fetch file"))}));var r=s.Util.fetch("object"==typeof t?t.root+"/"+t.file:t);return null===r?null:s.loadJson(JSON.parse(r),n,t)},o=e,s.loadProto(o,void 0,"").build("Modules").probuf}(r,n);return i}var Ln,xn="pgMsgP",jn="chatMsg",kn="pcMsgP",Pn={PRIVATE:"ppMsgS",GROUP:"pgMsgS",CHATROOM:"chatMsgS"},Un="delMsg",zn="joinChrm",Gn="joinChrmR",Bn="exitChrm",Yn="setKV",Fn="delKV",$n="setKVS",Hn="delKVS",Vn="qryRelationR",Qn="delRelation",Wn="setSeAtt",Zn={PRIVATE:"cleanPMsg",GROUP:"cleanGMsg",ULTRA_GROUP:"cleanGMsg",CUSTOMER_SERVICE:"cleanCMsg",SYSTEM:"cleanSMsg"},Kn="qryPMsg",qn="qryGMsg",Jn="qryCHMsg",Xn="qryCMsg",tr="qrySMsg",er=((wn={})["ppMsgP"]=D.PRIVATE,wn[xn]=D.GROUP,wn[jn]=D.CHATROOM,wn[kn]=D.CUSTOMER_SERVICE,wn),nr=((Nn={})[D.PRIVATE]=Kn,Nn[D.GROUP]=qn,Nn[D.CHATROOM]=Jn,Nn[D.CUSTOMER_SERVICE]=Xn,Nn[D.SYSTEM]=tr,Nn),rr=((Sn={})[D.PRIVATE]=Zn.PRIVATE,Sn[D.GROUP]=Zn.GROUP,Sn[D.ULTRA_GROUP]=Zn.ULTRA_GROUP,Sn[D.CUSTOMER_SERVICE]=Zn.CUSTOMER_SERVICE,Sn[D.SYSTEM]=Zn.SYSTEM,Sn),ir="1",or="0",sr=1,ar=2,cr=3,ur="UpStreamMessage",lr="PushExtra",fr="DownStreamMessage",hr="DownStreamMessages",dr="SessionsAttQryInput",pr="SessionsAttOutput",gr="SyncRequestMsg",vr="ChrmPullMsg",yr="NotifyMsg",mr="HistoryMsgInput",Ir="HistoryMsgOuput",Mr="RelationQryInput",br="RelationsOutput",_r="UnreadMsgInfo",Ar="DeleteSessionsInput",Cr="SessionInfo",Tr="DeleteSessionsOutput",Er="RelationsInput",wr="DeleteMsgInput",Nr="CleanHisMsgInput",Sr="SessionMsgReadInput",Or="ChrmInput",Dr="ChrmOutput",Rr="QueryChatRoomInfoInput",Lr="QueryChatRoomInfoOutput",xr="GetQNupTokenInput",jr="GetQNupTokenOutput",kr="GetQNdownloadUrlInput",Pr="GetDownloadUrlInput",Ur="GetQNdownloadUrlOutput",zr="GetDownloadUrlOutput",Gr="ChrmKVEntity",Br="SetChrmKV",Yr="SetChrmKVS",Fr="DeleteChrmKVS",$r="ChrmKVOutput",Hr="ChrmKVSOutput",Vr="ChrmKVSVersionEntity",Qr="ChrmKVSOutputEntity",Wr="QueryChrmKV",Zr="SetUserSettingInput",Kr="SetUserSettingOutput",qr="PullUserSettingInput",Jr="PullUserSettingOutput",Xr="UserSettingNotification",ti="SessionReq",ei="SessionStates",ni="SessionState",ri="SessionStateItem",ii="SessionStateModifyReq",oi="SessionStateModifyResp",si="GroupUnpushQuery",ai="GroupUnpushSet",ci="QryRemindListReq",ui="QryRemindListResp",li="GroupUnpushResult",fi="GrpReadReceiptMsg",hi="GrpReadReceiptQryReq",di="GrpReadReceiptQryResp",pi="GrpMsgReadUser",gi="SessionTagAddInput",vi="SessionTagItem",yi="SessionTagDelInput",mi="SessionDisTagReq",Ii="ReportSDKInput",Mi="ReportSDKOutput",bi="UltraGrpPullSes",_i="UltraGrpPullMsg",Ai="MsgChangeReq",Ci="QueryMsgChange",Ti="MsgChange",Ei="MsgChangeList",wi="MsgQuery",Ni="MessageQueryInfo",Si="MsgQueryAck",Oi="OperateStatus",Di="OperateStatusNotify",Ri="OperateInfo",Li="OperateSummary",xi="SetRtcRoomIdInput",ji="SetRtcRoomIdOutput";(Ln={})[ur]=["sessionId","classname","content","pushText","userId","configFlag","clientUniqueId","appData","extraContent","pushExt","busChannel"],Ln[hr]=["list","syncTime","finished","broadcastSyncTime"],Ln[fr]=["fromUserId","type","groupId","classname","content","dataTime","status","msgId","extraContent","pushContent","configFlag","pushExt","busChannel","extStatus","toUserId","groupUnpush"],Ln[lr]=["title","templateIdNoUse","pushId","pushConfigs","templateId"],Ln[dr]=["nothing"],Ln[pr]=["inboxTime","sendboxTime","totalUnreadCount"],Ln[gr]=["syncTime","ispolling","isweb","isPullSend","isKeeping","sendBoxSyncTime","broadcastSyncTime"],Ln[vr]=["syncTime","count"],Ln[yr]=["type","time","chrmId"],Ln[mr]=["targetId","time","count","order","busChannel"],Ln[Ir]=["list","syncTime","hasMsg"],Ln[Mr]=["type","count","startTime","order"],Ln[br]=["info","isFinished"],Ln[_r]=["msgId","msgTime","remindType"],Ln[Ar]=["sessions"],Ln[Cr]=["type","channelId","busChannel"],Ln[Tr]=["nothing"],Ln[Er]=["type","msg","count","busChannel","startTime","endTime"],Ln[wr]=["type","conversationId","msgs","busChannel"],Ln[Nr]=["targetId","dataTime","conversationType","busChannel"],Ln[Sr]=["type","msgTime","channelId","busChannel"],Ln[Or]=["nothing"],Ln[Dr]=["nothing","sessionId","joinTime"],Ln[Rr]=["count","order"],Ln[Lr]=["userTotalNums","userInfos"],Ln[xr]=["type","key","httpMethod","queryString"],Ln[kr]=["type","key","fileName"],Ln[Pr]=["type","key","fileName"],Ln[jr]=["deadline","token","bosToken","bosDate","path","osskeyId","ossPolicy","ossSign","ossBucketName"],Ln[Ur]=["downloadUrl"],Ln[zr]=["downloadUrl"],Ln[Gr]=["key","value","status","timestamp","uid","version"],Ln[Br]=["entry","bNotify","notification","type"],Ln[Yr]=["entry","bNotify","notification","type"],Ln[Fr]=["entry","bNotify","notification","type"],Ln[$r]=["entries","bFullUpdate","syncTime"],Ln[Hr]=["timestamp","errorKeys","keysVersion"],Ln[Vr]=["version","key"],Ln[Qr]=["key","errorCode"],Ln[Wr]=["timestamp"],Ln[Zr]=["version","value"],Ln[Kr]=["version","reserve"],Ln[qr]=["version","reserve"],Ln[Jr]=["items","version"],Ln.UserSettingItem=["targetId","type","key","value","version","status","tags"],Ln[ti]=["time"],Ln[ei]=["version","state"],Ln[ni]=["type","channelId","time","stateItem","busChannel"],Ln[ri]=["sessionStateType","value","tags"],Ln[ii]=["version","state"],Ln[oi]=["version"],Ln[ai]=["busChannel","unpushLevel"],Ln[ci]=["groupId","busChannel","msgTime","size"],Ln[si]=["busChannel"],Ln[li]=["groupId","busChannel","unpushLevel"],Ln[fi]=["msgId","busChannel"],Ln[hi]=["msgId","busChannel"],Ln[di]=["totalMemberNum","list"],Ln[pi]=["readTime","userId"],Ln[gi]=["version","tags"],Ln[vi]=["tagId","name","createdTime","isTop"],Ln[yi]=["version","tags"],Ln[mi]=["tagId"],Ln[Xr]=["version","reserve"],Ln[Ii]=["sdkInfo"],Ln[Mi]=["nothing"],Ln[bi]=["syncTime","isEraseMsgContent"],Ln[_i]=["syncTime"],Ln[Ai]=["fromUserId","targetId","type","busChannel","msgUID","msgTime","content"],Ln[Ci]=["syncTime"],Ln[Ei]=["list","syncTime","hasNext"],Ln[Ti]=["targetId","type","time","changeType","msgUID","msgTime","busChannel","isAdmin","isDel","operatorId","subChangeType"],Ln[wi]=["targetId","type","query"],Ln[Ni]=["msgTime","msgUID","busChannel"],Ln[Si]=["list"],Ln[Oi]=["targetId","type","opType","busChannel"],Ln[Di]=["type","notifyType","info","summary"],Ln[Ri]=["targetId","busChannel","userId","opType","optime"],Ln[Li]=["targetId","busChannel","count","opType"],Ln[xi]=["rtcRoomId"],Ln[ji]=["nothing"];var ki="\npackage Modules;\nmessage probuf {\n message SetUserStatusOutput\n {\n optional int32 nothing=1;\n }\n\n message GetUserStatusInput\n {\n optional int32 nothing=1;\n }\n\n message GetUserStatusOutput\n {\n optional string status=1;\n optional string subUserId=2;\n }\n\n message SubUserStatusInput\n {\n repeated string userid =1;\n }\n\n message SubUserStatusOutput\n {\n optional int32 nothing=1;\n }\n message VoipDynamicInput\n {\n required int32 engineType = 1;\n required string channelName = 2;\n optional string channelExtra = 3;\n }\n\n message VoipDynamicOutput\n {\n required string dynamicKey=1;\n }\n message ".concat(yr," {\n required int32 type = 1;\n optional int64 time = 2;\n optional string chrmId=3;\n }\n message ").concat(gr," {\n required int64 syncTime = 1;\n required bool ispolling = 2;\n optional bool isweb=3;\n optional bool isPullSend=4;\n optional bool isKeeping=5;\n optional int64 sendBoxSyncTime=6;\n optional int64 broadcastSyncTime=7;\n }\n message ").concat(ur," {\n required int32 sessionId = 1;\n required string classname = 2;\n required bytes content = 3;\n optional string pushText = 4;\n optional string appData = 5;\n repeated string userId = 6;\n optional int64 delMsgTime = 7;\n optional string delMsgId = 8;\n optional int32 configFlag = 9;\n optional int64 clientUniqueId = 10;\n optional string extraContent = 11;\n optional PushExtra pushExt = 12;\n optional string busChannel = 13; // 该消息所属会话的业务标识\n }\n message ").concat(lr," {\n optional string title = 1;\n optional int32 templateIdNoUse= 2;\n optional string pushId = 3;\n optional string pushConfigs = 4;\n optional string templateId = 5;\n }\n message ").concat(hr," {\n repeated DownStreamMessage list = 1;\n required int64 syncTime = 2;\n optional bool finished = 3;\n optional int64 broadcastSyncTime = 4;\n }\n message ").concat(fr," {\n required string fromUserId = 1;\n required ChannelType type = 2;\n optional string groupId = 3;\n required string classname = 4;\n required bytes content = 5;\n required int64 dataTime = 6;\n required int64 status = 7;\n optional int64 extra = 8;\n optional string msgId = 9;\n optional int32 direction = 10;\n optional int32 plantform =11;\n optional int32 isRemoved = 12;\n optional string source = 13;\n optional int64 clientUniqueId = 14;\n optional string extraContent = 15;\n optional string pushContent = 16;\n optional int32 configFlag = 17;\n optional PushExtra pushExt = 18;\n optional string busChannel = 19; // 该消息所属会话的业务标识,限制20字符以内\n // 消息的扩展标记\n // 第0位,表示送达状态: 0x01 表示已送达;\n // 断档: 0x02 表示是否需要执行断档策略;\n // 消息修改: 0x04 拉取历史消息时表示该消息是否修改过\n // 0x08 每条消息携带的频道类型\n optional int64 extStatus = 20;\n repeated string toUserId = 21; //指定接收者(限定群和讨论组)//增加聊天室定向成员\n optional int32 groupUnpush = 22; //群聊默认免打扰级别\n }\n enum ChannelType {\n PERSON = 1;\n PERSONS = 2;\n GROUP = 3;\n TEMPGROUP = 4;\n CUSTOMERSERVICE = 5;\n NOTIFY = 6;\n MC=7;\n MP=8;\n ULTRAGROUP = 10;\n }\n message CreateDiscussionInput {\n optional string name = 1;\n }\n message CreateDiscussionOutput {\n required string id = 1;\n }\n message ChannelInvitationInput {\n repeated string users = 1;\n }\n message LeaveChannelInput {\n required int32 nothing = 1;\n }\n message ChannelEvictionInput {\n required string user = 1;\n }\n message RenameChannelInput {\n required string name = 1;\n }\n message ChannelInfoInput {\n required int32 nothing = 1;\n }\n message ChannelInfoOutput {\n required ChannelType type = 1;\n required string channelId = 2;\n required string channelName = 3;\n required string adminUserId = 4;\n repeated string firstTenUserIds = 5;\n required int32 openStatus = 6;\n }\n message ChannelInfosInput {\n required int32 page = 1;\n optional int32 number = 2;\n }\n message ChannelInfosOutput {\n repeated ChannelInfoOutput channels = 1;\n required int32 total = 2;\n }\n message MemberInfo {\n required string userId = 1;\n required string userName = 2;\n required string userPortrait = 3;\n required string extension = 4;\n }\n message GroupMembersInput {\n required int32 page = 1;\n optional int32 number = 2;\n }\n message GroupMembersOutput {\n repeated MemberInfo members = 1;\n required int32 total = 2;\n }\n message GetUserInfoInput {\n required int32 nothing = 1;\n }\n message GetUserInfoOutput {\n required string userId = 1;\n required string userName = 2;\n required string userPortrait = 3;\n }\n message GetSessionIdInput {\n required int32 nothing = 1;\n }\n message GetSessionIdOutput {\n required int32 sessionId = 1;\n }\n enum FileType {\n image = ").concat(T.IMAGE,";\n audio = ").concat(T.AUDIO,";\n video = ").concat(T.VIDEO,";\n file = ").concat(T.FILE,";\n }\n message ").concat(xr," {\n required FileType type = 1;\n optional string key = 2;\n optional string httpMethod = 3;\n optional string queryString = 4;\n }\n message ").concat(kr," {\n required FileType type = 1;\n required string key = 2;\n optional string fileName = 3;\n }\n message ").concat(Pr," {\n required FileType type = 1;\n required string key = 2;\n optional string fileName = 3;\n }\n message ").concat(jr," {\n required int64 deadline = 1;\n required string token = 2;\n optional string bosToken = 3;\n optional string bosDate = 4;\n optional string path = 5;\n optional string osskeyId = 6;\n optional string ossPolicy = 7;\n optional string ossSign = 8;\n optional string ossBucketName = 9;\n optional string s3Credential = 10;\n optional string s3Algorithm = 11;\n optional string s3Date = 12;\n optional string s3Policy = 13;\n optional string s3Signature = 14;\n optional string s3BucketName = 15;\n optional string stcAuthorization = 16;\n optional string stcContentSha256 = 17;\n optional string stcDate = 18;\n optional string stcBucketName = 19;\n }\n message ").concat(Ur," {\n required string downloadUrl = 1;\n }\n message ").concat(zr," {\n required string downloadUrl = 1;\n }\n message Add2BlackListInput {\n required string userId = 1;\n }\n message RemoveFromBlackListInput {\n required string userId = 1;\n }\n message QueryBlackListInput {\n required int32 nothing = 1;\n }\n message QueryBlackListOutput {\n repeated string userIds = 1;\n }\n message BlackListStatusInput {\n required string userId = 1;\n }\n message BlockPushInput {\n required string blockeeId = 1;\n }\n message ModifyPermissionInput {\n required int32 openStatus = 1;\n }\n message GroupInput {\n repeated GroupInfo groupInfo = 1;\n }\n message GroupOutput {\n required int32 nothing = 1;\n }\n message GroupInfo {\n required string id = 1;\n required string name = 2;\n }\n message GroupHashInput {\n required string userId = 1;\n required string groupHashCode = 2;\n }\n message GroupHashOutput {\n required GroupHashType result = 1;\n }\n enum GroupHashType {\n group_success = 0x00;\n group_failure = 0x01;\n }\n message ").concat(Or," {\n required int32 nothing = 1;\n }\n message ").concat(Dr," {\n required int32 nothing = 1;\n optional string sessionId = 2;\n optional int64 joinTime = 3;\n }\n message ").concat(vr," {\n required int64 syncTime = 1;\n required int32 count = 2;\n }\n\n message ChrmPullMsgNew\n {\n required int32 count = 1;\n required int64 syncTime = 2;\n optional string chrmId=3;\n }\n message ").concat(Mr,"\n {\n optional ChannelType type = 1;\n optional int32 count = 2;\n optional int64 startTime = 3;\n optional int32 order = 4;\n }\n message ").concat(Er,"\n {\n required ChannelType type = 1;\n optional DownStreamMessage msg =2;\n optional int32 count = 3;\n repeated string busChannel = 4;\n optional int64 startTime = 5;\n optional int64 endTime = 6;\n }\n message ").concat(br,"\n {\n repeated RelationInfo info = 1;\n optional bool isFinished = 2;//是否结束\n }\n message RelationInfo\n {\n required ChannelType type = 1;\n required string userId = 2;\n optional DownStreamMessage msg =3;\n optional int64 readMsgTime= 4;\n optional int64 unreadCount= 5;\n optional string busChannel = 6;//该消息所属会话的业务标识\n optional int64 versionTime = 7;//会话项变更时间戳,注意:非排序时间戳\n optional int64 remindCount = 8;//被@的未读数\n optional int32 busChannelType = 9; // 0: 公有频道; 1: 私有频道;\n optional ").concat(_r," msgInfo = 10;// 新增 首条未读消息信息,可为空\n }\n message ").concat(_r," //未读消息摘要信息\n {\n required string msgId = 1; //消息唯一标示\n required int64 msgTime= 2;//消息时间\n optional int32 remindType= 3;//@类型。查询会话时无此字段。查询未读@列表时返回\n }\n message ").concat(ci," // 新增 查询未读@列表入参\n {\n required string groupId = 1; // 群 ID\n optional string busChannel = 2; // 频道(channelId,可以为空)\n optional int64 msgTime = 3; // 消息时间戳\n optional int32 size = 4; // 单页长度,默认20,最大20\n }\n message ").concat(ui," //查询未读@列表出参\n {\n repeated ").concat(_r," msgInfo = 1; //未读@消息摘要列表\n }\n message RelationInfoReadTime\n {\n required ChannelType type = 1;\n required int64 readMsgTime= 2;\n required string targetId = 3;\n }\n message ").concat(Nr,"\n {\n required string targetId = 1;\n required int64 dataTime = 2;\n optional int32 conversationType= 3;\n optional string busChannel = 4; //该消息所属会话的业务标识,限制20字符以内\n }\n message HistoryMessageInput\n {\n required string targetId = 1;\n required int64 dataTime =2;\n required int32 size = 3;\n }\n\n message HistoryMessagesOuput\n {\n repeated DownStreamMessage list = 1;\n required int64 syncTime = 2;\n required int32 hasMsg = 3;\n }\n message ").concat(Rr,"\n {\n required int32 count= 1;\n optional int32 order= 2;\n }\n\n message ").concat(Lr,"\n {\n optional int32 userTotalNums = 1;\n repeated ChrmMember userInfos = 2;\n }\n message ChrmMember\n {\n required int64 time = 1;\n required string id = 2;\n }\n message MPFollowInput\n {\n required string id = 1;\n }\n\n message MPFollowOutput\n {\n required int32 nothing = 1;\n optional MpInfo info =2;\n }\n\n message MCFollowOutput\n {\n required int32 nothing = 1;\n optional MpInfo info =2;\n }\n\n message MpInfo\n {\n required string mpid=1;\n required string name = 2;\n required string type = 3;\n required int64 time=4;\n optional string portraitUrl=5;\n optional string extra =6;\n }\n\n message SearchMpInput\n {\n required int32 type=1;\n required string id=2;\n }\n\n message SearchMpOutput\n {\n required int32 nothing=1;\n repeated MpInfo info = 2;\n }\n\n message PullMpInput\n {\n required int64 time=1;\n required string mpid=2;\n }\n\n message PullMpOutput\n {\n required int32 status=1;\n repeated MpInfo info = 2;\n }\n message ").concat(mr,"\n {\n optional string targetId = 1;\n optional int64 time = 2;\n optional int32 count = 3;\n optional int32 order = 4;\n optional string busChannel = 5; //该消息所属会话的业务标识,限制20字符以内\n }\n\n message ").concat(Ir,"\n {\n repeated DownStreamMessage list=1;\n required int64 syncTime=2;\n required int32 hasMsg=3;\n }\n message ").concat(dr,"{\n required int32 nothing = 1;\n }\n message ").concat(pr,"{\n required int64 inboxTime = 1;\n required int64 sendboxTime = 2;\n required int64 totalUnreadCount = 3;\n }\n message ").concat(Sr,"\n {\n required ChannelType type = 1;\n required int64 msgTime = 2;\n required string channelId = 3;\n optional string busChannel = 4;//该消息所属会话的业务标识\n }\n message SessionMsgReadOutput\n {\n optional int32 nothing=1;\n }\n message ").concat(Ar,"\n {\n repeated SessionInfo sessions = 1;\n }\n message ").concat(Cr,"\n {\n required ChannelType type = 1;\n required string channelId = 2;\n optional string busChannel = 3;//所属会话业务标识\n }\n message ").concat(Tr,"\n {\n optional int32 nothing=1;\n }\n message ").concat(wr,"\n {\n optional ChannelType type = 1;\n optional string conversationId = 2;\n repeated DeleteMsg msgs = 3;\n optional string busChannel = 4; //该消息所属会话的业务标识,限制20字符以内\n }\n message DeleteMsg\n {\n optional string msgId = 1;\n optional int64 msgDataTime = 2;\n optional int32 direct = 3;\n }\n message ChrmKVEntity {\n required string key = 1;\n required string value = 2;\n optional int32 status = 3;\n optional int64 timestamp = 4;\n optional string uid = 5;\n optional int64 version = 6;\n }\n message ").concat(Br," {\n required ChrmKVEntity entry = 1;\n optional bool bNotify = 2;\n optional UpStreamMessage notification = 3;\n optional ChannelType type = 4;\n }\n message ").concat(Yr," {\n repeated ChrmKVEntity entry = 1;\n optional bool bNotify = 2;\n optional UpStreamMessage notification = 3;\n optional ChannelType type = 4;\n }\n message ").concat(Fr," {\n repeated ChrmKVEntity entry = 1;\n optional bool bNotify = 2;\n optional UpStreamMessage notification = 3;\n optional ChannelType type = 4;\n }\n message ").concat($r," {\n repeated ChrmKVEntity entries = 1;\n optional bool bFullUpdate = 2;\n optional int64 syncTime = 3;\n }\n message ChrmKVSVersionEntity {\n optional int64 version = 1;\n optional string key = 2;\n }\n\n message ").concat(Hr," {\n repeated ChrmKVSOutputEntity errorKeys = 1;\n repeated ChrmKVSVersionEntity keysVersion = 2;\n }\n message ").concat(Qr,"\n {\n optional string key = 1;\n optional int32 errorCode = 2;\n }\n message ").concat(Wr," {\n required int64 timestamp = 1;\n }\n message ").concat(Zr," {\n required int64 version=1;\n required string value=2;\n }\n message ").concat(Kr," {\n required int64 version=1;\n required bool reserve=2;\n }\n message ").concat(qr," {\n required int64 version=1;\n optional bool reserve=2;\n }\n message ").concat(Jr," {\n repeated UserSettingItem items = 1;\n required int64 version=2;\n }\n message UserSettingItem {\n required string targetId= 1;\n required ChannelType type = 2;\n required string key = 4;\n required bytes value = 5;\n required int64 version=6;\n required int32 status=7;\n repeated SessionTagItem tags= 8;\n }\n message ").concat(ti," {\n required int64 time = 1;\n }\n message ").concat(ei," {\n required int64 version=1;\n repeated SessionState state= 2;\n }\n message ").concat(ni," {\n required ChannelType type = 1;\n required string channelId = 2;\n optional int64 time = 3;\n repeated SessionStateItem stateItem = 4;\n optional string busChannel = 5;//该消息所属会话的业务标识\n }\n message ").concat(ri," {\n required SessionStateType sessionStateType = 1;\n required string value = 2;\n repeated SessionTagItem tags = 3;\n }\n enum SessionStateType {\n IsSilent = 1;\n IsTop = 2;\n Tags = 3;\n }\n message ").concat(ii," {\n required int64 version=1;\n repeated SessionState state= 2;\n }\n message ").concat(si," {\n optional string busChannel = 1;\n }\n message ").concat(ai,"{\n optional string busChannel = 1;\n required int32 unpushLevel = 2;\n }\n message ").concat(li," {\n required string groupId = 1;\n optional string busChannel = 2;\n required int32 unpushLevel = 3;\n }\n message ").concat(oi," {\n required int64 version=1;\n }\n message ").concat(fi," {\n repeated string msgId=1; //已读消息ID\n optional string channelId = 2; // 该消息所属会话的业务标识\n }\n message ").concat(hi," {\n repeated string msgId=1; //已读消息ID\n optional string channelId = 2; // 该消息所属会话的业务标识\n }\n message ").concat(di," {\n required int32 totalMemberNum = 1;//群内总人数\n repeated GrpMsgReadUser list = 2;//已读用户列表(list复类型)\n }\n message ").concat(pi," {\n required int64 readTime = 1;//已读时间\n required string userId = 2;//已读用户id\n }\n message ").concat(gi," {\n required int64 version=1;\n repeated SessionTagItem tags=2;\n }\n message ").concat(vi," {\n required string tagId=1;\n optional string name=2;\n optional int64 createdTime=3;\n optional bool isTop=4;\n }\n message ").concat(yi," {\n required int64 version=1;\n repeated SessionTagItem tags=2;\n }\n message ").concat(mi," {\n repeated string tagId=1;\n }\n message ").concat(Xr," {\n required int64 version=1;\n required bool reserve=2;\n }\n message ").concat(Ii,' {\n required string sdkInfo=1; // 用户集成的 sdk 信息,json 格式 {"web-rtc": "4.0.3.7"}\n }\n message ').concat(Mi,"\n {\n optional int32 nothing=1; //占位\n }\n message ").concat(bi,"\n {\n required int64 syncTime = 1;//同步时间戳\n optional bool isEraseMsgContent = 2;//拉取会话时,是否屏蔽掉消息内容\n }\n message ").concat(_i,"\n {\n required int64 syncTime = 1;//同步时间戳\n }\n message ").concat(Ai,"\n {\n required string fromUserId = 1;//(谁发的)\n required string targetId = 2;// 目标Id(超级群Id)\n required ChannelType type = 3;//发送类型如:(P2P,GROUP,ULTRAGROUP)\n required string msgUID = 4; // 扩展消息的内容体\n required int64 msgTime = 5; //原始消息时间\n optional string busChannel = 6; // 该消息所属会话的业务标识,限制20字符以内\n optional string content = 7; // 即extraContent消息扩展内容,下表格说明\n }\n message ").concat(Ci," //查询入参\n {\n required int64 syncTime = 1;//同步时间戳\n }\n message ").concat(Ei," //应答结果\n {\n repeated MsgChange list = 1; //变更\n required int64 syncTime = 2; //同步时间(用于下次同步入参)\n optional bool hasNext = 3 ;\n }\n message ").concat(Ti," //变更详情\n {\n required string targetId = 1; // 目标Id(超级群Id)\n required ChannelType type = 2; // 会话类型\n required int64 time = 3; // 变更时间\n required int32 changeType = 4; // 消息变更类型(1:扩展,2:修改,3:撤回,4:频道变更)\n required string msgUID = 5; // 消息ID\n required int64 msgTime = 6; // 消息时间\n optional string busChannel = 7; // 频道ID\n optional bool isAdmin = 8; //是否为管理员,默认为 0, 设为 1 时, IMKit 收到此条消息后,小灰条默认显示为“管理员 撤回了一条消息”。\n optional bool isDel = 9; //默认为 0 撤回该条消息同时,用户端将该条消息删除并替换为一条小灰条撤回提示消息;为 1 时,该条消息删除后,不替换为小灰条提示消息。\n optional string operatorId = 10; // 消息变更的操作人 Id; subChangeType 为 5 时,operatorId 表示被踢出超级群私有频道白名单的用户\n // 当 changeType 为 4 时,该参数有意义;\n // 1: 删除频道;\n // 2: 公有频道变为私有频道;\n // 3: 私有频道变为公有频道;\n // 4: 私有频道成员变更-加入, SDK 不通知业务层;\n // 5: 私有频道成员变更-退出;\n // 6: 公有频道变为私有频道,当前用户不在白名单中;\n optional int32 subChangeType = 11;\n }\n message ").concat(wi," //请求\n {\n required string targetId = 1; // 目标Id(超级群Id)\n required ChannelType type = 2; // 会话类型\n repeated MessageQueryInfo query = 3; //\n }\n message MessageQueryInfo\n {\n required int64 msgTime = 1; // 消息时间\n required string msgUID = 2; // 消息ID\n optional string busChannel = 3; // 频道ID\n }\n message ").concat(Si," //应答\n {\n repeated DownStreamMessage list = 1;//消息\n }\n message ").concat(Oi," //客户端发送\n {\n optional string targetId = 1;// targetId\n optional ChannelType type = 2;//发送会话类型如:(P2P,GROUP) \n optional int32 opType = 3; //0 , 正在输入, 1 正在XXX \n optional string busChannel = 4; // 频道(channelId,可以为空)\n }\n message ").concat(Di," //服务端发送\n {\n optional ChannelType type = 1;//发送会话类型如(P2P,GROUP) \n optional int64 notifyType = 2; //0x1 表示明细, 0x2 表示汇总 0x3 表示明细+汇总\n repeated OperateInfo info = 3 ; //明细列表 当notifyType 为 1和3时,有效\n repeated OperateSummary summary = 4 ; //汇总列表, 当notifyType 为2和3 时,有效\n }\n message ").concat(Ri," {\n // XX 正在做什么\n optional string targetId = 1; // 超级群Id 会话id\n optional string busChannel = 2; // 频道(channelId,可以为空)\n optional string userId = 3; // userId\n optional int32 opType = 4; //0 , 正在输入, 1 正在XX \n optional int64 optime = 5; //服务端收到用户操作的上行时间. \n }\n \n message ").concat(Li," {\n // 几个人 正在干什么\n optional string targetId = 1; // 超级群Id 会话id\n optional string busChannel = 2; // 频道(channelId,可以为空)\n optional int32 count = 3; // 操作人数\n optional int32 opType = 4; //0, 正在输入, 1 正在XX \n }\n\n message ").concat(xi,"\n {\n required string rtcRoomId= 1; //rtc房间ID;\n }\n message ").concat(ji,"\n {\n required int32 nothing = 1; //用于占位\n }\n}\n"),Pi=function(){function t(e){this.logger=e,this._codec=t.createPBCodec()}return t.createPBCodec=function(){var t=Rn(ki);return t.getModule=function(e){var n=new t[e];return n.getArrayData=function(){var t=n.toArrayBuffer();return vt(t)?[].slice.call(new Int8Array(t)):t},n},t},t.prototype.decodeByPBName=function(t,e,n){var r,i=this,o=t,s=((r={})[hr]=i._formatSyncMessages,r[fr]=i._formatReceivedMessage,r[ur]=i._formatSentMessage,r[Ir]=i._formatHistoryMessages,r[br]=i._formatConversationList,r[Lr]=i._formatChatRoomInfos,r[$r]=i._formatChatRoomKVList,r[Jr]=i._formatUserSetting,r[ei]=i._formatConversationStatus,r[di]=i._formatGrpReadReceiptQryResp,r[Kr]=i._formatSetUserSettingOutput,r[Xr]=i._formatUserSettingNotification,r[Ei]=i._formatUltraMsgChangeList,r[Di]=i._formatUltraOperateStatusNotifyList,r[Si]=i._formatUltraMsgList,r[ui]=i._formatUltraGroupUnreadMentionedList,r[Dr]=i._formatChrmKVVersion,r)[e];try{o=t.length>0&&i._codec[e].decode(t),It(o)&&(o=function(t){for(var e in t)It(t[e])&&(t[e]=ee(t[e]));return t}(o)),Mt(s)&&(o=s.call(this,o,n))}catch(t){this.logger.error(Q.L_PB_DECODE_E,e)}return o},t.prototype._readBytes=function(t){var e=t.offset,n=t.buffer,r=t.limit;if(e)try{var i=vt(n)?new Uint8Array(n):n;return Le.readUTF(i.subarray(e,r))}catch(t){this.logger.error(Q.O,null==t?void 0:t.stack)}return t},t.prototype._formatBytes=function(t){if(!t)return t;var e=this._readBytes(t);try{e=e?JSON.parse(e):e}catch(t){this.logger.error(Q.O,null==t?void 0:t.stack)}return e||t},t.prototype._formatSyncMessages=function(t,e){e=e||{};var n=this,r=t.list,i=t.syncTime,o=t.finished;return(bt(o)||null===o)&&(t.finished=!0),t.syncTime=ee(i),t.list=ue(r,(function(t){return n._formatReceivedMessage(t,e)})),t},t.prototype._formatReceivedMessage=function(t,e){if(!t)return t;var n=(e=e||{}).currentUserId,r=e.connectedTime,i=t.content,s=t.fromUserId,a=t.type,c=t.groupId,u=t.status,l=t.dataTime,f=t.classname,h=t.msgId,d=t.extraContent,p=t.pushContent,g=t.pushExt,v=t.configFlag,m=t.extStatus;t.toUserId,t.groupUnpush;var I=t.clientUniqueId,M=(t.direction||w.RECEIVE)===w.SEND,b=function(t){var e=o.READ;return{isPersited:!!(16&t),isCounted:!!(32&t),isMentioned:!!(64&t),disableNotification:!!(512&t),receivedStatus:e=2&t?o.RETRIEVED:e,canIncludeExpansion:!!(1024&t)}}(u),_=b.isPersited,A=b.isCounted,C=b.isMentioned,T=b.disableNotification,E=b.receivedStatus,N=b.canIncludeExpansion,S=!!(2&(m||0)),O=!!(4&(m||0)),R=8&(m||0)?et.PRIVATE:et.PUBLIC,L=[D.GROUP,D.CHATROOM,D.RTC_ROOM,D.ULTRA_GROUP].indexOf(a)>-1?c:s,x=M?n:s,j=ee(l),k=j<r,P=a===D.CHATROOM,U=this._formatBytes(i),z={};if(g&&(z=ie(this.logger,g.pushConfigs,g.pushId)),U.user){var G=U.user,B=G.portrait,Y=G.portraitUri,F=B||Y;F&&(U.user.portrait=U.user.portraitUri=F)}var $,H=y(y({},z),{pushTitle:null==g?void 0:g.title,pushContent:p,pushData:p,disablePushTitle:!!v&&Boolean(4&v),forceShowDetailContent:!!v&&Boolean(8&v),templateId:null==g?void 0:g.templateId}),V=M?w.SEND:w.RECEIVE;P&&s===n&&(V=w.SEND),d&&($={},$=ye(d));var Q={conversationType:a,targetId:L,senderUserId:x,messageType:f,messageUId:h,isPersited:_,isCounted:A,isMentioned:C,sentTime:j,messageDirection:V,receivedTime:me.getTime(),disableNotification:T,receivedStatus:E,canIncludeExpansion:N,content:U,expansion:$,configFlag:v,pushConfig:H,channelId:t.busChannel||"",isInterrupt:S,isModifyMessage:O,messageId:ee(I)||0};return a!==D.ULTRA_GROUP&&(Q.isOffLineMessage=k),a===D.ULTRA_GROUP&&(Q.channelType=R),Q},t.prototype._formatSentMessage=function(t,e){var n,r=t.content,i=t.classname,o=t.sessionId,s=t.msgId,a=t.extraContent,c=t.pushExt,u=t.pushContent,l=t.configFlag,f=t.extStatus,h=t.clientUniqueId,d=e.signal,p=e.currentUserId,g=d.date,v=d.topic,m=d.targetId,I=!!(2&(f||0)),M=function(t){return{isPersited:!!(1&t),isCounted:!!(2&t),disableNotification:!!(32&t),canIncludeExpansion:!!(64&t)}}(o),b=M.isPersited,_=M.isCounted,A=M.disableNotification,C=M.canIncludeExpansion,T=er[v]||D.PRIVATE,E=fe(Pn,v),N=this._formatBytes(r),S=m;i===k.RECALL&&(T=N.conversationType||T,S=N.targetId||m),a&&(n={},n=ye(a));var O={};c&&(O=ie(this.logger,c.pushConfigs,c.pushId));var R=y(y({},O),{pushTitle:null==c?void 0:c.title,pushContent:u,pushData:u,disablePushTitle:!!l&&Boolean(4&l),forceShowDetailContent:!!l&&Boolean(8&l),templateId:null==c?void 0:c.templateId});return{conversationType:T,targetId:S,messageType:i,messageUId:s,isPersited:b,isCounted:_,isStatusMessage:E,senderUserId:p,content:this._formatBytes(r),sentTime:1e3*g,receivedTime:me.getTime(),messageDirection:w.SEND,isOffLineMessage:!1,disableNotification:A,canIncludeExpansion:C,expansion:n,pushConfig:R,channelId:t.busChannel||"",isInterrupt:I,messageId:ee(h)||0}},t.prototype._formatHistoryMessages=function(t,e){var n=this,r=e.conversation||{},i=t.list,o=t.hasMsg,s=r.targetId,a=ee(t.syncTime),c=[];return ce(i,(function(t){var i=n._formatReceivedMessage(t,e);r.conversationType===D.ULTRA_GROUP?i.targetId=t.groupId||r.targetId:i.targetId=s,c.push(i)}),{isReverse:!0}),{syncTime:a,list:c,hasMore:!!o}},t.prototype._formatUltraMsgChangeList=function(t){var e=t.list,n=t.syncTime,r=t.hasNext;return{syncTime:n,list:e&&e.map((function(t){var e=t.targetId,n=t.type,r=t.time,i=t.changeType,o=t.msgUID,s=t.msgTime,a=t.busChannel,c=t.isAdmin,u=t.isDel,l=t.operatorId,f=t.subChangeType;return{targetId:e,conversationType:n,changeType:i,messageUId:o,changeTime:ee(r),sendTime:ee(s),channelId:a||"",isAdmin:c,isDel:u,operatorId:l,subChangeType:f}})),hasNext:r}},t.prototype._formatUltraOperateStatusNotifyList=function(t){var e=t.type,n=t.notifyType,r=t.info,i=t.summary,o=[],s=[],a=2==(2&n),c=1==(1&n);return c&&Array.isArray(r)&&r.forEach((function(t){var e=t.targetId,n=t.busChannel,r=t.userId,i=t.opType,s=t.optime,a=ee(s);o.push({targetId:e,channelId:n,userId:r,operationType:i,operationTime:a})})),a&&Array.isArray(i)&&i.forEach((function(t){var e=t.targetId,n=t.busChannel,r=t.count,i=t.opType;s.push({targetId:e,channelId:n,count:r,operationType:i})})),{conversationType:e,info:o,summary:s,hasInfo:c,hasSummary:a}},t.prototype._formatUltraMsgList=function(t,e){var n=this,r=t.list;return{list:r&&r.map((function(t){return n._formatReceivedMessage(t,e)}))}},t.prototype._formatUltraGroupUnreadMentionedList=function(t){var e=t.msgInfo;return(void 0===e?[]:e).map((function(t){return{messageUId:t.msgId,senTtime:ee(t.msgTime),mentionedType:t.remindType}}))},t.prototype._formatConversationList=function(t,e){var n=this,r=t.info,i=e.afterDecode,o={list:(r=ue(r,(function(t){var r=t.msg,o=t.userId,s=t.type,a=t.unreadCount,c=t.busChannel,u=t.versionTime,l=t.remindCount,f=t.busChannelType;t.readMsgTime;var h=t.msgInfo,d=null;r&&((d=n._formatReceivedMessage(r,e)).targetId=o);var p={targetId:o,conversationType:s,unreadMessageCount:ee(a)||0,latestMessage:d||{},channelId:c||""};return s===D.ULTRA_GROUP&&(p.versionTime=ee(u)||0,p.unreadMentionedCount=ee(l)||0,p.channelType=f||et.PUBLIC,p.lastReadTime=0,h&&(p.firstUnreadMessage={sentTime:ee(h.msgTime)},p.lastReadTime=ee(h.msgTime)-1)),(null==i?void 0:i(p))||p})))||[]};return((null==e?void 0:e.conversationType)||D.NONE)===D.ULTRA_GROUP&&(o.isFinished=t.isFinished),o},t.prototype._formatSetUserSettingOutput=function(t){return t},t.prototype._formatChatRoomInfos=function(t){var e=t.userTotalNums,n=t.userInfos;return{userCount:e,userInfos:ue(n,(function(t){var e=t.id,n=t.time;return{id:e,time:ee(n)}}))}},t.prototype._formatChatRoomKVList=function(t){var e=t.entries,n=t.bFullUpdate,r=t.syncTime;return e=ue(e=e||[],(function(t){var e=t.key,n=t.value,r=t.status,i=t.timestamp,o=t.uid,s=t.version,a=function(t){return{isAutoDelete:!!(1&t),isOverwrite:!!(2&t),type:4&t?Z.DELETE:Z.UPDATE}}(r);return{key:e,value:n,isAutoDelete:a.isAutoDelete,isOverwrite:a.isOverwrite,type:a.type,userId:o,timestamp:ee(i),version:ee(s)}})),{kvEntries:e,isFullUpdate:n,syncTime:r}},t.prototype._formatUserSetting=function(t){var e=this,n=t.items,r=t.version,i={};return ce(n||[],(function(t){var n=t.key,r=t.version,o=t.value;t.version=ee(r),t.value=e._readBytes(o),"Tag"===n&&t.tags.forEach((function(t){t.createdTime=ee(t.createdTime),t.tagName=t.name})),i[n]=t})),{settings:i,version:r}},t.prototype._formatConversationStatus=function(t){var e=t.state,n=[];return ce(e,(function(t){var e=t.type,r=t.channelId,i=t.time,o=t.stateItem,s=t.busChannel,a=U.CLOSE,c=G.NOT_SET,u=!1,l=[];ce(o,(function(t){var e=t.sessionStateType,n=t.value,r=t.tags;switch(e){case sr:a=n===ir?U.OPEN:U.CLOSE,c=Number(n)||G.NOT_SET;break;case ar:u=n===ir;break;case cr:l=r}})),n.push({conversationType:e,type:e,targetId:r,notificationStatus:a,notificationLevel:c,isTop:u,updatedTime:ee(i),tags:l,channelId:s||""})})),n},t.prototype._formatGrpReadReceiptQryResp=function(t){var e=t.totalMemberNum,n=t.list;return n.forEach((function(t){t.readTime=ee(t.readTime)})),{totalMemberCount:e,list:n}},t.prototype._formatUserSettingNotification=function(t){return t},t.prototype._formatChrmKVVersion=function(t){return t},t.prototype._formatRTCJoinedUserInfo=function(t){return(t.info||[]).map((function(t){return{deviceId:t.deviceId,roomId:t.roomId,joinTime:ee(t.joinTime)}}))},t.prototype.encodeServerConfParams=function(){var t=this._codec.getModule(dr);return t.setNothing(1),t.getArrayData()},t.prototype._getUpMsgModule=function(t,e){var n,r,i,o=t.conversationType,s=e.messageType,a=e.isMentioned,c=e.mentionedType,u=e.mentionedUserIdList,l=e.content,f=e.pushContent,h=e.pushData,d=e.directionalUserIdList,p=e.isFilerWhiteBlacklist,g=e.isVoipPush,v=e.canIncludeExpansion,y=e.expansion,m=e.pushConfig,I=e.channelId,M=e.messageId,b=void 0===M?0:M;[D.GROUP,D.ULTRA_GROUP].includes(o);var _=this._codec.getModule(ur),A=function(t){var e=t.isStatusMessage,n=t.isPersited,r=t.isCounted;e&&(n=r=!1);var i=0;return n&&(i|=1),r&&(i|=2),t.isMentioned&&(i|=4),t.disableNotification&&(i|=32),t.canIncludeExpansion&&(i|=64),i}(e),C=m||{},T=C.pushTitle,E=C.pushContent,w=C.pushData,N=C.iOSConfig,S=C.androidConfig,O=C.templateId,R=C.disablePushTitle,L=C.forceShowDetailContent,x=0;_.setSessionId(A),a&&l&&(l.mentionedInfo={userIdList:(null===(n=l.mentionedInfo)||void 0===n?void 0:n.userIdList)||u||[],type:(null===(r=l.mentionedInfo)||void 0===r?void 0:r.type)||c||Y.ALL,mentionedContent:(null===(i=l.mentionedInfo)||void 0===i?void 0:i.mentionedContent)||""});var j=E||f||"",k=w||h||"";if(j&&_.setPushText(j),k&&_.setAppData(k),d&&_.setUserId(d),x|=g?1:0,x|=p?2:0,x|=R?4:0,x|=L?8:0,_.setConfigFlag(x),_.setClassname(s),l.user&&l.user.portraitUri&&(l.user.portrait=l.user.portraitUri),_.setContent(JSON.stringify(l)),v&&y){var P={};ce(y,(function(t,e){P[e]={v:t}})),_.setExtraContent(JSON.stringify(P))}if(m){var U=this._codec.getModule(lr);if(T&&U.setTitle(T),N&&S){var z=re(N,S);U.setPushConfigs(z)}(null==S?void 0:S.notificationId)&&U.setPushId(null==S?void 0:S.notificationId),U.setTemplateId(O||""),_.setPushExt(U)}return _.setClientUniqueId(b),bt(I)||_.setBusChannel(I),_},t.prototype.encodeUpMsg=function(t,e){return this._getUpMsgModule(t,e).getArrayData()},t.prototype.encodeSyncMsg=function(t){var e=t.sendboxTime,n=t.inboxTime,r=t.broadcastSyncTime,i=this._codec.getModule(gr);return i.setIspolling(!1),i.setIsPullSend(!0),i.setSendBoxSyncTime(e),i.setSyncTime(n),i.setBroadcastSyncTime(r),i.getArrayData()},t.prototype.encodeChrmSyncMsg=function(t,e){t=t||0,e=e||0;var n=this._codec.getModule(vr);return n.setCount(e),n.setSyncTime(t),n.getArrayData()},t.prototype.encodeGetHistoryMsg=function(t,e){var n=e.count,r=e.order,i=e.timestamp,o=e.channelId,s=this._codec.getModule(mr);return s.setTargetId(t),s.setTime(i),s.setCount(n),s.setOrder(r),s.setBusChannel(o||""),s.getArrayData()},t.prototype.encodeSuperSyncMsg=function(t){var e=this._codec.getModule(_i);return e.setSyncTime(t),e.getArrayData()},t.prototype.encodeGetConversationList=function(t){var e=(t=t||{}).count,n=t.startTime,r=this._codec.getModule(Mr);return r.setType(1),r.setCount(e),r.setStartTime(n),r.getArrayData()},t.prototype.encodeOldConversationList=function(t){var e=(t=t||{}).count,n=t.type,r=t.startTime,i=t.order;e=e||0,r=r||0,i=i||0;var o=this._codec.getModule(Mr);return o.setType(n),o.setCount(e),o.setStartTime(r),o.setOrder(i),o.getArrayData()},t.prototype.encodeRemoveOldConversationList=function(t){var e=(t=t||{}).conversationType,n=t.channelId,r=this._codec.getModule(Er);return r.setType(e),n&&r.setBusChannel([n]),r.getArrayData()},t.prototype.encodeRemoveConversationList=function(t){var e=this,n=this._codec.getModule(Ar),r=[];return ce(t,(function(t){var n=t.conversationType,i=t.targetId,o=e._codec.getModule(Cr);o.setType(n),o.setChannelId(i),r.push(o)})),n.setSessions(r),n.getArrayData()},t.prototype.encodeDeleteMessages=function(t,e,n,r){var i=this._codec.getModule(wr),o=[];return ce(n,(function(t){o.push({msgId:t.messageUId,msgDataTime:t.sentTime,direct:t.messageDirection})})),i.setType(t),i.setConversationId(e),i.setMsgs(o),i.setBusChannel(r),i.getArrayData()},t.prototype.encodeClearMessages=function(t,e,n,r){var i=this._codec.getModule(Nr);return e=e||(new Date).getTime(),i.setDataTime(e),i.setTargetId(t),i.setBusChannel(n),i.setConversationType(r),i.getArrayData()},t.prototype.encodeClearUnreadCount=function(t,e){var n=t.conversationType,r=t.targetId,i=t.channelId,o=e.timestamp,s=this._codec.getModule(Sr);return o=o||+new Date,s.setType(n),s.setChannelId(r),s.setMsgTime(o),s.setBusChannel(i),s.getArrayData()},t.prototype.encodeExpandUltraMessage=function(t,e){var n=t.targetId,r=t.conversationType,i=t.channelId,o=t.messageUId,s=t.sendTime,a=t.keys,c={mid:o,put:t.expansion,del:a,clear:t.removeAll?1:0},u=this._codec.getModule(Ai);return u.setFromUserId(e),u.setTargetId(n),u.setType(r),u.setBusChannel(i||""),u.setMsgUID(o),u.setMsgTime(s),u.setContent(JSON.stringify(c)),u.getArrayData()},t.prototype.encodemodifyMessage=function(t,e){var n=t.targetId,r=t.conversationType,i=t.channelId,o=t.messageUId,s=t.sendTime,a=t.content,c=this._codec.getModule(Ai);return c.setFromUserId(e),c.setTargetId(n),c.setType(r),c.setBusChannel(i||""),c.setMsgUID(o),c.setMsgTime(s),c.setContent(JSON.stringify(a)),c.getArrayData()},t.prototype.encodeQueryMsgChange=function(t){var e=this._codec.getModule(Ci);return e.setSyncTime(t),e.getArrayData()},t.prototype.encodeMsgQuery=function(t){var e=t.targetId,n=t.conversationType,r=t.messages,i=this._codec.getModule(wi),o=r.map((function(t){return{msgTime:t.sendTime,msgUID:t.messageUId,busChannel:t.channelId}}));return i.setTargetId(e),i.setType(n),i.setQuery(o),i.getArrayData()},t.prototype.encodeUnreadMentionedMsgQuery=function(t){var e=t.targetId,n=t.channelId,r=t.sentTime,i=t.count,o=this._codec.getModule(ci);return o.setGroupId(e),o.setBusChannel(n),o.setMsgTime(r),o.setSize(i),o.getArrayData()},t.prototype.encodeOperateStatus=function(t,e,n,r){var i=this._codec.getModule(Oi);return i.setTargetId(t),i.setType(e),i.setBusChannel(n),i.setOpType(r),i.getArrayData()},t.prototype.encodeJoinOrQuitChatRoom=function(){var t=this._codec.getModule(Or);return t.setNothing(1),t.getArrayData()},t.prototype.encodeGetChatRoomInfo=function(t,e){var n=this._codec.getModule(Rr);return n.setCount(t),n.setOrder(e),n.getArrayData()},t.prototype.encodeSetUltraGroupDefaultNotificationLevel=function(t,e){var n=this._codec.getModule(ai);return n.setUnpushLevel(t),n.setBusChannel(e),n.getArrayData()},t.prototype.encodeGetUltraGroupDefaultNotificationLevel=function(t){var e=this._codec.getModule(si);return e.setBusChannel(t),e.getArrayData()},t.prototype.encodeGetFileToken=function(t,e,n,r){var i=this._codec.getModule(xr);return i.setType(t),i.setKey(e),i.setHttpMethod(n),i.setQueryString(r),i.getArrayData()},t.prototype.encodeGetFileUrl=function(t,e,n,r){var i=this._codec.getModule(t);return i.setType(e),i.setKey(n),r&&i.setFileName(r),i.getArrayData()},t.prototype.encodeModifyChatRoomKV=function(t,e,n){var r=this._codec.getModule(Br),i=e.key,o=e.value,s=e.notificationExtra,a=e.isSendNotification,c=e.type,u=e.timestamp,l=c||Z.UPDATE,f=Ie(e,l),h={key:i,value:o||"",uid:n,version:u};if(bt(f)||(h.status=f),r.setEntry(h),a){var d={conversationType:D.CHATROOM,targetId:t},p={key:i,value:o,extra:s,type:l},g=this._getUpMsgModule(d,{messageType:k.CHRM_KV_NOTIFY,content:p,isPersited:!1,isCounted:!1});r.setNotification(g),r.setBNotify(!0),r.setType(D.CHATROOM)}return r.getArrayData()},t.prototype.encodeModifyChatRoomKVS=function(t,e,n){var r=this._codec.getModule(Yr),i=e.entries,o=e.type||Z.UPDATE,s=Ie(e,o),a=[];return i.forEach((function(t){var e={key:t.key,value:t.value||"",uid:n,version:t.timestamp};bt(s)||(e.status=s),a.push(e)})),r.setEntry(a),r.getArrayData()},t.prototype.encodePullChatRoomKV=function(t){var e=this._codec.getModule(Wr);return e.setTimestamp(t),e.getArrayData()},t.prototype.encodePullUserSetting=function(t){var e=this._codec.getModule(qr);return e.setVersion(t),e.getArrayData()},t.prototype.encodeGetConversationStatus=function(t){var e=this._codec.getModule(ti);return e.setTime(t),e.getArrayData()},t.prototype.encodeSetConversationStatus=function(t,e){var n=this,r=this._codec.getModule(ii),i=me.getTime(),o=[];return ce(t,(function(t){var e=n._codec.getModule(ni),r=t.conversationType,s=t.targetId,a=t.notificationStatus,c=t.isTop,u=t.channelId,l=t.notificationLevel,f=[];e.setType(r),e.setChannelId(s),e.setTime(i),e.setBusChannel(u);var h=a===U.OPEN,d={};bt(a)||(d[sr]=h),bt(l)||(d[sr]=l),bt(c)||(d[ar]=c),ce(d,(function(t,e){if(!bt(t)){var r=n._codec.getModule(ri);t=t?ir:or,bt(l)||Number(e)!==sr||(t=String(l)),r.setSessionStateType(Number(e)),r.setValue(t),f.push(r)}})),e.setStateItem(f),o.push(e)})),r.setVersion(e||i),r.setState(o),r.getArrayData()},t.prototype.encodeReadReceipt=function(t,e){var n=this._codec.getModule(fi);return n.setMsgId(t),e&&n.setChannelId(e),n.getArrayData()},t.prototype.encodeCreateTag=function(t,e){var n=this,r=this._codec.getModule(gi),i=[];return t.forEach((function(t){var e=n._codec.getModule(vi);e.setTagId(t.tagId),e.setName(t.tagName),i.push(e)})),r.setTags(i),r.setVersion(e),r.getArrayData()},t.prototype.encodeMessageReader=function(t,e){var n=this._codec.getModule(fi);return n.setMsgId(t),e&&n.setChannelId(e),n.getArrayData()},t.prototype.encodeRemoveTag=function(t,e){var n=this,r=this._codec.getModule(yi),i=[];return t.forEach((function(t){var e=n._codec.getModule(vi);e.setTagId(t),i.push(e)})),r.setTags(i),r.setVersion(e),r.getArrayData()},t.prototype.encodeDisConversationTag=function(t){var e=this._codec.getModule(mi);return e.setTagId(t),e.getArrayData()},t.prototype.encodeUpdateConversationTag=function(t,e){var n=this,r=this._codec.getModule(ii),i=[];return e.forEach((function(e){var r=n._codec.getModule(ni),o=n._codec.getModule(ri),s=[];t.forEach((function(t){var e=n._codec.getModule(vi);e.setTagId(t.tagId),bt(t.isTop)||e.setIsTop(t.isTop),s.push(e)})),o.setSessionStateType(cr),o.setValue(JSON.stringify(s)),o.setTags(s),r.setType(e.conversationType),r.setChannelId(e.targetId),r.setTime(Date.now()),r.setStateItem([o]),i.push(r)})),r.setState(i),r.setVersion(me.getTime()),r.getArrayData()},t.prototype.encodeReportSDKInfo=function(t){var e=this._codec.getModule(Ii);return e.setSdkInfo(t),e.getArrayData()},t.prototype.encodeUltraGroup=function(t,e){var n=this._codec.getModule(bi);return n.setSyncTime(t),n.setIsEraseMsgContent(e),n.getArrayData()},t.prototype.encodebindRTCRoomForChatroom=function(t){var e=this._codec.getModule(xi);return e.setRtcRoomId(t.rtcRoomId),e.getArrayData()},t}(),Ui=function(t,e,n){t.debug(Q.O,"websocket send -> messageId: ".concat(e.messageId," topic: ").concat(e.topic));var r=e.getBufferData();n.send(r.buffer)},zi=function(){function t(t,e,n){var r=this;this._runtime=t,this._watcher=e,this.logger=n,this._socket=null,this._messageIds={},this._syncMessageIds={},this._failedCount=0,this.ALLOW_FAILED_TIMES=2,this._timer=null,this._idCount=0,this._generateMessageId=function(){return r._idCount>=65535&&(r._idCount=0),++r._idCount},this.codec=new Pi(this.logger)}return t.prototype.connect=function(t,e,n,r,i,o){return m(this,void 0,void 0,(function(){var s=this;return I(this,(function(a){return[2,new Promise((function(a){var c=n.slice(),u=!1,l=function(){return m(s,void 0,void 0,(function(){var n,s;return I(this,(function(f){switch(f.label){case 0:return 0===c.length||u?[2]:(u=!0,n=c.shift(),tn.IM_WEBSOCKET,(new Date).getTime(),Kt.WS,[4,this._connect(t,e,n,r,i,o)]);case 1:if(s=f.sent(),s===S.SUCCESS||s===x.REDIRECT||pe(s),tn.IM_WEBSOCKET,(new Date).getTime(),function(t,e){m(this,void 0,void 0,(function(){var n,r,i,o;return I(this,(function(s){switch(s.label){case 0:n=tn.IM_WEBSOCKET,(r=Se()).sdkPrivate,r.serverPrivate,r.bundleId,(i=Oe(n)).protocol,i.startTime,i.endTime,i.code,i.host,_e.UNKONWN,s.label=1;case 1:return s.trys.push([1,3,,4]),[4,e.getNetworkType()];case 2:return s.sent(),[3,4];case 3:return o=s.sent(),t.warn(Q.O,o.message),[3,4];case 4:return Me(),[2]}}))}))}(this.logger,this._runtime),s===S.SUCCESS)this._checkAlive(),a(s);else if(s===x.REDIRECT)a(s);else{if(0===c.length)return a(pe(s)),[2];u=!1,l()}return[2]}}))}))};i=A(i),s._watcher.status(L.CONNECTING),l()}))]}))}))},t.prototype._connect=function(t,e,n,r,i,o){return m(this,void 0,void 0,(function(){var s,a,c,u,l,f=this;return I(this,(function(h){switch(h.label){case 0:return s=r.replace("http","ws"),a=function(t,e,n,r,i,o,s,a){return"".concat(t,"://").concat(e,"/websocket?appId=").concat(n,"&token=").concat(encodeURIComponent(r),"&sdkVer=").concat(o,"&pid=").concat(s,"&apiVer=").concat(i.isFromUniapp?"uniapp":"normal").concat(i.connectPlatform?"&platform=".concat(i.connectPlatform):"").concat(a?"&protocolVer=".concat(a):"")}(s,n,t,e,this._runtime,i,"",o),this.logger.info(Q.O,"conenct start -> ".concat(a)),this.sendConnectTime=Date.now(),c=this._runtime.createWebSocket(a),u=function(t){f._timer&&(clearTimeout(f._timer),f._timer=null),f._socket===c&&(f._socket=null,f._watcher.status(t))},[4,new Promise((function(t){c.onMessage((function(e){if("[object ArrayBuffer]"===Object.prototype.toString.call(e)){var n=Je(f.logger,e,o);if(n instanceof Ye&&f._pingResolve)return f._pingResolve(S.SUCCESS),void(f._pingResolve=void 0);if(n instanceof ze)return f.logger.debug(Q.O,"recv connect ack -> ".concat(n.status)),n.status!==x.ACCEPTED?(f.logger.warn(Q.O,"connect failed: ".concat(n.status)),void t(n.status)):(f.logger.info(Q.O,"connect success -> ".concat(a)),f.connectedTime=n.timestamp,f.userId=n.userId||"",f._idCount=n.messageId,void t(S.SUCCESS));if(n instanceof Ge){var r=n.status;switch(f.logger.warn(Q.O,"recv disconnect signal -> status: ".concat(r)),r){case Xe.BLOCK_NEW:case Xe.BLOCK:f._watcher.status(L.BLOCKED);break;case Xe.OTHER_DEVICE_LOGIN:f._watcher.status(L.KICKED_OFFLINE_BY_OTHER_CLIENT);break;case Xe.REDIRECT_NEW:case Xe.REDIRECT:f._watcher.status(L.REDIRECT);break;default:f._watcher.status(L.DISCONNECT_BY_SERVER)}}else f._onReceiveSignal(n)}else f.logger.error(Q.O,"Not ArrayBuffer")})),c.onClose((function(e,n){for(var r in f.logger.warn(Q.O,"websocket closed! code: ".concat(e,", reason: ").concat(n)),u(L.CONNECTION_CLOSED),f._messageIds){var i=f._messageIds[r];delete f._messageIds[r],i(S.RC_NET_CHANNEL_INVALID)}t(e)})),c.onError((function(e){for(var n in f.logger.error(Q.O,"websocket error -> ".concat(null==e?void 0:e.stack)),u(L.WEBSOCKET_ERROR),f._messageIds){var r=f._messageIds[n];delete f._messageIds[n],r(S.RC_NET_CHANNEL_INVALID)}t(S.NETWORK_ERROR)})),c.onOpen((function(){return f.logger.info(Q.O,"websocket open => ".concat(a))})),setTimeout((function(){t(S.TIMEOUT)}),5e3)}))];case 1:return(l=h.sent())===S.SUCCESS?this._socket=c:(this.logger.warn(Q.O,"connect result -> code: ".concat(l,", url: ").concat(a)),c.close()),[2,l]}}))}))},t.prototype._checkAlive=function(){var t;return m(this,void 0,void 0,(function(){var e,n,r,i,o=this;return I(this,(function(s){switch(s.label){case 0:return this._socket?(e=this.logger.createTraceId(),this.logger.info(Q.L_CHECK_ALIVE_IM_T,null,e),this.sendOnly(new Be),[4,new Promise((function(t){o._pingResolve=t,o._timer&&clearTimeout(o._timer),o._timer=setTimeout((function(){o._pingResolve=void 0,t(S.TIMEOUT)}),15e3)}))]):[2];case 1:return n=s.sent(),r=n===S.SUCCESS,i=r?"info":"warn",this.logger[i](Q.L_CHECK_ALIVE_IM_R,JSON.stringify({succeed:r}),e),n!==S.SUCCESS?(this._failedCount+=1,this.logger.warn(Q.O,"ping failed count: ".concat(this._failedCount,", code: ").concat(n)),this._failedCount>=this.ALLOW_FAILED_TIMES?(this._failedCount=0,this.logger.warn(Q.O,"ping timeout, close current websocket to reconnect!"),null===(t=this._socket)||void 0===t||t.close(),this._socket=null,this._watcher.status(L.NETWORK_UNAVAILABLE)):this._checkAlive(),[2]):(this._failedCount=0,setTimeout((function(){return o._checkAlive()}),15e3),[2])}}))}))},t.prototype._onReceiveSignal=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o,s,a=this;return I(this,(function(c){switch(c.label){case 0:return e=t.messageId,t.header&&t.header.qos!==Ae.AT_MOST_ONCE&&(t instanceof He&&!t.syncMsg&&(this.logger.debug(Q.O,"send pubAck -> ".concat(e," ").concat(t.topic)),this.sendOnly(new We(e))),t instanceof qe&&(this.logger.debug(Q.O,"send queryCon -> ".concat(e," ").concat(t.topic)),this.sendOnly(new Ke(e)))),e>0&&(t instanceof Qe||t instanceof qe)&&(this.logger.debug(Q.O,"recv ack -> messageId: ".concat(e," ").concat(t.topic)),(n=this._messageIds[e])&&(n(t),delete this._messageIds[e]),(r=this._syncMessageIds[e])&&(delete this._syncMessageIds[e],r(t))),t instanceof He?(i=t.syncMsg,o=t.topic,this.logger.debug(Q.O,"recv PublishReader -> messageId: ".concat(e," ").concat(o)),o===hn?[2]:!i||function(t){return[nn.ppMsgS,nn.pgMsgS,nn.chatMsgS].map((function(t){return nn[t]})).indexOf(t)>=0}(o)?(this._watcher.signal(t),[2]):[4,new Promise((function(t){a._syncMessageIds[e]=t}))]):[3,2];case 1:s=c.sent(),delete this._syncMessageIds[e],this._watcher.signal(t,s),c.label=2;case 2:return[2]}}))}))},t.prototype.sendOnly=function(t){this._socket&&((t instanceof Ve||t instanceof Ze)&&(t.messageId=this._generateMessageId()),Ui(this.logger,t,this._socket))},t.prototype.send=function(t,e,n,r){return void 0===r&&(r=3e4),m(this,void 0,void 0,(function(){var i,o,s,a,c=this;return I(this,(function(u){switch(u.label){case 0:return this._socket?(i=this._generateMessageId(),t.messageId=i,Ui(this.logger,t,this._socket),[4,new Promise((function(t){c._messageIds[i]=t,setTimeout((function(){c._messageIds[i]&&delete c._messageIds[i],t()}),r)}))]):[3,2];case 1:return(o=u.sent())?o instanceof qe||o instanceof Qe?(s=e&&o.data&&[S.SUCCESS,S.CHATROOM_KV_STORE_NOT_ALL_SUCCESS].indexOf(o.status)>=0,a=s?this.codec.decodeByPBName(o.data,e,n):o,0!==o.status?(this.logger.warn(Q.O,"send failed -> message: ".concat(i,", respPBName: ").concat(e,", status: ").concat(o.status)),[2,{code:o.status,data:e&&o.data?a:null}]):[2,{code:S.SUCCESS,data:a}]):[2,{code:o}]:(this.logger.warn(Q.O,"send timeout -> message: ".concat(i,", respPBName: ").concat(e,", timeout: ").concat(r)),[2,{code:S.TIMEOUT}]);case 2:return[2,{code:S.RC_NET_CHANNEL_INVALID}]}}))}))},t.prototype.close=function(){this._socket&&(this._socket.close(),this._socket=null)},t}(),Gi=function(t){return["navi",t].join("_")},Bi=function(t,e,n,r){var i,o=Gi(t);try{var s=r.getItem(o);i=s?JSON.parse(s):[]}catch(t){i=[]}var a=Date.now();i.length>0&&(i=i.filter((function(t){return a-t.timestamp<72e5&&e!==t.token}))),i.push({timestamp:a,naviInfo:n,token:e}),r.setItem(o,JSON.stringify(i))};function Yi(t){return m(this,void 0,void 0,(function(){var e,n,r;return I(this,(function(i){switch(i.label){case 0:e=tn.IM_NAVI,(n=Se()).sdkPrivate,n.serverPrivate,n.bundleId,(r=Oe(e)).protocol,r.startTime,r.endTime,r.code,r.host,i.label=1;case 1:return i.trys.push([1,3,,4]),[4,t.getNetworkType()];case 2:return i.sent(),[3,4];case 3:return i.sent(),_e.UNKONWN,[3,4];case 4:return Me(),[2]}}))}))}var Fi=function(){function t(t){this._pullQueue=[],this._isPulling=!1,this._pullTime=0,this._engine=t}return t.prototype._startPull=function(){return m(this,void 0,void 0,(function(){var t,e,n,r,i,o,s;return I(this,(function(a){switch(a.label){case 0:return this._isPulling||0===this._pullQueue.length?[2]:(this._isPulling=!0,t=this._pullQueue.splice(0,1)[0],e=t.roomId,n=t.timestamp,(r=this._pullTime)>n?(this._isPulling=!1,this._startPull(),[2]):[4,this._engine.pullRTCRoomEntry(e,r)]);case 1:return i=a.sent(),o=i.code,s=i.data,o===S.SUCCESS?(this._isPulling=!1,this._pullTime=s.syncTime||0,this._startPull()):this._startPull(),[2]}}))}))},t.prototype.pullEntry=function(t,e){this._pullQueue.push({roomId:t,timestamp:e}),this._startPull()},t.prototype.reset=function(){this._pullTime=0,this._isPulling=!1},t}(),$i=function(t,e,n,r,i,o){var s=i?Object.keys(i).map((function(e){return t.encode(rn.RtcValueInfo,{key:e,value:i[e]},!0)})):void 0,a=o?Object.keys(o).map((function(e){return t.encode(rn.RtcValueInfo,{key:e,value:o[e]},!0)})):void 0;return t.encode(rn.RtcInput,{roomType:e,broadcastType:n,joinType:r,innerDatas:s,outerDatas:a})},Hi=function(t,e){var n=t.decode(rn.RtcUserListOutput,e),r=n.users,i=n.token,o=n.sessionId,s=n.roomInfo,a=n.entries,c=n.offlineKickTime,u={};return ce(r,(function(t){var e=t.userId,n=t.userData,r={};ce(n,(function(t){var e=t.key,n=t.value;r[e]=n})),u[e]=r})),{users:u,token:i,sessionId:o,roomInfo:s,kvEntries:a,offlineKickTime:c}},Vi=function(){function t(t,e,n,r,i){this.runtime=t,this.rtcCodec=e,this._watcher=n,this._options=r,this.logger=i,this._appkey=this._options.appkey,this._apiVer=this._options.apiVersion,this._apiVersion=A(this._options.apiVersion),this._rtcKVManager=new Fi(this)}return t.prototype.registerRTCSignalingListener=function(t){this._rtcSignalingListener=t},t.prototype.getInnerLogger=function(){return this.logger},t.prototype.getNaviInfo=function(t,e,n,r){return m(this,void 0,void 0,(function(){var i,o;return I(this,(function(s){switch(s.label){case 0:return n&&this._clear(t),i=function(t,e,n){var r,i,o=Gi(t);try{var s=n.getItem(o);i=s?JSON.parse(s):[]}catch(t){i=[]}var a=Date.now();return i.length>0&&(i=i.filter((function(t){return a-t.timestamp<72e5}))),0===i.length?n.removeItem(o):n.setItem(o,JSON.stringify(i)),(null===(r=i.find((function(t){return t.token===e})))||void 0===r?void 0:r.naviInfo)||null}(this._appkey,t,this.runtime.localStorage),i?[2,i]:(o=this._options.navigators.slice(),e.length&&e.forEach((function(t){o.indexOf(t)<0&&o.unshift(t)})),[4,this.requestNaviInfo(o,this._appkey,t,r)]);case 1:return(i=s.sent())?(this.setNaviInfo2Cache(t,i),[2,i]):[2,i]}}))}))},t.prototype.setNaviInfo2Cache=function(t,e){Bi(this._appkey,t,e,this.runtime.localStorage)},t.prototype._clear=function(t){!function(t,e,n){var r,i=Gi(t);try{var o=n.getItem(i);r=o?JSON.parse(o):[]}catch(t){r=[]}var s=Date.now();r.length>0&&(r=r.filter((function(t){return s-t.timestamp<72e5&&e!==t.token}))),0===r.length?n.removeItem(i):n.setItem(i,JSON.stringify(r))}(this._appkey,t,this.runtime.localStorage)},t.prototype.joinRTCRoom=function(t,e,n,r,i,o){return m(this,void 0,void 0,(function(){var s,a,c,u,l;return I(this,(function(f){switch(f.label){case 0:return s=$i(this.rtcCodec,e,n,r,i,o),[4,this.rtcSignaling(t,on,!0,s)];case 1:return a=f.sent(),c=a.code,u=a.buffer,c===S.SUCCESS&&u&&(l=Hi(this.rtcCodec,u)),[2,{code:c,data:l}]}}))}))},t.prototype.quitRTCRoom=function(t){return m(this,void 0,void 0,(function(){var e;return I(this,(function(n){switch(n.label){case 0:return e=this.rtcCodec.encode(rn.SetUserStatusInput,{status:0}),[4,this.rtcSignaling(t,sn,!0,e)];case 1:return[2,n.sent().code]}}))}))},t.prototype.getRTCRoomInfo=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o;return I(this,(function(s){switch(s.label){case 0:return e=this.rtcCodec.encode(rn.RtcQueryListInput,{order:2}),[4,this.rtcSignaling(t,an,!0,e)];case 1:return n=s.sent(),r=n.code,i=n.buffer,r===S.SUCCESS&&i&&(o=this.rtcCodec.decode(rn.RtcRoomInfoOutput,i)),[2,{code:r,data:o}]}}))}))},t.prototype.getRTCUserInfoList=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o,s;return I(this,(function(a){switch(a.label){case 0:return e=this.rtcCodec.encode(rn.RtcQueryListInput,{order:2}),[4,this.rtcSignaling(t,cn,!0,e)];case 1:return n=a.sent(),r=n.code,i=n.buffer,r===S.SUCCESS&&i&&(s=Hi(this.rtcCodec,i),o={users:s.users}),[2,{code:r,data:o}]}}))}))},t.prototype.getRTCUserInfo=function(t){throw new Error("Method not implemented.")},t.prototype.setRTCUserInfo=function(t,e,n){return m(this,void 0,void 0,(function(){var r;return I(this,(function(i){switch(i.label){case 0:return r=this.rtcCodec.encode(rn.RtcValueInfo,{key:e,value:n}),[4,this.rtcSignaling(t,un,!0,r)];case 1:return[2,i.sent().code]}}))}))},t.prototype.removeRTCUserInfo=function(t,e){return m(this,void 0,void 0,(function(){var n;return I(this,(function(r){switch(r.label){case 0:return n=this.rtcCodec.encode(rn.RtcKeyDeleteInput,{key:e}),[4,this.rtcSignaling(t,ln,!1,n)];case 1:return[2,r.sent().code]}}))}))},t.prototype.setRTCData=function(t,e,n,r,i,o){return m(this,void 0,void 0,(function(){var s;return I(this,(function(a){switch(a.label){case 0:return s=this.rtcCodec.encode(rn.RtcSetDataInput,{interior:r,target:i,key:e,value:n,objectName:null==o?void 0:o.name,content:null==o?void 0:o.content}),[4,this.rtcSignaling(t,fn,!1,s)];case 1:return[2,a.sent().code]}}))}))},t.prototype.setRTCTotalRes=function(t,e,n,r,i){return m(this,void 0,void 0,(function(){var o,s;return I(this,(function(a){switch(a.label){case 0:return o={objectName:r,content:this.rtcCodec.encode(rn.RtcValueInfo,{key:e.name,value:e.content},!0),valueInfo:[this.rtcCodec.encode(rn.RtcValueInfo,{key:"uris",value:n},!0),this.rtcCodec.encode(rn.RtcValueInfo,{key:"mcu_uris",value:i},!0)]},s=this.rtcCodec.encode(rn.RtcUserSetDataInput,o),[4,this.rtcSignaling(t,hn,!0,s)];case 1:return[2,a.sent().code]}}))}))},t.prototype.getRTCData=function(t,e,n,r){return m(this,void 0,void 0,(function(){var i,o,s,a,c,u;return I(this,(function(l){switch(l.label){case 0:return i=this.rtcCodec.encode(rn.RtcDataInput,{interior:n,target:r,key:e}),[4,this.rtcSignaling(t,dn,!0,i)];case 1:return o=l.sent(),s=o.code,a=o.buffer,s===S.SUCCESS&&a?(c=this.rtcCodec.decode(rn.RtcQryOutput,a).outInfo,u={},c.forEach((function(t){u[t.key]=t.value})),[2,{code:s,data:u}]):[2,{code:s}]}}))}))},t.prototype.removeRTCData=function(t,e,n,r,i){return m(this,void 0,void 0,(function(){var o;return I(this,(function(s){switch(s.label){case 0:return o=this.rtcCodec.encode(rn.RtcDataInput,{interior:n,target:r,key:e,objectName:null==i?void 0:i.name,content:null==i?void 0:i.content}),[4,this.rtcSignaling(t,pn,!1,o)];case 1:return[2,s.sent().code]}}))}))},t.prototype.setRTCOutData=function(t,e,n,r){return m(this,void 0,void 0,(function(){return I(this,(function(t){throw new Error("JSEngine's method not implemented.")}))}))},t.prototype.getRTCOutData=function(t,e){return m(this,void 0,void 0,(function(){return I(this,(function(t){throw new Error("JSEngine's method not implemented.")}))}))},t.prototype.getRTCToken=function(t,e,n){return m(this,void 0,void 0,(function(){var r,i,o,s,a;return I(this,(function(c){switch(c.label){case 0:return r=$i(this.rtcCodec,e,n),[4,this.rtcSignaling(t,gn,!0,r)];case 1:return i=c.sent(),o=i.code,s=i.buffer,o===S.SUCCESS&&s?(a=this.rtcCodec.decode(rn.RtcTokenOutput,s).rtcToken,[2,{code:o,data:{rtcToken:a}}]):[2,{code:o}]}}))}))},t.prototype.setRTCState=function(t,e){return m(this,void 0,void 0,(function(){var n;return I(this,(function(r){switch(r.label){case 0:return n=this.rtcCodec.encode(rn.MCFollowInput,{state:e}),[4,this.rtcSignaling(t,vn,!0,n)];case 1:return[2,r.sent().code]}}))}))},t.prototype.getRTCUserList=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o;return I(this,(function(s){switch(s.label){case 0:return e=this.rtcCodec.encode(rn.RtcQueryListInput,{order:2}),[4,this.rtcSignaling(t,yn,!0,e)];case 1:return n=s.sent(),r=n.code,i=n.buffer,r===S.SUCCESS&&i?(o=Hi(this.rtcCodec,i),[2,{code:r,data:o}]):[2,{code:r}]}}))}))},t.prototype.joinLivingRoomAsAudience=function(t,e,n){return m(this,void 0,void 0,(function(){var r,i,o,s,a,c,u;return I(this,(function(l){switch(l.label){case 0:return r=$i(this.rtcCodec,e,n),[4,this.rtcSignaling(t,mn,!0,r)];case 1:return i=l.sent(),o=i.code,s=i.buffer,o===S.SUCCESS&&s?(a=this.rtcCodec.decode(rn.RtcViewerJoinedOutput,s),c=a.rtcToken,u=a.entries,[2,{code:o,data:{token:c,kvEntries:u}}]):[2,{code:o}]}}))}))},t.prototype.pullRTCRoomEntry=function(t,e){return m(this,void 0,void 0,(function(){var e,n,r,i,o,s,a;return I(this,(function(c){switch(c.label){case 0:return e=this.rtcCodec.encode(rn.RtcPullKV,{timestamp:0,roomId:t}),[4,this.rtcSignaling(t,Mn,!0,e)];case 1:return n=c.sent(),r=n.code,i=n.buffer,r!==S.SUCCESS?[2,{code:r}]:(o=this.rtcCodec.decode(rn.RtcKVOutput,i),s=o.entries,o.bFullUpdate,a=o.syncTime,s=(s||[]).map((function(t){return y(y({},t),{timestamp:ee(t.timestamp)})})),this._watcher.onRTCDataChange(s,t),[2,{code:r,data:{kvEntries:s,syncTime:ee(a)}}])}}))}))},t.prototype.quitLivingRoomAsAudience=function(t){return m(this,void 0,void 0,(function(){var e,n;return I(this,(function(r){switch(r.label){case 0:return e=this.rtcCodec.encode(rn.SetUserStatusInput,{status:0}),[4,this.rtcSignaling(t,In,!0,e)];case 1:return n=r.sent().code,this._rtcKVManager.reset(),[2,n]}}))}))},t.prototype.rtcIdentityChange=function(t,e,n){return m(this,void 0,void 0,(function(){var r,i,o,s,a;return I(this,(function(c){switch(c.label){case 0:return r=this.rtcCodec.encode(rn.RtcInput,{roomType:ot.LIVE,broadcastType:n,identityChangeType:e,needSysChatroom:!1}),[4,this.rtcSignaling(t,bn,!0,r)];case 1:return i=c.sent(),o=i.code,s=i.buffer,o===S.SUCCESS&&s?(a=Hi(this.rtcCodec,s),[2,{code:o,data:a}]):[2,{code:o}]}}))}))},t.prototype.getRTCJoinedUserInfo=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o;return I(this,(function(s){switch(s.label){case 0:return e=this.rtcCodec.encode(rn.RtcQueryUserJoinedInput,{userId:t}),[4,this.rtcSignaling("",En,!0,e)];case 1:return n=s.sent(),r=n.code,i=n.buffer,r===S.SUCCESS&&i?(o=this.rtcCodec.decode(rn.RtcQueryUserJoinedOutput,i).info||[],[2,{code:r,data:o.map((function(t){return{deviceId:t.deviceId,roomId:t.roomId,joinTime:ee(t.joinTime)}}))}]):[2,{code:r}]}}))}))},t.prototype.setRTCCDNUris=function(t,e,n){return m(this,void 0,void 0,(function(){var r;return I(this,(function(i){switch(i.label){case 0:return r=this.rtcCodec.encode(rn.RtcUserSetDataInput,{objectName:e,valueInfo:this.rtcCodec.encode(rn.RtcValueInfo,{key:"cdn_uris",value:n},!0)}),[4,this.rtcSignaling(t,hn,!0,r)];case 1:return[2,i.sent().code]}}))}))},t.prototype.requestRoomPK=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o,s,a,c;return I(this,(function(u){switch(u.label){case 0:return e=t.invitedRoomId,n=t.invitedUserId,r=t.inviteSessionId,i=t.inviteTimeout,o=t.inviteInfo,s=t.roomId,a=this.rtcCodec.encode(rn.RtcInviteInput,{invitedRoomId:e,invitedUserId:n,inviteSessionId:r,timeoutTime:i,inviteInfo:o}),[4,this.rtcSignaling(s,_n,!0,a)];case 1:return c=u.sent().code,this._rtcKVManager.reset(),[2,c]}}))}))},t.prototype.cancelRoomPK=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o,s,a;return I(this,(function(c){switch(c.label){case 0:return e=t.invitedRoomId,n=t.invitedUserId,r=t.inviteSessionId,i=t.inviteInfo,o=t.roomId,s=this.rtcCodec.encode(rn.RtcCancelInviteInput,{invitedRoomId:e,invitedUserId:n,inviteSessionId:r,inviteInfo:i}),[4,this.rtcSignaling(o,An,!0,s)];case 1:return a=c.sent().code,this._rtcKVManager.reset(),[2,a]}}))}))},t.prototype.responseRoomPK=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o,s,a,c,u,l;return I(this,(function(f){switch(f.label){case 0:return e=t.inviteUserId,n=t.inviteRoomId,r=t.inviteSessionId,i=t.content,o=t.key,s=t.value,a=t.agree,c=t.roomId,u=this.rtcCodec.encode(rn.RtcInviteAnswerInput,{inviteUserId:e,inviteRoomId:n,inviteSessionId:r,content:i,key:o,value:s,answerCode:a?1:0}),[4,this.rtcSignaling(c,Cn,!0,u)];case 1:return l=f.sent().code,this._rtcKVManager.reset(),[2,l]}}))}))},t.prototype.endRoomPK=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o,s,a;return I(this,(function(c){switch(c.label){case 0:return e=t.endRoomId,n=t.sessionId,r=t.content,i=t.keys,o=t.roomId,s=this.rtcCodec.encode(rn.RtcEndInviteInput,{inviteRoomId:e,inviteSessionId:n,inviteContent:r,inviteRoomKeys:i}),[4,this.rtcSignaling(o,Tn,!0,s)];case 1:return a=c.sent().code,this._rtcKVManager.reset(),[2,a]}}))}))},t.prototype._receiveRtcKv=function(t){if(this._rtcSignalingListener)this._rtcSignalingListener(t);else{var e=this.rtcCodec.decode(rn.RtcNotifyMsg,t),n=e.time,r=e.type,i=e.roomId;1===r&&this._rtcKVManager.pullEntry(i,ee(n))}},t.prototype.destroy=function(){},t}(),Qi=function(){function t(t,e,n){this.pbmaps=t,this.logger=n,this.pbModules=Rn(e)}return t.prototype.getModule=function(t){return new this.pbModules[t]},t.prototype.encode=function(t,e,n){var r=new this.pbModules[t];if(e)try{this.pbmaps[t].forEach((function(t){var n=e[t];void 0!==n&&r["set".concat(function(t,e,n){if(void 0===e||void 0===n)return t.toUpperCase();var r=t.slice(e,n);return t.replace(r,(function(t){return t.toUpperCase()}))}(t,0,1))](n)}))}catch(e){this.logger?this.logger.error(Q.L_PB_ENCODE_E,t):null===console||void 0===console||console.error(Q.L_PB_ENCODE_E,t)}return n?r:r.toArrayBuffer()},t.prototype.decode=function(t,e){return this.pbModules[t].decode(e)},t}(),Wi=!1,Zi=[],Ki=function(){function t(t){this._context=t}return t.prototype.refetchNaviInfo=function(){return m(this,void 0,void 0,(function(){var t;return I(this,(function(e){switch(e.label){case 0:return Wi?[2,new Promise((function(t){Zi.push(t)}))]:(Wi=!0,[4,this._context.reqNaviInfo(!0)]);case 1:return t=e.sent(),Zi.forEach((function(e){return e(t)})),Zi.length=0,Wi=!1,[2,t]}}))}))},t.prototype.__getContext=function(){return this._context},t.prototype.createCodec=function(t,e){return this._context.createCodec(t,e)},t.prototype.getNaviInfo=function(){return this._context.getInfoFromCache()},t.prototype.getCoreVersion=function(){return this._context.coreVersion},t.prototype.getAPIVersion=function(){return this._context.apiVersion},t.prototype.getAppkey=function(){return this._context.appkey},t.prototype.getCurrentId=function(){return this._context.getCurrentUserId()},t.prototype.getConnectionStatus=function(){return this._context.getConnectionStatus()},t.prototype.getDeviceId=function(){return this._context.getDeviceId()},t.prototype.sendMessage=function(t,e,n){return this._context.sendMessage(t,e,n)},t.prototype.registerMessageType=function(t,e,n,r){void 0===r&&(r=[]),this._context.registerMessageType(t,e,n,r)},t.prototype.getServerTime=function(){return this._context.getServerTime()},t.prototype.getOSInfo=function(){return this._context.getOSInfo()},t.prototype.getProcessInfo=function(){return this._context.getProcessInfo()},t.prototype.getMainProcessInfo=function(){return this._context.getMainProcessInfo()},t.prototype.setCallInfo=function(t,e,n){return this._context.setCallInfo(t,e,n)},t.prototype.createLogger=function(t,e){return this._context.createLogger(t,e)},t}(),qi=function(t,e,n){return[t,e,n].join("_")},Ji=function(){function t(t,e){this._runtime=t,this._appkey=e,this._users={}}return t.prototype._getMemData=function(t){return this._users[t]=this._users[t]||{inboxTime:0,outboxTime:0,broadcastSyncTime:0},this._users[t]},t.prototype.setInboxTime=function(t,e){var n=this._getMemData(e);if(!(n.inboxTime>t)){n.inboxTime=t;var r=qi("inbox",this._appkey,e);this._runtime.localStorage.setItem(r,t.toString())}},t.prototype.getInboxTime=function(t){var e=this._getMemData(t);if(0===e.inboxTime){var n=qi("inbox",this._appkey,t);e.inboxTime=parseInt(this._runtime.localStorage.getItem(n),10)||0}return e.inboxTime},t.prototype.setBroadcastSyncTime=function(t,e){var n=this._getMemData(e);if(!(n.broadcastSyncTime>=t||bt(t))){n.broadcastSyncTime=t;var r=qi("broadcastbox",this._appkey,e);this._runtime.localStorage.setItem(r,t.toString())}},t.prototype.getBroadcastSyncTime=function(t){var e=this._getMemData(t);if(!e||0===e.broadcastSyncTime){var n=qi("broadcastbox",this._appkey,t);e.broadcastSyncTime=parseInt(this._runtime.localStorage.getItem(n),10)||1}return e.broadcastSyncTime},t.prototype.setOutboxTime=function(t,e){var n=this._getMemData(e);if(!(n.outboxTime>=t)){n.outboxTime=t;var r=qi("outbox",this._appkey,e);this._runtime.localStorage.setItem(r,t.toString())}},t.prototype.getOutboxTime=function(t){var e=this._getMemData(t);if(0===e.outboxTime){var n=qi("outbox",this._appkey,t);e.outboxTime=parseInt(this._runtime.localStorage.getItem(n),10)||0}return e.outboxTime},t}(),Xi={_caches:{},set:function(t,e){this._caches[t]=e},get:function(t){return this._caches[t]||0},clear:function(t){this._caches[t]=0}},to=function(){function t(t,e,n){this.logger=t,this._kvCaches={},this._chatroomId=e,this._currentUserId=n}return t.prototype._add=function(t){var e=t.key;t.isDeleted=!1,this._kvCaches[e]=t},t.prototype._remove=function(t){var e=t.key,n=this._kvCaches[e];n&&(n.isDeleted=!0,this._kvCaches[e]=n)},t.prototype._setEntry=function(t,e){var n=t.key,r=t.type,i=t.isOverwrite,o=t.userId,s=this._getSetUserId(n),a=r===Z.DELETE,c=s===o,u=!this._isExisted(n),l=a?this._remove:this._add;(e||i||c||u)&&l.call(this,t)},t.prototype.getValue=function(t){var e=this._kvCaches[t]||{};return e.isDeleted?null:e.value},t.prototype.getVersion=function(t){var e=this._kvCaches[t]||{};return e.isDeleted?null:e.version},t.prototype.getAllValue=function(){var t={};for(var e in this._kvCaches)this._kvCaches[e].isDeleted||(t[e]=this._kvCaches[e].value);return t},t.prototype._getSetUserId=function(t){return(this._kvCaches[t]||{}).userId},t.prototype._isExisted=function(t){var e=this._kvCaches[t]||{},n=e.value,r=e.isDeleted;return n&&!r},t.prototype.setEntries=function(t){var e=this,n=t.kvEntries,r=t.isFullUpdate;n=n||[],(r=r||!1)&&this.clear(),n.forEach((function(t){e._setEntry(t,r)}))},t.prototype.clear=function(){this._kvCaches={}},t}(),eo=function(){function t(t){this._pullQueue=[],this._isPulling=!1,this._storeCaches={},this._engine=t}return t.prototype._startPull=function(){return m(this,void 0,void 0,(function(){var t,e,n,r,i,o,s;return I(this,(function(a){switch(a.label){case 0:return this._isPulling||0===this._pullQueue.length?[2]:(this._isPulling=!0,t=this._pullQueue.splice(0,1)[0],e=t.chrmId,n=t.timestamp,(r=Xi.get(e))>n?(this._isPulling=!1,this._startPull(),[2]):[4,this._engine.pullChatroomEntry(e,r)]);case 1:return i=a.sent(),o=i.code,s=i.data,this._isPulling=!1,o===S.SUCCESS?(Xi.set(e,s.syncTime||0),this._startPull()):this._startPull(),[2]}}))}))},t.prototype.reset=function(t){Xi.clear(t);var e=this._storeCaches[t];null==e||e.clear()},t.prototype.pullEntry=function(t,e){this._pullQueue.push({chrmId:t,timestamp:e}),this._startPull()},t.prototype.setLocal=function(t,e,n){var r=this._storeCaches[t];Ct(r)||(r=new to(this._engine.getInnerLogger(),t,n)),r.setEntries(e),this._storeCaches[t]=r},t.prototype.getValue=function(t,e){var n=this._storeCaches[t];return n?n.getValue(e):null},t.prototype.getVersion=function(t,e){var n=this._storeCaches[t];return n?n.getVersion(e):null},t.prototype.getAll=function(t){var e=this._storeCaches[t],n={};return e&&(n=e.getAllValue()),n},t}(),no=function(){function t(t,e,n,r,i){this._runtime=t,this._appkey=e,this._userId=n,this._canJoinMulipleChrm=r,this.logger=i,this._sessionKey="",this._joinedChrmsInfo={},this._sessionKey="sync-chrm-".concat(this._appkey,"-").concat(this._userId)}return t.prototype.set=function(t,e){void 0===e&&(e=10),this._canJoinMulipleChrm||(this._joinedChrmsInfo={}),this._joinedChrmsInfo[t]=e,this._runtime.sessionStorage.setItem(this._sessionKey,JSON.stringify(this._joinedChrmsInfo))},t.prototype.get=function(){var t,e;try{e=this._runtime.sessionStorage.getItem(this._sessionKey),t=JSON.parse(e||"{}")}catch(o){this.logger.error(Q.O,"parse rejoined chrm infos error -> ".concat(e)),t={}}return t},t.prototype.remove=function(t){delete this._joinedChrmsInfo[t],Ct(this._joinedChrmsInfo)?this._runtime.sessionStorage.setItem(this._sessionKey,JSON.stringify(this._joinedChrmsInfo)):this.clear()},t.prototype.clear=function(){this._joinedChrmsInfo={},this._runtime.sessionStorage.removeItem(this._sessionKey)},t}(),ro="converStatusChanged",io=function(){function t(t,e,n){this._eventEmitter=new Ot,this._pullQueue=[],this._isPulling=!1,this._storagePullTimeKey="con-s-".concat(e,"-").concat(n),this._oldStorage=f(t.runtime),this._storage=new d(t.runtime,this._storagePullTimeKey),this._appkey=e,this._currentUserId=n,this._engine=t,this.adaptOldStatus()}return t.prototype.adaptOldStatus=function(){try{if(this._storage.get(this._storagePullTimeKey))return;var t=this._oldStorage.get(this._storagePullTimeKey)||0;if(!t)return;this._storage.set(this._storagePullTimeKey,t),this._oldStorage.remove(this._storagePullTimeKey)}catch(t){this._engine.getInnerLogger().error(Q.A_CALLBACK_E,"adaptOldStatus error: ".concat(t.message))}},t.prototype._set=function(t){var e=this;if(!bt(t)&&Array.isArray(t)){var n=this._storage.get(this._storagePullTimeKey)||0,r=t.length;t.forEach((function(t,i){var o=t.updatedTime||0;n=o>n?o:n,t.conversationType=t.type,e._eventEmitter.emit(ro,{statusItem:t,isLastPull:i===r-1})})),this._storage.set(this._storagePullTimeKey,n)}},t.prototype._startPull=function(){return m(this,void 0,void 0,(function(){var t,e,n,r;return I(this,(function(i){switch(i.label){case 0:return this._isPulling||0===this._pullQueue.length?[2]:(this._isPulling=!0,t=this._pullQueue.splice(0,1)[0],[4,this._engine.pullConversationStatus(t)]);case 1:return e=i.sent(),n=e.code,r=e.data,n===S.SUCCESS?(this._isPulling=!1,this._set(r),this._startPull()):this._startPull(),[2]}}))}))},t.prototype.pull=function(t){var e=this._storage.get(this._storagePullTimeKey)||0;(t>e||0===t)&&(this._pullQueue.push(e),this._startPull())},t.prototype.watch=function(t){this._eventEmitter.on(ro,(function(e){t(e)}))},t.prototype.setConversationUpdatedTime=function(t){var e=this._storage.get(this._storagePullTimeKey)||0;return t&&t>e?(this._storage.set(this._storagePullTimeKey,t),t):e},t.prototype.getConversationUpdatedTime=function(){return this._storage.get(this._storagePullTimeKey)||0},t}(),oo={c:{keyName:"unreadMessageCount",defaultVal:0},hm:{keyName:"hasMentioned",defaultVal:!1},m:{keyName:"mentionedInfo",defaultVal:null},t:{keyName:"lastUnreadTime",defaultVal:0},lt:{keyName:"lastReadTime",defaultVal:0},nc:{keyName:"notificationStatus",defaultVal:2},nl:{keyName:"notificationLevel",defaultVal:0},to:{keyName:"isTop",defaultVal:!1},tg:{keyName:"tags",defaultVal:{}},mc:{keyName:"unreadMentionedCount",defaultVal:0}},so={};for(var ao in oo){var co=oo[ao].keyName;so[co]=ao}var uo,lo=function(){function t(t,e,n,r){this._appkey=e,this._currentUserId=n,this.logger=r;var i="con-".concat(e,"-").concat(n);this.storage=new d(t,i),this._localStore=new d(t,"CONVER-".concat(e,"-").concat(n))}return t.prototype._getStoreKey=function(t,e,n){return"".concat(n,"_").concat(t,"_").concat(e)},t.prototype._getConOptionByKey=function(t){var e=(t=t||"").split("_");if(e.length>=2){var n=e.shift(),r=e.shift(),i=e.join("_");return{conversationType:Number(r),targetId:i,channelId:n}}return{conversationType:D.PRIVATE,targetId:"",channelId:""}},t.prototype.updateMentionedData=function(t){var e=this,n=t.conversationType,r=t.targetId,i=t.messageType,o=t.isMentioned,s=t.content,a=t.senderUserId,c=t.channelId,u=this._getStoreKey(n,r,c),l=this._localStore.get(u)||{},f=so.mentionedInfo,h=so.hasMentioned,d=l[f]||{},p=d.userIdList||[],g=s.mentionedInfo;if(g){if(o&&n===D.GROUP&&((g.userIdList||[]).forEach((function(t){t===e._currentUserId&&p.indexOf(a)<0&&p.push(a)})),g.type===Y.ALL&&p.indexOf(a)<0&&p.push(a)),i===k.RECALL&&n===D.GROUP){var v=p.indexOf(a);v>=0&&p.splice(v,1)}g={userIdList:p,type:(null==g?void 0:g.type)||d.type},0!==p.length?(l[f]=g,l[h]=!0):(delete l[f],delete l[h]),Ct(l)?this._localStore.set(u,l):this._localStore.remove(u)}},t.prototype.set=function(t,e,n,r){var i=this._getStoreKey(t,e,r),o=this._localStore.get(i)||{};for(var s in n){var a=so[s],c=n[s];if(!bt(a)&&!bt(c)&&"hasMentioned"!==s&&"MentionedInfo"!==s){if(c===oo[a].defaultVal||"tags"===s&&!Ct(c))delete o[a];else if("tags"===s){var u=c;for(var l in u)u[l].isTop||delete u[l].isTop;o[a]=c}else o[a]=c;o.c||(delete o.t,delete o.hm,delete o.m,delete o.mc)}}Ct(o)?this._localStore.set(i,o):this._localStore.remove(i)},t.prototype.get=function(t,e,n){void 0===n&&(n="");var r=this._getStoreKey(t,e,n),i=this._localStore.get(r)||{},o={};for(var s in oo){var a=oo[s],c=a.keyName,u=a.defaultVal;o[c]=i[s]||he(u)}return o},t.prototype.getValue=function(t){var e=this._localStore.getValues()||{},n=[];for(var r in e){var i=this._getConOptionByKey(r),o={conversationType:i.conversationType,targetId:i.targetId,channelId:i.channelId},s=e[r];for(var a in s)if(oo[a]){var c=oo[a],u=c.keyName,l=c.defaultVal;o[u]=s[a]||he(l)}o=t?t(o):o,n.push(o)}return n},t.prototype.getValueForTag=function(){var t=this._localStore.getValues()||{},e={};for(var n in t){var r=this._getConOptionByKey(n),i=r.conversationType,o=r.targetId,s={},a=t[n];for(var c in a){var u=oo[c],l=u.keyName,f=u.defaultVal;s[l]=a[c]||he(f)}for(var h in s.tags){bt(e[h])&&(e[h]=[]);var d=y(y({},s),{conversationType:i,targetId:o});delete d.tags,e[h].push(d)}}return e},t.prototype.adaptOldStore=function(){try{var t=this.storage.getValues();if(0===Object.keys(t).length)return;for(var e in t){var n="_".concat(e);this._localStore.set(n,t[e])}this.storage.clear()}catch(t){this.logger.error(Q.O,"adaptOldStore error: ".concat(t.message))}},t}(),fo=[D.PRIVATE,D.GROUP,D.SYSTEM,D.PUBLIC_SERVICE,D.APP_PUBLIC_SERVICE],ho="conversationChanged",po="conTagStatusChanged",go=function(){function t(t,e,n,r,i){var o=this;this._updatedConversations={},this._conTagStatusChanged=!1,this._eventEmitter=new Ot,this._draftMap={},this._recallMsgTimeMap={},this._appkey=e,this._loginUserId=n,this._store=new lo(t.runtime,e,n,t.getInnerLogger()),this._statusManager=new io(t,e,n),this._statusManager.watch((function(t){var e=t.statusItem,n=t.isLastPull;o.addStatus(e,n)})),this._eventEmitter.on(ho,(function(t){r(t)})),this._eventEmitter.on(po,(function(){i()}))}return t.prototype._calcUnreadCount=function(t,e){var n=t.content,r=t.messageType,i=t.sentTime,o=t.isCounted,s=t.messageDirection,a=t.senderUserId,c=s===w.SEND&&a===this._loginUserId,u=r===k.RECALL,l=It(n),f=!1,h={},d=e.lastUnreadTime||0,p=e.lastReadTime||0,g=e.unreadMessageCount||0;if(d>i||c)return{hasChanged:f,localConversation:e,updateItems:h};if(o&&(e.unreadMessageCount=g+1,e.lastUnreadTime=i,f=!0),u&&l){var v="".concat(t.conversationType,"_").concat(t.channelId,"_").concat(t.targetId),y=!this._recallMsgTimeMap[v]||this._recallMsgTimeMap[v]&&!this._recallMsgTimeMap[v].find((function(t){return t===n.sentTime})),m=d>=n.sentTime;p&&(m=p<n.sentTime),m&&g&&y&&(this._recallMsgTimeMap[v]||(this._recallMsgTimeMap[v]=[]),this._recallMsgTimeMap[v].push(n.sentTime),e.unreadMessageCount=g-1,f=!0)}return f&&(h.unreadMessageCount={val:e.unreadMessageCount,time:i}),{hasChanged:f,localConversation:e,updateItems:h}},t.prototype._calcMentionedInfo=function(t,e){var n=t.content,r=(t.messageDirection,t.isMentioned),i=t.sentTime;w.SEND;var o=It(n),s=!1,a={};return r&&o&&n.mentionedInfo&&(e.hasMentioned=!0,s=!0,a.hasMentioned={val:!0,time:i},a.mentionedInfo={val:n.mentionedInfo,time:i}),{hasChanged:s,localConversation:e,updateItems:a}},t.prototype._calcMentionedCount=function(t,e){var n=t.content,r=t.messageDirection,i=!1;if(t.isMentioned&&r===w.RECEIVE&&(null==n?void 0:n.mentionedInfo)){var o=n.mentionedInfo,s=o.type,a=o.userIdList;if(s===Y.ALL||(a||[]).includes(this._loginUserId)){i=!0;var c=e.unreadMentionedCount||0;e.unreadMentionedCount=c+1}}return{hasChanged:i,localConversation:e}},t.prototype._setUpdatedConversation=function(t){if(It(t)){var e=t.conversationType,n=t.targetId,r=t.channelId,i="".concat(e,"_").concat(n),o=this._store.get(e,n,r)||{};this._updatedConversations[i]=Object.assign(o,t)}},t.prototype._setConTagStatusChanged=function(t,e,n,r){var i=(this._store.get(t,e,r)||{}).tags||{};if(Object.keys(i).length===Object.keys(n).length){for(var o in i)if(!n[o]||!!i[o].isTop!=!!n[o].isTop)return void(this._conTagStatusChanged=!0)}else this._conTagStatusChanged=!0},t.prototype.addStatus=function(t,e){var n=t.conversationType,r=t.targetId,i=t.updatedTime,o=t.notificationStatus,s=t.notificationLevel,a=t.isTop,c=t.tags,u=t.channelId,l={},f={};n!==D.ULTRA_GROUP&&(bt(o)||(f.notificationStatus={time:i,val:o}),bt(s)||(f.notificationLevel={time:i,val:s}),bt(a)||(f.isTop={time:i,val:a}),bt(c)||(f.tags={time:i,val:c},null==c||c.forEach((function(t){l[t.tagId]={isTop:t.isTop}}))),this._setConTagStatusChanged(n,r,l,u),this._store.set(n,r,{notificationStatus:o,notificationLevel:s,isTop:a,tags:l},u),this._setUpdatedConversation({conversationType:n,targetId:r,updatedItems:f,channelId:u}),e&&this._notifyConversationChanged())},t.prototype._notifyConversationChanged=function(){var t=[];for(var e in this._updatedConversations)t.push(this._updatedConversations[e]);0!==t.length&&(this._eventEmitter.emit(ho,t),this._updatedConversations={},this._conTagStatusChanged&&(this._eventEmitter.emit(po),this._conTagStatusChanged=!1))},t.prototype.setConversationCacheByMessage=function(t,e){var n=this,r=t.conversationType,i=t.isPersited,o=t.targetId,s=t.channelId;if(fo.indexOf(r)>=0){var a=!1,c=this._store.get(r,o,s),u={};if([this._calcUnreadCount,this._calcMentionedInfo,this._calcMentionedCount].forEach((function(e){var r=e.call(n,t,c),i=r.hasChanged,o=r.localConversation,s=r.updateItems;a=a||i,u=y(y({},u),s),c=he(o)})),a&&this._store.set(r,o,c,s),this._store.updateMentionedData(t),i){var l=this._store.get(r,o,s);l.updatedItems=y({latestMessage:{time:t.sentTime,val:t}},u),l.latestMessage=t;var f=Object.assign(l,{conversationType:r,targetId:o,channelId:s});this._setUpdatedConversation(f)}(a||i)&&this._notifyConversationChanged()}},t.prototype.get=function(t,e,n){return void 0===n&&(n=""),this._store.get(t,e,n)},t.prototype.getAllUnreadCount=function(t,e,n){var r=this._store.getValue(),i=0;return r.forEach((function(t){var r=t.unreadMessageCount,o=t.notificationStatus,s=t.notificationLevel,a=t.conversationType;r=r||0,(n||1!==o||s===G.NOT_SET||s===G.ALL_MESSAGE)&&(e.length>0?e.includes(Number(a))&&(i+=Number(r)):i+=Number(r))})),i},t.prototype.getTotalUnreadCountByLevels=function(t,e,n){var r=this._store.getValue(),i=0;return r.forEach((function(r){var o=r.unreadMessageCount,s=r.notificationLevel,a=void 0===s?0:s,c=r.conversationType,u=r.unreadMentionedCount;t.includes(c)&&(0===e.length||e.includes(a))&&(i+=(n?u:o)||0)})),i},t.prototype.getUnreadCountByTag=function(t,e){var n=this._store.getValueForTag()[t]||[],r=0;return n.forEach((function(t){var n=t.unreadMessageCount,i=t.notificationStatus,o=t.notificationLevel;(e||1!==i||-1===o||0===o)&&(n=n||0,r+=Number(n))})),r},t.prototype.getUnreadCount=function(t,e,n){return this._store.get(t,e,n).unreadMessageCount||0},t.prototype.clearUnreadCount=function(t,e,n,r){void 0===r&&(r=!0);var i=this._store.get(t,e,n);i.lastReadTime=i.lastUnreadTime,this._recallMsgTimeMap["".concat(t,"_").concat(n,"_").concat(e)]=[];var o=i.unreadMessageCount,s=i.hasMentioned,a={};if(o&&(i.unreadMessageCount=0,a.unreadMessageCount={val:0,time:Date.now()}),s&&(i.hasMentioned=!1,i.unreadMentionedCount=0,i.mentionedInfo=void 0,a.hasMentioned={val:!1,time:Date.now()},a.mentionedInfo={val:void 0,time:Date.now()}),this._store.set(t,e,i,n),r&&0!==Object.keys(a).length){var c=Object.assign(i,{conversationType:t,targetId:e,channelId:n,updatedItems:a});this._setUpdatedConversation(c),this._notifyConversationChanged()}},t.prototype.clearAllUnreadCount=function(){var t=this;this._store.getValue().forEach((function(e){e.unreadMessageCount&&(e.unreadMessageCount=0,e.lastReadTime=e.lastUnreadTime,t._recallMsgTimeMap={},t._store.set(e.conversationType,e.targetId,e,e.channelId))}))},t.prototype.startPullConversationStatus=function(t){this._statusManager.pull(t)},t.prototype.setDraft=function(t,e,n,r){var i="".concat(t,"_").concat(e,"_").concat(r);this._draftMap[i]=n},t.prototype.getDraft=function(t,e,n){var r="".concat(t,"_").concat(e,"_").concat(n);return this._draftMap[r]},t.prototype.clearDraft=function(t,e,n){var r="".concat(t,"_").concat(e,"_").concat(n);delete this._draftMap[r]},t.prototype.addTagStatus=function(t,e,n,r){void 0===r&&(r="");var i=this._store.get(t,e,r).tags;i=Object.assign(i,n),this._store.set(t,e,{tags:i},r)},t.prototype.deleteTagStatus=function(t,e,n,r){void 0===r&&(r="");var i=this._store.get(t,e,r).tags;n.forEach((function(t){delete i[t]})),this._store.set(t,e,{tags:i},r)},t.prototype.getConversationListForTag=function(){return this._store.getValueForTag()},t.prototype.getBlockConversationList=function(){return this._store.getValue().filter((function(t){return t.notificationStatus===U.OPEN||-1!==t.notificationLevel&&0!==t.notificationLevel})).map((function(t){return{conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId}}))},t.prototype.getTopConversationList=function(t,e){return(this._store.getValue()||{}).filter((function(n){return t.includes(n.conversationType)&&(bt(e)||e===n.channelId)&&n.isTop})).map((function(t){return{channelId:t.channelId,conversationType:t.conversationType,targetId:t.targetId,unreadMessageCount:t.unreadMessageCount||0,latestMessage:null,hasMentioned:t.hasMentioned||!1,mentionedInfo:t.mentionedInfo,notificationStatus:t.notificationStatus||0,notificationLevel:t.notificationLevel,isTop:t.isTop||!1,lastUnreadTime:t.lastUnreadTime||0,unreadMentionedCount:t.unreadMentionedCount||0}}))},t.prototype.adaptOldStore=function(){this._store.adaptOldStore()},t.prototype.getUnreadMentionedCount=function(t,e,n){return void 0===t&&(t=""),this.get(e,n,t).unreadMentionedCount||0},t.prototype.getAllUnreadMentionedCount=function(){var t=this._store.getValue(),e=0;return t.forEach((function(t){var n=t.unreadMentionedCount;n=n||0,e+=Number(n)})),e},t.prototype.getAllConversationState=function(){return this._store.getValue().filter((function(t){return t.unreadMessageCount||t.unreadMentionedCount})).map((function(t){return{conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId,unreadCount:t.unreadMessageCount||0,unreadMentionedCount:t.unreadMentionedCount||0}}))},t.prototype.setConversationUpdatedTime=function(t){return this._statusManager.setConversationUpdatedTime(t)},t.prototype.getConversationUpdatedTime=function(){return this._statusManager.getConversationUpdatedTime()},t}(),vo=function(){function t(t,e,n,r){this._pullQueue=[],this._isPulling=!1,this._storageTagKey="tag-".concat(e,"-").concat(n),this._storagePullTimeKey="us-s-".concat(e,"-").concat(n),this._storage=f(t.runtime),this._engine=t,this._tagWatcherFunc=r}return t.prototype._updateTag=function(t){var e=t.tags,n={};e.forEach((function(t){n[t.tagId]={tagName:t.tagName,createdTime:t.createdTime}})),this._storage.set(this._storageTagKey,n),this._tagWatcherFunc()},t.prototype.addTag=function(t,e){var n=this._storage.get(this._storageTagKey)||{};t.forEach((function(t){var e,r=(null===(e=n[t.tagId])||void 0===e?void 0:e.createdTime)||t.createdTime||0;n[t.tagId]={tagName:t.tagName,createdTime:r}})),this._storage.set(this._storageTagKey,n),this._storage.set(this._storagePullTimeKey,e)},t.prototype.deleteTag=function(t,e){var n=this._storage.get(this._storageTagKey)||{};t.forEach((function(t){delete n[t]})),this._storage.set(this._storageTagKey,n),this._storage.set(this._storagePullTimeKey,e)},t.prototype.getTagsInfo=function(){return this._storage.get(this._storageTagKey)||{}},t.prototype.getTags=function(){var t=this._storage.get(this._storageTagKey)||{},e=[];for(var n in t)e.push({tagId:n,tagName:t[n].tagName,createdTime:t[n].createdTime,conversationCount:0});return e.sort((function(t,e){return(t.createdTime||0)-(e.createdTime||0)}))},t.prototype.getTagById=function(t){var e=this._storage.get(this._storageTagKey)||{};return e[t]?{tagId:t,tagName:e[t].tagName,createdTime:e[t].createdTime,conversationCount:0}:null},t.prototype._startPull=function(){return m(this,void 0,void 0,(function(){var t,e,n,r,i,o,s,a;return I(this,(function(c){switch(c.label){case 0:return this._isPulling||0===this._pullQueue.length?[2]:(this._isPulling=!0,t=this._pullQueue.splice(0,1)[0],[4,this._engine.pullUserSettings(t)]);case 1:return e=c.sent(),n=e.code,r=e.data,n!==S.SUCCESS||bt(r)?(this._isPulling=!1,this._startPull()):(o=(i=r).settings,s=i.version,a=o.Tag,bt(a)||this._updateTag(a),this._storage.set(this._storagePullTimeKey,s),this._isPulling=!1,this._startPull()),[2]}}))}))},t.prototype.pullUserSettings=function(t){var e=this._storage.get(this._storagePullTimeKey)||0;(t>e||0===t)&&(this._pullQueue.push(e),this._startPull())},t.prototype.getVersion=function(){return this._storage.get(this._storagePullTimeKey)||0},t}(),yo=function(t,e){return["send_msg",t,e].join("_")},mo=function(){function t(t,e){this._runtime=t,this._appkey=e,this._sendMessageMap={},this._userId=""}return t.prototype.init=function(t){this._userId=t;var e=yo(this._appkey,t);this._sendMessageMap=this._getLocalInfo(e)},t.prototype._getLocalInfo=function(t){var e=this._runtime.localStorage.getItem(t);try{return e?JSON.parse(e):{}}catch(t){return{}}},t.prototype.setMessage=function(t,e){this._sendMessageMap[t]=e;var n=yo(this._appkey,this._userId),r=this._getLocalInfo(n);r[t]=e,this._runtime.localStorage.setItem(n,JSON.stringify(r))},t.prototype.getSendMessageMap=function(){return this._sendMessageMap},t.prototype.removeByUID=function(t){delete this._sendMessageMap[t]},t.prototype.removeByTimestamp=function(t){var e=yo(this._appkey,this._userId),n=this._getLocalInfo(e);Object.keys(n).forEach((function(e){n[e]<t&&delete n[e]})),this._runtime.localStorage.setItem(e,JSON.stringify(n))},t}(),Io=function(t){var e="RCDeviceId",n=f(t),r="",i=n.get(e);return i?r=i:(r=Qt(),n.set(e,r)),r};(uo={})[D.PRIVATE]=nn.qryPMsg,uo[D.GROUP]=nn.qryGMsg,uo[D.CHATROOM]=nn.qryCHMsg,uo[D.CUSTOMER_SERVICE]=nn.qryCMsg,uo[D.SYSTEM]=nn.qrySMsg;var Mo=[nn[nn.recallMsg],nn[nn.ppMsgS],nn[nn.pgMsgS],nn[nn.ppMsgP],nn[nn.pgMsgP],nn[nn.chatMsg],nn[nn.pcMsgP],nn[nn.prMsgS],nn[nn.updUgRTime]],bo=function(){function t(t,e,n){this.ULTRA_GROUP_CONVERSATION="ultragroupconversation";var r="".concat(this.ULTRA_GROUP_CONVERSATION,"-").concat(e,"-").concat(n);this._localStore=new d(t,r)}return t.prototype.set=function(t,e,n,r){var i=this._getStoreKey(t,e,r),o=this._localStore.get(i)||{};for(var s in n){var a=Ao[s],c=n[s];bt(a)||bt(c)||(c===_o[a].defaultVal?delete o[a]:o[a]=c)}Ct(o)?this._localStore.set(i,o):this._localStore.remove(i)},t.prototype.get=function(t,e,n){void 0===n&&(n="");var r=this._getStoreKey(t,e,n),i=this._localStore.get(r)||{},o={};for(var s in _o){var a=_o[s],c=a.keyName,u=a.defaultVal;o[c]=i[s]||he(u)}return o},t.prototype._getStoreKey=function(t,e,n){return"".concat(n,"_").concat(t,"_").concat(e)},t}(),_o={nc:{keyName:"notificationStatus",defaultVal:2},nl:{keyName:"notificationLevel",defaultVal:0}},Ao={};for(var Co in _o){var To=_o[Co].keyName;Ao[To]=Co}var Eo,wo=function(){function t(t,e,n){this._store=new bo(t.runtime,e,n)}return t.prototype.addUltraGroupStatus=function(t){var e=t.conversationType,n=t.targetId,r=t.notificationStatus,i=t.notificationLevel,o=t.channelId;e===D.ULTRA_GROUP&&this._store.set(e,n,{notificationStatus:r,notificationLevel:i},o)},t.prototype.get=function(t,e,n){return void 0===n&&(n=""),this._store.get(t,e,n)},t}();!function(t){t[t.STATISTICS=-2]="STATISTICS",t[t.RECORD=-1]="RECORD",t[t.FATAL=0]="FATAL",t[t.ERROR=1]="ERROR",t[t.WARN=2]="WARN",t[t.INFO=3]="INFO",t[t.DEBUG=4]="DEBUG"}(Eo||(Eo={}));var No=function(t){return[Eo.DEBUG,Eo.INFO,Eo.WARN,Eo.ERROR].some((function(e){return e===t}))},So=Qt(),Oo=Date.now(),Do=0,Ro=function(){function t(t,e,n){this._appkey=t,this._id=e,this._type=n,this.outputLevel=Eo.WARN,this.debug=this._log.bind(this,Eo.DEBUG),this.info=this._log.bind(this,Eo.INFO),this.warn=this._log.bind(this,Eo.WARN),this.error=this._log.bind(this,Eo.ERROR),this.__statistics=this._log.bind(this,Eo.STATISTICS)}return t.prototype._stdout=function(t,e,n,r,i){if(!(t<=Eo.FATAL)&&console&&!(t>this.outputLevel)){var o=["error","warn","info","debug"][t-1];null===console||void 0===console||console[o]("".concat(n,"[").concat(this._id,"][").concat(o.toUpperCase(),"]: ").concat(e," | ").concat(r," | ").concat(i))}},t.prototype.setOutputLevel=function(t){No(t)&&(this.outputLevel=t)},t.prototype._log=function(t,e,n,r){var i=new Date;/^[\w-_]+$/.test(e)?(this._stdout(t,e,i.toISOString(),n,r),t!==Eo.DEBUG&&this.flush({time:+i,sessionId:So,type:this._type,loggerId:this._id,tag:e,level:t,content:n,traceId:r})):this._stdout(Eo.ERROR,"L_LOG_TAG_INVALID_E",i.toISOString(),e,r)},t.prototype.createTraceId=function(){return"".concat(So,"-").concat(++Do)},t.prototype.getSessionId=function(){return So},t}(),Lo=null,xo=null,jo=function(t){return m(void 0,void 0,void 0,(function(){var e;return I(this,(function(n){switch(n.label){case 0:return[4,Lo];case 1:return(e=n.sent())?[4,new Promise((function(n){var r=e.db.transaction("RC_LOGS","readwrite").objectStore("RC_LOGS"),i=IDBKeyRange.lowerBound(Date.now()-t),o=r.getAllKeys(i);o.onsuccess=function(){var t=o.result,e=t.length;if(e>0){var i=r.delete(IDBKeyRange.bound(t[0],t[e-1]));i.onsuccess=n,i.onerror=n}},o.onerror=n}))]:[2];case 2:return n.sent(),xo=setTimeout((function(){return jo(t)}),6e5),[2]}}))}))},ko=function(t,e,n){void 0===n&&(n=168),Lo||("undefined"!=typeof window&&window&&window.indexedDB?Lo=new Promise((function(r){var i=window.indexedDB;null==i||i.databases().then((function(t){t.some((function(t){return"RC_ENGINE_DB"===t.name}))&&i.deleteDatabase("RC_ENGINE_DB")}));var o="RC_LOGS_".concat(t),s=i.open(o,1);s.onerror=function(t){e.error(Q.L_LOGDB_OPEN_FAILED_E,t.target.error),r(null)},s.onsuccess=function(i){var o=i.target.result;o?(o.onclose=function(t){e.warn(Q.L_LOGDB_CLOSED_S)},o.onerror=function(t){e.error(Q.L_LOGDB_ERROR_E,t.target.error)},o.onabort=function(t){e.info(Q.L_LOGDB_ABORT_S,t.target.error)},jo(3600*Math.max(24,Math.min(168,n))*1e3),r({appkey:t,db:o})):r(null)},s.onupgradeneeded=function(t){var e=t.target.result;e.objectStoreNames.contains("RC_LOGS")&&e.deleteObjectStore("RC_LOGS");var n=e.createObjectStore("RC_LOGS",{autoIncrement:!0});n.createIndex("level","level",{unique:!1}),n.createIndex("time","time",{unique:!1}),(n=e.createObjectStore("RC_CONF",{keyPath:"key"})).createIndex("key","key",{unique:!0})}})):e.warn(Q.L_UNSUPPORT_INDEXDB_O))},Po=function(){return m(void 0,void 0,void 0,(function(){var t,e;return I(this,(function(n){switch(n.label){case 0:return Lo?(xo&&(clearTimeout(xo),xo=null),[4,Lo]):[2];case 1:return(t=n.sent())&&(e=t.db,t.appkey,e.close()),Lo=null,[2]}}))}))},Uo=[],zo=!1,Go=function(t){return m(void 0,void 0,void 0,(function(){var e;return I(this,(function(n){switch(n.label){case 0:return zo||0===Uo.length?[2]:(zo=!0,e=Uo.splice(0),[4,new Promise((function(n){var r=t.transaction("RC_LOGS","readwrite");r.oncomplete=n,r.onabort=n;var i=r.objectStore("RC_LOGS");e.forEach((function(t){try{i.add(t)}catch(e){null===console||void 0===console||console.error("write log failed ->",t)}}))}))]);case 1:return n.sent(),zo=!1,setTimeout((function(){return Go(t)})),[2]}}))}))};function Bo(t){return m(this,void 0,void 0,(function(){var e;return I(this,(function(n){switch(n.label){case 0:return[4,Lo];case 1:return(e=n.sent())?[2,new Promise((function(n){var r=e.db.transaction("RC_CONF","readonly").objectStore("RC_CONF").get(t);r.onsuccess=function(t){var e;n({value:null===(e=r.result)||void 0===e?void 0:e.value,success:!0})},r.onerror=function(t){n({success:!1})}}))]:[2,{success:!1}]}}))}))}var Yo=0,Fo=function(t,e){return m(void 0,void 0,void 0,(function(){var n,r,i,o;return I(this,(function(s){switch(s.label){case 0:return n="".concat("REPORT_SESSION","_").concat(t),[4,Bo("".concat("REPORT_SESSION","_").concat(t))];case 1:return r=s.sent(),i=r.success,o=r.value,i?(e===(null==o?void 0:o.sessionId)||function(t,e){m(this,void 0,void 0,(function(){var n,r;return I(this,(function(i){switch(i.label){case 0:return[4,Lo];case 1:return(n=i.sent())?(r=n.db,r.transaction("RC_CONF","readwrite").objectStore("RC_CONF").put({key:t,value:e}),[2,!0]):[2,!1]}}))}))}(n,{sessionId:e}),[2]):[2]}}))}))},$o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return v(e,t),e.prototype.flush=function(t){!function(t){m(void 0,void 0,void 0,(function(){var e;return I(this,(function(n){switch(n.label){case 0:return[4,Lo];case 1:return(e=n.sent())?(Uo.push(t),Go(e.db),[2]):[2]}}))}))}(t)},e}(Ro),Ho=function(){function t(t,e,n,r,i){this.appkey=t,this.deviceId=e,this.deviceInfo=n,this.logDB=r,this.logger=i,this.userId="",this.timer=null,this.started=!1}return t.prototype.checkStart=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i;return I(this,(function(o){if(this.started)return[2];if(this.userId=t.userId,!t.logSwitch)return[2];try{e=JSON.parse(t.logPolicy)}catch(e){return this.logger.error(Q.L_REPORT_LOG_POLICY_E,JSON.stringify({policy:t.logPolicy})),[2]}return this.started=!0,n=e.url,r=e.level,i=e.itv,e.time,this.realtimeReport(n,r,i),[2]}))}))},t.prototype.realtimeReport=function(t,e,n){return m(this,void 0,void 0,(function(){var r,i,o,s,a,c,u,l,f,h,d,p,g=this;return I(this,(function(v){switch(v.label){case 0:return r=Date.now(),i=this.logDB.getTimestamp4RealtimeLog()||Oo,o=Math.max(r-5e3,i),s=this.logger.createTraceId(),this.logger.debug(Q.L_REALTIME_LOG_T,JSON.stringify({startTime:i,endTime:o,level:e}),s),[4,this.logDB.getLogs(i,o,e,!0)];case 1:return a=v.sent(),c=a.dbReady,u=a.logs,c?[3,2]:(this.logger.warn(Q.L_REALTIME_LOG_R,"db error",s),[3,6]);case 2:return 0!==u.length?[3,3]:(this.logger.debug(Q.L_REALTIME_LOG_R,"no logs",s),[3,6]);case 3:return this.logger.debug(Q.L_REALTIME_LOG_O,JSON.stringify({count:u.length}),s),[4,this.compressLogs(u)];case 4:return l=v.sent(),f=l.success,h=l.data,f||this.logger.warn(Q.L_REALTIME_LOG_O,"compress failed",s),this.logger.debug(Q.L_REALTIME_LOG_O,"compress done",s),d=At(t)?t:"https://".concat(t),d+="?version=".concat("5.6.1","&appkey=").concat(this.appkey,"&userId=").concat(this.userId,"&deviceId=").concat(this.deviceId,"&deviceInfo=").concat(this.deviceInfo,"&platform=Web"),[4,this.send({url:d,body:h,method:"POST"})];case 5:p=v.sent().status,this.logger.debug(Q.L_REALTIME_LOG_R,JSON.stringify({status:p}),s),200===p&&this.logDB.setTimestamp4RealtimeLog(o),v.label=6;case 6:return this.timer=setTimeout((function(){return g.realtimeReport(t,e,n)}),1e3*n),[2]}}))}))},t.prototype.report=function(t,e,n,r,i,o){return m(this,void 0,void 0,(function(){var s,a,c,u,l,f,h,d,p,g;return I(this,(function(v){switch(v.label){case 0:return"web"!==n.toLowerCase()?[2]:(s=this.logger.createTraceId(),this.logger.info(Q.L_REPORT_FULL_LOG_T,JSON.stringify({startTime:t,endTime:e,logId:i,messageUId:o}),s),[4,this.logDB.getLogs(t,e,Eo.DEBUG,!1)]);case 1:return a=v.sent(),c=a.dbReady,u=a.logs,this.logger.info(Q.L_REPORT_FULL_LOG_O,JSON.stringify({count:u.length}),s),l=At(r)?r:"https://".concat(r),l+="?version=".concat("5.6.1","&appkey=").concat(this.appkey,"&userId=").concat(this.userId,"&deviceId=").concat(this.deviceId,"&deviceInfo=").concat(this.deviceInfo,"&platform=Web&logId=").concat(i),c?u.length>0?[4,this.compressLogs(u)]:[3,3]:[3,5];case 2:return h=v.sent(),d=h.success,p=h.data,f=d?p:"compress failed",[3,4];case 3:f="no data",v.label=4;case 4:return[3,6];case 5:f="no database",v.label=6;case 6:return this.logger.debug(Q.L_REPORT_FULL_LOG_O,"compress done",s),[4,this.send({url:l,body:f,method:"POST"})];case 7:return g=v.sent().status,this.logger.info(Q.L_REPORT_FULL_LOG_R,JSON.stringify({status:g}),s),[2]}}))}))},t.prototype.stop=function(){this.timer&&(clearTimeout(this.timer),this.timer=null),this.started=!1},t}(),Vo=48,Qo=64,Wo=80,Zo=96,Ko="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",qo=Ko.length,Jo=function(t){for(var e={},n=0;n<t.length-1;n++){var r=t.charAt(n)+t.charAt(n+1);e.hasOwnProperty(r)?e[r].push(n):e[r]=[n]}for(var i=[],o=[],s=function(){if(o.length>0){var t=o.join("");if(o=[],t.length>26){var e=ts(t.length),n=String.fromCharCode(Wo|e.length);i.push(n+e)}else{var r=String.fromCharCode(Zo|t.length);i.push(r)}i.push(t)}},a=0;a<t.length;){var c=Xo(e,t,a);if(c.length<2)o.push(t.charAt(a++));else if(c.length<4)o.push(t.substr(a,c.length)),a+=c.length;else{var u=ts(a-c.offset),l=ts(c.length);if(u.length+l.length>=c.length)o.push(t.substr(a,c.length)),a+=c.length;else{s();var f=String.fromCharCode(Qo|u.length<<2|l.length);i.push(f+u+l),a+=c.length}}}s();var h=ts(t.length),d=String.fromCharCode(Vo|h.length);return i.push(d+h),i.join("")},Xo=function(t,e,n){var r={length:0,offset:-1};if(e.length,n>=e.length-1)return r;var i=t[e.charAt(n)+e.charAt(n+1)];if(i[0]===n)return r;for(var o=e.length-n,s=0,a=i.length;s<a;s++){var c=i[s],u=n-c;if(!(u>238327)){var l=Math.min(o,u);if(l<=r.length)break;if(!(r.length>2&&e.charAt(c+r.length-1)!==e.charAt(n+r.length-1))){for(var f=2,h=f;h<l&&e.charAt(c+h)===e.charAt(n+h);h++)f++;f>=r.length&&(r.length=f,r.offset=c)}}}return r},ts=function(t){var e=[],n=0;do{n=t%qo,e.push(Ko.charAt(n)),t=(t-n)/qo}while(t>0);return e.join("")},es=function(t){var e=t.sessionId,n=t.level,r=t.loggerId,i=t.traceId,o=t.time,s=t.tag,a=t.type,c=t.content,u=n<0?c||"":JSON.stringify({content:c,traceId:i,from:r});return u='"'.concat(u.replace(/"/g,'""'),'"'),"".concat(e,",").concat(o,",").concat(a,",").concat(n,",").concat(s,",").concat(u,"\n")},ns=function(t){function e(e,n,r,i){var o=this,s=Io(n),a=function(t){if("browser"!==t.tag)return{type:t.tag,version:"UnKonw"};var e,n,r=navigator.userAgent,i={IE:/rv:([\d.]+)\) like Gecko|MSIE ([\d.]+)/,Edge:/Edge\/([\d.]+)/,Firefox:/Firefox\/([\d.]+)/,Opera:/(?:OPERA|OPR).([\d.]+)/,WeChat:/MicroMessenger\/([\d.]+)/,QQBrowser:/QQBrowser\/([\d.]+)/,Chrome:/Chrome\/([\d.]+)/,Safari:/Version\/([\d.]+).*Safari/,iOSChrome:/Mobile\/([\d.]+).*Safari/};for(var o in i)if(i.hasOwnProperty(o)){var s=r.match(i[o]);if(s){n=o,e=s[1]||s[2];break}}return{type:n||"UnKonw",version:e||"UnKonw"}}(n),c="".concat(a.type,"|").concat(a.version,"|").concat(r.getSessionId());return o=t.call(this,e,s,c,{setTimestamp4RealtimeLog:function(t){Yo=t},getTimestamp4RealtimeLog:function(){return Yo},getLogs:function(t,e,n,r){return m(this,void 0,void 0,(function(){var i;return I(this,(function(o){switch(o.label){case 0:return[4,Lo];case 1:return(i=o.sent())?[2,new Promise((function(o){var s=i.db.transaction("RC_LOGS","readonly").objectStore("RC_LOGS"),a=[],c=IDBKeyRange.bound(t,e),u=s.index("time").openCursor(c);u.onsuccess=function(t){var e=t.target.result;if(e){var i=e.value;i.level<=n&&(r?i.sessionId===So:i.level>=0)&&a.push(i),e.continue()}else o({dbReady:!0,logs:a})},u.onerror=function(t){o({dbReady:!1,logs:[]})}}))]:[2,{dbReady:!1,logs:[]}]}}))}))}},r)||this,o.runtime=n,o.clientReportLevel=i,No(o.clientReportLevel)||(o.clientReportLevel=void 0),o}return v(e,t),e.prototype.send=function(t){return this.runtime.httpReq(t)},e.prototype.checkStart=function(e){return m(this,void 0,void 0,(function(){return I(this,(function(n){switch(n.label){case 0:return[4,Fo(e.userId,this.logger.getSessionId())];case 1:return n.sent(),[2,t.prototype.checkStart.call(this,e)]}}))}))},e.prototype.compressLogs=function(t){return m(this,void 0,void 0,(function(){return I(this,(function(e){return[2,{success:!0,data:Jo(t.map(es).join(""))}]}))}))},e.prototype.isReporter=function(){return m(this,void 0,void 0,(function(){return I(this,(function(t){switch(t.label){case 0:return[4,(e=this.userId,n=this.logger.getSessionId(),m(void 0,void 0,void 0,(function(){var t,r,i;return I(this,(function(o){switch(o.label){case 0:return[4,Bo("".concat("REPORT_SESSION","_").concat(e))];case 1:return t=o.sent(),r=t.success,i=t.value,[2,r&&(null==i?void 0:i.sessionId)===n]}}))})))];case 1:return[2,t.sent()]}var e,n}))}))},e.prototype.report=function(e,n,r,i,o,s){return m(this,void 0,void 0,(function(){return I(this,(function(a){switch(a.label){case 0:return[4,this.isReporter()];case 1:return a.sent()?[2,t.prototype.report.call(this,e,n,r,i,o,s)]:[2]}}))}))},e.prototype.realtimeReport=function(e,n,r){return m(this,void 0,void 0,(function(){return I(this,(function(i){return[2,t.prototype.realtimeReport.call(this,e,n,r)]}))}))},e}(Ho),rs=function(t,e,n,r,i,s,a){return{conversationType:t,targetId:e,senderUserId:s,messageDirection:w.SEND,isCounted:!!n.isCounted,isMentioned:!!n.isMentioned,content:n.content,messageType:n.messageType,isOffLineMessage:!1,isPersited:!!n.isPersited,messageUId:r,sentTime:i,receivedTime:0,disableNotification:!!n.disableNotification,isStatusMessage:!!n.isStatusMessage,canIncludeExpansion:!!n.canIncludeExpansion,expansion:n.canIncludeExpansion?n.expansion:null,receivedStatus:o.UNREAD,pushConfig:n.pushConfig,channelId:n.channelId,isInterrupt:n.isInterrupt,messageId:a||0}},is=function(t){return t.sort((function(t,e){var n,r,i=(null===(n=t.latestMessage)||void 0===n?void 0:n.sentTime)||0;return((null===(r=e.latestMessage)||void 0===r?void 0:r.sentTime)||0)-i}))},os=function(t){function e(e,n,r,i){var o=t.call(this,e,n,r,i,new $o(i.appkey,"RC-E","IM"))||this;return o.naviInfo=null,o._customMessageType={},o._reconnectTimer=-1,o._pullOfflineFinished=!1,o._miniConnectUrl="",o.currentUserId="",o._connectedTime=0,o._localConnectedTime=0,o._status=L.DISCONNECTED,o._pullingMsg=!1,o._pullQueue=[],o._chrmsQueue={},o._latestSyncTimestamp=0,o._intervalTimer=-1,o._intervalTimerForChrmPull=-1,o._lastSyncUltraMsgTimeStamp=0,o._lastSyncUltraMsgLocalTimeStamp=0,o._ultraGroupTimer=-1,o._isUltraPulling=!1,o._ultraGroupTimeQue=[],o._isUltraGroupListExist=!1,o._ultraGroupMap={},o._ultraMsgMap={},o._pullUltraChangeMessageQue=[],o._isPullingUltraChangeMessage=!1,o._lastPullingUltraChangeMessageTime=0,o._ultraMsgChangeMap={},o.logger.setOutputLevel(i.logOutputLevel),ko(o._appkey,o.logger,i.logExpireTime),o.reporter=new ns(o._appkey,o.runtime,o.logger,o._options.__reportLogLevel),o._letterbox=new Ji(e,i.appkey),o._sendMessageStore=new mo(e,i.appkey),o._chrmEntryHandler=new eo(o),o}return v(e,t),e.prototype._formatJSONPUrl=function(t,e,n,r){return"".concat(t,"/navi.js?appId=").concat(n,"&token=").concat(encodeURIComponent(e),"&callBack=").concat(r,"&v=").concat(this._apiVersion,"&r=").concat(Date.now())},e.prototype.getNaviInfo=function(e,n,r){var i;return m(this,void 0,void 0,(function(){var o;return I(this,(function(s){switch(s.label){case 0:return this.runtime.useNavi||(o=c.join(","),this._miniConnectUrl=(null===(i=this._options.miniCMPProxy)||void 0===i?void 0:i.length)?this._options.miniCMPProxy.join(","):o||"",n=[]),[4,t.prototype.getNaviInfo.call(this,e,n,r)];case 1:return[2,s.sent()]}}))}))},e.prototype.createLogger=function(t,e){return new $o(this._appkey,t,e)},e.prototype.requestNaviInfo=function(t,e,n){return m(this,void 0,void 0,(function(){var r,i,o,s,a,c,u,l,f,h;return I(this,(function(d){switch(d.label){case 0:r="getServerEndpoint",i=0,o=t.length,d.label=1;case 1:return i<o?(s=this._formatJSONPUrl(t[i],n,e,r),this.logger.debug(Q.O,"req navi => ".concat(s)),(new Date).getTime(),tn.IM_NAVI,[4,this.runtime.httpReq({url:s,timeout:1e4,dataType:"text"})]):[3,4];case 2:if(a=d.sent(),(new Date).getTime(),tn.IM_NAVI,200!==a.status)return c=void 0,403===a.status?(c=S.RC_CONN_USER_OR_PASSWD_ERROR,this.logger.error(Q.O,"request navi error: ".concat(c))):401===a.status&&(c=S.RC_CONN_APP_BLOCKED_OR_DELETED,this.logger.error(Q.O,"request navi error: ".concat(c))),tn.IM_NAVI,Yi(this.runtime),[3,3];try{return u=a.data.match(/{[\d\D]+}/),0===(l=u&&u[0]?u[0]:"").indexOf('{\\"code\\":')&&(l=JSON.parse('"'.concat(l,'"'))),h=JSON.parse(l),f=/^https/.test(s)?"https":"http",h.protocol=f,this.runtime.useNavi||(h.server="",h.backupServer=this._miniConnectUrl,h.logSwitch=0),h.type===Zt.PRIVATE?Zt.PRIVATE:Zt.OPEN,tn.IM_NAVI,S.SUCCESS,Yi(this.runtime),this.naviInfo=h,[2,h]}catch(t){this.logger.error(Q.O,"parse navi err => ".concat(null==t?void 0:t.stack))}d.label=3;case 3:return i+=1,[3,1];case 4:return this.runtime.useNavi?[2,null]:(h={code:200,protocol:"https",server:"",voipCallInfo:"",kvStorage:0,openHttpDNS:!1,historyMsg:!1,chatroomMsg:!1,uploadServer:"https://upload.qiniup.com",bosAddr:"https://gz.bcebos.com",location:"",monitor:0,joinMChrm:!1,openMp:0,openUS:0,grpMsgLimit:0,isFormatted:0,gifSize:2048,logSwitch:0,logPolicy:"",compDays:0,msgAck:"",activeServer:"",qnAddr:"",extkitSwitch:0,alone:!1,voipServer:"",offlinelogserver:"",backupServer:this._miniConnectUrl},tn.IM_NAVI,h.code,Yi(this.runtime),this.naviInfo=h,[2,h])}}))}))},e.prototype.getNaviInfoFromCache=function(){return this.naviInfo?y({},this.naviInfo):null},e.prototype.getConnectedTime=function(){return this._connectedTime},e.prototype.connect=function(t,e){return m(this,void 0,void 0,(function(){var n,r,i,o,s,a=this;return I(this,(function(c){switch(c.label){case 0:return n=[],this.naviInfo=e,e.server?n.push(e.server):this.logger.warn(Q.L_NAVI_CONF_E,JSON.stringify({server:e.server})),null==(r=e.backupServer)||r.split(",").forEach((function(t){n.indexOf(t)<0&&n.push(t)})),0===n.length?(this.logger.error(Q.L_NAVI_CONF_E,JSON.stringify({server:e.server,backupServer:r})),[2,S.UNKNOWN]):(i=new zi(this.runtime,{status:function(r){a._connectionStatusHandler(r,t,n,e.protocol)},signal:this._signalHandler.bind(this)},this.logger),o=Ee.V3,1===e.openAnti&&(o=Ee.V4),[4,i.connect(this._appkey,t,n,e.protocol,this._apiVer,o)]);case 1:return(s=c.sent())===S.SUCCESS?(this._channel=i,this.currentUserId=i.userId,this._connectedTime=i.connectedTime,this._localConnectedTime=Math.floor((Date.now()+i.sendConnectTime)/2),this._onConnectionStatusChange(L.CONNECTED),this.reporter.checkStart(e),this._status=L.CONNECTED,this._pullOfflineFinished=!1,this._conversationManager=new go(this,this._appkey,this.currentUserId,this._watcher.conversation,this._watcher.conversationTag),this._ultraGroupManager=new wo(this,this._appkey,this.currentUserId),this._conversationManager.startPullConversationStatus(0),this._userSettingManager=new vo(this,this._appkey,this.currentUserId,this._watcher.tag),this._userSettingManager.pullUserSettings(0),this._sendMessageStore.init(this.currentUserId),this._conversationManager.adaptOldStore(),this._joinedChrmManager=new no(this.runtime,this._appkey,this.currentUserId,e.joinMChrm,this.logger),this._startSyncInterval(),1===e.ugMsg&&this._notificationOnline()):i.close(),[2,s]}}))}))},e.prototype._connectionStatusHandler=function(t,e,n,r){switch(this._status=t,t){case L.CONNECTING:case L.CONNECTED:this._onConnectionStatusChange(t);break;case L.REDIRECT:case L.BLOCKED:case L.KICKED_OFFLINE_BY_OTHER_CLIENT:case L.DISCONNECT_BY_SERVER:case L.USER_LOGOUT:this._resetMemoryState(),this._onConnectionStatusChange(t);break;default:this._onConnectionStatusChange(t),this._try2Reconnect(e,n,r)}},e.prototype._try2Reconnect=function(t,e,n){var r,i;return m(this,void 0,void 0,(function(){var o,s=this;return I(this,(function(a){switch(a.label){case 0:return this._channel?(o=Ee.V3,1===(null===(r=this.naviInfo)||void 0===r?void 0:r.openAnti)&&(o=Ee.V4),[4,this._channel.connect(this._appkey,t,e,n,this._apiVer,o)]):[2];case 1:switch(a.sent()){case S.SUCCESS:return this._pullOfflineFinished=!1,this._startSyncInterval(),this._watcher.status(L.CONNECTED),this._status=L.CONNECTED,1===(null===(i=this.naviInfo)||void 0===i?void 0:i.ugMsg)&&this._notificationOnline(),this._rejoinChrm(),[2];case S.RC_CONN_USER_OR_PASSWD_ERROR:return this._watcher.status(L.RC_CONN_USER_OR_PASSWD_ERROR),this._status=L.RC_CONN_USER_OR_PASSWD_ERROR,[2];default:this._watcher.status(L.WEBSOCKET_UNAVAILABLE),this._status=L.WEBSOCKET_UNAVAILABLE}return this._reconnectTimer=setTimeout((function(){s._reconnectTimer=-1,s._try2Reconnect(t,e,n)}),5e3),[2]}}))}))},e.prototype._signalHandler=function(t,e){var n=t.syncMsg,r=t.topic;if(n)this._receiveSyncMsg(t,e);else{var i=this.logger.createTraceId();this.logger.debug(Q.L_RECV_RMTP_O,r,i);var o=nn[r];if(o)switch(o){case nn.s_ntf:this._pullMsg(t);break;case nn.s_msg:this._receiveMsg(t);break;case nn.s_cmd:this._receiveStateNotify(t);break;case nn.s_us:this._receiveSettingNotify(t);break;case nn.rtc_ntf:this._receiveRtcKv(t.data);break;case nn.s_opNtf:this._pullOperateStatusNotify(t)}else this.logger.error(Q.L_RECV_RMTP_E,r,i)}},e.prototype._receiveStateNotify=function(t){var e,n=null===(e=this._channel)||void 0===e?void 0:e.codec.decodeByPBName(t.data,yr),r=n.time,i=n.type,o=n.chrmId;switch(i){case 2:this._chrmEntryHandler.pullEntry(o,r);break;case 3:this._conversationManager.startPullConversationStatus(r);break;case 4:this._chrmEntryHandler.reset(o),this._watcher.chatroom({chatroomDestroyed:t.targetId});break;case 6:this._ultraGroupTimeQue.push(r),this._syncUltraMsg(this._lastSyncUltraMsgTimeStamp);break;case 7:this._pullUltraChangeMessageQue.push(r),this._pullUltraChangeMessageList(this._lastPullingUltraChangeMessageTime)}},e.prototype._receiveSettingNotify=function(t){var e,n=(null===(e=this._channel)||void 0===e?void 0:e.codec.decodeByPBName(t.data,Xr)).version;this._userSettingManager.pullUserSettings(n)},e.prototype._receiveMessageExpansion=function(t){var e=t.content,n=e.put,r=e.del,i=e.mid;n&&this._watcher.expansion({updatedExpansion:{messageUId:i,expansion:n}}),r&&this._watcher.expansion({deletedExpansion:{messageUId:i,deletedKeys:r}})},e.prototype._receiveSyncMsg=function(t,e){var n,r;if(Mo.includes(t.topic)){if(t.topic===nn[nn.updUgRTime]){var i=null===(n=this._channel)||void 0===n?void 0:n.codec.decodeByPBName(t.data,Sr),o=i.channelId,s=i.busChannel,a=this._ultraGroupMap["".concat(s,"_").concat(o)];return a&&(a.unreadMessageCount=0,a.unreadMentionedCount=0,a.firstUnreadMessage&&(a.firstUnreadMessage=null),a.lastReadTime=e.timestamp,this._watcher.conversation(ve([a]))),void(e&&(this._ultraMsgMap[e.messageUId]=e.timestamp))}var c=null===(r=this._channel)||void 0===r?void 0:r.codec.decodeByPBName(t.data,ur,{currentUserId:this.currentUserId,signal:t});((c=this._handleMsgProperties(c)).conversationType!==D.CHATROOM||this._chrmsQueue[c.targetId])&&(e&&(c.sentTime=e.timestamp,c.messageUId=e.messageUId),this.logger.info(Q.L_RECV_MULTI_SYNC_MSG_O,JSON.stringify({messageUId:c.messageUId,messgeId:c.messageId,sentTime:c.sentTime})),this._pullingMsg?this._pullQueue.push((null==e?void 0:e.timestamp)||c.sentTime):(e&&this._sendMessageStore.setMessage(e.messageUId,e.timestamp),c.messageType!==k.EXPANSION_NOTIFY?(c.messageType===k.SYNC_READ_STATUS&&this._conversationManager.clearUnreadCount(c.conversationType,c.targetId,c.channelId),this._conversationManager.setConversationCacheByMessage(c,!0),this._batchMessage([c])):this._receiveMessageExpansion(c)))}},e.prototype._batchMessage=function(t){for(var e=this,n=[],r=[],i=t.length-1;i>=0;i-=1){var o=t[i];o.messageType!==k.LOG_COMMAND||"rongcloudsystem"!==o.senderUserId?n.unshift(o):r.unshift(o)}this._watcher.batchMessage(n),0!==r.length&&r.forEach((function(t){var n=t.content,r=n.startTime,i=n.endTime,o=n.platform,s=n.logId,a=n.uri;e.reporter.report(parseInt(r,10),parseInt(i,10),o,a,s,t.messageUId)}))},e.prototype._pullMsg=function(t){if(this._channel){var e=this._channel.codec.decodeByPBName(t.data,yr),n=e.type,r=e.chrmId,i=e.time;if(2===n){var o=this._chrmsQueue[r];if(!o)return;o.queue.push(i),this._pullChrmMsg(r)}else this._pullQueue.push(i),this._syncMsg()}},e.prototype._startSyncInterval=function(){var t=this;this._stopSyncInterval(),this._intervalTimer=setInterval((function(){Date.now()-t._latestSyncTimestamp>=18e4&&t._syncMsg()}),3e4),this._latestSyncTimestamp=Date.now(),this._syncMsg()},e.prototype._stopSyncInterval=function(){-1!==this._intervalTimer&&(clearInterval(this._intervalTimer),this._intervalTimer=-1)},e.prototype._syncMsg=function(){return m(this,void 0,void 0,(function(){var t,e,n,r,i,o,s,a,c,u,l,f,h,d,p,g,v,y,m,M=this;return I(this,(function(I){switch(I.label){case 0:return this._pullingMsg?[2]:this._channel?(this._pullingMsg=!0,t=this._letterbox.getOutboxTime(this.currentUserId),e=this._letterbox.getInboxTime(this.currentUserId),n=this._letterbox.getBroadcastSyncTime(this.currentUserId),r=this._channel.codec.encodeSyncMsg({sendboxTime:t,inboxTime:e,broadcastSyncTime:n}),i=new Ze(nn[nn.pullMsg],r,this.currentUserId),o=this.logger.createTraceId(),this.logger.debug(Q.L_PULL_MSG_T,JSON.stringify({outboxTime:t,inboxTime:e,broadcastSyncTime:n}),o),[4,this._channel.send(i,hr,{connectedTime:this._channel.connectedTime,currentUserId:this.currentUserId})]):(this._pullingMsg=!1,[2]);case 1:return s=I.sent(),a=s.code,c=s.data,this._latestSyncTimestamp=Date.now(),a!==S.SUCCESS||!c||bt(c.finished)||bt(c.list)||bt(c.syncTime)?(this.logger.warn(Q.L_PULL_MSG_R,JSON.stringify({code:a,timestamp:this._latestSyncTimestamp}),o),this._pullingMsg=!1,[2]):(u=c.list,l=c.finished,f=c.syncTime,h=c.broadcastSyncTime,d=void 0===h?1:h,this.logger.info(Q.L_PULL_MSG_R,JSON.stringify({syncTime:f,finished:l,messages:u.map((function(t){return{messageUId:t.messageUId,messageId:t.messageId,sentTime:t.sentTime}}))}),o),p=0,g=[],v=[],u.forEach((function(t){if(g.push(t.messageUId),t.messageDirection===w.SEND&&(p=Math.max(t.sentTime,p),M._sendMessageStore.getSendMessageMap()[t.messageUId]))M._sendMessageStore.removeByUID(t.messageUId);else if(t.messageType!==k.DELIVERED&&t.messageType!==k.DELIVERED_MSG)if(t.messageType!==k.EXPANSION_NOTIFY){if(t.messageType===k.SYNC_READ_STATUS){if(t.senderUserId!==M.currentUserId)return;M._conversationManager.clearUnreadCount(t.conversationType,t.targetId,t.channelId)}var e=M._handleMsgProperties(t);M._conversationManager.setConversationCacheByMessage(e,!0),v.push(e)}else M._receiveMessageExpansion(t)})),this._batchMessage(v),this._letterbox.setInboxTime(f,this.currentUserId),this._letterbox.setOutboxTime(p,this.currentUserId),this._letterbox.setBroadcastSyncTime(d,this.currentUserId),this._sendMessageStore.removeByTimestamp(p),this._pullingMsg=!1,y=this._pullQueue.filter((function(t){return t>f})),this._pullQueue.length=0,(m=this._pullQueue).push.apply(m,y),l&&!this._pullOfflineFinished&&(this._pullOfflineFinished=!0,this._watcher.pullFinished()),this.logger.info(Q.L_PULL_MSG_R,JSON.stringify({code:a,messageUIds:g.join(","),timestamp:this._latestSyncTimestamp,hasmore:!l}),o),(!l||y.length>0)&&this._syncMsg(),[2])}}))}))},e.prototype._receiveMsg=function(t){if(this._channel){var e=this._channel.codec.decodeByPBName(t.data,fr,{currentUserId:this.currentUserId,connectedTime:this._channel.connectedTime});if(e=this._handleMsgProperties(e),this.logger.info(Q.L_RECV_S_MSG_O,JSON.stringify({messageUId:e.messageUId,messgeId:e.messageId,sentTime:e.sentTime})),e.messageType!==k.DELIVERED&&e.messageType!==k.DELIVERED_MSG){if(e.conversationType!==D.RTC_ROOM){if(this._pullingMsg)return;if(this._pullQueue.length>0)return void this._syncMsg()}e.senderUserId===this.currentUserId&&this._sendMessageStore.setMessage(e.messageUId,e.sentTime),e.isStatusMessage||e.senderUserId===this.currentUserId||this._letterbox.setInboxTime(e.sentTime,this.currentUserId),e.messageType!==k.EXPANSION_NOTIFY?e.messageType===k.SYNC_READ_STATUS&&e.senderUserId!==this.currentUserId||(this._conversationManager.setConversationCacheByMessage(e,!0),this._batchMessage([e])):this._receiveMessageExpansion(e)}}},e.prototype._handleMsgProperties=function(t,e){void 0===e&&(e=!1);var n,r=t.messageType,i=t.isCounted,o=t.isPersited,s=t.isStatusMessage,a=r in u,c=r in this._customMessageType;if(n=a?y(y({},u[r]),{isStatusMessage:l.includes(r)}):c?this._customMessageType[r]:{isCounted:!_t(i)&&i,isPersited:!_t(o)&&o,isStatusMessage:!1},Object.assign(t,n),e&&!bt(s)&&(t.isStatusMessage=s),!e){var f=t.content.user;if(f){var h=f.portrait,d=f.portraitUri,p=h||d;p&&(f.portrait=f.portraitUri=p)}}return t},e.prototype.getHistoryMessage=function(t,e,n,r,i,o,s,a){var c;return void 0===o&&(o=""),m(this,void 0,void 0,(function(){var s,u,l,f,h,d,p,g,v,y;return I(this,(function(m){switch(m.label){case 0:return u=(s=this).currentUserId,l=s._channel,f=nr[t]||Kn,h=1===r&&0===n,l?(d=l.codec.encodeGetHistoryMsg(e,{timestamp:n,count:h?2:r,order:i,channelId:o}),this.logger.info(Q.L_GET_HISTORY_MSG_T,JSON.stringify({targetId:e,conversationType:t,channelId:o,timestamp:n,count:r,order:i}),a),[4,l.send(new Ze(f,d,u),Ir,{currentUserId:u,connectedTime:l.connectedTime,conversation:{targetId:e}})]):[3,2];case 1:return p=m.sent(),(g=p.code)===S.SUCCESS&&d?(v=p.data,h&&2===v.list.length&&(v.hasMore=!0,0===i?v.list.shift():v.list.pop()),y=[],null===(c=v.list)||void 0===c||c.forEach((function(t){t&&y.push(t.messageUId)})),this.logger.info(Q.L_GET_HISTORY_MSG_R,JSON.stringify({code:g,messageUIds:y.join(",")}),a),[2,{code:g,data:{list:v.list,hasMore:v.hasMore}}]):(this.logger.warn(Q.L_GET_HISTORY_MSG_R,JSON.stringify({code:g,messageUIds:""}),a),[2,{code:g}]);case 2:return[2,{code:S.RC_NET_CHANNEL_INVALID}]}}))}))},e.prototype.reportSDKInfo=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o,s,a,c;return I(this,(function(u){switch(u.label){case 0:return n=(e=this).currentUserId,(r=e._channel)?(i=this.logger.createTraceId(),o=JSON.stringify(t),this.logger.debug(Q.L_VER_REPORT_T,o,i),s=r.codec.encodeReportSDKInfo(o),a=new Ze(nn[nn.reportsdk],s,n),[4,r.send(a)]):[2];case 1:return(c=u.sent().code)!==S.SUCCESS&&this.logger.warn(Q.L_VER_REPORT_R,c,i),[2]}}))}))},e.prototype.deleteRemoteMessage=function(t,e,n,r){return m(this,void 0,void 0,(function(){var i,o,s,a,c,u,l;return I(this,(function(f){switch(f.label){case 0:return o=(i=this).currentUserId,(s=i._channel)?(a=s.codec.encodeDeleteMessages(t,e,n,r),c=new Ze(Un,a,o),[4,s.send(c)]):[3,2];case 1:return u=f.sent(),l=u.code,S.SUCCESS,[2,l];case 2:return[2,S.RC_NET_CHANNEL_INVALID]}}))}))},e.prototype.deleteRemoteMessageByTimestamp=function(t,e,n,r){return m(this,void 0,void 0,(function(){var i,o,s,a,c,u,l,f;return I(this,(function(h){switch(h.label){case 0:return o=(i=this).currentUserId,(s=i._channel)?(a=s.codec.encodeClearMessages(e,n,r,t),c=rr[t],u=new Ze(c,a,o),[4,s.send(u)]):[3,2];case 1:return l=h.sent(),f=l.code,S.SUCCESS,[2,f];case 2:return[2,S.RC_NET_CHANNEL_INVALID]}}))}))},e.prototype.getConversationList=function(t,e,n,r,i){return void 0===t&&(t=300),m(this,void 0,void 0,(function(){var i,o,s,a,c,u,l,f,h=this;return I(this,(function(d){switch(d.label){case 0:return o=(i=this).currentUserId,s=i._channel,e=e||D.PRIVATE,s?(a=s.codec.encodeOldConversationList({count:t,type:e,startTime:n,order:r}),c=new Ze(Vn,a,o),[4,s.send(c,br,{currentUserId:o,connectedTime:s.connectedTime,afterDecode:function(t){var e=t.conversationType,n=t.targetId,r=t.channelId,i=h._conversationManager.get(e,n,r);return Object.assign(t,i),t}})]):[3,2];case 1:return u=d.sent(),l=u.code,f=u.data,l!==S.SUCCESS?[2,{code:l}]:[2,{code:l,data:null==f?void 0:f.list}];case 2:return[2,{code:S.RC_NET_CHANNEL_INVALID}]}}))}))},e.prototype.removeConversation=function(t,e,n){return m(this,void 0,void 0,(function(){var r,i,o,s,a;return I(this,(function(c){switch(c.label){case 0:return(r=this._channel)?(i=r.codec.encodeRemoveOldConversationList({conversationType:t,channelId:n,targetId:e}),o=new Ze(Qn,i,e),[4,r.send(o)]):[3,2];case 1:return s=c.sent(),a=s.code,S.SUCCESS,[2,a];case 2:return[2,S.RC_NET_CHANNEL_INVALID]}}))}))},e.prototype.getConversation=function(t,e,n){return m(this,void 0,void 0,(function(){var r,i,o,s,a,c;return I(this,(function(u){switch(u.label){case 0:return t!==D.ULTRA_GROUP?[3,1]:(r=this._ultraGroupMap["".concat(n,"_").concat(e)])?[3,3]:[2,{code:S.CONVER_GET_ERROR}];case 1:return(i=this._conversationManager.get(t,e,n))?[4,this.getHistoryMessage(t,e,0,1,0)]:[2,{code:S.CONVER_GET_ERROR}];case 2:if(o=u.sent(),s=o.code,a=o.data,s!==S.SUCCESS)return[2,{code:S.CONVER_GET_ERROR}];c=(null==a?void 0:a.list[0])||null,r={conversationType:t,targetId:e,channelId:n,unreadMessageCount:i.unreadMessageCount||0,latestMessage:c,notificationStatus:i.notificationStatus||U.CLOSE,notificationLevel:i.notificationLevel||G.NOT_SET,isTop:i.isTop||!1,lastUnreadTime:i.lastUnreadTime||0,unreadMentionedCount:i.unreadMentionedCount||0},u.label=3;case 3:return[2,{code:S.SUCCESS,data:r}]}}))}))},e.prototype.getAllConversationUnreadCount=function(t,e,n){var r=this._conversationManager.getAllUnreadCount(t,e,n);return Promise.resolve({code:S.SUCCESS,data:r})},e.prototype.getTotalUnreadCountByLevels=function(t,e,n){void 0===n&&(n=!1);var r=0;if(t.includes(D.ULTRA_GROUP)){if(!this._isUltraGroupListExist)return Promise.resolve({code:S.METHOD_NOT_AVAILABLE});for(var i in this._ultraGroupMap){var o=this._ultraGroupMap[i];(0===e.length||e.includes(o.notificationLevel))&&(r+=n?o.unreadMentionedCount:o.unreadMessageCount)}}return r+=this._conversationManager.getTotalUnreadCountByLevels(t,e,n),Promise.resolve({code:S.SUCCESS,data:r})},e.prototype.getConversationUnreadCount=function(t,e,n){var r,i;return i=t===D.ULTRA_GROUP?(null===(r=this._ultraGroupMap["".concat(n,"_").concat(e)])||void 0===r?void 0:r.unreadMessageCount)||0:this._conversationManager.getUnreadCount(t,e,n),Promise.resolve({code:S.SUCCESS,data:i})},e.prototype.clearConversationUnreadCount=function(t,e,n){return this._conversationManager.clearUnreadCount(t,e,n,!1),Promise.resolve(S.SUCCESS)},e.prototype.clearAllUnreadCount=function(){return this._conversationManager.clearAllUnreadCount(),Promise.resolve(S.SUCCESS)},e.prototype.getFirstUnreadMessage=function(t,e){throw new Error("Method not implemented.")},e.prototype.saveConversationMessageDraft=function(t,e,n,r){return this._conversationManager.setDraft(t,e,n,r),Promise.resolve(S.SUCCESS)},e.prototype.getConversationMessageDraft=function(t,e,n){var r=this._conversationManager.getDraft(t,e,n);return Promise.resolve({code:S.SUCCESS,data:r})},e.prototype.clearConversationMessageDraft=function(t,e,n){return this._conversationManager.clearDraft(t,e,n),Promise.resolve(S.SUCCESS)},e.prototype.pullConversationStatus=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o,s,a,c,u,l=this;return I(this,(function(f){switch(f.label){case 0:return n=(e=this)._channel,r=e.currentUserId,n?(i=n.codec.encodeGetConversationStatus(t),o=new Ze(nn[nn.pullSeAtts],i,r),[4,n.send(o,ei)]):[3,2];case 1:return s=f.sent(),a=s.code,c=s.data,this.logger.info(Q.L_PULL_CONVERSATION_S,JSON.stringify({timestamp:t,userId:r})),a!==S.SUCCESS?[2,{code:a}]:(u=[],Array.isArray(c)&&c.forEach((function(t){var e=t.conversationType,n=t.targetId,r=t.notificationStatus,i=t.channelId,o=t.isTop,s=t.notificationLevel,a=t.updatedTime;a&&l._conversationManager.setConversationUpdatedTime(a);var c=l._ultraGroupMap["".concat(i,"_").concat(n)];e===D.ULTRA_GROUP?c&&(void 0!==r&&(c.notificationStatus=r),void 0!==s&&(c.notificationLevel=s),void 0===s&&void 0===r||l._ultraGroupManager.addUltraGroupStatus(t),"boolean"==typeof o&&(c.isTop=o)):u.push(t)})),[2,{code:a,data:u}]);case 2:return[2,{code:S.RC_NET_CHANNEL_INVALID}]}}))}))},e.prototype.batchSetConversationStatus=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o,s,a,c,u,l,f,h,d=this;return I(this,(function(p){switch(p.label){case 0:return n=(e=this).currentUserId,(r=e._channel)?(i=this._conversationManager.getConversationUpdatedTime(),o=r.codec.encodeSetConversationStatus(t,i),s=new Ze(Wn,o,n),[4,r.send(s,oi)]):[3,2];case 1:return a=p.sent(),c=a.code,u=a.data,c===S.SUCCESS?(l=u,this._conversationManager.setConversationUpdatedTime(l.version),f=[],t.forEach((function(t){var e=t.conversationType,n=t.targetId,r=t.notificationStatus,i=t.notificationLevel,o=t.channelId,s=t.isTop;if(e===D.ULTRA_GROUP){var a=d._ultraGroupMap["".concat(o,"_").concat(n)];a&&(void 0!==r&&(a.notificationStatus=r),void 0!==i&&(a.notificationLevel=i),void 0===i&&void 0===r||d._ultraGroupManager.addUltraGroupStatus(a),void 0!==s&&(a.isTop=s),f.push(a))}else d._conversationManager.addStatus(y(y({},t),{updatedTime:l.version}),!0)})),f.length>0&&(h=ve(f),h=is(h),this._watcher.conversation(h)),[2,c]):[2,c];case 2:return[2,S.RC_NET_CHANNEL_INVALID]}}))}))},e.prototype._joinChrm=function(t,e,n,r){return m(this,void 0,void 0,(function(){var i,o,s,a,c,u,l,f,h;return I(this,(function(d){switch(d.label){case 0:return(i=this._channel)?(o=i.codec.encodeJoinOrQuitChatRoom(),a=new Ze(s=n?Gn:zn,o,t),this.logger.info(Q.L_JOIN_CHATROOM_T,JSON.stringify({chatroomId:t,count:e,topic:s}),r),[4,i.send(a,Dr)]):[2,S.RC_NET_CHANNEL_INVALID];case 1:return c=d.sent(),u=c.code,l=c.data,f=u===S.SUCCESS?"info":"warn",this.logger[f](Q.L_JOIN_CHATROOM_R,JSON.stringify({code:u,timestamp:(new Date).getTime()}),r),u===S.SUCCESS&&(h=l.joinTime,this._chrmsQueue[t]||(this._chrmsQueue[t]={pulling:!1,queue:[],timestamp:0}),this._pullChrmMsg(t,e,h),this.naviInfo.kvStorage&&this._chrmEntryHandler.pullEntry(t,0),this._joinedChrmManager.set(t,e),this._startSyncIntervalForChrmPull()),[2,u]}}))}))},e.prototype._rejoinChrm=function(){return m(this,void 0,void 0,(function(){var t,e,n,r,i,o,s,a;return I(this,(function(c){switch(c.label){case 0:for(n in t=this._joinedChrmManager.get(),e=[],t)e.push(n);r=0,c.label=1;case 1:return r<e.length?(i=e[r],this.logger.info(Q.L_REJOIN_CHATROOM_T,JSON.stringify({chatroomId:i,count:t[i]||10,topic:Gn})),o=this.logger.createTraceId(),[4,this._joinChrm(i,t[i]||10,!0,o)]):[3,4];case 2:s=c.sent(),a=s===S.SUCCESS?"info":"warn",this.logger[a](Q.L_REJOIN_CHATROOM_R,JSON.stringify({code:s,timestamp:(new Date).getTime()}),o),s===S.SUCCESS?this._watcher.chatroom({rejoinedRoom:{chatroomId:i,count:t[i]}}):this._watcher.chatroom({rejoinedRoom:{chatroomId:i,errorCode:s}}),c.label=3;case 3:return r++,[3,1];case 4:return[2]}}))}))},e.prototype._pullChrmMsg=function(t,e,n){return void 0===e&&(e=10),void 0===n&&(n=0),m(this,void 0,void 0,(function(){var r,i,o,s,a,c,u,l,f,h,d,p,g;return I(this,(function(v){switch(v.label){case 0:return this._channel?(r=this._chrmsQueue[t],i=r.pulling,o=r.timestamp,i?[2]:(r.pulling=!0,s=this._channel.codec.encodeChrmSyncMsg(o,e),a=new Ze(nn[nn.chrmPull],s,t),this.logger.info(Q.L_PULL_CHATROOM_MSG_T,JSON.stringify({chatroomId:t,timestamp:o})),[4,this._channel.send(a,hr,{connectedTime:this._channel.connectedTime,currentUserId:this.currentUserId})])):[2];case 1:return c=v.sent(),u=c.code,l=c.data,r.pulling=!1,u===S.SUCCESS&&l?(f=l.list,h=l.syncTime,d=l.finished,r.timestamp=n?Math.max(h,n):h,r.queue=r.queue.filter((function(t){return t>h})),p=[],g=[],f.forEach((function(t){t.sentTime<o||(p.push(t.messageUId),g.push(t))})),this._batchMessage(g),this.logger.info(Q.L_PULL_CHATROOM_MSG_R,JSON.stringify({code:u,timestamp:o,messageUIds:p.join(",")})),(!d||r.queue.length>0)&&this._pullChrmMsg(t),[2]):(this.logger.warn(Q.L_PULL_CHATROOM_MSG_R,JSON.stringify({code:u,timestamp:o,messageUIds:""})),[2])}}))}))},e.prototype.joinChatroom=function(t,e,n){return m(this,void 0,void 0,(function(){return I(this,(function(r){return[2,this._joinChrm(t,e,!1,n)]}))}))},e.prototype.joinExistChatroom=function(t,e,n){return m(this,void 0,void 0,(function(){return I(this,(function(r){return[2,this._joinChrm(t,e,!0,n)]}))}))},e.prototype.quitChatroom=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o;return I(this,(function(s){switch(s.label){case 0:return(e=this._channel)?(n=e.codec.encodeJoinOrQuitChatRoom(),r=new Ze(Bn,n,t),[4,e.send(r)]):[2,S.RC_NET_CHANNEL_INVALID];case 1:return i=s.sent(),(o=i.code)===S.SUCCESS&&(delete this._chrmsQueue[t],this._chrmEntryHandler.reset(t),this._joinedChrmManager.remove(t)),[2,o]}}))}))},e.prototype.getChatroomInfo=function(t,e,n){return m(this,void 0,void 0,(function(){var r,i,o,s,a,c;return I(this,(function(u){switch(u.label){case 0:return(r=this._channel)?(i=r.codec.encodeGetChatRoomInfo(e,n),o=new Ze(nn[nn.queryChrmI],i,t),[4,r.send(o,Lr)]):[2,{code:S.RC_NET_CHANNEL_INVALID}];case 1:return s=u.sent(),a=s.code,c=s.data,a!==S.SUCCESS?[2,{code:a}]:[2,{code:a,data:c}]}}))}))},e.prototype.getChatroomHistoryMessages=function(t,e,n,r){return m(this,void 0,void 0,(function(){var i,o,s,a,c,u;return I(this,(function(l){switch(l.label){case 0:return(i=this._channel)?(o=i.codec.encodeGetHistoryMsg(t,{timestamp:e,count:n,order:r}),s=new Ze(Jn,o,t),[4,i.send(s,Ir,{conversation:{targetId:t}})]):[2,{code:S.RC_NET_CHANNEL_INVALID}];case 1:return a=l.sent(),c=a.code,u=a.data,c!==S.SUCCESS?[2,{code:c}]:[2,{code:c,data:{list:u.list,hasMore:u.hasMore}}]}}))}))},e.prototype._modifyChatroomKV=function(t,e){return m(this,void 0,void 0,(function(){var n,r,i,o,s,a,c,u,l;return I(this,(function(f){switch(f.label){case 0:return r=(n=this)._channel,i=n.currentUserId,r?(o=this._chrmEntryHandler.getVersion(t,e.key),e.version=null==o?this.getServerTime():o,s=r.codec.encodeModifyChatRoomKV(t,e,i),a=e.type===Z.UPDATE?Yn:Fn,c=new Ze(a,s,t),[4,r.send(c,Dr)]):[2,S.RC_NET_CHANNEL_INVALID];case 1:return u=f.sent(),(l=u.code)===S.SUCCESS?(this._chrmEntryHandler.setLocal(t,{kvEntries:[e],syncTime:(new Date).getTime()},i),[2,l]):[2,l]}}))}))},e.prototype._modifyChatroomKVS=function(t,e){return m(this,void 0,void 0,(function(){var n,r,i,o,s,a,c,u,l,f,h,d,p=this;return I(this,(function(g){switch(g.label){case 0:return r=(n=this)._channel,i=n.currentUserId,r?(e.entries.forEach((function(e){var n=p._chrmEntryHandler.getVersion(t,e.key);e.version=null==n?p.getServerTime():n})),o=r.codec.encodeModifyChatRoomKVS(t,e,i),s=e.type===Z.UPDATE?$n:Hn,a=new Ze(s,o,t),[4,r.send(a,Hr)]):[2,{code:S.RC_NET_CHANNEL_INVALID}];case 1:return c=g.sent(),u=c.code,-1!==[S.SUCCESS,S.CHATROOM_KV_STORE_NOT_ALL_SUCCESS].indexOf(u)&&(f=[],delete(h=y({},e)).entries,e.entries.forEach((function(t){f.push(y(y({},t),h))})),u===S.CHATROOM_KV_STORE_NOT_ALL_SUCCESS&&(d=c.data,l=d.errorKeys,d&&Array.isArray(d.errorKeys)&&d.errorKeys.forEach((function(t){var e=f.findIndex((function(e){return t.key===e.key}));-1!==e&&f.splice(e,1)}))),this._chrmEntryHandler.setLocal(t,{kvEntries:f,syncTime:(new Date).getTime()},i)),[2,{code:u,data:l}]}}))}))},e.prototype.setChatroomEntry=function(t,e){return m(this,void 0,void 0,(function(){return I(this,(function(n){return e.type=Z.UPDATE,e.userId=e.userId||this.currentUserId,[2,this._modifyChatroomKV(t,e)]}))}))},e.prototype.setChatroomEntries=function(t,e){return m(this,void 0,void 0,(function(){return I(this,(function(n){return e.type=Z.UPDATE,e.userId=e.userId||this.currentUserId,[2,this._modifyChatroomKVS(t,e)]}))}))},e.prototype.forceSetChatroomEntry=function(t,e){return m(this,void 0,void 0,(function(){return I(this,(function(n){return e.type=Z.UPDATE,e.isOverwrite=!0,e.userId=e.userId||this.currentUserId,[2,this._modifyChatroomKV(t,e)]}))}))},e.prototype.removeChatroomEntry=function(t,e){return m(this,void 0,void 0,(function(){return I(this,(function(n){return e.type=Z.DELETE,e.userId=e.userId||this.currentUserId,[2,this._modifyChatroomKV(t,e)]}))}))},e.prototype.removeChatroomEntries=function(t,e){return m(this,void 0,void 0,(function(){return I(this,(function(n){return e.type=Z.DELETE,e.userId=e.userId||this.currentUserId,[2,this._modifyChatroomKVS(t,e)]}))}))},e.prototype.forceRemoveChatroomEntry=function(t,e){return m(this,void 0,void 0,(function(){return I(this,(function(n){return e.type=Z.DELETE,e.isOverwrite=!0,e.userId=e.userId||this.currentUserId,[2,this._modifyChatroomKV(t,e)]}))}))},e.prototype.getChatroomEntry=function(t,e){return m(this,void 0,void 0,(function(){var n,r,i,o,s,a,c;return I(this,(function(u){switch(u.label){case 0:return(n=this._chrmEntryHandler.getValue(t,e))?[2,Promise.resolve({code:S.SUCCESS,data:n})]:(r=this._channel)?(i=r.codec.encodePullChatRoomKV(0),o=new Ze(nn[nn.pullKV],i,t),[4,r.send(o,$r)]):[2,Promise.resolve({code:S.RC_NET_CHANNEL_INVALID})];case 1:return s=u.sent(),(a=s.data||{})&&a.kvEntries&&a.kvEntries.length&&(c=a.kvEntries.find((function(t){return t.key===e})),void 0!==c)?[2,Promise.resolve({code:S.SUCCESS,data:null==c?void 0:c.value})]:[2,Promise.resolve({code:S.CHATROOM_KEY_NOT_EXIST})]}}))}))},e.prototype.getAllChatroomEntry=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o,s;return I(this,(function(a){switch(a.label){case 0:return(e=this._chrmEntryHandler.getAll(t))&&Object.keys(e).length?[2,Promise.resolve({code:S.SUCCESS,data:e})]:(n=this._channel)?(e={},r=n.codec.encodePullChatRoomKV(0),i=new Ze(nn[nn.pullKV],r,t),[4,n.send(i,$r)]):[2,Promise.resolve({code:S.RC_NET_CHANNEL_INVALID})];case 1:return o=a.sent(),(s=o.data||{})&&s.kvEntries&&s.kvEntries.length&&s.kvEntries.forEach((function(t){t.key&&(e[t.key]=t.value||"")})),[2,Promise.resolve({code:S.SUCCESS,data:e})]}}))}))},e.prototype.pullChatroomEntry=function(t,e){return m(this,void 0,void 0,(function(){var n,r,i,o,s,a,c,u,l,f,h,d;return I(this,(function(p){switch(p.label){case 0:return r=(n=this)._channel,i=n.currentUserId,r?(o=r.codec.encodePullChatRoomKV(e),s=new Ze(nn[nn.pullKV],o,t),this.logger.info(Q.L_PULL_CHATROOM_KV_T,JSON.stringify({chatroomId:t,timestamp:e})),[4,r.send(s,$r)]):[2,{code:S.RC_NET_CHANNEL_INVALID}];case 1:return a=p.sent(),c=a.code,u=a.data,l=c===S.SUCCESS?"info":"warn",this.logger[l](Q.L_PULL_CHATROOM_KV_R,JSON.stringify({code:c,timestamp:e})),c===S.SUCCESS?(this._chrmEntryHandler.setLocal(t,u,i),h=(f=u).kvEntries,f.syncTime,d=[],h.length>0&&(h.forEach((function(e){var n=e.key,r=e.value,i=e.type,o=e.timestamp;d.push({key:n,value:r,type:i,timestamp:o,chatroomId:t})})),this._watcher.chatroom({updatedEntries:d})),[2,{code:c,data:u}]):[2,{code:c}]}}))}))},e.prototype._startSyncIntervalForChrmPull=function(){var t=this;this._stopSyncIntervalForChrmPull(),this._intervalTimerForChrmPull=setInterval((function(){var e=Object.keys(t._chrmsQueue);0!==e.length&&t._channel?e.forEach((function(e){t._pullChrmMsg(e),t.naviInfo.kvStorage&&t._chrmEntryHandler.pullEntry(e,0)})):t._stopSyncIntervalForChrmPull()}),18e4)},e.prototype._stopSyncIntervalForChrmPull=function(){"number"!=typeof this._intervalTimerForChrmPull&&(clearInterval(this._intervalTimerForChrmPull),this._intervalTimerForChrmPull=-1)},e.prototype.sendMessage=function(t,e,n,r,i){return m(this,void 0,void 0,(function(){var o,s,a,c,u,l,f,h,d,p,g;return I(this,(function(v){switch(v.label){case 0:return this._channel?(n=function(t,e){return"RC:SRSMsg"===t.messageType&&Object.assign(t,{directionalUserIdList:[e]}),t}(n,this.currentUserId),n=this._handleMsgProperties(n,!0),o=!![D.PRIVATE,D.GROUP].includes(t)&&n.isStatusMessage,s=o?function(t){var e;return(e={},e[D.PRIVATE]=nn.ppMsgS,e[D.GROUP]=nn.pgMsgS,e)[t]}(t):function(t){var e;return(e={},e[D.PRIVATE]=nn.ppMsgP,e[D.GROUP]=nn.pgMsgP,e[D.CHATROOM]=nn.chatMsg,e[D.CUSTOMER_SERVICE]=nn.pcMsgP,e[D.RTC_ROOM]=nn.prMsgS,e)[t]}(t)||nn.ppMsgP,o&&(n.isPersited=!1,n.isCounted=!1),a=n.messageId?n.messageId:ae(),n.messageId=a,c=this._channel.codec.encodeUpMsg({conversationType:t,targetId:e},n),(u=new Ve(nn[s],c,e)).setHeaderQos(Ae.AT_LEAST_ONCE),o?(this._channel.sendOnly(u),[2,{code:S.SUCCESS,data:rs(t,e,y({},n),"",0,this.currentUserId,a)}]):(l=Date.now()-this._localConnectedTime+this._connectedTime,f=rs(t,e,y({},n),"",l,this.currentUserId,a),null==r||r(a),this.logger.info(Q.L_SEND_MSG_T,JSON.stringify({messageType:n.messageType,conversationType:t,targetId:e,channelId:n.channelId}),i),[4,this._channel.send(u)])):[2,{code:S.RC_NET_CHANNEL_INVALID}];case 1:return h=v.sent(),d=h.code,p=h.data,d!==S.SUCCESS?(this.logger.warn(Q.L_SEND_MSG_R,JSON.stringify({code:d,messageUId:f.messageUId,messageId:f.messageId}),i),[2,{code:d,data:f}]):(this.logger.info(Q.L_SEND_MSG_R,JSON.stringify({code:d,messageUId:null==p?void 0:p.messageUId,messageId:null==p?void 0:p.messageId}),i),g=p,this._sendMessageStore.setMessage(g.messageUId,g.timestamp),f.sentTime=g.timestamp,f.messageUId=g.messageUId,this._conversationManager.setConversationCacheByMessage(f,!0),[2,{code:S.SUCCESS,data:f}])}}))}))},e.prototype.recallMsg=function(t,e,n,r,i){var o;return m(this,void 0,void 0,(function(){var s,a,c,u,l,f,h,d,p,g,v,m,M;return I(this,(function(I){switch(I.label){case 0:return this._channel?(s=i.user,a=i.extra,c=i.isDelete,u={conversationType:t,targetId:e,messageUId:n,sentTime:r,channelId:i.channelId||"",isDelete:c||!1},s&&(u.user=s),a&&(u.extra=a),l={content:u,messageType:"RC:RcCmd",disableNotification:null==i?void 0:i.disableNotification,pushConfig:null==i?void 0:i.pushConfig,pushContent:(null===(o=i.pushConfig)||void 0===o?void 0:o.pushContent)||i.pushContent||"",channelId:i.channelId},f=nn[nn.recallMsg],h=this._channel.codec.encodeUpMsg({conversationType:t,targetId:e},l),(d=new Ve(f,h,this.currentUserId)).setHeaderQos(Ae.AT_LEAST_ONCE),[4,this._channel.send(d)]):[2,{code:S.RC_NET_CHANNEL_INVALID}];case 1:return p=I.sent(),g=p.code,v=p.data,t===D.ULTRA_GROUP&&this.logger.debug(Q.L_RECALL_ULTRA_MSG_S,JSON.stringify({code:g,conversationType:t,targetId:e,channelId:i.channelId})),g!==S.SUCCESS?[2,{code:g}]:(m=v,t===D.ULTRA_GROUP?(this._ultraMsgMap[m.messageUId]=m.timestamp,this._updateUltraGroupWhenRecallMsg(e,i.channelId||"",n),[2,{code:S.SUCCESS}]):(this._sendMessageStore.setMessage(m.messageUId,m.timestamp),M=rs(t,e,y(y({},l),{isPersited:!0}),m.messageUId,m.timestamp,this.currentUserId),this._conversationManager.setConversationCacheByMessage(M,!0),[2,{code:S.SUCCESS,data:M}]))}}))}))},e.prototype.sendReadReceiptMessage=function(t,e,n){return m(this,void 0,void 0,(function(){var r,i;return I(this,(function(o){return this._channel?(r=this._channel.codec.encodeReadReceipt(e,n),i=new Ze(nn[nn.rrMsg],r,t),[2,this._channel.send(i)]):[2,{code:S.RC_NET_CHANNEL_INVALID}]}))}))},e.prototype.getMessageReader=function(t,e,n){return m(this,void 0,void 0,(function(){var r,i;return I(this,(function(o){return this._channel?(r=this._channel.codec.encodeMessageReader(e,n),i=new Ze(nn[nn.rrList],r,t),[2,this._channel.send(i,di)]):[2,{code:S.RC_NET_CHANNEL_INVALID}]}))}))},e.prototype.pullUserSettings=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o;return I(this,(function(s){switch(s.label){case 0:return this._channel?(e=this._channel.codec.encodePullUserSetting(t),n=new Ze(nn[nn.pullUS],e,this.currentUserId),[4,this._channel.send(n,Jr)]):[2,{code:S.RC_NET_CHANNEL_INVALID}];case 1:return r=s.sent(),i=r.code,o=r.data,i===S.SUCCESS&&this._naviChangeHandler(o),[2,{code:i,data:o}]}}))}))},e.prototype._naviChangeHandler=function(t){var e;if(t){var n=t.settings,r=null===(e=null==n?void 0:n.VoipInfo)||void 0===e?void 0:e.value;if(r&&this.naviInfo&&this.naviInfo.voipCallInfo!==r){var i=y(y({},this.naviInfo),{voipCallInfo:r});this.naviInfo=i,this._watcher.onNaviDataChange(y({},i))}}else this.logger.warn(Q.L_NOTIFY_NAVI_CHANGE_E,JSON.stringify({data:t}))},e.prototype.getFileToken=function(t,e,n,r){return m(this,void 0,void 0,(function(){var i,o,s,a,c,u;return I(this,(function(l){switch(l.label){case 0:return this._channel?(i=r&&"uploads"!==r?e||"":ne(t,e),o=this._channel.codec.encodeGetFileToken(t,i,n||"",r||""),s=new Ze(nn[nn.qnTkn],o,this.currentUserId),[4,this._channel.send(s,jr)]):[2,{code:S.RC_NET_CHANNEL_INVALID}];case 1:return a=l.sent(),c=a.code,u=a.data,u=Object.assign(u,{fileName:i}),c===S.SUCCESS?[2,{code:c,data:u}]:[2,{code:c}]}}))}))},e.prototype.getFileUrl=function(t,e,n,r){return m(this,void 0,void 0,(function(){var i,o,s,a,c,u,l,f,h;return I(this,(function(d){switch(d.label){case 0:return this._channel?(i="",o="",s="",e===$.QINIU?(o=kr,s=Ur):(o=Pr,s=zr),i=e===$.QINIU?nn[nn.qnUrl]:e===$.AWS?nn[nn.s3Url]:e===$.STC?nn[nn.stcUrl]:nn[nn.aliUrl],a=this._channel.codec.encodeGetFileUrl(o,t,n,r),c=new Ze(i,a,this.currentUserId),[4,this._channel.send(c,s)]):[2,{code:S.RC_NET_CHANNEL_INVALID}];case 1:return u=d.sent(),l=u.code,f=u.data,h=f,l===S.SUCCESS?[2,{code:l,data:h}]:[2,{code:l}]}}))}))},e.prototype.disconnect=function(){this.reporter.stop(),this._resetMemoryState(),this._onConnectionStatusChange(L.DISCONNECTED)},e.prototype._onConnectionStatusChange=function(t){this._watcher.status(t)},e.prototype._resetMemoryState=function(){-1!==this._reconnectTimer&&(clearTimeout(this._reconnectTimer),this._reconnectTimer=-1),this._channel&&(this._channel.close(),this._channel=void 0),this._pullQueue.length=0,this._stopSyncInterval(),this.resetUltraGroupData()},e.prototype.resetUltraGroupData=function(){this._stopUltraSyncInterval(),this._lastSyncUltraMsgTimeStamp=0,this._lastSyncUltraMsgLocalTimeStamp=0,this._isUltraPulling=!1,this._ultraGroupTimeQue=[],this._isUltraGroupListExist=!1,this._ultraGroupMap={}},e.prototype.registerMessageType=function(t,e,n,r,i){this._customMessageType[t]={isPersited:e,isCounted:n,isStatusMessage:i}},e.prototype.getServerTime=function(){return Date.now()-this._localConnectedTime+this._connectedTime},e.prototype.getCurrentUserId=function(){return this.currentUserId},e.prototype.createTag=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o,s,a;return I(this,(function(c){switch(c.label){case 0:return this._channel?(e=this._userSettingManager.getVersion(),n=this._channel.codec.encodeCreateTag([t],e),r=new Ze(nn[nn.addSeTag],n,this.currentUserId),[4,this._channel.send(r,Kr)]):[2,{code:S.RC_NET_CHANNEL_INVALID}];case 1:return i=c.sent(),o=i.code,s=i.data,o!==S.SUCCESS?[2,{code:o}]:(a=s.version,this._userSettingManager.addTag([y(y({},t),{createdTime:a})],a),[2,{code:S.SUCCESS}])}}))}))},e.prototype.removeTag=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o,s,a;return I(this,(function(c){switch(c.label){case 0:return this._channel?(e=this._userSettingManager.getVersion(),n=this._channel.codec.encodeRemoveTag([t],e),r=new Ze(nn[nn.delSeTag],n,this.currentUserId),[4,this._channel.send(r,Kr)]):[2,{code:S.RC_NET_CHANNEL_INVALID}];case 1:return i=c.sent(),o=i.code,s=i.data,o!==S.SUCCESS?[2,{code:o}]:(a=s.version,this._userSettingManager.deleteTag([t],a),[2,{code:S.SUCCESS}])}}))}))},e.prototype.updateTag=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o,s,a;return I(this,(function(c){switch(c.label){case 0:return this._channel?(e=this._userSettingManager.getVersion(),n=this._channel.codec.encodeCreateTag([t],e),r=new Ze(nn[nn.addSeTag],n,this.currentUserId),[4,this._channel.send(r,Kr)]):[2,{code:S.RC_NET_CHANNEL_INVALID}];case 1:return i=c.sent(),o=i.code,s=i.data,o!==S.SUCCESS?[2,{code:o}]:(a=s.version,this._userSettingManager.addTag([t],a),[2,{code:S.SUCCESS}])}}))}))},e.prototype.getTagList=function(){return m(this,void 0,void 0,(function(){var t,e;return I(this,(function(n){return t=this._userSettingManager.getTags(),e=this._conversationManager.getConversationListForTag(),t.forEach((function(t){t.conversationCount=e[t.tagId]?e[t.tagId].length:0})),[2,{code:S.SUCCESS,data:t}]}))}))},e.prototype.addTagForConversations=function(t,e){return m(this,void 0,void 0,(function(){var n,r,i,o,s=this;return I(this,(function(a){switch(a.label){case 0:return this._channel?this._userSettingManager.getTagById(t)?(n=this._channel.codec.encodeUpdateConversationTag([{tagId:t}],e),r=new Ze(nn[nn.addTag],n,this.currentUserId),[4,this._channel.send(r)]):[2,{code:S.TAG_NOT_EXIST}]:[2,{code:S.RC_NET_CHANNEL_INVALID}];case 1:return(i=a.sent().code)!==S.SUCCESS?[2,{code:i}]:((o={})[t]={},e.forEach((function(t){s._conversationManager.addTagStatus(t.conversationType,t.targetId,o,t.channelId)})),[2,{code:S.SUCCESS}])}}))}))},e.prototype.removeTagForConversations=function(t,e){return m(this,void 0,void 0,(function(){var n,r,i,o=this;return I(this,(function(s){switch(s.label){case 0:return this._channel?(n=this._channel.codec.encodeUpdateConversationTag([{tagId:t}],e),r=new Ze(nn[nn.delTag],n,this.currentUserId),[4,this._channel.send(r)]):[2,{code:S.RC_NET_CHANNEL_INVALID}];case 1:return(i=s.sent().code)!==S.SUCCESS?[2,{code:i}]:(e.forEach((function(e){o._conversationManager.deleteTagStatus(e.conversationType,e.targetId,[t],e.channelId)})),[2,{code:S.SUCCESS}])}}))}))},e.prototype.removeTagsForConversation=function(t,e){return m(this,void 0,void 0,(function(){var n,r,i,o,s,a,c;return I(this,(function(u){switch(u.label){case 0:return this._channel?(n=t.conversationType,r=t.targetId,i=t.channelId,o=e.map((function(t){return{tagId:t}})),s=this._channel.codec.encodeUpdateConversationTag(o,[t]),a=new Ze(nn[nn.delTag],s,this.currentUserId),[4,this._channel.send(a)]):[2,{code:S.RC_NET_CHANNEL_INVALID}];case 1:return(c=u.sent().code)!==S.SUCCESS?[2,{code:c}]:(this._conversationManager.deleteTagStatus(n,r,e,i),[2,{code:S.SUCCESS}])}}))}))},e.prototype.getConversationListByTag=function(t,e,n){return m(this,void 0,void 0,(function(){var r,i,o,s,a,c,u,l,f;return I(this,(function(h){switch(h.label){case 0:return i=(r=this).currentUserId,(o=r._channel)?(s=o.codec.encodeOldConversationList({count:n,type:D.PRIVATE,startTime:e}),a=new Ze(Vn,s,i),[4,o.send(a,br,{currentUserId:i,connectedTime:o.connectedTime})]):[2,{code:S.RC_NET_CHANNEL_INVALID}];case 1:return c=h.sent(),u=c.code,l=c.data,f=this._conversationHasTagFilter(t,null==l?void 0:l.list),u!==S.SUCCESS?[2,{code:u}]:[2,{code:u,data:f}]}}))}))},e.prototype._conversationHasTagFilter=function(t,e){var n=this,r=[],i=[];function o(t,e){return t.latestMessage&&e.latestMessage?t.latestMessage.sentTime-e.latestMessage.sentTime:0}return e.forEach((function(e){var o=e.conversationType,s=e.targetId,a=e.channelId,c=n._conversationManager.get(o,s,a),u=c.hasMentioned,l=c.mentionedInfo,f=c.lastUnreadTime,h=c.notificationStatus,d=c.isTop,p=c.tags,g=c.unreadMessageCount,v=p&&p[t];if(v){var m=y(y({},e),{hasMentioned:u,mentionedInfo:l,lastUnreadTime:f,notificationStatus:h,isTop:d,unreadMessageCount:g});v.isTop?r.push(y(y({},m),{isTopInTag:!0})):i.push(y(y({},m),{isTopInTag:!1}))}})),M(M([],r.sort(o),!0),i.sort(o),!0)},e.prototype.getUnreadCountByTag=function(t,e){return m(this,void 0,void 0,(function(){var n;return I(this,(function(r){return this._channel?(n=this._conversationManager.getUnreadCountByTag(t,e),[2,{code:S.SUCCESS,data:n}]):[2,{code:S.RC_NET_CHANNEL_INVALID}]}))}))},e.prototype.setConversationStatusInTag=function(t,e,n){return m(this,void 0,void 0,(function(){var r,i,o,s,a,c,u,l,f,h;return I(this,(function(d){switch(d.label){case 0:return this._channel?(r=e.targetId,i=e.conversationType,o=e.channelId,s=n.isTop,a=[{tagId:t,isTop:s}],(c=this._conversationManager.get(i,r,o)).tags&&Object.hasOwnProperty.call(c.tags,t)?(u=this._channel.codec.encodeUpdateConversationTag(a,[e]),l=new Ze(nn[nn.addTag],u,this.currentUserId),[4,this._channel.send(l)]):[2,{code:S.NO_TAG_IN_CONVER}]):[2,{code:S.RC_NET_CHANNEL_INVALID}];case 1:return(f=d.sent().code)!==S.SUCCESS?[2,{code:f}]:((h={})[t]={},s&&(h[t].isTop=!0),this._conversationManager.addTagStatus(i,r,h,o),[2,{code:S.SUCCESS}])}}))}))},e.prototype.getTagsForConversation=function(t){var e;return m(this,void 0,void 0,(function(){var n,r,i,o;return I(this,(function(s){if(!this._channel)return[2,{code:S.RC_NET_CHANNEL_INVALID}];if(n=this._conversationManager.get(t.conversationType,t.targetId,t.channelId),r=this._userSettingManager.getTagsInfo(),i=[],n.tags)for(o in n.tags)i.push({tagId:o,tagName:null===(e=r[o])||void 0===e?void 0:e.tagName});return[2,{code:S.SUCCESS,data:i}]}))}))},e.prototype.getBlockConversationList=function(){var t=this._conversationManager.getBlockConversationList();return Promise.resolve({code:S.SUCCESS,data:t})},e.prototype.getTopConversationList=function(t,e){var n=this._conversationManager.getTopConversationList(t,e);return Promise.resolve({code:S.SUCCESS,data:n})},e.prototype.getUnreadMentionedCount=function(t){var e,n;return n=t.conversationType===D.ULTRA_GROUP?(null===(e=this._ultraGroupMap["".concat(t.channelId,"_").concat(t.targetId)])||void 0===e?void 0:e.unreadMentionedCount)||0:this._conversationManager.getUnreadMentionedCount(t.channelId,t.conversationType,t.targetId),Promise.resolve({code:S.SUCCESS,data:n})},e.prototype.getAllUnreadMentionedCount=function(){var t=this._conversationManager.getAllUnreadMentionedCount();return Promise.resolve({code:S.SUCCESS,data:t})},e.prototype.getConversationNotificationLevel=function(t,e,n){if(!this._isUltraGroupListExist&&t===D.ULTRA_GROUP)return Promise.resolve({code:S.METHOD_NOT_AVAILABLE});var r;if(!(r=t===D.ULTRA_GROUP?this._ultraGroupManager.get(D.ULTRA_GROUP,e,n):this._conversationManager.get(t,e,n)))return Promise.resolve({code:S.SUCCESS,data:G.NOT_SET});var i=r.notificationLevel;return bt(r.notificationLevel)&&!bt(r.notificationStatus)&&(i=U.OPEN===r.notificationStatus?1:0),Promise.resolve({code:S.SUCCESS,data:i})},e.prototype.getConversationNotificationStatus=function(t,e,n){var r;return(r=t===D.ULTRA_GROUP?this._ultraGroupManager.get(D.ULTRA_GROUP,e,n):this._conversationManager.get(t,e,n))?Promise.resolve({code:S.SUCCESS,data:r.notificationStatus}):Promise.resolve({code:S.SUCCESS,data:U.CLOSE})},e.prototype.getRemoteHistoryMessages=function(t,e,n,r,i,o){return this.getHistoryMessage(t,e,n,r,i,o)},e.prototype.getUltraGroupList=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i;return I(this,(function(o){return e=t.targetId,n=t.channelType,this._isUltraGroupListExist?(r=Object.values(this._ultraGroupMap).filter((function(t){return!(t.targetId!==e&&e||t.channelType!==n&&pt(n))})),r=is(r),i=ve(r),[2,{code:S.SUCCESS,data:i}]):[2,{code:S.METHOD_NOT_AVAILABLE}]}))}))},e.prototype.getBlockUltraGroupList=function(){if(!this._isUltraGroupListExist)return Promise.resolve({code:S.METHOD_NOT_AVAILABLE});var t=Object.values(this._ultraGroupMap),e=[];return t.forEach((function(t){t.notificationStatus===U.OPEN&&e.push({conversationType:D.ULTRA_GROUP,targetId:t.targetId,channelId:t.channelId})})),Promise.resolve({code:S.SUCCESS,data:e})},e.prototype.getTopUltraGroupList=function(){if(!this._isUltraGroupListExist)return Promise.resolve({code:S.METHOD_NOT_AVAILABLE});var t=Object.values(this._ultraGroupMap),e=[];return t.forEach((function(t){!0===t.isTop&&e.push({conversationType:D.ULTRA_GROUP,targetId:t.targetId,channelId:t.channelId})})),Promise.resolve({code:S.SUCCESS,data:e})},e.prototype.getUltraGroupUnreadMentionedCountByTargetId=function(t,e){if(!this._isUltraGroupListExist)return Promise.resolve({code:S.METHOD_NOT_AVAILABLE});var n=0;for(var r in this._ultraGroupMap)r.match(/_.*/g)[0].substring(1)!==t||e&&0!==e.length&&!e.includes(this._ultraGroupMap[r].notificationLevel)||(n+=this._ultraGroupMap[r].unreadMentionedCount);return Promise.resolve({code:S.SUCCESS,data:n})},e.prototype.getUltraGroupUnreadCountByTargetId=function(t,e){var n=0;for(var r in this._ultraGroupMap){var i=this._ultraGroupMap[r];i.targetId!==t||e&&0!==e.length&&!e.includes(this._ultraGroupMap[r].notificationLevel)||(n+=i.unreadMessageCount||0)}return Promise.resolve({code:S.SUCCESS,data:n})},e.prototype.getAllUltraGroupUnreadCount=function(t){if(void 0===t&&(t=!1),!this._isUltraGroupListExist)return Promise.resolve({code:S.METHOD_NOT_AVAILABLE});var e=0;for(var n in this._ultraGroupMap)e+=t?this._ultraGroupMap[n].unreadMentionedCount||0:this._ultraGroupMap[n].unreadMessageCount||0;return Promise.resolve({code:S.SUCCESS,data:e})},e.prototype.clearUltraUnreadcount=function(t,e){return void 0===e&&(e=""),m(this,void 0,void 0,(function(){var n,r,i,o,s;return I(this,(function(a){switch(a.label){case 0:return this._isUltraGroupListExist?this._channel?this._status!==L.CONNECTED?[2,S.RC_NET_UNAVAILABLE]:(n=Date.now(),r=this._channel.codec.encodeClearUnreadCount({conversationType:D.ULTRA_GROUP,targetId:t,channelId:e},{timestamp:n}),(i=new Ve(nn[nn.updUgRTime],r,this.currentUserId)).setHeaderQos(Ae.AT_LEAST_ONCE),[4,this._channel.send(i)]):[2,S.RC_NET_CHANNEL_INVALID]:[2,Promise.resolve(S.METHOD_NOT_AVAILABLE)];case 1:return(o=a.sent().code)===S.SUCCESS&&((s=this._ultraGroupMap["".concat(e,"_").concat(t)])&&(s.unreadMessageCount=0,s.unreadMentionedCount=0,s.lastReadTime=n),s.firstUnreadMessage&&(s.firstUnreadMessage=null)),[2,o]}}))}))},e.prototype._getUltraGroupList=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o,s,a,c,u,l,f,h,d,p=this;return I(this,(function(g){switch(g.label){case 0:return this._channel&&this._status===L.CONNECTED?(e=this._channel.codec.encodeUltraGroup(t,!1),n=new Ze(nn[nn.pullUgSes],e,this.currentUserId),[4,this._channel.send(n,br,{currentUserId:this.currentUserId,conversationType:D.ULTRA_GROUP})]):[2];case 1:return r=g.sent(),i=r.code,o=r.data,i===S.SUCCESS&&o?(a=o.list,c=o.isFinished,a.forEach((function(t){t.notificationStatus=U.CLOSE,t.notificationLevel=G.NOT_SET,t.isTop=!1,p._ultraGroupMap["".concat(t.channelId,"_").concat(t.targetId)]=t,p._ultraGroupManager.addUltraGroupStatus(t)})),!1!==c?[3,2]:(u=a.length>0&&a[a.length-1].versionTime||0,this._getUltraGroupList(u),[3,4])):(this.logger.warn(Q.L_ULTRA_SYNC_DONE_S,"Pull ultra group conversation failured, code: ".concat(i,", try again")),s=setTimeout((function(){p._getUltraGroupList(t),clearTimeout(s)}),3e3),[2]);case 2:return this.logger.info(Q.L_ULTRA_SYNC_DONE_S,"Pull ultra group conversation success"),[4,this.pullConversationStatus(0)];case 3:l=g.sent(),f=l.code,h=l.data,f!==S.SUCCESS&&this.logger.warn(Q.O,"pullConversationStatus fail code: ".concat(f,", data: ").concat(h)),d=Object.values(this._ultraGroupMap),d=is(d),this._isUltraGroupListExist=!0,this._watcher.ultraGroupEnable(ve(d)),this._syncUltraMsg(this._lastSyncUltraMsgTimeStamp),g.label=4;case 4:return[2]}}))}))},e.prototype._startUltraSyncInterval=function(){var t=this,e=function(){t._ultraGroupTimer=setTimeout((function(){Date.now()-t._lastSyncUltraMsgLocalTimeStamp>=18e4&&t._syncUltraMsg(t._lastSyncUltraMsgTimeStamp),t._stopUltraSyncInterval(),e()}),3e4)};this._lastSyncUltraMsgLocalTimeStamp=Date.now(),e()},e.prototype._stopUltraSyncInterval=function(){-1!==this._ultraGroupTimer&&(clearTimeout(this._ultraGroupTimer),this._ultraGroupTimer=-1)},e.prototype._notificationOnline=function(){return m(this,void 0,void 0,(function(){var t,e,n,r=this;return I(this,(function(i){switch(i.label){case 0:return this._channel&&this._status===L.CONNECTED?[4,this._fetchUltraMsg(0)]:[2];case 1:return t=i.sent(),e=t.code,n=t.data,e===S.SUCCESS&&n?(this.logger.info(Q.L_NOTIFY_ULTRA_ONLINE_S,"Notify ultra group online success."),this._getUltraGroupList(0),-1===this._ultraGroupTimer&&this._startUltraSyncInterval(),[2]):(this.logger.warn(Q.L_NOTIFY_ULTRA_ONLINE_S,"Notify ultra group online failured, try again."),setTimeout((function(){r._notificationOnline()}),3e3),[2])}}))}))},e.prototype._fetchUltraMsg=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o,s,a,c,u;return I(this,(function(l){switch(l.label){case 0:return e=this._channel.codec.encodeSuperSyncMsg(t),n=new Ze(nn[nn.pullUgMsg],e,this.currentUserId),r=this.logger.createTraceId(),this.logger.info(Q.L_PULL_ULTRA_MSG_T,JSON.stringify({timestamp:t}),r),[4,this._channel.send(n,hr,{currentUserId:this.currentUserId,conversation:{conversationType:D.ULTRA_GROUP}})];case 1:return i=l.sent(),o=i.code,s=i.data,o===S.SUCCESS&&s?(a=s.list,c=s.syncTime,u=a.map((function(t){return t.messageUId})).join(","),this.logger.info(Q.L_PULL_ULTRA_MSG_R,JSON.stringify({code:o,messageUIds:u,timestamp:t,syncTime:c}),r)):this.logger.warn(Q.L_PULL_ULTRA_MSG_R,JSON.stringify({code:o,timestamp:t}),r),[2,{code:o,data:s}]}}))}))},e.prototype._syncUltraMsg=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o,s,a,c,u,l,f=this;return I(this,(function(h){switch(h.label){case 0:return this._channel&&this._status===L.CONNECTED?this._isUltraPulling?[2]:(this._isUltraPulling=!0,[4,this._fetchUltraMsg(t)]):[2];case 1:return e=h.sent(),n=e.code,r=e.data,this._lastSyncUltraMsgLocalTimeStamp=Date.now(),this._isUltraPulling=!1,n===S.SUCCESS&&r?(i=r.list,o=r.syncTime,s=r.finished,a=[],c={},u=[],i.forEach((function(t){var e,n,r,i=t.targetId,s=t.content,l=t.messageType,h=t.messageUId,d=t.channelId,p=t.isCounted,g=t.channelType;t.isMentioned;var v=t.sentTime;if(a.push(h),f._ultraMsgMap[h])delete f._ultraMsgMap[h];else{var y=0;((null===(e=null==s?void 0:s.mentionedInfo)||void 0===e?void 0:e.type)===Y.ALL||(null===(r=null===(n=null==s?void 0:s.mentionedInfo)||void 0===n?void 0:n.userIdList)||void 0===r?void 0:r.includes(f.currentUserId)))&&(y=1);var m=f._ultraGroupMap["".concat(d,"_").concat(i)];if(m)p&&(l===k.RECALL?m.unreadMessageCount>0&&(m.unreadMessageCount-=1):(m.unreadMessageCount+=1,m.unreadMentionedCount+=y,m.firstUnreadMessage||(m.firstUnreadMessage={sentTime:v}))),m.versionTime=o,m.latestMessage=t,m.channelType=g,c["".concat(d,"_").concat(i)]=m,f._ultraGroupManager.addUltraGroupStatus(m);else{var I={conversationType:D.ULTRA_GROUP,targetId:i,channelId:d,unreadMessageCount:p?1:0,unreadMentionedCount:p?y:0,versionTime:o,latestMessage:t,notificationStatus:U.CLOSE,notificationLevel:G.NOT_SET,isTop:!1,channelType:g,firstUnreadMessage:{sentTime:v}};f._ultraGroupMap["".concat(d,"_").concat(i)]=I,c["".concat(d,"_").concat(i)]=I,f._ultraGroupManager.addUltraGroupStatus(I)}u.push(t)}})),Object.keys(c).length>0&&(this.logger.debug(Q.O,"notice ultragroups"),l=Object.values(c),l=is(l),this._watcher.conversation(ve(l))),this.logger.debug(Q.O,"notice ultragroup message"),this._batchMessage(u),this._ultraGroupTimeQue=this._ultraGroupTimeQue.filter((function(t){return t>o})),this._lastSyncUltraMsgTimeStamp=o,(!s||this._ultraGroupTimeQue.length>0)&&this._syncUltraMsg(o),[2]):[2]}}))}))},e.prototype.sendUltraMessage=function(t,e,n,r){return m(this,void 0,void 0,(function(){var i,o,s,a,c,u,l,f,h,d,p;return I(this,(function(g){switch(g.label){case 0:return this._channel?this._status!==L.CONNECTED?[2,{code:S.RC_NET_UNAVAILABLE}]:("RC:SRSMsg"===e.messageType&&this.logger.warn(Q.O,"ultra group -> direction message convert to message"),e=this._handleMsgProperties(e,!0),i=e.messageId?e.messageId:ae(),e.messageId=i,o=this._channel.codec.encodeUpMsg({conversationType:D.ULTRA_GROUP,targetId:t},e),(s=new Ve(nn[nn.ugMsg],o,t)).setHeaderQos(Ae.AT_LEAST_ONCE),a=Date.now()-this._localConnectedTime+this._connectedTime,c=rs(D.ULTRA_GROUP,t,y({},e),"",a,this.currentUserId,i),n&&n(i),this.logger.info(Q.L_SEND_MSG_T,JSON.stringify({messageType:e.messageType,conversationType:D.ULTRA_GROUP,targetId:t,channelId:e.channelId}),r),[4,this._channel.send(s)]):[2,{code:S.RC_NET_CHANNEL_INVALID}];case 1:return u=g.sent(),l=u.code,f=u.data,l!==S.SUCCESS?(this.logger.warn(Q.L_SEND_MSG_R,JSON.stringify({code:l,messageUId:c.messageUId,messageId:c.messageId}),r),[2,{code:l,data:c}]):(this.logger.info(Q.L_SEND_MSG_R,JSON.stringify({code:l,messageUId:null==f?void 0:f.messageUId,messageId:null==f?void 0:f.messageId}),r),h=f,c.sentTime=h.timestamp,c.messageUId=h.messageUId,this._ultraMsgMap[h.messageUId]=h.timestamp,d=e.channelId||"",(p=this._ultraGroupMap["".concat(d,"_").concat(t)])?(p.latestMessage=c,pt(p.channelType)&&(c.channelType=p.channelType)):(p={conversationType:D.ULTRA_GROUP,targetId:t,channelId:d,unreadMessageCount:0,unreadMentionedCount:0,versionTime:c.sentTime,latestMessage:c,notificationStatus:U.CLOSE,notificationLevel:G.NOT_SET,isTop:!1},this._ultraGroupMap["".concat(d,"_").concat(t)]=p,this._ultraGroupManager.addUltraGroupStatus(p)),this._watcher.conversation(ve([p])),[2,{code:l,data:c}])}}))}))},e.prototype.sendUltraGroupTypingStatus=function(t,e){return m(this,void 0,void 0,(function(){var n,r,i,o,s,a;return I(this,(function(c){switch(c.label){case 0:return this._channel?this._status!==L.CONNECTED?[2,{code:S.RC_NET_UNAVAILABLE}]:(n=t.conversationType,r=t.channelId,i=t.targetId,o=this._channel.codec.encodeOperateStatus(i,n,r||"",e||0),(s=new Ve(nn[nn.operate],o,i)).setHeaderQos(Ae.AT_LEAST_ONCE),[4,this._channel.send(s)]):[2,{code:S.RC_NET_CHANNEL_INVALID}];case 1:return(a=c.sent().code)!==S.SUCCESS?[2,{code:a,msg:S[a]}]:[2,{code:a}]}}))}))},e.prototype.getUltraGroupMessageListByMessageUId=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o,s,a;return I(this,(function(c){switch(c.label){case 0:return this._channel?this._status!==L.CONNECTED?[2,{code:S.RC_NET_UNAVAILABLE}]:t.messages&&t.messages.length<1||t.messages&&t.messages.length>20?[2,{code:S.MSG_LIMIT_ERROR}]:(e={},t.messages.forEach((function(t){e[t.messageUId]=void 0})),n=this._channel.codec.encodeMsgQuery(t),(r=new Ze(nn[nn.qryMsg],n,this.currentUserId)).setHeaderQos(Ae.AT_LEAST_ONCE),[4,this._channel.send(r,Si,{connectedTime:this._channel.connectedTime,currentUserId:this.currentUserId})]):[2,{code:S.RC_NET_CHANNEL_INVALID}];case 1:return i=c.sent(),o=i.code,s=i.data,o!==S.SUCCESS?[2,{code:o,msg:S[o]}]:(a=(s||{}).list,Array.isArray(a)&&a.forEach((function(t){var n=t.messageUId;e[n]=t})),[2,{code:0,data:e}])}}))}))},e.prototype._pullOperateStatusNotify=function(t){if(this._channel){var e=this._channel.codec.decodeByPBName(t.data,Di),n=e.conversationType,r=e.info,i=e.summary;this.logger.debug(Q.O,"s_opNtf -> type: ".concat(n,", info: ").concat(r,", summary: ").concat(i)),this._watcher.operateStatus(e)}},e.prototype.expandUltraMessage=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i;return I(this,(function(o){switch(o.label){case 0:return this._channel?this._status!==L.CONNECTED?[2,{code:S.RC_NET_UNAVAILABLE}]:(e=this._channel.codec.encodeExpandUltraMessage(t,this.currentUserId),(n=new Ze(nn[nn.upMsgEx],e,t.targetId)).setHeaderQos(Ae.AT_LEAST_ONCE),[4,this._channel.send(n)]):[2,{code:S.RC_NET_CHANNEL_INVALID}];case 1:return r=o.sent(),i=r.code,r.data,i!==S.SUCCESS?[2,{code:i,msg:S[i]}]:[2,{code:i}]}}))}))},e.prototype.modifyMessage=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o,s;return I(this,(function(a){switch(a.label){case 0:return this._channel?this._status!==L.CONNECTED?[2,{code:S.RC_NET_UNAVAILABLE}]:(e=this._channel.codec.encodemodifyMessage(t,this.currentUserId),(n=new Ze(nn[nn.modifyMsg],e,t.targetId)).setHeaderQos(Ae.AT_LEAST_ONCE),[4,this._channel.send(n)]):[2,{code:S.RC_NET_CHANNEL_INVALID}];case 1:return r=a.sent(),i=r.code,o=r.data,i!==S.SUCCESS?[2,{code:i,msg:S[i]}]:(s=o,this._ultraMsgMap[s.messageUId]=s.timestamp,[2,{code:i}])}}))}))},e.prototype._pullUltraChangeMessageList=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o,s,a,c,u,l;return I(this,(function(f){switch(f.label){case 0:return this._channel?this._status!==L.CONNECTED||this._isPullingUltraChangeMessage?[2]:(this._isPullingUltraChangeMessage=!0,e=this._channel.codec.encodeQueryMsgChange(t),(n=new Ze(nn[nn.qryMsgChange],e,this.currentUserId)).setHeaderQos(Ae.AT_LEAST_ONCE),[4,this._channel.send(n,Ei)]):[2];case 1:return r=f.sent(),i=r.code,o=r.data,this._isPullingUltraChangeMessage=!1,i===S.SUCCESS&&o?(s=o.hasNext,a=o.list,c=(null==o?void 0:o.syncTime)||0,this._ultraChannelTypeChangeNotice(a),this._ultraChannelUserKickedNotice(a),this._ultraChannelDeleteNotice(a),this._ultraRecalledNotice(a),this._ultraMsgUpdateNotice([rt.MSG_EXPANSION,rt.MSG_MODIFY],a),u=this._pullUltraChangeMessageQue.filter((function(t){return t>c})),this._pullUltraChangeMessageQue.length=0,(l=this._pullUltraChangeMessageQue).push.apply(l,u),s?this._pullUltraChangeMessageList(c):this._lastPullingUltraChangeMessageTime=c,[2]):[2]}}))}))},e.prototype._ultraChannelTypeChangeNotice=function(t){var e=this,n=[];t.forEach((function(t){var r=t.targetId,i=t.changeType,o=t.subChangeType,s=t.channelId,a=void 0===s?"":s;if(i===rt.CHANNEL_CHANGE&&e._ultraGroupMap["".concat(a,"_").concat(r)]){var c=it.PUBLIC_TO_PRIVATE,u=it.PRIVATE_TO_PUBLIC,l=it.PUBLIC_TO_PRIVATE_USER_NOT_IN;o===u&&(e._ultraGroupMap["".concat(a,"_").concat(r)].channelType=et.PUBLIC),o===c&&(e._ultraGroupMap["".concat(a,"_").concat(r)].channelType=et.PRIVATE);var f=e._ultraGroupMap["".concat(a,"_").concat(r)].channelType,h=void 0===f?et.PUBLIC:f;[c,u,l].includes(o)&&n.push({targetId:r,channelId:a,changeType:o,channelType:h}),o===l&&delete e._ultraGroupMap["".concat(a,"_").concat(r)]}})),n.length>0&&this._watcher.ultraGroupChannelChangeType(n)},e.prototype._ultraChannelDeleteNotice=function(t){var e=this,n=[];Array.isArray(t)&&t.forEach((function(t){var r=t.targetId,i=t.sendTime,o=t.changeType,s=t.subChangeType,a=t.channelId,c=void 0===a?"":a;if(o===rt.CHANNEL_CHANGE&&e._ultraGroupMap["".concat(c,"_").concat(r)]){var u=e._ultraGroupMap["".concat(c,"_").concat(r)].channelType,l=void 0===u?et.PUBLIC:u;s===it.CHANNEL_DELETE&&(n.push({targetId:r,channelId:c,channelType:l,deleteTime:i}),delete e._ultraGroupMap["".concat(c,"_").concat(r)])}})),n.length>0&&this._watcher.ultraGroupChannelDelete(n)},e.prototype._ultraChannelUserKickedNotice=function(t){var e=this,n=[];t.forEach((function(t){var r=t.targetId,i=t.changeType,o=t.operatorId,s=t.subChangeType,a=t.channelId,c=void 0===a?"":a;i===rt.CHANNEL_CHANGE&&e._ultraGroupMap["".concat(c,"_").concat(r)]&&(s===it.CHANNEL_USER_KICKED&&n.push({targetId:r,channelId:c,userId:o,channelType:et.PRIVATE}),o===e.currentUserId&&s===it.CHANNEL_USER_KICKED&&delete e._ultraGroupMap["".concat(c,"_").concat(r)])})),n.length>0&&this._watcher.ultraGroupChannelUserKicked(n)},e.prototype._ultraRecalledNotice=function(t){var e=this,n=[];t.forEach((function(t){var r=t.targetId,i=t.conversationType,o=t.sendTime,s=t.messageUId,a=t.changeType,c=t.operatorId,u=t.channelId,l=void 0===u?"":u;a===rt.MSG_RECALL&&(e._updateUltraGroupWhenRecallMsg(r,l,s,o),n.push({targetId:r,conversationType:i,sendTime:o,messageUId:s,senderUserId:c,channelId:l}))})),n.length>0&&this._watcher.ultraGroupMessageRecalled(n)},e.prototype._ultraMsgUpdateNotice=function(t,e){var n=this;if(e.find((function(e){return t.includes(e.changeType)}))){var r={};e.forEach((function(e){var i=e.targetId,o=e.conversationType,s=e.sendTime,a=e.messageUId,c=e.changeType,u=e.channelId,l=void 0===u?"":u,f="".concat(o,"_").concat(i),h="".concat(a,"_").concat(l,"_").concat(s),d=r[f];if(d)d.add(h);else{var p=new Set([h]);r[f]=p}t.includes(c)&&(n._ultraMsgChangeMap[a]=c)}));var i=function(t){var e=t.split("_"),n=e.shift(),i=e.join("_"),s=r[t],a=[];s.forEach((function(t){var e=t.split("_"),n=e[0],r=e[1],i=e[2];a.push({sendTime:Number(i),messageUId:n,channelId:r})}));var c={targetId:i,conversationType:Number(n),messages:a};o._pullUltraMessageList(c)},o=this;for(var s in r)i(s)}},e.prototype._pullUltraMessageList=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o,s,a,c,u=this;return I(this,(function(l){switch(l.label){case 0:return this._channel?this._status!==L.CONNECTED?[2,{code:S.RC_NET_UNAVAILABLE}]:(e=this._channel.codec.encodeMsgQuery(t),(n=new Ze(nn[nn.qryMsg],e,this.currentUserId)).setHeaderQos(Ae.AT_LEAST_ONCE),[4,this._channel.send(n,Si,{connectedTime:this._channel.connectedTime,currentUserId:this.currentUserId})]):[2,{code:S.RC_NET_CHANNEL_INVALID}];case 1:return r=l.sent(),i=r.code,o=r.data,i!==S.SUCCESS?[2,{code:i,msg:S[i]}]:(s=(o||{}).list,a=[],c=[],Array.isArray(s)&&s.forEach((function(t){var e=t.targetId,n=t.channelId,r=t.messageUId,i=u._ultraGroupMap["".concat(n,"_").concat(e)];i&&i.latestMessage.messageUId===t.messageUId&&(i.latestMessage=t);var o=u._ultraMsgChangeMap["".concat(r)];o===rt.MSG_EXPANSION?a.push(t):o===rt.MSG_MODIFY&&c.push(t)})),a.length>0&&this._watcher.ultraGroupMessageExpansionUpdated(a||[]),c.length>0&&this._watcher.ultraGroupMessageModified(c||[]),[2])}}))}))},e.prototype.getUltraHistoryMsg=function(t,e,n){var r;return m(this,void 0,void 0,(function(){var i,o,s,a,c,u;return I(this,(function(l){switch(l.label){case 0:return this._channel?this._status!==L.CONNECTED?[2,{code:S.RC_NET_UNAVAILABLE}]:(i=this._channel.codec.encodeGetHistoryMsg(t,e),o=new Ze(nn[nn.qryUgMsg],i,this.currentUserId),this.logger.info(Q.L_GET_HISTORY_MSG_T,JSON.stringify({targetId:t,conversationType:D.ULTRA_GROUP,channelId:e.channelId,timestamp:null==e?void 0:e.timestamp,count:null==e?void 0:e.count}),n),[4,this._channel.send(o,Ir,{currentUserId:this.currentUserId,conversation:{conversationType:D.ULTRA_GROUP,targetId:t}})]):[2,{code:S.RC_NET_CHANNEL_INVALID}];case 1:return s=l.sent(),a=s.code,c=s.data,a===S.SUCCESS&&c?(u=[],null===(r=c.list)||void 0===r||r.forEach((function(t){t&&u.push(t.messageUId)})),this.logger.info(Q.L_GET_HISTORY_MSG_R,JSON.stringify({code:a,messageUIds:u.join(",")}),n),[2,{code:a,data:c}]):(this.logger.warn(Q.L_GET_HISTORY_MSG_R,JSON.stringify({code:a,messageUIds:""}),n),[2,{code:a}])}}))}))},e.prototype.searchUltraGroupMessages=function(t){return m(this,void 0,void 0,(function(){return I(this,(function(t){return this._channel?this._status!==L.CONNECTED?[2,{code:S.RC_NET_UNAVAILABLE}]:[2,{code:S.SUCCESS}]:[2,{code:S.RC_NET_CHANNEL_INVALID}]}))}))},e.prototype.setUltraGroupDefaultNotificationLevel=function(t,e,n){return m(this,void 0,void 0,(function(){var r,i,o,s,a;return I(this,(function(c){switch(c.label){case 0:return this._isUltraGroupListExist?(r=this._channel)?(i=r.codec.encodeSetUltraGroupDefaultNotificationLevel(e,n),o=new Ze(nn[nn.ugUnpushSet],i,t),[4,r.send(o)]):[3,2]:[2,Promise.resolve({code:S.METHOD_NOT_AVAILABLE})];case 1:return s=c.sent(),a=s.code,S.SUCCESS,[2,{code:a}];case 2:return[2,{code:S.RC_NET_CHANNEL_INVALID}]}}))}))},e.prototype.getUltraGroupDefaultNotificationLevel=function(t,e){return m(this,void 0,void 0,(function(){var n,r,i,o,s,a,c;return I(this,(function(u){switch(u.label){case 0:return this._isUltraGroupListExist?(n=this._channel)?(r=n.codec.encodeGetUltraGroupDefaultNotificationLevel(e),i=new Ze(nn[nn.ugUnpushQuery],r,t),[4,n.send(i,li)]):[3,2]:[2,Promise.resolve({code:S.METHOD_NOT_AVAILABLE})];case 1:return o=u.sent(),s=o.code,a=o.data,s===S.SUCCESS&&a?(c=a.unpushLevel,[2,{code:s,data:c}]):[2,{code:s}];case 2:return[2,{code:S.RC_NET_CHANNEL_INVALID}]}}))}))},e.prototype._updateUltraGroupWhenRecallMsg=function(t,e,n,r){var i="".concat(e,"_").concat(t);if(this._ultraGroupMap[i]){var o=this._ultraGroupMap[i],s=o.latestMessage;o.lastReadTime,s&&s.messageUId===n&&(o.latestMessage=null)}},e.prototype.getAllConversationState=function(){return Promise.resolve({code:S.SUCCESS,data:this._conversationManager.getAllConversationState()})},e.prototype.getUltraGroupUnreadMentionedMessages=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o;return I(this,(function(s){switch(s.label){case 0:return this._channel?this._status!==L.CONNECTED?[2,{code:S.RC_NET_UNAVAILABLE}]:this._isUltraGroupListExist?(e=this._channel.codec.encodeUnreadMentionedMsgQuery(t),n=new Ze(nn[nn.qryUgUal],e,this.currentUserId),[4,this._channel.send(n,ui)]):[2,Promise.resolve({code:S.METHOD_NOT_AVAILABLE})]:[2,{code:S.RC_NET_CHANNEL_INVALID}];case 1:return r=s.sent(),i=r.code,o=r.data,i===S.SUCCESS&&o?[2,{code:i,data:o}]:[2,{code:i}]}}))}))},e.prototype.getUltraGroupFirstUnreadMessageTimestamp=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i;return I(this,(function(o){return this._channel?this._status!==L.CONNECTED?[2,{code:S.RC_NET_UNAVAILABLE}]:this._isUltraGroupListExist?(e=t.targetId,n=t.channelId,r=this._ultraGroupMap["".concat(n,"_").concat(e)]||{},i=r.firstUnreadMessage||null,[2,{code:S.SUCCESS,data:i}]):[2,Promise.resolve({code:S.METHOD_NOT_AVAILABLE})]:[2,{code:S.RC_NET_CHANNEL_INVALID}]}))}))},e.prototype.bindRTCRoomForChatroom=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i;return I(this,(function(o){switch(o.label){case 0:return this._channel?(e=t.chatRoomId,n=this._channel.codec.encodebindRTCRoomForChatroom(t),r=new Ze(nn[nn.setRtcRoomId],n,e),[4,this._channel.send(r)]):[2,S.RC_NET_CHANNEL_INVALID];case 1:return i=o.sent(),[2,i.code]}}))}))},e.prototype.rtcSignaling=function(t,e,n,r){return m(this,void 0,void 0,(function(){var i,o,s,a,c;return I(this,(function(u){switch(u.label){case 0:return this._channel?(i=r instanceof ArrayBuffer?Array.prototype.slice.call(new Int8Array(r)):r,o=n?new Ze(e,i,t):new Ve(e,i,t),[4,this._channel.send(o)]):[2,{code:S.RC_NET_CHANNEL_INVALID}];case 1:return s=u.sent(),a=s.code,c=s.data,[2,{code:a,buffer:null==c?void 0:c.data}]}}))}))},e.prototype.rtcPing=function(t,e,n){return m(this,void 0,void 0,(function(){var r,i,o,s,a;return I(this,(function(c){switch(c.label){case 0:return r=$i(this.rtcCodec,e,n),[4,this.rtcSignaling(t,nn[nn.rtcPing],!0,r)];case 1:return i=c.sent(),o=i.code,s=i.buffer,(a=s?this.rtcCodec.decode(rn.RtcOutput,s):null).version=ee(a.version),[2,{code:o,data:a}]}}))}))},e.prototype.getDeviceId=function(){return Io(this.runtime)},e.prototype.getOSInfo=function(){return m(this,void 0,void 0,(function(){return I(this,(function(t){return[2,{code:S.NOT_SUPPORT}]}))}))},e.prototype.getProcessInfo=function(){return m(this,void 0,void 0,(function(){return I(this,(function(t){return[2,{code:S.NOT_SUPPORT}]}))}))},e.prototype.getMainProcessInfo=function(){return m(this,void 0,void 0,(function(){return I(this,(function(t){return[2,{code:S.NOT_SUPPORT}]}))}))},e.prototype.destroy=function(){Po()},e.prototype.callExtra=function(t){return Promise.resolve({code:S.EXTRA_METHOD_UNDEFINED})},e.prototype.getConversationListWithAllChannel=function(){throw new Error("Method not implemented.")},e.prototype.getConversationListWithAllChannelByPage=function(t,e){throw new Error("Method not implemented.")},e.prototype.getConversationsByPage=function(t,e,n,r){throw new Error("Method not implemented.")},e.prototype.getHistoryMessagesByObjectNames=function(t,e,n,r,i,o,s){throw new Error("Method not implemented.")},e.prototype.clearConversations=function(){throw new Error("Method not implemented.")},e.prototype.setUserStatusListener=function(t,e){throw new Error("Method not implemented.")},e.prototype.setUserStatus=function(t){throw new Error("Method not implemented.")},e.prototype.subscribeUserStatus=function(t){throw new Error("Method not implemented.")},e.prototype.getUserStatus=function(t){throw new Error("Method not implemented.")},e.prototype.addToBlacklist=function(t){throw new Error("Method not implemented.")},e.prototype.removeFromBlacklist=function(t){throw new Error("Method not implemented.")},e.prototype.getBlacklist=function(){throw new Error("Method not implemented.")},e.prototype.getBlacklistStatus=function(t){throw new Error("Method not implemented.")},e.prototype.insertMessage=function(t,e,n){throw new Error("Method not implemented.")},e.prototype.deleteMessages=function(t){throw new Error("Method not implemented.")},e.prototype.deleteMessagesByTimestamp=function(t,e,n,r,i){throw new Error("Method not implemented.")},e.prototype.clearMessages=function(t,e,n){throw new Error("Method not implemented.")},e.prototype.getMessage=function(t){throw new Error("Method not implemented.")},e.prototype.setMessageContent=function(t,e,n){throw new Error("Method not implemented.")},e.prototype.setMessageSearchField=function(t,e,n){throw new Error("Method not implemented.")},e.prototype.searchConversationByContent=function(t,e,n,r){throw new Error("Method not implemented.")},e.prototype.searchConversationByContentWithAllChannel=function(t,e,n){throw new Error("Method not implemented.")},e.prototype.searchMessageByContent=function(t,e,n,r,i,o){throw new Error("Method not implemented.")},e.prototype.searchMessageByContentWithAllChannel=function(t,e,n,r,i){throw new Error("Method not implemented.")},e.prototype.searchMessageByContentInTimeRangeWithAllChannel=function(t,e,n,r,i,o,s){throw new Error("Method not implemented.")},e.prototype.getUnreadMentionedMessages=function(t,e){throw new Error("Method not implemented.")},e.prototype.setMessageSentStatus=function(t,e){throw new Error("Method not implemented.")},e.prototype.updateMessageReceiptStatus=function(t,e,n,r){throw new Error("Method not implemented.")},e.prototype.setMessageReceivedStatus=function(t,e){throw new Error("Method not implemented.")},e.prototype.clearData=function(){throw new Error("Method not implemented.")},e.prototype.clearUnreadCountByTimestamp=function(t,e,n,r){throw new Error("Method not implemented.")},e.prototype.setCallInfo=function(t,e,n){throw new Error("Method not implemented.")},e.prototype.getGroupMessageDeliverList=function(t,e,n){throw new Error("Method not implemented.")},e.prototype.getPrivateMessageDeliverTime=function(t,e){throw new Error("Method not implemented.")},e}(Vi),ss=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return v(e,t),e.prototype.joinRTCRoom=function(t,e,n,r,i,o){return this._context.joinRTCRoom(t,e,n,r,i,o)},e.prototype.quitRTCRoom=function(t){return this._context.quitRTCRoom(t)},e.prototype.rtcPing=function(t,e,n){return m(this,void 0,void 0,(function(){return I(this,(function(r){switch(r.label){case 0:return[4,this._context.rtcPing(t,e,n)];case 1:return[2,r.sent().code]}}))}))},e.prototype.rtcPingResVersion=function(t,e,n){return this._context.rtcPing(t,e,n)},e.prototype.getRTCRoomInfo=function(t){return this._context.getRTCRoomInfo(t)},e.prototype.getRTCUserInfoList=function(t){return this._context.getRTCUserInfoList(t)},e.prototype.getRTCUserInfo=function(t){return this._context.getRTCUserInfo(t)},e.prototype.setRTCUserInfo=function(t,e,n){return this._context.setRTCUserInfo(t,e,n)},e.prototype.removeRTCUserInfo=function(t,e){return this._context.removeRTCUserInfo(t,e)},e.prototype.setRTCData=function(t,e,n,r,i,o){return this._context.setRTCData(t,e,n,r,i,o)},e.prototype.setRTCTotalRes=function(t,e,n,r,i){return this._context.setRTCTotalRes(t,e,n,r,i)},e.prototype.setRTCCDNUris=function(t,e,n){return this._context.setRTCCDNUris(t,e,n)},e.prototype.getRTCData=function(t,e,n,r){return this._context.getRTCData(t,e,n,r)},e.prototype.removeRTCData=function(t,e,n,r,i){return this._context.removeRTCData(t,e,n,r,i)},e.prototype.setRTCOutData=function(t,e,n,r){return this._context.setRTCOutData(t,e,n,r)},e.prototype.getRTCOutData=function(t,e){return this._context.getRTCOutData(t,e)},e.prototype.getRTCToken=function(t,e,n){return this._context.getRTCToken(t,e,n)},e.prototype.setRTCState=function(t,e){return this._context.setRTCState(t,e)},e.prototype.getRTCUserList=function(t){return this._context.getRTCUserList(t)},e.prototype.joinLivingRoomAsAudience=function(t,e,n){return this._context.joinLivingRoomAsAudience(t,e,n)},e.prototype.quitLivingRoomAsAudience=function(t){return this._context.quitLivingRoomAsAudience(t)},e.prototype.rtcIdentityChange=function(t,e,n){return this._context.rtcIdentityChange(t,e,n)},e.prototype.requestRoomPK=function(t){return this._context.requestRoomPK(t)},e.prototype.cancelRoomPK=function(t){return this._context.cancelRoomPK(t)},e.prototype.responseRoomPK=function(t){return this._context.responseRoomPK(t)},e.prototype.endRoomPK=function(t){return this._context.endRoomPK(t)},e.prototype.registerRTCSignalListener=function(t){this._context.registerRTCSignalingListener(t)},e.prototype.rtcSignaling=function(t,e,n,r){return this._context.rtcSignaling(t,e,n,r)},e.prototype.getRTCJoinedUserInfo=function(t){return this._context.getRTCJoinedUserInfo(t)},e}(Ki);function as(t){return y({},t)}var cs,us=function(){function t(t,e){var n;this._runtime=t,this._token="",this._pluginContextQueue=[],this._pluginInstanseMap={},this.coreVersion="5.6.1",this._versionInfo={},this._typingInfo={},this._isInternalConnected=!1,this._connectionStatus=L.DISCONNECTED,this._canRedirectConnect=!1,this._watcher={message:void 0,batchMessage:void 0,conversationState:void 0,chatroomState:void 0,connectionState:void 0,rtcInnerWatcher:void 0,expansion:void 0,tag:void 0,conversationTagChanged:void 0,pullFinished:void 0,onConnecting:void 0,onConnected:void 0,onDisconnect:void 0,onSuspend:void 0,readReceiptReceived:void 0,messageReceiptRequest:void 0,messageReceiptResponse:void 0,typingState:void 0,messageBlocked:void 0,ultraGroupEnable:void 0,operateStatus:void 0,ultraGroupMessageExpansionUpdated:void 0,ultraGroupMessageModified:void 0,ultraGroupMessageRecalled:void 0,messageDelivered:void 0,groupMessageDeliveredStatus:void 0,ultraGroupChannelChangeType:void 0,ultraGroupChannelUserKicked:void 0,ultraGroupChannelDelete:void 0},this._typingInternalTimer=-1,this._typingExpireTime=2e3,this._typingChangedList=[],this._registerMessageSearchPropsMapping={},this.getChatRoomHistoryMessages=this.getChatroomHistoryMessages,this._options=y({},e),this.appkey=this._options.appkey,this.apiVersion=this._options.apiVersion,this._options.typingExpireTime&&(this._options.typingExpireTime<2e3?this._typingExpireTime=2e3:this._options.typingExpireTime>6e3?this._typingExpireTime=6e3:this._typingExpireTime=this._options.typingExpireTime),this.appkey,this.apiVersion,this._options.navigators=this._options.navigators.filter((function(t){return/^https?:\/\//.test(t)})),this._options.navigators=this._options.navigators.map((function(t){return t.replace(/\/$/g,"")})),0===this._options.navigators.length&&(n=this._options.navigators).push.apply(n,a);var r={status:this._connectionStatusListener.bind(this),batchMessage:this._batchMessageReceiver.bind(this),chatroom:this._chatroomInfoListener.bind(this),conversation:this._conversationInfoListener.bind(this),expansion:this._expansionInfoListener.bind(this),tag:this._tagListener.bind(this),conversationTag:this._conversationTagListener.bind(this),onRTCDataChange:this._rtcDataChange.bind(this),pullFinished:this._pullFinishedListener.bind(this),ultraGroupEnable:this._ultraGroupEnableListener.bind(this),operateStatus:this._operateStatusListener.bind(this),ultraGroupMessageExpansionUpdated:this._ultraGroupMessageExpansionUpdatedListener.bind(this),ultraGroupMessageModified:this._ultraGroupMessageModifiedListener.bind(this),ultraGroupMessageRecalled:this._ultraGroupMessageRecalledListener.bind(this),messageDelivered:this._messageDeliveredListerer.bind(this),groupMessageDeliveredStatus:this._groupMessageDeliveredStatusListerer.bind(this),callInfo:this._callInfoListener.bind(this),ultraGroupChannelChangeType:this._ultraGroupChannelChangeTypeListener.bind(this),ultraGroupChannelUserKicked:this._ultraGroupChannelUserKickedListener.bind(this),ultraGroupChannelDelete:this._ultraGroupChannelDeleteListener.bind(this),onNaviDataChange:this._naviDataChange.bind(this)};this._rtcCodec=this.createCodec(On,Dn),this._engine=de()?new RCCppEngine(t,this._rtcCodec,r,this._options):new os(t,this._rtcCodec,r,this._options),this.logger=this._engine.getInnerLogger()}return t.init=function(e,n){return this._context?(this._context.logger.warn(Q.A_INIT_REPEAT_O),this._context):(this._context=new t(e,n),this._context.logger.info(Q.L_INIT_O,JSON.stringify({appkey:n.appkey,navigators:n.navigators,typingExpireTime:n.typingExpireTime})),this._context.logger.warn(Q.L_IMSDK_VER_O,JSON.stringify({commitId:"530541cfdb452c4336fef8ab544c0f14e4445d32",version:"5.6.1"})),this._context)},t.destroy=function(){return m(this,void 0,void 0,(function(){return I(this,(function(t){switch(t.label){case 0:return this._context?(this._context.logger.info(Q.L_DESTROY_O),[4,this._context._destroy()]):[2];case 1:return t.sent(),this._context=void 0,[2]}}))}))},t.prototype.createCodec=function(t,e){return new Qi(t,e)},t.prototype.install=function(t,e){var n=this.logger.createTraceId();if(this.logger.info(Q.L_INSTALL_PLUGIN_T,JSON.stringify({tag:t.tag}),n),this._pluginInstanseMap[t.tag])return this.logger.warn(Q.L_INSTALL_PLUGIN_R,"repeat install",n),this._pluginInstanseMap[t.tag];var r="RCRTC"===t.tag?new ss(this):new Ki(this),i=null;try{if(!t.verify(this._runtime))return null;i=t.setup(r,this._runtime,e)}catch(t){this.logger.error(Q.L_INSTALL_PLUGIN_R,null==t?void 0:t.stack,n)}return["RCRTC","RCCall"].includes(t.tag)&&t.version&&t.name&&(this._versionInfo[t.name]=t.version),i&&(this._pluginContextQueue.push(r),this._pluginInstanseMap[t.tag]=i),i},t.prototype._handleRedirect=function(){return m(this,void 0,void 0,(function(){var t,e=this;return I(this,(function(n){switch(n.label){case 0:return[4,this.connect(this._token,!0)];case 1:return(t=n.sent().code)!==S.SUCCESS&&this._canRedirectConnect&&(this._handleSuspend(t),setTimeout((function(){e._handleRedirect()}),5e3)),[2]}}))}))},t.prototype._connectionStatusListener=function(t){var e,n,r,i;return m(this,void 0,void 0,(function(){return I(this,(function(o){switch(this.logger.info(Q.L_CONNECT_S,JSON.stringify({status:t})),[L.REDIRECT,L.BLOCKED,L.KICKED_OFFLINE_BY_OTHER_CLIENT,L.DISCONNECT_BY_SERVER,L.DISCONNECTED,L.NETWORK_UNAVAILABLE,L.USER_LOGOUT].includes(t)&&(tn.IM_CONNECTION_DURATION,(new Date).getTime(),function(t){m(this,void 0,void 0,(function(){var e,n;return I(this,(function(r){switch(r.label){case 0:e=tn.IM_CONNECTION_DURATION,Se().bundleId,(n=Oe(e)).startTime,n.endTime,n.code,r.label=1;case 1:return r.trys.push([1,3,,4]),[4,t.getNetworkType()];case 2:return r.sent(),[3,4];case 3:return r.sent(),_e.UNKONWN,[3,4];case 4:return Me(),[2]}}))}))}(this._runtime)),t){case L.REDIRECT:this._connectionStatus=t,this._canRedirectConnect=!0,this._handleSuspend(t),this._handleRedirect();break;case L.BLOCKED:case L.KICKED_OFFLINE_BY_OTHER_CLIENT:case L.DISCONNECT_BY_SERVER:case L.FORBID_RECONNECT_BY_OTHER_SAME_CLIENT:case L.USER_LOGOUT:this._connectionStatus=t,this._canRedirectConnect=!1,this._handleDisconnect(t);break;case L.CONNECTING:this._connectionStatus=t,this._handleConnecting();break;case L.CONNECTED:this._connectionStatus=t,this._handleConnected();break;case L.DISCONNECTED:this._connectionStatus=t,this._handleDisconnect(t);break;case L.RC_CONN_USER_OR_PASSWD_ERROR:if(!this._isInternalConnected)return[2];this._connectionStatus=t,this._handleDisconnect(t);break;default:this._connectionStatus=t,this._handleSuspend(t)}return null===(n=null===(e=this._watcher.rtcInnerWatcher)||void 0===e?void 0:e.status)||void 0===n||n.call(e,t),this._pluginContextQueue.forEach((function(e){var n;null===(n=e.onconnectionstatechange)||void 0===n||n.call(e,t)})),null===(i=(r=this._watcher).connectionState)||void 0===i||i.call(r,t),[2]}))}))},t.prototype._handleConnecting=function(){this._watcher.onConnecting&&this._watcher.onConnecting()},t.prototype._handleConnected=function(){this._watcher.onConnected&&this._watcher.onConnected()},t.prototype._handleDisconnect=function(t){this._watcher.onDisconnect&&this._watcher.onDisconnect(t)},t.prototype._handleSuspend=function(t){this._watcher.onSuspend&&this._watcher.onSuspend(t)},t.prototype._messageReceiver=function(t,e,n){var r,i,o,s,a=this;if((t.conversationType===D.RTC_ROOM||Object.prototype.hasOwnProperty.call(ft,t.messageType))&&this._watcher.rtcInnerWatcher&&this._watcher.rtcInnerWatcher.message)this._watcher.rtcInnerWatcher.message(as(t));else if(-1===["RC:ChrmJoinNtf","RC:ChrmQuitNtf"].indexOf(t.messageType)||"function"!=typeof this._watcher.chatroomState){if("RC:ChrmMemChange"!==t.messageType){if(t.messageType!==k.TYPING_STATUS||(this._addTypingInfo(as(t)),!this._watcher.typingState))if(t.messageType!==k.INTERCEPT){if(!this._pluginContextQueue.some((function(e){if(!e.onmessage)return!1;try{return e.onmessage(as(t))}catch(t){return a.logger.error(Q.A_MSG_LISTENER_E,null==t?void 0:t.stack),!1}})))if(null===(o=(i=this._watcher).message)||void 0===o||o.call(i,as(t),e,n),"RC:ReadNtf"!==t.messageType)if("RC:RRReqMsg"!==t.messageType){if("RC:RRRspMsg"!==t.messageType)return t;var c=null===(s=t.content)||void 0===s?void 0:s.receiptMessageDic,u=this._engine.getCurrentUserId();c&&Array.isArray(c[u])&&"function"==typeof this._watcher.messageReceiptResponse&&this._watcher.messageReceiptResponse({conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId},t.senderUserId,c[u])}else"function"==typeof this._watcher.messageReceiptRequest&&this._watcher.messageReceiptRequest({conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId},t.content.messageUId,t.senderUserId);else"function"==typeof this._watcher.readReceiptReceived&&this._watcher.readReceiptReceived({conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId},t.content.messageUId,t.content.lastMessageSendTime)}else{var l={conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId||"",blockType:t.content.interceptType,blockedMessageUId:t.content.msgUId,extra:t.content.extra};if(t.conversationType===D.ULTRA_GROUP){var f=t.content.sourceType;if(l.sourceType=f,(f===q.MSG_EXPANSION||f===q.MSG_MODIFY)&&t.content.sourceContent)try{l.sourceContent=JSON.parse(t.content.sourceContent)}catch(t){this.logger.warn(Q.L_CALLBACK_E,JSON.stringify({source:"message.content.sourceContent",msg:t.message}))}}this._MessageBlockedListener(l)}}else if("function"==typeof this._watcher.chatroomState){var h={};Array.isArray(t.content.userList)&&t.content.userList.forEach((function(t){h[t.userId]=t.status})),this._watcher.chatroomState({userChange:{users:h,chatroomId:t.targetId}})}}else this._watcher.chatroomState({userChange:{users:(r={},r[t.senderUserId]="RC:ChrmQuitNtf"===t.messageType?J.QUIT:J.JOIN,r),chatroomId:t.targetId}})},t.prototype._batchMessageReceiver=function(t,e,n){var r=this,i=[];t.forEach((function(t){var o=r._messageReceiver(t,e,n);o&&i.push(o)})),i.length&&this._watcher.batchMessage&&(this.logger.debug(Q.L_BATCH_MESSAGE_O,i.map((function(t){return t.messageUId})).join(",")),this._watcher.batchMessage(i))},t.prototype._chatroomInfoListener=function(t){var e,n;null===(n=(e=this._watcher).chatroomState)||void 0===n||n.call(e,t)},t.prototype._conversationInfoListener=function(t){var e,n;null===(n=(e=this._watcher).conversationState)||void 0===n||n.call(e,t)},t.prototype._expansionInfoListener=function(t){var e,n;null===(n=(e=this._watcher).expansion)||void 0===n||n.call(e,t)},t.prototype._tagListener=function(){var t,e;null===(e=(t=this._watcher).tag)||void 0===e||e.call(t)},t.prototype._conversationTagListener=function(){var t,e;null===(e=(t=this._watcher).conversationTagChanged)||void 0===e||e.call(t)},t.prototype._typingStatusListener=function(t){var e,n;null===(n=(e=this._watcher).typingState)||void 0===n||n.call(e,t)},t.prototype._pullFinishedListener=function(){var t,e;null===(e=(t=this._watcher).pullFinished)||void 0===e||e.call(t)},t.prototype._MessageBlockedListener=function(t){var e,n;null===(n=(e=this._watcher).messageBlocked)||void 0===n||n.call(e,t)},t.prototype._messageDeliveredListerer=function(t){var e,n;null===(n=(e=this._watcher).messageDelivered)||void 0===n||n.call(e,t)},t.prototype._groupMessageDeliveredStatusListerer=function(t){var e,n;null===(n=(e=this._watcher).groupMessageDeliveredStatus)||void 0===n||n.call(e,t)},t.prototype._callInfoListener=function(t){var e=this;this._pluginContextQueue.forEach((function(n){try{n.onCallInfo&&n.onCallInfo(t)}catch(t){e.logger.warn(Q.L_CALLBACK_E,null==t?void 0:t.stack)}}))},t.prototype._ultraGroupEnableListener=function(t){var e,n;null===(n=(e=this._watcher).ultraGroupEnable)||void 0===n||n.call(e,t)},t.prototype._operateStatusListener=function(t){var e,n;null===(n=(e=this._watcher).operateStatus)||void 0===n||n.call(e,t)},t.prototype._ultraGroupMessageExpansionUpdatedListener=function(t){var e,n;null===(n=(e=this._watcher).ultraGroupMessageExpansionUpdated)||void 0===n||n.call(e,t)},t.prototype._ultraGroupMessageModifiedListener=function(t){var e,n;null===(n=(e=this._watcher).ultraGroupMessageModified)||void 0===n||n.call(e,t)},t.prototype._ultraGroupMessageRecalledListener=function(t){var e,n;null===(n=(e=this._watcher).ultraGroupMessageRecalled)||void 0===n||n.call(e,t)},t.prototype._ultraGroupChannelChangeTypeListener=function(t){var e,n;null===(n=(e=this._watcher).ultraGroupChannelChangeType)||void 0===n||n.call(e,t)},t.prototype._ultraGroupChannelUserKickedListener=function(t){var e,n;null===(n=(e=this._watcher).ultraGroupChannelUserKicked)||void 0===n||n.call(e,t)},t.prototype._ultraGroupChannelDeleteListener=function(t){var e,n;null===(n=(e=this._watcher).ultraGroupChannelDelete)||void 0===n||n.call(e,t)},t.prototype._rtcDataChange=function(t,e){this._pluginContextQueue.forEach((function(n){var r;null===(r=n.onrtcdatachange)||void 0===r||r.call(n,t,e)}))},t.prototype._naviDataChange=function(t){Bi(this.appkey,this._getTokenWithoutNavi(),t,this._runtime.localStorage),this._pluginContextQueue.forEach((function(e){var n;null===(n=e.onnavidatachange)||void 0===n||n.call(e,t)}))},t.prototype.assignWatcher=function(t){var e=this;Object.keys(this._watcher).forEach((function(n){if(Object.prototype.hasOwnProperty.call(t,n)){var r=t[n];e._watcher[n]=Mt(r)||It(r)?r:void 0}}))},t.prototype._resetWatcher=function(){var t=this;Object.keys(this._watcher).forEach((function(e){t._watcher[e]=void 0}))},t.prototype._addTypingInfo=function(t){var e=t.senderUserId,n=t.conversationType,r=t.targetId,i=t.content,o=t.channelId,s=i.typingContentType,a=o||"",c="".concat(n,"#").concat(r,"#").concat(a);this._typingInfo[c]||(this._typingInfo[c]=[]);var u=this._typingInfo[c].findIndex((function(t){return t.userId===e}));u>=0&&this._typingInfo[c][u].messageType===s?this._typingInfo[c][u].timestamp=Date.now():(u>=0&&this._typingInfo[c].splice(u,1),this._typingInfo[c].push({userId:e,messageType:s,timestamp:Date.now()}),this._typingChangedList.includes(c)||this._typingChangedList.push(c),this._startCheckTypingInfo())},t.prototype._startCheckTypingInfo=function(){var t=this;-1===this._typingInternalTimer&&0!==Object.keys(this._typingInfo).length&&(this._typingInternalTimer=setInterval((function(){for(var e in t._typingInfo){var n=t._typingInfo[e].length;t._typingInfo[e]=t._typingInfo[e].filter((function(e){return Date.now()-e.timestamp<t._typingExpireTime})),t._typingInfo[e].length===n||t._typingChangedList.includes(e)||t._typingChangedList.push(e),0===t._typingInfo[e].length&&delete t._typingInfo[e]}if(t._typingChangedList.length>0){var r=t._typingChangedList.map((function(e){return{conversationType:Number(e.split("#")[0]),targetId:e.split("#")[1],channelId:e.split("#")[2],list:t._typingInfo[e]||[]}}));t._typingStatusListener(r),t._typingChangedList=[]}0===Object.keys(t._typingInfo).length&&(clearInterval(t._typingInternalTimer),t._typingInternalTimer=-1)}),500))},t.prototype.getConnectedTime=function(){return this._engine.getConnectedTime()},t.prototype.getServerTime=function(){return this._engine.getServerTime()},t.prototype.getDeviceId=function(){return this._engine.getDeviceId()},t.prototype.getCurrentUserId=function(){return this._engine.getCurrentUserId()},t.prototype.getConnectionStatus=function(){return this._connectionStatus},Object.defineProperty(t.prototype,"token",{get:function(){return this._token},enumerable:!1,configurable:!0}),t.prototype.connect=function(t,e,n,r){var i,o;return void 0===e&&(e=!1),m(this,void 0,void 0,(function(){var s,a,c,u,l,f;return I(this,(function(h){switch(h.label){case 0:return this._connectionStatus===L.CONNECTED?[2,{code:S.SUCCESS,userId:this._engine.getCurrentUserId()}]:this._connectionStatus===L.CONNECTING?[2,{code:S.BIZ_ERROR_CONNECTING}]:"string"!=typeof t||0===t.length?[2,{code:S.RC_CONN_USER_OR_PASSWD_ERROR}]:(this._token=t,[4,this.reqNaviInfo(e,r)]);case 1:return s=h.sent(),a=s.code,c=s.data,a!==S.SUCCESS?[2,{code:a}]:(null==c||c.userId,1===(null==c?void 0:c.type)?[2,{code:S.PACKAGE_ENVIRONMENT_ERROR}]:(u=Rt.getInfo(),this.logger.info(Q.L_CONNECT_T,JSON.stringify({token:t,refreshNavi:e,reconnectKickEnable:n}),r),[4,this._engine.connect(this._getTokenWithoutNavi(),c,n,r)]));case 2:return(l=h.sent())===S.SUCCESS?this.logger.info(Q.L_CONNECT_R,JSON.stringify({userId:this._engine.getCurrentUserId(),code:l}),r):this.logger.warn(Q.L_CONNECT_R,JSON.stringify({code:l}),r),l===x.REDIRECT?(this._connectionStatus=L.REDIRECT,[2,this.connect(t,!0)]):(f=this._engine.getCurrentUserId(),l===S.SUCCESS&&(tn.IM_CONNECTION_DURATION,(new Date).getTime(),1!==(null==c?void 0:c.type)&&(null===(o=(i=this._engine).reportSDKInfo)||void 0===o||o.call(i,u)),this._isInternalConnected=!0),l!==S.SUCCESS||de()||1===c.openUS&&this._pullUserSettings(),l!==S.SUCCESS&&(this._connectionStatus=L.CONNECTION_CLOSED),[2,{code:l,userId:f}])}}))}))},t.prototype._pullUserSettings=function(){return m(this,void 0,void 0,(function(){return I(this,(function(t){return[2]}))}))},t.prototype.disconnect=function(){var t=this;return this._isInternalConnected=!1,clearInterval(this._typingInternalTimer),this._typingInternalTimer=-1,this._typingInfo={},this._engine.disconnect(),this._pluginContextQueue.forEach((function(e){if(e.ondisconnect)try{e.ondisconnect()}catch(e){t.logger.error(Q.L_CALLBACK_E,null==e?void 0:e.stack)}})),Promise.resolve()},t.prototype.reconnect=function(t){return this._isInternalConnected?Promise.resolve({code:S.CAN_NOT_RECONNECT}):this.connect(this._getTokenWithoutNavi(),!1,t)},t.prototype._getTokenWithoutNavi=function(){return this._token.replace(/@.+$/,"@")},t.prototype.getInfoFromCache=function(){return this._engine.getNaviInfoFromCache()},t.prototype.reqNaviInfo=function(t,e){return m(this,void 0,void 0,(function(){var n,r,i,o;return I(this,(function(s){switch(s.label){case 0:return n=this._token.split("@"),r=n[1],i=r?r.split(";").map((function(t){return/^https?:/.test(t)?t:"https://".concat(t)})):[],e||(e=this.logger.createTraceId()),this.logger.info(Q.L_GET_NAVI_T,JSON.stringify({token:this._token,uris:i}),e),[4,this._engine.getNaviInfo(this._getTokenWithoutNavi(),i,t,this._options.checkCA)];case 1:return(o=s.sent())?(this.logger.info(Q.L_GET_NAVI_R,JSON.stringify({code:S.SUCCESS,naviInfo:o}),e),[2,{code:S.SUCCESS,data:y({},o)}]):(this.logger.warn(Q.L_GET_NAVI_R,JSON.stringify({code:S.RC_NAVI_RESOURCE_ERROR}),e),[2,{code:S.RC_NAVI_RESOURCE_ERROR,msg:S[S.RC_NAVI_RESOURCE_ERROR]}])}}))}))},t.prototype.registerMessageType=function(t,e,n,r,i){void 0===r&&(r=[]),void 0===i&&(i=!1),gt(r)&&r.length>0&&(this._registerMessageSearchPropsMapping[t]=r),this._engine.registerMessageType(t,e,n,r,i)},t.prototype.registerRTCSignalingListener=function(t){this._engine.registerRTCSignalingListener(t)},t.prototype.checkSearchPropsMsg=function(t,e){var n=this._registerMessageSearchPropsMapping[t],r={};return n&&It(e)&&Object.keys(e).forEach((function(t){if(n.includes(t)){var i=e[t];pt(i)&&(i>-Math.pow(2,64)&&i<Math.pow(2,64)&&Number.isInteger(i)||(r[t]=i))}})),Object.keys(r).length>0?{msg:JSON.stringify(r),code:S.SEARCH_PROPS_LIMIT_ERROR}:{code:S.SUCCESS}},t.prototype.sendMessage=function(t,e,n,r,i){var o=this.checkSearchPropsMsg(n.messageType,n.content),s=o.code,a=o.msg;if(s!==S.SUCCESS)return Promise.resolve({code:s,msg:a});if(t!==D.ULTRA_GROUP){var c=this.getInfoFromCache();if(1===((null==c?void 0:c.grpRRVer)||0)&&n.messageType===k.READ_RECEIPT_RESPONSE)return Promise.resolve({code:S.READ_RECEIPT_ERROR})}var u=n.canIncludeExpansion,l=void 0!==u&&u,f=n.expansion;if(l){var h=St(f),d=h.isIllgalEx,p=h.isExKeyOrValLengthExceedLimit;if(h.isExceedLimit||p)return Promise.resolve({code:S.EXPANSION_LIMIT_EXCEET});if(d)return Promise.resolve({code:S.BIZ_ERROR_INVALID_PARAMETER})}return function(t,e){void 0===e&&(e="utf-8");var n,r=0;if("utf-16"===e)for(var i=0,o=t.length;i<o;i++)r+=(n=t.charCodeAt(i))<=65535?2:4;else for(i=0,o=t.length;i<o;i++)r+=(n=t.charCodeAt(i))<127?1:n<=2047?2:n<=65535?3:4;return r}(JSON.stringify(n.content))>131072?Promise.resolve({code:S.RC_MSG_CONTENT_EXCEED_LIMIT}):t===D.ULTRA_GROUP?this._engine.sendUltraMessage(e,n,r,i):this._engine.sendMessage(t,e,n,r,i)},t.prototype.sendExpansionMessage=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o,s,a,c,u,l,f;return I(this,(function(h){switch(h.label){case 0:return e=t.channelId,n=t.conversationType,r=t.targetId,i=t.messageUId,o=t.keys,s=t.expansion,a=t.removeAll,t.canIncludeExpansion?(c=St(s),u=c.isIllgalEx,l=c.isExKeyOrValLengthExceedLimit,c.isExceedLimit||l?[2,Promise.resolve({code:S.EXPANSION_LIMIT_EXCEET})]:u?[2,Promise.resolve({code:S.BIZ_ERROR_INVALID_PARAMETER})]:(f={mid:i},s&&(f.put=s),o&&(f.del=o),a&&(f.removeAll=1),[4,this._engine.sendMessage(n,r,{content:f,messageType:k.EXPANSION_NOTIFY,channelId:e})])):[2,{code:S.MESSAGE_KV_NOT_SUPPORT}];case 1:return[2,{code:h.sent().code}]}}))}))},t.prototype.sendReadReceiptMessage=function(t,e,n){return m(this,void 0,void 0,(function(){var r;return I(this,(function(i){return r=this.getInfoFromCache(),0===((null==r?void 0:r.grpRRVer)||0)?[2,{code:S.READ_RECEIPT_ERROR,msg:"The read receipt switch is not on, please call the sendMessage method!"}]:[2,this._engine.sendReadReceiptMessage(t,e,n)]}))}))},t.prototype.getMessageReader=function(t,e,n){return m(this,void 0,void 0,(function(){var r;return I(this,(function(i){return r=this.getInfoFromCache(),0===((null==r?void 0:r.grpRRVer)||0)?[2,{code:S.READ_RECEIPT_ERROR}]:[2,this._engine.getMessageReader(t,e,n)]}))}))},t.prototype._destroy=function(){return m(this,void 0,void 0,(function(){var t=this;return I(this,(function(e){switch(e.label){case 0:return this._resetWatcher(),this._engine.destroy(),[4,this.disconnect()];case 1:return e.sent(),this._pluginContextQueue.forEach((function(e){if(e.ondestroy)try{e.ondestroy()}catch(e){t.logger.error(Q.L_CALLBACK_E,null==e?void 0:e.stack)}})),this._pluginContextQueue.length=0,this._pluginInstanseMap={},[2]}}))}))},t.prototype.getHistoryMessage=function(t,e,n,r,i,o,s,a){if(void 0===n&&(n=0),void 0===r&&(r=20),void 0===i&&(i=0),void 0===o&&(o=""),void 0===s&&(s=""),t===D.ULTRA_GROUP){var c={timestamp:n,count:r,order:i,channelId:o};return this._engine.getUltraHistoryMsg(e,c,a)}return this._engine.getHistoryMessage(t,e,n,r,i,o,s||"",a)},t.prototype.getHistoryMessagesByObjectNames=function(t,e,n,r,i,o,s){return this._engine.getHistoryMessagesByObjectNames(t,e,n,r,i,o,s)},t.prototype.getConversationList=function(t,e,n,r,i){if(void 0===t&&(t=300),void 0===i&&(i=""),e===D.ULTRA_GROUP){var o=S.METHOD_NOT_SUPPORT;return Promise.resolve({code:o,msg:S[o]})}return this._engine.getConversationList(t,e,n,r,i)},t.prototype.getConversationsByPage=function(t,e,n,r){return this._engine.getConversationsByPage(t,e,n,r)},t.prototype.getConversation=function(t,e,n){return this._engine.getConversation(t,e,n)},t.prototype.removeConversation=function(t,e,n){return void 0===n&&(n=""),t===D.ULTRA_GROUP?Promise.resolve(S.METHOD_NOT_SUPPORT):this._engine.removeConversation(t,e,n)},t.prototype.getUltraGroupList=function(t){return this._engine.getUltraGroupList(t)},t.prototype.getBlockUltraGroupList=function(){return this._engine.getBlockUltraGroupList()},t.prototype.getTopUltraGroupList=function(){return this._engine.getTopUltraGroupList()},t.prototype.clearUnreadCount=function(t,e,n){return void 0===n&&(n=""),t===D.ULTRA_GROUP?this._engine.clearUltraUnreadcount(e,n):this._engine.clearConversationUnreadCount(t,e,n)},t.prototype.clearAllUnreadCount=function(){return this._engine.clearAllUnreadCount()},t.prototype.getUnreadCount=function(t,e,n){return void 0===n&&(n=""),this._engine.getConversationUnreadCount(t,e,n)},t.prototype.getTotalUnreadCount=function(t,e,n){if(e&&e.includes(D.ULTRA_GROUP)){var r=S.METHOD_NOT_SUPPORT;return Promise.resolve({code:r,msg:S[r]})}return this._engine.getAllConversationUnreadCount(t,e&&e.length>0?e:[D.PRIVATE,D.GROUP,D.SYSTEM,D.PUBLIC_SERVICE],!!n)},t.prototype.getTotalUnreadCountByLevels=function(t,e,n){return this._engine.getTotalUnreadCountByLevels(t,e,n)},t.prototype.getFirstUnreadMessage=function(t,e,n){return void 0===n&&(n=""),this._engine.getFirstUnreadMessage(t,e,n)},t.prototype.setConversationNotificationLevel=function(t,e,n,r){return void 0===r&&(r=""),m(this,void 0,void 0,(function(){var i;return I(this,(function(o){return i=[{conversationType:t,targetId:e,notificationLevel:n,channelId:r}],[2,this._engine.batchSetConversationStatus(i)]}))}))},t.prototype.setConversationStatus=function(t,e,n,r,i){if(void 0===i&&(i=""),t===D.ULTRA_GROUP&&void 0!==n)return Promise.resolve(S.METHOD_NOT_SUPPORT);var o=[{conversationType:t,targetId:e,isTop:n,notificationStatus:r,channelId:i}];return this._engine.batchSetConversationStatus(o)},t.prototype.saveConversationMessageDraft=function(t,e,n,r){return void 0===r&&(r=""),this._engine.saveConversationMessageDraft(t,e,n,r)},t.prototype.getConversationMessageDraft=function(t,e,n){return void 0===n&&(n=""),this._engine.getConversationMessageDraft(t,e,n)},t.prototype.clearConversationMessageDraft=function(t,e,n){return void 0===n&&(n=""),this._engine.clearConversationMessageDraft(t,e,n)},t.prototype.recallMessage=function(t,e,n,r,i){return this._engine.recallMsg(t,e,n,r,i)},t.prototype.deleteRemoteMessage=function(t,e,n,r){return void 0===r&&(r=""),t===D.ULTRA_GROUP?Promise.resolve(S.METHOD_NOT_SUPPORT):this._engine.deleteRemoteMessage(t,e,n,r)},t.prototype.deleteRemoteMessageByTimestamp=function(t,e,n,r){return void 0===r&&(r=""),this._engine.deleteRemoteMessageByTimestamp(t,e,n,r)},t.prototype.joinChatroom=function(t,e,n){return void 0===e&&(e=10),this._engine.joinChatroom(t,e,n)},t.prototype.joinExistChatroom=function(t,e,n){return void 0===e&&(e=10),this._engine.joinExistChatroom(t,e,n)},t.prototype.quitChatroom=function(t){return this._engine.quitChatroom(t)},t.prototype.getChatroomInfo=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=0),this._engine.getChatroomInfo(t,e,n)},t.prototype.setChatroomEntry=function(t,e){var n=e.key,r=e.value;return oe(n)&&se(r)?this._engine.setChatroomEntry(t,e):Promise.resolve(S.BIZ_ERROR_INVALID_PARAMETER)},t.prototype.setChatroomEntries=function(t,e){for(var n=0;n<e.entries.length;n++){var r=e.entries[n],i=r.key,o=r.value;if(!oe(i)||!se(o))return Promise.resolve({code:S.BIZ_ERROR_INVALID_PARAMETER})}var s=y(y({},e),{isOverwrite:e.isForce});return this._engine.setChatroomEntries(t,s)},t.prototype.forceSetChatroomEntry=function(t,e){var n=e.key,r=e.value;return oe(n)&&se(r)?this._engine.forceSetChatroomEntry(t,e):Promise.resolve(S.BIZ_ERROR_INVALID_PARAMETER)},t.prototype.removeChatroomEntry=function(t,e){var n=e.key;return oe(n)?this._engine.removeChatroomEntry(t,e):Promise.resolve(S.BIZ_ERROR_INVALID_PARAMETER)},t.prototype.removeChatroomEntries=function(t,e){for(var n=0;n<e.entries.length;n++){var r=e.entries[n].key;if(!oe(r))return Promise.resolve({code:S.BIZ_ERROR_INVALID_PARAMETER})}return this._engine.removeChatroomEntries(t,e)},t.prototype.forceRemoveChatroomEntry=function(t,e){var n=e.key;return oe(n)?this._engine.forceRemoveChatroomEntry(t,e):Promise.resolve(S.BIZ_ERROR_INVALID_PARAMETER)},t.prototype.getChatroomEntry=function(t,e){return this._engine.getChatroomEntry(t,e)},t.prototype.getAllChatroomEntries=function(t){return this._engine.getAllChatroomEntry(t)},t.prototype.getChatroomHistoryMessages=function(t,e,n,r){return void 0===e&&(e=20),void 0===n&&(n=0),void 0===r&&(r=0),this._engine.getChatroomHistoryMessages(t,r,e,n)},t.prototype.getFileToken=function(t,e,n,r){return m(this,void 0,void 0,(function(){var i,o,s,a,c,u,l;return I(this,(function(f){switch(f.label){case 0:return i=this.getInfoFromCache(),o=(null==i?void 0:i.bosAddr)||"",s=(null==i?void 0:i.uploadServer)||"",a=(null==i?void 0:i.ossConfig)||"",[4,this._engine.getFileToken(t,e,n,r)];case 1:return c=f.sent(),u=c.code,l=c.data,u===S.SUCCESS&&l?[2,Promise.resolve(Object.assign(l,{bos:o,qiniu:s,ossConfig:a}))]:[2,Promise.reject(u)]}}))}))},t.prototype.getFileUrl=function(t,e,n,r,i){return void 0===i&&(i=$.QINIU),m(this,void 0,void 0,(function(){var o,s,a;return I(this,(function(c){switch(c.label){case 0:return(null==r?void 0:r.isBosRes)?[2,Promise.resolve(r)]:[4,this._engine.getFileUrl(t,i,e,n)];case 1:return o=c.sent(),s=o.code,a=o.data,s===S.SUCCESS?[2,Promise.resolve(a)]:[2,Promise.reject(s)]}}))}))},t.prototype.createTag=function(t){return m(this,void 0,void 0,(function(){return I(this,(function(e){return[2,this._engine.createTag(t)]}))}))},t.prototype.removeTag=function(t){return m(this,void 0,void 0,(function(){return I(this,(function(e){return[2,this._engine.removeTag(t)]}))}))},t.prototype.updateTag=function(t){return m(this,void 0,void 0,(function(){return I(this,(function(e){return[2,this._engine.updateTag(t)]}))}))},t.prototype.getTagList=function(){return m(this,void 0,void 0,(function(){return I(this,(function(t){return[2,this._engine.getTagList()]}))}))},t.prototype.addTagForConversations=function(t,e){return m(this,void 0,void 0,(function(){return I(this,(function(n){return e.length>1e3?[2,Promise.reject(S.CONVER_OUT_LIMIT_ERROR)]:[2,this._engine.addTagForConversations(t,e)]}))}))},t.prototype.removeTagForConversations=function(t,e){return m(this,void 0,void 0,(function(){return I(this,(function(n){return[2,this._engine.removeTagForConversations(t,e)]}))}))},t.prototype.removeTagsForConversation=function(t,e){return m(this,void 0,void 0,(function(){return I(this,(function(n){return[2,this._engine.removeTagsForConversation(t,e)]}))}))},t.prototype.getConversationListByTag=function(t,e,n,r){return m(this,void 0,void 0,(function(){return I(this,(function(i){return[2,this._engine.getConversationListByTag(t,e,n,r)]}))}))},t.prototype.getUnreadCountByTag=function(t,e){return m(this,void 0,void 0,(function(){return I(this,(function(n){return[2,this._engine.getUnreadCountByTag(t,e)]}))}))},t.prototype.setConversationStatusInTag=function(t,e,n){return m(this,void 0,void 0,(function(){return I(this,(function(r){return[2,this._engine.setConversationStatusInTag(t,e,n)]}))}))},t.prototype.getTagsForConversation=function(t){return m(this,void 0,void 0,(function(){return I(this,(function(e){return[2,this._engine.getTagsForConversation(t)]}))}))},t.prototype.getBlockConversationList=function(){return this._engine.getBlockConversationList()},t.prototype.getTopConversationList=function(t,e){return t&&0!==t.length||(t=[D.PRIVATE,D.CHATROOM,D.GROUP,D.SYSTEM,D.APP_PUBLIC_SERVICE,D.PUBLIC_SERVICE]),this._engine.getTopConversationList(t,e)},t.prototype.getUnreadMentionedCount=function(t){return this._engine.getUnreadMentionedCount(t)},t.prototype.getAllUnreadMentionedCount=function(){return this._engine.getAllUnreadMentionedCount()},t.prototype.sendUltraGroupTypingStatus=function(t){if(t.conversationType!==D.ULTRA_GROUP){var e=S.METHOD_ONLY_SUPPORT_ULTRA_GROUP;return Promise.resolve({code:e,msg:S[e]})}return this._engine.sendUltraGroupTypingStatus(t)},t.prototype.getUltraGroupMessageListByMessageUId=function(t){return this._engine.getUltraGroupMessageListByMessageUId(t)},t.prototype.expandUltraMessage=function(t){return m(this,void 0,void 0,(function(){var e,n,r,i,o,s,a;return I(this,(function(c){switch(c.label){case 0:return t.channelId,e=t.conversationType,t.targetId,t.messageUId,t.keys,n=t.expansion,t.removeAll,r=t.canIncludeExpansion,e!==D.ULTRA_GROUP?[2,{code:i=S.METHOD_ONLY_SUPPORT_ULTRA_GROUP,msg:S[i]}]:r?(o=St(n),s=o.isIllgalEx,a=o.isExKeyOrValLengthExceedLimit,o.isExceedLimit||a?[2,{code:S.EXPANSION_LIMIT_EXCEET}]:s?[2,{code:S.BIZ_ERROR_INVALID_PARAMETER}]:[4,this._engine.expandUltraMessage(t)]):[2,{code:S.MESSAGE_KV_NOT_SUPPORT}];case 1:return[2,{code:c.sent().code}]}}))}))},t.prototype.modifyMessage=function(t){return m(this,void 0,void 0,(function(){var e;return I(this,(function(n){switch(n.label){case 0:return t.conversationType!==D.ULTRA_GROUP?[2,{code:e=S.METHOD_ONLY_SUPPORT_ULTRA_GROUP,msg:S[e]}]:[4,this._engine.modifyMessage(t)];case 1:return[2,{code:n.sent().code}]}}))}))},t.prototype.getUltraGroupUnreadMentionedCountByTargetId=function(t,e){return this._engine.getUltraGroupUnreadMentionedCountByTargetId(t,e)},t.prototype.getUltraGroupUnreadCountByTargetId=function(t,e){return this._engine.getUltraGroupUnreadCountByTargetId(t,e)},t.prototype.getAllUltraGroupUnreadCount=function(t){return void 0===t&&(t=!1),this._engine.getAllUltraGroupUnreadCount(t)},t.prototype.getAllConversationState=function(){return this._engine.getAllConversationState()},t.prototype.getUltraGroupUnreadMentionedMessages=function(t){return this._engine.getUltraGroupUnreadMentionedMessages(t)},t.prototype.getUltraGroupFirstUnreadMessageTimestamp=function(t){return this._engine.getUltraGroupFirstUnreadMessageTimestamp(t)},t.prototype.callExtra=function(t){for(var e,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return(e=this._engine).callExtra.apply(e,M([t],n,!1))},t.prototype.getOSInfo=function(){return this._engine.getOSInfo()},t.prototype.getProcessInfo=function(){return this._engine.getProcessInfo()},t.prototype.getMainProcessInfo=function(){return this._engine.getMainProcessInfo()},t.prototype.setCallInfo=function(t,e,n){return this._engine.setCallInfo(t,e,n)},t.prototype.getGroupMessageDeliverList=function(t,e,n){return void 0===n&&(n=""),this._engine.getGroupMessageDeliverList(t,e,n)},t.prototype.getPrivateMessageDeliverTime=function(t,e){return void 0===e&&(e=""),this._engine.getPrivateMessageDeliverTime(t,e)},t.prototype.clearConversations=function(t,e){return m(this,void 0,void 0,(function(){return I(this,(function(n){return[2,this._engine.clearConversations(t,e)]}))}))},t.prototype.setUserStatusListener=function(t,e){var n=this;return this._engine.setUserStatusListener(t,(function(t){try{e(t)}catch(t){n.logger.error(Q.L_CALLBACK_E,null==t?void 0:t.stack)}}))},t.prototype.addToBlacklist=function(t){return m(this,void 0,void 0,(function(){return I(this,(function(e){return[2,this._engine.addToBlacklist(t)]}))}))},t.prototype.removeFromBlacklist=function(t){return m(this,void 0,void 0,(function(){return I(this,(function(e){return[2,this._engine.removeFromBlacklist(t)]}))}))},t.prototype.getBlacklist=function(){return m(this,void 0,void 0,(function(){return I(this,(function(t){return[2,this._engine.getBlacklist()]}))}))},t.prototype.getBlacklistStatus=function(t){return m(this,void 0,void 0,(function(){return I(this,(function(e){return[2,this._engine.getBlacklistStatus(t)]}))}))},t.prototype.insertMessage=function(t,e,n){return m(this,void 0,void 0,(function(){var r,i,o;return I(this,(function(s){return r=this.checkSearchPropsMsg(n.messageType,n.content),i=r.code,o=r.msg,i!==S.SUCCESS?[2,Promise.resolve({code:i,msg:o})]:[2,this._engine.insertMessage(t,e,n)]}))}))},t.prototype.deleteMessages=function(t){return m(this,void 0,void 0,(function(){return I(this,(function(e){return[2,this._engine.deleteMessages(t)]}))}))},t.prototype.deleteMessagesByTimestamp=function(t,e,n,r,i){return void 0===i&&(i=""),m(this,void 0,void 0,(function(){return I(this,(function(o){return[2,this._engine.deleteMessagesByTimestamp(t,e,n,r,i)]}))}))},t.prototype.clearMessages=function(t,e,n){return void 0===n&&(n=""),m(this,void 0,void 0,(function(){return I(this,(function(r){return[2,this._engine.clearMessages(t,e,n)]}))}))},t.prototype.getMessage=function(t){return m(this,void 0,void 0,(function(){return I(this,(function(e){return[2,this._engine.getMessage(t)]}))}))},t.prototype.setMessageContent=function(t,e,n){return m(this,void 0,void 0,(function(){return I(this,(function(r){return[2,this._engine.setMessageContent(t,e,n)]}))}))},t.prototype.setMessageSearchField=function(t,e,n){return m(this,void 0,void 0,(function(){return I(this,(function(r){return[2,this._engine.setMessageSearchField(t,e,n)]}))}))},t.prototype.setMessageSentStatus=function(t,e){return m(this,void 0,void 0,(function(){return I(this,(function(n){return[2,this._engine.setMessageSentStatus(t,e)]}))}))},t.prototype.setMessageReceivedStatus=function(t,e){return m(this,void 0,void 0,(function(){return I(this,(function(n){return[2,this._engine.setMessageReceivedStatus(t,e)]}))}))},t.prototype.setMessageStatusToRead=function(t,e,n,r){return m(this,void 0,void 0,(function(){return I(this,(function(i){return[2,this._engine.updateMessageReceiptStatus(t,e,n,r)]}))}))},t.prototype.setUserStatus=function(t){return m(this,void 0,void 0,(function(){return I(this,(function(e){return[2,this._engine.setUserStatus(t)]}))}))},t.prototype.subscribeUserStatus=function(t){return m(this,void 0,void 0,(function(){return I(this,(function(e){return[2,this._engine.subscribeUserStatus(t)]}))}))},t.prototype.getUserStatus=function(t){return m(this,void 0,void 0,(function(){return I(this,(function(e){return[2,this._engine.getUserStatus(t)]}))}))},t.prototype.searchConversationByContent=function(t,e,n,r){return void 0===e&&(e=[]),void 0===n&&(n=""),m(this,void 0,void 0,(function(){return I(this,(function(i){return[2,this._engine.searchConversationByContent(t,e,n,r)]}))}))},t.prototype.searchConversationByContentWithAllChannel=function(t,e,n){return void 0===e&&(e=[]),m(this,void 0,void 0,(function(){return I(this,(function(r){return[2,this._engine.searchConversationByContentWithAllChannel(t,e,n)]}))}))},t.prototype.searchMessageByContent=function(t,e,n,r,i,o,s){return void 0===s&&(s=""),m(this,void 0,void 0,(function(){return I(this,(function(a){return[2,this._engine.searchMessageByContent(t,e,n,r,i,o,s)]}))}))},t.prototype.searchMessageByContentWithAllChannel=function(t,e,n,r,i){return m(this,void 0,void 0,(function(){return I(this,(function(o){return[2,this._engine.searchMessageByContentWithAllChannel(t,e,n,r,i)]}))}))},t.prototype.searchMessageByContentInTimeRangeWithAllChannel=function(t,e,n,r,i,o,s){return m(this,void 0,void 0,(function(){return I(this,(function(a){return[2,this._engine.searchMessageByContentInTimeRangeWithAllChannel(t,e,n,r,i,o,s)]}))}))},t.prototype.getUnreadMentionedMessages=function(t,e,n){return void 0===n&&(n=""),this._engine.getUnreadMentionedMessages(t,e,n)},t.prototype.clearUnreadCountByTimestamp=function(t,e,n,r){return void 0===r&&(r=""),this._engine.clearUnreadCountByTimestamp(t,e,n,r)},t.prototype.getUltraGroupDefaultNotificationLevel=function(t,e){return void 0===e&&(e=""),this._engine.getUltraGroupDefaultNotificationLevel(t,e)},t.prototype.setUltraGroupDefaultNotificationLevel=function(t,e,n){return void 0===n&&(n=""),this._engine.setUltraGroupDefaultNotificationLevel(t,e,n)},t.prototype.getConversationNotificationLevel=function(t,e,n){return void 0===n&&(n=""),this._engine.getConversationNotificationLevel(t,e,n)},t.prototype.getConversationNotificationStatus=function(t,e,n){return void 0===n&&(n=""),this._engine.getConversationNotificationStatus(t,e,n)},t.prototype.getRemoteHistoryMessages=function(t,e,n,r,i,o){return this._engine.getRemoteHistoryMessages(t,e,n,r,i,o)},t.prototype.getConversationListWithAllChannel=function(){return this._engine.getConversationListWithAllChannel()},t.prototype.getConversationListWithAllChannelByPage=function(t,e){return this._engine.getConversationListWithAllChannelByPage(t,e)},t.prototype.clearData=function(){return m(this,void 0,void 0,(function(){return I(this,(function(t){return[2,this._engine.clearData()]}))}))},t.prototype.createLogger=function(t,e){return this._engine.createLogger(t,e)},t.prototype.rtcSignaling=function(t,e,n,r){return this._engine.rtcSignaling(t,e,n,r)},t.prototype.joinRTCRoom=function(t,e,n,r,i,o){return this._engine.joinRTCRoom(t,e,n,r,i,o)},t.prototype.quitRTCRoom=function(t){return this._engine.quitRTCRoom(t)},t.prototype.rtcPing=function(t,e,n){return this._engine.rtcPing(t,e,n)},t.prototype.getRTCRoomInfo=function(t){return this._engine.getRTCRoomInfo(t)},t.prototype.getRTCUserInfoList=function(t){return this._engine.getRTCUserInfoList(t)},t.prototype.getRTCUserInfo=function(t){return this._engine.getRTCUserInfo(t)},t.prototype.setRTCUserInfo=function(t,e,n){return this._engine.setRTCUserInfo(t,e,n)},t.prototype.removeRTCUserInfo=function(t,e){return this._engine.removeRTCUserInfo(t,e)},t.prototype.setRTCData=function(t,e,n,r,i,o){return this._engine.setRTCData(t,e,n,r,i,o)},t.prototype.setRTCTotalRes=function(t,e,n,r,i){return void 0===i&&(i=""),this._engine.setRTCTotalRes(t,e,n,r,i)},t.prototype.setRTCCDNUris=function(t,e,n){return this._engine.setRTCCDNUris(t,e,n)},t.prototype.getRTCData=function(t,e,n,r){return this._engine.getRTCData(t,e,n,r)},t.prototype.removeRTCData=function(t,e,n,r,i){return this._engine.removeRTCData(t,e,n,r,i)},t.prototype.setRTCOutData=function(t,e,n,r){return this._engine.setRTCOutData(t,e,n,r)},t.prototype.getRTCOutData=function(t,e){return this._engine.getRTCOutData(t,e)},t.prototype.getRTCToken=function(t,e,n){return this._engine.getRTCToken(t,e,n)},t.prototype.setRTCState=function(t,e){return this._engine.setRTCState(t,e)},t.prototype.getRTCUserList=function(t){return this._engine.getRTCUserList(t)},t.prototype.joinLivingRoomAsAudience=function(t,e,n){return this._engine.joinLivingRoomAsAudience(t,e,n)},t.prototype.quitLivingRoomAsAudience=function(t){return this._engine.quitLivingRoomAsAudience(t)},t.prototype.rtcIdentityChange=function(t,e,n){return this._engine.rtcIdentityChange(t,e,n)},t.prototype.getRTCJoinedUserInfo=function(t){return this._engine.getRTCJoinedUserInfo(t)},t.prototype.requestRoomPK=function(t){return this._engine.requestRoomPK(t)},t.prototype.cancelRoomPK=function(t){return this._engine.cancelRoomPK(t)},t.prototype.responseRoomPK=function(t){return this._engine.responseRoomPK(t)},t.prototype.endRoomPK=function(t){return this._engine.endRoomPK(t)},t.prototype.bindRTCRoomForChatroom=function(t){return this._engine.bindRTCRoomForChatroom(t)},t}();!function(t){t[t.add=1]="add",t[t.update=2]="update",t[t.delete=3]="delete"}(cs||(cs={}))}).call(this,n("4362"))},9093:function(t,e,n){var r=n("ce10"),i=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},9138:function(t,e,n){t.exports=n("35e8")},9152:function(t,e){
- /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
- e.read=function(t,e,n,r,i){var o,s,a=8*i-r-1,c=(1<<a)-1,u=c>>1,l=-7,f=n?i-1:0,h=n?-1:1,d=t[e+f];for(f+=h,o=d&(1<<-l)-1,d>>=-l,l+=a;l>0;o=256*o+t[e+f],f+=h,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=r;l>0;s=256*s+t[e+f],f+=h,l-=8);if(0===o)o=1-u;else{if(o===c)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,r),o-=u}return(d?-1:1)*s*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var s,a,c,u=8*o-i-1,l=(1<<u)-1,f=l>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=l):(s=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-s))<1&&(s--,c*=2),e+=s+f>=1?h/c:h*Math.pow(2,1-f),e*c>=2&&(s++,c/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(e*c-1)*Math.pow(2,i),s+=f):(a=e*Math.pow(2,f-1)*Math.pow(2,i),s=0));i>=8;t[n+d]=255&a,d+=p,a/=256,i-=8);for(s=s<<i|a,u+=i;u>0;t[n+d]=255&s,d+=p,s/=256,u-=8);t[n+d-p]|=128*g}},"91ca":function(t,e,n){var r=n("96fb"),i=Math.pow,o=i(2,-52),s=i(2,-23),a=i(2,127)*(2-s),c=i(2,-126),u=function(t){return t+1/o-1/o};t.exports=Math.fround||function(t){var e,n,i=Math.abs(t),l=r(t);return i<c?l*u(i/c/s)*c*s:(e=(1+s/o)*i,n=e-(e-i),n>a||n!=n?l*(1/0):l*n)}},"91dd":function(t,e,n){"use strict";function r(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,e,n,o){e=e||"&",n=n||"=";var s={};if("string"!==typeof t||0===t.length)return s;var a=/\+/g;t=t.split(e);var c=1e3;o&&"number"===typeof o.maxKeys&&(c=o.maxKeys);var u=t.length;c>0&&u>c&&(u=c);for(var l=0;l<u;++l){var f,h,d,p,g=t[l].replace(a,"%20"),v=g.indexOf(n);v>=0?(f=g.substr(0,v),h=g.substr(v+1)):(f=g,h=""),d=decodeURIComponent(f),p=decodeURIComponent(h),r(s,d)?i(s[d])?s[d].push(p):s[d]=[s[d],p]:s[d]=p}return s};var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},9253:function(t,e,n){var r=n("86cc"),i=n("11e9"),o=n("38fd"),s=n("69a8"),a=n("5ca1"),c=n("4630"),u=n("cb7c"),l=n("d3f4");function f(t,e,n){var a,h,d=arguments.length<4?t:arguments[3],p=i.f(u(t),e);if(!p){if(l(h=o(t)))return f(h,e,n,d);p=c(0)}if(s(p,"value")){if(!1===p.writable||!l(d))return!1;if(a=i.f(d,e)){if(a.get||a.set||!1===a.writable)return!1;a.value=n,r.f(d,e,a)}else r.f(d,e,c(0,n));return!0}return void 0!==p.set&&(p.set.call(d,n),!0)}a(a.S,"Reflect",{set:f})},9275:function(t,e,n){var r=n("5ca1"),i=n("8b97");i&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){i.check(t,e);try{return i.set(t,e),!0}catch(n){return!1}}})},9278:function(t,e,n){var r=n("5ca1");r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},"92fa":function(t,e){var n=/^(attrs|props|on|nativeOn|class|style|hook)$/;function r(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}}t.exports=function(t){return t.reduce((function(t,e){var i,o,s,a,c;for(s in e)if(i=t[s],o=e[s],i&&n.test(s))if("class"===s&&("string"===typeof i&&(c=i,t[s]=i={},i[c]=!0),"string"===typeof o&&(c=o,e[s]=o={},o[c]=!0)),"on"===s||"nativeOn"===s||"hook"===s)for(a in o)i[a]=r(i[a],o[a]);else if(Array.isArray(i))t[s]=i.concat(o);else if(Array.isArray(o))t[s]=[i].concat(o);else for(a in o)i[a]=o[a];else t[s]=e[s];return t}),{})}},9306:function(t,e,n){"use strict";var r=n("8e60"),i=n("c3a1"),o=n("9aa9"),s=n("355d"),a=n("241e"),c=n("335c"),u=Object.assign;t.exports=!u||n("294c")((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r}))?function(t,e){var n=a(t),u=arguments.length,l=1,f=o.f,h=s.f;while(u>l){var d,p=c(arguments[l++]),g=f?i(p).concat(f(p)):i(p),v=g.length,y=0;while(v>y)d=g[y++],r&&!h.call(p,d)||(n[d]=p[d])}return n}:u},9427:function(t,e,n){var r=n("63b6");r(r.S,"Object",{create:n("a159")})},9619:function(t,e,n){var r=n("597f"),i=n("0e15");t.exports={throttle:r,debounce:i}},9675:function(t,e,n){"use strict";const r=n("52f6"),i=n("ef5d"),o=n("fb48");function s(t,e){switch(i(t)){case"object":return a(t,e);case"array":return c(t,e);default:return r(t)}}function a(t,e){if("function"===typeof e)return e(t);if(e||o(t)){const n=new t.constructor;for(let r in t)n[r]=s(t[r],e);return n}return t}function c(t,e){const n=new t.constructor(t.length);for(let r=0;r<t.length;r++)n[r]=s(t[r],e);return n}t.exports=s},"96cf":function(t,e){!function(e){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},s=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag",u="object"===typeof t,l=e.regeneratorRuntime;if(l)u&&(t.exports=l);else{l=e.regeneratorRuntime=u?t.exports:{},l.wrap=M;var f="suspendedStart",h="suspendedYield",d="executing",p="completed",g={},v={};v[s]=function(){return this};var y=Object.getPrototypeOf,m=y&&y(y(R([])));m&&m!==r&&i.call(m,s)&&(v=m);var I=C.prototype=_.prototype=Object.create(v);A.prototype=I.constructor=C,C.constructor=A,C[c]=A.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===A||"GeneratorFunction"===(e.displayName||e.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,C):(t.__proto__=C,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(I),t},l.awrap=function(t){return{__await:t}},T(E.prototype),E.prototype[a]=function(){return this},l.AsyncIterator=E,l.async=function(t,e,n,r){var i=new E(M(t,e,n,r));return l.isGeneratorFunction(e)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},T(I),I[c]="Generator",I[s]=function(){return this},I.toString=function(){return"[object Generator]"},l.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){while(e.length){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},l.values=R,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(O),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,i){return a.type="throw",a.arg=t,e.next=r,i&&(e.method="next",e.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var s=this.tryEntries[o],a=s.completion;if("root"===s.tryLoc)return r("end");if(s.tryLoc<=this.prev){var c=i.call(s,"catchLoc"),u=i.call(s,"finallyLoc");if(c&&u){if(this.prev<s.catchLoc)return r(s.catchLoc,!0);if(this.prev<s.finallyLoc)return r(s.finallyLoc)}else if(c){if(this.prev<s.catchLoc)return r(s.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return r(s.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=t,s.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(s)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),O(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;O(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:R(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),g}}}function M(t,e,n,r){var i=e&&e.prototype instanceof _?e:_,o=Object.create(i.prototype),s=new D(r||[]);return o._invoke=w(t,n,s),o}function b(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(r){return{type:"throw",arg:r}}}function _(){}function A(){}function C(){}function T(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function E(t){function e(n,r,o,s){var a=b(t[n],t,r);if("throw"!==a.type){var c=a.arg,u=c.value;return u&&"object"===typeof u&&i.call(u,"__await")?Promise.resolve(u.__await).then((function(t){e("next",t,o,s)}),(function(t){e("throw",t,o,s)})):Promise.resolve(u).then((function(t){c.value=t,o(c)}),s)}s(a.arg)}var n;function r(t,r){function i(){return new Promise((function(n,i){e(t,r,n,i)}))}return n=n?n.then(i,i):i()}this._invoke=r}function w(t,e,n){var r=f;return function(i,o){if(r===d)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return L()}n.method=i,n.arg=o;while(1){var s=n.delegate;if(s){var a=N(s,n);if(a){if(a===g)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var c=b(t,e,n);if("normal"===c.type){if(r=n.done?p:h,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=p,n.method="throw",n.arg=c.arg)}}}function N(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,N(t,e),"throw"===e.method))return g;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var i=b(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,g;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,g):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function R(t){if(t){var e=t[s];if(e)return e.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){while(++r<t.length)if(i.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=n,e.done=!0,e};return o.next=o}}return{next:L}}function L(){return{value:n,done:!0}}}(function(){return this}()||Function("return this")())},"96fb":function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},9744:function(t,e,n){"use strict";var r=n("4588"),i=n("be13");t.exports=function(t){var e=String(i(this)),n="",o=r(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},9865:function(t,e,n){"use strict";var r=n("5ca1"),i=n("6821"),o=n("4588"),s=n("9def"),a=[].lastIndexOf,c=!!a&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(c||!n("2f21")(a)),"Array",{lastIndexOf:function(t){if(c)return a.apply(this,arguments)||0;var e=i(this),n=s(e.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,o(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},"988d":function(t,e,n){"use strict";var r=n("5ca1"),i=n("be13"),o=n("9def"),s=n("aae3"),a=n("0bfb"),c=RegExp.prototype,u=function(t,e){this._r=t,this._s=e};n("41a0")(u,"RegExp String",(function(){var t=this._r.exec(this._s);return{value:t,done:null===t}})),r(r.P,"String",{matchAll:function(t){if(i(this),!s(t))throw TypeError(t+" is not a regexp!");var e=String(this),n="flags"in c?String(t.flags):a.call(t),r=new RegExp(t.source,~n.indexOf("g")?n:"g"+n);return r.lastIndex=o(t.lastIndex),new u(r,e)}})},"990b":function(t,e,n){var r=n("9093"),i=n("2621"),o=n("cb7c"),s=n("7726").Reflect;t.exports=s&&s.ownKeys||function(t){var e=r.f(o(t)),n=i.f;return n?e.concat(n(t)):e}},9986:function(t,e,n){var r=n("6821"),i=n("11e9").f;n("5eda")("getOwnPropertyDescriptor",(function(){return function(t,e){return i(r(t),e)}}))},"99c5":function(t,e,n){n("c6a1")("Set")},"9aa9":function(t,e){e.f=Object.getOwnPropertySymbols},"9aea":function(t,e,n){var r=n("d3f4"),i=n("67ab").onFreeze;n("5eda")("preventExtensions",(function(t){return function(e){return t&&r(e)?t(i(e)):e}}))},"9b43":function(t,e,n){var r=n("d8e8");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"9c00":function(t,e,n){var r=n("5ca1");r(r.S,"Math",{iaddh:function(t,e,n,r){var i=t>>>0,o=e>>>0,s=n>>>0;return o+(r>>>0)+((i&s|(i|s)&~(i+s>>>0))>>>31)|0}})},"9c12":function(t,e,n){var r=n("d3f4"),i=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&i(t)===t}},"9c29":function(t,e,n){n("ec30")("Uint32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},"9c6c":function(t,e,n){var r=n("2b4c")("unscopables"),i=Array.prototype;void 0==i[r]&&n("32e9")(i,r,{}),t.exports=function(t){i[r][t]=!0}},"9c80":function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(e){return{e:!0,v:e}}}},"9c86":function(t,e,n){"use strict";n("386b")("big",(function(t){return function(){return t(this,"big","","")}}))},"9d98":function(t,e,n){var r=n("63b6");r(r.S+r.F*!n("8e60"),"Object",{defineProperties:n("7e90")})},"9def":function(t,e,n){var r=n("4588"),i=Math.min;t.exports=function(t){return t>0?i(r(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){"use strict";var r=n("d233"),i=Object.prototype.hasOwnProperty,o=Array.isArray,s={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},a=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},c=function(t,e){return t&&"string"===typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},u="utf8=%26%2310003%3B",l="utf8=%E2%9C%93",f=function(t,e){var n,f={},h=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,d=e.parameterLimit===1/0?void 0:e.parameterLimit,p=h.split(e.delimiter,d),g=-1,v=e.charset;if(e.charsetSentinel)for(n=0;n<p.length;++n)0===p[n].indexOf("utf8=")&&(p[n]===l?v="utf-8":p[n]===u&&(v="iso-8859-1"),g=n,n=p.length);for(n=0;n<p.length;++n)if(n!==g){var y,m,I=p[n],M=I.indexOf("]="),b=-1===M?I.indexOf("="):M+1;-1===b?(y=e.decoder(I,s.decoder,v,"key"),m=e.strictNullHandling?null:""):(y=e.decoder(I.slice(0,b),s.decoder,v,"key"),m=r.maybeMap(c(I.slice(b+1),e),(function(t){return e.decoder(t,s.decoder,v,"value")}))),m&&e.interpretNumericEntities&&"iso-8859-1"===v&&(m=a(m)),I.indexOf("[]=")>-1&&(m=o(m)?[m]:m),i.call(f,y)?f[y]=r.combine(f[y],m):f[y]=m}return f},h=function(t,e,n,r){for(var i=r?e:c(e,n),o=t.length-1;o>=0;--o){var s,a=t[o];if("[]"===a&&n.parseArrays)s=[].concat(i);else{s=n.plainObjects?Object.create(null):{};var u="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,l=parseInt(u,10);n.parseArrays||""!==u?!isNaN(l)&&a!==u&&String(l)===u&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(s=[],s[l]=i):"__proto__"!==u&&(s[u]=i):s={0:i}}i=s}return i},d=function(t,e,n,r){if(t){var o=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,c=n.depth>0&&s.exec(o),u=c?o.slice(0,c.index):o,l=[];if(u){if(!n.plainObjects&&i.call(Object.prototype,u)&&!n.allowPrototypes)return;l.push(u)}var f=0;while(n.depth>0&&null!==(c=a.exec(o))&&f<n.depth){if(f+=1,!n.plainObjects&&i.call(Object.prototype,c[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(c[1])}return c&&l.push("["+o.slice(c.index)+"]"),h(l,e,n,r)}},p=function(t){if(!t)return s;if(null!==t.decoder&&void 0!==t.decoder&&"function"!==typeof t.decoder)throw new TypeError("Decoder has to be a function.");if("undefined"!==typeof t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e="undefined"===typeof t.charset?s.charset:t.charset;return{allowDots:"undefined"===typeof t.allowDots?s.allowDots:!!t.allowDots,allowPrototypes:"boolean"===typeof t.allowPrototypes?t.allowPrototypes:s.allowPrototypes,allowSparse:"boolean"===typeof t.allowSparse?t.allowSparse:s.allowSparse,arrayLimit:"number"===typeof t.arrayLimit?t.arrayLimit:s.arrayLimit,charset:e,charsetSentinel:"boolean"===typeof t.charsetSentinel?t.charsetSentinel:s.charsetSentinel,comma:"boolean"===typeof t.comma?t.comma:s.comma,decoder:"function"===typeof t.decoder?t.decoder:s.decoder,delimiter:"string"===typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:s.delimiter,depth:"number"===typeof t.depth||!1===t.depth?+t.depth:s.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeof t.interpretNumericEntities?t.interpretNumericEntities:s.interpretNumericEntities,parameterLimit:"number"===typeof t.parameterLimit?t.parameterLimit:s.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"===typeof t.plainObjects?t.plainObjects:s.plainObjects,strictNullHandling:"boolean"===typeof t.strictNullHandling?t.strictNullHandling:s.strictNullHandling}};t.exports=function(t,e){var n=p(e);if(""===t||null===t||"undefined"===typeof t)return n.plainObjects?Object.create(null):{};for(var i="string"===typeof t?f(t,n):t,o=n.plainObjects?Object.create(null):{},s=Object.keys(i),a=0;a<s.length;++a){var c=s[a],u=d(c,i[c],n,"string"===typeof t);o=r.merge(o,u,n)}return!0===n.allowSparse?o:r.compact(o)}},"9ec8":function(t,e,n){"use strict";n("386b")("fontsize",(function(t){return function(e){return t(this,"font","size",e)}}))},"9f3c":function(t,e,n){var r=n("5ca1"),i=n("2d5c");r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},a032:function(t,e,n){"use strict";var r=n("5ca1"),i=n("02f4")(!1);r(r.P,"String",{codePointAt:function(t){return i(this,t)}})},a0d3:function(t,e,n){"use strict";var r=n("0f7c");t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},a142:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"g",(function(){return o})),n.d(e,"h",(function(){return s})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return c})),n.d(e,"e",(function(){return u})),n.d(e,"f",(function(){return l})),n.d(e,"a",(function(){return f}));var r=n("2b0e"),i="undefined"!==typeof window,o=r["default"].prototype.$isServer;function s(){}function a(t){return void 0!==t&&null!==t}function c(t){return"function"===typeof t}function u(t){return null!==t&&"object"===typeof t}function l(t){return u(t)&&c(t.then)&&c(t.catch)}function f(t,e){var n=e.split("."),r=t;return n.forEach((function(t){var e;r=u(r)&&null!=(e=r[t])?e:""})),r}},a159:function(t,e,n){var r=n("e4ae"),i=n("7e90"),o=n("1691"),s=n("5559")("IE_PROTO"),a=function(){},c="prototype",u=function(){var t,e=n("1ec9")("iframe"),r=o.length,i="<",s=">";e.style.display="none",n("32fc").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+s+"document.F=Object"+i+"/script"+s),t.close(),u=t.F;while(r--)delete u[c][o[r]];return u()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[c]=r(t),n=new a,a[c]=null,n[s]=t):n=u(),void 0===e?n:i(n,e)}},a15e:function(t,e,n){"use strict";n.r(e);var r=n("41b2"),i=n.n(r),o=n("1098"),s=n.n(o),a=/%[sdj%]/g,c=function(){};function u(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=1,i=e[0],o=e.length;if("function"===typeof i)return i.apply(null,e.slice(1));if("string"===typeof i){for(var s=String(i).replace(a,(function(t){if("%%"===t)return"%";if(r>=o)return t;switch(t){case"%s":return String(e[r++]);case"%d":return Number(e[r++]);case"%j":try{return JSON.stringify(e[r++])}catch(n){return"[Circular]"}break;default:return t}})),c=e[r];r<o;c=e[++r])s+=" "+c;return s}return i}function l(t){return"string"===t||"url"===t||"hex"===t||"email"===t||"pattern"===t}function f(t,e){return void 0===t||null===t||(!("array"!==e||!Array.isArray(t)||t.length)||!(!l(e)||"string"!==typeof t||t))}function h(t,e,n){var r=[],i=0,o=t.length;function s(t){r.push.apply(r,t),i++,i===o&&n(r)}t.forEach((function(t){e(t,s)}))}function d(t,e,n){var r=0,i=t.length;function o(s){if(s&&s.length)n(s);else{var a=r;r+=1,a<i?e(t[a],o):n([])}}o([])}function p(t){var e=[];return Object.keys(t).forEach((function(n){e.push.apply(e,t[n])})),e}function g(t,e,n,r){if(e.first){var i=p(t);return d(i,n,r)}var o=e.firstFields||[];!0===o&&(o=Object.keys(t));var s=Object.keys(t),a=s.length,c=0,u=[],l=function(t){u.push.apply(u,t),c++,c===a&&r(u)};s.forEach((function(e){var r=t[e];-1!==o.indexOf(e)?d(r,n,l):h(r,n,l)}))}function v(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:e,field:e.field||t.fullField}}}function y(t,e){if(e)for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];"object"===("undefined"===typeof r?"undefined":s()(r))&&"object"===s()(t[n])?t[n]=i()({},t[n],r):t[n]=r}return t}function m(t,e,n,r,i,o){!t.required||n.hasOwnProperty(t.field)&&!f(e,o||t.type)||r.push(u(i.messages.required,t.fullField))}var I=m;function M(t,e,n,r,i){(/^\s+$/.test(e)||""===e)&&r.push(u(i.messages.whitespace,t.fullField))}var b=M,_={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},A={integer:function(t){return A.number(t)&&parseInt(t,10)===t},float:function(t){return A.number(t)&&!A.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(e){return!1}},date:function(t){return"function"===typeof t.getTime&&"function"===typeof t.getMonth&&"function"===typeof t.getYear},number:function(t){return!isNaN(t)&&"number"===typeof t},object:function(t){return"object"===("undefined"===typeof t?"undefined":s()(t))&&!A.array(t)},method:function(t){return"function"===typeof t},email:function(t){return"string"===typeof t&&!!t.match(_.email)&&t.length<255},url:function(t){return"string"===typeof t&&!!t.match(_.url)},hex:function(t){return"string"===typeof t&&!!t.match(_.hex)}};function C(t,e,n,r,i){if(t.required&&void 0===e)I(t,e,n,r,i);else{var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;o.indexOf(a)>-1?A[a](e)||r.push(u(i.messages.types[a],t.fullField,t.type)):a&&("undefined"===typeof e?"undefined":s()(e))!==t.type&&r.push(u(i.messages.types[a],t.fullField,t.type))}}var T=C;function E(t,e,n,r,i){var o="number"===typeof t.len,s="number"===typeof t.min,a="number"===typeof t.max,c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=e,f=null,h="number"===typeof e,d="string"===typeof e,p=Array.isArray(e);if(h?f="number":d?f="string":p&&(f="array"),!f)return!1;p&&(l=e.length),d&&(l=e.replace(c,"_").length),o?l!==t.len&&r.push(u(i.messages[f].len,t.fullField,t.len)):s&&!a&&l<t.min?r.push(u(i.messages[f].min,t.fullField,t.min)):a&&!s&&l>t.max?r.push(u(i.messages[f].max,t.fullField,t.max)):s&&a&&(l<t.min||l>t.max)&&r.push(u(i.messages[f].range,t.fullField,t.min,t.max))}var w=E,N="enum";function S(t,e,n,r,i){t[N]=Array.isArray(t[N])?t[N]:[],-1===t[N].indexOf(e)&&r.push(u(i.messages[N],t.fullField,t[N].join(", ")))}var O=S;function D(t,e,n,r,i){if(t.pattern)if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||r.push(u(i.messages.pattern.mismatch,t.fullField,e,t.pattern));else if("string"===typeof t.pattern){var o=new RegExp(t.pattern);o.test(e)||r.push(u(i.messages.pattern.mismatch,t.fullField,e,t.pattern))}}var R=D,L={required:I,whitespace:b,type:T,range:w,enum:O,pattern:R};function x(t,e,n,r,i){var o=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(f(e,"string")&&!t.required)return n();L.required(t,e,r,o,i,"string"),f(e,"string")||(L.type(t,e,r,o,i),L.range(t,e,r,o,i),L.pattern(t,e,r,o,i),!0===t.whitespace&&L.whitespace(t,e,r,o,i))}n(o)}var j=x;function k(t,e,n,r,i){var o=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(f(e)&&!t.required)return n();L.required(t,e,r,o,i),void 0!==e&&L.type(t,e,r,o,i)}n(o)}var P=k;function U(t,e,n,r,i){var o=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(f(e)&&!t.required)return n();L.required(t,e,r,o,i),void 0!==e&&(L.type(t,e,r,o,i),L.range(t,e,r,o,i))}n(o)}var z=U;function G(t,e,n,r,i){var o=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(f(e)&&!t.required)return n();L.required(t,e,r,o,i),void 0!==e&&L.type(t,e,r,o,i)}n(o)}var B=G;function Y(t,e,n,r,i){var o=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(f(e)&&!t.required)return n();L.required(t,e,r,o,i),f(e)||L.type(t,e,r,o,i)}n(o)}var F=Y;function $(t,e,n,r,i){var o=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(f(e)&&!t.required)return n();L.required(t,e,r,o,i),void 0!==e&&(L.type(t,e,r,o,i),L.range(t,e,r,o,i))}n(o)}var H=$;function V(t,e,n,r,i){var o=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(f(e)&&!t.required)return n();L.required(t,e,r,o,i),void 0!==e&&(L.type(t,e,r,o,i),L.range(t,e,r,o,i))}n(o)}var Q=V;function W(t,e,n,r,i){var o=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(f(e,"array")&&!t.required)return n();L.required(t,e,r,o,i,"array"),f(e,"array")||(L.type(t,e,r,o,i),L.range(t,e,r,o,i))}n(o)}var Z=W;function K(t,e,n,r,i){var o=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(f(e)&&!t.required)return n();L.required(t,e,r,o,i),void 0!==e&&L.type(t,e,r,o,i)}n(o)}var q=K,J="enum";function X(t,e,n,r,i){var o=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(f(e)&&!t.required)return n();L.required(t,e,r,o,i),e&&L[J](t,e,r,o,i)}n(o)}var tt=X;function et(t,e,n,r,i){var o=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(f(e,"string")&&!t.required)return n();L.required(t,e,r,o,i),f(e,"string")||L.pattern(t,e,r,o,i)}n(o)}var nt=et;function rt(t,e,n,r,i){var o=[],s=t.required||!t.required&&r.hasOwnProperty(t.field);if(s){if(f(e)&&!t.required)return n();if(L.required(t,e,r,o,i),!f(e)){var a=void 0;a="number"===typeof e?new Date(e):e,L.type(t,a,r,o,i),a&&L.range(t,a.getTime(),r,o,i)}}n(o)}var it=rt;function ot(t,e,n,r,i){var o=[],a=Array.isArray(e)?"array":"undefined"===typeof e?"undefined":s()(e);L.required(t,e,r,o,i,a),n(o)}var st=ot;function at(t,e,n,r,i){var o=t.type,s=[],a=t.required||!t.required&&r.hasOwnProperty(t.field);if(a){if(f(e,o)&&!t.required)return n();L.required(t,e,r,s,i,o),f(e,o)||L.type(t,e,r,s,i)}n(s)}var ct=at,ut={string:j,method:P,number:z,boolean:B,regexp:F,integer:H,float:Q,array:Z,object:q,enum:tt,pattern:nt,date:it,url:ct,hex:ct,email:ct,required:st};function lt(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var ft=lt();function ht(t){this.rules=null,this._messages=ft,this.define(t)}ht.prototype={messages:function(t){return t&&(this._messages=y(lt(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if("object"!==("undefined"===typeof t?"undefined":s()(t))||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var e=void 0,n=void 0;for(e in t)t.hasOwnProperty(e)&&(n=t[e],this.rules[e]=Array.isArray(n)?n:[n])},validate:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments[2],o=t,a=n,l=r;if("function"===typeof a&&(l=a,a={}),this.rules&&0!==Object.keys(this.rules).length){if(a.messages){var f=this.messages();f===ft&&(f=lt()),y(f,a.messages),a.messages=f}else a.messages=this.messages();var h=void 0,d=void 0,p={},m=a.keys||Object.keys(this.rules);m.forEach((function(n){h=e.rules[n],d=o[n],h.forEach((function(r){var s=r;"function"===typeof s.transform&&(o===t&&(o=i()({},o)),d=o[n]=s.transform(d)),s="function"===typeof s?{validator:s}:i()({},s),s.validator=e.getValidationMethod(s),s.field=n,s.fullField=s.fullField||n,s.type=e.getType(s),s.validator&&(p[n]=p[n]||[],p[n].push({rule:s,value:d,source:o,field:n}))}))}));var I={};g(p,a,(function(t,e){var n=t.rule,r=("object"===n.type||"array"===n.type)&&("object"===s()(n.fields)||"object"===s()(n.defaultField));function o(t,e){return i()({},e,{fullField:n.fullField+"."+t})}function l(){var s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],l=s;if(Array.isArray(l)||(l=[l]),l.length&&c("async-validator:",l),l.length&&n.message&&(l=[].concat(n.message)),l=l.map(v(n)),a.first&&l.length)return I[n.field]=1,e(l);if(r){if(n.required&&!t.value)return l=n.message?[].concat(n.message).map(v(n)):a.error?[a.error(n,u(a.messages.required,n.field))]:[],e(l);var f={};if(n.defaultField)for(var h in t.value)t.value.hasOwnProperty(h)&&(f[h]=n.defaultField);for(var d in f=i()({},f,t.rule.fields),f)if(f.hasOwnProperty(d)){var p=Array.isArray(f[d])?f[d]:[f[d]];f[d]=p.map(o.bind(null,d))}var g=new ht(f);g.messages(a.messages),t.rule.options&&(t.rule.options.messages=a.messages,t.rule.options.error=a.error),g.validate(t.value,t.rule.options||a,(function(t){e(t&&t.length?l.concat(t):t)}))}else e(l)}r=r&&(n.required||!n.required&&t.value),n.field=t.field;var f=n.validator(n,t.value,l,t.source,a);f&&f.then&&f.then((function(){return l()}),(function(t){return l(t)}))}),(function(t){M(t)}))}else l&&l();function M(t){var e=void 0,n=void 0,r=[],i={};function o(t){Array.isArray(t)?r=r.concat.apply(r,t):r.push(t)}for(e=0;e<t.length;e++)o(t[e]);if(r.length)for(e=0;e<r.length;e++)n=r[e].field,i[n]=i[n]||[],i[n].push(r[e]);else r=null,i=null;l(r,i)}},getType:function(t){if(void 0===t.type&&t.pattern instanceof RegExp&&(t.type="pattern"),"function"!==typeof t.validator&&t.type&&!ut.hasOwnProperty(t.type))throw new Error(u("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if("function"===typeof t.validator)return t.validator;var e=Object.keys(t),n=e.indexOf("message");return-1!==n&&e.splice(n,1),1===e.length&&"required"===e[0]?ut.required:ut[this.getType(t)]||!1}},ht.register=function(t,e){if("function"!==typeof e)throw new Error("Cannot register a validator by type, validator is not a function");ut[t]=e},ht.messages=ft;e["default"]=ht},a19f:function(t,e,n){var r=n("5ca1"),i=n("cb7c"),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(e){return!1}}})},a22a:function(t,e,n){var r=n("d864"),i=n("b0dc"),o=n("3702"),s=n("e4ae"),a=n("b447"),c=n("7cd6"),u={},l={};e=t.exports=function(t,e,n,f,h){var d,p,g,v,y=h?function(){return t}:c(t),m=r(n,f,e?2:1),I=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(d=a(t.length);d>I;I++)if(v=e?m(s(p=t[I])[0],p[1]):m(t[I]),v===u||v===l)return v}else for(g=y.call(t);!(p=g.next()).done;)if(v=i(g,m,p.value,e),v===u||v===l)return v};e.BREAK=u,e.RETURN=l},a234:function(t,e,n){var r=n("5ca1");r(r.S,"System",{global:n("7726")})},a25f:function(t,e,n){var r=n("7726"),i=r.navigator;t.exports=i&&i.userAgent||""},a3c3:function(t,e,n){var r=n("63b6");r(r.S+r.F,"Object",{assign:n("9306")})},a3de:function(t,e,n){"use strict";var r=!("undefined"===typeof window||!window.document||!window.document.createElement),i={canUseDOM:r,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};t.exports=i},a471:function(t,e,n){!function(e,r){t.exports=r(n("5a0c"))}(0,(function(t){"use strict";function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n=e(t),r={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(t,e){return"W"===e?t+"周":t+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(t,e){var n=100*t+e;return n<600?"凌晨":n<900?"早上":n<1100?"上午":n<1300?"中午":n<1800?"下午":"晚上"}};return n.default.locale(r,null,!0),r}))},a481:function(t,e,n){"use strict";var r=n("cb7c"),i=n("4bf8"),o=n("9def"),s=n("4588"),a=n("0390"),c=n("5f1b"),u=Math.max,l=Math.min,f=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g,p=function(t){return void 0===t?t:String(t)};n("214f")("replace",2,(function(t,e,n,g){return[function(r,i){var o=t(this),s=void 0==r?void 0:r[e];return void 0!==s?s.call(r,o,i):n.call(String(o),r,i)},function(t,e){var i=g(n,t,this,e);if(i.done)return i.value;var f=r(t),h=String(this),d="function"===typeof e;d||(e=String(e));var y=f.global;if(y){var m=f.unicode;f.lastIndex=0}var I=[];while(1){var M=c(f,h);if(null===M)break;if(I.push(M),!y)break;var b=String(M[0]);""===b&&(f.lastIndex=a(h,o(f.lastIndex),m))}for(var _="",A=0,C=0;C<I.length;C++){M=I[C];for(var T=String(M[0]),E=u(l(s(M.index),h.length),0),w=[],N=1;N<M.length;N++)w.push(p(M[N]));var S=M.groups;if(d){var O=[T].concat(w,E,h);void 0!==S&&O.push(S);var D=String(e.apply(void 0,O))}else D=v(T,h,E,w,S,e);E>=A&&(_+=h.slice(A,E)+D,A=E+T.length)}return _+h.slice(A)}];function v(t,e,r,o,s,a){var c=r+t.length,u=o.length,l=d;return void 0!==s&&(s=i(s),l=h),n.call(a,l,(function(n,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(c);case"<":a=s[i.slice(1,-1)];break;default:var l=+i;if(0===l)return n;if(l>u){var h=f(l/10);return 0===h?n:h<=u?void 0===o[h-1]?i.charAt(1):o[h-1]+i.charAt(1):n}a=o[l-1]}return void 0===a?"":a}))}}))},a4bb:function(t,e,n){t.exports=n("8aae")},a5b2:function(t,e,n){t.exports=n("aa28")},a5b8:function(t,e,n){"use strict";var r=n("d8e8");function i(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new i(t)}},a5d8:function(t,e,n){},a69f:function(t,e,n){var r=n("5ca1");r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},a745:function(t,e,n){t.exports=n("f410")},a753:function(t,e,n){},a78e:function(t,e,n){var r,i;
- /*!
- * JavaScript Cookie v2.2.0
- * https://github.com/js-cookie/js-cookie
- *
- * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
- * Released under the MIT license
- */(function(o){var s=!1;if(r=o,i="function"===typeof r?r.call(e,n,e,t):r,void 0===i||(t.exports=i),s=!0,t.exports=o(),s=!0,!s){var a=window.Cookies,c=window.Cookies=o();c.noConflict=function(){return window.Cookies=a,c}}})((function(){function t(){for(var t=0,e={};t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}function e(n){function r(e,i,o){var s;if("undefined"!==typeof document){if(arguments.length>1){if(o=t({path:"/"},r.defaults,o),"number"===typeof o.expires){var a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*o.expires),o.expires=a}o.expires=o.expires?o.expires.toUTCString():"";try{s=JSON.stringify(i),/^[\{\[]/.test(s)&&(i=s)}catch(v){}i=n.write?n.write(i,e):encodeURIComponent(String(i)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)),e=e.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),e=e.replace(/[\(\)]/g,escape);var c="";for(var u in o)o[u]&&(c+="; "+u,!0!==o[u]&&(c+="="+o[u]));return document.cookie=e+"="+i+c}e||(s={});for(var l=document.cookie?document.cookie.split("; "):[],f=/(%[0-9A-Z]{2})+/g,h=0;h<l.length;h++){var d=l[h].split("="),p=d.slice(1).join("=");this.json||'"'!==p.charAt(0)||(p=p.slice(1,-1));try{var g=d[0].replace(f,decodeURIComponent);if(p=n.read?n.read(p,g):n(p,g)||p.replace(f,decodeURIComponent),this.json)try{p=JSON.parse(p)}catch(v){}if(e===g){s=p;break}e||(s[g]=p)}catch(v){}}return s}}return r.set=r,r.get=function(t){return r.call(r,t)},r.getJSON=function(){return r.apply({json:!0},[].slice.call(arguments))},r.defaults={},r.remove=function(e,n){r(e,"",t(n,{expires:-1}))},r.withConverter=e,r}return e((function(){}))}))},a832:function(t,e,n){"use strict";
- /*!
- * isobject <https://github.com/jonschlinkert/isobject>
- *
- * Copyright (c) 2014-2017, Jon Schlinkert.
- * Released under the MIT License.
- */t.exports=function(t){return null!=t&&"object"===typeof t&&!1===Array.isArray(t)}},a8c1:function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return a})),n.d(e,"d",(function(){return c}));var r=/scroll|auto|overlay/i;function i(t,e){void 0===e&&(e=window);var n=t;while(n&&"HTML"!==n.tagName&&"BODY"!==n.tagName&&1===n.nodeType&&n!==e){var i=window.getComputedStyle(n),o=i.overflowY;if(r.test(o))return n;n=n.parentNode}return e}function o(t){var e="scrollTop"in t?t.scrollTop:t.pageYOffset;return Math.max(e,0)}function s(t,e){"scrollTop"in t?t.scrollTop=e:t.scrollTo(t.scrollX,e)}function a(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}function c(t){s(window,t),s(document.body,t)}},a8db:function(t,e,n){"use strict";var r=n("e265"),i=n.n(r),o=n("a4bb"),s=n.n(o);function a(t,e){if(null==t)return{};var n,r,i={},o=s()(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}function c(t,e){if(null==t)return{};var n,r,o=a(t,e);if(i.a){var s=i()(t);for(r=0;r<s.length;r++)n=s[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}n.d(e,"a",(function(){return c}))},a9cc:function(t,e,n){"use strict";var r=n("5ca1"),i=n("a5b8"),o=n("9c80");r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},aa28:function(t,e,n){n("733c"),t.exports=n("584a").Reflect.construct},aa77:function(t,e,n){var r=n("5ca1"),i=n("be13"),o=n("79e5"),s=n("fdef"),a="["+s+"]",c="
",u=RegExp("^"+a+a+"*"),l=RegExp(a+a+"*$"),f=function(t,e,n){var i={},a=o((function(){return!!s[t]()||c[t]()!=c})),u=i[t]=a?e(h):s[t];n&&(i[n]=u),r(r.P+r.F*a,"String",i)},h=f.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(l,"")),t};t.exports=f},aae3:function(t,e,n){var r=n("d3f4"),i=n("2d95"),o=n("2b4c")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},aba2:function(t,e,n){var r=n("e53d"),i=n("4178").set,o=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,c="process"==n("6b4c")(s);t.exports=function(){var t,e,n,u=function(){var r,i;c&&(r=s.domain)&&r.exit();while(t){i=t.fn,t=t.next;try{i()}catch(o){throw t?n():e=void 0,o}}e=void 0,r&&r.enter()};if(c)n=function(){s.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var l=a.resolve(void 0);n=function(){l.then(u)}}else n=function(){i.call(r,u)};else{var f=!0,h=document.createTextNode("");new o(u).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},abd7:function(t,e){t.exports=function(t,e){var n=e===Object(e)?function(t){return e[t]}:e;return function(e){return String(e).replace(t,n)}}},ac4d:function(t,e,n){n("3a72")("asyncIterator")},ac6a:function(t,e,n){for(var r=n("cadf"),i=n("0d58"),o=n("2aba"),s=n("7726"),a=n("32e9"),c=n("84f2"),u=n("2b4c"),l=u("iterator"),f=u("toStringTag"),h=c.Array,d={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},p=i(d),g=0;g<p.length;g++){var v,y=p[g],m=d[y],I=s[y],M=I&&I.prototype;if(M&&(M[l]||a(M,l,h),M[f]||a(M,f,y),c[y]=h,m))for(v in r)M[v]||o(M,v,r[v],!0)}},ad06:function(t,e,n){"use strict";var r=n("2638"),i=n.n(r),o=n("d282"),s=n("ea8e"),a=n("ba31"),c=n("a142"),u=Object(o["a"])("info"),l=u[0],f=u[1];function h(t,e,n,r){var o=e.dot,s=e.info,u=Object(c["c"])(s)&&""!==s;if(o||u)return t("div",i()([{class:f({dot:o})},Object(a["b"])(r,!0)]),[o?"":e.info])}h.props={dot:Boolean,info:[Number,String]};var d=l(h),p=Object(o["a"])("icon"),g=p[0],v=p[1];function y(t){return!!t&&-1!==t.indexOf("/")}var m={medel:"medal","medel-o":"medal-o","calender-o":"calendar-o"};function I(t){return t&&m[t]||t}function M(t,e,n,r){var o,c=I(e.name),u=y(c);return t(e.tag,i()([{class:[e.classPrefix,u?"":e.classPrefix+"-"+c],style:{color:e.color,fontSize:Object(s["a"])(e.size)}},Object(a["b"])(r,!0)]),[n.default&&n.default(),u&&t("img",{class:v("image"),attrs:{src:c}}),t(d,{attrs:{dot:e.dot,info:null!=(o=e.badge)?o:e.info}})])}M.props={dot:Boolean,name:String,size:[Number,String],info:[Number,String],badge:[Number,String],color:String,tag:{type:String,default:"i"},classPrefix:{type:String,default:v()}};e["a"]=g(M)},aebd:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},aef6:function(t,e,n){"use strict";var r=n("5ca1"),i=n("9def"),o=n("d2c8"),s="endsWith",a=""[s];r(r.P+r.F*n("5147")(s),"String",{endsWith:function(t){var e=o(this,t,s),n=arguments.length>1?arguments[1]:void 0,r=i(e.length),c=void 0===n?r:Math.min(i(n),r),u=String(t);return a?a.call(e,u,c):e.slice(c-u.length,c)===u}})},af56:function(t,e,n){n("ec30")("Uint16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},b05c:function(t,e,n){n("ec30")("Int8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},b0b4:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("85f2"),i=n.n(r);function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),i()(t,r.key,r)}}function s(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),i()(t,"prototype",{writable:!1}),t}},b0c5:function(t,e,n){"use strict";var r=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},b0dc:function(t,e,n){var r=n("e4ae");t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(s){var o=t["return"];throw void 0!==o&&r(o.call(t)),s}}},b1b1:function(t,e,n){var r=n("5ca1"),i=n("9c12"),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},b313:function(t,e,n){"use strict";var r=String.prototype.replace,i=/%20/g,o={RFC1738:"RFC1738",RFC3986:"RFC3986"};t.exports={default:o.RFC3986,formatters:{RFC1738:function(t){return r.call(t,i,"+")},RFC3986:function(t){return String(t)}},RFC1738:o.RFC1738,RFC3986:o.RFC3986}},b375:function(t,e,n){!function(e,n){t.exports=n()}(0,(function(){"use strict";return function(t,e){e.prototype.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)}}}))},b383:function(t,e,n){"use strict";e.decode=e.parse=n("91dd"),e.encode=e.stringify=n("e099")},b39a:function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},b447:function(t,e,n){var r=n("3a38"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},b4c2:function(t,e,n){var r=n("5ca1");r(r.S,"Math",{imulh:function(t,e){var n=65535,r=+t,i=+e,o=r&n,s=i&n,a=r>>16,c=i>>16,u=(a*s>>>0)+(o*s>>>16);return a*c+(u>>16)+((o*c>>>0)+(u&n)>>16)}})},b50d:function(t,e,n){"use strict";var r=n("c532"),i=n("467f"),o=n("30b5"),s=n("c345"),a=n("3934"),c=n("2d83");t.exports=function(t){return new Promise((function(e,u){var l=t.data,f=t.headers;r.isFormData(l)&&delete f["Content-Type"];var h=new XMLHttpRequest;if(t.auth){var d=t.auth.username||"",p=t.auth.password||"";f.Authorization="Basic "+btoa(d+":"+p)}if(h.open(t.method.toUpperCase(),o(t.url,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?s(h.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?h.response:h.responseText,o={data:r,status:h.status,statusText:h.statusText,headers:n,config:t,request:h};i(e,u,o),h=null}},h.onerror=function(){u(c("Network Error",t,null,h)),h=null},h.ontimeout=function(){u(c("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var g=n("7aac"),v=(t.withCredentials||a(t.url))&&t.xsrfCookieName?g.read(t.xsrfCookieName):void 0;v&&(f[t.xsrfHeaderName]=v)}if("setRequestHeader"in h&&r.forEach(f,(function(t,e){"undefined"===typeof l&&"content-type"===e.toLowerCase()?delete f[e]:h.setRequestHeader(e,t)})),t.withCredentials&&(h.withCredentials=!0),t.responseType)try{h.responseType=t.responseType}catch(y){if("json"!==t.responseType)throw y}"function"===typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"===typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){h&&(h.abort(),u(t),h=null)})),void 0===l&&(l=null),h.send(l)}))}},b54a:function(t,e,n){"use strict";n("386b")("link",(function(t){return function(e){return t(this,"a","href",e)}}))},b639:function(t,e,n){"use strict";(function(t){
- /*!
- * The buffer module from node.js, for the browser.
- *
- * @author Feross Aboukhadijeh <http://feross.org>
- * @license MIT
- */
- var r=n("1fb5"),i=n("9152"),o=n("e3db");function s(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"===typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(e){return!1}}function a(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=u.prototype):(null===t&&(t=new u(e)),t.length=e),t}function u(t,e,n){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(t,e,n);if("number"===typeof t){if("string"===typeof e)throw new Error("If encoding is specified then the first argument must be a string");return d(this,t)}return l(this,t,e,n)}function l(t,e,n,r){if("number"===typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer?v(t,e,n,r):"string"===typeof e?p(t,e,n):y(t,e)}function f(t){if("number"!==typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function h(t,e,n,r){return f(e),e<=0?c(t,e):void 0!==n?"string"===typeof r?c(t,e).fill(n,r):c(t,e).fill(n):c(t,e)}function d(t,e){if(f(e),t=c(t,e<0?0:0|m(e)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function p(t,e,n){if("string"===typeof n&&""!==n||(n="utf8"),!u.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|M(e,n);t=c(t,r);var i=t.write(e,n);return i!==r&&(t=t.slice(0,i)),t}function g(t,e){var n=e.length<0?0:0|m(e.length);t=c(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function v(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r),u.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=u.prototype):t=g(t,e),t}function y(t,e){if(u.isBuffer(e)){var n=0|m(e.length);return t=c(t,n),0===t.length?t:(e.copy(t,0,0,n),t)}if(e){if("undefined"!==typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!==typeof e.length||et(e.length)?c(t,0):g(t,e);if("Buffer"===e.type&&o(e.data))return g(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function m(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function I(t){return+t!=t&&(t=0),u.alloc(+t)}function M(t,e){if(u.isBuffer(t))return t.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!==typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return X(t).length;default:if(r)return K(t).length;e=(""+e).toLowerCase(),r=!0}}function b(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,e>>>=0,n<=e)return"";t||(t="utf8");while(1)switch(t){case"hex":return P(this,e,n);case"utf8":case"utf-8":return R(this,e,n);case"ascii":return j(this,e,n);case"latin1":case"binary":return k(this,e,n);case"base64":return D(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function _(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function A(t,e,n,r,i){if(0===t.length)return-1;if("string"===typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"===typeof e&&(e=u.from(e,r)),u.isBuffer(e))return 0===e.length?-1:C(t,e,n,r,i);if("number"===typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"===typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):C(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function C(t,e,n,r,i){var o,s=1,a=t.length,c=e.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;s=2,a/=2,c/=2,n/=2}function u(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){var l=-1;for(o=n;o<a;o++)if(u(t,o)===u(e,-1===l?0:o-l)){if(-1===l&&(l=o),o-l+1===c)return l*s}else-1!==l&&(o-=o-l),l=-1}else for(n+c>a&&(n=a-c),o=n;o>=0;o--){for(var f=!0,h=0;h<c;h++)if(u(t,o+h)!==u(e,h)){f=!1;break}if(f)return o}return-1}function T(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;var o=e.length;if(o%2!==0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var s=0;s<r;++s){var a=parseInt(e.substr(2*s,2),16);if(isNaN(a))return s;t[n+s]=a}return s}function E(t,e,n,r){return tt(K(e,t.length-n),t,n,r)}function w(t,e,n,r){return tt(q(e),t,n,r)}function N(t,e,n,r){return w(t,e,n,r)}function S(t,e,n,r){return tt(X(e),t,n,r)}function O(t,e,n,r){return tt(J(e,t.length-n),t,n,r)}function D(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function R(t,e,n){n=Math.min(t.length,n);var r=[],i=e;while(i<n){var o,s,a,c,u=t[i],l=null,f=u>239?4:u>223?3:u>191?2:1;if(i+f<=n)switch(f){case 1:u<128&&(l=u);break;case 2:o=t[i+1],128===(192&o)&&(c=(31&u)<<6|63&o,c>127&&(l=c));break;case 3:o=t[i+1],s=t[i+2],128===(192&o)&&128===(192&s)&&(c=(15&u)<<12|(63&o)<<6|63&s,c>2047&&(c<55296||c>57343)&&(l=c));break;case 4:o=t[i+1],s=t[i+2],a=t[i+3],128===(192&o)&&128===(192&s)&&128===(192&a)&&(c=(15&u)<<18|(63&o)<<12|(63&s)<<6|63&a,c>65535&&c<1114112&&(l=c))}null===l?(l=65533,f=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),i+=f}return x(r)}e.Buffer=u,e.SlowBuffer=I,e.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:s(),e.kMaxLength=a(),u.poolSize=8192,u._augment=function(t){return t.__proto__=u.prototype,t},u.from=function(t,e,n){return l(null,t,e,n)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(t,e,n){return h(null,t,e,n)},u.allocUnsafe=function(t){return d(null,t)},u.allocUnsafeSlow=function(t){return d(null,t)},u.isBuffer=function(t){return!(null==t||!t._isBuffer)},u.compare=function(t,e){if(!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=u.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var s=t[n];if(!u.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(r,i),i+=s.length}return r},u.byteLength=M,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)_(this,e,e+1);return this},u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)_(this,e,e+3),_(this,e+1,e+2);return this},u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)_(this,e,e+7),_(this,e+1,e+6),_(this,e+2,e+5),_(this,e+3,e+4);return this},u.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?R(this,0,t):b.apply(this,arguments)},u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},u.prototype.compare=function(t,e,n,r,i){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,r>>>=0,i>>>=0,this===t)return 0;for(var o=i-r,s=n-e,a=Math.min(o,s),c=this.slice(r,i),l=t.slice(e,n),f=0;f<a;++f)if(c[f]!==l[f]){o=c[f],s=l[f];break}return o<s?-1:s<o?1:0},u.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},u.prototype.indexOf=function(t,e,n){return A(this,t,e,n,!0)},u.prototype.lastIndexOf=function(t,e,n){return A(this,t,e,n,!1)},u.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"===typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return T(this,t,e,n);case"utf8":case"utf-8":return E(this,t,e,n);case"ascii":return w(this,t,e,n);case"latin1":case"binary":return N(this,t,e,n);case"base64":return S(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var L=4096;function x(t){var e=t.length;if(e<=L)return String.fromCharCode.apply(String,t);var n="",r=0;while(r<e)n+=String.fromCharCode.apply(String,t.slice(r,r+=L));return n}function j(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function k(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function P(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=e;o<n;++o)i+=Z(t[o]);return i}function U(t,e,n){for(var r=t.slice(e,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function z(t,e,n){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function G(t,e,n,r,i,o){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function B(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i<o;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function Y(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i<o;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function F(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function $(t,e,n,r,o){return o||F(t,e,n,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,n,r,23,4),n+4}function H(t,e,n,r,o){return o||F(t,e,n,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,n,r,52,8),n+8}u.prototype.slice=function(t,e){var n,r=this.length;if(t=~~t,e=void 0===e?r:~~e,t<0?(t+=r,t<0&&(t=0)):t>r&&(t=r),e<0?(e+=r,e<0&&(e=0)):e>r&&(e=r),e<t&&(e=t),u.TYPED_ARRAY_SUPPORT)n=this.subarray(t,e),n.__proto__=u.prototype;else{var i=e-t;n=new u(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+t]}return n},u.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||z(t,e,this.length);var r=this[t],i=1,o=0;while(++o<e&&(i*=256))r+=this[t+o]*i;return r},u.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||z(t,e,this.length);var r=this[t+--e],i=1;while(e>0&&(i*=256))r+=this[t+--e]*i;return r},u.prototype.readUInt8=function(t,e){return e||z(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||z(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||z(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||z(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||z(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||z(t,e,this.length);var r=this[t],i=1,o=0;while(++o<e&&(i*=256))r+=this[t+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*e)),r},u.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||z(t,e,this.length);var r=e,i=1,o=this[t+--r];while(r>0&&(i*=256))o+=this[t+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*e)),o},u.prototype.readInt8=function(t,e){return e||z(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||z(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(t,e){e||z(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(t,e){return e||z(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||z(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||z(t,4,this.length),i.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||z(t,4,this.length),i.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||z(t,8,this.length),i.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||z(t,8,this.length),i.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;G(this,t,e,n,i,0)}var o=1,s=0;this[e]=255&t;while(++s<n&&(o*=256))this[e+s]=t/o&255;return e+n},u.prototype.writeUIntBE=function(t,e,n,r){if(t=+t,e|=0,n|=0,!r){var i=Math.pow(2,8*n)-1;G(this,t,e,n,i,0)}var o=n-1,s=1;this[e+o]=255&t;while(--o>=0&&(s*=256))this[e+o]=t/s&255;return e+n},u.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||G(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||G(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):B(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||G(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):B(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||G(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):Y(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||G(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Y(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);G(this,t,e,n,i-1,-i)}var o=0,s=1,a=0;this[e]=255&t;while(++o<n&&(s*=256))t<0&&0===a&&0!==this[e+o-1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},u.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);G(this,t,e,n,i-1,-i)}var o=n-1,s=1,a=0;this[e+o]=255&t;while(--o>=0&&(s*=256))t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},u.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||G(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||G(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):B(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||G(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):B(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||G(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):Y(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||G(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Y(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,n){return $(this,t,e,!0,n)},u.prototype.writeFloatBE=function(t,e,n){return $(this,t,e,!1,n)},u.prototype.writeDoubleLE=function(t,e,n){return H(this,t,e,!0,n)},u.prototype.writeDoubleBE=function(t,e,n){return H(this,t,e,!1,n)},u.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i,o=r-n;if(this===t&&n<e&&e<r)for(i=o-1;i>=0;--i)t[i+e]=this[i+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},u.prototype.fill=function(t,e,n,r){if("string"===typeof t){if("string"===typeof e?(r=e,e=0,n=this.length):"string"===typeof n&&(r=n,n=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==r&&"string"!==typeof r)throw new TypeError("encoding must be a string");if("string"===typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"===typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var o;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"===typeof t)for(o=e;o<n;++o)this[o]=t;else{var s=u.isBuffer(t)?t:K(new u(t,r).toString()),a=s.length;for(o=0;o<n-e;++o)this[o+e]=s[o%a]}return this};var V=/[^+\/0-9A-Za-z-_]/g;function Q(t){if(t=W(t).replace(V,""),t.length<2)return"";while(t.length%4!==0)t+="=";return t}function W(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function Z(t){return t<16?"0"+t.toString(16):t.toString(16)}function K(t,e){var n;e=e||1/0;for(var r=t.length,i=null,o=[],s=0;s<r;++s){if(n=t.charCodeAt(s),n>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function q(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}function J(t,e){for(var n,r,i,o=[],s=0;s<t.length;++s){if((e-=2)<0)break;n=t.charCodeAt(s),r=n>>8,i=n%256,o.push(i),o.push(r)}return o}function X(t){return r.toByteArray(Q(t))}function tt(t,e,n,r){for(var i=0;i<r;++i){if(i+n>=e.length||i>=t.length)break;e[i+n]=t[i]}return i}function et(t){return t!==t}}).call(this,n("c8ba"))},b6e4:function(t,e,n){n("ec30")("Int32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},b72c:function(t,e,n){var r=n("5ca1"),i=n("d752");r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},b749:function(t,e,n){"use strict";(function(){if("undefined"!==typeof window){var t,e="ontouchstart"in window;document.createTouch||(document.createTouch=function(t,e,r,i,o,s,a){return new n(e,r,{pageX:i,pageY:o,screenX:s,screenY:a,clientX:i-window.pageXOffset,clientY:o-window.pageYOffset},0,0)}),document.createTouchList||(document.createTouchList=function(){for(var t=i(),e=0;e<arguments.length;e++)t[e]=arguments[e];return t.length=arguments.length,t}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(t){var e=this;do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null});var n=function(t,e,n,r,i){r=r||0,i=i||0,this.identifier=e,this.target=t,this.clientX=n.clientX+r,this.clientY=n.clientY+i,this.screenX=n.screenX+r,this.screenY=n.screenY+i,this.pageX=n.pageX+r,this.pageY=n.pageY+i},r=!1;u["multiTouchOffset"]=75,e||new u}function i(){var t=[];return t["item"]=function(t){return this[t]||null},t["identifiedTouch"]=function(t){return this[t+1]||null},t}function o(e){return function(n){"mousedown"===n.type&&(r=!0),"mouseup"===n.type&&(r=!1),("mousemove"!==n.type||r)&&(("mousedown"===n.type||!t||t&&!t.dispatchEvent)&&(t=n.target),null==t.closest("[data-no-touch-simulate]")&&s(e,n),"mouseup"===n.type&&(t=null))}}function s(e,n){var r=document.createEvent("Event");r.initEvent(e,!0,!0),r.altKey=n.altKey,r.ctrlKey=n.ctrlKey,r.metaKey=n.metaKey,r.shiftKey=n.shiftKey,r.touches=c(n),r.targetTouches=c(n),r.changedTouches=a(n),t.dispatchEvent(r)}function a(e){var r=i();return r.push(new n(t,1,e,0,0)),r}function c(t){return"mouseup"===t.type?i():a(t)}function u(){window.addEventListener("mousedown",o("touchstart"),!0),window.addEventListener("mousemove",o("touchmove"),!0),window.addEventListener("mouseup",o("touchend"),!0)}})()},b80b:function(t,e,n){var r=n("4f7f"),i=n("4379"),o=n("37a7"),s=n("cb7c"),a=n("38fd"),c=o.keys,u=o.key,l=function(t,e){var n=c(t,e),o=a(t);if(null===o)return n;var s=l(o,e);return s.length?n.length?i(new r(n.concat(s))):s:n};o.exp({getMetadataKeys:function(t){return l(s(t),arguments.length<2?void 0:u(arguments[1]))}})},b8e3:function(t,e){t.exports=!0},b9a1:function(t,e,n){"use strict";var r=n("5ca1"),i=n("4bf8"),o=n("6a99"),s=n("38fd"),a=n("11e9").f;n("9e1e")&&r(r.P+n("c5b4"),"Object",{__lookupGetter__:function(t){var e,n=i(this),r=o(t,!0);do{if(e=a(n,r))return e.get}while(n=s(n))}})},ba16:function(t,e,n){var r=n("5ca1"),i=n("11e9").f,o=n("cb7c");r(r.S,"Reflect",{deleteProperty:function(t,e){var n=i(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},ba31:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return c})),n.d(e,"c",(function(){return u}));var r=n("c31d"),i=n("2b0e"),o=["ref","key","style","class","attrs","refInFor","nativeOn","directives","staticClass","staticStyle"],s={nativeOn:"on"};function a(t,e){var n=o.reduce((function(e,n){return t.data[n]&&(e[s[n]||n]=t.data[n]),e}),{});return e&&(n.on=n.on||{},Object(r["a"])(n.on,t.data.on)),n}function c(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=t.listeners[e];o&&(Array.isArray(o)?o.forEach((function(t){t.apply(void 0,r)})):o.apply(void 0,r))}function u(t,e){var n=new i["default"]({el:document.createElement("div"),props:t.props,render:function(n){return n(t,Object(r["a"])({props:this.$props},e))}});return document.body.appendChild(n.$el),n}},ba92:function(t,e,n){"use strict";var r=n("4bf8"),i=n("77f1"),o=n("9def");t.exports=[].copyWithin||function(t,e){var n=r(this),s=o(n.length),a=i(t,s),c=i(e,s),u=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===u?s:i(u,s))-c,s-a),f=1;c<a&&a<c+l&&(f=-1,c+=l-1,a+=l-1);while(l-- >0)c in n?n[a]=n[c]:delete n[a],a+=f,c+=f;return n}},ba99:function(t,e,n){var r=n("6abf"),i=n("9aa9"),o=n("e4ae"),s=n("e53d").Reflect;t.exports=s&&s.ownKeys||function(t){var e=r.f(o(t)),n=i.f;return n?e.concat(n(t)):e}},bc13:function(t,e,n){var r=n("e53d"),i=r.navigator;t.exports=i&&i.userAgent||""},bc3a:function(t,e,n){t.exports=n("cee4")},bcaa:function(t,e,n){var r=n("cb7c"),i=n("d3f4"),o=n("a5b8");t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t),s=n.resolve;return s(e),n.promise}},bd86:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("85f2"),i=n.n(r);function o(t,e,n){return e in t?i()(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},bdd1:function(t,e,n){n("c6a1")("WeakSet")},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},bef9:function(t,e,n){var r=n("2d95");t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},bf0b:function(t,e,n){var r=n("355d"),i=n("aebd"),o=n("36c3"),s=n("1bc3"),a=n("07e3"),c=n("794b"),u=Object.getOwnPropertyDescriptor;e.f=n("8e60")?u:function(t,e){if(t=o(t),e=s(e,!0),c)try{return u(t,e)}catch(n){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},bf90:function(t,e,n){var r=n("36c3"),i=n("bf0b").f;n("ce7e")("getOwnPropertyDescriptor",(function(){return function(t,e){return i(r(t),e)}}))},c02b:function(t,e,n){"use strict";var r=n("643e"),i=n("b39a"),o="WeakSet";n("e0b8")(o,(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(i(this,o),t,!0)}},r,!1,!0)},c098:function(t,e,n){t.exports=n("d4af")},c189:function(t,e,n){"use strict";var r=n("79aa"),i=n("f772"),o=n("3024"),s=[].slice,a={},c=function(t,e,n){if(!(e in a)){for(var r=[],i=0;i<e;i++)r[i]="a["+i+"]";a[e]=Function("F,a","return new F("+r.join(",")+")")}return a[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=s.call(arguments,1),a=function(){var r=n.concat(s.call(arguments));return this instanceof a?c(e,r.length,r):o(e,r,t)};return i(e.prototype)&&(a.prototype=e.prototype),a}},c207:function(t,e){},c26b:function(t,e,n){"use strict";var r=n("86cc").f,i=n("2aeb"),o=n("dcbc"),s=n("9b43"),a=n("f605"),c=n("4a59"),u=n("01f9"),l=n("d53b"),f=n("7a56"),h=n("9e1e"),d=n("67ab").fastKey,p=n("b39a"),g=h?"_s":"size",v=function(t,e){var n,r=d(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,u){var l=t((function(t,r){a(t,l,e,"_i"),t._t=e,t._i=i(null),t._f=void 0,t._l=void 0,t[g]=0,void 0!=r&&c(r,n,t[u],t)}));return o(l.prototype,{clear:function(){for(var t=p(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[g]=0},delete:function(t){var n=p(this,e),r=v(n,t);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[g]--}return!!r},forEach:function(t){p(this,e);var n,r=s(t,arguments.length>1?arguments[1]:void 0,3);while(n=n?n.n:this._f){r(n.v,n.k,this);while(n&&n.r)n=n.p}},has:function(t){return!!v(p(this,e),t)}}),h&&r(l.prototype,"size",{get:function(){return p(this,e)[g]}}),l},def:function(t,e,n){var r,i,o=v(t,e);return o?o.v=n:(t._l=o={i:i=d(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[g]++,"F"!==i&&(t._i[i]=o)),t},getEntry:v,setStrong:function(t,e,n){u(t,e,(function(t,n){this._t=p(t,e),this._k=n,this._l=void 0}),(function(){var t=this,e=t._k,n=t._l;while(n&&n.r)n=n.p;return t._t&&(t._l=n=n?n.n:t._t._f)?l(0,"keys"==e?n.k:"values"==e?n.v:[n.k,n.v]):(t._t=void 0,l(1))}),n?"entries":"values",!n,!0),f(e)}}},c31d:function(t,e,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r.apply(this,arguments)}n.d(e,"a",(function(){return r}))},c345:function(t,e,n){"use strict";var r=n("c532"),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,o,s={};return t?(r.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(s[e]&&i.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([n]):s[e]?s[e]+", "+n:n}})),s):s}},c366:function(t,e,n){var r=n("6821"),i=n("9def"),o=n("77f1");t.exports=function(t){return function(e,n,s){var a,c=r(e),u=i(c.length),l=o(s,u);if(t&&n!=n){while(u>l)if(a=c[l++],a!=a)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},c367:function(t,e,n){"use strict";var r=n("8436"),i=n("50ed"),o=n("481b"),s=n("36c3");t.exports=n("30f1")(Array,"Array",(function(t,e){this._t=s(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,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},c3a1:function(t,e,n){var r=n("e6f3"),i=n("1691");t.exports=Object.keys||function(t){return r(t,i)}},c401:function(t,e,n){"use strict";var r=n("c532");t.exports=function(t,e,n){return r.forEach(n,(function(n){t=n(t,e)})),t}},c45f:function(t,e,n){"use strict";var r=n("1169"),i=n("d3f4"),o=n("9def"),s=n("9b43"),a=n("2b4c")("isConcatSpreadable");function c(t,e,n,u,l,f,h,d){var p,g,v=l,y=0,m=!!h&&s(h,d,3);while(y<u){if(y in n){if(p=m?m(n[y],y,e):n[y],g=!1,i(p)&&(g=p[a],g=void 0!==g?!!g:r(p)),g&&f>0)v=c(t,e,p,o(p.length),v,f-1)-1;else{if(v>=9007199254740991)throw TypeError();t[v]=p}v++}y++}return v}t.exports=c},c4d8:function(t,e,n){"use strict";var r=this&&this.__read||function(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{while((void 0===e||e-- >0)&&!(r=o.next()).done)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return s},i=this&&this.__spreadArray||function(t,e){for(var n=0,r=e.length,i=t.length;n<r;n++,i++)t[i]=e[n];return t},o=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};e.__esModule=!0;var s=o(n("9675")),a=o(n("d540")),c=n("3b74"),u=Array.isArray;function l(t){var e=void 0===t?{}:t,n=e.customizeArray,o=e.customizeObject,f=e.key;return function t(e,h,d){var p=f?f+"."+d:d;if(c.isFunction(e)&&c.isFunction(h))return function(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return t(e.apply(void 0,i([],r(n))),h.apply(void 0,i([],r(n))),d)};if(u(e)&&u(h)){var g=n&&n(e,h,p);return g||i(i([],r(e)),r(h))}if(c.isRegex(h))return h;if(c.isPlainObject(e)&&c.isPlainObject(h)){g=o&&o(e,h,p);return g||a["default"]([e,h],l({customizeArray:n,customizeObject:o,key:p}))}return c.isPlainObject(h)?s["default"](h):u(h)?i([],r(h)):h}}e["default"]=l},c532:function(t,e,n){"use strict";var r=n("1d2b"),i=n("044b"),o=Object.prototype.toString;function s(t){return"[object Array]"===o.call(t)}function a(t){return"[object ArrayBuffer]"===o.call(t)}function c(t){return"undefined"!==typeof FormData&&t instanceof FormData}function u(t){var e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer,e}function l(t){return"string"===typeof t}function f(t){return"number"===typeof t}function h(t){return"undefined"===typeof t}function d(t){return null!==t&&"object"===typeof t}function p(t){return"[object Date]"===o.call(t)}function g(t){return"[object File]"===o.call(t)}function v(t){return"[object Blob]"===o.call(t)}function y(t){return"[object Function]"===o.call(t)}function m(t){return d(t)&&y(t.pipe)}function I(t){return"undefined"!==typeof URLSearchParams&&t instanceof URLSearchParams}function M(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}function b(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function _(t,e){if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),s(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}function A(){var t={};function e(e,n){"object"===typeof t[n]&&"object"===typeof e?t[n]=A(t[n],e):t[n]=e}for(var n=0,r=arguments.length;n<r;n++)_(arguments[n],e);return t}function C(t,e,n){return _(e,(function(e,i){t[i]=n&&"function"===typeof e?r(e,n):e})),t}t.exports={isArray:s,isArrayBuffer:a,isBuffer:i,isFormData:c,isArrayBufferView:u,isString:l,isNumber:f,isObject:d,isUndefined:h,isDate:p,isFile:g,isBlob:v,isFunction:y,isStream:m,isURLSearchParams:I,isStandardBrowserEnv:b,forEach:_,merge:A,extend:C,trim:M}},c5b4:function(t,e,n){"use strict";t.exports=n("2d00")||!n("79e5")((function(){var t=Math.random();__defineSetter__.call(null,t,(function(){})),delete n("7726")[t]}))},c5f6:function(t,e,n){"use strict";var r=n("7726"),i=n("69a8"),o=n("2d95"),s=n("5dbc"),a=n("6a99"),c=n("79e5"),u=n("9093").f,l=n("11e9").f,f=n("86cc").f,h=n("aa77").trim,d="Number",p=r[d],g=p,v=p.prototype,y=o(n("2aeb")(v))==d,m="trim"in String.prototype,I=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){e=m?e.trim():h(e,3);var n,r,i,o=e.charCodeAt(0);if(43===o||45===o){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var s,c=e.slice(2),u=0,l=c.length;u<l;u++)if(s=c.charCodeAt(u),s<48||s>i)return NaN;return parseInt(c,r)}}return+e};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof p&&(y?c((function(){v.valueOf.call(n)})):o(n)!=d)?s(new g(I(e)),n,p):I(e)};for(var M,b=n("9e1e")?u(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),_=0;b.length>_;_++)i(g,M=b[_])&&!i(p,M)&&f(p,M,l(g,M));p.prototype=v,v.constructor=p,n("2aba")(r,d,p)}},c603:function(t,e,n){"use strict";var r=n("a5b2"),i=n.n(r),o=n("6bb5");function s(){if("undefined"===typeof Reflect||!i.a)return!1;if(i.a.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(i()(Boolean,[],(function(){}))),!0}catch(t){return!1}}var a=n("308d");function c(t){var e=s();return function(){var n,r=Object(o["a"])(t);if(e){var s=Object(o["a"])(this).constructor;n=i()(r,arguments,s)}else n=r.apply(this,arguments);return Object(a["a"])(this,n)}}n.d(e,"a",(function(){return c}))},c66f:function(t,e,n){"use strict";var r=n("5ca1"),i=n("0f88"),o=n("ed0b"),s=n("cb7c"),a=n("77f1"),c=n("9def"),u=n("d3f4"),l=n("7726").ArrayBuffer,f=n("ebd6"),h=o.ArrayBuffer,d=o.DataView,p=i.ABV&&l.isView,g=h.prototype.slice,v=i.VIEW,y="ArrayBuffer";r(r.G+r.W+r.F*(l!==h),{ArrayBuffer:h}),r(r.S+r.F*!i.CONSTR,y,{isView:function(t){return p&&p(t)||u(t)&&v in t}}),r(r.P+r.U+r.F*n("79e5")((function(){return!new h(2).slice(1,void 0).byteLength})),y,{slice:function(t,e){if(void 0!==g&&void 0===e)return g.call(s(this),t);var n=s(this).byteLength,r=a(t,n),i=a(void 0===e?n:e,n),o=new(f(this,h))(c(i-r)),u=new d(this),l=new d(o),p=0;while(r<i)l.setUint8(p++,u.getUint8(r++));return o}}),n("7a56")(y)},c698:function(t,e,n){var r=n("5ca1");r(r.S,"Reflect",{ownKeys:n("990b")})},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}))},c6a1:function(t,e,n){"use strict";var r=n("5ca1");t.exports=function(t){r(r.S,t,{of:function(){var t=arguments.length,e=new Array(t);while(t--)e[t]=arguments[t];return new this(e)}})}},c775:function(t,e,n){var r=n("5ca1");r(r.S,"Math",{scale:n("e9d2")})},c7c6:function(t,e,n){var r=n("5ca1"),i=Math.abs;r(r.S,"Math",{hypot:function(t,e){var n,r,o=0,s=0,a=arguments.length,c=0;while(s<a)n=i(arguments[s++]),c<n?(r=c/n,o=o*r*r+1,c=n):n>0?(r=n/c,o+=r*r):o+=n;return c===1/0?1/0:c*Math.sqrt(o)}})},c7c62:function(t,e,n){var r=n("5ca1"),i=n("2d5c"),o=Math.exp;r(r.S,"Math",{tanh:function(t){var e=i(t=+t),n=i(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},c7ca:function(t,e,n){n("3a72")("observable")},c80c:function(t,e,n){"use strict";n.d(e,"a",(function(){return v}));var r=n("7618"),i=n("85f2"),o=n.n(i),s=n("67bb"),a=n.n(s),c=n("4aa6"),u=n.n(c),l=n("061b"),f=n.n(l),h=n("4d16"),d=n.n(h),p=n("795b"),g=n.n(p);function v(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
- v=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,i=o.a||function(t,e,n){t[e]=n.value},s="function"==typeof a.a?a.a:{},c=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",h=s.toStringTag||"@@toStringTag";function p(t,e,n){return o()(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{p({},"")}catch(k){p=function(t,e,n){return t[e]=n}}function y(t,e,n,r){var o=e&&e.prototype instanceof M?e:M,s=u()(o.prototype),a=new L(r||[]);return i(s,"_invoke",{value:S(t,n,a)}),s}function m(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(k){return{type:"throw",arg:k}}}t.wrap=y;var I={};function M(){}function b(){}function _(){}var A={};p(A,c,(function(){return this}));var C=f.a,T=C&&C(C(x([])));T&&T!==e&&n.call(T,c)&&(A=T);var E=_.prototype=M.prototype=u()(A);function w(t){["next","throw","return"].forEach((function(e){p(t,e,(function(t){return this._invoke(e,t)}))}))}function N(t,e){function o(i,s,a,c){var u=m(t[i],t,s);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==Object(r["a"])(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var s;i(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){o(t,n,e,r)}))}return s=s?s.then(r,r):r()}})}function S(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return j()}for(n.method=i,n.arg=o;;){var s=n.delegate;if(s){var a=O(s,n);if(a){if(a===I)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=m(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===I)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function O(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator["return"]&&(e.method="return",e.arg=void 0,O(t,e),"throw"===e.method))return I;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return I}var r=m(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,I;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,I):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,I)}function D(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(D,this),this.reset(!0)}function x(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:j}}function j(){return{value:void 0,done:!0}}return b.prototype=_,i(E,"constructor",{value:_,configurable:!0}),i(_,"constructor",{value:b,configurable:!0}),b.displayName=p(_,h,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return d.a?d()(t,_):(t.__proto__=_,p(t,h,"GeneratorFunction")),t.prototype=u()(E),t},t.awrap=function(t){return{__await:t}},w(N.prototype),p(N.prototype,l,(function(){return this})),t.AsyncIterator=N,t.async=function(e,n,r,i,o){void 0===o&&(o=g.a);var s=new N(y(e,n,r,i),o);return t.isGeneratorFunction(n)?s:s.next().then((function(t){return t.done?t.value:s.next()}))},w(E),p(E,h,"Generator"),p(E,c,(function(){return this})),p(E,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=x,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(R),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return s.type="throw",s.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var a=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(a&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=t,s.arg=e,o?(this.method="next",this.next=o.finallyLoc,I):this.complete(s)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),I},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),R(n),I}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;R(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:x(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),I}},t}},c8af:function(t,e,n){"use strict";var r=n("c532");t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},c8ce:function(t,e,n){var r=n("2b4c")("toPrimitive"),i=Date.prototype;r in i||n("32e9")(i,r,n("8381"))},c98f:function(t,e,n){(function(t,n){var r=200,i="Expected a function",o="__lodash_hash_undefined__",s=1,a=2,c=1/0,u=9007199254740991,l="[object Arguments]",f="[object Array]",h="[object Boolean]",d="[object Date]",p="[object Error]",g="[object Function]",v="[object GeneratorFunction]",y="[object Map]",m="[object Number]",I="[object Object]",M="[object Promise]",b="[object RegExp]",_="[object Set]",A="[object String]",C="[object Symbol]",T="[object WeakMap]",E="[object ArrayBuffer]",w="[object DataView]",N="[object Float32Array]",S="[object Float64Array]",O="[object Int8Array]",D="[object Int16Array]",R="[object Int32Array]",L="[object Uint8Array]",x="[object Uint8ClampedArray]",j="[object Uint16Array]",k="[object Uint32Array]",P=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,U=/^\w*$/,z=/^\./,G=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,B=/[\\^$.*+?()[\]{}|]/g,Y=/\\(\\)?/g,F=/^\[object .+?Constructor\]$/,$=/^(?:0|[1-9]\d*)$/,H={};H[N]=H[S]=H[O]=H[D]=H[R]=H[L]=H[x]=H[j]=H[k]=!0,H[l]=H[f]=H[E]=H[h]=H[w]=H[d]=H[p]=H[g]=H[y]=H[m]=H[I]=H[b]=H[_]=H[A]=H[T]=!1;var V="object"==typeof t&&t&&t.Object===Object&&t,Q="object"==typeof self&&self&&self.Object===Object&&self,W=V||Q||Function("return this")(),Z=e&&!e.nodeType&&e,K=Z&&"object"==typeof n&&n&&!n.nodeType&&n,q=K&&K.exports===Z,J=q&&V.process,X=function(){try{return J&&J.binding("util")}catch(t){}}(),tt=X&&X.isTypedArray;function et(t,e){var n=-1,r=t?t.length:0;while(++n<r)if(!1===e(t[n],n,t))break;return t}function nt(t,e){var n=-1,r=t?t.length:0;while(++n<r)if(e(t[n],n,t))return!0;return!1}function rt(t){return function(e){return null==e?void 0:e[t]}}function it(t,e){var n=-1,r=Array(t);while(++n<t)r[n]=e(n);return r}function ot(t){return function(e){return t(e)}}function st(t,e){return null==t?void 0:t[e]}function at(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}function ct(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function ut(t,e){return function(n){return t(e(n))}}function lt(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var ft=Array.prototype,ht=Function.prototype,dt=Object.prototype,pt=W["__core-js_shared__"],gt=function(){var t=/[^.]+$/.exec(pt&&pt.keys&&pt.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),vt=ht.toString,yt=dt.hasOwnProperty,mt=dt.toString,It=RegExp("^"+vt.call(yt).replace(B,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Mt=W.Symbol,bt=W.Uint8Array,_t=ut(Object.getPrototypeOf,Object),At=Object.create,Ct=dt.propertyIsEnumerable,Tt=ft.splice,Et=ut(Object.keys,Object),wt=Ge(W,"DataView"),Nt=Ge(W,"Map"),St=Ge(W,"Promise"),Ot=Ge(W,"Set"),Dt=Ge(W,"WeakMap"),Rt=Ge(Object,"create"),Lt=Je(wt),xt=Je(Nt),jt=Je(St),kt=Je(Ot),Pt=Je(Dt),Ut=Mt?Mt.prototype:void 0,zt=Ut?Ut.valueOf:void 0,Gt=Ut?Ut.toString:void 0;function Bt(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Yt(){this.__data__=Rt?Rt(null):{}}function Ft(t){return this.has(t)&&delete this.__data__[t]}function $t(t){var e=this.__data__;if(Rt){var n=e[t];return n===o?void 0:n}return yt.call(e,t)?e[t]:void 0}function Ht(t){var e=this.__data__;return Rt?void 0!==e[t]:yt.call(e,t)}function Vt(t,e){var n=this.__data__;return n[t]=Rt&&void 0===e?o:e,this}function Qt(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function Wt(){this.__data__=[]}function Zt(t){var e=this.__data__,n=ge(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():Tt.call(e,n,1),!0}function Kt(t){var e=this.__data__,n=ge(e,t);return n<0?void 0:e[n][1]}function qt(t){return ge(this.__data__,t)>-1}function Jt(t,e){var n=this.__data__,r=ge(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}function Xt(t){var e=-1,n=t?t.length:0;this.clear();while(++e<n){var r=t[e];this.set(r[0],r[1])}}function te(){this.__data__={hash:new Bt,map:new(Nt||Qt),string:new Bt}}function ee(t){return Ue(this,t)["delete"](t)}function ne(t){return Ue(this,t).get(t)}function re(t){return Ue(this,t).has(t)}function ie(t,e){return Ue(this,t).set(t,e),this}function oe(t){var e=-1,n=t?t.length:0;this.__data__=new Xt;while(++e<n)this.add(t[e])}function se(t){return this.__data__.set(t,o),this}function ae(t){return this.__data__.has(t)}function ce(t){this.__data__=new Qt(t)}function ue(){this.__data__=new Qt}function le(t){return this.__data__["delete"](t)}function fe(t){return this.__data__.get(t)}function he(t){return this.__data__.has(t)}function de(t,e){var n=this.__data__;if(n instanceof Qt){var i=n.__data__;if(!Nt||i.length<r-1)return i.push([t,e]),this;n=this.__data__=new Xt(i)}return n.set(t,e),this}function pe(t,e){var n=nn(t)||en(t)?it(t.length,String):[],r=n.length,i=!!r;for(var o in t)!e&&!yt.call(t,o)||i&&("length"==o||Fe(o,r))||n.push(o);return n}function ge(t,e){var n=t.length;while(n--)if(tn(t[n][0],e))return n;return-1}function ve(t){return cn(t)?At(t):{}}Bt.prototype.clear=Yt,Bt.prototype["delete"]=Ft,Bt.prototype.get=$t,Bt.prototype.has=Ht,Bt.prototype.set=Vt,Qt.prototype.clear=Wt,Qt.prototype["delete"]=Zt,Qt.prototype.get=Kt,Qt.prototype.has=qt,Qt.prototype.set=Jt,Xt.prototype.clear=te,Xt.prototype["delete"]=ee,Xt.prototype.get=ne,Xt.prototype.has=re,Xt.prototype.set=ie,oe.prototype.add=oe.prototype.push=se,oe.prototype.has=ae,ce.prototype.clear=ue,ce.prototype["delete"]=le,ce.prototype.get=fe,ce.prototype.has=he,ce.prototype.set=de;var ye=xe();function me(t,e){return t&&ye(t,e,gn)}function Ie(t,e){e=$e(e,t)?[e]:Le(e);var n=0,r=e.length;while(null!=t&&n<r)t=t[qe(e[n++])];return n&&n==r?t:void 0}function Me(t){return mt.call(t)}function be(t,e){return null!=t&&e in Object(t)}function _e(t,e,n,r,i){return t===e||(null==t||null==e||!cn(t)&&!un(e)?t!==t&&e!==e:Ae(t,e,_e,n,r,i))}function Ae(t,e,n,r,i,o){var s=nn(t),c=nn(e),u=f,h=f;s||(u=Be(t),u=u==l?I:u),c||(h=Be(e),h=h==l?I:h);var d=u==I&&!at(t),p=h==I&&!at(e),g=u==h;if(g&&!d)return o||(o=new ce),s||fn(t)?je(t,e,n,r,i,o):ke(t,e,u,n,r,i,o);if(!(i&a)){var v=d&&yt.call(t,"__wrapped__"),y=p&&yt.call(e,"__wrapped__");if(v||y){var m=v?t.value():t,M=y?e.value():e;return o||(o=new ce),n(m,M,r,i,o)}}return!!g&&(o||(o=new ce),Pe(t,e,n,r,i,o))}function Ce(t,e,n,r){var i=n.length,o=i,c=!r;if(null==t)return!o;t=Object(t);while(i--){var u=n[i];if(c&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}while(++i<o){u=n[i];var l=u[0],f=t[l],h=u[1];if(c&&u[2]){if(void 0===f&&!(l in t))return!1}else{var d=new ce;if(r)var p=r(f,h,l,t,e,d);if(!(void 0===p?_e(h,f,r,s|a,d):p))return!1}}return!0}function Te(t){if(!cn(t)||Ve(t))return!1;var e=sn(t)||at(t)?It:F;return e.test(Je(t))}function Ee(t){return un(t)&&an(t.length)&&!!H[mt.call(t)]}function we(t){return"function"==typeof t?t:null==t?yn:"object"==typeof t?nn(t)?Oe(t[0],t[1]):Se(t):mn(t)}function Ne(t){if(!Qe(t))return Et(t);var e=[];for(var n in Object(t))yt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Se(t){var e=ze(t);return 1==e.length&&e[0][2]?Ze(e[0][0],e[0][1]):function(n){return n===t||Ce(n,t,e)}}function Oe(t,e){return $e(t)&&We(e)?Ze(qe(t),e):function(n){var r=dn(n,t);return void 0===r&&r===e?pn(n,t):_e(e,r,void 0,s|a)}}function De(t){return function(e){return Ie(e,t)}}function Re(t){if("string"==typeof t)return t;if(ln(t))return Gt?Gt.call(t):"";var e=t+"";return"0"==e&&1/t==-c?"-0":e}function Le(t){return nn(t)?t:Ke(t)}function xe(t){return function(e,n,r){var i=-1,o=Object(e),s=r(e),a=s.length;while(a--){var c=s[t?a:++i];if(!1===n(o[c],c,o))break}return e}}function je(t,e,n,r,i,o){var c=i&a,u=t.length,l=e.length;if(u!=l&&!(c&&l>u))return!1;var f=o.get(t);if(f&&o.get(e))return f==e;var h=-1,d=!0,p=i&s?new oe:void 0;o.set(t,e),o.set(e,t);while(++h<u){var g=t[h],v=e[h];if(r)var y=c?r(v,g,h,e,t,o):r(g,v,h,t,e,o);if(void 0!==y){if(y)continue;d=!1;break}if(p){if(!nt(e,(function(t,e){if(!p.has(e)&&(g===t||n(g,t,r,i,o)))return p.add(e)}))){d=!1;break}}else if(g!==v&&!n(g,v,r,i,o)){d=!1;break}}return o["delete"](t),o["delete"](e),d}function ke(t,e,n,r,i,o,c){switch(n){case w:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case E:return!(t.byteLength!=e.byteLength||!r(new bt(t),new bt(e)));case h:case d:case m:return tn(+t,+e);case p:return t.name==e.name&&t.message==e.message;case b:case A:return t==e+"";case y:var u=ct;case _:var l=o&a;if(u||(u=lt),t.size!=e.size&&!l)return!1;var f=c.get(t);if(f)return f==e;o|=s,c.set(t,e);var g=je(u(t),u(e),r,i,o,c);return c["delete"](t),g;case C:if(zt)return zt.call(t)==zt.call(e)}return!1}function Pe(t,e,n,r,i,o){var s=i&a,c=gn(t),u=c.length,l=gn(e),f=l.length;if(u!=f&&!s)return!1;var h=u;while(h--){var d=c[h];if(!(s?d in e:yt.call(e,d)))return!1}var p=o.get(t);if(p&&o.get(e))return p==e;var g=!0;o.set(t,e),o.set(e,t);var v=s;while(++h<u){d=c[h];var y=t[d],m=e[d];if(r)var I=s?r(m,y,d,e,t,o):r(y,m,d,t,e,o);if(!(void 0===I?y===m||n(y,m,r,i,o):I)){g=!1;break}v||(v="constructor"==d)}if(g&&!v){var M=t.constructor,b=e.constructor;M==b||!("constructor"in t)||!("constructor"in e)||"function"==typeof M&&M instanceof M&&"function"==typeof b&&b instanceof b||(g=!1)}return o["delete"](t),o["delete"](e),g}function Ue(t,e){var n=t.__data__;return He(e)?n["string"==typeof e?"string":"hash"]:n.map}function ze(t){var e=gn(t),n=e.length;while(n--){var r=e[n],i=t[r];e[n]=[r,i,We(i)]}return e}function Ge(t,e){var n=st(t,e);return Te(n)?n:void 0}var Be=Me;function Ye(t,e,n){e=$e(e,t)?[e]:Le(e);var r,i=-1,o=e.length;while(++i<o){var s=qe(e[i]);if(!(r=null!=t&&n(t,s)))break;t=t[s]}if(r)return r;o=t?t.length:0;return!!o&&an(o)&&Fe(s,o)&&(nn(t)||en(t))}function Fe(t,e){return e=null==e?u:e,!!e&&("number"==typeof t||$.test(t))&&t>-1&&t%1==0&&t<e}function $e(t,e){if(nn(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!ln(t))||(U.test(t)||!P.test(t)||null!=e&&t in Object(e))}function He(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function Ve(t){return!!gt&> in t}function Qe(t){var e=t&&t.constructor,n="function"==typeof e&&e.prototype||dt;return t===n}function We(t){return t===t&&!cn(t)}function Ze(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}(wt&&Be(new wt(new ArrayBuffer(1)))!=w||Nt&&Be(new Nt)!=y||St&&Be(St.resolve())!=M||Ot&&Be(new Ot)!=_||Dt&&Be(new Dt)!=T)&&(Be=function(t){var e=mt.call(t),n=e==I?t.constructor:void 0,r=n?Je(n):void 0;if(r)switch(r){case Lt:return w;case xt:return y;case jt:return M;case kt:return _;case Pt:return T}return e});var Ke=Xe((function(t){t=hn(t);var e=[];return z.test(t)&&e.push(""),t.replace(G,(function(t,n,r,i){e.push(r?i.replace(Y,"$1"):n||t)})),e}));function qe(t){if("string"==typeof t||ln(t))return t;var e=t+"";return"0"==e&&1/t==-c?"-0":e}function Je(t){if(null!=t){try{return vt.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function Xe(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError(i);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s),s};return n.cache=new(Xe.Cache||Xt),n}function tn(t,e){return t===e||t!==t&&e!==e}function en(t){return on(t)&&yt.call(t,"callee")&&(!Ct.call(t,"callee")||mt.call(t)==l)}Xe.Cache=Xt;var nn=Array.isArray;function rn(t){return null!=t&&an(t.length)&&!sn(t)}function on(t){return un(t)&&rn(t)}function sn(t){var e=cn(t)?mt.call(t):"";return e==g||e==v}function an(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=u}function cn(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function un(t){return!!t&&"object"==typeof t}function ln(t){return"symbol"==typeof t||un(t)&&mt.call(t)==C}var fn=tt?ot(tt):Ee;function hn(t){return null==t?"":Re(t)}function dn(t,e,n){var r=null==t?void 0:Ie(t,e);return void 0===r?n:r}function pn(t,e){return null!=t&&Ye(t,e,be)}function gn(t){return rn(t)?pe(t):Ne(t)}function vn(t,e,n){var r=nn(t)||fn(t);if(e=we(e,4),null==n)if(r||cn(t)){var i=t.constructor;n=r?nn(t)?new i:[]:sn(i)?ve(_t(t)):{}}else n={};return(r?et:me)(t,(function(t,r,i){return e(n,t,r,i)})),n}function yn(t){return t}function mn(t){return $e(t)?rt(qe(t)):De(t)}n.exports=vn}).call(this,n("c8ba"),n("62e4")(t))},ca5a:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},cadf:function(t,e,n){"use strict";var r=n("9c6c"),i=n("d53b"),o=n("84f2"),s=n("6821");t.exports=n("01f9")(Array,"Array",(function(t,e){this._t=s(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,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},cb7c:function(t,e,n){var r=n("d3f4");t.exports=function(t){if(!r(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 r=n("e853");t.exports=function(t,e){return new(r(t))(e)}},cd78:function(t,e,n){var r=n("e4ae"),i=n("f772"),o=n("656e");t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t),s=n.resolve;return s(e),n.promise}},cd93:function(t,e){var n="[object Object]";function r(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(n){}return e}function i(t,e){return function(n){return t(e(n))}}var o=Function.prototype,s=Object.prototype,a=o.toString,c=s.hasOwnProperty,u=a.call(Object),l=s.toString,f=i(Object.getPrototypeOf,Object);function h(t){return!!t&&"object"==typeof t}function d(t){if(!h(t)||l.call(t)!=n||r(t))return!1;var e=f(t);if(null===e)return!0;var i=c.call(e,"constructor")&&e.constructor;return"function"==typeof i&&i instanceof i&&a.call(i)==u}t.exports=d},ce10:function(t,e,n){var r=n("69a8"),i=n("6821"),o=n("c366")(!1),s=n("613b")("IE_PROTO");t.exports=function(t,e){var n,a=i(t),c=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);while(e.length>c)r(a,n=e[c++])&&(~o(u,n)||u.push(n));return u}},ce7e:function(t,e,n){var r=n("63b6"),i=n("584a"),o=n("294c");t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],s={};s[t]=e(n),r(r.S+r.F*o((function(){n(1)})),"Object",s)}},ceaf:function(t,e,n){var r=n("37a7"),i=n("cb7c"),o=r.key,s=r.map,a=r.store;r.exp({deleteMetadata:function(t,e){var n=arguments.length<3?void 0:o(arguments[2]),r=s(i(e),n,!1);if(void 0===r||!r["delete"](t))return!1;if(r.size)return!0;var c=a.get(e);return c["delete"](n),!!c.size||a["delete"](e)}})},cee4:function(t,e,n){"use strict";var r=n("c532"),i=n("1d2b"),o=n("0a06"),s=n("2444");function a(t){var e=new o(t),n=i(o.prototype.request,e);return r.extend(n,o.prototype,e),r.extend(n,e),n}var c=a(s);c.Axios=o,c.create=function(t){return a(r.merge(s,t))},c.Cancel=n("7a77"),c.CancelToken=n("8df4"),c.isCancel=n("2e67"),c.all=function(t){return Promise.all(t)},c.spread=n("0df6"),t.exports=c,t.exports.default=c},cf6a:function(t,e,n){var r=n("d3f4"),i=n("67ab").onFreeze;n("5eda")("seal",(function(t){return function(e){return t&&r(e)?t(i(e)):e}}))},d04f:function(t,e,n){n("7a56")("Array")},d0b0:function(t,e,n){"use strict";n("386b")("italics",(function(t){return function(){return t(this,"i","","")}}))},d0ca:function(t,e,n){var r=n("5ca1"),i=n("abd7")(/[\\^$*+?.()|[\]{}]/g,"\\$&");r(r.S,"RegExp",{escape:function(t){return i(t)}})},d185:function(t,e,n){var r=n("11e9"),i=n("38fd"),o=n("69a8"),s=n("5ca1"),a=n("d3f4"),c=n("cb7c");function u(t,e){var n,s,l=arguments.length<3?t:arguments[2];return c(t)===l?t[e]:(n=r.f(t,e))?o(n,"value")?n.value:void 0!==n.get?n.get.call(l):void 0:a(s=i(t))?u(s,e,l):void 0}s(s.S,"Reflect",{get:u})},d225:function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",(function(){return r}))},d233:function(t,e,n){"use strict";var r=n("b313"),i=Object.prototype.hasOwnProperty,o=Array.isArray,s=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),a=function(t){while(t.length>1){var e=t.pop(),n=e.obj[e.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)"undefined"!==typeof n[i]&&r.push(n[i]);e.obj[e.prop]=r}}},c=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},r=0;r<t.length;++r)"undefined"!==typeof t[r]&&(n[r]=t[r]);return n},u=function t(e,n,r){if(!n)return e;if("object"!==typeof n){if(o(e))e.push(n);else{if(!e||"object"!==typeof e)return[e,n];(r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(e[n]=!0)}return e}if(!e||"object"!==typeof e)return[e].concat(n);var s=e;return o(e)&&!o(n)&&(s=c(e,r)),o(e)&&o(n)?(n.forEach((function(n,o){if(i.call(e,o)){var s=e[o];s&&"object"===typeof s&&n&&"object"===typeof n?e[o]=t(s,n,r):e.push(n)}else e[o]=n})),e):Object.keys(n).reduce((function(e,o){var s=n[o];return i.call(e,o)?e[o]=t(e[o],s,r):e[o]=s,e}),s)},l=function(t,e){return Object.keys(e).reduce((function(t,n){return t[n]=e[n],t}),t)},f=function(t,e,n){var r=t.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(i){return r}},h=function(t,e,n,i,o){if(0===t.length)return t;var a=t;if("symbol"===typeof t?a=Symbol.prototype.toString.call(t):"string"!==typeof t&&(a=String(t)),"iso-8859-1"===n)return escape(a).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var c="",u=0;u<a.length;++u){var l=a.charCodeAt(u);45===l||46===l||95===l||126===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||o===r.RFC1738&&(40===l||41===l)?c+=a.charAt(u):l<128?c+=s[l]:l<2048?c+=s[192|l>>6]+s[128|63&l]:l<55296||l>=57344?c+=s[224|l>>12]+s[128|l>>6&63]+s[128|63&l]:(u+=1,l=65536+((1023&l)<<10|1023&a.charCodeAt(u)),c+=s[240|l>>18]+s[128|l>>12&63]+s[128|l>>6&63]+s[128|63&l])}return c},d=function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r<e.length;++r)for(var i=e[r],o=i.obj[i.prop],s=Object.keys(o),c=0;c<s.length;++c){var u=s[c],l=o[u];"object"===typeof l&&null!==l&&-1===n.indexOf(l)&&(e.push({obj:o,prop:u}),n.push(l))}return a(e),t},p=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},g=function(t){return!(!t||"object"!==typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},v=function(t,e){return[].concat(t,e)},y=function(t,e){if(o(t)){for(var n=[],r=0;r<t.length;r+=1)n.push(e(t[r]));return n}return e(t)};t.exports={arrayToObject:c,assign:l,combine:v,compact:d,decode:f,encode:h,isBuffer:g,isRegExp:p,maybeMap:y,merge:u}},d25f:function(t,e,n){"use strict";var r=n("5ca1"),i=n("0a49")(2);r(r.P+r.F*!n("2f21")([].filter,!0),"Array",{filter:function(t){return i(this,t,arguments[1])}})},d263:function(t,e,n){"use strict";n("386b")("fixed",(function(t){return function(){return t(this,"tt","","")}}))},d282:function(t,e,n){"use strict";function r(t,e){return e?"string"===typeof e?" "+t+"--"+e:Array.isArray(e)?e.reduce((function(e,n){return e+r(t,n)}),""):Object.keys(e).reduce((function(n,i){return n+(e[i]?r(t,i):"")}),""):""}function i(t){return function(e,n){return e&&"string"!==typeof e&&(n=e,e=""),e=e?t+"__"+e:t,""+e+r(e,n)}}var o=n("a142"),s=/-(\w)/g;function a(t){return t.replace(s,(function(t,e){return e.toUpperCase()}))}var c={methods:{slots:function(t,e){void 0===t&&(t="default");var n=this.$slots,r=this.$scopedSlots,i=r[t];return i?i(e):n[t]}}};function u(t){var e=this.name;t.component(e,this),t.component(a("-"+e),this)}function l(t){var e=t.scopedSlots||t.data.scopedSlots||{},n=t.slots();return Object.keys(n).forEach((function(t){e[t]||(e[t]=function(){return n[t]})})),e}function f(t){return{functional:!0,props:t.props,model:t.model,render:function(e,n){return t(e,n.props,l(n),n)}}}function h(t){return function(e){return Object(o["d"])(e)&&(e=f(e)),e.functional||(e.mixins=e.mixins||[],e.mixins.push(c)),e.name=t,e.install=u,e}}var d=n("2b0e"),p=Object.prototype.hasOwnProperty;function g(t,e,n){var r=e[n];Object(o["c"])(r)&&(p.call(t,n)&&Object(o["e"])(r)?t[n]=v(Object(t[n]),e[n]):t[n]=r)}function v(t,e){return Object.keys(e).forEach((function(n){g(t,e,n)})),t}var y={name:"姓名",tel:"电话",save:"保存",confirm:"确认",cancel:"取消",delete:"删除",complete:"完成",loading:"加载中...",telEmpty:"请填写电话",nameEmpty:"请填写姓名",nameInvalid:"请输入正确的姓名",confirmDelete:"确定要删除吗",telInvalid:"请输入正确的手机号",vanCalendar:{end:"结束",start:"开始",title:"日期选择",confirm:"确定",startEnd:"开始/结束",weekdays:["日","一","二","三","四","五","六"],monthTitle:function(t,e){return t+"年"+e+"月"},rangePrompt:function(t){return"选择天数不能超过 "+t+" 天"}},vanCascader:{select:"请选择"},vanContactCard:{addText:"添加联系人"},vanContactList:{addText:"新建联系人"},vanPagination:{prev:"上一页",next:"下一页"},vanPullRefresh:{pulling:"下拉即可刷新...",loosing:"释放即可刷新..."},vanSubmitBar:{label:"合计:"},vanCoupon:{unlimited:"无使用门槛",discount:function(t){return t+"折"},condition:function(t){return"满"+t+"元可用"}},vanCouponCell:{title:"优惠券",tips:"暂无可用",count:function(t){return t+"张可用"}},vanCouponList:{empty:"暂无优惠券",exchange:"兑换",close:"不使用优惠券",enable:"可用",disabled:"不可用",placeholder:"请输入优惠码"},vanAddressEdit:{area:"地区",postal:"邮政编码",areaEmpty:"请选择地区",addressEmpty:"请填写详细地址",postalEmpty:"邮政编码格式不正确",defaultAddress:"设为默认收货地址",telPlaceholder:"收货人手机号",namePlaceholder:"收货人姓名",areaPlaceholder:"选择省 / 市 / 区"},vanAddressEditDetail:{label:"详细地址",placeholder:"街道门牌、楼层房间号等信息"},vanAddressList:{add:"新增地址"}},m=d["default"].prototype,I=d["default"].util.defineReactive;I(m,"$vantLang","zh-CN"),I(m,"$vantMessages",{"zh-CN":y});var M={messages:function(){return m.$vantMessages[m.$vantLang]},use:function(t,e){var n;m.$vantLang=t,this.add((n={},n[t]=e,n))},add:function(t){void 0===t&&(t={}),v(m.$vantMessages,t)}};function b(t){var e=a(t)+".";return function(t){for(var n=M.messages(),r=Object(o["a"])(n,e+t)||Object(o["a"])(n,t),i=arguments.length,s=new Array(i>1?i-1:0),a=1;a<i;a++)s[a-1]=arguments[a];return Object(o["d"])(r)?r.apply(void 0,s):r}}function _(t){return t="van-"+t,[h(t),i(t),b(t)]}n.d(e,"a",(function(){return _}))},d2c8:function(t,e,n){var r=n("aae3"),i=n("be13");t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(t))}},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}},d4af:function(t,e,n){"use strict";var r=n("8eb7"),i=n("7b3e"),o=10,s=40,a=800;function c(t){var e=0,n=0,r=0,i=0;return"detail"in t&&(n=t.detail),"wheelDelta"in t&&(n=-t.wheelDelta/120),"wheelDeltaY"in t&&(n=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(e=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(e=n,n=0),r=e*o,i=n*o,"deltaY"in t&&(i=t.deltaY),"deltaX"in t&&(r=t.deltaX),(r||i)&&t.deltaMode&&(1==t.deltaMode?(r*=s,i*=s):(r*=a,i*=a)),r&&!e&&(e=r<1?-1:1),i&&!n&&(n=i<1?-1:1),{spinX:e,spinY:n,pixelX:r,pixelY:i}}c.getEventType=function(){return r.firefox()?"DOMMouseScroll":i("wheel")?"wheel":"mousewheel"},t.exports=c},d4c0:function(t,e,n){var r=n("0d58"),i=n("2621"),o=n("52a7");t.exports=function(t){var e=r(t),n=i.f;if(n){var s,a=n(t),c=o.f,u=0;while(a.length>u)c.call(t,s=a[u++])&&e.push(s)}return e}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d540:function(t,e,n){"use strict";var r=this&&this.__read||function(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),s=[];try{while((void 0===e||e-- >0)&&!(r=o.next()).done)s.push(r.value)}catch(a){i={error:a}}finally{try{r&&!r.done&&(n=o["return"])&&n.call(o)}finally{if(i)throw i.error}}return s};function i(t,e){var n=r(t),i=n[0],s=n.slice(1),a=i;return s.forEach((function(t){a=o(a,t,e)})),a}function o(t,e,n){var r={};return Object.keys(t).concat(Object.keys(e)).forEach((function(i){var o=n(t[i],e[i],i);r[i]="undefined"===typeof o?t[i]:o})),r}e.__esModule=!0,e["default"]=i},d6c6:function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},d752:function(t,e,n){var r=n("7726").parseFloat,i=n("aa77").trim;t.exports=1/r(n("fdef")+"-0")!==-1/0?function(t){var e=i(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},d758:function(t,e,n){!function(e,n){t.exports=n()}(0,(function(){"use strict";return function(t,e){e.prototype.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)}}}))},d847:function(t,e,n){t.exports=n("5bba")},d864:function(t,e,n){var r=n("79aa");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}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}},d925:function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},d92a:function(t,e,n){var r=n("5ca1");r(r.P,"Function",{bind:n("f0c1")})},d9ab:function(t,e,n){var r=n("5ca1"),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},d9f6:function(t,e,n){var r=n("e4ae"),i=n("794b"),o=n("1bc3"),s=Object.defineProperty;e.f=n("8e60")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(a){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},db2a:function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}n.d(e,"a",(function(){return r}))},db4d:function(t,e,n){"use strict";(function(t){if(n("66f9"),n("f3a2"),n("fd5a"),t._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");t._babelPolyfill=!0;var e="defineProperty";function r(t,n,r){t[n]||Object[e](t,n,{writable:!0,configurable:!0,value:r})}r(String.prototype,"padLeft","".padStart),r(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach((function(t){[][t]&&r(Array,t,Function.call.bind([][t]))}))}).call(this,n("c8ba"))},db72:function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var r=n("a4bb"),i=n.n(r),o=n("e265"),s=n.n(o),a=n("268f"),c=n.n(a),u=n("5e83"),l=n.n(u),f=n("d847"),h=n.n(f),d=n("85f2"),p=n.n(d),g=n("bd86");function v(t,e){var n=i()(t);if(s.a){var r=s()(t);e&&(r=r.filter((function(e){return c()(t,e).enumerable}))),n.push.apply(n,r)}return n}function y(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?v(Object(n),!0).forEach((function(e){Object(g["a"])(t,e,n[e])})):l.a?h()(t,l()(n)):v(Object(n)).forEach((function(e){p()(t,e,c()(n,e))}))}return t}},db97:function(t,e,n){var r=n("5ca1");r(r.S,"Object",{is:n("83a1")})},db9a:function(t,e,n){var r=n("5ca1");r(r.P+r.R,"Set",{toJSON:n("44b8")("Set")})},dbdb:function(t,e,n){var r=n("584a"),i=n("e53d"),o="__core-js_shared__",s=i[o]||(i[o]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("b8e3")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},dc62:function(t,e,n){n("9427");var r=n("584a").Object;t.exports=function(t,e){return r.create(t,e)}},dcbc:function(t,e,n){var r=n("2aba");t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},dd8a:function(t,e,n){n("28e4")("Set")},df1b:function(t,e,n){var r=n("5ca1"),i=n("d8e8"),o=n("cb7c"),s=(n("7726").Reflect||{}).apply,a=Function.apply;r(r.S+r.F*!n("79e5")((function(){s((function(){}))})),"Reflect",{apply:function(t,e,n){var r=i(t),c=o(n);return s?s(r,e,c):a.call(r,e,c)}})},df7c:function(t,e,n){(function(t){function n(t,e){for(var n=0,r=t.length-1;r>=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t){"string"!==typeof t&&(t+="");var e,n=0,r=-1,i=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!i){n=e+1;break}}else-1===r&&(i=!1,r=e+1);return-1===r?"":t.slice(n,r)}function i(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r<t.length;r++)e(t[r],r,t)&&n.push(t[r]);return n}e.resolve=function(){for(var e="",r=!1,o=arguments.length-1;o>=-1&&!r;o--){var s=o>=0?arguments[o]:t.cwd();if("string"!==typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(e=s+"/"+e,r="/"===s.charAt(0))}return e=n(i(e.split("/"),(function(t){return!!t})),!r).join("/"),(r?"/":"")+e||"."},e.normalize=function(t){var r=e.isAbsolute(t),s="/"===o(t,-1);return t=n(i(t.split("/"),(function(t){return!!t})),!r).join("/"),t||r||(t="."),t&&s&&(t+="/"),(r?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(i(t,(function(t,e){if("string"!==typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e<t.length;e++)if(""!==t[e])break;for(var n=t.length-1;n>=0;n--)if(""!==t[n])break;return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var i=r(t.split("/")),o=r(n.split("/")),s=Math.min(i.length,o.length),a=s,c=0;c<s;c++)if(i[c]!==o[c]){a=c;break}var u=[];for(c=a;c<i.length;c++)u.push("..");return u=u.concat(o.slice(a)),u.join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!==typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,r=-1,i=!0,o=t.length-1;o>=1;--o)if(e=t.charCodeAt(o),47===e){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},e.basename=function(t,e){var n=r(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!==typeof t&&(t+="");for(var e=-1,n=0,r=-1,i=!0,o=0,s=t.length-1;s>=0;--s){var a=t.charCodeAt(s);if(47!==a)-1===r&&(i=!1,r=s+1),46===a?-1===e?e=s:1!==o&&(o=1):-1!==e&&(o=-1);else if(!i){n=s+1;break}}return-1===e||-1===r||0===o||1===o&&e===r-1&&e===n+1?"":t.slice(e,r)};var o="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n("4362"))},dfaf:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={icon:String,size:String,center:Boolean,isLink:Boolean,required:Boolean,iconPrefix:String,titleStyle:null,titleClass:null,valueClass:null,labelClass:null,title:[Number,String],value:[Number,String],label:[Number,String],arrowDirection:String,border:{type:Boolean,default:!0},clickable:{type:Boolean,default:null}}},e017:function(t,e,n){(function(e){(function(e,n){t.exports=n()})(0,(function(){"use strict";var t=function(t){var e=t.id,n=t.viewBox,r=t.content;this.id=e,this.viewBox=n,this.content=r};t.prototype.stringify=function(){return this.content},t.prototype.toString=function(){return this.stringify()},t.prototype.destroy=function(){var t=this;["id","viewBox","content"].forEach((function(e){return delete t[e]}))};var n=function(t){var e=!!document.importNode,n=(new DOMParser).parseFromString(t,"image/svg+xml").documentElement;return e?document.importNode(n,!0):n};"undefined"!==typeof window?window:"undefined"!==typeof e||"undefined"!==typeof self&&self;function r(t,e){return e={exports:{}},t(e,e.exports),e.exports}var i=r((function(t,e){(function(e,n){t.exports=n()})(0,(function(){function t(t){var e=t&&"object"===typeof t;return e&&"[object RegExp]"!==Object.prototype.toString.call(t)&&"[object Date]"!==Object.prototype.toString.call(t)}function e(t){return Array.isArray(t)?[]:{}}function n(n,r){var i=r&&!0===r.clone;return i&&t(n)?o(e(n),n,r):n}function r(e,r,i){var s=e.slice();return r.forEach((function(r,a){"undefined"===typeof s[a]?s[a]=n(r,i):t(r)?s[a]=o(e[a],r,i):-1===e.indexOf(r)&&s.push(n(r,i))})),s}function i(e,r,i){var s={};return t(e)&&Object.keys(e).forEach((function(t){s[t]=n(e[t],i)})),Object.keys(r).forEach((function(a){t(r[a])&&e[a]?s[a]=o(e[a],r[a],i):s[a]=n(r[a],i)})),s}function o(t,e,o){var s=Array.isArray(e),a=o||{arrayMerge:r},c=a.arrayMerge||r;return s?Array.isArray(t)?c(t,e,o):n(e,o):i(t,e,o)}return o.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,n){return o(t,n,e)}))},o}))})),o=r((function(t,e){var n={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}};e.default=n,t.exports=e.default})),s=function(t){return Object.keys(t).map((function(e){var n=t[e].toString().replace(/"/g,""");return e+'="'+n+'"'})).join(" ")},a=o.svg,c=o.xlink,u={};u[a.name]=a.uri,u[c.name]=c.uri;var l=function(t,e){void 0===t&&(t="");var n=i(u,e||{}),r=s(n);return"<svg "+r+">"+t+"</svg>"},f=function(t){function e(){t.apply(this,arguments)}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var r={isMounted:{}};return r.isMounted.get=function(){return!!this.node},e.createFromExistingNode=function(t){return new e({id:t.getAttribute("id"),viewBox:t.getAttribute("viewBox"),content:t.outerHTML})},e.prototype.destroy=function(){this.isMounted&&this.unmount(),t.prototype.destroy.call(this)},e.prototype.mount=function(t){if(this.isMounted)return this.node;var e="string"===typeof t?document.querySelector(t):t,n=this.render();return this.node=n,e.appendChild(n),n},e.prototype.render=function(){var t=this.stringify();return n(l(t)).childNodes[0]},e.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(e.prototype,r),e}(t);return f}))}).call(this,n("c8ba"))},e099:function(t,e,n){"use strict";var r=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,e,n,a){return e=e||"&",n=n||"=",null===t&&(t=void 0),"object"===typeof t?o(s(t),(function(s){var a=encodeURIComponent(r(s))+n;return i(t[s])?o(t[s],(function(t){return a+encodeURIComponent(r(t))})).join(e):a+encodeURIComponent(r(t[s]))})).join(e):a?encodeURIComponent(r(a))+n+encodeURIComponent(r(t)):""};var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function o(t,e){if(t.map)return t.map(e);for(var n=[],r=0;r<t.length;r++)n.push(e(t[r],r));return n}var s=Object.keys||function(t){var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push(n);return e}},e0b8:function(t,e,n){"use strict";var r=n("7726"),i=n("5ca1"),o=n("2aba"),s=n("dcbc"),a=n("67ab"),c=n("4a59"),u=n("f605"),l=n("d3f4"),f=n("79e5"),h=n("5cc5"),d=n("7f20"),p=n("5dbc");t.exports=function(t,e,n,g,v,y){var m=r[t],I=m,M=v?"set":"add",b=I&&I.prototype,_={},A=function(t){var e=b[t];o(b,t,"delete"==t||"has"==t?function(t){return!(y&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof I&&(y||b.forEach&&!f((function(){(new I).entries().next()})))){var C=new I,T=C[M](y?{}:-0,1)!=C,E=f((function(){C.has(1)})),w=h((function(t){new I(t)})),N=!y&&f((function(){var t=new I,e=5;while(e--)t[M](e,e);return!t.has(-0)}));w||(I=e((function(e,n){u(e,I,t);var r=p(new m,e,I);return void 0!=n&&c(n,v,r[M],r),r})),I.prototype=b,b.constructor=I),(E||N)&&(A("delete"),A("has"),v&&A("get")),(N||T)&&A(M),y&&b.clear&&delete b.clear}else I=g.getConstructor(e,t,v,M),s(I.prototype,n),a.NEED=!0;return d(I,t),_[t]=I,i(i.G+i.W+i.F*(I!=m),_),y||g.setStrong(I,t,v),I}},e11c:function(t,e,n){"use strict";n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return Et})),n.d(e,"e",(function(){return bt})),n.d(e,"h",(function(){return ge})),n.d(e,"k",(function(){return wt})),n.d(e,"l",(function(){return Ct})),n.d(e,"m",(function(){return q})),n.d(e,"n",(function(){return V})),n.d(e,"o",(function(){return ft})),n.d(e,"p",(function(){return ut})),n.d(e,"q",(function(){return rt})),n.d(e,"r",(function(){return he})),n.d(e,"s",(function(){return it})),n.d(e,"t",(function(){return ot})),n.d(e,"u",(function(){return K})),n.d(e,"v",(function(){return ce})),n.d(e,"w",(function(){return Z})),n.d(e,"x",(function(){return at})),n.d(e,"y",(function(){return lt})),n.d(e,"z",(function(){return W})),n.d(e,"B",(function(){return fe})),n.d(e,"C",(function(){return pe})),n.d(e,"D",(function(){return st})),n.d(e,"E",(function(){return Q})),n.d(e,"F",(function(){return ct})),n.d(e,"G",(function(){return se})),n.d(e,"H",(function(){return ae})),n.d(e,"I",(function(){return ie})),n.d(e,"J",(function(){return ue})),n.d(e,"K",(function(){return le})),n.d(e,"L",(function(){return de})),n.d(e,"M",(function(){return pt})),n.d(e,"N",(function(){return gt})),n.d(e,"O",(function(){return vt}));var r=n("903e");n.d(e,"a",(function(){return r["c"]})),n.d(e,"b",(function(){return r["d"]})),n.d(e,"f",(function(){return r["j"]})),n.d(e,"g",(function(){return r["k"]})),n.d(e,"i",(function(){return r["o"]})),n.d(e,"j",(function(){return r["p"]}));var i=function(){return i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},i.apply(this,arguments)};function o(t,e,n,r){return new(n||(n=Promise))((function(i,o){function s(t){try{c(r.next(t))}catch(t){o(t)}}function a(t){try{c(r.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}c((r=r.apply(t,e||[])).next())}))}function s(t,e){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(i=s.trys,!((i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=e.call(t,s)}catch(t){a=[6,t],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}var a,c,u=function(){return!("undefined"==typeof uni||!function(t){for(var e=["request","getSystemInfo"],n=0,r=e.length;n<r;n++)if(!t[e[n]])return!1;return!0}(uni))},l=u(),f={tag:"browser",httpReq:function(t){var e=t.method||r["h"].GET,n=t.timeout||r["g"],i=t.headers,o=t.query,s=t.body,a=Object(r["t"])(t.url,o);return new Promise((function(t){var r,o=(r="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,"undefined"!=typeof XMLHttpRequest&&r?new XMLHttpRequest:"undefined"!=typeof XDomainRequest?new XDomainRequest:new ActiveXObject("Microsoft.XMLHTTP")),c="[object XDomainRequest]"===Object.prototype.toString.call(o);if(o.open(e,a),i&&o.setRequestHeader)for(var u in i)o.setRequestHeader(u,i[u]);if(c){o.timeout=n,o.onload=function(){t({data:o.responseText,status:o.status||200})},o.onerror=function(){t({status:o.status||0})},o.ontimeout=function(){t({status:o.status||0})};var l="object"==typeof s?JSON.stringify(s):s;o.send(l)}else o.onreadystatechange=function(){4===o.readyState&&t({data:o.responseText,status:o.status})},o.onerror=function(){t({status:o.status||0})},setTimeout((function(){o.abort(),t({status:o.status||0})}),n),o.send(s)}))},localStorage:null===window||void 0===window?void 0:window.localStorage,sessionStorage:null===window||void 0===window?void 0:window.sessionStorage,useNavi:!0,connectPlatform:"",isFromUniapp:l,createWebSocket:function(t,e){var n=new WebSocket(t,e);return n.binaryType="arraybuffer",{onClose:function(t){n.onclose=function(e){var n=e.code,r=e.reason;t(n,r)}},onError:function(t){n.onerror=t},onMessage:function(t){n.onmessage=function(e){t(e.data)}},onOpen:function(t){n.onopen=t},send:function(t){n.send(t)},close:function(t,e){n.close()}}},getNetworkType:function(){var t=navigator.connection||navigator.mozConnection||navigator.webkitConnection,e=t.type,n=t.effectiveType,i=e||n||r["m"].UNKONWN;return new Promise((function(t){t(i)}))}},h=u(),d=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return wx[t].apply(wx,e)}catch(t){null===console||void 0===console||console.error(t)}}},p={setItem:d("setStorageSync"),getItem:d("getStorageSync"),removeItem:d("removeStorageSync"),clear:d("clearStorageSync")},g={tag:"wechat",httpReq:function(t){var e=t.method||r["h"].GET,n=t.timeout||r["g"],i=t.headers,o=t.query,s=t.body,a=Object(r["t"])(t.url,o);return new Promise((function(t){wx.request({url:a,method:e,header:i,timeout:n,data:s,success:function(e){t({data:e.data,status:e.statusCode})},fail:function(){t({status:r["d"].RC_HTTP_REQ_FAIL})}})}))},localStorage:p,sessionStorage:p,useNavi:!1,connectPlatform:"MiniProgram",isFromUniapp:h,createWebSocket:function(t,e){var n=wx.connectSocket({url:t,protocols:e});return{onClose:function(t){n.onClose((function(e){t(e.code,e.reason)}))},onError:function(t){n.onError((function(e){t(e.errMsg)}))},onMessage:function(t){n.onMessage((function(e){t(e.data)}))},onOpen:function(t){n.onOpen(t)},send:function(t){n.send({data:t})},close:function(t,e){n.close({code:t,reason:e})}}},getNetworkType:function(){return new Promise((function(t){wx.getNetworkType({success:function(e){var n=e.networkType;t(n)},fail:function(){t(r["m"].UNKONWN)}})}))}},v=u(),y=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{if("setStorageSync"===t)return my[t]({key:e[0],data:JSON.parse(e[1])});if("clearStorageSync"===t)return my[t]();if("removeStorageSync"===t)return my[t]({key:e[0]});var r=my[t]({key:e[0]}).data;return r?JSON.stringify(r):r}catch(t){}}},m={setItem:y("setStorageSync"),getItem:y("getStorageSync"),removeItem:y("removeStorageSync"),clear:y("clearStorageSync")},I={tag:"alipay",httpReq:function(t){var e=t.method||r["h"].GET,n=t.timeout||r["g"],i=t.headers,o=t.query,s=t.body,a=Object(r["t"])(t.url,o),c=t.dataType||"json";return new Promise((function(t){my.request({url:a,method:e,headers:i,timeout:n,data:s,dataType:c,success:function(e){t({data:e.data,status:e.status})},fail:function(){t({status:r["d"].RC_HTTP_REQ_FAIL})}})}))},localStorage:m,sessionStorage:m,useNavi:!1,connectPlatform:"MiniProgram",isFromUniapp:v,createWebSocket:function(t){return my.connectSocket({url:t}),{onClose:function(t){my.onSocketClose(t)},onError:function(t){my.onSocketError((function(e){t(e.errMsg)}))},onMessage:function(t){my.onSocketMessage((function(e){e.isBuffer?t(my.base64ToArrayBuffer(e.data)):t(e.data)}))},onOpen:function(t){my.onSocketOpen(t)},send:function(t){my.sendSocketMessage({data:my.arrayBufferToBase64(t),isBuffer:!0})},close:function(){my.closeSocket()}}},getNetworkType:function(){return new Promise((function(t){my.getNetworkType({success:function(e){var n=e.networkType;t(n)},fail:function(){t(r["m"].UNKONWN)}})}))}},M=u(),b=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return tt[t].apply(tt,e)}catch(t){}}},_={setItem:b("setStorageSync"),getItem:b("getStorageSync"),removeItem:b("removeStorageSync"),clear:b("clearStorageSync")},A={tag:"toutiao",useNavi:!1,connectPlatform:"MiniProgram",isFromUniapp:M,localStorage:_,sessionStorage:_,httpReq:function(t){return new Promise((function(e){tt.request({url:t.url,data:t.body,header:t.headers,method:t.method,success:function(t){var n=(null==t?void 0:t.data)||{},r={data:JSON.stringify(n),status:t.statusCode};e(r)},fail:function(t){e({status:r["d"].RC_HTTP_REQ_FAIL})}})}))},createWebSocket:function(t,e){var n=tt.connectSocket({url:t,protocols:e});return{onOpen:function(t){n.onOpen(t)},onClose:function(t){n.onClose((function(e){return t(e.code,e.reason)}))},onError:function(t){n.onError((function(e){return t(e.errMsg)}))},onMessage:function(t){n.onMessage((function(e){return t(e.data)}))},send:function(t){n.send({data:t})},close:function(t,e){n.close({code:t,reason:e})}}},getNetworkType:function(){return new Promise((function(t){tt.getNetworkType({success:function(e){var n=e.networkType;t(n)},fail:function(){t(r["m"].UNKONWN)}})}))}},C=u(),T=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return swan[t].apply(swan,e)}catch(t){}}},E={setItem:T("setStorageSync"),getItem:T("getStorageSync"),removeItem:T("removeStorageSync"),clear:T("clearStorageSync")},w={tag:"baidu",useNavi:!1,connectPlatform:"MiniProgram",isFromUniapp:C,localStorage:E,sessionStorage:E,httpReq:function(t){return new Promise((function(e,n){swan.request({url:t.url,data:t.body,header:t.headers,method:t.method,success:function(t){var n=(null==t?void 0:t.data)||{},r={data:JSON.stringify(n),status:t.statusCode};e(r)},fail:function(t){e({status:r["d"].RC_HTTP_REQ_FAIL})}})}))},createWebSocket:function(t,e){var n=swan.connectSocket({url:t,protocols:e});return{onOpen:function(t){n.onOpen(t)},onClose:function(t){n.onClose((function(e){return t(e.code,e.reason)}))},onError:function(t){n.onError((function(e){return t(e.errMsg)}))},onMessage:function(t){n.onMessage((function(e){return t(e.data)}))},send:function(t){n.send({data:t})},close:function(t,e){n.close({code:t,reason:e})}}},getNetworkType:function(){return o(this,void 0,void 0,(function(){return s(this,(function(t){return[2,new Promise((function(t){swan.getNetworkType({success:function(e){var n=e.networkType;t(n)},fail:function(){t(r["m"].UNKONWN)}})}))]}))}))}},N=u(),S=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return jd[t].apply(jd,e)}catch(t){null===console||void 0===console||console.error(t)}}},O={setItem:S("setStorageSync"),getItem:S("getStorageSync"),removeItem:S("removeStorageSync"),clear:S("clearStorageSync")},D={tag:"jingdong",httpReq:function(t){var e=t.method||r["h"].GET,n=t.timeout||r["g"],i=t.headers,o=t.query,s=t.body,a=Object(r["t"])(t.url,o);return new Promise((function(t){jd.request({url:a,method:e,headers:i,timeout:n,data:s,success:function(e){t({data:e.data,status:e.statusCode})},fail:function(){t({status:r["d"].RC_HTTP_REQ_FAIL})}})}))},localStorage:O,sessionStorage:O,useNavi:!1,connectPlatform:"MiniProgram",isFromUniapp:N,createWebSocket:function(t,e){return jd.connectSocket({url:t,protocols:e}),{onClose:function(t){jd.onSocketClose((function(e){t(e.code,e.reason)}))},onError:function(t){jd.onSocketError((function(e){t(e.errMsg)}))},onMessage:function(t){jd.onSocketMessage((function(e){t(e.data)}))},onOpen:function(t){jd.onSocketOpen(t)},send:function(t){jd.sendSocketMessage({data:t})},close:function(t,e){jd.closeSocket({code:t,reason:e})}}},getNetworkType:function(){return new Promise((function(t){jd.getNetworkType({success:function(e){var n=e.networkType;t(n)},fail:function(){t(r["m"].UNKONWN)}})}))}},R=function(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];try{return uni[t].apply(uni,e)}catch(t){null===console||void 0===console||console.error(t)}}},L={setItem:R("setStorageSync"),getItem:R("getStorageSync"),removeItem:R("removeStorageSync"),clear:R("clearStorageSync")},x={tag:"uniapp",httpReq:function(t){var e=t.method||r["h"].GET,n=t.timeout||r["g"],i=t.headers,o=t.query,s=t.body,a=Object(r["t"])(t.url,o);return new Promise((function(t){uni.request({url:a,method:e,header:i,timeout:n,data:s,success:function(e){t({data:e.data,status:e.statusCode})},fail:function(){t({status:r["d"].RC_HTTP_REQ_FAIL})}})}))},localStorage:L,sessionStorage:L,useNavi:!0,connectPlatform:"",isFromUniapp:!0,createWebSocket:function(t,e){var n={complete:function(){},url:t,protocols:e},r=uni.connectSocket(n);return{onClose:function(t){r.onClose((function(e){t(e.code,e.reason)}))},onError:function(t){r.onError((function(e){t(e.errMsg)}))},onMessage:function(t){r.onMessage((function(e){t(e.data)}))},onOpen:function(t){r.onOpen(t)},send:function(t){r.send({data:t})},close:function(t,e){r.close({code:t,reason:e})}}},getNetworkType:function(){return new Promise((function(t){uni.getNetworkType({success:function(e){var n=e.networkType;t(n)},fail:function(){t(r["m"].UNKONWN)}})}))}},j=function(t){return t&&t.request&&t.getSystemInfo},k="undefined"!=typeof uni&&j(uni)?function(){switch(Object({VUE_APP_BASE_API:"api",NODE_ENV:"production",BASE_URL:""}).VUE_APP_PLATFORM){case"app-plus":return x;case"mp-jd":return D;case"mp-baidu":return w;case"mp-toutiao":return A;case"mp-alipay":return I;case"mp-weixin":return g;default:return f}}():"undefined"!=typeof jd&&j(jd)?D:"undefined"!=typeof my&&j(my)?I:"undefined"!=typeof tt&&j(tt)?A:"undefined"!=typeof swan&&j(swan)?w:"undefined"!=typeof wx&&j(wx)?g:f;function P(t){var e=t.conversationType,n=t.channelId,i=t.messageType,o=t.content,s=t.senderUserId,a=t.targetId,c=t.sentTime,u=t.receivedTime,l=t.messageUId,f=t.messageDirection,h=t.isPersited,d=t.isCounted,p=t.isOffLineMessage,g=t.canIncludeExpansion,v=t.expansion,y=t.receivedStatus,m=t.disableNotification,I=t.isMentioned,M=t.isStatusMessage,b=t.readReceiptInfo,_=t.pushConfig,A=t.messageId,C=t.isInterrupt,T=t.isModifyMessage,E=t.channelType,w=t.sentStatus;y||(y=r["p"].UNREAD);var N={messageType:i,channelId:n||"",content:o,senderUserId:s,targetId:a,conversationType:e,sentTime:c,receivedTime:u,messageUId:l,messageDirection:f,isPersited:h,isCounted:d,isMentioned:I,disableNotification:m,isStatusMessage:M,canIncludeExpansion:g,expansion:v,receivedStatus:y,readReceiptInfo:b,pushConfig:_,messageId:A,isInterrupt:C,isModifyMessage:T,sentStatus:w};return e!==r["c"].ULTRA_GROUP&&(N.isOffLineMessage=p),e===r["c"].ULTRA_GROUP&&Object(r["z"])(E)&&(N.channelType=E),N}function U(t){var e=t.conversationType,n=t.targetId,r=t.latestMessage,i=t.unreadMessageCount,o=t.hasMentioned,s=t.mentionedInfo,a=t.lastUnreadTime,c=t.notificationStatus,u=t.notificationLevel,l=t.isTop,f=t.channelId,h=t.unreadMentionedCount;return{conversationType:e,targetId:n,latestMessage:r&&P(r),unreadMessageCount:i,hasMentioned:o,mentionedInfo:o?{type:null==s?void 0:s.type,userIdList:null==s?void 0:s.userIdList}:void 0,lastUnreadTime:a,notificationStatus:c,notificationLevel:u,isTop:l,channelId:f,unreadMentionedCount:h}}!function(t){t.CONNECTING="CONNECTING",t.CONNECTED="CONNECTED",t.DISCONNECT="DISCONNECT",t.SUSPEND="SUSPEND",t.MESSAGES="MESSAGES",t.READ_RECEIPT_RECEIVED="READ_RECEIPT_RECEIVED",t.MESSAGE_RECEIPT_REQUEST="MESSAGE_RECEIPT_REQUEST",t.MESSAGE_RECEIPT_RESPONSE="MESSAGE_RECEIPT_RESPONSE",t.CONVERSATION="CONVERSATION",t.CHATROOM="CHATROOM",t.EXPANSION="EXPANSION",t.PULL_OFFLINE_MESSAGE_FINISHED="PULL_OFFLINE_MESSAGE_FINISHED",t.TAG="TAG",t.CONVERSATION_TAG="CONVERSATION_TAG",t.TYPING_STATUS="TYPING_STATUS",t.MESSAGE_BLOCKED="MESSAGE_BLOCKED",t.ULTRA_GROUP_ENABLE="ULTRA_GROUP_ENABLE",t.OPERATE_STATUS="OPERATE_STATUS",t.ULTRA_GROUP_MESSAGE_EXPANSION_UPDATED="ULTRA_GROUP_MESSAGE_EXPANSION_UPDATED",t.ULTRA_GROUP_MESSAGE_MODIFIED="ULTRA_GROUP_MESSAGE_MODIFIED",t.ULTRA_GROUP_MESSAGE_RECALLED="ULTRA_GROUP_MESSAGE_RECALLED",t.ULTRA_GROUP_CHANNEL_TYPE_CHANGE="ULTRA_GROUP_CHANNEL_TYPE_CHANGE",t.ULTRA_GROUP_CHANNEL_DELETE="ULTRA_GROUP_CHANNEL_DELETE",t.ULTRA_GROUP_CHANNEL_USER_KICKED="ULTRA_GROUP_CHANNEL_USER_KICKED",t.PRIVATE_MESSAGE_DELIVERED="PRIVATE_MESSAGE_DELIVERED",t.GROUP_MESSAGE_DELIVERED="GROUP_MESSAGE_DELIVERED"}(a||(a={})),function(t){t[t.SENDING=10]="SENDING",t[t.FAILED=20]="FAILED",t[t.SENT=30]="SENT",t[t.RECEIVED=40]="RECEIVED",t[t.READ=50]="READ",t[t.DESTROYED=60]="DESTROYED"}(c||(c={}));var z=new r["e"],G={onConnecting:function(){z.emit(a.CONNECTING)},onConnected:function(){z.emit(a.CONNECTED)},onDisconnect:function(t){z.emit(a.DISCONNECT,t)},onSuspend:function(t){z.emit(a.SUSPEND,t)},batchMessage:function(t){z.emit(a.MESSAGES,{messages:t.map((function(t){return P(t)}))})},typingState:function(t){z.emit(a.TYPING_STATUS,{status:t})},readReceiptReceived:function(t,e,n){z.emit(a.READ_RECEIPT_RECEIVED,{conversation:t,messageUId:e,sentTime:n})},messageReceiptRequest:function(t,e,n){z.emit(a.MESSAGE_RECEIPT_REQUEST,{conversation:t,messageUId:e,senderUserId:n})},messageReceiptResponse:function(t,e,n){z.emit(a.MESSAGE_RECEIPT_RESPONSE,{conversation:t,receivedUserId:e,messageUIdList:n})},conversationState:function(t){var e=t.map((function(t){var e=t.conversationType,n={conversationType:e,latestMessage:t.latestMessage?P(t.latestMessage):null,targetId:t.targetId,unreadMessageCount:t.unreadMessageCount,unreadMentionedCount:t.unreadMentionedCount,notificationStatus:t.notificationStatus,notificationLevel:t.notificationLevel,lastUnreadTime:t.lastUnreadTime,channelId:t.channelId};return e===r["c"].ULTRA_GROUP?(n.versionTime=t.versionTime,{conversation:n}):(n.hasMentioned=t.hasMentioned,n.mentionedInfo=t.mentionedInfo,n.isTop=t.isTop,{conversation:n,updatedItems:t.updatedItems})}));z.emit(a.CONVERSATION,{conversationList:e})},chatroomState:function(t){z.emit(a.CHATROOM,t)},expansion:function(t){z.emit(a.EXPANSION,t)},pullFinished:function(){z.emit(a.PULL_OFFLINE_MESSAGE_FINISHED)},tag:function(){z.emit(a.TAG)},conversationTagChanged:function(){z.emit(a.CONVERSATION_TAG)},messageBlocked:function(t){z.emit(a.MESSAGE_BLOCKED,t)},messageDelivered:function(t){z.emit(a.PRIVATE_MESSAGE_DELIVERED,t)},groupMessageDeliveredStatus:function(t){z.emit(a.GROUP_MESSAGE_DELIVERED,t)},ultraGroupEnable:function(t){z.emit(a.ULTRA_GROUP_ENABLE,t)},operateStatus:function(t){z.emit(a.OPERATE_STATUS,t)},ultraGroupMessageExpansionUpdated:function(t){z.emit(a.ULTRA_GROUP_MESSAGE_EXPANSION_UPDATED,t)},ultraGroupMessageModified:function(t){z.emit(a.ULTRA_GROUP_MESSAGE_MODIFIED,t)},ultraGroupMessageRecalled:function(t){z.emit(a.ULTRA_GROUP_MESSAGE_RECALLED,t)},ultraGroupChannelChangeType:function(t){z.emit(a.ULTRA_GROUP_CHANNEL_TYPE_CHANGE,t)},ultraGroupChannelUserKicked:function(t){z.emit(a.ULTRA_GROUP_CHANNEL_USER_KICKED,t)},ultraGroupChannelDelete:function(t){z.emit(a.ULTRA_GROUP_CHANNEL_DELETE,t)}};r["s"].add("imlib-next","5.6.1");var B=null,Y=null,F=null;function $(t){if(!B)throw new Error("Not initialized yet!");return t(B,F,Y)}function H(t){return B?t(B,F,Y):Promise.resolve({code:r["d"].BIZ_ERROR_CLIENT_NOT_INIT})}function V(t,e,n){z.on(t,e,n)}function Q(t,e,n){z.off(t,e,n)}function W(t){!function(t){var e=t.appkey,n=t.navigators;B?F.warn(r["i"].A_INIT_REPEAT_O):(Object(r["u"])("options.appkey",t.appkey,r["b"].STRING,!0),Object(r["u"])("options.navigators",t.navigators,(function(t){return Object(r["w"])(t)&&(0===t.length||t.every(r["y"]))})),Y=t,B=r["a"].init(k,{appkey:t.appkey,apiVersion:"5.6.1",navigators:t.navigators||[],miniCMPProxy:t.customCMP||[],logOutputLevel:t.logOutputLevel,__reportLogLevel:t.__reportLogLevel,checkCA:t.checkCA,httpInMainProcess:!!t.httpInMainProcess,logExpireTime:t.logExpireTime}),(F=B.createLogger("RC-IM","IM")).setOutputLevel(t.logOutputLevel),F.info(r["i"].A_INIT_O,JSON.stringify({appkey:e,navigators:n,version:"5.6.1",commit:"530541cfdb452c4336fef8ab544c0f14e4445d32"})),B.assignWatcher(G))}(t)}function Z(){return $((function(t){return t.getServerTime()}))}function K(){return $((function(t){return t.getCurrentUserId()}))}function q(t,e){r["s"].add(t,e)}var J={TIMEOUT:{code:-1,msg:"Network timeout"},SDK_INTERNAL_ERROR:{code:-2,msg:"SDK internal error"},PARAMETER_ERROR:{code:-3,msg:"Please check the parameters, the {param} expected a value of {expect} but received {current}"},REJECTED_BY_BLACKLIST:{code:405,msg:"Blacklisted by the other party"},SEND_TOO_FAST:{code:20604,msg:"Sending messages too quickly"},NOT_IN_GROUP:{code:22406,msg:"Not in group"},ULTRA_GROUP_USER_NOT_IN_PRIVATE_CHANNEL:{code:r["d"].ULTRA_GROUP_USER_NOT_IN_PRIVATE_CHANNEL,msg:"ultra group user not in private channel"},FORBIDDEN_IN_GROUP:{code:22408,msg:"Forbbiden from speaking in the group"},NOT_IN_CHATROOM:{code:23406,msg:"Not in chatRoom"},FORBIDDEN_IN_CHATROOM:{code:23408,msg:"Forbbiden from speaking in the chatRoom"},KICKED_FROM_CHATROOM:{code:23409,msg:"Kicked out and forbbiden from joining the chatRoom"},CHATROOM_NOT_EXIST:{code:23410,msg:"ChatRoom does not exist"},CHATROOM_IS_FULL:{code:23411,msg:"ChatRoom members exceeded"},PARAMETER_INVALID_CHATROOM:{code:23412,msg:"Invalid chatRoom parameters"},ROAMING_SERVICE_UNAVAILABLE_CHATROOM:{code:23414,msg:"ChatRoom message roaming service is not open, Please go to the developer to open this service"},RECALLMESSAGE_PARAMETER_INVALID:{code:25101,msg:"Invalid recall message parameter"},ROAMING_SERVICE_UNAVAILABLE_MESSAGE:{code:25102,msg:"Single group chat roaming service is not open, Please go to the developer to open this service"},PUSHSETTING_PARAMETER_INVALID:{code:26001,msg:"Invalid push parameter"},OPERATION_BLOCKED:{code:20605,msg:"Operation is blocked"},OPERATION_NOT_SUPPORT:{code:20606,msg:"Operation is not supported"},MSG_BLOCKED_SENSITIVE_WORD:{code:21501,msg:"The sent message contains sensitive words"},REPLACED_SENSITIVE_WORD:{code:21502,msg:"Sensitive words in the message have been replaced"},NOT_CONNECTED:{code:30001,msg:"Please connect successfully first"},NAVI_REQUEST_ERROR:{code:30007,msg:"Navigation http request failed"},CMP_REQUEST_ERROR:{code:30010,msg:"CMP sniff http request failed"},CONN_APPKEY_FAKE:{code:31002,msg:"Your appkey is fake"},CONN_MINI_SERVICE_NOT_OPEN:{code:31003,msg:"Mini program service is not open, Please go to the developer to open this service"},CONN_ACK_TIMEOUT:{code:31e3,msg:"Connection ACK timeout"},CONN_TOKEN_INCORRECT:{code:31004,msg:"Your token is not valid or expired"},CONN_NOT_AUTHRORIZED:{code:31005,msg:"AppKey and Token do not match"},CONN_REDIRECTED:{code:31006,msg:"Connection redirection"},CONN_APP_BLOCKED_OR_DELETED:{code:31008,msg:"AppKey is banned or deleted"},CONN_USER_BLOCKED:{code:31009,msg:"User blocked"},CONN_DOMAIN_INCORRECT:{code:31012,msg:"Connect domain error, Please check the set security domain"},ROAMING_SERVICE_UNAVAILABLE:{code:33007,msg:"Roaming service cloud is not open, Please go to the developer to open this service"},RC_CONNECTION_EXIST:{code:34001,msg:"Connection already exists"},CHATROOM_KV_EXCEED:{code:23423,msg:"ChatRoom KV setting exceeds maximum"},CHATROOM_KV_OVERWRITE_INVALID:{code:23424,msg:"ChatRoom KV already exists"},CHATROOM_KV_STORE_NOT_OPEN:{code:23426,msg:"ChatRoom KV storage service is not open, Please go to the developer to open this service"},CHATROOM_KEY_NOT_EXIST:{code:23427,msg:"ChatRoom key does not exist"},MSG_KV_NOT_SUPPORT:{code:34008,msg:"The message cannot be extended"},SEND_MESSAGE_KV_FAIL:{code:34009,msg:"Sending RC expansion message fail"},EXPANSION_LIMIT_EXCEET:{code:34010,msg:"The message expansion size is beyond the limit"},ILLGAL_PARAMS:{code:33003,msg:"Incorrect parameters passed in while calling the interface"},UPLOAD_FILE_FAILED:{code:35020,msg:"File upload failed"},CHATROOM_KV_STORE_NOT_ALL_SUCCESS:{code:23428,msg:"Chatroom kv store not all success"},CHATROOM_KV_STORE_OUT_LIMIT:{code:23429,msg:"Chatroom kv's length is out of limit"},TAG_EXISTS:{code:33101,msg:"The tag already exists"},TAG_NOT_EXIST:{code:33100,msg:"The tag does not exist"},NOT_SUPPORT:{code:r["d"].NOT_SUPPORT,msg:"The method is not supported in a browser!"}},X={};for(var et in J){var nt=J[et].code;X[nt]=et}function rt(t,e){return o(this,void 0,void 0,(function(){var n=this;return s(this,(function(i){return[2,H((function(i,a){return o(n,void 0,void 0,(function(){var n,o,c;return s(this,(function(s){switch(s.label){case 0:return Object(r["K"])("token",t,r["b"].STRING,!0)&&Object(r["K"])("reconnectKickEnable",e,r["b"].BOOLEAN)?(n=a.createTraceId(),a.info(r["i"].A_CONNECT_T,JSON.stringify({token:t,reconnectKickEnable:e}),n),[4,i.connect(t,!1,e,n)]):[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}];case 1:return o=s.sent(),c=o.code===r["d"].SUCCESS?"info":"warn",a[c](r["i"].A_CONNECT_R,JSON.stringify({code:o.code,userId:o.userId}),n),o.code===r["d"].SUCCESS?[2,{code:o.code,data:{userId:o.userId}}]:[2,{code:o.code,msg:X[o.code]}]}}))}))}))]}))}))}function it(){return r["G"].info(r["i"].A_DISCONNECT_O,{}),$((function(t){return t.disconnect()}))}function ot(t,e){return o(this,void 0,void 0,(function(){var n=this;return s(this,(function(i){return Object(r["K"])("options.count",null==t?void 0:t.count,r["b"].NUMBER)&&Object(r["K"])("options.startTime",null==t?void 0:t.startTime,r["b"].NUMBER)&&Object(r["K"])("options.order",null==t?void 0:t.order,r["b"].NUMBER)&&Object(r["K"])("channelId",e,r["b"].CHANNEL_ID)?[2,H((function(i,a){return o(n,void 0,void 0,(function(){var n,o,c;return s(this,(function(s){switch(s.label){case 0:return[4,i.getConversationList(null==t?void 0:t.count,void 0,null==t?void 0:t.startTime,null==t?void 0:t.order,e)];case 1:return n=s.sent(),o=n.code,c=n.data,o===r["d"].SUCCESS&&c?[2,{code:0,data:c.map((function(t){return U(t)}))}]:(a.warn(r["i"].O,"get conversation list fail ->".concat(o,":").concat(X[o])),[2,{code:o,msg:X[o]}])}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]}))}))}function st(t){return o(this,void 0,void 0,(function(){var e=this;return s(this,(function(n){return Object(r["K"])("options",t,r["b"].CONVERSATION,!0)?[2,H((function(n,i){return o(e,void 0,void 0,(function(){var e,o;return s(this,(function(s){switch(s.label){case 0:return[4,n.removeConversation(t.conversationType,t.targetId,t.channelId)];case 1:return e=s.sent(),o="conversationType:".concat(t.conversationType,",targetId:").concat(t.targetId),i.debug(r["i"].O,"destroy conversation ->".concat(o)),e!==r["d"].SUCCESS?(i.warn(r["i"].O,"destroy conversation fail ->".concat(e,":").concat(X[e],",").concat(o)),[2,{code:e,msg:X[e]}]):[2,{code:e}]}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]}))}))}function at(t){return o(this,void 0,void 0,(function(){var e=this;return s(this,(function(n){return Object(r["K"])("options",t,r["b"].CONVERSATION,!0)?[2,H((function(n,i){return o(e,void 0,void 0,(function(){var e,o,a,c;return s(this,(function(s){switch(s.label){case 0:return[4,n.getConversationMessageDraft(t.conversationType,t.targetId,t.channelId)];case 1:return e=s.sent(),o=e.code,a=e.data,c="conversationType:".concat(t.conversationType,",targetId:").concat(t.targetId),i.debug(r["i"].O,"get draft ->".concat(c)),o===r["d"].SUCCESS?[2,{code:o,data:a||""}]:(i.warn(r["i"].O,"get draft fail ->".concat(o,":").concat(X[o],",").concat(c)),[2,{code:o,msg:X[o]}])}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]}))}))}function ct(t,e){return o(this,void 0,void 0,(function(){var n=this;return s(this,(function(i){return Object(r["K"])("options",t,r["b"].CONVERSATION,!0)&&Object(r["K"])("draft",e,r["b"].STRING,!0)?[2,H((function(i,a){return o(n,void 0,void 0,(function(){var n,o;return s(this,(function(s){switch(s.label){case 0:return n="conversationType:".concat(t.conversationType,",targetId:").concat(t.targetId),a.debug(r["i"].O,"set draft ->".concat(n)),[4,i.saveConversationMessageDraft(t.conversationType,t.targetId,e,t.channelId)];case 1:return(o=s.sent())===r["d"].SUCCESS?[2,{code:o}]:(a.warn(r["i"].O,"set draft fail ->".concat(o,":").concat(X[o],",").concat(n)),[2,{code:o,msg:X[o]}])}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]}))}))}function ut(t){return o(this,void 0,void 0,(function(){var e=this;return s(this,(function(n){return Object(r["K"])("options",t,r["b"].CONVERSATION,!0)?[2,H((function(n,i){return o(e,void 0,void 0,(function(){var e,o;return s(this,(function(s){switch(s.label){case 0:return e="conversationType:".concat(t.conversationType,",targetId:").concat(t.targetId),i.debug(r["i"].O,"delete draft ->".concat(e)),[4,n.clearConversationMessageDraft(t.conversationType,t.targetId,t.channelId)];case 1:return(o=s.sent())===r["d"].SUCCESS?[2,{code:o}]:(i.warn(r["i"].O,"delete draft fail ->".concat(o,":").concat(X[o],",").concat(e)),[2,{code:o,msg:X[o]}])}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]}))}))}function lt(t,e){return o(this,void 0,void 0,(function(){var n=this;return s(this,(function(i){return Object(r["K"])("includeMuted",t,r["b"].BOOLEAN,!1)&&Object(r["K"])("conversationTypes",e,r["b"].ARRAY,!1)&&!(null==e?void 0:e.some((function(t){return!Object(r["K"])("conversationType",t,r["D"])})))?[2,H((function(i,a){return o(n,void 0,void 0,(function(){var n,o,c;return s(this,(function(s){switch(s.label){case 0:return a.debug(r["i"].O,"get total unread count -> ConversationType:".concat(JSON.stringify(e)," includeMuted:").concat(t)),[4,i.getTotalUnreadCount("",e,t)];case 1:return n=s.sent(),o=n.code,c=n.data,o===r["d"].SUCCESS?[2,{code:o,data:c}]:(a.warn(r["i"].O,"getTotalUnreadCount fail ->".concat(o,":").concat(X[o])),[2,{code:o,msg:X[o]}])}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]}))}))}function ft(t){return o(this,void 0,void 0,(function(){var e=this;return s(this,(function(n){return Object(r["K"])("options",t,r["b"].CONVERSATION,!0)?[2,H((function(n,i){return o(e,void 0,void 0,(function(){var e,o;return s(this,(function(s){switch(s.label){case 0:return[4,n.clearUnreadCount(t.conversationType,t.targetId,t.channelId)];case 1:return e=s.sent(),o="conversationType:".concat(t.conversationType,",targetId:").concat(t.targetId),i.debug(r["i"].O,"clear unreadMsgNum ->".concat(o)),e!==r["d"].SUCCESS?(i.warn(r["i"].O,"clear unreadMsgNum fail ->".concat(e,":").concat(X[e],",").concat(o)),[2,{code:e,msg:X[e]}]):[2,{code:e}]}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]}))}))}J.ROAMING_SERVICE_UNAVAILABLE.code;var ht=function(t,e,n){void 0===n&&(n="");var i="conversationType:".concat(e.conversationType,",targetId:").concat(e.targetId);return t.debug(r["i"].O,"".concat(n," -> ").concat(i)),i},dt=function(t,e,n,i){return void 0===i&&(i=""),o(void 0,void 0,void 0,(function(){var o,a;return s(this,(function(s){switch(s.label){case 0:return o=ht(t,e,i),[4,n()];case 1:return(a=s.sent())!==r["d"].SUCCESS?(t.warn(r["i"].O,"".concat(i," fail -> ").concat(a," : ").concat(X[a]," , ").concat(o)),[2,{code:a,msg:X[a]}]):[2,{code:a}]}}))}))};function pt(t,e){return o(this,void 0,void 0,(function(){return s(this,(function(n){return Object(r["K"])("notificationLevel",e,(function(t){return void 0!==r["n"][t]}),!0)&&Object(r["K"])("options",t,r["b"].CONVERSATION,!0)?[2,H((function(n,r){return dt(r,t,(function(){return n.setConversationNotificationLevel(t.conversationType,t.targetId,e,t.channelId)}),"setConversationNotificationLevel")}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]}))}))}function gt(t,e){return o(this,void 0,void 0,(function(){return s(this,(function(n){return Object(r["K"])("notificationStatus",e,(function(t){return 1===t||2===t}),!0)&&Object(r["K"])("options",t,r["b"].CONVERSATION,!0)?[2,H((function(n,r){return dt(r,t,(function(){return n.setConversationStatus(t.conversationType,t.targetId,void 0,e,t.channelId)}),"setConversationNotificationStatus")}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]}))}))}function vt(t,e){return void 0===e&&(e=!0),o(this,void 0,void 0,(function(){var n=this;return s(this,(function(i){return Object(r["K"])("options",t,r["b"].CONVERSATION,!0)&&Object(r["K"])("isTop",e,r["b"].BOOLEAN)?[2,H((function(i,a){return o(n,void 0,void 0,(function(){var n,o;return s(this,(function(s){switch(s.label){case 0:return n="conversationType:".concat(t.conversationType,",targetId:").concat(t.targetId),a.debug(r["i"].O,"set conversation status ->".concat(n)),[4,i.setConversationStatus(t.conversationType,t.targetId,e,void 0,t.channelId)];case 1:return(o=s.sent())!==r["d"].SUCCESS?(a.warn(r["i"].O,"set conversation status fail ->".concat(o,":").concat(X[o],",").concat(n)),[2,{code:o,msg:X[o]}]):[2,{code:o}]}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]}))}))}var yt=function(t,e,n,r){void 0===n&&(n=!0),void 0===r&&(r=!0),this.messageType=t,this.content=e,this.isPersited=n,this.isCounted=r};function mt(t,e,n){return void 0===e&&(e=!0),void 0===n&&(n=!0),function(r){return new yt(t,r,e,n)}}var It,Mt,bt=mt("RC:ImgMsg"),_t=mt("RC:HQVCMsg"),At=mt("RC:SightMsg"),Ct=mt("RC:TxtMsg"),Tt=mt("RC:CombineMsg"),Et=mt("RC:FileMsg"),wt=(mt("RC:GIFMsg"),mt("RC:VcMsg"),mt("RC:LBSMsg"),mt("RC:ReferenceMsg")),Nt=(mt("RC:ImgTextMsg"),{qiniu:function(t,e,n,i){$((function(o){var s=o.getInfoFromCache();if(1===(null==s?void 0:s.type)&&e.chunk_size&&i.size>e.chunk_size){var a=Object(r["v"])();a+=i.name.substr(i.name.lastIndexOf(".")),i.uniqueName=a,jt(i,e,n)}else xt(t,e,n,i)}))},baidu:function(t,e,n,r){if(r.size>Ot)throw new Error("the file size is over 5GB!");var i=e||{};e=e||Mt;var o=new XMLHttpRequest,s=Dt();if(i.uploadHost.bos||i.bosUploadPath){var a=s+St[0][1]+i.bosUploadPath;St.shift();var c=i.bosHeader||{},u={filename:e.uniqueValue||r.uniqueName,name:r.name,downloadUrl:a,isBosRes:!0};o.upload&&e.support_options&&(o.upload.onprogress=function(t){n.onProgress(t.loaded,t.total,!0)}),o.onreadystatechange=function(){4===o.readyState&&(JSON.parse(o.responseText||"{}").filename=e.uniqueValue,200===o.status?n.onCompleted(u,!0):St.length?Nt[St[0][0]](t,e,n,r):n.onError("upload fail"))},o.open(e.method,a,!0),o.setRequestHeader("authorization",c.bosToken),o.setRequestHeader("x-bce-date",c.bosDate),o.send(r)}},aliyun:function(t,e,n,i){if(i.size>Ot)throw new Error("the file size is over 5GB!");var o=new FormData;o.set("file",t.get("file")),o.set("key",t.get("key")),o.set("token",t.get("token"));var s=St[0][1];St.shift(),t=t||It,e=(e=e||{})||Mt;var a=new XMLHttpRequest,c=Dt(),u="".concat(c+e.ossBucketName,".").concat(s);a.upload&&e.support_options&&(a.upload.onprogress=function(t){n.onProgress(t.loaded,t.total)}),a.onreadystatechange=function(){if(4===a.readyState){var t=JSON.parse(a.responseText||"{}");t.name=e.uniqueValue,t.filename=e.uploadFileName,t.uploadMethod=r["r"]?r["r"].ALI:"",200===a.status?n.onCompleted(t):St.length?Nt[St[0][0]](o,e,n,i):n.onError("upload fail")}},a.open(e.method,u,!0),console.log("ali:url",u);var l=e.aliHeader||{};t.set("OSSAccessKeyId",l.osskeyId),t.set("policy",l.ossPolicy),t.set("Signature",l.ossSign),t.set("success_action_status",200),t.delete("key"),t.append("key",e.uploadFileName),t.delete("file"),t.append("file",i),a.send(t)},s3:function(t,e,n,i){var o=new FormData,s=new XMLHttpRequest,a=Dt(),c=e.contentDisposition,u=St[0][1],l="".concat(a+e.s3BucketName,".").concat(u);console.log("uploadS3:url",l),St.shift(),s.upload&&e.support_options&&(s.upload.onprogress=function(t){n.onProgress(t.loaded,t.total)}),s.onreadystatechange=function(){if(4===s.readyState){var o=JSON.parse(s.responseText||"{}");if(o.name=e.uniqueValue,o.filename=e.uploadFileName,o.uploadMethod=r["r"].AWS,200===s.status||204===s.status)n.onCompleted(o);else if(St.length){var a=new FormData;a.set("file",t.get("file")),a.set("key",t.get("key")),a.set("token",t.get("token")),Nt[St[0][0]](a,e,n,i)}else n.onError("upload fail")}},s.open(e.method,l,!0);var f=e?e.s3Header:{},h=i&&i.type;c?o.set("Content-Disposition","".concat(c,";")):o.set("Content-Disposition","text/html"===h?"inline;":"attachment;"),o.set("Content-Type",h),o.set("x-amz-credential",f.s3Credential),o.set("x-amz-algorithm",f.s3Algorithm),o.set("x-amz-date",f.s3Date),o.set("policy",f.s3Policy),o.set("x-amz-signature",f.s3Signature),o.set("key",e.uploadFileName),o.set("file",i),s.send(o)},stc:function(t,e,n,i){var o=new XMLHttpRequest,s=e.contentDisposition,a=St[0][1],c="https://".concat(a,"/").concat(e.stcBucketName,"/").concat(e.uploadFileName);St.shift(),o.upload&&e.support_options&&(o.upload.onprogress=function(t){n.onProgress(t.loaded,t.total)}),o.onreadystatechange=function(){if(4===o.readyState){var s=JSON.parse(o.responseText||"{}");if(s.name=e.uniqueValue,s.filename=e.uploadFileName,s.uploadMethod=r["r"]?r["r"].STC:"",200===o.status||204===o.status)n.onCompleted(s);else if(St.length){var a=new FormData;a.set("file",t.get("file")),a.set("key",t.get("key")),a.set("token",t.get("token")),Nt[St[0][0]](a,e,n,i)}else n.onError("upload fail")}},o.open("PUT",c,!0);var u=e?e.stcHeader:{};o.setRequestHeader("Content-Type",i.type),s?o.setRequestHeader("Content-Disposition","".concat(s,";")):o.setRequestHeader("Content-Disposition","text/html"===i.type?"inline;":"attachment;"),o.setRequestHeader("Authorization",u.stcAuthorization),o.setRequestHeader("x-amz-content-sha256",u.stcContentSha256),o.setRequestHeader("x-amz-date",u.stcDate),o.send(i)}}),St=[],Ot=5368709120;function Dt(){var t="https://";return"http:"!==location.protocol&&"file:"!==location.protocol||(t="http://"),t}var Rt,Lt=(Rt="RC-upload-",{get:function(t){t=Rt+t;var e=localStorage.getItem(t);if(e)return null!==(e=JSON.parse(e||"{}"))&&e.type&&e.data?e.data:null},set:function(t,e){var n=localStorage;t=Rt+t,e={data:e,type:typeof e,updateTime:Date.now()},n.setItem(t,JSON.stringify(e))},remove:function(t){t=Rt+t,localStorage.removeItem(t)}});function xt(t,e,n,i){var o="https://"+e.uploadHost.qiniu,s=(/http/.test(St[0][1])?"":Dt())+St[0][1]||o;e.isChunk||St.shift();var a=new XMLHttpRequest;a.upload&&e.support_options&&(a.upload.onprogress=function(t){n.onProgress(t.loaded,t.total)}),a.onreadystatechange=function(){if(4===a.readyState){var o=JSON.parse(a.responseText||"{}");o.filename=e.uniqueValue,o.uploadMethod=r["r"]?r["r"].QINIU:"",200===a.status||204===a.status?n.onCompleted(o):St.length?Nt[St[0][0]](t,e,n,i):n.onError("upload fail")}},a.open(e.method,s,!0),n.onOpen(a),e.stream&&a.setRequestHeader("authorization","UpToken ".concat(e.multi_parmas.token)),function(t,e){for(var n in t)e(n,t[n])}(e.headers,(function(t,e){a.setRequestHeader(t,e)})),a.send(t)}function jt(t,e,n,i){var o=0,s=i||Object(r["v"])(),a=Lt.get(s);a&&(t.uniqueName=a.sessionId,o=a.offset);var c=Math.min(e.chunk_size,t.size-o),u=t.slice(o,o+c),l=t.uniqueName;e.multi_parmas.name=l,e.filesize=t.size;var f="bytes=".concat(o,"-").concat(o+c);e.headers={Range:f,"X-File-TransactionId":l,"X-File-Total-Size":t.size},e.isChunk=!0,u.name=t.name,u=function(t,e,n){var r=new FormData;for(var i in e.unique_key&&r.append(e.unique_key,n),r.append(e.file_data_name,t,t.name),e.multi_parmas){var o=e.multi_parmas[i];r.append(i,o)}return r}(u,e,t.uniqueName),xt(u,e,{onCompleted:function(r){o+=c;var i=t.uniqueName;Lt.set(s,{offset:o,sessionId:i}),o<t.size?jt(t,e,n,s):(o=0,Lt.remove(s),n.onCompleted(r))},onError:function(t){console.error(t),n.onError(t)},onProgress:function(t,r){var i=t+o;n.onProgress(i,e.filesize)},onOpen:function(t){n.onOpen(t)}},t)}function kt(t,e,n,i){var o,s,a=e&&e.type||"text/plain",c=a.indexOf("image")>-1?1:4,u=n.contentDisposition,l=Math.ceil(e.size/n.stc_chunk_size),f=n&&JSON.parse(n.ossConfig?n.ossConfig:"");Array.isArray(f)||(f=[]);var h=f.find((function(t){return Object.keys(t).includes("stc")})),d="uploads";t.getFileToken(c,o,"POST",d).then((function(t){o=t.fileName,s="https://".concat(h.stc,"/").concat(n.stcBucketName,"/").concat(o),console.log("uploadStcMultipart:url",s);var r=new XMLHttpRequest;r.open("POST","".concat(s,"?").concat(d),!0),u?r.setRequestHeader("Content-Disposition","".concat(u,";")):r.setRequestHeader("Content-Disposition","text/html"===e.type?"inline;":"attachment;"),r.setRequestHeader("Authorization",t&&t.stcAuthorization),r.setRequestHeader("x-amz-content-sha256",t&&t.stcContentSha256),r.setRequestHeader("x-amz-date",t&&t.stcDate),r.setRequestHeader("Content-Type",a),r.send(),r.onreadystatechange=function(){if(4===r.readyState){var t=r.response.match(/(?:<UploadId>)(\S*?)(?:<\/UploadId>)/);console.log("uploadId",t),200===r.status||204===r.status?function(t){for(var e=[],n=1;n<=l;n++)e.push(y(t,n));v(t,e)}(Array.isArray(t)&&t[1]):i.onError("uploadStcMultipart:did not get uploadId")}}}),(function(t){i.onError("uploadStcMultipart:".concat(t))}));var p=[],g=new Map;function v(u,f){f&&Array.isArray(f)&&0!==f.length&&Promise.all(f).then((function(){var f="uploadId=".concat(u);if(g.size===l)t.getFileToken(c,o,"POST",f).then((function(t){console.log("onSuccess",t),console.log("onSuccess:uploadId",u);var o=new XMLHttpRequest;o.open("POST","".concat(s,"?").concat(f),!0),o.setRequestHeader("Authorization",t&&t.stcAuthorization),o.setRequestHeader("x-amz-content-sha256",t&&t.stcContentSha256),o.setRequestHeader("x-amz-date",t&&t.stcDate),o.setRequestHeader("Content-Type",a);var c="<CompleteMultipartUpload xmlns='http://s3.amazonaws.com/doc/2006-03-01/'>",l=Array.from(g.keys()||[]).sort((function(t,e){return t-e}));console.log("keys",l),l.forEach((function(t){c+="<Part><ETag>".concat(g.get(t),"</ETag><PartNumber>").concat(t,"</PartNumber></Part>")})),c+="</CompleteMultipartUpload>",o.send(c),console.log("xml",c),o.onreadystatechange=function(){if(4===o.readyState)if(200===o.status||204===o.status){var t={name:e.name,filename:n.uploadFileName,uploadMethod:r["r"].STC};i.onCompleted(t)}else i.onError("uploadStcMultipart:upload does not end")}}),(function(t){i.onError("uploadStcMultipart:".concat(t))}));else{for(var h=[],d=0,m=p;d<m.length;d++){var I=m[d];h.push(y(u,I))}v(u,h)}}),(function(t){console.error(t),i.onError("uploadStcMultipart: chunkFiles upload failed and those will reupload");for(var e=[],n=0,r=p;n<r.length;n++){var o=r[n];e.push(y(u,o))}v(u,e)}))}function y(r,i){return new Promise((function(u,l){var f="partNumber=".concat(i,"&uploadId=").concat(r);t.getFileToken(c,o,"PUT",f).then((function(t){console.log("signature ".concat(i," onSuccess"),t);var r=e&&e.slice((i-1)*n.stc_chunk_size,i*n.stc_chunk_size);console.log("fileChunk:size",r.size);var o=new XMLHttpRequest;o.open("PUT","".concat(s,"?").concat(f),!0),o.setRequestHeader("Authorization",t&&t.stcAuthorization),o.setRequestHeader("x-amz-content-sha256",t&&t.stcContentSha256),o.setRequestHeader("x-amz-date",t&&t.stcDate),o.setRequestHeader("Content-Type",a),o.send(r),o.onreadystatechange=function(){if(4===o.readyState)if(200===o.status||204===o.status){var t=o.getResponseHeader("etag");console.log("etag:".concat(i),t),g.set(i,t),u(t)}else p.includes(i)||p.push(i),l(i)}}),(function(t){console.log("getETags:签名验证失败"),p.includes(i)||p.push(i),l(i)}))}))}}var Pt={form:function(t,e){var n=new FormData;if(e.unique_key){var r=t.name.substr(t.name.lastIndexOf(".")),i=Ut()+r;n.append(e.unique_key,i),e.uniqueValue=i}return n.append(e.file_data_name,t),zt(e.multi_parmas,(function(t,e){n.append(t,e)})),n},json:function(t,e){var n={};if(e.unique_key){var r=t.name.substr(t.name.lastIndexOf(".")),i=Ut()+r;n[e.unique_key]=i,e.uniqueValue=i}return n[e.file_data_name]=t,zt(e.multi_parmas,(function(t,e){n[t]=e})),JSON.stringify(n)},data:function(t,e){return t}};function Ut(){var t=(new Date).getTime();return"xxxxxx4xxxyxxxxxxx".replace(/[xy]/g,(function(e){var n=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"===e?n:3&n|8).toString(16)}))}function zt(t,e){for(var n in t)e(n,t[n])}var Gt,Bt,Yt,Ft=0,$t=function(){function t(t){this.options=function(t){var e={domain:"",method:"POST",file_data_name:"file",unique_key:"key",base64_size:4194304,chunk_size:4194304,bos_chunk_size:4294967296,stc_chunk_size:10485760,headers:{},multi_parmas:{},query:{},support_options:!0,data:Pt.form,genUId:Ut};if(!t||!t.domain)throw new Error("domain is null");for(var n in t)e[n]=t[n];return e}(t)}return t.prototype.setOptions=function(t){var e=this;zt(t,(function(t,n){e.options[t]=n}))},t.prototype.upload=function(t,e,n,r){if(n){var i=this;!function(t,e,n,r,i){It=n,Mt=r,St=[];var o,s=t.getInfoFromCache();if(1===(null==s?void 0:s.type)&&e.uploadDomain)St=[["qiniu",e.uploadDomain]];else if(r.ossConfig){var a,c,u=JSON.parse(r.ossConfig),l="",f=[];u.forEach((function(t){var e=Number(t.p)-1;for(var n in t)"aliyun"===n&&(l=t[n]),"s3"===n&&(a=t[n]),"stc"===n&&(c=t[n]),"p"!==n&&(f[e]=[n,t[n]])})),f.forEach((function(t){t&&St.push(t)})),u.length!==St.length&&(St=[["qiniu",r.domain],["baidu",r.uploadHost.bos],["aliyun",l],["s3",a],["stc",c]])}else St=[["qiniu",r.domain],["baidu",r.uploadHost.bos]];if(r.ossConfig){var h=r&&JSON.parse(r.ossConfig);Array.isArray(h)||(h=[]),o=h.find((function(t){return Object.keys(t).includes("stc")}))}if(o&&1===parseInt(o.p,10)&&n.size>=4194304)kt(t,n,r,i);else{var d=r.data(n,r);Nt[St[0][0]](d,r,i,n)}}(t,e,n,this.options,{onProgress:function(t,e,n){Gt=t,n?Gt=Ft+t/e*(e-Ft):Ft=Gt,r.onProgress(Gt,e)},onCompleted:function(t){r.onCompleted(t)},onError:function(t){r.onError(t)},onOpen:function(t){i.xhr=t}})}else r.onError("upload file is null.")},t.prototype.cancel=function(){var t;null===(t=this.xhr)||void 0===t||t.abort()},t}(),Ht={init:function(t){return new $t(t)},dataType:Pt,resize:function(t,e,n){t.type;var r=document.createElement("canvas"),i=new FileReader;i.readAsDataURL(t),i.onload=function(t){var i=t.target.result,o=new Image;o.src=i;var s=o.width,a=o.height,c=function(t,e){var n=1,r=t.width,i=e.maxWidth||0;i>0&&r>i&&(n=i/r);var o=t.height,s=e.maxHeight||0;if(s>0&&o>s){var a=s/o;n=Math.min(n,a)}var c=e.maxSize||0,u=Math.ceil(t.size/1e3);if(u>c){var l=c/u;n=Math.min(n,l)}return n}({width:s,height:a,size:t.total},e),u=i;c<1&&(u=function(t,e,n){return r.width=e,r.height=n,r.getContext("2d").drawImage(t,0,0,e,n),r.toDataURL("image/jpg")}(o,s*c,a*c)),n(u)}},Upload:$t},Vt=function(t,e,n){var r=document.createElement("canvas"),i=r.getContext("2d"),o=new Image,s="string"==typeof t;o.onload=function(s){var a=function(t,e,n){var r,i,o,s=t<e,a=0,c=0;return(s?e/t:t/e)>n.scale?(s?(i=100,c=((o=e/(r=t/100))-n.maxHeight)/2):(o=100,a=((i=t/(r=e/100))-n.maxWidth)/2),{w:i,h:o,x:-a,y:-c}):(s?(r=e/n.maxHeight,o=n.maxHeight,i=t/r):(r=t/n.maxWidth,i=n.maxWidth,o=e/r),{w:i,h:o,x:-a,y:-c})}(o.width,o.height,e);r.width=a.w>e.maxWidth?e.maxWidth:a.w,r.height=a.h>e.maxHeight?e.maxHeight:a.h,i.drawImage(o,a.x,a.y,a.w,a.h);var c=r.toDataURL("string"==typeof t?"image/jpg":t.type,e.quality);c=c.replace(/data:image\/[^;]+;base64,/,""),n(c)},o.src=s?"data:image/jpg;base64,".concat(t):function(t){var e=window.URL||window.webkitURL;return e?e.createObjectURL(t):""}(t)},Qt=function(t,e){var n=t.file,r=t.compress;Vt(n,r,e)},Wt=function(t,e){if(t.getToken)t.getToken((function(n,r){r=r||{},t.multi_parmas=t.multi_parmas||{},t.multi_parmas.token=n,t.uploadHost=t.uploadHost||{},t.uploadHost.bos=r.bos,t.ossConfig=r.ossConfig,t.bosHeader=t.bosHeader||{},t.bosHeader.bosDate=r.bosDate,t.bosHeader.bosToken=r.bosToken,t.bosUploadPath=r.path,t.aliHeader={},t.aliHeader.osskeyId=r.osskeyId,t.aliHeader.ossPolicy=r.ossPolicy,t.aliHeader.ossSign=r.ossSign,t.ossBucketName=r.ossBucketName,t.uploadFileName=r.fileName,t.s3Header={},t.s3Header.s3Credential=r.s3Credential,t.s3Header.s3Algorithm=r.s3Algorithm,t.s3Header.s3Date=r.s3Date,t.s3Header.s3Policy=r.s3Policy,t.s3Header.s3Signature=r.s3Signature,t.s3BucketName=r.s3BucketName,t.stcHeader={},t.stcHeader.stcAuthorization=r.stcAuthorization,t.stcHeader.stcContentSha256=r.stcContentSha256,t.stcHeader.stcDate=r.stcDate,t.stcBucketName=r.stcBucketName,t.headers=t.headers||{},t.base64&&(t.headers["Content-type"]="application/octet-stream",t.headers.Authorization="UpToken ".concat(n));var i=Ht.init(t);e(i)}));else{t.headers=t.headers||{},t.base64&&(t.headers["Content-type"]="application/octet-stream");var n=Ht.init(t);e(n)}},Zt=function(t,e,n,r,i){r.upload(t,e,n.file,{onError:function(t){i.onError(t)},onProgress:function(t,e){i.onProgress(t,e)},onCompleted:function(t){t.filename=t.filename||t.hash;var e=n.compressThumbnail||Qt;n.compress?e(n,(function(e){t.thumbnail=e,i.onCompleted(t)})):i.onCompleted(t)}})},Kt=function(){function t(t){this.instance=t}return t.prototype.upload=function(t,e,n,r){Zt(t,e,{file:n},this.instance,r)},t.prototype.cancel=function(){this.instance.cancel()},t}(),qt=function(){function t(t,e){this.instance=t,this.cfg=e}return t.prototype.upload=function(t,e,n,r){var i={file:n,compress:this.cfg};Zt(t,e,i,this.instance,r)},t.prototype.cancel=function(){this.instance.cancel()},t}(),Jt=function(t,e){Wt(t,(function(t){var n=new Kt(t);e(n)}))},Xt=function(t,e){Wt(t,(function(n){var r,i,o,s,a={maxHeight:(null===(r=t.thumbnailConfig)||void 0===r?void 0:r.maxHeight)||160,maxWidth:(null===(i=t.thumbnailConfig)||void 0===i?void 0:i.maxWidth)||160,quality:(null===(o=t.thumbnailConfig)||void 0===o?void 0:o.quality)||.5,scale:(null===(s=t.thumbnailConfig)||void 0===s?void 0:s.scale)||2.4},c=new qt(n,a);e(c)}))};function te(t,e,n,a,c,u,l){var f,h=this;void 0===c&&(c=r["f"].FILE),f=c===r["f"].IMAGE?r["f"].IMAGE:r["f"].FILE;var d=t.getInfoFromCache();if(!Yt&&(Yt="upload.qiniup.com",d&&d.ossConfig))try{var p=JSON.parse(d.ossConfig).find((function(t){return void 0!==t.qiniu}));p&&(Yt=p.qiniu)}catch(t){}var g=i({domain:Yt,getToken:function(e){t.getFileToken(f).then((function(t){e(t.token,t)})).catch((function(t){u.onFail(t)}))}},l);(f===r["f"].IMAGE?Xt:Jt)(g,(function(e){e.upload(t,n,a,{onProgress:function(t,e){var n,r=Math.floor(t/e*100);null===(n=u.onProgress)||void 0===n||n.call(u,r)},onCompleted:function(t){return o(h,void 0,void 0,(function(){return s(this,(function(e){return 1===(null==d?void 0:d.type)?function(t,e,n,o,s,a){var c={type:o.type,name:s.rc_url.file_name,downloadUrl:t.uploadDomain+s.rc_url.path};e!==r["f"].AUDIO?(e===r["f"].IMAGE&&(c.thumbnail=s.thumbnail),a.onSuccess(c)):ee(o).then((function(t){a.onSuccess(i(i({},c),t))}))}(n,c,0,a,t,u):function(t,e,n,o,s){re(e,o.filename,o.name,o,o.uploadMethod).then((function(a){if(0===a.code){var c=a.data;c.type=n.type,c.name=o.name||o.filename,t!==r["f"].AUDIO?(e===r["f"].IMAGE&&(c.thumbnail=o.thumbnail),s.onSuccess(c)):ee(n).then((function(t){s.onSuccess(i(i({},c),t))}))}else s.onFail(a)})).catch((function(t){s.onFail(t)}))}(c,f,a,t,u),[2]}))}))},onError:function(t){u.onFail(t)}})}))}function ee(t){return new Promise((function(e){if("function"!=typeof t.arrayBuffer){var n=new FileReader;n.onload=function(){n.result?ne(n.result).then((function(t){e(t)}),(function(){e({})})):e({})},n.onerror=function(){e({duration:0})},n.readAsArrayBuffer(t)}else t.arrayBuffer().then(ne).then((function(t){e(t)}))}))}function ne(t){return Bt=Bt||new AudioContext,new Promise((function(e,n){Bt.decodeAudioData(t,(function(t){e({duration:t.duration,length:t.length})}),n)}))}function re(t,e,n,i,o){return Object(r["K"])("fileType",t,r["E"],!0)&&Object(r["K"])("filename",e,r["b"].STRING)&&Object(r["K"])("saveName",n,r["b"].STRING)&&Object(r["K"])("serverType",o,r["b"].NUMBER)?H((function(s){return new Promise((function(a){s.getFileUrl(t,e,n,i,o).then((function(t){a({code:r["d"].SUCCESS,data:t})})).catch((function(t){a({code:t})}))}))})):Promise.resolve({code:r["d"].BIZ_ERROR_INVALID_PARAMETER})}function ie(t,e,n){return o(this,void 0,void 0,(function(){var a=this;return s(this,(function(c){return[2,H((function(c,u){return o(a,void 0,void 0,(function(){var o,a,l,f,h,d,p,g,v,y,m,I,M;return s(this,(function(s){switch(s.label){case 0:return n=n||{},e instanceof yt==0?(u.warn(r["i"].O,"send message fail -> message parameter is not an instance of BaseMessage"),[2,J.ILLGAL_PARAMS]):Object(r["K"])("conversation",t,r["b"].OBJECT,!0)?(o=t.conversationType,a=t.targetId,l=t.channelId,Object(r["K"])("conversation.targetId",a,r["b"].STRING,!0)&&Object(r["K"])("conversation.conversationType",o,r["b"].NUMBER,!0)&&Object(r["K"])("conversation.channelId",l,r["b"].CHANNEL_ID)&&Object(r["K"])("options.isStatusMessage",null==n?void 0:n.isStatusMessage,r["b"].BOOLEAN)&&Object(r["K"])("options.disableNotification",null==n?void 0:n.disableNotification,r["b"].BOOLEAN)&&Object(r["K"])("options.pushContent",null==n?void 0:n.pushContent,r["b"].STRING)&&Object(r["K"])("options.pushData",null==n?void 0:n.pushData,r["b"].STRING)&&Object(r["K"])("options.isMentioned",null==n?void 0:n.isMentioned,r["b"].BOOLEAN)&&Object(r["K"])("options.mentionedType",null==n?void 0:n.mentionedType,r["b"].NUMBER)&&Object(r["K"])("options.mentionedUserIdList",null==n?void 0:n.mentionedUserIdList,r["b"].ARRAY)&&Object(r["K"])("options.directionalUserIdList",null==n?void 0:n.directionalUserIdList,r["b"].ARRAY)&&Object(r["K"])("options.isVoipPush",null==n?void 0:n.isVoipPush,r["b"].BOOLEAN)&&Object(r["K"])("options.canIncludeExpansion",null==n?void 0:n.canIncludeExpansion,r["b"].BOOLEAN)&&Object(r["K"])("options.expansion",null==n?void 0:n.expansion,r["b"].OBJECT)&&Object(r["K"])("options.pushConfig",null==n?void 0:n.pushConfig,r["b"].OBJECT)&&Object(r["K"])("options.messageId",null==n?void 0:n.messageId,r["b"].NUMBER)?(f="conversationType:".concat(o,",targetId:").concat(a),u.debug(r["i"].O,"send message ->".concat(f)),h=function(t,e,n){var r=t.isStatusMessage,o=t.disableNotification,s=t.pushContent,a=t.pushData,c=t.isMentioned,u=t.mentionedType,l=t.mentionedUserIdList,f=t.directionalUserIdList,h=t.isVoipPush,d=t.canIncludeExpansion,p=t.expansion,g=t.isFilerWhiteBlacklist,v=t.pushConfig,y=t.messageId,m=n.channelId;return i({isStatusMessage:r,disableNotification:o,pushContent:s,pushData:a,isMentioned:c,mentionedType:u,mentionedUserIdList:l,directionalUserIdList:f,isVoipPush:h,canIncludeExpansion:d,expansion:p,isFilerWhiteBlacklist:g,pushConfig:v,channelId:m||"",messageId:y},e)}(n,e,t),d={isMentioned:!!n.isMentioned,content:e.content,messageType:e.messageType,isPersited:e.isPersited||!1,isCounted:e.isCounted||!1,disableNotification:!!(null==n?void 0:n.disableNotification),canIncludeExpansion:!!(null==n?void 0:n.canIncludeExpansion),expansion:(null==n?void 0:n.expansion)||null,conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId,senderUserId:c.getCurrentUserId(),messageUId:"",messageDirection:r["k"].SEND,receivedTime:0,isStatusMessage:n.isStatusMessage||!1,receivedStatus:r["p"].UNREAD,isOffLineMessage:!1,pushConfig:null==n?void 0:n.pushConfig},o!==r["c"].ULTRA_GROUP&&(d.isOffLineMessage=!1),p=u.createTraceId(),g=function(t){d.messageId=t;try{(null==n?void 0:n.onSendBefore)&&n.onSendBefore(P(d))}catch(t){u.error(r["i"].O,'Callback method "onSendBefore" execution error.\n'.concat(null==t?void 0:t.stack),p)}},u.info(r["i"].A_SEND_MSG_T,JSON.stringify({messageType:e.messageType,conversationType:o,targetId:a,channelId:l}),p),[4,c.sendMessage(o,a,h,g,p)]):[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]):[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}];case 1:return v=s.sent(),y=v.code,m=v.data,I=y===r["d"].SUCCESS?"info":"warn",u[I](r["i"].A_SEND_MSG_R,JSON.stringify({code:y,messageUId:m?m.messageUId:"",messageId:m?m.messageId:""}),p),y===r["d"].SUCCESS?(M=P(m),[2,{code:y,data:M}]):(u.warn(r["i"].O,"send message fail ->".concat(y,":").concat(X[y],",").concat(f)),d.sentTime=(null==m?void 0:m.sentTime)||0,[2,{code:y,msg:X[y],data:P(d)}])}}))}))}))]}))}))}function oe(t,e){return function(n,i,o,s){if(!Object(r["K"])("sendOptions.contentDisposition",null==s?void 0:s.contentDisposition,(function(t){return["inline","attachment"].includes(t)})))return Promise.resolve({code:r["d"].BIZ_ERROR_INVALID_PARAMETER});var a={contentDisposition:null==s?void 0:s.contentDisposition};if(s&&"thumbnailConfig"in s){var c=null==s?void 0:s.thumbnailConfig;if(!(Object(r["K"])("sendOptions.maxHeight",null==c?void 0:c.maxHeight,r["b"].NUMBER)&&Object(r["K"])("sendOptions.maxWidth",null==c?void 0:c.maxWidth,r["b"].NUMBER)&&Object(r["K"])("sendOptions.quality",null==c?void 0:c.quality,r["b"].NUMBER)&&Object(r["K"])("sendOptions.scale",null==c?void 0:c.scale,r["b"].NUMBER)))return Promise.resolve({code:r["d"].BIZ_ERROR_INVALID_PARAMETER});a.thumbnailConfig=c}return H((function(c,u,l){return new Promise((function(f){var h=u.createTraceId();u.info(r["i"].L_MEDIA_UPLOAD_T,JSON.stringify({filesize:i.file.size,type:t}),h),te(c,0,l,i.file,t,{onProgress:null==o?void 0:o.onProgress,onSuccess:function(t){var a,c=(null===(a=null==o?void 0:o.onComplete)||void 0===a?void 0:a.call(o,{url:t.downloadUrl}))||e(t,i);t&&t.downloadUrl&&u.info(r["i"].L_MEDIA_UPLOAD_R,JSON.stringify({downurl:t.downloadUrl,code:r["d"].SUCCESS}),h),ie(n,c,s).then(f)},onFail:function(t){u.warn(r["i"].L_MEDIA_UPLOAD_R,JSON.stringify({code:r["d"].UPLOAD_FILE_FAILED}),h),f({code:r["d"].UPLOAD_FILE_FAILED,msg:t||r["d"][r["d"].UPLOAD_FILE_FAILED]})}},a)}))}))}}Ht.dataType;var se=oe(r["f"].FILE,(function(t,e){return new Et({name:t.name,size:e.file.size,type:(n=t.name,r=n.match(/\.(\w+)$/),r?r[1]:"bin"),fileUrl:t.downloadUrl,user:e.user,extra:e.extra});var n,r})),ae=oe(r["f"].IMAGE,(function(t,e){return new bt({content:t.thumbnail,imageUri:t.downloadUrl,user:e.user,extra:e.extra})}));oe(r["f"].AUDIO,(function(t,e){return new _t({remoteUrl:t.downloadUrl,duration:t.duration,type:t.type,user:e.user,extra:e.extra})})),oe(r["f"].SIGHT,(function(t,e){return new At({sightUrl:t.downloadUrl,content:e.thumbnail,duration:e.duration,size:e.file.size||t.size,name:e.name||t.name,user:e.user,extra:e.extra})}));function ce(t,e){return o(this,void 0,void 0,(function(){var n=this;return s(this,(function(i){return Object(r["K"])("options.timestamp",null==e?void 0:e.timestamp,r["b"].NUMBER)&&Object(r["K"])("options.count",null==e?void 0:e.count,r["b"].NUMBER)&&Object(r["K"])("options.order",null==e?void 0:e.order,(function(t){return 0===t||1===t}))&&Object(r["K"])("conversation",t,r["b"].CONVERSATION,!0)?[2,H((function(i,a){return o(n,void 0,void 0,(function(){var n,o,c,u,l;return s(this,(function(s){switch(s.label){case 0:return n=a.createTraceId(),a.info(r["i"].A_GET_HISTORY_MSG_T,JSON.stringify({targetId:t.targetId,conversationType:t.conversationType,channelId:t.channelId,timestamp:null==e?void 0:e.timestamp,count:null==e?void 0:e.count}),n),[4,i.getHistoryMessage(t.conversationType,t.targetId,null==e?void 0:e.timestamp,null==e?void 0:e.count,null==e?void 0:e.order,null==t?void 0:t.channelId,"",n)];case 1:return o=s.sent(),c=o.code,u=o.data,c===r["d"].SUCCESS&&u?(l=u.list.map((function(t){return P(t)})),a.info(r["i"].A_GET_HISTORY_MSG_R,JSON.stringify({code:c,messageLength:l.length}),n),[2,{code:c,data:{list:l,hasMore:u.hasMore}}]):(a.warn(r["i"].A_GET_HISTORY_MSG_R,JSON.stringify({code:c,messageUIds:""}),n),[2,{code:c,msg:X[c]}])}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]}))}))}function ue(t,e,n,i){return o(this,void 0,void 0,(function(){var a=this;return s(this,(function(c){return Object(r["K"])("targetId",t,r["b"].STRING,!0)&&Object(r["K"])("messageUId",e,r["b"].STRING,!0)&&Object(r["K"])("timestamp",n,r["b"].NUMBER,!0)&&Object(r["K"])("channelId",i,r["b"].CHANNEL_ID)?[2,H((function(c){return o(a,void 0,void 0,(function(){var o,a,c,u,l;return s(this,(function(s){switch(s.label){case 0:return o={targetId:t,conversationType:r["c"].PRIVATE,channelId:i},a=new yt("RC:ReadNtf",{messageUId:e,lastMessageSendTime:n,type:1}),[4,ie(o,a)];case 1:return c=s.sent(),u=c.code,l=c.msg,0===u?[2,{code:u}]:[2,{code:u,msg:l}]}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]}))}))}function le(t,e,n){return o(this,void 0,void 0,(function(){var i=this;return s(this,(function(a){return Object(r["K"])("targetId",t,r["b"].STRING,!0)&&Object(r["K"])("messageList",e,r["b"].OBJECT,!0)&&Object(r["K"])("channelId",n,r["b"].CHANNEL_ID)&&!Object.keys(e).some((function(t){return!Object(r["K"])(t,e[t],r["b"].ARRAY)}))?[2,H((function(a,c){return o(i,void 0,void 0,(function(){var i,o,u,l,f,h,d;return s(this,(function(s){switch(s.label){case 0:return i={targetId:t,conversationType:r["c"].GROUP,channelId:n},u=a.getInfoFromCache(),0!==(l=(null==u?void 0:u.grpRRVer)||0)?[3,2]:(f=new yt("RC:RRRspMsg",{receiptMessageDic:e}),[4,ie(i,f)]);case 1:return o=s.sent(),[3,4];case 2:return 1!==l?[3,4]:(h=[],Object.keys(e).forEach((function(t){e[t].forEach((function(t){-1===h.indexOf(t)&&h.push(t)}))})),h.length?[4,a.sendReadReceiptMessage(t,h,n)]:(c.warn(r["i"].O,"Error in parameter messageList."),[2,{code:r["d"].PARAMETER_ERROR}]));case 3:o=s.sent(),s.label=4;case 4:return(d=o.code)===r["d"].SUCCESS?[2,{code:d}]:(c.warn(r["i"].O,"send read receipt message fail ->".concat(d,":").concat(X[d])),[2,{code:d,msg:X[d]}])}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]}))}))}function fe(t,e){return o(this,void 0,void 0,(function(){var n=this;return s(this,(function(i){return Object(r["K"])("conversation",t,r["b"].CONVERSATION,!0)&&Object(r["K"])("options.messageUId",e.messageUId,r["b"].STRING,!0)&&Object(r["K"])("options.sentTime",e.sentTime,r["b"].NUMBER,!0)&&Object(r["K"])("options.disableNotification",null==e?void 0:e.disableNotification,r["b"].BOOLEAN)&&Object(r["K"])("options.pushConfig",null==e?void 0:e.pushConfig,r["b"].OBJECT)?[2,H((function(i,a){return o(n,void 0,void 0,(function(){var n,o,c,u,l;return s(this,(function(s){switch(s.label){case 0:return n={user:e.user,channelId:t.channelId||"",disableNotification:null==e?void 0:e.disableNotification,pushConfig:null==e?void 0:e.pushConfig,extra:e.extra,isDelete:e.isDelete},o="conversationType:".concat(t.conversationType,",targetId:").concat(t.targetId,",messageUId:").concat(e.messageUId),a.debug(r["i"].O,"recall message ->".concat(o)),[4,i.recallMessage(t.conversationType,t.targetId,e.messageUId,e.sentTime,n)];case 1:return c=s.sent(),u=c.code,l=c.data,u===r["d"].SUCCESS&&l?[2,{code:u,data:P(l)}]:u===r["d"].SUCCESS?[2,{code:u}]:(a.warn(r["i"].O,"recall message fail ->".concat(u,":").concat(X[u],",").concat(o)),[2,{code:u,msg:X[u]}])}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]}))}))}function he(t,e){return o(this,void 0,void 0,(function(){var n=this;return s(this,(function(i){return Object(r["K"])("conversation",t,r["b"].CONVERSATION,!0)&&Object(r["K"])("options",e,(function(t){return Object(r["w"])(t)&&t.length}),!0)&&!e.some((function(t){return!Object(r["K"])("options.messageUId",t.messageUId,r["b"].STRING,!0)||!Object(r["K"])("options.sentTime",t.sentTime,r["b"].NUMBER,!0)||!Object(r["K"])("options.messageDirection",t.messageDirection,(function(t){return 1===t||2===t}),!0)}))?[2,H((function(i,a){return o(n,void 0,void 0,(function(){var n,o;return s(this,(function(s){switch(s.label){case 0:return n="conversationType:".concat(t.conversationType,",targetId:").concat(t.targetId),a.debug(r["i"].O,"delete messages ->".concat(n)),[4,i.deleteRemoteMessage(t.conversationType,t.targetId,e,t.channelId)];case 1:return(o=s.sent())!==r["d"].SUCCESS?(a.warn(r["i"].O,"delete message fail ->".concat(o,":").concat(X[o],",").concat(n)),[2,{code:o,msg:X[o]}]):[2,{code:r["d"].SUCCESS}]}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]}))}))}function de(t,e){return o(this,void 0,void 0,(function(){var n=this;return s(this,(function(i){return Object(r["K"])("conversation",t,r["b"].CONVERSATION,!0)&&Object(r["K"])("typingContentType",e,r["b"].STRING,!0)?[2,H((function(i,a){return o(n,void 0,void 0,(function(){var n,o,c,u,l,f;return s(this,(function(s){switch(s.label){case 0:return n={messageType:"RC:TypSts",content:{typingContentType:e},isStatusMessage:!0,channelId:t.channelId},o=a.createTraceId(),a.info(r["i"].A_SEND_MSG_T,JSON.stringify({messageType:n.messageType,conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId}),o),[4,i.sendMessage(t.conversationType,t.targetId,n,void 0,o)];case 1:return c=s.sent(),u=c.code,l=c.data,f=u===r["d"].SUCCESS?"info":"warn",a[f](r["i"].A_SEND_MSG_R,JSON.stringify({code:u,messageUId:l?l.messageUId:"",messageId:l?l.messageId:""}),o),u===r["d"].SUCCESS?[2,{code:u,data:P(l)}]:[2,{code:u,msg:X[u]}]}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]}))}))}function pe(t,e,n,i,o){return $((function(s,a){return Object(r["u"])("messageType",t,r["b"].STRING,!0),Object(r["u"])("isPersited",e,r["b"].BOOLEAN,!0),Object(r["u"])("isCounted",n,r["b"].BOOLEAN,!0),Object(r["u"])("isStatusMessage",o,r["b"].BOOLEAN,!1),Object(r["u"])("searchProps",i,r["b"].ARRAY),a.info(r["i"].A_REGTYP_O,JSON.stringify({messageType:t,isCounted:n,isStatusMessage:o,isPersited:e})),s.registerMessageType(t,e,n,i,o),mt(t,e,n)}))}oe(r["f"].COMBINE_HTML,(function(t,e){return new Tt({remoteUrl:t.downloadUrl,nameList:e.nameList,summaryList:e.summaryList,conversationType:e.conversationType,user:e.user,extra:e.extra})}));var ge={TEXT:"RC:TxtMsg",VOICE:"RC:VcMsg",HQ_VOICE:"RC:HQVCMsg",IMAGE:"RC:ImgMsg",GIF:"RC:GIFMsg",RICH_CONTENT:"RC:ImgTextMsg",LOCATION:"RC:LBSMsg",FILE:"RC:FileMsg",SIGHT:"RC:SightMsg",COMBINE:"RC:CombineMsg",CHRM_KV_NOTIFY:"RC:chrmKVNotiMsg",LOG_COMMAND:"RC:LogCmdMsg",EXPANSION_NOTIFY:"RC:MsgExMsg",REFERENCE:"RC:ReferenceMsg",RECALL_MESSAGE_TYPE:"RC:RcCmd"};Object.freeze({__proto__:null,getAllConversationList:function(t){return o(this,void 0,void 0,(function(){var e=this;return s(this,(function(n){return Object(r["J"])()?Object(r["K"])("channelId",t,r["b"].CHANNEL_ID)?[2,H((function(n,i){return o(e,void 0,void 0,(function(){var e,o,a,c;return s(this,(function(s){switch(s.label){case 0:return i.info(r["i"].O,"getAllConversationList -> channelId: ".concat(t)),Object(r["C"])(t)?[4,n.getConversationListWithAllChannel()]:[3,2];case 1:return e=s.sent(),[3,4];case 2:return[4,n.getConversationList(void 0,void 0,void 0,void 0,t)];case 3:e=s.sent(),s.label=4;case 4:return o=e.code,a=e.data,o===r["d"].SUCCESS&&a?(c=a.map((function(t){return U(t)})),[2,{code:o,data:c}]):(i.warn(r["i"].O,"getAllConversationList fail -> code: ".concat(o," channelId: ").concat(t)),[2,{code:o,msg:X[o]}])}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]:[2,{code:r["d"].NOT_SUPPORT,msg:X[r["d"].NOT_SUPPORT]}]}))}))},getConversationList:function(t,e,n){return o(this,void 0,void 0,(function(){var i=this;return s(this,(function(a){return Object(r["J"])()?Object(r["K"])("startTime",t,r["b"].NUMBER,!0)&&Object(r["K"])("count",e,r["b"].NUMBER,!0)&&Object(r["K"])("channelId",n,r["b"].CHANNEL_ID)?[2,H((function(a,c){return o(i,void 0,void 0,(function(){var i,o,u,l,f,h;return s(this,(function(s){switch(s.label){case 0:return i="startTime: ".concat(t,", count: ").concat(e,", channelId: ").concat(n),c.info(r["i"].O,"getConversationList -> ".concat(i)),Object(r["C"])(n)?[4,a.getConversationListWithAllChannelByPage(t,e)]:[3,2];case 1:return o=s.sent(),[3,4];case 2:return u=[1,2,3,5,6,7,8],[4,a.getConversationsByPage(u,t,e,n)];case 3:o=s.sent(),s.label=4;case 4:return l=o.code,f=o.data,l===r["d"].SUCCESS&&f?(h=f.map((function(t){return U(t)})),[2,{code:l,data:h}]):(c.warn(r["i"].O,"getConversationList fail -> code: ".concat(l," ").concat(i)),[2,{code:l,msg:X[l]}])}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]:[2,{code:r["d"].NOT_SUPPORT,msg:X[r["d"].NOT_SUPPORT]}]}))}))},searchConversationByContent:function(t,e,n){return o(this,void 0,void 0,(function(){var i=this;return s(this,(function(a){return Object(r["J"])()?Object(r["K"])("keyword",t,r["b"].STRING,!0)&&Object(r["K"])("messageTypes",e,r["b"].ARRAY,!0)&&Object(r["K"])("channelId",n,r["b"].CHANNEL_ID)&&!e.some((function(t){return!Object(r["K"])("messageType",t,r["b"].STRING,!0)}))?[2,H((function(a,c){return o(i,void 0,void 0,(function(){var i,o,u,l,f;return s(this,(function(s){switch(s.label){case 0:return i="keyword: ".concat(t,", messageTypes: ").concat(JSON.stringify(e),", channelId: ").concat(n),c.info(r["i"].O,"searchConversationByContent -> ".concat(r["m"])),Object(r["C"])(n)?[4,a.searchConversationByContentWithAllChannel(t,e)]:[3,2];case 1:return o=s.sent(),[3,4];case 2:return[4,a.searchConversationByContent(t,e,n)];case 3:o=s.sent(),s.label=4;case 4:return u=o.code,l=o.data,u===r["d"].SUCCESS&&l?(f=l.map((function(t){return U(t)})),[2,{code:u,data:f}]):(c.warn(r["i"].O,"searchConversationByContent fail -> code: ".concat(u," ").concat(i)),[2,{code:u,msg:X[u]}])}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]:[2,{code:r["d"].NOT_SUPPORT,msg:X[r["d"].NOT_SUPPORT]}]}))}))},searchMessages:function(t,e,n,i){return o(this,void 0,void 0,(function(){var a=this;return s(this,(function(c){return Object(r["J"])()?Object(r["K"])("conversation",t,r["b"].CONVERSATION,!0)&&Object(r["K"])("keyword",e,r["b"].STRING,!0)&&Object(r["K"])("startTime",n,r["b"].NUMBER,!0)&&Object(r["K"])("count",i,r["b"].NUMBER,!0)?[2,H((function(c,u){return o(a,void 0,void 0,(function(){var o,a,l,f,h,d,p,g,v,y;return s(this,(function(s){switch(s.label){case 0:return o="conversation: ".concat(JSON.stringify(t),", keyword: ").concat(e,", timestamp: ").concat(n,", count: ").concat(i),u.info(r["i"].O,"searchMessages -> ".concat(o)),a=t.targetId,l=t.conversationType,f=t.channelId,Object(r["C"])(f)?[4,c.searchMessageByContentWithAllChannel(l,a,e,n,i)]:[3,2];case 1:return h=s.sent(),[3,4];case 2:return[4,c.searchMessageByContent(l,a,e,n,i,0,f)];case 3:h=s.sent(),s.label=4;case 4:return d=h.code,p=h.data,d===r["d"].SUCCESS&&p?(g=p.messages,v=p.count,y=g.map((function(t){return P(t)})),[2,{code:d,data:{messages:y,count:v}}]):(u.warn(r["i"].O,"searchMessages fail -> code: ".concat(d," ").concat(o)),[2,{code:d,msg:X[d]}])}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]:[2,{code:r["d"].NOT_SUPPORT,msg:X[r["d"].NOT_SUPPORT]}]}))}))},searchMessageInTimeRange:function(t,e){return o(this,void 0,void 0,(function(){var n=this;return s(this,(function(i){return Object(r["J"])()?Object(r["K"])("conversation",t,r["b"].CONVERSATION,!0)&&Object(r["K"])("option",e,r["b"].OBJECT,!0)&&Object(r["K"])("option.keyword",e.keyword,r["b"].STRING,!0)&&Object(r["K"])("option.startTime",e.startTime,r["b"].NUMBER,!0)&&Object(r["K"])("option.endTime",e.endTime,r["b"].NUMBER,!0)&&Object(r["K"])("option.offset",e.offset,r["b"].NUMBER)&&Object(r["K"])("option.limit",e.limit,r["b"].NUMBER)?[2,H((function(i,a){return o(n,void 0,void 0,(function(){var n,o,c,u,l,f,h,d,p,g,v;return s(this,(function(s){switch(s.label){case 0:return n="conversation: ".concat(JSON.stringify(t),", option: ").concat(JSON.stringify(e)),a.info(r["i"].O,"searchMessageInTimeRange -> ".concat(n)),o=t.conversationType,c=t.targetId,u=e.keyword,l=e.startTime,f=e.endTime,h=e.offset,d=e.limit,h=h||0,d=d||5,[4,i.searchMessageByContentInTimeRangeWithAllChannel(o,c,u,l,f,h,d)];case 1:return p=s.sent(),g=p.code,v=p.data,g===r["d"].SUCCESS&&v?[2,{code:g,data:{messages:v.messages.map((function(t){return P(t)}))}}]:(a.warn(r["i"].O,"searchMessageInTimeRange fail -> code: ".concat(g,", ").concat(n)),[2,{code:g}])}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]:[2,{code:r["d"].NOT_SUPPORT,msg:X[r["d"].NOT_SUPPORT]}]}))}))},getHistoryMessagesByMessageTypes:function(t,e){return o(this,void 0,void 0,(function(){var n=this;return s(this,(function(i){return Object(r["J"])()?Object(r["K"])("conversation",t,r["b"].CONVERSATION,!0)&&Object(r["K"])("option",e,r["b"].OBJECT,!0)&&Object(r["K"])("option.count",e.count,r["b"].NUMBER)&&Object(r["K"])("option.timestamp",e.timestamp,r["b"].NUMBER)&&Object(r["K"])("option.order",e.order,(function(t){return[0,1].includes(t)}))&&Object(r["K"])("option.messageTypes",e.messageTypes,r["b"].ARRAY,!0)&&!e.messageTypes.some((function(t){return!Object(r["K"])("option.messageType",t,r["b"].STRING,!0)}))?[2,H((function(i,a){return o(n,void 0,void 0,(function(){var n,o,c,u,l,f,h,d,p,g,v,y,m,I,M;return s(this,(function(s){switch(s.label){case 0:return n=e.count,o=e.timestamp,c=e.order,u=e.messageTypes,l="conversation: ".concat(JSON.stringify(t),", option: ").concat(JSON.stringify(e)),a.info(r["i"].O,"getHistoryMessagesByMessageTypes -> ".concat(l)),f=t.conversationType,h=t.targetId,d=t.channelId,n||(n=20),o||(o=0),c||(c=0),d||(d=""),[4,i.getHistoryMessagesByObjectNames(f,h,o,n,u,c,d)];case 1:return p=s.sent(),g=p.code,v=p.data,g===r["d"].SUCCESS?(m=(y=v).list,I=y.hasMore,M=m.map((function(t){return P(t)})),[2,{code:g,data:{messages:M,hasMore:I,list:M}}]):(a.warn(r["i"].O,"getHistoryMessagesByMessageTypes fail -> code: ".concat(g," ").concat(l)),[2,{code:g,msg:X[g]}])}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]:[2,{code:r["d"].NOT_SUPPORT,msg:X[r["d"].NOT_SUPPORT]}]}))}))},setMessageStatusToRead:function(t,e){return o(this,void 0,void 0,(function(){var n=this;return s(this,(function(i){return Object(r["J"])()?Object(r["K"])("conversation",t,r["b"].CONVERSATION,!0)&&Object(r["K"])("timestamp",e,r["b"].NUMBER,!0)?[2,H((function(i,a){return o(n,void 0,void 0,(function(){var n,o,c,u;return s(this,(function(s){switch(s.label){case 0:return n="conversation: ".concat(JSON.stringify(t),", timestamp: ").concat(e),a.info(r["i"].O,"updateSentMsgReceiptStatus -> ".concat(n)),o=t.conversationType,c=t.targetId,u=t.channelId,[4,i.setMessageStatusToRead(o,c,e,u)];case 1:return[2,s.sent()]}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]:[2,{code:r["d"].NOT_SUPPORT,msg:X[r["d"].NOT_SUPPORT]}]}))}))},setMessageReceivedStatus:function(t,e){return o(this,void 0,void 0,(function(){var n=this;return s(this,(function(i){return Object(r["J"])()?Object(r["K"])("messageId",t,r["b"].NUMBER,!0)&&Object(r["K"])("receivedStatus",e,(function(t){return!Object(r["C"])(r["p"][t])}),!0)?[2,H((function(i,a){return o(n,void 0,void 0,(function(){return s(this,(function(n){switch(n.label){case 0:return a.info(r["i"].O,"setMessageReceivedStatus -> messageId: ".concat(t,", receivedStatus: ").concat(e)),[4,i.setMessageReceivedStatus(t,e)];case 1:return[2,{code:n.sent()}]}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]:[2,{code:r["d"].NOT_SUPPORT,msg:X[r["d"].NOT_SUPPORT]}]}))}))},setMessageSentStatus:function(t,e){return o(this,void 0,void 0,(function(){var n=this;return s(this,(function(i){return Object(r["J"])()?Object(r["K"])("messageId",t,r["b"].NUMBER,!0)&&Object(r["K"])("sentStatus",e,(function(t){return!Object(r["C"])(c[t])}),!0)?[2,H((function(i,a){return o(n,void 0,void 0,(function(){return s(this,(function(n){switch(n.label){case 0:return a.info(r["i"].O,"setMessageSentStatus ->messageId: ".concat(t,", sentStatus: ").concat(e)),[4,i.setMessageSentStatus(t,e)];case 1:return[2,{code:n.sent()}]}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]:[2,{code:r["d"].NOT_SUPPORT,msg:X[r["d"].NOT_SUPPORT]}]}))}))},setMessageContent:function(t,e,n){return void 0===n&&(n=""),o(this,void 0,void 0,(function(){var i=this;return s(this,(function(a){return Object(r["J"])()?Object(r["K"])("messageId",t,r["b"].NUMBER,!0)&&Object(r["K"])("content",e,r["b"].OBJECT,!0)&&Object(r["K"])("messageType",n,r["b"].ONLY_STRING,!0)?[2,H((function(a,c){return o(i,void 0,void 0,(function(){return s(this,(function(i){switch(i.label){case 0:return c.info(r["i"].O,"setMessageSentStatus ->messageId: ".concat(t,", messageType: ").concat(n)),[4,a.setMessageContent(t,e,n)];case 1:return[2,{code:i.sent()}]}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]:[2,{code:r["d"].NOT_SUPPORT,msg:X[r["d"].NOT_SUPPORT]}]}))}))},deleteMessages:function(t){return o(this,void 0,void 0,(function(){var e=this;return s(this,(function(n){return Object(r["J"])()?!Object(r["K"])("messageIds",t,r["b"].ARRAY,!0)||t.some((function(t){return!Object(r["K"])("messageId",t,r["b"].NUMBER,!0)}))?[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]:[2,H((function(n,i){return o(e,void 0,void 0,(function(){return s(this,(function(e){switch(e.label){case 0:return i.info(r["i"].O,"deleteMessages ->messageIds: ".concat(JSON.stringify(t))),[4,n.deleteMessages(t)];case 1:return[2,{code:e.sent()}]}}))}))}))]:[2,{code:r["d"].NOT_SUPPORT,msg:X[r["d"].NOT_SUPPORT]}]}))}))},clearMessages:function(t){return o(this,void 0,void 0,(function(){var e=this;return s(this,(function(n){return Object(r["J"])()?[2,H((function(n,i){return o(e,void 0,void 0,(function(){var e,o,a,c;return s(this,(function(s){switch(s.label){case 0:return e=t.conversationType,o=t.targetId,a=t.channelId,i.info(r["i"].O,"clearMessages ->targetId:".concat(o,",conversationType:").concat(e)),[4,n.clearMessages(e,o,a)];case 1:return(c=s.sent())===r["d"].SUCCESS?[2,{code:c}]:(i.warn(r["i"].O,"clearMessages ->code:".concat(c,",targetId:").concat(o)),[2,{code:c,msg:X[c]}])}}))}))}))]:[2,{code:r["d"].NOT_SUPPORT,msg:X[r["d"].NOT_SUPPORT]}]}))}))},deleteMessagesByTimestamp:function(t,e,n){return o(this,void 0,void 0,(function(){var i,a,c,u=this;return s(this,(function(l){return Object(r["J"])()?(i=t.conversationType,a=t.targetId,c=t.channelId,Object(r["K"])("conversationType",i,r["b"].NUMBER,!0)&&Object(r["K"])("targetId",a,r["b"].STRING,!0)&&Object(r["K"])("timestamp",e,r["b"].NUMBER,!0)&&Object(r["K"])("cleanSpace",n,r["b"].BOOLEAN)?[2,H((function(t,l){return o(u,void 0,void 0,(function(){var o;return s(this,(function(s){switch(s.label){case 0:return[4,t.deleteMessagesByTimestamp(i,a,e,n,c)];case 1:return(o=s.sent())===r["d"].SUCCESS?[2,{code:o}]:(l.warn(r["i"].O,"deleteMessagesByTimestamp ->code:".concat(o,",targetId:").concat(a)),[2,{code:o,msg:X[o]}])}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]):[2,{code:r["d"].NOT_SUPPORT,msg:X[r["d"].NOT_SUPPORT]}]}))}))},insertMessage:function(t,e,n){return void 0===n&&(n={}),o(this,void 0,void 0,(function(){var i=this;return s(this,(function(a){return Object(r["J"])()?Object(r["K"])("conversation",t,r["b"].CONVERSATION,!0)&&Object(r["K"])("message",e,r["b"].OBJECT,!0)&&Object(r["K"])("options",n,r["b"].OBJECT)&&Object(r["K"])("options.isUnread",null==n?void 0:n.isUnread,r["b"].BOOLEAN)&&Object(r["K"])("options.searchContent",null==n?void 0:n.searchContent,r["b"].STRING)&&(e instanceof yt||Object(r["K"])("message.senderUserId",e.senderUserId,r["b"].STRING,!0)&&Object(r["K"])("message.messageType",e.messageType,r["b"].STRING,!0)&&Object(r["K"])("message.content",e.content,r["b"].OBJECT,!0)&&Object(r["K"])("message.messageDirection",e.messageDirection,r["b"].NUMBER,!0)&&Object(r["K"])("message.canIncludeExpansion",e.canIncludeExpansion,r["b"].BOOLEAN)&&Object(r["K"])("message.expansion",e.expansion,r["b"].OBJECT)&&Object(r["K"])("message.disableNotification",e.disableNotification,r["b"].BOOLEAN)&&Object(r["K"])("message.sentTime",e.sentTime,r["b"].NUMBER)&&Object(r["K"])("message.sentStatus",e.sentStatus,r["b"].NUMBER))?[2,H((function(a,c){return o(i,void 0,void 0,(function(){var i,o,u,l,f,h,d,p,g,v,y,m,I,M,b;return s(this,(function(s){switch(s.label){case 0:return i="",o=1,h=!1,p=e.messageType,g=e.content,e instanceof yt||(i=e.senderUserId,o=e.messageDirection,h=e.canIncludeExpansion,d=e.expansion,f=e.disableNotification,u=e.sentTime,l=e.sentStatus),c.info(r["i"].O,"insertMessage ->targetId:".concat(t.targetId,",conversationType:").concat(t.conversationType)),v=n.isUnread,y=n.searchContent,m={senderUserId:i,messageType:p,content:g,messageDirection:o,sentTime:u,sentStatus:l,searchContent:y,isUnread:v,messageUId:"",disableNotification:f,canIncludeExpansion:h,expansionMsg:JSON.stringify(d),channelId:t.channelId||""},[4,a.insertMessage(t.conversationType,t.targetId,m)];case 1:return I=s.sent(),M=I.code,b=I.data,M===r["d"].SUCCESS?[2,{code:M,data:P(b)}]:(c.warn(r["i"].O,"insertMessage ->code:".concat(M,",targetId:").concat(t.targetId)),[2,{code:M,msg:X[M]}])}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]:[2,{code:r["d"].NOT_SUPPORT,msg:X[r["d"].NOT_SUPPORT]}]}))}))},getPrivateMessageDeliverTime:function(t){return o(this,void 0,void 0,(function(){var e=this;return s(this,(function(n){return Object(r["J"])()?Object(r["K"])("messageUId",t,r["b"].STRING,!0)?[2,H((function(n,i){return o(e,void 0,void 0,(function(){var e,o,a;return s(this,(function(s){switch(s.label){case 0:return[4,n.getPrivateMessageDeliverTime(t)];case 1:return e=s.sent(),o=e.code,a=e.data,o===r["d"].SUCCESS?[2,{code:o,data:a}]:(i.warn(r["i"].A_GET_PRIVATE_MESSAGE_DELIVER_TIME_E,"code:".concat(o,",messageUId:").concat(t)),[2,{code:o,msg:X[o]}])}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]:[2,{code:r["d"].NOT_SUPPORT,msg:X[r["d"].NOT_SUPPORT]}]}))}))},getGroupMessageDeliverList:function(t,e){return o(this,void 0,void 0,(function(){var n=this;return s(this,(function(i){return Object(r["J"])()?Object(r["K"])("targetId",t,r["b"].STRING,!0)&&Object(r["K"])("messageUId",e,r["b"].STRING,!0)?[2,H((function(i,a){return o(n,void 0,void 0,(function(){var n,o,c;return s(this,(function(s){switch(s.label){case 0:return[4,i.getGroupMessageDeliverList(t,e)];case 1:return n=s.sent(),o=n.code,c=n.data,o===r["d"].SUCCESS?[2,{code:o,data:c}]:(a.warn(r["i"].A_GET_GROUP_MESSAGE_DELIVER_LIST_E,"code:".concat(o,", targetId:").concat(t," messageUId:").concat(e)),[2,{code:o,msg:X[o]}])}}))}))}))]:[2,{code:r["d"].BIZ_ERROR_INVALID_PARAMETER}]:[2,{code:r["d"].NOT_SUPPORT,msg:X[r["d"].NOT_SUPPORT]}]}))}))},clearLocalData:function(){return o(this,void 0,void 0,(function(){var t=this;return s(this,(function(e){return Object(r["J"])()?[2,H((function(e,n){return o(t,void 0,void 0,(function(){var t,i,o;return s(this,(function(s){switch(s.label){case 0:return n.info(r["i"].O,"clearLocalData ->"),[4,e.clearData()];case 1:return t=s.sent(),i=t.code,o=t.data,[2,{code:i,data:o}]}}))}))}))]:[2,{code:r["d"].NOT_SUPPORT,msg:X[r["d"].NOT_SUPPORT]}]}))}))}})},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e265:function(t,e,n){t.exports=n("ed33")},e394:function(t,e,n){var r=n("37a7"),i=n("cb7c"),o=n("38fd"),s=r.has,a=r.get,c=r.key,u=function(t,e,n){var r=s(t,e,n);if(r)return a(t,e,n);var i=o(e);return null!==i?u(t,i,n):void 0};r.exp({getMetadata:function(t,e){return u(t,i(e),arguments.length<3?void 0:c(arguments[2]))}})},e3d0:function(t,e,n){var r=n("37a7"),i=n("cb7c"),o=r.key,s=r.set;r.exp({defineMetadata:function(t,e,n,r){s(t,e,i(n),o(r))}})},e3db:function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},e3eb:function(t,e,n){const r=n("23db"),i=n("cd93"),o=n("c98f");t.exports=function t(e,{cleanKeys:n=[],cleanValues:s=[],emptyArrays:a=!0,emptyObjects:c=!0,emptyStrings:u=!0,NaNValues:l=!1,nullValues:f=!0,undefinedValues:h=!0}={}){return o(e,(e,o,d)=>{if(!n.includes(d)&&((Array.isArray(o)||i(o))&&(o=t(o,{NaNValues:l,cleanKeys:n,cleanValues:s,emptyArrays:a,emptyObjects:c,emptyStrings:u,nullValues:f,undefinedValues:h})),!s.includes(o)&&!(c&&i(o)&&r(o))&&(!a||!Array.isArray(o)||o.length)&&(!u||""!==o)&&(!l||!Number.isNaN(o))&&(!f||null!==o)&&(!h||void 0!==o)))return Array.isArray(e)?e.push(o):void(e[d]=o)})}},e418:function(t,e,n){!function(e,n){t.exports=n()}(0,(function(){"use strict";return function(t,e,n){e.prototype.isBetween=function(t,e,r,i){var o=n(t),s=n(e),a="("===(i=i||"()")[0],c=")"===i[1];return(a?this.isAfter(o,r):!this.isBefore(o,r))&&(c?this.isBefore(s,r):!this.isAfter(s,r))||(a?this.isBefore(o,r):!this.isAfter(o,r))&&(c?this.isAfter(s,r):!this.isBefore(s,r))}}}))},e4ae:function(t,e,n){var r=n("f772");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},e4f7:function(t,e,n){var r=n("4bf8"),i=n("38fd");n("5eda")("getPrototypeOf",(function(){return function(t){return i(r(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)},e630:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("774e"),i=n.n(r),o=n("db2a");function s(t,e){if(t){if("string"===typeof t)return Object(o["a"])(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?i()(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(o["a"])(t,e):void 0}}},e683:function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},e6f3:function(t,e,n){var r=n("07e3"),i=n("36c3"),o=n("5b4e")(!1),s=n("5559")("IE_PROTO");t.exports=function(t,e){var n,a=i(t),c=0,u=[];for(n in a)n!=s&&r(a,n)&&u.push(n);while(e.length>c)r(a,n=e[c++])&&(~o(u,n)||u.push(n));return u}},e76a:function(t,e,n){"use strict";const r={allRenderFn:!1,cmpDidLoad:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpDidRender:!0,cmpWillLoad:!0,cmpWillUpdate:!0,cmpWillRender:!0,connectedCallback:!0,disconnectedCallback:!0,element:!0,event:!0,hasRenderFn:!0,lifecycle:!0,hostListener:!0,hostListenerTargetWindow:!0,hostListenerTargetDocument:!0,hostListenerTargetBody:!0,hostListenerTargetParent:!1,hostListenerTarget:!0,member:!0,method:!0,mode:!0,observeAttribute:!0,prop:!0,propMutable:!0,reflect:!0,scoped:!0,shadowDom:!0,slot:!0,cssAnnotations:!0,state:!0,style:!0,svg:!0,updatable:!0,vdomAttribute:!0,vdomXlink:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomRef:!0,vdomPropOrAttr:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,watchCallback:!0,taskQueue:!0,hotModuleReplacement:!1,isDebug:!1,isDev:!1,isTesting:!1,hydrateServerSide:!1,hydrateClientSide:!1,lifecycleDOMEvents:!1,lazyLoad:!1,profile:!1,slotRelocation:!0,appendChildSlotFix:!1,cloneNodeFix:!1,hydratedAttribute:!1,hydratedClass:!0,safari10:!1,scriptDataOpts:!1,shadowDomShim:!1,slotChildNodesFix:!1,propBoolean:!0,propNumber:!0,propString:!0,cssVarShim:!1,constructableCSS:!0,cmpShouldUpdate:!0,devTools:!1,dynamicImportShim:!1,shadowDelegatesFocus:!0,initializeNextTick:!1,asyncLoading:!1,asyncQueue:!1,transformTagName:!1,attachStyles:!0},i="app";let o,s,a,c,u=0,l=!1,f=!1,h=!1,d=!1,p=null,g=0,v=!1;const y="undefined"!==typeof window?window:{},m=(r.cssVarShim&&y.CSS,y.document||{head:{}}),I=(y.HTMLElement,{$flags$:0,$resourcesUrl$:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,r)=>t.addEventListener(e,n,r),rel:(t,e,n,r)=>t.removeEventListener(e,n,r),ce:(t,e)=>new CustomEvent(t,e)}),M=!r.shadowDomShim||!r.shadowDom||(()=>(m.head.attachShadow+"").indexOf("[native")>-1)(),b=(()=>{let t=!1;try{m.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch(e){}return t})(),_=t=>Promise.resolve(t),A=!!r.constructableCSS&&(()=>{try{return new CSSStyleSheet,"function"===typeof(new CSSStyleSheet).replace}catch(t){}return!1})(),C=(t,e,n,i)=>{r.hostListener&&n&&(r.hostListenerTargetParent&&(n=i?n.filter(([t])=>32&t):n.filter(([t])=>!(32&t))),n.map(([n,i,o])=>{const s=r.hostListenerTarget?E(t,n):t,a=T(e,o),c=w(n);I.ael(s,i,a,c),(e.$rmListeners$=e.$rmListeners$||[]).push(()=>I.rel(s,i,a,c))}))},T=(t,e)=>n=>{try{r.lazyLoad?256&t.$flags$?t.$lazyInstance$[e](n):(t.$queuedListeners$=t.$queuedListeners$||[]).push([e,n]):t.$hostElement$[e](n)}catch(i){ie(i)}},E=(t,e)=>r.hostListenerTargetDocument&&4&e?m:r.hostListenerTargetWindow&&8&e?y:r.hostListenerTargetBody&&16&e?m.body:r.hostListenerTargetParent&&32&e?t.parentElement:t,w=t=>b?{passive:0!==(1&t),capture:0!==(2&t)}:0!==(2&t),N="r",S="o",O="s",D="t",R="s-id",L="sty-id",x="c-id",j="http://www.w3.org/1999/xlink",k=(t,e="")=>{if(r.profile&&performance.mark){const n=`st:${t}:${e}:${u++}`;return performance.mark(n),()=>performance.measure(`[Stencil] ${t}() <${e}>`,n)}return()=>{}},P=(t,e)=>r.profile&&performance.mark?(0===performance.getEntriesByName(t).length&&performance.mark(t),()=>{0===performance.getEntriesByName(e).length&&performance.measure(e,t)}):()=>{},U=new WeakMap,z=(t,e,n)=>{let r=le.get(t);A&&n?(r=r||new CSSStyleSheet,r.replace(e)):r=e,le.set(t,r)},G=(t,e,n,i)=>{let o=Y(e,n),s=le.get(o);if(!r.attachStyles)return o;if(t=11===t.nodeType?t:m,s)if("string"===typeof s){t=t.head||t;let n,a=U.get(t);if(a||U.set(t,a=new Set),!a.has(o)){if(r.hydrateClientSide&&t.host&&(n=t.querySelector(`[${L}="${o}"]`)))n.innerHTML=s;else{if(r.cssVarShim&&I.$cssShim$){n=I.$cssShim$.createHostStyle(i,o,s,!!(10&e.$flags$));const t=n["s-sc"];t&&(o=t,a=null)}else n=m.createElement("style"),n.innerHTML=s;(r.hydrateServerSide||r.hotModuleReplacement)&&n.setAttribute(L,o),t.insertBefore(n,t.querySelector("link"))}a&&a.add(o)}}else r.constructableCSS&&!t.adoptedStyleSheets.includes(s)&&(t.adoptedStyleSheets=[...t.adoptedStyleSheets,s]);return o},B=t=>{const e=t.$cmpMeta$,n=t.$hostElement$,i=e.$flags$,o=k("attachStyles",e.$tagName$),s=G(r.shadowDom&&M&&n.shadowRoot?n.shadowRoot:n.getRootNode(),e,t.$modeName$,n);(r.shadowDom||r.scoped)&&r.cssAnnotations&&10&i&&(n["s-sc"]=s,n.classList.add(s+"-h"),r.scoped&&2&i&&n.classList.add(s+"-s")),o()},Y=(t,e)=>"sc-"+(r.mode&&e&&32&t.$flags$?t.$tagName$+"-"+e:t.$tagName$),F=t=>fe.map(e=>e(t)).find(t=>!!t),$={},H="http://www.w3.org/2000/svg",V="http://www.w3.org/1999/xhtml",Q=t=>null!=t,W=t=>(t=typeof t,"object"===t||"function"===t),Z=(t,e,...n)=>{let i=null,o=null,s=null,a=!1,c=!1,u=[];const l=e=>{for(let n=0;n<e.length;n++)i=e[n],Array.isArray(i)?l(i):null!=i&&"boolean"!==typeof i&&((a="function"!==typeof t&&!W(i))?i=String(i):r.isDev&&"function"!==typeof t&&void 0===i.$flags$&&se("vNode passed as children has unexpected type.\nMake sure it's using the correct h() function.\nEmpty objects can also be the cause, look for JSX comments that became objects."),a&&c?u[u.length-1].$text$+=i:u.push(a?K(null,i):i),c=a)};if(l(n),e&&(r.isDev&&"input"===t&&nt(e),r.vdomKey&&e.key&&(o=e.key),r.slotRelocation&&e.name&&(s=e.name),r.vdomClass)){const t=e.className||e.class;t&&(e.class="object"!==typeof t?t:Object.keys(t).filter(e=>t[e]).join(" "))}if(r.isDev&&u.some(J)&&se("The <Host> must be the single root component. Make sure:\n- You are NOT using hostData() and <Host> in the same component.\n- <Host> is used once, and it's the single root component of the render() function."),r.vdomFunctional&&"function"===typeof t)return t(null===e?{}:e,u,X);const f=K(t,null);return f.$attrs$=e,u.length>0&&(f.$children$=u),r.vdomKey&&(f.$key$=o),r.slotRelocation&&(f.$name$=s),f},K=(t,e)=>{const n={$flags$:0,$tag$:t,$text$:e,$elm$:null,$children$:null};return r.vdomAttribute&&(n.$attrs$=null),r.vdomKey&&(n.$key$=null),r.slotRelocation&&(n.$name$=null),n},q={},J=t=>t&&t.$tag$===q,X={forEach:(t,e)=>t.map(tt).forEach(e),map:(t,e)=>t.map(tt).map(e).map(et)},tt=t=>({vattrs:t.$attrs$,vchildren:t.$children$,vkey:t.$key$,vname:t.$name$,vtag:t.$tag$,vtext:t.$text$}),et=t=>{if("function"===typeof t.vtag){const e=Object.assign({},t.vattrs);return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),Z(t.vtag,e,...t.vchildren||[])}const e=K(t.vtag,t.vtext);return e.$attrs$=t.vattrs,e.$children$=t.vchildren,e.$key$=t.vkey,e.$name$=t.vname,e},nt=t=>{const e=Object.keys(t),n=e.indexOf("type"),r=e.indexOf("min"),i=e.indexOf("max"),o=e.indexOf("min"),s=e.indexOf("value");-1!==s&&(s<n||s<r||s<i||s<o)&&ae('The "value" prop of <input> should be set after "min", "max", "type" and "step"')},rt=(t,e,n,i,o,s)=>{if(n!==i){let c=re(t,e),u=e.toLowerCase();if(r.vdomClass&&"class"===e){const e=t.classList,r=ot(n),o=ot(i);e.remove(...r.filter(t=>t&&!o.includes(t))),e.add(...o.filter(t=>t&&!r.includes(t)))}else if(r.vdomStyle&&"style"===e){if(r.updatable)for(const e in n)i&&null!=i[e]||(!r.hydrateServerSide&&e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in i)n&&i[e]===n[e]||(!r.hydrateServerSide&&e.includes("-")?t.style.setProperty(e,i[e]):t.style[e]=i[e])}else if(r.vdomKey&&"key"===e);else if(r.vdomRef&&"ref"===e)i&&i(t);else if(!r.vdomListener||(r.lazyLoad?c:t.__lookupSetter__(e))||"o"!==e[0]||"n"!==e[1]){if(r.vdomPropOrAttr){const l=W(i);if((c||l&&null!==i)&&!o)try{if(t.tagName.includes("-"))t[e]=i;else{let r=null==i?"":i;"list"===e?c=!1:null!=n&&t[e]==r||(t[e]=r)}}catch(a){}let f=!1;r.vdomXlink&&u!==(u=u.replace(/^xlink\:?/,""))&&(e=u,f=!0),null==i||!1===i?!1===i&&""!==t.getAttribute(e)||(r.vdomXlink&&f?t.removeAttributeNS(j,e):t.removeAttribute(e)):(!c||4&s||o)&&!l&&(i=!0===i?"":i,r.vdomXlink&&f?t.setAttributeNS(j,e,i):t.setAttribute(e,i))}}else e="-"===e[2]?e.slice(3):re(y,u)?u.slice(2):u[2]+e.slice(3),n&&I.rel(t,e,n,!1),i&&I.ael(t,e,i,!1)}},it=/\s/,ot=t=>t?t.split(it):[],st=(t,e,n,i)=>{const o=11===e.$elm$.nodeType&&e.$elm$.host?e.$elm$.host:e.$elm$,s=t&&t.$attrs$||$,a=e.$attrs$||$;if(r.updatable)for(i in s)i in a||rt(o,i,s[i],void 0,n,e.$flags$);for(i in a)rt(o,i,s[i],a[i],n,e.$flags$)},at=(t,e,n,i)=>{let c,u,f,p=e.$children$[n],g=0;if(r.slotRelocation&&!l&&(h=!0,"slot"===p.$tag$&&(o&&i.classList.add(o+"-s"),p.$flags$|=p.$children$?2:1)),r.isDev&&p.$elm$&&se(`The JSX ${null!==p.$text$?`"${p.$text$}" text`:`"${p.$tag$}" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`),r.vdomText&&null!==p.$text$)c=p.$elm$=m.createTextNode(p.$text$);else if(r.slotRelocation&&1&p.$flags$)c=p.$elm$=r.isDebug||r.hydrateServerSide?_t(p):m.createTextNode("");else{if(r.svg&&!d&&(d="svg"===p.$tag$),c=p.$elm$=r.svg?m.createElementNS(d?H:V,r.slotRelocation&&2&p.$flags$?"slot-fb":p.$tag$):m.createElement(r.slotRelocation&&2&p.$flags$?"slot-fb":p.$tag$),r.svg&&d&&"foreignObject"===p.$tag$&&(d=!1),r.vdomAttribute&&st(null,p,d),(r.shadowDom||r.scoped)&&Q(o)&&c["s-si"]!==o&&c.classList.add(c["s-si"]=o),p.$children$)for(g=0;g<p.$children$.length;++g)u=at(t,p,g,c),u&&c.appendChild(u);r.svg&&("svg"===p.$tag$?d=!1:"foreignObject"===c.tagName&&(d=!0))}return r.slotRelocation&&(c["s-hn"]=a,3&p.$flags$&&(c["s-sr"]=!0,c["s-cr"]=s,c["s-sn"]=p.$name$||"",f=t&&t.$children$&&t.$children$[n],f&&f.$tag$===p.$tag$&&t.$elm$&&ct(t.$elm$,!1))),c},ct=(t,e)=>{I.$flags$|=1;const n=t.childNodes;for(let r=n.length-1;r>=0;r--){const t=n[r];t["s-hn"]!==a&&t["s-ol"]&&(pt(t).insertBefore(t,dt(t)),t["s-ol"].remove(),t["s-ol"]=void 0,h=!0),e&&ct(t,e)}I.$flags$&=-2},ut=(t,e,n,i,o,s)=>{let c,u=r.slotRelocation&&t["s-cr"]&&t["s-cr"].parentNode||t;for(r.shadowDom&&u.shadowRoot&&u.tagName===a&&(u=u.shadowRoot);o<=s;++o)i[o]&&(c=at(null,n,o,t),c&&(i[o].$elm$=c,u.insertBefore(c,r.slotRelocation?dt(e):e)))},lt=(t,e,n,i,o)=>{for(;e<=n;++e)(i=t[e])&&(o=i.$elm$,Mt(i),r.slotRelocation&&(f=!0,o["s-ol"]?o["s-ol"].remove():ct(o,!0)),o.remove())},ft=(t,e,n,i)=>{let o,s,a=0,c=0,u=0,l=0,f=e.length-1,h=e[0],d=e[f],p=i.length-1,g=i[0],v=i[p];while(a<=f&&c<=p)if(null==h)h=e[++a];else if(null==d)d=e[--f];else if(null==g)g=i[++c];else if(null==v)v=i[--p];else if(ht(h,g))gt(h,g),h=e[++a],g=i[++c];else if(ht(d,v))gt(d,v),d=e[--f],v=i[--p];else if(ht(h,v))!r.slotRelocation||"slot"!==h.$tag$&&"slot"!==v.$tag$||ct(h.$elm$.parentNode,!1),gt(h,v),t.insertBefore(h.$elm$,d.$elm$.nextSibling),h=e[++a],v=i[--p];else if(ht(d,g))!r.slotRelocation||"slot"!==h.$tag$&&"slot"!==v.$tag$||ct(d.$elm$.parentNode,!1),gt(d,g),t.insertBefore(d.$elm$,h.$elm$),d=e[--f],g=i[++c];else{if(u=-1,r.vdomKey)for(l=a;l<=f;++l)if(e[l]&&null!==e[l].$key$&&e[l].$key$===g.$key$){u=l;break}r.vdomKey&&u>=0?(s=e[u],s.$tag$!==g.$tag$?o=at(e&&e[c],n,u,t):(gt(s,g),e[u]=void 0,o=s.$elm$),g=i[++c]):(o=at(e&&e[c],n,c,t),g=i[++c]),o&&(r.slotRelocation?pt(h.$elm$).insertBefore(o,dt(h.$elm$)):h.$elm$.parentNode.insertBefore(o,h.$elm$))}a>f?ut(t,null==i[p+1]?null:i[p+1].$elm$,n,i,c,p):r.updatable&&c>p&<(e,a,f)},ht=(t,e)=>t.$tag$===e.$tag$&&(r.slotRelocation&&"slot"===t.$tag$?t.$name$===e.$name$:!r.vdomKey||t.$key$===e.$key$),dt=t=>t&&t["s-ol"]||t,pt=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,gt=(t,e)=>{const n=e.$elm$=t.$elm$,i=t.$children$,o=e.$children$,s=e.$tag$,a=e.$text$;let c;r.vdomText&&null!==a?r.vdomText&&r.slotRelocation&&(c=n["s-cr"])?c.parentNode.textContent=a:r.vdomText&&t.$text$!==a&&(n.data=a):(r.svg&&(d="svg"===s||"foreignObject"!==s&&d),(r.vdomAttribute||r.reflect)&&(r.slot&&"slot"===s||st(t,e,d)),r.updatable&&null!==i&&null!==o?ft(n,i,e,o):null!==o?(r.updatable&&r.vdomText&&null!==t.$text$&&(n.textContent=""),ut(n,null,e,o,0,o.length-1)):r.updatable&&null!==i&<(i,0,i.length-1),r.svg&&d&&"svg"===s&&(d=!1))},vt=t=>{let e,n,r,i,o,s,a=t.childNodes;for(n=0,r=a.length;n<r;n++)if(e=a[n],1===e.nodeType){if(e["s-sr"])for(o=e["s-sn"],e.hidden=!1,i=0;i<r;i++)if(s=a[i].nodeType,a[i]["s-hn"]!==e["s-hn"]||""!==o){if(1===s&&o===a[i].getAttribute("slot")){e.hidden=!0;break}}else if(1===s||3===s&&""!==a[i].textContent.trim()){e.hidden=!0;break}vt(e)}},yt=[],mt=t=>{let e,n,r,i,o,s,a=0,c=t.childNodes,u=c.length;for(;a<u;a++){if(e=c[a],e["s-sr"]&&(n=e["s-cr"])&&n.parentNode)for(r=n.parentNode.childNodes,i=e["s-sn"],s=r.length-1;s>=0;s--)n=r[s],n["s-cn"]||n["s-nr"]||n["s-hn"]===e["s-hn"]||(It(n,i)?(o=yt.find(t=>t.$nodeToRelocate$===n),f=!0,n["s-sn"]=n["s-sn"]||i,o?o.$slotRefNode$=e:yt.push({$slotRefNode$:e,$nodeToRelocate$:n}),n["s-sr"]&&yt.map(t=>{It(t.$nodeToRelocate$,n["s-sn"])&&(o=yt.find(t=>t.$nodeToRelocate$===n),o&&!t.$slotRefNode$&&(t.$slotRefNode$=o.$slotRefNode$))})):yt.some(t=>t.$nodeToRelocate$===n)||yt.push({$nodeToRelocate$:n}));1===e.nodeType&&mt(e)}},It=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,Mt=t=>{r.vdomRef&&(t.$attrs$&&t.$attrs$.ref&&t.$attrs$.ref(null),t.$children$&&t.$children$.map(Mt))},bt=(t,e)=>{const n=t.$hostElement$,i=t.$cmpMeta$,c=t.$vnode$||K(null,null),u=J(e)?e:Z(null,null,e);if(a=n.tagName,r.isDev&&Array.isArray(e)&&e.some(J))throw new Error(`The <Host> must be the single root component.\nLooks like the render() function of "${a.toLowerCase()}" is returning an array that contains the <Host>.\n\nThe render() function should look like this instead:\n\nrender() {\n // Do not return an array\n return (\n <Host>{content}</Host>\n );\n}\n `);if(r.reflect&&i.$attrsToReflect$&&(u.$attrs$=u.$attrs$||{},i.$attrsToReflect$.map(([t,e])=>u.$attrs$[e]=n[t])),u.$tag$=null,u.$flags$|=4,t.$vnode$=u,u.$elm$=c.$elm$=r.shadowDom&&n.shadowRoot||n,(r.scoped||r.shadowDom)&&(o=n["s-sc"]),r.slotRelocation&&(s=n["s-cr"],l=M&&0!==(1&i.$flags$),f=!1),gt(c,u),r.slotRelocation){if(I.$flags$|=1,h){let t,e,n,i,o,s;mt(u.$elm$);let a=0;for(;a<yt.length;a++)t=yt[a],e=t.$nodeToRelocate$,e["s-ol"]||(n=r.isDebug||r.hydrateServerSide?At(e):m.createTextNode(""),n["s-nr"]=e,e.parentNode.insertBefore(e["s-ol"]=n,e));for(a=0;a<yt.length;a++)if(t=yt[a],e=t.$nodeToRelocate$,t.$slotRefNode$){i=t.$slotRefNode$.parentNode,o=t.$slotRefNode$.nextSibling,n=e["s-ol"];while(n=n.previousSibling)if(s=n["s-nr"],s&&s["s-sn"]===e["s-sn"]&&i===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){o=s;break}(!o&&i!==e.parentNode||e.nextSibling!==o)&&e!==o&&(!e["s-hn"]&&e["s-ol"]&&(e["s-hn"]=e["s-ol"].parentNode.nodeName),i.insertBefore(e,o))}else 1===e.nodeType&&(e.hidden=!0)}f&&vt(u.$elm$),I.$flags$&=-2,yt.length=0}},_t=t=>m.createComment(`<slot${t.$name$?' name="'+t.$name$+'"':""}> (host=${a.toLowerCase()})`),At=t=>m.createComment("org-location for "+(t.localName?`<${t.localName}> (host=${t["s-hn"]})`:`[${t.textContent}]`)),Ct=t=>r.lazyLoad?ee(t).$hostElement$:t,Tt=(t,e,n)=>{const i=Ct(t);return{emit:t=>(r.isDev&&!i.isConnected&&ae(`The "${e}" event was emitted, but the dispatcher node is no longer connected to the dom.`),Et(i,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t}))}},Et=(t,e,n)=>{const r=I.ce(e,n);return t.dispatchEvent(r),r},wt=(t,e)=>{r.asyncLoading&&e&&!t.$onRenderResolve$&&e["s-p"]&&e["s-p"].push(new Promise(e=>t.$onRenderResolve$=e))},Nt=(t,e)=>{if(r.taskQueue&&r.updatable&&(t.$flags$|=16),r.asyncLoading&&4&t.$flags$)return void(t.$flags$|=512);wt(t,t.$ancestorComponent$);const n=()=>St(t,e);return r.taskQueue?Me(n):n()},St=(t,e)=>{const n=t.$hostElement$,i=k("scheduleUpdate",t.$cmpMeta$.$tagName$),o=r.lazyLoad?t.$lazyInstance$:n;let s;return e?(r.lazyLoad&&r.hostListener&&(t.$flags$|=256,t.$queuedListeners$&&(t.$queuedListeners$.map(([t,e])=>xt(o,t,e)),t.$queuedListeners$=null)),kt(n,"componentWillLoad"),r.cmpWillLoad&&(s=xt(o,"componentWillLoad"))):(kt(n,"componentWillUpdate"),r.cmpWillUpdate&&(s=xt(o,"componentWillUpdate"))),kt(n,"componentWillRender"),r.cmpWillRender&&(s=jt(s,()=>xt(o,"componentWillRender"))),i(),jt(s,()=>Ot(t,o,e))},Ot=async(t,e,n)=>{const i=t.$hostElement$,o=k("update",t.$cmpMeta$.$tagName$),s=i["s-rc"];r.style&&n&&B(t);const a=k("render",t.$cmpMeta$.$tagName$);if(r.isDev&&(t.$flags$|=1024),r.hydrateServerSide?await Dt(t,e,i):Dt(t,e,i),r.cssVarShim&&I.$cssShim$&&I.$cssShim$.updateHost(i),r.isDev&&(t.$renderCount$++,t.$flags$&=-1025),r.hydrateServerSide)try{Ut(i),n&&(1&t.$cmpMeta$.$flags$?i["s-en"]="":2&t.$cmpMeta$.$flags$&&(i["s-en"]="c"))}catch(c){ie(c,i)}if(r.asyncLoading&&s&&(s.map(t=>t()),i["s-rc"]=void 0),a(),o(),r.asyncLoading){const e=i["s-p"],n=()=>Rt(t);0===e.length?n():(Promise.all(e).then(n),t.$flags$|=4,e.length=0)}else Rt(t)},Dt=(t,e,n)=>{const i=!!r.allRenderFn,o=!!r.lazyLoad,s=!!r.taskQueue,a=!!r.updatable;try{if(p=e,e=(i||e.render)&&e.render(),a&&s&&(t.$flags$&=-17),(a||o)&&(t.$flags$|=2),r.hasRenderFn||r.reflect)if(r.vdomRender||r.reflect){if(r.hydrateServerSide)return Promise.resolve(e).then(e=>bt(t,e));bt(t,e)}else n.textContent=e}catch(c){ie(c,t.$hostElement$)}return p=null,null},Rt=t=>{const e=t.$cmpMeta$.$tagName$,n=t.$hostElement$,i=k("postUpdate",e),o=r.lazyLoad?t.$lazyInstance$:n,s=t.$ancestorComponent$;r.cmpDidRender&&(r.isDev&&(t.$flags$|=1024),xt(o,"componentDidRender"),r.isDev&&(t.$flags$&=-1025)),kt(n,"componentDidRender"),64&t.$flags$?(r.cmpDidUpdate&&(r.isDev&&(t.$flags$|=1024),xt(o,"componentDidUpdate"),r.isDev&&(t.$flags$&=-1025)),kt(n,"componentDidUpdate"),i()):(t.$flags$|=64,r.asyncLoading&&r.cssAnnotations&&Pt(n),r.cmpDidLoad&&(r.isDev&&(t.$flags$|=2048),xt(o,"componentDidLoad"),r.isDev&&(t.$flags$&=-2049)),kt(n,"componentDidLoad"),i(),r.asyncLoading&&(t.$onReadyResolve$(n),s||Lt(e))),r.hotModuleReplacement&&n["s-hmr-load"]&&n["s-hmr-load"](),r.method&&r.lazyLoad&&t.$onInstanceResolve$(n),r.asyncLoading&&(t.$onRenderResolve$&&(t.$onRenderResolve$(),t.$onRenderResolve$=void 0),512&t.$flags$&&Ie(()=>Nt(t,!1)),t.$flags$&=-517)},Lt=t=>{r.cssAnnotations&&Pt(m.documentElement),r.asyncQueue&&(I.$flags$|=2),Ie(()=>Et(y,"appload",{detail:{namespace:i}})),r.profile&&performance.measure&&performance.measure(`[Stencil] ${i} initial load (by ${t})`,"st:app:start")},xt=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(r){ie(r)}},jt=(t,e)=>t&&t.then?t.then(e):e(),kt=(t,e)=>{r.lifecycleDOMEvents&&Et(t,"stencil_"+e,{bubbles:!0,composed:!0,detail:{namespace:i}})},Pt=t=>r.hydratedClass?t.classList.add("hydrated"):r.hydratedAttribute?t.setAttribute("hydrated",""):void 0,Ut=t=>{const e=t.children;if(null!=e)for(let n=0,r=e.length;n<r;n++){const t=e[n];"function"===typeof t.connectedCallback&&t.connectedCallback(),Ut(t)}},zt=(t,e,n,i)=>{const o=k("hydrateClient",e),s=t.shadowRoot,a=[],c=[],u=r.shadowDom&&s?[]:null,l=i.$vnode$=K(e,null);I.$orgLocNodes$||Bt(m.body,I.$orgLocNodes$=new Map),t[R]=n,t.removeAttribute(R),Gt(l,a,c,u,t,t,n),a.map(t=>{const n=t.$hostId$+"."+t.$nodeId$,r=I.$orgLocNodes$.get(n),i=t.$elm$;r&&M&&""===r["s-en"]&&r.parentNode.insertBefore(i,r.nextSibling),s||(i["s-hn"]=e,r&&(i["s-ol"]=r,i["s-ol"]["s-nr"]=i)),I.$orgLocNodes$.delete(n)}),r.shadowDom&&s&&u.map(t=>{t&&s.appendChild(t)}),o()},Gt=(t,e,n,i,o,s,a)=>{let c,u,l,f;if(1===s.nodeType){for(c=s.getAttribute(x),c&&(u=c.split("."),u[0]!==a&&"0"!==u[0]||(l={$flags$:0,$hostId$:u[0],$nodeId$:u[1],$depth$:u[2],$index$:u[3],$tag$:s.tagName.toLowerCase(),$elm$:s,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},e.push(l),s.removeAttribute(x),t.$children$||(t.$children$=[]),t.$children$[l.$index$]=l,t=l,i&&"0"===l.$depth$&&(i[l.$index$]=l.$elm$))),f=s.childNodes.length-1;f>=0;f--)Gt(t,e,n,i,o,s.childNodes[f],a);if(s.shadowRoot)for(f=s.shadowRoot.childNodes.length-1;f>=0;f--)Gt(t,e,n,i,o,s.shadowRoot.childNodes[f],a)}else if(8===s.nodeType)u=s.nodeValue.split("."),u[1]!==a&&"0"!==u[1]||(c=u[0],l={$flags$:0,$hostId$:u[1],$nodeId$:u[2],$depth$:u[3],$index$:u[4],$elm$:s,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},c===D?(l.$elm$=s.nextSibling,l.$elm$&&3===l.$elm$.nodeType&&(l.$text$=l.$elm$.textContent,e.push(l),s.remove(),t.$children$||(t.$children$=[]),t.$children$[l.$index$]=l,i&&"0"===l.$depth$&&(i[l.$index$]=l.$elm$))):l.$hostId$===a&&(c===O?(l.$tag$="slot",u[5]?s["s-sn"]=l.$name$=u[5]:s["s-sn"]="",s["s-sr"]=!0,r.shadowDom&&i&&(l.$elm$=m.createElement(l.$tag$),l.$name$&&l.$elm$.setAttribute("name",l.$name$),s.parentNode.insertBefore(l.$elm$,s),s.remove(),"0"===l.$depth$&&(i[l.$index$]=l.$elm$)),n.push(l),t.$children$||(t.$children$=[]),t.$children$[l.$index$]=l):c===N&&(r.shadowDom&&i?s.remove():r.slotRelocation&&(o["s-cr"]=s,s["s-cn"]=!0))));else if(t&&"style"===t.$tag$){const e=K(null,s.textContent);e.$elm$=s,e.$index$="0",t.$children$=[e]}},Bt=(t,e)=>{if(1===t.nodeType){let n=0;for(;n<t.childNodes.length;n++)Bt(t.childNodes[n],e);if(t.shadowRoot)for(n=0;n<t.shadowRoot.childNodes.length;n++)Bt(t.shadowRoot.childNodes[n],e)}else if(8===t.nodeType){const n=t.nodeValue.split(".");n[0]===S&&(e.set(n[1]+"."+n[2],t),t.nodeValue="",t["s-en"]=n[3])}},Yt=(t,e)=>null==t||W(t)?t:r.propBoolean&&4&e?"false"!==t&&(""===t||!!t):r.propNumber&&2&e?parseFloat(t):r.propString&&1&e?String(t):t,Ft=(t,e)=>ee(t).$instanceValues$.get(e),$t=(t,e,n,i)=>{const o=ee(t),s=r.lazyLoad?o.$hostElement$:t,a=o.$instanceValues$.get(e),c=o.$flags$,u=r.lazyLoad?o.$lazyInstance$:s;if(n=Yt(n,i.$members$[e][0]),(!r.lazyLoad||!(8&c)||void 0===a)&&n!==a&&(o.$instanceValues$.set(e,n),r.isDev&&(1024&o.$flags$?ae(`The state/prop "${e}" changed during rendering. This can potentially lead to infinite-loops and other bugs.`,"\nElement",s,"\nNew value",n,"\nOld value",a):2048&o.$flags$&&ae(`The state/prop "${e}" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"`,"\nElement",s,"\nNew value",n,"\nOld value",a)),!r.lazyLoad||u)){if(r.watchCallback&&i.$watchers$&&128&c){const t=i.$watchers$[e];t&&t.map(t=>{try{u[t](n,a,e)}catch(r){ie(r,s)}})}if(r.updatable&&2===(18&c)){if(r.cmpShouldUpdate&&u.componentShouldUpdate&&!1===u.componentShouldUpdate(n,a,e))return;Nt(o,!1)}}},Ht=(t,e,n)=>{if(r.member&&e.$members$){r.watchCallback&&t.watchers&&(e.$watchers$=t.watchers);const i=Object.entries(e.$members$),o=t.prototype;if(i.map(([t,[i]])=>{(r.prop||r.state)&&(31&i||(!r.lazyLoad||2&n)&&32&i)?Object.defineProperty(o,t,{get(){return Ft(this,t)},set(o){if(r.isDev){const r=ee(this);0===(1&n)&&0===(8&r.$flags$)&&0!==(31&i)&&0===(1024&i)&&ae(`@Prop() "${t}" on <${e.$tagName$}> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability`)}$t(this,t,o,e)},configurable:!0,enumerable:!0}):r.lazyLoad&&r.method&&1&n&&64&i&&Object.defineProperty(o,t,{value(...e){const n=ee(this);return n.$onInstancePromise$.then(()=>n.$lazyInstance$[t](...e))}})}),r.observeAttribute&&(!r.lazyLoad||1&n)){const n=new Map;o.attributeChangedCallback=function(t,e,r){I.jmp(()=>{const e=n.get(t);this.hasOwnProperty(e)&&(r=this[e],delete this[e]),this[e]=(null!==r||"boolean"!==typeof this[e])&&r})},t.observedAttributes=i.filter(([t,e])=>15&e[0]).map(([t,i])=>{const o=i[1]||t;return n.set(o,t),r.reflect&&512&i[0]&&e.$attrsToReflect$.push([t,o]),o})}}return t},Vt=async(t,e,i,o,s)=>{if((r.lazyLoad||r.hydrateServerSide||r.style)&&0===(32&e.$flags$)){if(r.lazyLoad||r.hydrateClientSide){if(e.$flags$|=32,s=ue(i,e,o),s.then){const t=P(`st:load:${i.$tagName$}:${e.$modeName$}`,`[Stencil] Load module for <${i.$tagName$}>`);s=await s,t()}if((r.isDev||r.isDebug)&&!s)throw new Error(`Constructor for "${i.$tagName$}#${e.$modeName$}" was not found`);r.member&&!s.isProxied&&(r.watchCallback&&(i.$watchers$=s.watchers),Ht(s,i,2),s.isProxied=!0);const t=k("createInstance",i.$tagName$);r.member&&(e.$flags$|=8);try{new s(e)}catch(u){ie(u)}r.member&&(e.$flags$&=-9),r.watchCallback&&(e.$flags$|=128),t(),Qt(e.$lazyInstance$)}else s=t.constructor,e.$flags$|=32,customElements.whenDefined(i.$tagName$).then(()=>e.$flags$|=128);if(r.style&&s.style){let o=s.style;r.mode&&"string"!==typeof o&&(o=o[e.$modeName$=F(t)],r.hydrateServerSide&&e.$modeName$&&t.setAttribute("s-mode",e.$modeName$));const a=Y(i,e.$modeName$);if(!le.has(a)){const t=k("registerStyles",i.$tagName$);!r.hydrateServerSide&&r.shadowDom&&r.shadowDomShim&&8&i.$flags$&&(o=await n.e("chunk-2d2080c7").then(n.bind(null,"a2aa")).then(t=>t.scopeCss(o,a,!1))),z(a,o,!!(1&i.$flags$)),t()}}}const a=e.$ancestorComponent$,c=()=>Nt(e,!0);r.asyncLoading&&a&&a["s-rc"]?a["s-rc"].push(c):c()},Qt=t=>{r.lazyLoad&&r.connectedCallback&&xt(t,"connectedCallback")},Wt=t=>{if(0===(1&I.$flags$)){const e=ee(t),n=e.$cmpMeta$,i=k("connectedCallback",n.$tagName$);if(r.hostListenerTargetParent&&C(t,e,n.$listeners$,!0),1&e.$flags$)C(t,e,n.$listeners$,!1),Qt(e.$lazyInstance$);else{let i;if(e.$flags$|=1,r.hydrateClientSide&&(i=t.getAttribute(R),i)){if(r.shadowDom&&M&&1&n.$flags$){const e=r.mode?G(t.shadowRoot,n,t.getAttribute("s-mode")):G(t.shadowRoot,n);t.classList.remove(e+"-h",e+"-s")}zt(t,n.$tagName$,i,e)}if(r.slotRelocation&&!i&&(r.hydrateServerSide||(r.slot||r.shadowDom)&&12&n.$flags$)&&Zt(t),r.asyncLoading){let n=t;while(n=n.parentNode||n.host)if(r.hydrateClientSide&&1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){wt(e,e.$ancestorComponent$=n);break}}r.prop&&!r.hydrateServerSide&&n.$members$&&Object.entries(n.$members$).map(([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}}),r.initializeNextTick?Ie(()=>Vt(t,e,n)):Vt(t,e,n)}i()}},Zt=t=>{const e=t["s-cr"]=m.createComment(r.isDebug?`content-ref (host=${t.localName})`:"");e["s-cn"]=!0,t.insertBefore(e,t.firstChild)},Kt=t=>{if(0===(1&I.$flags$)){const e=ee(t),n=r.lazyLoad?e.$lazyInstance$:t;r.hostListener&&e.$rmListeners$&&(e.$rmListeners$.map(t=>t()),e.$rmListeners$=void 0),r.cssVarShim&&I.$cssShim$&&I.$cssShim$.removeHost(t),r.lazyLoad&&r.disconnectedCallback&&xt(n,"disconnectedCallback"),r.cmpDidUnload&&xt(n,"componentDidUnload")}},qt=(t,e)=>{const n={$flags$:e[0],$tagName$:e[1]};r.member&&(n.$members$=e[2]),r.hostListener&&(n.$listeners$=e[3]),r.watchCallback&&(n.$watchers$=t.$watchers$),r.reflect&&(n.$attrsToReflect$=[]),r.shadowDom&&!M&&1&n.$flags$&&(n.$flags$|=8);const i=t.prototype.connectedCallback,o=t.prototype.disconnectedCallback;return Object.assign(t.prototype,{__registerHost(){ne(this,n)},connectedCallback(){Wt(this),r.connectedCallback&&i&&i.call(this)},disconnectedCallback(){Kt(this),r.disconnectedCallback&&o&&o.call(this)}}),t.is=n.$tagName$,Ht(t,n,3)},Jt=t=>{M?t.attachShadow({mode:"open"}):t.shadowRoot=t},Xt=(t,e)=>e,te=new WeakMap,ee=t=>te.get(t),ne=(t,e)=>{const n={$flags$:0,$hostElement$:t,$cmpMeta$:e,$instanceValues$:new Map};return r.isDev&&(n.$renderCount$=0),r.method&&r.lazyLoad&&(n.$onInstancePromise$=new Promise(t=>n.$onInstanceResolve$=t)),r.asyncLoading&&(n.$onReadyPromise$=new Promise(t=>n.$onReadyResolve$=t),t["s-p"]=[],t["s-rc"]=[]),C(t,n,e.$listeners$,!1),te.set(t,n)},re=(t,e)=>e in t,ie=(t,e)=>(c||console.error)(t,e),oe=r.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"],se=(...t)=>console.error(...oe,...t),ae=(...t)=>console.warn(...oe,...t),ce=new Map,ue=(t,e,i)=>{const o=t.$tagName$.replace(/-/g,"_"),s=t.$lazyBundleId$;if(r.isDev&&"string"!==typeof s)return void se(`Trying to lazily load component <${t.$tagName$}> with style mode "${e.$modeName$}", but it does not exist.`);const a=!r.hotModuleReplacement&&ce.get(s);return a?a[o]:n("bc66")(`./${s}.entry.js${r.hotModuleReplacement&&i?"?s-hmr="+i:""}`).then(t=>(r.hotModuleReplacement||ce.set(s,t),t[o]),ie)},le=new Map,fe=[],he=[],de=[],pe=[],ge=(t,e)=>n=>{t.push(n),v||(v=!0,e&&4&I.$flags$?Ie(me):I.raf(me))},ve=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(e){ie(e)}t.length=0},ye=(t,e)=>{let n=0,r=0;while(n<t.length&&(r=performance.now())<e)try{t[n++](r)}catch(i){ie(i)}n===t.length?t.length=0:0!==n&&t.splice(0,n)},me=()=>{if(r.asyncQueue&&g++,ve(he),r.asyncQueue){const t=2===(6&I.$flags$)?performance.now()+14*Math.ceil(.1*g):1/0;ye(de,t),ye(pe,t),de.length>0&&(pe.push(...de),de.length=0),(v=he.length+de.length+pe.length>0)?I.raf(me):g=0}else ve(de),(v=he.length>0)&&I.raf(me)},Ie=t=>_().then(t),Me=ge(de,!0);r.isDev,r.isTesting;var be,_e,Ae,Ce=n("e11c"),Te=n("903e");function Ee(t){return Ee="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ee(t)}function we(t){var e="function"===typeof Map?new Map:void 0;return we=function(t){if(null===t||!Se(t))return t;if("function"!==typeof t)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return Ne(t,arguments,Ge(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),je(n,t)},we(t)}function Ne(t,e,n){return Ne=ze()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var i=Function.bind.apply(t,r),o=new i;return n&&je(o,n.prototype),o},Ne.apply(null,arguments)}function Se(t){return-1!==Function.toString.call(t).indexOf("[native code]")}function Oe(t,e){return Le(t)||Re(t,e)||Ve(t,e)||De()}function De(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Re(t,e){var n=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o=[],s=!0,a=!1;try{for(n=n.call(t);!(s=(r=n.next()).done);s=!0)if(o.push(r.value),e&&o.length===e)break}catch(c){a=!0,i=c}finally{try{s||null==n["return"]||n["return"]()}finally{if(a)throw i}}return o}}function Le(t){if(Array.isArray(t))return t}function xe(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&je(t,e)}function je(t,e){return je=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},je(t,e)}function ke(t){var e=ze();return function(){var n,r=Ge(t);if(e){var i=Ge(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Pe(this,n)}}function Pe(t,e){if(e&&("object"===Ee(e)||"function"===typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return Ue(t)}function Ue(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ze(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function Ge(t){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Ge(t)}function Be(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ye(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Be(Object(n),!0).forEach((function(e){Fe(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Be(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $e(t){return We(t)||Qe(t)||Ve(t)||He()}function He(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ve(t,e){if(t){if("string"===typeof t)return Ze(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ze(t,e):void 0}}function Qe(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function We(t){if(Array.isArray(t))return Ze(t)}function Ze(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Ke(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qe(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Je(t,e,n){return e&&qe(t.prototype,e),n&&qe(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}n.d(e,"a",(function(){return ms})),function(t){t["INIT"]="INIT",t["CONNECTED"]="CONNECTED",t["MESSAGES"]="MESSAGES",t["CONVERSATION"]="conversation",t["UPDATE_CONVERSATION"]="udpate_conversation",t["TYPING_STATUS"]="typing_status",t["PULL_OFFLINE_MESSAGE_FINISHED"]="pull_offline_message_finished",t["READ_RECEIPT_RECEIVED"]="read_receipt_received",t["MESSAGE_RECEIPT_REQUEST"]="message_receipt_request",t["MESSAGE_RECEIPT_RESPONSE"]="message_receipt_response",t["SWITCH_CONVERSATION"]="switch_conversation",t["REFERENCE_MESSAGE"]="reference_message",t["CLOSE_REFERENCE"]="close_reference",t["UPDATE_MESSAGE"]="update_message",t["DELETE_MESSAGE"]="delete_message",t["MESSAGE_SENDING"]="message_sending",t["MESSAGE_SEND_SUCCESS"]="message_send_success",t["MESSAGE_SEND_FAIL"]="message_send_fail",t["UPLOAD_PROGRESS"]="upload_progress",t["UPLOAD_COMPLETE"]="upload_complete",t["LANGUAGE_CHANGED"]="language_changed",t["USER_INFO_CHANGED"]="user_info_changed",t["GROUP_INFO_CHANGED"]="group_info_changed",t["CONVERSATION_INFO_CHANGED"]="conversation_info_changed"}(_e||(_e={})),function(t){t["A_KIT_INIT_O"]="A-kit-init-O",t["A_KIT_MSG_INSERT_O"]="A-kit-msg_insert-O",t["A_KIT_MSG_DELETE_O"]="A-kit-msg_delete-O",t["A_KIT_MSG_UPDATE_O"]="A-kit-msg_update-O",t["A_KIT_WILL__MSGMSG_RECALL_O"]="A-kit-msg_recall-O",t["A_KIT_WILL_SEND_MSG_T"]="A-kit-will_send_msg-T",t["A_KIT_WILL_SEND_MSG_R"]="A-kit-will_send_msg-R",t["A_KIT_WILL_DISPLAY_MSG_T"]="A-kit-will_display_msg-T",t["A_KIT_WILL_DISPLAY_MSG_R"]="A-kit-will_display_msg-R",t["A_KIT_CONVERSATION_CREATE_O"]="A-kit-conversation_create-O",t["A_KIT_CONVERSATION_UPDATE_O"]="A-kit-conversation_update-O",t["A_KIT_CONVERSATION_DELETE_O"]="A-kit-conversation_delete-O",t["A_KIT_CONVERSATION_UNREAD_TIME_S"]="A-kit-conversation_unread_time-S",t["A_KIT_CONVERSATION_LISTENER_S"]="A-kit-conversation_listener-S",t["A_KIT_MESSAGE_LISTENER_S"]="A-kit-message_listener-S",t["A_KIT_READ_RECEIOT_LISTENER_S"]="A-kit-read_receipt_listener-S",t["A_KIT_FORWARD_O"]="A-kit-forward-O",t["A_KIT_UPDATA_INFO_O"]="A-kit-update_info_o",t["A_KIT_UPDATA_INFO_E"]="A-kit-update_info_e",t["A_KIT_SAVE_DRAFT_O"]="A-kit-save-draft_o",t["A_KIT_MESSAGE_UNKNOW_O"]="A-kit-message-unknow_o",t["A_KIT_PARAM_ERROR_O"]="A-kit-param-error_o",t["A_KIT_COPY_FAILE_O"]="A-kit-copy-faile_o",t["A_KIT_MESSAGE_E"]="A-kit-message-e"}(Ae||(Ae={}));var Xe,tn="polyfill",en=function(){function t(){Ke(this,t),this.FIRST_COUNT_BASE=30,this.COUNT_BASE=30,this.first=!0,this.topConversations=[],this.unTopConversations=[]}return Je(t,[{key:"setPullCount",value:function(t){this.COUNT_BASE=t.pullCount,this.FIRST_COUNT_BASE=t.pullCount}},{key:"getRemoteConversation",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return Object(Ce["t"])({count:t,startTime:r,order:i}).then((function(t){if(0===t.code){var r=t.data;r.forEach((function(t){var n=t,r=e.getUnReadTime(n.conversationType,n.targetId,n.channelId),i=n.latestMessage.conversationType===Te["c"].PRIVATE,o=n.latestMessage.messageDirection===Te["k"].SEND,s=n.latestMessage.sentTime>r||!r;i&&o&&s&&(n.latestMessage.receivedStatus=Te["p"].UNREAD)})),n.customIntercept&&"function"===typeof n.customIntercept.interceptConversation&&(r=r.filter((function(t){var e=n.customIntercept.interceptConversation(t);return!e}))),n.customDisplayMessage&&n.customDisplayMessage.willDisplayConversationMessage&&"function"===typeof n.customDisplayMessage.willDisplayConversationMessage&&(r=r.map((function(t){var e=t,r=e.latestMessage;if(r){var i=n.customDisplayMessage.willDisplayConversationMessage(r.content,r.conversationType,r.targetId,r.messageType);e.latestMessage.content=i}return e}))),n.update(r.map((function(t){return{conversation:t}})))}}))}},{key:"findConversationFromList",value:function(t,e){var n=e.findIndex((function(e){return e.conversationType===t.conversationType&&e.targetId===t.targetId&&e.channelId===t.channelId}));return n}},{key:"findConversation",value:function(t){var e=t;e.channelId=e.channelId||"";var n=this.findConversationFromList(e,this.topConversations);return-1!==n?{source:this.topConversations,index:n}:(n=this.findConversationFromList(e,this.unTopConversations),-1!==n?{source:this.unTopConversations,index:n}:null)}},{key:"update",value:function(t){var e=this,n=t,r=this.topConversations.filter((function(t){return t.latestMessage&&t.latestMessage.messageType===tn})),i=this.unTopConversations.filter((function(t){return t.latestMessage&&t.latestMessage.messageType===tn})),o=r.concat(i);n=n.concat(o.map((function(t){return{conversation:t}}))),n.forEach((function(t){if(t&&(t.conversation||t.updatedItems)){var n=e.findConversation({conversationType:t.conversation.conversationType,targetId:t.conversation.targetId,channelId:t.conversation.channelId||""}),r=n?n.source[n.index]:t.conversation;e.merge(r,t.conversation),void 0!==t.updatedItems&&Object.keys(t.updatedItems).length&&n?(Object.prototype.hasOwnProperty.call(t.updatedItems,"isTop"),n.source.splice(n.index,1),r&&Object.keys(t.updatedItems).forEach((function(e){r[e]=t.updatedItems[e].val}))):t.conversation&&n&&n.source.splice(n.index,1),r.isTop?e.sortConversation(r,e.topConversations):e.sortConversation(r,e.unTopConversations)}}))}},{key:"merge",value:function(t,e){var n=t;Object.keys(e).forEach((function(t){void 0!==e[t]&&null!==e[t]&&(n[t]=e[t])}))}},{key:"sortConversation",value:function(t,e){e.length||e.push(t);var n=e.findIndex((function(e){return e.targetId===t.targetId&&e.channelId===t.channelId&&e.conversationType===t.conversationType}));if(-1!==n){if(e[n].latestMessage){if(!t.latestMessage)return;if(e[n].latestMessage.sentTime>t.latestMessage.sentTime)return}e.splice(n,1)}for(var r=-1,i=0;i<e.length;i++){var o=e[i];if(!o.latestMessage){r=i;break}if(t.latestMessage&&t.latestMessage.sentTime>=o.latestMessage.sentTime){r=i;break}}-1===r&&(r=e.length),e.splice(r,0,t)}},{key:"create",value:function(t){var e={conversationType:t.conversationType,channelId:t.channelId,targetId:t.targetId,latestMessage:{conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId,sentTime:(new Date).getTime(),messageType:tn,content:"",senderUserId:"",receivedTime:0,messageUId:"none",messageDirection:1,isPersited:!0,isCounted:!0,isOffLineMessage:!1,canIncludeExpansion:!1,receivedStatus:Te["p"].UNREAD}};return this.sortConversation(e,this.unTopConversations),Te["G"].info(Ae.A_KIT_CONVERSATION_CREATE_O,e),e}},{key:"remove",value:function(t){var e=this;return Object(Ce["D"])(t).then((function(n){var r=e.findConversation(t);return r&&0===n.code&&(r.source.splice(r.index,1),Te["G"].info(Ae.A_KIT_CONVERSATION_DELETE_O,{index:r.index,conversation:r.source[r.index]})),n}))}},{key:"getLastTime",value:function(t){for(var e=(new Date).getTime(),n=t.length-1;n>=0;n--){var r=t[n];if(r.latestMessage){e=r.latestMessage.sentTime;break}}return e}},{key:"getList",value:function(t,e){var n=this;if(t){var r=this.getLastTime(this.topConversations),i=this.getLastTime(this.unTopConversations),o=this.first?this.FIRST_COUNT_BASE:this.COUNT_BASE,s=Math.min(r,i);return this.getRemoteConversation(o,e,s).then((function(){n.first=!1;var t=[].concat($e(n.topConversations),$e(n.unTopConversations));return t}))}var a=[].concat($e(this.topConversations),$e(this.unTopConversations));return Promise.resolve(a)}},{key:"changeTopStatus",value:function(t,e){return Object(Ce["O"])(t,e).then((function(t){return t}))}},{key:"changeNotificationStatus",value:function(t,e){var n=this;return Object(Ce["N"])(t,e).then((function(r){if(0===r.code){var i=n.findConversation(t);i.source[i.index].notificationStatus=e}return r}))}},{key:"clearLocalConversation",value:function(){this.unTopConversations=[],this.topConversations=[]}}]),t}();function nn(t,e){return(t.channelId||"")===(e.channelId||"")&&t.conversationType===e.conversationType&&t.targetId===e.targetId}function rn(t){return"".concat(t.conversationType,"&&").concat(t.targetId,"&&").concat(t.channelId||"")}function on(t){return new Promise((function(e,n){var r=new FileReader;r.readAsDataURL(t),r.onload=function(t){r.onerror=null,r.onload=null,e(t.target.result)},r.onerror=function(t){r.onerror=null,r.onload=null,n(t)}}))}function sn(t,e){var n="",r=e.message,i=e.data;if(!i)return Ce["logger"].warn(Ae.A_KIT_MESSAGE_E,"RC:GroupNft message structure parsing exception"),n;var o=i&&JSON.parse(i)||{},s=e.operation,a=e.operatorUserId,c=a===Object(Ce["u"])();switch(s){case"Create":n=c?"".concat(t.message.you," ").concat(t.message.createGroup):"".concat(o.operatorNickname," ").concat(t.message.createGroup);break;case"Rename":n=c?"".concat(t.message.you," ").concat(t.message.rename," ").concat(o.targetGroupName):"".concat(o.operatorNickname," ").concat(t.message.rename," ").concat(o.targetGroupName);break;case"Add":n=c?"".concat(t.message.you," ").concat(t.message.inviteGroup(o.targetUserDisplayNames)):"".concat(o.operatorNickname," ").concat(t.message.inviteGroup(o.targetUserDisplayNames));break;case"Kicked":n=c?"".concat(t.message.you," ").concat(t.message.removeGroupMember(o.targetUserDisplayNames)):"".concat(o.operatorNickname," ").concat(t.message.removeGroupMember(o.targetUserDisplayNames));break;case"Quit":n=c?"".concat(t.message.you," ").concat(t.message.quitGroup):"".concat(o.operatorNickname," ").concat(t.message.quitGroup);break;case"Dismiss":n=c?"".concat(t.message.you," ").concat(t.message.dismiss):"".concat(o.operatorNickname," ").concat(t.message.dismiss);break;default:n=r;break}return n}var an,cn,un={},ln={},fn=function(){function t(e){Ke(this,t),this.config=e}return Je(t,[{key:"getUserProfile",value:function(t){return this.config.getUserProfile?Xe?Promise.resolve(Xe):this.config.getUserProfile(t).then((function(t){return Xe=t,Xe})):Promise.reject(new Error("Method getUserProfile is not defined!"))}},{key:"getConversationProfile",value:function(t){if(!this.config.getConversationProfile)return Promise.reject(new Error("Method getConversationProfile is not defined!"));for(var e=[],n=0;n<t.length;n++){var r=t[n],i=rn(r),o=un[i];o&&(t.splice(n,1),e.push(o),n--)}return t.length>0?this.config.getConversationProfile(t).then((function(t){return t.forEach((function(t){if(t&&t.targetId&&t.conversationType){var e=rn(t);un[e]=t}})),[].concat($e(t),e)})):new Promise((function(t){t(e)}))}},{key:"getGroupMembers",value:function(t){if(!this.config.getGroupMembers)return Promise.reject(new Error("Method getGroupMembers is not defined!"));var e=rn(t);return ln[e]?Promise.resolve(ln[e]):this.config.getGroupMembers(t).then((function(e){var n=rn(t);return e?(ln[n]=e,ln[n]):null}))}},{key:"clearMyProfileCache",value:function(){Xe=null}},{key:"updateUserProfile",value:function(t){if(Xe.id===t.id)return Xe=t,void Ce["logger"].info(Ae.A_KIT_UPDATA_INFO_O,{myProfileCache:t});Ce["logger"].warn(Ae.A_KIT_UPDATA_INFO_O,{msg:"update failed id is not equal"})}},{key:"updateGroupMembers",value:function(t,e){if(t&&t.targetId&&t.conversationType){var n=rn(t);ln[n]&&(ln[n]=e),Ce["logger"].info(Ae.A_KIT_UPDATA_INFO_O,{key:e})}else Ce["logger"].warn(Ae.A_KIT_UPDATA_INFO_E,{msg:"update group member info error."})}},{key:"updateConversationProfile",value:function(t,e){if(t&&t.targetId&&t.conversationType){var n=rn(t);un[n]&&(un[n]=Ye(Ye({},e),t)),Ce["logger"].info(Ae.A_KIT_UPDATA_INFO_O,{key:e})}else Ce["logger"].warn(Ae.A_KIT_UPDATA_INFO_E,{msg:"update conversation info error."})}}]),t}(),hn=function(){function t(){Ke(this,t),this.localMessages={}}return Je(t,[{key:"currentConversation",get:function(){return this._currentConversation},set:function(t){this._currentConversation=t}},{key:"getMessages",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:20,o=i;o=Math.min(20,Math.max(1,o)),this._unReadTime=e;var s=this.getLocalMessage(t,r,o);if(s.list&&s.list.forEach((function(t){var e=t,r=e.conversationType===Ce["a"].PRIVATE,i=e.messageDirection===Ce["g"].SEND,o=e.sentTime<=n._unReadTime;r&&i&&o&&(e.receivedStatus=Ce["j"].READ)})),s.list.length>=o)return Promise.resolve(s);if(!1===s.hasMore)return Promise.resolve(s);var a=rn(t),c=0;return this.localMessages[a]&&this.localMessages[a].list.length>0&&(c=this.localMessages[a].list[0].sentTime),this.getRemoteMessages(t,{count:o,timestamp:c}).then((function(){return n.getLocalMessage(t,r,o)}))}},{key:"getLocalMessage",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:20,r=rn(t),i=this.localMessages[r],o=e;if(0===n)return i||{list:[],hasMore:!0};if(!i)return{list:[],hasMore:!0};0===o&&(o=Date.now());var s=i.list.findIndex((function(t){return o<=t.sentTime})),a=[];return 0===s?{list:[],hasMore:i.hasMore}:(-1===s&&(s=i.list.length),a=i.list.slice(Math.max(0,s-n),s),a.length>=n&&s-n>0?{list:a,hasMore:!0}:{list:a,hasMore:i.hasMore})}},{key:"getRemoteMessages",value:function(t,e){var n=this;return Object(Ce["v"])(t,e).then((function(t){if(0===t.code){var e=t.data.list;n.customIntercept&&"function"===typeof n.customIntercept.interceptMessage&&(e=e.filter((function(t){var e=n.customIntercept.interceptMessage(t);return!e}))),n.customDisplayMessage&&n.customDisplayMessage.willDisplayMessages&&"function"===typeof n.customDisplayMessage.willDisplayMessages&&(e=e.map((function(t){var e=t,r=n.customDisplayMessage.willDisplayMessages(e.content,e.conversationType,e.targetId,e.messageType);return e.content=r,e}))),n.setLocalMessages(e,t.data.hasMore)}}))}},{key:"setLocalMessages",value:function(t,e){var n=this,r=[];if(!t.length)return{new:r};var i=[],o="".concat(t[0].conversationType,"&&").concat(t[0].targetId,"&&").concat(t[0].channelId||"");this.localMessages[o]?void 0!==e&&(this.localMessages[o].hasMore=e):this.localMessages[o]={list:[],hasMore:void 0===e||e};var s=this.localMessages[o].list;return t.forEach((function(t){var e=t,a=s.length;if("RC:RcCmd"===e.messageType&&e.messageDirection===Ce["g"].RECEIVE){var c=e.content;if(c&&c.messageUId){var u=n.deleteMessageByUId(s,c.messageUId);u&&i.push(u)}}for(var l=0;l<s.length;l++){var f=s[l];if(e.messageUId===f.messageUId)return;if(e.sentTime<=f.sentTime){a=l;break}}n._currentConversation&&nn(e,n._currentConversation)&&r.push(e);var h=e.conversationType===Ce["a"].PRIVATE,d=e.messageDirection===Ce["g"].SEND,p=e.sentTime>n._unReadTime||!n._unReadTime;h&&d&&p&&(e.receivedStatus=Ce["j"].UNREAD),n.localMessages[o].list.splice(a,0,e)})),r.sort((function(t,e){return t.sentTime-e.sentTime})),{new:r,remove:i}}},{key:"recallMessage",value:function(t){var e=rn(t),n=this.localMessages[e];if(!n)return null;var r=n.list;if(r&&r.length){var i=r.findIndex((function(e){return e.messageUId===t.messageUId}));return-1!==i?(r[i].messageType="RC:RcCmd",r[i]):null}return null}},{key:"deleteMessage",value:function(t){var e=rn(t),n=this.localMessages[e];if(!n)return!1;var r=n.list;if(r&&r.length){var i=r.findIndex((function(e){return e.messageUId===t.messageUId}));return-1!==i&&(Te["G"].info(Ae.A_KIT_MSG_DELETE_O,{index:i,message:r[i]}),r.splice(i,1),!0)}return!1}},{key:"deleteMessageByUId",value:function(t,e){var n=t.findIndex((function(t){return t.messageUId===e}));if(-1!==n){var r=t[n];return t.splice(n,1),Te["G"].info(Ae.A_KIT_MSG_DELETE_O,{index:n,message:t[n]}),r}return null}},{key:"insertMessage",value:function(t){var e=rn(t),n=this.localMessages[e];if(n){var r=this.localMessages[e].list,i=r.findIndex((function(e){return e.sentTime>t.sentTime}));-1===i?r.push(t):r.splice(i,0,t),Te["G"].info(Ae.A_KIT_MSG_INSERT_O,{index:i,message:t})}else this.localMessages[e]={list:[t],hasMore:!0}}},{key:"updateMessage",value:function(t){var e=rn(t),n=this.localMessages[e];if(n){var r=this.localMessages[e].list,i=-1;t.messageId&&(i=r.findIndex((function(e){return e.messageId===t.messageId}))),-1===i&&t.messageUId&&(i=r.findIndex((function(e){return e.messageUId===t.messageUId}))),-1!==i?Object.keys(t).forEach((function(e){void 0!==t[e]&&(r[i][e]=t[e])})):this.insertMessage(t)}else this.insertMessage(t)}},{key:"cutMessages",value:function(){var t=rn(this._currentConversation),e=this.localMessages[t];e&&e.list.length>100&&(e.list.splice(0,e.list.length-100),e.hasMore=!0)}},{key:"clearLocalConversation",value:function(){this.localMessages={}}}]),t}();(function(t){t["ZH_CN"]="zh_CN",t["ZH_TW"]="zh_TW",t["EN"]="en"})(an||(an={}));var dn=function(t,e,n){var r="imkit_".concat(e,"_").concat(n);return cn={set:function(e,n){var i=JSON.stringify(e);t.localStorage.setItem("".concat(r,"_").concat(n),i),void 0!==e&&null!==e||t.localStorage.removeItem("".concat(r,"_").concat(n))},get:function(e){var n;try{n=JSON.parse(t.localStorage.getItem("".concat(r,"_").concat(e)))}catch(i){n=null}return n},remove:function(e){t.localStorage.removeItem("".concat(r,"_").concat(e))}},cn},pn=function(){function t(){Ke(this,t),this._conversationStorage={}}return Je(t,[{key:"init",value:function(t,e){this._kitStorage=dn(window,t,e),this._conversationStorage=this._kitStorage.get("conversation")||{}}},{key:"updateUnReadTime",value:function(t,e,n,r){var i=this.getConversationKey(e,n,r);this._conversationStorage[i]=t,this._kitStorage.set(this._conversationStorage,"conversation")}},{key:"getUnReadTime",value:function(t,e,n){var r=this.getConversationKey(t,e,n);return this._conversationStorage[r]||0}},{key:"data",get:function(){return this._conversationStorage}},{key:"getConversationKey",value:function(t,e,n){return"".concat(n,"_").concat(t,"_").concat(e)}}]),t}(),gn=function(){function t(){Ke(this,t),this._LangStore=null}return Je(t,[{key:"init",value:function(t,e){this._kitStorage=dn(window,t,e),this._LangStore=this._kitStorage.get("lang")||null}},{key:"setLang",value:function(t){this._LangStore=t,this._kitStorage.set(this._LangStore,"lang")}},{key:"getLang",value:function(){var t=this._LangStore&&this._LangStore.lang?this._LangStore.lang:an.ZH_CN;return t}}]),t}();function vn(){return~~(16777215*Math.random())}function yn(t){return-1!==["RC:Delivered"].indexOf(t)}var mn=!1,In=function(t){xe(n,t);var e=ke(n);function n(){var t;return Ke(this,n),t=e.call(this),t.switchTimes={},t.receiptRequstCache=[],t._fileCache={},n.INSTANCE||(t.conversationManager=new en,t.messageManager=new hn,t._conversationStorage=new pn,t._langStore=new gn,n.INSTANCE=Ue(t)),t}return Je(n,[{key:"init",value:function(t){var e=t;mn&&Te["G"].error(Ae.A_KIT_INIT_O,{msg:"禁止多次初始化!"}),e.libOption&&Object(Te["I"])(e.libOption.appkey)||Te["G"].error(Ae.A_KIT_INIT_O,{msg:"参数错误:libOption.appkey 为必传字段!",data:e}),this._appkey=e.libOption.appkey,Object(Ce["z"])(e.libOption),e.conversationPullCount=e.conversationPullCount?e.conversationPullCount:30,this.conversationManager.setPullCount({pullCount:e.conversationPullCount}),this.customMessage=e.customMessage,this.customIntercept=e.customIntercept,this.conversationManager.customIntercept=this.customIntercept,this.customDisplayMessage=e.customDisplayMessage,this.messageManager.customIntercept=this.customIntercept,this.messageManager.customDisplayMessage=this.customDisplayMessage,this.conversationManager.customDisplayMessage=this.customDisplayMessage,this.service=new fn(e.service),this.setListener(),mn=!0,this.emit(_e.INIT)}},{key:"connect",value:function(t,e){return Object(Ce["q"])(t,e)}},{key:"disconnect",value:function(){return this.conversationManager.clearLocalConversation(),this.messageManager.clearLocalConversation(),this.service.clearMyProfileCache(),Object(Ce["s"])()}},{key:"getTime",value:function(){return this.startLocalTime&&!this.startServerTime||(this.startLocalTime=Date.now(),this.startServerTime=Object(Ce["w"])()),Date.now()-this.startLocalTime+this.startServerTime}},{key:"currentConversation",get:function(){return this._currentConversation},set:function(t){this._currentConversation=t}},{key:"lang",get:function(){var t=this._langStore.getLang()?this._langStore.getLang():an.ZH_CN;return t},set:function(t){this._langStore.setLang(t)}},{key:"selectConversation",value:function(t){var e=this;if(!this.currentConversation||!nn(this.currentConversation,t)){if(!this.conversationManager.findConversation(t)){var n=this.createConversation(t);this.emit(_e.UPDATE_CONVERSATION,[n])}if(this.currentConversation){var r=rn(this.currentConversation);this.switchTimes[r]=this.getTime(),this.messageManager.cutMessages()}this.currentConversation=t,this.messageManager.currentConversation=this.currentConversation,this.emit(_e.SWITCH_CONVERSATION,this.currentConversation),this.receiptRequstCache.forEach((function(t){nn(t.conversation,e.currentConversation)&&e.emit(_e.MESSAGE_RECEIPT_REQUEST,t)}))}}},{key:"changeLanguage",value:function(t){if(t&&t.lang)return this._langStore.setLang(t),void this.emit(_e.LANGUAGE_CHANGED,t);Te["G"].info(Ae.A_KIT_PARAM_ERROR_O,{msg:"参数异常,切换语言失败"})}},{key:"setListener",value:function(){var t=this;Object(Ce["n"])(Ce["c"].CONNECTED,(function(){t._currentUsreId=Object(Ce["u"])(),t._conversationStorage.init(t._appkey,t._currentUsreId),t._langStore.init(t._appkey,t._currentUsreId),t.emit(_e.CONNECTED,!0),t.emit(_e.LANGUAGE_CHANGED,{lang:t.lang})})),Object(Ce["n"])(Ce["c"].DISCONNECT,(function(){t.currentConversation=null,t.emit(_e.SWITCH_CONVERSATION,t.currentConversation),t.emit(_e.CONNECTED,!1)})),Object(Ce["n"])(Ce["c"].CONVERSATION,(function(e){Te["G"].info(Ae.A_KIT_CONVERSATION_LISTENER_S,e);var n=e.conversationList;t.customIntercept&&"function"===typeof t.customIntercept.interceptConversation&&(n=n.filter((function(e){var n=t.customIntercept.interceptConversation(e.conversation);return!n}))),n=n.filter((function(t){if(t.updatedItems&&t.updatedItems.latestMessage&&t.updatedItems.latestMessage.val){var e=t.updatedItems.latestMessage.val.messageType;return!yn(e)}return!0})),n.length&&(t.conversationManager.update(n),t.emit(_e.CONVERSATION,n))})),Object(Ce["n"])(Ce["c"].MESSAGES,(function(e){Te["G"].info(Ae.A_KIT_MESSAGE_LISTENER_S,e);var n=e.messages;if(n.forEach((function(t){var e=t;e.conversationType===Te["c"].PRIVATE&&e.receivedStatus===Te["p"].READ&&(e.receivedStatus=Te["p"].UNREAD)})),t.customIntercept&&"function"===typeof t.customIntercept.interceptMessage&&(n=n.filter((function(e){var n=t.customIntercept.interceptMessage(e);return!n}))),t.customDisplayMessage&&t.customDisplayMessage.willDisplayMessages&&"function"===typeof t.customDisplayMessage.willDisplayMessages&&(n=n.map((function(e){var n=e,r=t.customDisplayMessage.willDisplayMessages(n.content,n.conversationType,n.targetId,n.messageType);return n.content=r,n}))),n=n.filter((function(t){return!yn(t.messageType)})),n.length){var r=t.messageManager.setLocalMessages(n);t.currentConversation&&r["new"].length&&t.emit(_e.MESSAGES,r["new"]),r.remove&&r.remove.length&&t.emit(_e.DELETE_MESSAGE,r.remove)}})),Object(Ce["n"])(Ce["c"].PULL_OFFLINE_MESSAGE_FINISHED,(function(){t.emit(_e.PULL_OFFLINE_MESSAGE_FINISHED)})),Object(Ce["n"])(Ce["c"].TYPING_STATUS,(function(e){t.emit(_e.TYPING_STATUS,e)})),Object(Ce["n"])(Ce["c"].READ_RECEIPT_RECEIVED,(function(e){var n=e.conversation,r=e.sentTime,i=e.messageUId,o=t.conversationManager.findConversation(n);if(o){var s=o.source[o.index],a=s.latestMessage;a.sentTime!==r&&a.messageUId!==i||(t.conversationManager.update([{conversation:s,updatedItems:{latestMessage:{time:Date.now(),val:Ye(Ye({},a),{},{receivedStatus:Te["p"].READ})}}}]),t.emit(_e.UPDATE_CONVERSATION,[s]))}var c=t.messageManager.getLocalMessage(n,0,0),u=c.list.findIndex((function(t){return t.sentTime===r||t.messageUId===i}));-1!==u&&c.list.forEach((function(e){var n=e;n.receivedStatus=Te["p"].READ,t.messageManager.updateMessage(n),t.emit(_e.UPDATE_MESSAGE,n)})),t._conversationStorage.updateUnReadTime(r,n.conversationType,n.targetId,n.channelId),t.emit(_e.READ_RECEIPT_RECEIVED,e)})),Object(Ce["n"])(Ce["c"].MESSAGE_RECEIPT_REQUEST,(function(e){var n=e.conversation,r=e.messageUId;if(nn(t.currentConversation,n))t.emit(_e.MESSAGE_RECEIPT_REQUEST,e);else{var i=rn(n);if(t.switchTimes[i]){var o=t.messageManager.getLocalMessage(n,0,0),s=o.list.findIndex((function(e){return e.messageUId===r&&e.receivedTime<t.switchTimes[i]}));-1===s?t.receiptRequstCache.push(e):Object(Ce["K"])(n.targetId,Fe({},e.senderUserId,[e.messageUId]),n.channelId)}else t.receiptRequstCache.push(e)}})),Object(Ce["n"])(Ce["c"].MESSAGE_RECEIPT_RESPONSE,(function(e){t.emit(_e.MESSAGE_RECEIPT_RESPONSE,e)}))}},{key:"getMessages",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:20,r=this._conversationStorage.getUnReadTime(t.conversationType,t.targetId,t.channelId);return this.messageManager.getMessages(t,r,e,n)}},{key:"getConversation",value:function(t){var e=this.conversationManager.findConversation(t);return e&&-1!==e.index?this.getConversationProfile(t).then((function(t){var n=t;return{conversation:e.source[e.index],profile:n}})):Promise.resolve(null)}},{key:"getConversationList",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.conversationManager.getList(e,this._conversationStorage).then((function(e){var n=e.map((function(t){return{conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId}}));return t.service.getConversationProfile(n).then((function(t){return e.map((function(e){return{conversation:e,profile:t.find((function(t){return!(!t||!nn(t,e))}))}}))}))["catch"]((function(){return e.map((function(t){return{conversation:t}}))}))}))}},{key:"createConversation",value:function(t){return this.conversationManager.create(t)}},{key:"_deleteConversation",value:function(t){return this.currentConversation&&nn(t,this.currentConversation)&&(this.currentConversation=null,this.emit(_e.SWITCH_CONVERSATION,this.currentConversation)),this.conversationManager.remove(t)}},{key:"removeConversation",value:function(t){var e=this;this._deleteConversation(t).then((function(){e.emit(_e.CONVERSATION_INFO_CHANGED,t)}))}},{key:"setConversationToTop",value:function(t,e){return this.conversationManager.changeTopStatus(t,e)}},{key:"setConversationNotificationStatus",value:function(t,e){return this.conversationManager.changeNotificationStatus(t,e)}},{key:"referenceMessage",value:function(t){this.emit(_e.REFERENCE_MESSAGE,t)}},{key:"recallMessage",value:function(t){var e=this;Object(Ce["B"])({conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId},{messageUId:t.messageUId,sentTime:t.sentTime}).then((function(n){if(0===n.code){var r=e.messageManager.recallMessage(t);r&&e.emit(_e.UPDATE_MESSAGE,r)}}))}},{key:"deleteMessage",value:function(t){var e=this;Object(Ce["r"])({conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId},[{messageUId:t.messageUId,sentTime:t.sentTime,messageDirection:t.messageDirection}]).then((function(n){if(0===n.code){var r=e.messageManager.deleteMessage(t);r&&e.emit(_e.DELETE_MESSAGE,[t])}}))}},{key:"registerMessageType",value:function(t,e,n,r,i){return Object(Ce["C"])(t,e,n,r,i)}},{key:"sendMessage",value:function(t,e,n){var r=e,i=vn(),o=r.content,s=r;return r.messageType===Te["l"].REFERENCE&&(this.emit(_e.CLOSE_REFERENCE),s=new Ce["k"](Ye({},o))),r.messageType===Te["l"].TextMessage&&(s=new Ce["l"]({content:o.content})),r.messageType!==Te["l"].TextMessage&&r.messageType!==Te["l"].REFERENCE||(r.content=this._willSendMessage(r.content,t.conversationType,t.targetId,r.messageType)),this.decorateMessage(t,i,s,Object(Ce["I"])(t,r,n))}},{key:"sendImageMessage",value:function(t,e,n,r){var i=this,o=e,s=vn();this._fileCache[s]=o;var a=function(e){return o=i._willSendMessage(o,t.conversationType,t.targetId,Te["l"].IMAGE),i.decorateMessage(t,s,new Ce["e"]({content:e,imageUri:""}),Object(Ce["H"])(t,o,{onProgress:function(t){i.emit(_e.UPLOAD_PROGRESS,{messageId:s,progress:t}),"function"===typeof n.onProgress&&n.onProgress(t)},onComplete:function(t){i.emit(_e.UPLOAD_COMPLETE,{messageId:s,fileInfo:t}),"function"===typeof n.onComplete&&n.onComplete(t)}},r))};return on(o.file).then((function(t){a(t)}))["catch"]((function(){a("")}))}},{key:"sendFileMessage",value:function(t,e,n,r){var i=this,o=e,s=vn(),a=o.file;return this._fileCache[s]=a,o=this._willSendMessage(o,t.conversationType,t.targetId,Te["l"].FILE),this.decorateMessage(t,s,new Ce["d"]({name:a.name,size:a.size,type:a.type,fileUrl:""}),Object(Ce["G"])(t,o,{onProgress:function(t){i.emit(_e.UPLOAD_PROGRESS,{messageId:s,progress:t}),"function"===typeof n.onProgress&&n.onProgress(t)},onComplete:function(t){i.emit(_e.UPLOAD_COMPLETE,{messageId:s,fileInfo:t}),"function"===typeof n.onComplete&&n.onComplete(t)}},r))}},{key:"resendMessage",value:function(t,e){this.messageManager.deleteMessage(e),this.emit(_e.DELETE_MESSAGE,[e]);var n,r,i,o=null,s=e.content;switch(e.messageType){case"RC:TxtMsg":i=null,s.mentionedInfo&&(i=s.mentionedInfo,i.isMentioned=!0),o=new Ce["l"]({content:s.content}),this.sendMessage(t,o,i);break;case"RC:ImgMsg":r=this._fileCache[e.messageId],this.sendImageMessage(t,r,{onProgress:function(){},onComplete:function(){}}),delete this._fileCache[e.messageId];break;case"RC:FileMsg":n=this._fileCache[e.messageId],this.sendFileMessage(t,{file:n},{onProgress:function(){},onComplete:function(){}}),delete this._fileCache[e.messageId];break;case"RC:ReferenceMsg":o=new Ce["k"]({referMsgUserId:s.referMsgUserId,referMsg:s.referMsg,content:s.content,objName:s.objName}),this.sendMessage(t,o,i);break}}},{key:"_willSendMessage",value:function(t,e,n,r){var i=t;return this.customDisplayMessage&&this.customDisplayMessage.willSendMessage&&"function"===typeof this.customDisplayMessage.willSendMessage&&(i=this.customDisplayMessage.willSendMessage(i,e,n,r)),i}},{key:"decorateMessage",value:function(t,e,n,r){var i=this,o={targetId:t.targetId,channelId:t.channelId,conversationType:t.conversationType,messageType:n.messageType,content:n.content,sentTime:Date.now(),messageDirection:Te["k"].SEND,senderUserId:Object(Ce["u"])(),receivedTime:void 0,isPersited:n.isPersited,isCounted:n.isCounted,messageUId:"sending_".concat(e),isOffLineMessage:!1,canIncludeExpansion:!1,receivedStatus:Te["p"].UNREAD,messageId:e};this.messageManager.insertMessage(o),this.emit(_e.MESSAGES,[o]);var s=this.conversationManager.findConversation(t),a=null;if(s){a=s.source[s.index];var c={conversation:a,updatedItems:{latestMessage:{time:Date.now(),val:o}}};this.conversationManager.update([c]),this.emit(_e.UPDATE_CONVERSATION,[Ye(Ye({},a),{},{latestMessage:o})])}return this.emit(_e.MESSAGE_SENDING,o),r.then((function(t){var n=t.data?t.data:o;n.messageId=e,n&&n.content&&i.customDisplayMessage&&i.customDisplayMessage.willDisplayMessages&&"function"===typeof i.customDisplayMessage.willDisplayMessages&&(n.content=i.customDisplayMessage.willDisplayMessages(n.content,n.conversationType,n.targetId,n.messageType)),0===t.code?(i.messageManager.updateMessage(n),i.emit(_e.MESSAGE_SEND_SUCCESS,n),delete i._fileCache[n.messageId]):(s&&(n.messageUId="fail_".concat(n.messageId)),i.messageManager.updateMessage(n),i.emit(_e.MESSAGE_SEND_FAIL,n));var r={conversation:a,updatedItems:{latestMessage:{time:Date.now(),val:n}}};return i.conversationManager.update([r]),i.emit(_e.UPDATE_CONVERSATION,[Ye(Ye({},a),{},{latestMessage:n})]),t}))}},{key:"getConversationProfile",value:function(t){return this.service.getConversationProfile([t]).then((function(t){return t&&t.length?t[0]:null}))}},{key:"getGroupMemberProfile",value:function(t,e){return t.conversationType===Te["c"].GROUP&&e?this.service.getGroupMembers(t).then((function(t){var n=t.findIndex((function(t){return t.id===e}));return-1!==n?t[n]:null})):null}},{key:"getGroupMembers",value:function(t){return this.service.getGroupMembers(t)}},{key:"getMyProfile",value:function(){var t=Object(Ce["u"])();if(!t)throw new Error("Unable to get the current user ID.");return this.service.getUserProfile(t)}},{key:"isCustomUserMessage",value:function(t){if(!this.customMessage)return!1;var e=this.customMessage.userMessage;return e&&void 0!==e[t.messageType]}},{key:"createCustomUserMessageDom",value:function(t){if(!this.customMessage)return null;var e=this.customMessage.userMessage;return e?e[t.messageType](t):null}},{key:"isCustomNotifyMessage",value:function(t){if(!this.customMessage)return!1;var e=this.customMessage.notifyMessage;return e&&void 0!==e[t.messageType]}},{key:"createCustomNotifyMessageDom",value:function(t){if(!this.customMessage)return null;var e=this.customMessage.notifyMessage;return e?e[t.messageType](t):null}},{key:"isCustomLastMessage",value:function(t){if(!this.customMessage)return!1;var e=this.customMessage.lastMessage;return e&&void 0!==e[t.messageType]}},{key:"createCustomLastMessageDom",value:function(t){if(!this.customMessage)return null;var e=this.customMessage.lastMessage;return e?e[t.messageType](t):null}},{key:"clearMessagesUnreadStatus",value:function(t){Object(Ce["o"])(t),this.conversationManager.update([{conversation:t,updatedItems:{unreadMessageCount:{time:Date.now(),val:0}}}]),this.emit(_e.UPDATE_CONVERSATION,[Ye(Ye({},t),{},{unreadMessageCount:0})])}},{key:"saveTextMessageDraft",value:function(t,e){var n=this;Object(Ce["F"])(t,e).then((function(t){0===t.code?n.emit(_e.SWITCH_CONVERSATION,n.currentConversation):Te["G"].info(Ae.A_KIT_SAVE_DRAFT_O,{msg:"保存草稿失败",info:t.msg})}))}},{key:"updateUserProfile",value:function(t){this.service.updateUserProfile(t),this.currentConversation&&this.emit(_e.USER_INFO_CHANGED,t)}},{key:"updateGroupMembers",value:function(t,e){this.service.updateGroupMembers(t,e),this.currentConversation&&t&&nn(this.currentConversation,t)&&this.emit(_e.GROUP_INFO_CHANGED,e)}},{key:"updateConversationProfile",value:function(t,e){this.service.updateConversationProfile(t,e),this.currentConversation&&t&&nn(this.currentConversation,t)&&this.emit(_e.CONVERSATION_INFO_CHANGED,e)}}]),n}(Te["e"]);In.INSTANCE=null;var Mn,bn,_n=new In;(function(t){t[t["Forward"]=0]="Forward",t[t["Delete"]=1]="Delete",t[t["Recall"]=2]="Recall",t[t["Reference"]=3]="Reference",t[t["Copy"]=4]="Copy"})(Mn||(Mn={})),function(t){t[t["Top"]=0]="Top",t[t["Notification"]=1]="Notification",t[t["Delete"]=2]="Delete"}(bn||(bn={})),console.warn("IMKit版本信息","11/10/2022, 2:49:14 PM","16211bfb02053fcd5d47529373388f0d932f121b","5.5.1"),Object(Ce["m"])("IMKit","5.5.1");var An=0;function Cn(t){return"IFRAME"===t.tagName?t.contentWindow.getSelection():window.getSelection()}function Tn(t){var e;return"IFRAME"===t.tagName&&(e=t),e?e.contentDocument?e.contentDocument:e.contentWindow?e.contentWindow.document:null:document}function En(t){return t}function wn(t){var e=t;if("IFRAME"===t.tagName)return e=t.contentWindow.document,void(e.contentEditable=!0);e.getAttribute&&void 0===e.getAttribute("contenteditable")&&e.setAttribute("contenteditable",!0)}function Nn(t){var e=t.getBoundingClientRect();return{left:e.left,top:e.top,bottom:e.bottom,right:e.right,x:e.x,y:e.y,width:e.width,height:e.height}}function Sn(t){var e=document.createDocumentFragment(),n=document.createElement("div");n.innerHTML=t;while(n.firstChild)e.appendChild(n.firstChild);return e}function On(t){var e,n=Tn(t),r=n.body,i=Cn(t);if(i.rangeCount>0){var o=i.getRangeAt(0).cloneRange();o.collapse(!0),o.setStart(r,0),e=o.cloneContents()}return e}function Dn(t){var e,n=Cn(t);if(n.rangeCount>0){var r=Tn(t),i=r.body,o=n.getRangeAt(0).cloneRange();o.collapse(!1),o.setEnd(i,i.childNodes.length),e=o.cloneContents()}return e}function Rn(t){t.focus();var e=Tn(t),n=e.body;if("undefined"!==typeof window.getSelection&&"undefined"!==typeof document.createRange){var r=e.createRange();r.selectNodeContents(n),r.collapse(!1);var i=Cn(t);i.removeAllRanges(),i.addRange(r)}else if("undefined"!==typeof e.body.createTextRange){var o=e.body.createTextRange();o.moveToElementText(n),o.collapse(!1),o.select()}}var Ln=function(){function t(e,n,r){Ke(this,t),wn(e),this.container=e,this.configs=En(n),this.triggers=this.configs.map((function(t){return t.trigger})),this.triggering=!1,this.bindFuncs(),this.body=Tn(e).body,this.body.addEventListener("keydown",this.checkKeyDown,!1),this.locale=r}return Je(t,[{key:"bindFuncs",value:function(){this.checkKeyDown=this.checkKeyDown.bind(this),this.onSelect=this.onSelect.bind(this),this.checkMouse=this.checkMouse.bind(this)}},{key:"checkKeyDown",value:function(t){var e=t.key,n=this.triggers.indexOf(e);if(-1!==n){if(t.preventDefault(),this.triggering)return;var r=this.configs[n],i="<span id='at_".concat(An,"' class='at-span' data-trigger='@'>@</span>"),o=this.inserElement(i,An);if(o){this.currentIndex=An;var s=Nn(o);"function"===typeof r.onTrigger&&(this.triggering=!0,r.onTrigger(s,this.onSelect))}}else if(8===t.keyCode){if(this.triggering)return t.preventDefault(),void this.cancelTrigger();var a=Cn(this.container);if(0===a.rangeCount)return;var c=Tn(this.container),u=c.body,l=a.getRangeAt(0),f=l.commonAncestorContainer,h=f.parentNode;if(h&&this.isAtNode(h)){var d=h.childNodes[0].nodeValue.replace("@".concat(h.getAttribute("data-name")),"");if(0===d.length){var p=null,g=h.parentNode;if(h.childElementCount){var v=Oe(h.children,1);p=v[0]}return h.parentNode.removeChild(h),p&&g.appendChild(p),void t.preventDefault()}}var y=a.getRangeAt(0).cloneRange();y.collapse(!0),y.setStart(u,0);var m=y.cloneContents(),I=m.lastChild;if(this.isAtNode(I)){var M=u.querySelector("#".concat(I.id)),b=M.childNodes[0].nodeValue.replace("@".concat(M.getAttribute("data-name")),"");0===b.length&&(M.parentNode.removeChild(M),t.preventDefault())}}else 27===t.keyCode&&this.triggering&&(t.preventDefault(),this.cancelTrigger())}},{key:"cancelTrigger",value:function(){var t=Tn(this.container),e=t.querySelector("#at_".concat(this.currentIndex));if(e){var n=e.getAttribute("data-name");if(n)return;var r=e.innerHTML,i=e.parentNode;i.removeChild(e),i.innerHTML+=r,t.body.blur()}this.triggering=!1}},{key:"isAtNode",value:function(t){return!!t&&(1===t.nodeType&&"SPAN"===t.nodeName&&void 0!==t.getAttribute("data-trigger"))}},{key:"onSelect",value:function(t){this.triggering=!1;var e=Tn(this.container),n=e.querySelector("#at_".concat(this.currentIndex));if(n){n.setAttribute("data-name",t.value),n.innerHTML="@".concat(t.value);var r=t.value===this.locale.other.all?"all":t.id;n.setAttribute("data-id",r),An++,e.body.focus();var i=e.createRange();i.setStartAfter(n.nextSibling||n),i.collapse(!0);var o=Cn(this.container);o.removeAllRanges(),o.addRange(i)}else this.cancelTrigger()}},{key:"inserElement",value:function(t,e){var n=Tn(this.container);Rn(n.body);var r=Sn(t),i=Cn(this.container),o=i.getRangeAt(0);o.insertNode(r);var s=n.querySelector("#at_".concat(e));return i.removeAllRanges(),i.selectAllChildren(s),i.collapseToEnd(),s}},{key:"checkMouse",value:function(t){if(this.triggering)t.preventDefault();else{var e=On(this.container),n=e.lastChild;if(null!==n&&1===n.nodeType&&"SPAN"===n.nodeName){var r=n.id;this.currentIndex=n.id.substring(3);var i=n.getAttribute("data-trigger"),o=this.triggers.indexOf(i);if(-1!==o){var s=Tn(this.container).querySelector("#".concat(r));if(s){var a=this.configs[o],c=Nn(s);"function"===typeof a.onTrigger&&(this.triggering=!0,a.onTrigger(c,this.onSelect))}}}}}},{key:"dispose",value:function(){this.body.removeEventListener("keydown",this.checkKeyDown,!1)}}]),t}(),xn={area:"zh_CN",lang:"中文",conversation:{loading:"正在加载列表",forMore:"上拉获取更多",noData:"当前无会话",draft:"草稿",atMe:"有人@我",file:"文件",img:"图片",location:"位置消息",video:"短视频",audio:"语音消息",quote:"引用消息",yesterday:"昨天",before:"前天",top:"取消置顶",noTop:"置顶",inform:"允许消息通知",noInform:"消息免打扰",delete:"删除",read:"已读",unread:"未读",recall:"撤回了一条消息",you:"你"},message:{history:"下拉获取历史消息",noHistory:"没有更多历史消息了",loading:"加载中...",completed:"加载完毕",noData:"新的一天,新的开始",year:"年",month:"月",day:"日",hour:"点",minute:"分",copy:"复制",quote:"引用",recall:"撤回",delete:"删除",msgRecall:"撤回了一条消息",you:"你",opposite:"对方",file:"文件",location:"位置",nonsupport:"当前版本不支持查看此消息",forward:"转发",createGroup:"创建了群组",inviteGroup:function(t){return"邀请 ".concat(t," 加入了群组")},removeGroupMember:function(t){return"将 ".concat(t," 移出了群组")},quitGroup:"退出了群组",dismiss:"解散了群组",rename:"修改群名称为"},messageEdit:{send:"发送",image:"图片",picError:"图片格式有误",file:"文件"},other:{unKnowMessage:"未知消息",all:"所有人"}},jn={area:"en",lang:"English",conversation:{loading:"loading...",forMore:"more",noData:"empty",draft:"draft",atMe:"@me",file:"file",img:"image",location:"location",video:"video",audio:"audio",quote:"quote",yesterday:"yesterday",before:"before",top:"untop",noTop:"top",inform:"unmute",noInform:"mute",delete:"delete",read:"read",unread:"unread",recall:"recalled a message",you:"You "},message:{history:"more",noHistory:"no more",loading:"loading...",completed:"completed",noData:"empty",year:"year ",month:"month ",day:"day",hour:"hour",minute:"minute",copy:"copy",quote:"quote",recall:"recall",delete:"delete",msgRecall:"recalled message",you:"you",opposite:"opposite",file:"file",location:"location",nonsupport:"the current version does not support viewing this message",forward:"forward",createGroup:"created the group.",inviteGroup:function(t){return"invited ".concat(t," to join the group.")},removeGroupMember:function(t){return"removed ".concat(t,". From the group chat.")},quitGroup:"quitted the group.",dismiss:"dismissed the group.",rename:"changed the group name to "},messageEdit:{send:"send",image:"image",picError:"image format is wrong",file:"file"},other:{unKnowMessage:"Unknown message",all:"all people"}},kn={zh_CN:xn,en:jn},Pn=".editor-content{width:calc(100% - 11em);height:100%;line-height:1.5;font-size:1.8em;overflow:auto;border:none}.editor-content:focus{border:none;outline:none}.post-btn{position:absolute;right:4em;bottom:5em}.post-btn button{font-size:2.4em;border:0.1em solid #aaaeb2;border-radius:0.5em;height:2.83333em;width:7em;background:#fff;color:#0099ff;outline:none}.post-btn button:disabled{border:0.1em solid #c7cbce;color:#c7cbce}",Un=function(t){xe(n,t);var e=ke(n);function n(){var t;return Ke(this,n),t=e.call(this),t.__registerHost(),Jt(Ue(t)),t.post=Tt(Ue(t),"post",7),t.contentChange=Tt(Ue(t),"contentChange",7),t.inputContent=Tt(Ue(t),"inputContent",7),t.memberListVisible=!1,t.hasContent=!1,t.lang=_n.lang,t.handleInput=t.handleInput.bind(Ue(t)),t.handleKeyDown=t.handleKeyDown.bind(Ue(t)),t.postHandler=t.postHandler.bind(Ue(t)),t.handlePastContent=t.handlePastContent.bind(Ue(t)),t.handleSelectMember=t.handleSelectMember.bind(Ue(t)),t.handleCloseMemberList=t.handleCloseMemberList.bind(Ue(t)),t.handleSwitchConversation=t.handleSwitchConversation.bind(Ue(t)),t.handleLanguageChanged=t.handleLanguageChanged.bind(Ue(t)),t}return Je(n,[{key:"validateWatchData",value:function(t,e){if(!e||t.time!==e.time){var n=Tn(this.contentRef);n.body.innerHTML=t.text,Rn(this.contentRef)}}},{key:"validateConversationData",value:function(t,e){e&&(e.conversationType!==Ce["a"].GROUP?t&&t.conversationType===Ce["a"].GROUP&&this.createAt():t&&t.conversationType!==Ce["a"].GROUP&&this.at&&this.at.dispose())}},{key:"componentWillLoad",value:function(){_n.off(_e.LANGUAGE_CHANGED,this.handleLanguageChanged),_n.on(_e.LANGUAGE_CHANGED,this.handleLanguageChanged)}},{key:"disconnectedCallback",value:function(){if(this.contentRef){var t=Tn(this.contentRef);t&&(t.body.removeEventListener("paste",this.handlePastContent),t.body.removeEventListener("input",this.handleInput),t.body.removeEventListener("keydown",this.handleKeyDown))}this.at&&this.at.dispose(),_n.off(_e.SWITCH_CONVERSATION,this.handleSwitchConversation),_n.off(_e.LANGUAGE_CHANGED,this.handleLanguageChanged)}},{key:"componentDidLoad",value:function(){var t=this;if(this.value){var e=Tn(this.contentRef);e.body.innerHTML=this.value.text}setTimeout((function(){t.conversation&&t.conversation.conversationType===Ce["a"].GROUP&&t.createAt();var e=Tn(t.contentRef);e&&(e.body.addEventListener("paste",t.handlePastContent),e.body.addEventListener("input",t.handleInput),e.body.addEventListener("keydown",t.handleKeyDown),e.designMode="on",e.contentEditable=!0,e.body.style.margin=0,e.body.style.padding=0,e.body.style.wordBreak="break-all")}),500),_n.on(_e.SWITCH_CONVERSATION,this.handleSwitchConversation)}},{key:"handleInput",value:function(){var t=this;this.checkContentLength(),this.contentChangeHandler(),this.inputTimer||this.inputContent.emit(),this.inputTimer=setTimeout((function(){clearTimeout(t.inputTimer),t.inputTimer=null}),5e3)}},{key:"checkContentLength",value:function(){var t=this;this.checkContentTimer||(this.checkContentTimer=setTimeout((function(){if(Tn(t.contentRef)){var e=Tn(t.contentRef).body.innerHTML;e=e.trim(),e=e.replace(/ /g,""),e=e.replace(/<br>/g,""),t.hasContent=!!e,t.checkContentTimer=null}}),400))}},{key:"contentChangeHandler",value:function(){this.contentChange.emit(Tn(this.contentRef).body.innerHTML)}},{key:"handlePastContent",value:function(t){var e=(t.clipboardData||window.clipboardData).getData("text"),n=Cn(this.contentRef);if(n.rangeCount){n.deleteFromDocument();var r=n.getRangeAt(0),i=document.createTextNode(e);r.insertNode(i),r.setStartAfter(i),r.collapse(!0),t.preventDefault(),this.checkContentLength()}}},{key:"postHandler",value:function(){var t=Tn(this.contentRef);this.post.emit(t.body.innerHTML),t.body.innerHTML="",this.hasContent=!1,this.at&&(this.at.triggering=!1)}},{key:"handleKeyDown",value:function(t){var e=this;if(8===t.keyCode&&setTimeout((function(){e.contentChangeHandler()})),13===t.keyCode){if(t.preventDefault(),t.shiftKey){var n=Cn(this.contentRef),r=n.getRangeAt(0),i=Dn(this.contentRef),o=Array.prototype.filter.call(i.childNodes,(function(t){return!("#text"===t.nodeName&&!t.data)}));if(!o.length){var s=document.createElement("br");r.insertNode(s)}var a=document.createElement("br");return r.insertNode(a),void r.collapse(!1)}this.memberListVisible=!1,this.postHandler()}this.checkContentLength()}},{key:"createAt",value:function(){var t=this;this.at=new Ln(this.contentRef,[{trigger:"@",onTrigger:function(e,n){var r=t.contentRef.getBoundingClientRect();t.targetRect={width:e.width,height:e.height,x:e.x+r.x,y:e.y+r.y},t.memberListVisible=!0,t.atItemSelect=n},onCancel:function(){t.memberListVisible=!1}}],this.locale)}},{key:"handleSelectMember",value:function(t){var e=t.detail;this.atItemSelect(e),this.memberListVisible=!1,this.contentChange.emit(Tn(this.contentRef).body.innerHTML)}},{key:"handleCloseMemberList",value:function(t){!t.detail&&this.at&&this.at.cancelTrigger(),this.memberListVisible=!1}},{key:"handleSwitchConversation",value:function(){this.handleCloseMemberList({}),this.checkContentLength()}},{key:"handleLanguageChanged",value:function(t){this.lang=t.lang}},{key:"render",value:function(){var t=this;this.locale=this.lang?kn[this.lang]:kn.zh_CN;var e=this.locale;return Z(Xt,null,Z("iframe",{class:"editor-content",contentEditable:"true",ref:function(e){return t.contentRef=e,t.contentRef}}),Z("div",{class:"post-btn"},Z("button",{disabled:!this.hasContent,onClick:this.postHandler},e.messageEdit.send)),Z("member-list",{conversation:this.conversation,visible:this.memberListVisible,targetRect:this.targetRect,onSelectMember:this.handleSelectMember,onClose:this.handleCloseMemberList}))}}],[{key:"watchers",get:function(){return{value:["validateWatchData"],conversation:["validateConversationData"]}}},{key:"style",get:function(){return Pn}}]),n}(we(HTMLElement)),zn=".context-menu{font-size:2em;position:fixed;top:0;left:0;z-index:1;min-width:7em;background:#ffffff;border-radius:0.5em}.context-menu-box-shadow{-webkit-box-shadow:0px 0px 15px 3px rgb(100 102 109 / 19%);box-shadow:0px 0px 15px 3px rgb(100 102 109 / 19%)}.context-menu ul{list-style:none;margin:0;padding:0}.context-menu li{list-style:none;line-height:2;text-align:center;background:#fff;height:3em;line-height:3em;cursor:pointer;padding:0 1em;color:#111f2c}.context-menu li:hover,.context-menu li.hover{background:#f2f8ff}",Gn=function(t){xe(n,t);var e=ke(n);function n(){var t;return Ke(this,n),t=e.call(this),t.__registerHost(),t.hide=Tt(Ue(t),"hide",7),t.topStatusChange=Tt(Ue(t),"topStatusChange",7),t.notificationStatusChange=Tt(Ue(t),"notificationStatusChange",7),t["delete"]=Tt(Ue(t),"delete",7),t.position={top:0,left:0},t.visible=!1,t.topStatus=!1,t.notificationStatus=!1,t.lang=_n.lang,t.handleHide=t.handleHide.bind(Ue(t)),t.topStatusChangeHandler=t.topStatusChangeHandler.bind(Ue(t)),t.notificationStatusHandler=t.notificationStatusHandler.bind(Ue(t)),t.deleteHandler=t.deleteHandler.bind(Ue(t)),t.handleLanguageChanged=t.handleLanguageChanged.bind(Ue(t)),t}return Je(n,[{key:"componentWillLoad",value:function(){document.body.addEventListener("mouseup",this.handleHide,!1),window.addEventListener("blur",this.handleHide,!1),_n.on(_e.LANGUAGE_CHANGED,this.handleLanguageChanged)}},{key:"disconnectedCallback",value:function(){document.body.removeEventListener("mouseup",this.handleHide,!1),window.removeEventListener("blur",this.handleHide,!1)}},{key:"handleHide",value:function(t){0===t.button&&this.hide.emit()}},{key:"topStatusChangeHandler",value:function(){this.topStatusChange.emit(!this.topStatus)}},{key:"notificationStatusHandler",value:function(){this.notificationStatusChange.emit(!this.notificationStatus)}},{key:"deleteHandler",value:function(){this["delete"].emit()}},{key:"createCustomMenu",value:function(){var t=this;if(!this.customMenu||!this.conversation)return[];var e=[];return this.customMenu.forEach((function(n){var r=n.name(t.conversation);r&&e.push({name:r,callback:function(){return n.callback(t.conversation)}})})),e}},{key:"handleLanguageChanged",value:function(t){this.lang=t.lang}},{key:"render",value:function(){var t=this,e=this.createCustomMenu();this.locale=this.lang?kn[this.lang]:kn.zh_CN;var n=this.locale,r=document.documentElement.clientHeight,i="",o=0;o+=e.length;var s=0;if(this.contextMenu){var a=this.contextMenu.childNodes[0],c=a.children.length;c>0&&(o+=c,s=a.childNodes[0].clientHeight*o)}var u=function(){return t.position?r-t.position.top<s?t.position.top-s:t.position.top:0};return o>0&&(i="context-menu-box-shadow"),Z("div",{class:"".concat(i," context-menu"),style:{"z-index":this.visible?"1":"-1",display:"block",opacity:this.visible?"1":"0",left:"".concat(this.position?this.position.left:0,"px"),top:"".concat(u(),"px")},ref:function(e){return t.contextMenu=e,t.contextMenu}},Z("ul",null,this.disableMenu.includes(bn.Top)?null:Z("li",{onClick:this.topStatusChangeHandler},this.topStatus?n.conversation.top:n.conversation.noTop),this.disableMenu.includes(bn.Notification)?null:Z("li",{onClick:this.notificationStatusHandler},this.notificationStatus?n.conversation.inform:n.conversation.noInform),this.disableMenu.includes(bn.Delete)?null:Z("li",{onClick:this.deleteHandler},n.conversation["delete"]),e.map((function(t){return Z("li",{onClick:t.callback},t.name)}))))}}],[{key:"style",get:function(){return zn}}]),n}(we(HTMLElement)),Bn={"/9j":{type:"image",suffix:"JPG"},iVB:{type:"image",suffix:"PNG"},Qk0:{type:"image",suffix:"BMP"},SUk:{type:"image",suffix:"TIFF"},JVB:{type:"image",suffix:"PDF"},UEs:{type:"image",suffix:"OFD"},IyF:{type:"audio",suffix:"AMR"}};function Yn(t,e){if(!Wn(t))return Ce["logger"].warn(Ae.A_KIT_MESSAGE_E,"ImgMessage structure parsing exception, message.content is not string"),e||"";if(t.startsWith("data:/")||t.startsWith("http"))return t;var n=t.substr(0,3);return Bn[n]?"data:".concat(Bn[n].type,"/").concat(Bn[n].suffix.toLowerCase(),";base64,").concat(t):t}function Fn(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,n=t.getFullYear(),r=t.getMonth()+1,i=t.getDate(),o=new Date("".concat(n,"/").concat(r,"/").concat(i)).getTime(),s=e.getFullYear(),a=e.getMonth()+1,c=e.getDate(),u=new Date("".concat(s,"/").concat(a,"/").concat(c)).getTime(),l=(o-u)/1e3/60/60/24;return l}function $n(t,e,n){if(!t)return null;var r=new Date(t),i=r.getFullYear(),o=r.getMonth()+1,s=r.getDate(),a="".concat(r.getHours());a.length<2&&(a="0".concat(a));var c="".concat(r.getMinutes());c.length<2&&(c="0".concat(c));var u=new Date,l=Fn(r);if(-1===l){var f=n.conversation.yesterday;return"".concat(f)}return u.getFullYear()===i?u.toDateString()===r.toDateString()?"".concat(a,":").concat(c):"".concat(o,"/").concat(s):"zh_CN"===n.area?"".concat(i,"/").concat(o,"/").concat(s):"".concat(o,"/").concat(s,"/").concat(i)}function Hn(t){return t.replace(/<[^>]+>/g,"")}function Vn(t){var e;return"object"===Ee(t)?Array.isArray(t)?(e=[],Object.keys(t).forEach((function(n){e.push(Vn(t[n]))}))):null===t?e=null:t instanceof RegExp?e=t:(e={},Object.keys(t).forEach((function(n){e[n]=Vn(t[n])}))):e=t,e}function Qn(t){var e=t;Wn(e)||(e="",Ce["logger"].warn(Ae.A_KIT_MESSAGE_E,"TextMessage structure parsing exception, message.content is not striing "));var n=/(((^https?:(?:\/\/)?)(?:[-;:&=+$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=+$,\w]+@)[A-Za-z0-9.-]+)((?:\/[+~%/.\w-_]*)?\??(?:[-+=&;%@.\w_]*)#?(?:[\w]*))?)$/g;return e=e.replace("<","<"),e=e.replace(">",">"),n.test(e)&&(e=e.replace(n,(function(t){var e="";return t.indexOf("http:")<0&&t.indexOf("https:")<0&&(e="//"),'<a target="_blank" class="url-wrap" href="'.concat(e).concat(t,'">').concat(t,"</a>")}))),e}var Wn=function(t){return"string"===typeof t},Zn='.conversation-item.top-item::after{content:" ";display:block;width:0;height:0;border-top:2em solid #4790ee;border-right:2em solid transparent;position:absolute;left:0;top:0}.conversation-item{height:10.4em;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;padding:0 2em 0 2em;position:relative;text-align:left}.conversation-item:hover{background:#f3f3f3}.conversation-item.hover{background:#f1f1f1}.conversation-item .user-avatar{width:6.4em;height:6.4em;margin:0 2em 0 0;position:relative}.avatar-image{background:#4790ee;border-radius:50%;width:6.4em;height:6.4em;overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.conversation-item .user-avatar img{width:100%}.conversation-item .user-avatar .message-count{position:absolute;right:0;top:0;height:2em;line-height:2em;background-color:#ff4141;color:#fff;border-radius:1em;text-align:center;font-size:1.1em;min-width:2em;-webkit-box-sizing:border-box;box-sizing:border-box;padding:0 0.6em}.conversation-info{-ms-flex-positive:1;flex-grow:1;width:calc(100% - 10em)}.info-block{-ms-flex-positive:0;flex-grow:0;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;margin:0 0 0.6em;width:100%}.info-block:last-child{margin:0}.user-name{font-size:2.2em;font-weight:400;color:#111f2c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:49%}.latest-message{color:#a0a5ab;font-size:1.6em;line-height:1.6em;width:calc(100% - 2.2em);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.latest-message>div{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;font-size:1.25em;line-height:1.25em}.latest-message>div .ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;width:100%}.latest-message-ellipsis{width:100%}.last-time{color:#c7cbce;height:1.3333em;line-height:1.3333em;text-align:right;font-size:1.8em}.notification{height:2em;line-height:2em}.notification span{width:2em;height:2em;display:inline-block}.notification .disable{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjdweCIgaGVpZ2h0PSIyNnB4IiB2aWV3Qm94PSIwIDAgMjcgMjYiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5YWN5omT5omwPC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IjAxX+S8muivneWIl+ihqOamguiniCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTQwMS4wMDAwMDAsIC02MzguMDAwMDAwKSIgZmlsbC1ydWxlPSJub256ZXJvIj4KICAgICAgICAgICAgPGcgaWQ9IuWFjeaJk+aJsCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNDAxLjQwMDAwMCwgNjM4LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPHJlY3QgaWQ9IuefqeW9oiIgeD0iMCIgeT0iMCIgd2lkdGg9IjI2IiBoZWlnaHQ9IjI2Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICA8cGF0aCBkPSJNNy4zMTI1LDEyLjQ2ODUgTDE3LjYxOTUsMTguNjg3NSBMMTguNjg3NSwxOC42ODc1IEMxOS41ODQ5NjI3LDE4LjY4NzUgMjAuMzEyNSwxOS40MTUwMzczIDIwLjMxMjUsMjAuMzEyNSBDMjAuMzEyNSwyMS4yMDk5NjI3IDE5LjU4NDk2MjcsMjEuOTM3NSAxOC42ODc1LDIxLjkzNzUgTDYuNSwyMS45Mzc1IEM1LjYwMjUzNzI4LDIxLjkzNzUgNC44NzUsMjEuMjA5OTYyNyA0Ljg3NSwyMC4zMTI1IEM0Ljg3NSwxOS40MTUwMzczIDUuNjAyNTM3MjgsMTguNjg3NSA2LjUsMTguNjg3NSBMNy4zMTI1LDE4LjY4NzUgTDcuMzEyNSwxMi40Njg1IFogTTEyLjU5Mzc1LDQuMDYyNSBDMTMuMjY2ODQ3LDQuMDYyNSAxMy44MTI1LDQuNjA4MTUyOTYgMTMuODEyNSw1LjI4MTI1IEwxMy44MTI5ODE0LDUuODI4OTMzMzYgQzE2LjE0MTkzMjYsNi4zNzkzMDM1MyAxNy44NzUsOC40NzE2MzY5NyAxNy44NzUsMTAuOTY4NzUgTDE3Ljg3Mzk1NTQsMTQuOTYwNSBMMjIuMDU1OTU1NCwxNy40MjI1MjIxIEwyMS4yMjExOTk5LDE4Ljg5NjgyNzMgTDQuMTgwOTU1NDMsOC44NjQ5Mzk1MSBMNS4wMTU3MTA5Miw3LjM5MDYzNDM2IEw3LjcwMjgwMTc2LDguOTcyNTIwMjggQzguMzQwNzUxODksNy40MTEwOTUyMiA5LjcwNDY4NjA3LDYuMjIzMzQ3OTMgMTEuMzc1MDgyNiw1LjgyODgwMDExIEwxMS4zNzUsNS4yODEyNSBDMTEuMzc1LDQuNjA4MTUyOTYgMTEuOTIwNjUzLDQuMDYyNSAxMi41OTM3NSw0LjA2MjUgWiIgaWQ9IuW9oueKtue7k+WQiCIgZmlsbD0iI0QxRDFEMSI+PC9wYXRoPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=);background-repeat:no-repeat;background-size:contain}.latest-message .fail{}.latest-message .sending::before,.latest-message .fail::before{content:" ";display:inline-block;background-size:contain;background-repeat:no-repeat;vertical-align:middle;width:1.3em;height:1.3em;margin:0 0.2em 0 0}.latest-message .sending::before{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjdweCIgaGVpZ2h0PSIyNnB4IiB2aWV3Qm94PSIwIDAgMjcgMjYiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5q2j5Zyo5Y+R6YCBPC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IjAyX+WNleiBii3ljZXogYrlkJHkuIrmu5rliqjml7YtbG9hZGluZyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEwNC4wMDAwMDAsIC01MzQuMDAwMDAwKSIgZmlsbC1ydWxlPSJub256ZXJvIj4KICAgICAgICAgICAgPGcgaWQ9Iue8lue7hOWkh+S7vS00IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjQwMDAwMCwgNDc1LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPGcgaWQ9Iuato+WcqOWPkemAgSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTA0LjAwMDAwMCwgNTkuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICAgICAgPHJlY3QgaWQ9IuefqeW9oiIgeD0iMCIgeT0iMCIgd2lkdGg9IjI2IiBoZWlnaHQ9IjI2Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICAgICAgPGcgaWQ9Iue8lue7hC0yNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMi4wMDAwMDAsIDQuMDAwMDAwKSIgZmlsbD0iI0Q4RDhEOCI+CiAgICAgICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik05Ljg1NzE0Mjg2LDAgTDkuODU3MTQyODYsNC45MDkwOTA5MSBMMTUuNjA3MTQyOSw0LjkwOTA5MDkxIEwxNS42MDcxNDI5LDEzLjkwOTA5MDkgTDkuODU3MTQyODYsMTMuOTA5MDkwOSBMOS44NTcxNDI4NiwxOCBMMCw5LjAyNzU5MzU1IEw5Ljg1NzE0Mjg2LDAgWiBNMTkuNzE0Mjg1Nyw0LjkwOTA5MDkxIEwxOS43MTQyODU3LDEzLjkwOTA5MDkgTDE3LjI1LDEzLjkwOTA5MDkgTDE3LjI1LDQuOTA5MDkwOTEgTDE5LjcxNDI4NTcsNC45MDkwOTA5MSBaIE0yMyw0LjkwOTA5MDkxIEwyMywxMy45MDkwOTA5IEwyMS4zNTcxNDI5LDEzLjkwOTA5MDkgTDIxLjM1NzE0MjksNC45MDkwOTA5MSBMMjMsNC45MDkwOTA5MSBaIiBpZD0i5b2i54q257uT5ZCIIj48L3BhdGg+CiAgICAgICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)}.latest-message .fail::before{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjVweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjUgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5oSf5Y+55Y+3PC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IjAyX+WNleiBii3ljZXogYrlkJHkuIrmu5rliqjml7YtbG9hZGluZyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEwNC4wMDAwMDAsIC02MzkuMDAwMDAwKSIgZmlsbC1ydWxlPSJub256ZXJvIj4KICAgICAgICAgICAgPGcgaWQ9IuaEn+WPueWPtyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTA0LjQwMDAwMCwgNjM5LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPHJlY3QgaWQ9IuefqeW9oiIgeD0iMCIgeT0iMCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICA8ZyBpZD0i57yW57uELTI0IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxLjUwMDAwMCwgMS41MDAwMDApIj4KICAgICAgICAgICAgICAgICAgICA8Y2lyY2xlIGlkPSLmpK3lnIblvaIiIGZpbGw9IiNGRjQxNDEiIGN4PSIxMC41IiBjeT0iMTAuNSIgcj0iMTAuNSI+PC9jaXJjbGU+CiAgICAgICAgICAgICAgICAgICAgPHJlY3QgaWQ9IuefqeW9oiIgZmlsbD0iI0ZGRkZGRiIgeD0iOS43NSIgeT0iNS4yNSIgd2lkdGg9IjEuNSIgaGVpZ2h0PSI3LjUiPjwvcmVjdD4KICAgICAgICAgICAgICAgICAgICA8Y2lyY2xlIGlkPSLmpK3lnIblvaIiIGZpbGw9IiNGRkZGRkYiIGN4PSIxMC41IiBjeT0iMTUiIHI9IjEiPjwvY2lyY2xlPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)}.mentioned{color:red}.latest-message i{font-style:normal}',Kn=function(t){xe(n,t);var e=ke(n);function n(){var t;return Ke(this,n),t=e.call(this),t.__registerHost(),t.selectConversation=Tt(Ue(t),"selectConversation",7),t.isHover=!1,t.draft="",t.lang=_n.lang,t.selectHandler=t.selectHandler.bind(Ue(t)),t.handleSwitchConversation=t.handleSwitchConversation.bind(Ue(t)),t.handleLanguageChanged=t.handleLanguageChanged.bind(Ue(t)),t.handleInfoChanged=t.handleInfoChanged.bind(Ue(t)),t}return Je(n,[{key:"componentWillLoad",value:function(){_n.on(_e.SWITCH_CONVERSATION,this.handleSwitchConversation),_n.off(_e.LANGUAGE_CHANGED,this.handleLanguageChanged),_n.on(_e.LANGUAGE_CHANGED,this.handleLanguageChanged),_n.on(_e.CONVERSATION_INFO_CHANGED,this.handleInfoChanged),_n.on(_e.GROUP_INFO_CHANGED,this.handleInfoChanged)}},{key:"componentDidUpdate",value:function(){_n.off(_e.SWITCH_CONVERSATION,this.handleSwitchConversation),_n.on(_e.SWITCH_CONVERSATION,this.handleSwitchConversation),_n.off(_e.LANGUAGE_CHANGED,this.handleLanguageChanged),_n.on(_e.LANGUAGE_CHANGED,this.handleLanguageChanged)}},{key:"disconnectedCallback",value:function(){_n.off(_e.SWITCH_CONVERSATION,this.handleSwitchConversation),_n.off(_e.LANGUAGE_CHANGED,this.handleLanguageChanged),_n.off(_e.GROUP_INFO_CHANGED,this.handleInfoChanged),_n.off(_e.CONVERSATION_INFO_CHANGED,this.handleInfoChanged)}},{key:"handleInfoChanged",value:function(){var t=this,e=this.data.conversation.latestMessage||null;if(e.messageType===Ce["h"].RECALL_MESSAGE_TYPE){var n=this.locale.conversation.recall,r=e.messageDirection===Ce["g"].SEND,i="";e.conversationType!==Ce["a"].PRIVATE||r?e.conversationType===Ce["a"].GROUP&&_n.getGroupMemberProfile({targetId:e.targetId,conversationType:Ce["a"].GROUP,channelId:e.channelId},e.senderUserId).then((function(o){r||(i=o&&(o.groupNickname||o.name)||e.senderUserId),t.nameRef.innerText="".concat(i," ").concat(n)})):_n.getConversationProfile({targetId:e.targetId,conversationType:Ce["a"].PRIVATE,channelId:e.channelId}).then((function(r){i=r?r.name:e.senderUserId,t.nameRef.innerText="".concat(i," ").concat(n)}))}}},{key:"handleSwitchConversation",value:function(){var t=this;this.locale=this.lang?kn[this.lang]:kn.zh_CN,_n.currentConversation&&nn(_n.currentConversation,this.data.conversation)?this.draft="":Object(Ce["x"])(this.data.conversation).then((function(e){if(0===e.code&&e.data){var n=document.createElement("div");n.innerHTML=e.data;var r="[".concat(t.locale.conversation.draft,"]");t.draft=Z("span",null,Z("i",{style:{color:"red"}},r," ")," ",n.innerText)}else t.draft=""}))}},{key:"getLatestMessage",value:function(t,e){var n=this;if(!t)return"";var r="",i=0!==this.data.conversation.unreadMessageCount&&(!_n.currentConversation||!nn(_n.currentConversation,this.data.conversation));if(i){var o="[".concat(e.conversation.atMe,"]");this.data.conversation.hasMentioned&&(r=Z("span",{class:"mentioned"},o))}var s="",a="";t.messageDirection===Ce["g"].SEND&&(t.messageUId.startsWith("fail_")?a="fail":t.messageUId.startsWith("sending_")?a="sending":t.conversationType===Ce["a"].PRIVATE&&"polyfill"!==t.messageType&&(s=t.receivedStatus===Ce["j"].UNREAD?"[".concat(e.conversation.unread,"]"):"[".concat(e.conversation.read,"]")));var c,u,l,f="",h=e.conversation.recall,d=e.conversation.you;switch(t.messageType){case Ce["h"].TEXT:f=t.content.content;break;case Ce["h"].FILE:c="[".concat(e.conversation.file,"]"),f=c;break;case Ce["h"].IMAGE:c="[".concat(e.conversation.img,"]"),f=c;break;case Ce["h"].LOCATION:c="[".concat(e.conversation.location,"]"),f=c;break;case Ce["h"].SIGHT:c="[".concat(e.conversation.video,"]"),f=c;break;case Ce["h"].HQ_VOICE:c="[".concat(e.conversation.audio,"]"),f=c;break;case Ce["h"].REFERENCE:c="[".concat(e.conversation.quote,"]"),f=c;break;case Ce["h"].RECALL_MESSAGE_TYPE:u=t.messageDirection===Ce["g"].SEND,l=u?d:"",t.conversationType!==Ce["a"].PRIVATE||u?t.conversationType===Ce["a"].GROUP&&_n.getGroupMemberProfile({targetId:t.targetId,conversationType:Ce["a"].GROUP,channelId:t.channelId},t.senderUserId).then((function(e){u||(l=e&&(e.groupNickname||e.name)||t.senderUserId),n.nameRef.innerText="".concat(l," ").concat(h)})):_n.getConversationProfile({targetId:t.targetId,conversationType:Ce["a"].PRIVATE,channelId:t.channelId}).then((function(e){l=e?e.name:t.senderUserId,n.nameRef.innerText="".concat(l," ").concat(h)})),f=l+h,s="";break;case"RC:GrpNtf":f=sn(e,t.content);break;case"RC:InfoNtf":f=t.content.message;break;default:_n.isCustomLastMessage(t)&&(f=_n.createCustomLastMessageDom(t)?_n.createCustomLastMessageDom(t):"")}return Wn(f)||(f="",Ce["logger"].info(Ae.A_KIT_MESSAGE_E,{msg:"Message structure parsing exception ",message:t})),f=f.replace(/[\r\n]/g,""),this.nameRef&&(this.nameRef.innerText=" ".concat(f)),Z("div",{class:"".concat(a," latest-message-ellipsis")},Z("span",{class:"ellipsis"},r,s,Z("span",{ref:function(t){return n.nameRef=t,n.nameRef}}," ".concat(f))))}},{key:"selectHandler",value:function(t){2!==t.button&&this.selectConversation.emit({conversationType:this.data.conversation.conversationType,targetId:this.data.conversation.targetId,channelId:this.data.conversation.channelId})}},{key:"conversationFormatTime",value:function(t,e){return t?$n(t.sentTime,{hour:":",minute:""},e):null}},{key:"handleLanguageChanged",value:function(t){this.lang=t.lang,this.handleSwitchConversation()}},{key:"render",value:function(){var t,e,n;this.locale=this.lang?kn[this.lang]:kn.zh_CN;var r=this.data,i=this.isHover,o=this.locale;return Z("div",{class:"conversation-item ".concat(r.conversation.isTop?"top-item":"untop-item").concat(i?" hover":""),key:"".concat(r.conversation.targetId,"&&").concat(r.conversation.conversationType,"&&").concat(r.conversation.channelId),onMouseUp:this.selectHandler},Z("div",{class:"user-avatar"},Z("div",{class:"avatar-image"},null!==(t=r.profile)&&void 0!==t&&t.portraitUri?Z("img",{src:r.profile.portraitUri}):null),r.conversation.unreadMessageCount?Z("span",{class:"message-count"},r.conversation.unreadMessageCount):null),Z("div",{class:"conversation-info"},Z("div",{class:"info-block"},Z("div",{class:"user-name"},Z("span",null,null!==(e=r.profile)&&void 0!==e&&e.name?null===(n=r.profile)||void 0===n?void 0:n.name:r.conversation.targetId)),Z("div",{class:"last-time"},this.conversationFormatTime(r.conversation.latestMessage,o))),Z("div",{class:"info-block"},Z("div",{class:"latest-message"},Z("div",null,this.draft?this.draft:this.getLatestMessage(r.conversation.latestMessage,o))),Z("div",{class:"notification"},r.conversation.notificationStatus===Ce["i"].OPEN?Z("span",{class:"disable"}):null))))}}],[{key:"style",get:function(){return Zn}}]),n}(we(HTMLElement)),qn=function(t,e){return qn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},qn(t,e)};function Jn(t,e){function n(){this.constructor=t}qn(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Xn=function(){return Xn=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n],e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},Xn.apply(this,arguments)};function tr(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),i=0;for(e=0;e<n;e++)for(var o=arguments[e],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r}var er=[{sourceKey:"scroller.scrollBehaviorX.currentPos",key:"x"},{sourceKey:"scroller.scrollBehaviorY.currentPos",key:"y"},{sourceKey:"scroller.scrollBehaviorX.hasScroll",key:"hasHorizontalScroll"},{sourceKey:"scroller.scrollBehaviorY.hasScroll",key:"hasVerticalScroll"},{sourceKey:"scroller.scrollBehaviorX.contentSize",key:"scrollerWidth"},{sourceKey:"scroller.scrollBehaviorY.contentSize",key:"scrollerHeight"},{sourceKey:"scroller.scrollBehaviorX.maxScrollPos",key:"maxScrollX"},{sourceKey:"scroller.scrollBehaviorY.maxScrollPos",key:"maxScrollY"},{sourceKey:"scroller.scrollBehaviorX.minScrollPos",key:"minScrollX"},{sourceKey:"scroller.scrollBehaviorY.minScrollPos",key:"minScrollY"},{sourceKey:"scroller.scrollBehaviorX.movingDirection",key:"movingDirectionX"},{sourceKey:"scroller.scrollBehaviorY.movingDirection",key:"movingDirectionY"},{sourceKey:"scroller.scrollBehaviorX.direction",key:"directionX"},{sourceKey:"scroller.scrollBehaviorY.direction",key:"directionY"},{sourceKey:"scroller.actions.enabled",key:"enabled"},{sourceKey:"scroller.animater.pending",key:"pending"},{sourceKey:"scroller.animater.stop",key:"stop"},{sourceKey:"scroller.scrollTo",key:"scrollTo"},{sourceKey:"scroller.scrollBy",key:"scrollBy"},{sourceKey:"scroller.scrollToElement",key:"scrollToElement"},{sourceKey:"scroller.resetPosition",key:"resetPosition"}];function nr(t){console.error("[BScroll warn]: "+t)}var rr="undefined"!==typeof window,ir=rr&&navigator.userAgent.toLowerCase(),or=!(!ir||!/wechatdevtools/.test(ir)),sr=ir&&ir.indexOf("android")>0,ar=function(){if("string"===typeof ir){var t=/os (\d\d?_\d(_\d)?)/,e=t.exec(ir);if(!e)return!1;var n=e[1].split("_").map((function(t){return parseInt(t,10)}));return!!(13===n[0]&&n[1]>=4)}return!1}(),cr=!1;if(rr){var ur="test-passive";try{var lr={};Object.defineProperty(lr,"passive",{get:function(){cr=!0}}),window.addEventListener(ur,(function(){}),lr)}catch(Is){}}function fr(){return window.performance&&window.performance.now&&window.performance.timing?window.performance.now()+window.performance.timing.navigationStart:+new Date}var hr=function(t,e){for(var n in e)t[n]=e[n];return t};function dr(t){return void 0===t||null===t}function pr(t,e,n){return t<e?e:t>n?n:t}var gr=rr&&document.createElement("div").style,vr=function(){if(!rr)return!1;for(var t=[{key:"standard",value:"transform"},{key:"webkit",value:"webkitTransform"},{key:"Moz",value:"MozTransform"},{key:"O",value:"OTransform"},{key:"ms",value:"msTransform"}],e=0,n=t;e<n.length;e++){var r=n[e];if(void 0!==gr[r.value])return r.key}return!1}();function yr(t){return!1===vr?t:"standard"===vr?"transitionEnd"===t?"transitionend":t:vr+t.charAt(0).toUpperCase()+t.substr(1)}function mr(t){return"string"===typeof t?document.querySelector(t):t}function Ir(t,e,n,r){var i=cr?{passive:!1,capture:!!r}:!!r;t.addEventListener(e,n,i)}function Mr(t,e,n,r){t.removeEventListener(e,n,{capture:!!r})}function br(t){var e=0,n=0;while(t)e-=t.offsetLeft,n-=t.offsetTop,t=t.offsetParent;return{left:e,top:n}}vr&&"standard"!==vr&&vr.toLowerCase();var _r=yr("transform"),Ar=yr("transition"),Cr=rr&&yr("perspective")in gr,Tr=rr&&("ontouchstart"in window||or),Er=rr&&Ar in gr,wr={transform:_r,transition:Ar,transitionTimingFunction:yr("transitionTimingFunction"),transitionDuration:yr("transitionDuration"),transitionDelay:yr("transitionDelay"),transformOrigin:yr("transformOrigin"),transitionEnd:yr("transitionEnd"),transitionProperty:yr("transitionProperty")},Nr={touchstart:1,touchmove:1,touchend:1,touchcancel:1,mousedown:2,mousemove:2,mouseup:2};function Sr(t){if(t instanceof window.SVGElement){var e=t.getBoundingClientRect();return{top:e.top,left:e.left,width:e.width,height:e.height}}return{top:t.offsetTop,left:t.offsetLeft,width:t.offsetWidth,height:t.offsetHeight}}function Or(t,e){for(var n in e)if(e[n].test(t[n]))return!0;return!1}var Dr=Or;function Rr(t,e){var n=document.createEvent("Event");n.initEvent(e,!0,!0),n.pageX=t.pageX,n.pageY=t.pageY,t.target.dispatchEvent(n)}function Lr(t,e){var n;void 0===e&&(e="click"),"mouseup"===t.type?n=t:"touchend"!==t.type&&"touchcancel"!==t.type||(n=t.changedTouches[0]);var r,i={};n&&(i.screenX=n.screenX||0,i.screenY=n.screenY||0,i.clientX=n.clientX||0,i.clientY=n.clientY||0);var o=!0,s=!0,a=t.ctrlKey,c=t.shiftKey,u=t.altKey,l=t.metaKey,f={ctrlKey:a,shiftKey:c,altKey:u,metaKey:l};if("undefined"!==typeof MouseEvent)try{r=new MouseEvent(e,hr(Xn({bubbles:o,cancelable:s},f),i))}catch(t){h()}else h();function h(){r=document.createEvent("Event"),r.initEvent(e,o,s),hr(r,i)}r.forwardedTouchEvent=!0,r._constructed=!0,t.target.dispatchEvent(r)}function xr(t){Lr(t,"dblclick")}var jr={swipe:{style:"cubic-bezier(0.23, 1, 0.32, 1)",fn:function(t){return 1+--t*t*t*t*t}},swipeBounce:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(t){return t*(2-t)}},bounce:{style:"cubic-bezier(0.165, 0.84, 0.44, 1)",fn:function(t){return 1- --t*t*t*t}}},kr=1e3/60,Pr=rr&&window;function Ur(){}var zr=function(){return rr?Pr.requestAnimationFrame||Pr.webkitRequestAnimationFrame||Pr.mozRequestAnimationFrame||Pr.oRequestAnimationFrame||function(t){return window.setTimeout(t,t.interval||kr)}:Ur}(),Gr=function(){return rr?Pr.cancelAnimationFrame||Pr.webkitCancelAnimationFrame||Pr.mozCancelAnimationFrame||Pr.oCancelAnimationFrame||function(t){window.clearTimeout(t)}:Ur}(),Br=function(t){},Yr={enumerable:!0,configurable:!0,get:Br,set:Br},Fr=function(t,e){for(var n=e.split("."),r=0;r<n.length-1;r++)if(t=t[n[r]],"object"!==Ee(t)||!t)return;var i=n.pop();return"function"===typeof t[i]?function(){return t[i].apply(t,arguments)}:t[i]},$r=function(t,e,n){for(var r,i=e.split("."),o=0;o<i.length-1;o++)r=i[o],t[r]||(t[r]={}),t=t[r];t[i.pop()]=n};function Hr(t,e,n){Yr.get=function(){return Fr(this,e)},Yr.set=function(t){$r(this,e,t)},Object.defineProperty(t,n,Yr)}var Vr=function(){function t(t){this.events={},this.eventTypes={},this.registerType(t)}return t.prototype.on=function(t,e,n){return void 0===n&&(n=this),this.hasType(t),this.events[t]||(this.events[t]=[]),this.events[t].push([e,n]),this},t.prototype.once=function(t,e,n){var r=this;void 0===n&&(n=this),this.hasType(t);var i=function i(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];r.off(t,i);var a=e.apply(n,o);if(!0===a)return a};return i.fn=e,this.on(t,i),this},t.prototype.off=function(t,e){if(!t&&!e)return this.events={},this;if(t){if(this.hasType(t),!e)return this.events[t]=[],this;var n=this.events[t];if(!n)return this;var r=n.length;while(r--)(n[r][0]===e||n[r][0]&&n[r][0].fn===e)&&n.splice(r,1);return this}},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];this.hasType(t);var r=this.events[t];if(r)for(var i,o=r.length,s=tr(r),a=0;a<o;a++){var c=s[a],u=c[0],l=c[1];if(u&&(i=u.apply(l,e),!0===i))return i}},t.prototype.registerType=function(t){var e=this;t.forEach((function(t){e.eventTypes[t]=t}))},t.prototype.destroy=function(){this.events={},this.eventTypes={}},t.prototype.hasType=function(t){var e=this.eventTypes,n=e[t]===t;n||nr('EventEmitter has used unknown event type: "'+t+'", should be oneof ['+Object.keys(e).map((function(t){return JSON.stringify(t)}))+"]")},t}(),Qr=function(){function t(t,e){this.wrapper=t,this.events=e,this.addDOMEvents()}return t.prototype.destroy=function(){this.removeDOMEvents(),this.events=[]},t.prototype.addDOMEvents=function(){this.handleDOMEvents(Ir)},t.prototype.removeDOMEvents=function(){this.handleDOMEvents(Mr)},t.prototype.handleDOMEvents=function(t){var e=this,n=this.wrapper;this.events.forEach((function(r){t(n,r.name,e,!!r.capture)}))},t.prototype.handleEvent=function(t){var e=t.type;this.events.some((function(n){return n.name===e&&(n.handler(t),!0)}))},t}(),Wr=function(){function t(){}return t}(),Zr=function(t){function e(){var e=t.call(this)||this;return e.startX=0,e.startY=0,e.scrollX=!1,e.scrollY=!0,e.freeScroll=!1,e.directionLockThreshold=0,e.eventPassthrough="",e.click=!1,e.dblclick=!1,e.tap="",e.bounce={top:!0,bottom:!0,left:!0,right:!0},e.bounceTime=800,e.momentum=!0,e.momentumLimitTime=300,e.momentumLimitDistance=15,e.swipeTime=2500,e.swipeBounceTime=500,e.deceleration=.0015,e.flickLimitTime=200,e.flickLimitDistance=100,e.resizePolling=60,e.probeType=0,e.stopPropagation=!1,e.preventDefault=!0,e.preventDefaultException={tagName:/^(INPUT|TEXTAREA|BUTTON|SELECT|AUDIO)$/},e.tagException={tagName:/^TEXTAREA$/},e.HWCompositing=!0,e.useTransition=!0,e.bindToWrapper=!1,e.bindToTarget=!1,e.disableMouse=Tr,e.disableTouch=!Tr,e.autoBlur=!0,e.autoEndDistance=5,e.outOfBoundaryDampingFactor=1/3,e.specifiedIndexAsContent=0,e.quadrant=1,e}return Jn(e,t),e.prototype.merge=function(t){if(!t)return this;for(var e in t)"bounce"!==e?this[e]=t[e]:this.bounce=this.resolveBounce(t[e]);return this},e.prototype.process=function(){return this.translateZ=this.HWCompositing&&Cr?" translateZ(1px)":"",this.useTransition=this.useTransition&&Er,this.preventDefault=!this.eventPassthrough&&this.preventDefault,this.scrollX="horizontal"!==this.eventPassthrough&&this.scrollX,this.scrollY="vertical"!==this.eventPassthrough&&this.scrollY,this.freeScroll=this.freeScroll&&!this.eventPassthrough,this.scrollX=!!this.freeScroll||this.scrollX,this.scrollY=!!this.freeScroll||this.scrollY,this.directionLockThreshold=this.eventPassthrough?0:this.directionLockThreshold,this},e.prototype.resolveBounce=function(t){var e,n={top:!0,right:!0,bottom:!0,left:!0},r={top:!1,right:!1,bottom:!1,left:!1};return e="object"===Ee(t)?hr(n,t):t?n:r,e},e}(Wr),Kr=function(){function t(t,e){this.wrapper=t,this.options=e,this.hooks=new Vr(["beforeStart","start","move","end","click"]),this.handleDOMEvents()}return t.prototype.handleDOMEvents=function(){var t=this.options,e=t.bindToWrapper,n=t.disableMouse,r=t.disableTouch,i=t.click,o=this.wrapper,s=e?o:window,a=[],c=[],u=!r,l=!n;i&&a.push({name:"click",handler:this.click.bind(this),capture:!0}),u&&(a.push({name:"touchstart",handler:this.start.bind(this)}),c.push({name:"touchmove",handler:this.move.bind(this)},{name:"touchend",handler:this.end.bind(this)},{name:"touchcancel",handler:this.end.bind(this)})),l&&(a.push({name:"mousedown",handler:this.start.bind(this)}),c.push({name:"mousemove",handler:this.move.bind(this)},{name:"mouseup",handler:this.end.bind(this)})),this.wrapperEventRegister=new Qr(o,a),this.targetEventRegister=new Qr(s,c)},t.prototype.beforeHandler=function(t,e){var n=this.options,r=n.preventDefault,i=n.stopPropagation,o=n.preventDefaultException,s={start:function(){return r&&!Or(t.target,o)},end:function(){return r&&!Or(t.target,o)},move:function(){return r}};s[e]()&&t.preventDefault(),i&&t.stopPropagation()},t.prototype.setInitiated=function(t){void 0===t&&(t=0),this.initiated=t},t.prototype.start=function(t){var e=Nr[t.type];if(!this.initiated||this.initiated===e)if(this.setInitiated(e),Dr(t.target,this.options.tagException))this.setInitiated();else if((2!==e||0===t.button)&&!this.hooks.trigger(this.hooks.eventTypes.beforeStart,t)){this.beforeHandler(t,"start");var n=t.touches?t.touches[0]:t;this.pointX=n.pageX,this.pointY=n.pageY,this.hooks.trigger(this.hooks.eventTypes.start,t)}},t.prototype.move=function(t){if(Nr[t.type]===this.initiated){this.beforeHandler(t,"move");var e=t.touches?t.touches[0]:t,n=e.pageX-this.pointX,r=e.pageY-this.pointY;if(this.pointX=e.pageX,this.pointY=e.pageY,!this.hooks.trigger(this.hooks.eventTypes.move,{deltaX:n,deltaY:r,e:t})){var i=document.documentElement.scrollLeft||window.pageXOffset||document.body.scrollLeft,o=document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop,s=this.pointX-i,a=this.pointY-o,c=this.options.autoEndDistance;(s>document.documentElement.clientWidth-c||a>document.documentElement.clientHeight-c||s<c||a<c)&&this.end(t)}}},t.prototype.end=function(t){Nr[t.type]===this.initiated&&(this.setInitiated(),this.beforeHandler(t,"end"),this.hooks.trigger(this.hooks.eventTypes.end,t))},t.prototype.click=function(t){this.hooks.trigger(this.hooks.eventTypes.click,t)},t.prototype.setContent=function(t){t!==this.wrapper&&(this.wrapper=t,this.rebindDOMEvents())},t.prototype.rebindDOMEvents=function(){this.wrapperEventRegister.destroy(),this.targetEventRegister.destroy(),this.handleDOMEvents()},t.prototype.destroy=function(){this.wrapperEventRegister.destroy(),this.targetEventRegister.destroy(),this.hooks.destroy()},t}(),qr={x:["translateX","px"],y:["translateY","px"]},Jr=function(){function t(t){this.setContent(t),this.hooks=new Vr(["beforeTranslate","translate"])}return t.prototype.getComputedPosition=function(){var t=window.getComputedStyle(this.content,null),e=t[wr.transform].split(")")[0].split(", "),n=+(e[12]||e[4])||0,r=+(e[13]||e[5])||0;return{x:n,y:r}},t.prototype.translate=function(t){var e=[];Object.keys(t).forEach((function(n){if(qr[n]){var r=qr[n][0];if(r){var i=qr[n][1],o=t[n];e.push(r+"("+o+i+")")}}})),this.hooks.trigger(this.hooks.eventTypes.beforeTranslate,e,t),this.style[wr.transform]=e.join(" "),this.hooks.trigger(this.hooks.eventTypes.translate,t)},t.prototype.setContent=function(t){this.content!==t&&(this.content=t,this.style=t.style)},t.prototype.destroy=function(){this.hooks.destroy()},t}(),Xr=function(){function t(t,e,n){this.translater=e,this.options=n,this.timer=0,this.hooks=new Vr(["move","end","beforeForceStop","forceStop","callStop","time","timeFunction"]),this.setContent(t)}return t.prototype.translate=function(t){this.translater.translate(t)},t.prototype.setPending=function(t){this.pending=t},t.prototype.setForceStopped=function(t){this.forceStopped=t},t.prototype.setCallStop=function(t){this.callStopWhenPending=t},t.prototype.setContent=function(t){this.content!==t&&(this.content=t,this.style=t.style,this.stop())},t.prototype.clearTimer=function(){this.timer&&(Gr(this.timer),this.timer=0)},t.prototype.destroy=function(){this.hooks.destroy(),Gr(this.timer)},t}(),ti=function(t,e,n,r){var i=function(t,e){var n=t-e,r=n>0?-1:n<0?1:0;return r},o=i(e.x,t.x),s=i(e.y,t.y),a=n.x-r.x,c=n.y-r.y;return o*a<=0&&s*c<=0},ei=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Jn(e,t),e.prototype.startProbe=function(t,e){var n=this,r=t,i=function i(){var o=n.translater.getComputedPosition();ti(t,e,o,r)&&n.hooks.trigger(n.hooks.eventTypes.move,o),n.pending||(n.callStopWhenPending?n.callStopWhenPending=!1:n.hooks.trigger(n.hooks.eventTypes.end,o)),r=o,n.pending&&(n.timer=zr(i))};this.callStopWhenPending&&this.setCallStop(!1),Gr(this.timer),i()},e.prototype.transitionTime=function(t){void 0===t&&(t=0),this.style[wr.transitionDuration]=t+"ms",this.hooks.trigger(this.hooks.eventTypes.time,t)},e.prototype.transitionTimingFunction=function(t){this.style[wr.transitionTimingFunction]=t,this.hooks.trigger(this.hooks.eventTypes.timeFunction,t)},e.prototype.transitionProperty=function(){this.style[wr.transitionProperty]=wr.transform},e.prototype.move=function(t,e,n,r){this.setPending(n>0),this.transitionTimingFunction(r),this.transitionProperty(),this.transitionTime(n),this.translate(e);var i=3===this.options.probeType;n&&i&&this.startProbe(t,e),n||(this._reflow=this.content.offsetHeight,i&&this.hooks.trigger(this.hooks.eventTypes.move,e),this.hooks.trigger(this.hooks.eventTypes.end,e))},e.prototype.doStop=function(){var t=this.pending;if(this.setForceStopped(!1),this.setCallStop(!1),t){this.setPending(!1),Gr(this.timer);var e=this.translater.getComputedPosition(),n=e.x,r=e.y;this.transitionTime(),this.translate({x:n,y:r}),this.setForceStopped(!0),this.setCallStop(!0),this.hooks.trigger(this.hooks.eventTypes.forceStop,{x:n,y:r})}return t},e.prototype.stop=function(){var t=this.doStop();t&&this.hooks.trigger(this.hooks.eventTypes.callStop)},e}(Xr),ni=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Jn(e,t),e.prototype.move=function(t,e,n,r){if(!n)return this.translate(e),3===this.options.probeType&&this.hooks.trigger(this.hooks.eventTypes.move,e),void this.hooks.trigger(this.hooks.eventTypes.end,e);this.animate(t,e,n,r)},e.prototype.animate=function(t,e,n,r){var i=this,o=fr(),s=o+n,a=3===this.options.probeType,c=function c(){var u=fr();if(u>=s)return i.translate(e),a&&i.hooks.trigger(i.hooks.eventTypes.move,e),void i.hooks.trigger(i.hooks.eventTypes.end,e);u=(u-o)/n;var l=r(u),f={};Object.keys(e).forEach((function(n){var r=t[n],i=e[n];f[n]=(i-r)*l+r})),i.translate(f),a&&i.hooks.trigger(i.hooks.eventTypes.move,f),i.pending&&(i.timer=zr(c)),i.pending||(i.callStopWhenPending?i.callStopWhenPending=!1:i.hooks.trigger(i.hooks.eventTypes.end,e))};this.setPending(!0),this.callStopWhenPending&&this.setCallStop(!1),Gr(this.timer),c()},e.prototype.doStop=function(){var t=this.pending;if(this.setForceStopped(!1),this.setCallStop(!1),t){this.setPending(!1),Gr(this.timer);var e=this.translater.getComputedPosition();this.setForceStopped(!0),this.setCallStop(!0),this.hooks.trigger(this.hooks.eventTypes.forceStop,e)}return t},e.prototype.stop=function(){var t=this.doStop();t&&this.hooks.trigger(this.hooks.eventTypes.callStop)},e}(Xr);function ri(t,e,n){var r=n.useTransition,i={};return Object.defineProperty(i,"probeType",{enumerable:!0,configurable:!1,get:function(){return n.probeType}}),r?new ei(t,e,i):new ni(t,e,i)}var ii,oi,si,ai,ci=function(){function t(t,e,n){this.wrapper=t,this.options=n,this.hooks=new Vr(["beforeComputeBoundary","computeBoundary","momentum","end","ignoreHasScroll"]),this.refresh(e)}return t.prototype.start=function(){this.dist=0,this.setMovingDirection(0),this.setDirection(0)},t.prototype.move=function(t){return t=this.hasScroll?t:0,this.setMovingDirection(t),this.performDampingAlgorithm(t,this.options.outOfBoundaryDampingFactor)},t.prototype.setMovingDirection=function(t){this.movingDirection=t>0?-1:t<0?1:0},t.prototype.setDirection=function(t){this.direction=t>0?-1:t<0?1:0},t.prototype.performDampingAlgorithm=function(t,e){var n=this.currentPos+t;return(n>this.minScrollPos||n<this.maxScrollPos)&&(n=n>this.minScrollPos&&this.options.bounces[0]||n<this.maxScrollPos&&this.options.bounces[1]?this.currentPos+t*e:n>this.minScrollPos?this.minScrollPos:this.maxScrollPos),n},t.prototype.end=function(t){var e={duration:0},n=Math.abs(this.currentPos-this.startPos);if(this.options.momentum&&t<this.options.momentumLimitTime&&n>this.options.momentumLimitDistance){var r=-1===this.direction&&this.options.bounces[0]||1===this.direction&&this.options.bounces[1]?this.wrapperSize:0;e=this.hasScroll?this.momentum(this.currentPos,this.startPos,t,this.maxScrollPos,this.minScrollPos,r,this.options):{destination:this.currentPos,duration:0}}else this.hooks.trigger(this.hooks.eventTypes.end,e);return e},t.prototype.momentum=function(t,e,n,r,i,o,s){void 0===s&&(s=this.options);var a=t-e,c=Math.abs(a)/n,u=s.deceleration,l=s.swipeBounceTime,f=s.swipeTime,h=Math.min(f,2*c/u),d={destination:t+c*c/u*(a<0?-1:1),duration:h,rate:15};return this.hooks.trigger(this.hooks.eventTypes.momentum,d,a),d.destination<r?(d.destination=o?Math.max(r-o/4,r-o/d.rate*c):r,d.duration=l):d.destination>i&&(d.destination=o?Math.min(i+o/4,i+o/d.rate*c):i,d.duration=l),d.destination=Math.round(d.destination),d},t.prototype.updateDirection=function(){var t=this.currentPos-this.absStartPos;this.setDirection(t)},t.prototype.refresh=function(t){var e=this.options.rect,n=e.size,r=e.position,i="static"===window.getComputedStyle(this.wrapper,null).position,o=Sr(this.wrapper);this.wrapperSize=this.wrapper["width"===n?"clientWidth":"clientHeight"],this.setContent(t);var s=Sr(this.content);this.contentSize=s[n],this.relativeOffset=s[r],i&&(this.relativeOffset-=o[r]),this.computeBoundary(),this.setDirection(0)},t.prototype.setContent=function(t){t!==this.content&&(this.content=t,this.resetState())},t.prototype.resetState=function(){this.currentPos=0,this.startPos=0,this.dist=0,this.setDirection(0),this.setMovingDirection(0),this.resetStartPos()},t.prototype.computeBoundary=function(){this.hooks.trigger(this.hooks.eventTypes.beforeComputeBoundary);var t={minScrollPos:0,maxScrollPos:this.wrapperSize-this.contentSize};t.maxScrollPos<0&&(t.maxScrollPos-=this.relativeOffset,0===this.options.specifiedIndexAsContent&&(t.minScrollPos=-this.relativeOffset)),this.hooks.trigger(this.hooks.eventTypes.computeBoundary,t),this.minScrollPos=t.minScrollPos,this.maxScrollPos=t.maxScrollPos,this.hasScroll=this.options.scrollable&&this.maxScrollPos<this.minScrollPos,!this.hasScroll&&this.minScrollPos<this.maxScrollPos&&(this.maxScrollPos=this.minScrollPos,this.contentSize=this.wrapperSize)},t.prototype.updatePosition=function(t){this.currentPos=t},t.prototype.getCurrentPos=function(){return this.currentPos},t.prototype.checkInBoundary=function(){var t=this.adjustPosition(this.currentPos),e=t===this.getCurrentPos();return{position:t,inBoundary:e}},t.prototype.adjustPosition=function(t){return this.hasScroll||this.hooks.trigger(this.hooks.eventTypes.ignoreHasScroll)?t>this.minScrollPos?t=this.minScrollPos:t<this.maxScrollPos&&(t=this.maxScrollPos):t=this.minScrollPos,t},t.prototype.updateStartPos=function(){this.startPos=this.currentPos},t.prototype.updateAbsStartPos=function(){this.absStartPos=this.currentPos},t.prototype.resetStartPos=function(){this.updateStartPos(),this.updateAbsStartPos()},t.prototype.getAbsDist=function(t){return this.dist+=t,Math.abs(this.dist)},t.prototype.destroy=function(){this.hooks.destroy()},t}(),ui=(ii={},ii["yes"]=function(t){return!0},ii["no"]=function(t){return t.preventDefault(),!1},ii),li=(oi={},oi["horizontal"]=(si={},si["yes"]="horizontal",si["no"]="vertical",si),oi["vertical"]=(ai={},ai["yes"]="vertical",ai["no"]="horizontal",ai),oi),fi=function(){function t(t,e,n){this.directionLockThreshold=t,this.freeScroll=e,this.eventPassthrough=n,this.reset()}return t.prototype.reset=function(){this.directionLocked=""},t.prototype.checkMovingDirection=function(t,e,n){return this.computeDirectionLock(t,e),this.handleEventPassthrough(n)},t.prototype.adjustDelta=function(t,e){return"horizontal"===this.directionLocked?e=0:"vertical"===this.directionLocked&&(t=0),{deltaX:t,deltaY:e}},t.prototype.computeDirectionLock=function(t,e){""!==this.directionLocked||this.freeScroll||(t>e+this.directionLockThreshold?this.directionLocked="horizontal":e>=t+this.directionLockThreshold?this.directionLocked="vertical":this.directionLocked="none")},t.prototype.handleEventPassthrough=function(t){var e=li[this.directionLocked];if(e){if(this.eventPassthrough===e["yes"])return ui["yes"](t);if(this.eventPassthrough===e["no"])return ui["no"](t)}return!1},t}(),hi=function(t,e,n){return 2===n?[e,-t]:3===n?[-t,-e]:4===n?[-e,t]:[t,e]},di=function(){function t(t,e,n,r,i){this.hooks=new Vr(["start","beforeMove","scrollStart","scroll","beforeEnd","end","scrollEnd","contentNotMoved","detectMovingDirection","coordinateTransformation"]),this.scrollBehaviorX=t,this.scrollBehaviorY=e,this.actionsHandler=n,this.animater=r,this.options=i,this.directionLockAction=new fi(i.directionLockThreshold,i.freeScroll,i.eventPassthrough),this.enabled=!0,this.bindActionsHandler()}return t.prototype.bindActionsHandler=function(){var t=this;this.actionsHandler.hooks.on(this.actionsHandler.hooks.eventTypes.start,(function(e){return!t.enabled||t.handleStart(e)})),this.actionsHandler.hooks.on(this.actionsHandler.hooks.eventTypes.move,(function(e){var n=e.deltaX,r=e.deltaY,i=e.e;if(!t.enabled)return!0;var o=hi(n,r,t.options.quadrant),s=o[0],a=o[1],c={deltaX:s,deltaY:a};return t.hooks.trigger(t.hooks.eventTypes.coordinateTransformation,c),t.handleMove(c.deltaX,c.deltaY,i)})),this.actionsHandler.hooks.on(this.actionsHandler.hooks.eventTypes.end,(function(e){return!t.enabled||t.handleEnd(e)})),this.actionsHandler.hooks.on(this.actionsHandler.hooks.eventTypes.click,(function(e){t.enabled&&!e._constructed&&t.handleClick(e)}))},t.prototype.handleStart=function(t){var e=fr();this.fingerMoved=!1,this.contentMoved=!1,this.startTime=e,this.directionLockAction.reset(),this.scrollBehaviorX.start(),this.scrollBehaviorY.start(),this.animater.doStop(),this.scrollBehaviorX.resetStartPos(),this.scrollBehaviorY.resetStartPos(),this.hooks.trigger(this.hooks.eventTypes.start,t)},t.prototype.handleMove=function(t,e,n){if(!this.hooks.trigger(this.hooks.eventTypes.beforeMove,n)){var r=this.scrollBehaviorX.getAbsDist(t),i=this.scrollBehaviorY.getAbsDist(e),o=fr();if(this.checkMomentum(r,i,o))return!0;if(this.directionLockAction.checkMovingDirection(r,i,n))return this.actionsHandler.setInitiated(),!0;var s=this.directionLockAction.adjustDelta(t,e),a=this.scrollBehaviorX.getCurrentPos(),c=this.scrollBehaviorX.move(s.deltaX),u=this.scrollBehaviorY.getCurrentPos(),l=this.scrollBehaviorY.move(s.deltaY);if(!this.hooks.trigger(this.hooks.eventTypes.detectMovingDirection)){this.fingerMoved||(this.fingerMoved=!0);var f=c!==a||l!==u;this.contentMoved||f||this.hooks.trigger(this.hooks.eventTypes.contentNotMoved),!this.contentMoved&&f&&(this.contentMoved=!0,this.hooks.trigger(this.hooks.eventTypes.scrollStart)),this.contentMoved&&f&&(this.animater.translate({x:c,y:l}),this.dispatchScroll(o))}}},t.prototype.dispatchScroll=function(t){t-this.startTime>this.options.momentumLimitTime&&(this.startTime=t,this.scrollBehaviorX.updateStartPos(),this.scrollBehaviorY.updateStartPos(),1===this.options.probeType&&this.hooks.trigger(this.hooks.eventTypes.scroll,this.getCurrentPos())),this.options.probeType>1&&this.hooks.trigger(this.hooks.eventTypes.scroll,this.getCurrentPos())},t.prototype.checkMomentum=function(t,e,n){return n-this.endTime>this.options.momentumLimitTime&&e<this.options.momentumLimitDistance&&t<this.options.momentumLimitDistance},t.prototype.handleEnd=function(t){if(!this.hooks.trigger(this.hooks.eventTypes.beforeEnd,t)){var e=this.getCurrentPos();if(this.scrollBehaviorX.updateDirection(),this.scrollBehaviorY.updateDirection(),this.hooks.trigger(this.hooks.eventTypes.end,t,e))return!0;e=this.ensureIntegerPos(e),this.animater.translate(e),this.endTime=fr();var n=this.endTime-this.startTime;this.hooks.trigger(this.hooks.eventTypes.scrollEnd,e,n)}},t.prototype.ensureIntegerPos=function(t){this.ensuringInteger=!0;var e=t.x,n=t.y,r=this.scrollBehaviorX,i=r.minScrollPos,o=r.maxScrollPos,s=this.scrollBehaviorY,a=s.minScrollPos,c=s.maxScrollPos;return e=e>0?Math.ceil(e):Math.floor(e),n=n>0?Math.ceil(n):Math.floor(n),e=pr(e,o,i),n=pr(n,c,a),{x:e,y:n}},t.prototype.handleClick=function(t){Or(t.target,this.options.preventDefaultException)||(t.preventDefault(),t.stopPropagation())},t.prototype.getCurrentPos=function(){return{x:this.scrollBehaviorX.getCurrentPos(),y:this.scrollBehaviorY.getCurrentPos()}},t.prototype.refresh=function(){this.endTime=0},t.prototype.destroy=function(){this.hooks.destroy()},t}();function pi(t){var e=["click","bindToWrapper","disableMouse","disableTouch","preventDefault","stopPropagation","tagException","preventDefaultException","autoEndDistance"].reduce((function(e,n){return e[n]=t[n],e}),{});return e}function gi(t,e,n,r){var i=["momentum","momentumLimitTime","momentumLimitDistance","deceleration","swipeBounceTime","swipeTime","outOfBoundaryDampingFactor","specifiedIndexAsContent"].reduce((function(e,n){return e[n]=t[n],e}),{});return i.scrollable=!!t[e],i.bounces=n,i.rect=r,i}function vi(t,e,n){n.forEach((function(n){var r,i;"string"===typeof n?r=i=n:(r=n.source,i=n.target),t.on(r,(function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.trigger.apply(e,tr([i],t))}))}))}function yi(t,e){for(var n=Object.keys(t),r=0,i=n;r<i.length;r++){var o=i[r];if(t[o]!==e[o])return!1}return!0}var mi=1,Ii=function(){function t(t,e,n){this.wrapper=t,this.content=e,this.resizeTimeout=0,this.hooks=new Vr(["beforeStart","beforeMove","beforeScrollStart","scrollStart","scroll","beforeEnd","scrollEnd","resize","touchEnd","end","flick","scrollCancel","momentum","scrollTo","minDistanceScroll","scrollToElement","beforeRefresh"]),this.options=n;var r=this.options.bounce,i=r.left,o=r.right,s=r.top,a=r.bottom;this.scrollBehaviorX=new ci(t,e,gi(n,"scrollX",[i,o],{size:"width",position:"left"})),this.scrollBehaviorY=new ci(t,e,gi(n,"scrollY",[s,a],{size:"height",position:"top"})),this.translater=new Jr(this.content),this.animater=ri(this.content,this.translater,this.options),this.actionsHandler=new Kr(this.options.bindToTarget?this.content:t,pi(this.options)),this.actions=new di(this.scrollBehaviorX,this.scrollBehaviorY,this.actionsHandler,this.animater,this.options);var c=this.resize.bind(this);this.resizeRegister=new Qr(window,[{name:"orientationchange",handler:c},{name:"resize",handler:c}]),this.registerTransitionEnd(),this.init()}return t.prototype.init=function(){var t=this;this.bindTranslater(),this.bindAnimater(),this.bindActions(),this.hooks.on(this.hooks.eventTypes.scrollEnd,(function(){t.togglePointerEvents(!0)}))},t.prototype.registerTransitionEnd=function(){this.transitionEndRegister=new Qr(this.content,[{name:wr.transitionEnd,handler:this.transitionEnd.bind(this)}])},t.prototype.bindTranslater=function(){var t=this,e=this.translater.hooks;e.on(e.eventTypes.beforeTranslate,(function(e){t.options.translateZ&&e.push(t.options.translateZ)})),e.on(e.eventTypes.translate,(function(e){var n=t.getCurrentPos();t.updatePositions(e),!0!==t.actions.ensuringInteger?e.x===n.x&&e.y===n.y||t.togglePointerEvents(!1):t.actions.ensuringInteger=!1}))},t.prototype.bindAnimater=function(){var t=this;this.animater.hooks.on(this.animater.hooks.eventTypes.end,(function(e){t.resetPosition(t.options.bounceTime)||(t.animater.setPending(!1),t.hooks.trigger(t.hooks.eventTypes.scrollEnd,e))})),vi(this.animater.hooks,this.hooks,[{source:this.animater.hooks.eventTypes.move,target:this.hooks.eventTypes.scroll},{source:this.animater.hooks.eventTypes.forceStop,target:this.hooks.eventTypes.scrollEnd}])},t.prototype.bindActions=function(){var t=this,e=this.actions;vi(e.hooks,this.hooks,[{source:e.hooks.eventTypes.start,target:this.hooks.eventTypes.beforeStart},{source:e.hooks.eventTypes.start,target:this.hooks.eventTypes.beforeScrollStart},{source:e.hooks.eventTypes.beforeMove,target:this.hooks.eventTypes.beforeMove},{source:e.hooks.eventTypes.scrollStart,target:this.hooks.eventTypes.scrollStart},{source:e.hooks.eventTypes.scroll,target:this.hooks.eventTypes.scroll},{source:e.hooks.eventTypes.beforeEnd,target:this.hooks.eventTypes.beforeEnd}]),e.hooks.on(e.hooks.eventTypes.end,(function(n,r){return t.hooks.trigger(t.hooks.eventTypes.touchEnd,r),!!t.hooks.trigger(t.hooks.eventTypes.end,r)||(!(e.fingerMoved||(t.hooks.trigger(t.hooks.eventTypes.scrollCancel),!t.checkClick(n)))||(t.resetPosition(t.options.bounceTime,jr.bounce)?(t.animater.setForceStopped(!1),!0):void 0))})),e.hooks.on(e.hooks.eventTypes.scrollEnd,(function(n,r){var i=Math.abs(n.x-t.scrollBehaviorX.startPos),o=Math.abs(n.y-t.scrollBehaviorY.startPos);if(t.checkFlick(r,i,o))return t.animater.setForceStopped(!1),void t.hooks.trigger(t.hooks.eventTypes.flick);t.momentum(n,r)?t.animater.setForceStopped(!1):(e.contentMoved&&t.hooks.trigger(t.hooks.eventTypes.scrollEnd,n),t.animater.forceStopped&&t.animater.setForceStopped(!1))}))},t.prototype.checkFlick=function(t,e,n){var r=1;if(this.hooks.events.flick.length>1&&t<this.options.flickLimitTime&&e<this.options.flickLimitDistance&&n<this.options.flickLimitDistance&&(n>r||e>r))return!0},t.prototype.momentum=function(t,e){var n={time:0,easing:jr.swiper,newX:t.x,newY:t.y},r=this.scrollBehaviorX.end(e),i=this.scrollBehaviorY.end(e);if(n.newX=dr(r.destination)?n.newX:r.destination,n.newY=dr(i.destination)?n.newY:i.destination,n.time=Math.max(r.duration,i.duration),this.hooks.trigger(this.hooks.eventTypes.momentum,n,this),n.newX!==t.x||n.newY!==t.y)return(n.newX>this.scrollBehaviorX.minScrollPos||n.newX<this.scrollBehaviorX.maxScrollPos||n.newY>this.scrollBehaviorY.minScrollPos||n.newY<this.scrollBehaviorY.maxScrollPos)&&(n.easing=jr.swipeBounce),this.scrollTo(n.newX,n.newY,n.time,n.easing),!0},t.prototype.checkClick=function(t){var e={preventClick:this.animater.forceStopped};if(this.hooks.trigger(this.hooks.eventTypes.checkClick))return this.animater.setForceStopped(!1),!0;if(!e.preventClick){var n=this.options.dblclick,r=!1;if(n&&this.lastClickTime){var i=n.delay,o=void 0===i?300:i;fr()-this.lastClickTime<o&&(r=!0,xr(t))}return this.options.tap&&Rr(t,this.options.tap),this.options.click&&!Or(t.target,this.options.preventDefaultException)&&Lr(t),this.lastClickTime=r?null:fr(),!0}return!1},t.prototype.resize=function(){var t=this;this.actions.enabled&&(sr&&(this.wrapper.scrollTop=0),clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout((function(){t.hooks.trigger(t.hooks.eventTypes.resize)}),this.options.resizePolling))},t.prototype.transitionEnd=function(t){if(t.target===this.content&&this.animater.pending){var e=this.animater;e.transitionTime(),this.resetPosition(this.options.bounceTime,jr.bounce)||(this.animater.setPending(!1),3!==this.options.probeType&&this.hooks.trigger(this.hooks.eventTypes.scrollEnd,this.getCurrentPos()))}},t.prototype.togglePointerEvents=function(t){void 0===t&&(t=!0);for(var e=this.content.children.length?this.content.children:[this.content],n=t?"auto":"none",r=0;r<e.length;r++){var i=e[r];i.isBScrollContainer||(i.style.pointerEvents=n)}},t.prototype.refresh=function(t){var e=this.setContent(t);this.hooks.trigger(this.hooks.eventTypes.beforeRefresh),this.scrollBehaviorX.refresh(t),this.scrollBehaviorY.refresh(t),e&&(this.translater.setContent(t),this.animater.setContent(t),this.transitionEndRegister.destroy(),this.registerTransitionEnd(),this.options.bindToTarget&&this.actionsHandler.setContent(t)),this.actions.refresh(),this.wrapperOffset=br(this.wrapper)},t.prototype.setContent=function(t){var e=t!==this.content;return e&&(this.content=t),e},t.prototype.scrollBy=function(t,e,n,r){void 0===n&&(n=0);var i=this.getCurrentPos(),o=i.x,s=i.y;r=r||jr.bounce,t+=o,e+=s,this.scrollTo(t,e,n,r)},t.prototype.scrollTo=function(t,e,n,r,i){void 0===n&&(n=0),void 0===r&&(r=jr.bounce),void 0===i&&(i={start:{},end:{}});var o=this.options.useTransition?r.style:r.fn,s=this.getCurrentPos(),a=Xn({x:s.x,y:s.y},i.start),c=Xn({x:t,y:e},i.end);if(this.hooks.trigger(this.hooks.eventTypes.scrollTo,c),!yi(a,c)){var u=Math.abs(c.x-a.x),l=Math.abs(c.y-a.y);u<mi&&l<mi&&(n=0,this.hooks.trigger(this.hooks.eventTypes.minDistanceScroll)),this.animater.move(a,c,n,o)}},t.prototype.scrollToElement=function(t,e,n,r,i){var o=mr(t),s=br(o),a=function(t,e,n){return"number"===typeof t?t:t?Math.round(e/2-n/2):0};n=a(n,o.offsetWidth,this.wrapper.offsetWidth),r=a(r,o.offsetHeight,this.wrapper.offsetHeight);var c=function(t,e,n,r){return t-=e,t=r.adjustPosition(t-n),t};s.left=c(s.left,this.wrapperOffset.left,n,this.scrollBehaviorX),s.top=c(s.top,this.wrapperOffset.top,r,this.scrollBehaviorY),this.hooks.trigger(this.hooks.eventTypes.scrollToElement,o,s)||this.scrollTo(s.left,s.top,e,i)},t.prototype.resetPosition=function(t,e){void 0===t&&(t=0),void 0===e&&(e=jr.bounce);var n=this.scrollBehaviorX.checkInBoundary(),r=n.position,i=n.inBoundary,o=this.scrollBehaviorY.checkInBoundary(),s=o.position,a=o.inBoundary;return(!i||!a)&&(ar&&this.reflow(),this.scrollTo(r,s,t,e),!0)},t.prototype.reflow=function(){this._reflow=this.content.offsetHeight},t.prototype.updatePositions=function(t){this.scrollBehaviorX.updatePosition(t.x),this.scrollBehaviorY.updatePosition(t.y)},t.prototype.getCurrentPos=function(){return this.actions.getCurrentPos()},t.prototype.enable=function(){this.actions.enabled=!0},t.prototype.disable=function(){Gr(this.animater.timer),this.actions.enabled=!1},t.prototype.destroy=function(){var t=this,e=["resizeRegister","transitionEndRegister","actionsHandler","actions","hooks","animater","translater","scrollBehaviorX","scrollBehaviorY"];e.forEach((function(e){return t[e].destroy()}))},t}(),Mi=function(t){function e(e,n){var r=t.call(this,["refresh","contentChanged","enable","disable","beforeScrollStart","scrollStart","scroll","scrollEnd","scrollCancel","touchEnd","flick","destroy"])||this,i=mr(e);return i?(r.plugins={},r.options=(new Zr).merge(n).process(),r.setContent(i).valid?(r.hooks=new Vr(["refresh","enable","disable","destroy","beforeInitialScrollTo","contentChanged"]),r.init(i),r):r):(nr("Can not resolve the wrapper DOM."),r)}return Jn(e,t),e.use=function(t){var n=t.pluginName,r=e.plugins.some((function(e){return t===e.ctor}));return r?e:dr(n)?(nr("Plugin Class must specify plugin's name in static property by 'pluginName' field."),e):(e.pluginsMap[n]=!0,e.plugins.push({name:n,applyOrder:t.applyOrder,ctor:t}),e)},e.prototype.setContent=function(t){var e=!1,n=!0,r=t.children[this.options.specifiedIndexAsContent];return r?(e=this.content!==r,e&&(this.content=r)):(nr("The wrapper need at least one child element to be content element to scroll."),n=!1),{valid:n,contentChanged:e}},e.prototype.init=function(t){var e=this;this.wrapper=t,t.isBScrollContainer=!0,this.scroller=new Ii(t,this.content,this.options),this.scroller.hooks.on(this.scroller.hooks.eventTypes.resize,(function(){e.refresh()})),this.eventBubbling(),this.handleAutoBlur(),this.enable(),this.proxy(er),this.applyPlugins(),this.refreshWithoutReset(this.content);var n=this.options,r=n.startX,i=n.startY,o={x:r,y:i};this.hooks.trigger(this.hooks.eventTypes.beforeInitialScrollTo,o)||this.scroller.scrollTo(o.x,o.y)},e.prototype.applyPlugins=function(){var t=this,n=this.options;e.plugins.sort((function(t,e){var n,r=(n={},n["pre"]=-1,n["post"]=1,n),i=t.applyOrder?r[t.applyOrder]:0,o=e.applyOrder?r[e.applyOrder]:0;return i-o})).forEach((function(e){var r=e.ctor;n[e.name]&&"function"===typeof r&&(t.plugins[e.name]=new r(t))}))},e.prototype.handleAutoBlur=function(){this.options.autoBlur&&this.on(this.eventTypes.beforeScrollStart,(function(){var t=document.activeElement;!t||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName||t.blur()}))},e.prototype.eventBubbling=function(){vi(this.scroller.hooks,this,[this.eventTypes.beforeScrollStart,this.eventTypes.scrollStart,this.eventTypes.scroll,this.eventTypes.scrollEnd,this.eventTypes.scrollCancel,this.eventTypes.touchEnd,this.eventTypes.flick])},e.prototype.refreshWithoutReset=function(t){this.scroller.refresh(t),this.hooks.trigger(this.hooks.eventTypes.refresh,t),this.trigger(this.eventTypes.refresh,t)},e.prototype.proxy=function(t){var e=this;t.forEach((function(t){var n=t.key,r=t.sourceKey;Hr(e,r,n)}))},e.prototype.refresh=function(){var t=this.setContent(this.wrapper),e=t.contentChanged,n=t.valid;if(n){var r=this.content;this.refreshWithoutReset(r),e&&(this.hooks.trigger(this.hooks.eventTypes.contentChanged,r),this.trigger(this.eventTypes.contentChanged,r)),this.scroller.resetPosition()}},e.prototype.enable=function(){this.scroller.enable(),this.hooks.trigger(this.hooks.eventTypes.enable),this.trigger(this.eventTypes.enable)},e.prototype.disable=function(){this.scroller.disable(),this.hooks.trigger(this.hooks.eventTypes.disable),this.trigger(this.eventTypes.disable)},e.prototype.destroy=function(){this.hooks.trigger(this.hooks.eventTypes.destroy),this.trigger(this.eventTypes.destroy),this.scroller.destroy()},e.prototype.eventRegister=function(t){this.registerType(t)},e.plugins=[],e.pluginsMap={},e}(Vr);function bi(t,e){var n=new Mi(t,e);return n}bi.use=Mi.use,bi.plugins=Mi.plugins,bi.pluginsMap=Mi.pluginsMap;var _i=bi,Ai="undefined"!==typeof window,Ci=Ai&&navigator.userAgent.toLowerCase();
- /*!
- * better-scroll / pull-up
- * (c) 2016-2021 ustbhuangyi
- * Released under the MIT License.
- */if(Ci&&/wechatdevtools/.test(Ci),Ci&&Ci.indexOf("android"),function(){if("string"===typeof Ci){var t=/os (\d\d?_\d(_\d)?)/,e=t.exec(Ci);if(!e)return!1;var n=e[1].split("_").map((function(t){return parseInt(t,10)}));return!!(13===n[0]&&n[1]>=4)}}(),Ai){var Ti="test-passive";try{var Ei={};Object.defineProperty(Ei,"passive",{get:function(){}}),window.addEventListener(Ti,(function(){}),Ei)}catch(Is){}}var wi=function(t,e){for(var n in e)t[n]=e[n];return t},Ni=Ai&&document.createElement("div").style,Si=function(){if(!Ai)return!1;for(var t=[{key:"standard",value:"transform"},{key:"webkit",value:"webkitTransform"},{key:"Moz",value:"MozTransform"},{key:"O",value:"OTransform"},{key:"ms",value:"msTransform"}],e=0,n=t;e<n.length;e++){var r=n[e];if(void 0!==Ni[r.value])return r.key}return!1}();function Oi(t){return!1===Si?t:"standard"===Si?"transitionEnd"===t?"transitionend":t:Si+t.charAt(0).toUpperCase()+t.substr(1)}Si&&"standard"!==Si&&Si.toLowerCase();Oi("transform"),Oi("transition");Ai&&Oi("perspective"),Oi("transitionTimingFunction"),Oi("transitionDuration"),Oi("transitionDelay"),Oi("transformOrigin"),Oi("transitionEnd"),Oi("transitionProperty");var Di="plugins.pullUpLoad",Ri=[{key:"finishPullUp",name:"finishPullUp"},{key:"openPullUp",name:"openPullUp"},{key:"closePullUp",name:"closePullUp"},{key:"autoPullUpLoad",name:"autoPullUpLoad"}],Li=Ri.map((function(t){return{key:t.key,sourceKey:Di+"."+t.name}})),xi="pullingUp",ji=function(){function t(t){this.scroll=t,this.pulling=!1,this.watching=!1,this.init()}return t.prototype.init=function(){this.handleBScroll(),this.handleOptions(this.scroll.options.pullUpLoad),this.handleHooks(),this.watch()},t.prototype.handleBScroll=function(){this.scroll.registerType([xi]),this.scroll.proxy(Li)},t.prototype.handleOptions=function(t){void 0===t&&(t={}),t=!0===t?{}:t;var e={threshold:0};this.options=wi(e,t),this.scroll.options.probeType=3},t.prototype.handleHooks=function(){var t=this;this.hooksFn=[];var e=this.scroll.scroller.scrollBehaviorY;this.registerHooks(this.scroll.hooks,this.scroll.hooks.eventTypes.contentChanged,(function(){t.finishPullUp()})),this.registerHooks(e.hooks,e.hooks.eventTypes.computeBoundary,(function(t){t.maxScrollPos>0&&(t.maxScrollPos=-1)}))},t.prototype.registerHooks=function(t,e,n){t.on(e,n,this),this.hooksFn.push([t,e,n])},t.prototype.watch=function(){this.watching||(this.watching=!0,this.registerHooks(this.scroll,this.scroll.eventTypes.scroll,this.checkPullUp))},t.prototype.unwatch=function(){this.watching=!1,this.scroll.off(this.scroll.eventTypes.scroll,this.checkPullUp)},t.prototype.checkPullUp=function(t){var e=this,n=this.options.threshold;1===this.scroll.movingDirectionY&&t.y<=this.scroll.maxScrollY+n&&(this.pulling=!0,this.scroll.once(this.scroll.eventTypes.scrollEnd,(function(){e.pulling=!1})),this.unwatch(),this.scroll.trigger(xi))},t.prototype.finishPullUp=function(){var t=this;this.scroll.scroller.scrollBehaviorY.setMovingDirection(0),this.pulling?this.scroll.once(this.scroll.eventTypes.scrollEnd,(function(){t.watch()})):this.watch()},t.prototype.openPullUp=function(t){void 0===t&&(t={}),this.handleOptions(t),this.watch()},t.prototype.closePullUp=function(){this.unwatch()},t.prototype.autoPullUpLoad=function(){var t=this.options.threshold,e=this.scroll.scroller.scrollBehaviorY;if(!this.pulling&&this.watching){var n=-1,r=e.maxScrollPos+t+n;this.scroll.scroller.scrollBehaviorY.setMovingDirection(n),this.scroll.scrollTo(this.scroll.x,r,this.scroll.options.bounceTime)}},t.pluginName="pullUpLoad",t}();
- /*!
- * better-scroll / mouse-wheel
- * (c) 2016-2021 ustbhuangyi
- * Released under the MIT License.
- */
- function ki(t){console.error("[BScroll warn]: "+t)}var Pi="undefined"!==typeof window,Ui=Pi&&navigator.userAgent.toLowerCase();Ui&&/wechatdevtools/.test(Ui),Ui&&Ui.indexOf("android"),function(){if("string"===typeof Ui){var t=/os (\d\d?_\d(_\d)?)/,e=t.exec(Ui);if(!e)return!1;var n=e[1].split("_").map((function(t){return parseInt(t,10)}));return!!(13===n[0]&&n[1]>=4)}}();var zi=!1;if(Pi){var Gi="test-passive";try{var Bi={};Object.defineProperty(Bi,"passive",{get:function(){zi=!0}}),window.addEventListener(Gi,(function(){}),Bi)}catch(Is){}}var Yi=function(t,e){for(var n in e)t[n]=e[n];return t},Fi=Pi&&document.createElement("div").style,$i=function(){if(!Pi)return!1;for(var t=[{key:"standard",value:"transform"},{key:"webkit",value:"webkitTransform"},{key:"Moz",value:"MozTransform"},{key:"O",value:"OTransform"},{key:"ms",value:"msTransform"}],e=0,n=t;e<n.length;e++){var r=n[e];if(void 0!==Fi[r.value])return r.key}return!1}();function Hi(t){return!1===$i?t:"standard"===$i?"transitionEnd"===t?"transitionend":t:$i+t.charAt(0).toUpperCase()+t.substr(1)}function Vi(t,e,n,r){var i=zi?{passive:!1,capture:!!r}:!!r;t.addEventListener(e,n,i)}function Qi(t,e,n,r){t.removeEventListener(e,n,{capture:!!r})}$i&&"standard"!==$i&&$i.toLowerCase();Hi("transform"),Hi("transition");function Wi(t,e){for(var n in e)if(e[n].test(t[n]))return!0;return!1}Pi&&Hi("perspective"),Hi("transitionTimingFunction"),Hi("transitionDuration"),Hi("transitionDelay"),Hi("transformOrigin"),Hi("transitionEnd"),Hi("transitionProperty");var Zi=function(){function t(t,e){this.wrapper=t,this.events=e,this.addDOMEvents()}return t.prototype.destroy=function(){this.removeDOMEvents(),this.events=[]},t.prototype.addDOMEvents=function(){this.handleDOMEvents(Vi)},t.prototype.removeDOMEvents=function(){this.handleDOMEvents(Qi)},t.prototype.handleDOMEvents=function(t){var e=this,n=this.wrapper;this.events.forEach((function(r){t(n,r.name,e,!!r.capture)}))},t.prototype.handleEvent=function(t){var e=t.type;this.events.some((function(n){return n.name===e&&(n.handler(t),!0)}))},t}(),Ki=function(){function t(t){this.scroll=t,this.wheelEndTimer=0,this.wheelMoveTimer=0,this.wheelStart=!1,this.init()}return t.prototype.init=function(){this.handleBScroll(),this.handleOptions(),this.handleHooks(),this.registerEvent()},t.prototype.handleBScroll=function(){this.scroll.registerType(["alterOptions","mousewheelStart","mousewheelMove","mousewheelEnd"])},t.prototype.handleOptions=function(){var t=!0===this.scroll.options.mouseWheel?{}:this.scroll.options.mouseWheel,e={speed:20,invert:!1,easeTime:300,discreteTime:400,throttleTime:0,dampingFactor:.1};this.mouseWheelOpt=Yi(e,t)},t.prototype.handleHooks=function(){this.hooksFn=[],this.registerHooks(this.scroll.hooks,"destroy",this.destroy)},t.prototype.registerEvent=function(){this.eventRegister=new Zi(this.scroll.scroller.wrapper,[{name:"wheel",handler:this.wheelHandler.bind(this)},{name:"mousewheel",handler:this.wheelHandler.bind(this)},{name:"DOMMouseScroll",handler:this.wheelHandler.bind(this)}])},t.prototype.registerHooks=function(t,e,n){t.on(e,n,this),this.hooksFn.push([t,e,n])},t.prototype.wheelHandler=function(t){if(this.scroll.enabled){this.beforeHandler(t),this.wheelStart||(this.wheelStartHandler(t),this.wheelStart=!0);var e=this.getWheelDelta(t);this.wheelMoveHandler(e),this.wheelEndDetector(e)}},t.prototype.wheelStartHandler=function(t){this.cleanCache();var e=this.scroll.scroller,n=e.scrollBehaviorX,r=e.scrollBehaviorY;n.setMovingDirection(0),r.setMovingDirection(0),n.setDirection(0),r.setDirection(0),this.scroll.trigger(this.scroll.eventTypes.alterOptions,this.mouseWheelOpt),this.scroll.trigger(this.scroll.eventTypes.mousewheelStart)},t.prototype.cleanCache=function(){this.deltaCache=[]},t.prototype.wheelMoveHandler=function(t){var e=this,n=this.mouseWheelOpt,r=n.throttleTime,i=n.dampingFactor;if(r&&this.wheelMoveTimer)this.deltaCache.push(t);else{var o=this.deltaCache.reduce((function(t,e){return{x:t.x+e.x,y:t.y+e.y}}),{x:0,y:0});this.cleanCache();var s=this.scroll.scroller,a=s.scrollBehaviorX,c=s.scrollBehaviorY;a.setMovingDirection(-t.directionX),c.setMovingDirection(-t.directionY),a.setDirection(t.x),c.setDirection(t.y);var u=a.performDampingAlgorithm(Math.round(t.x)+o.x,i),l=c.performDampingAlgorithm(Math.round(t.y)+o.x,i);if(!this.scroll.trigger(this.scroll.eventTypes.mousewheelMove,{x:u,y:l})){var f=this.getEaseTime();u===this.scroll.x&&l===this.scroll.y||this.scroll.scrollTo(u,l,f)}r&&(this.wheelMoveTimer=window.setTimeout((function(){e.wheelMoveTimer=0}),r))}},t.prototype.wheelEndDetector=function(t){var e=this;window.clearTimeout(this.wheelEndTimer),this.wheelEndTimer=window.setTimeout((function(){e.wheelStart=!1,window.clearTimeout(e.wheelMoveTimer),e.wheelMoveTimer=0,e.scroll.trigger(e.scroll.eventTypes.mousewheelEnd,t)}),this.mouseWheelOpt.discreteTime)},t.prototype.getWheelDelta=function(t){var e=this.mouseWheelOpt,n=e.speed,r=e.invert,i=0,o=0,s=r?-1:1;switch(!0){case"deltaX"in t:1===t.deltaMode?(i=-t.deltaX*n,o=-t.deltaY*n):(i=-t.deltaX,o=-t.deltaY);break;case"wheelDeltaX"in t:i=t.wheelDeltaX/120*n,o=t.wheelDeltaY/120*n;break;case"wheelDelta"in t:i=o=t.wheelDelta/120*n;break;case"detail"in t:i=o=-t.detail/3*n;break}i*=s,o*=s,this.scroll.hasVerticalScroll||(Math.abs(o)>Math.abs(i)&&(i=o),o=0),this.scroll.hasHorizontalScroll||(i=0);var a=i>0?-1:i<0?1:0,c=o>0?-1:o<0?1:0;return{x:i,y:o,directionX:a,directionY:c}},t.prototype.beforeHandler=function(t){var e=this.scroll.options,n=e.preventDefault,r=e.stopPropagation,i=e.preventDefaultException;n&&!Wi(t.target,i)&&t.preventDefault(),r&&t.stopPropagation()},t.prototype.getEaseTime=function(){var t=100,e=this.mouseWheelOpt.easeTime;return e<t&&ki("easeTime should be greater than 100.If mouseWheel easeTime is too small,scrollEnd will be triggered many times."),Math.max(e,t)},t.prototype.destroy=function(){this.eventRegister.destroy(),window.clearTimeout(this.wheelEndTimer),window.clearTimeout(this.wheelMoveTimer),this.hooksFn.forEach((function(t){var e=t[0],n=t[1],r=t[2];e.off(n,r)}))},t.pluginName="mouseWheel",t.applyOrder="pre",t}();Ki.prototype.wheelMoveHandler=function(t){var e=this,n=this.mouseWheelOpt,r=n.throttleTime,i=n.dampingFactor;if(r&&this.wheelMoveTimer)this.deltaCache.push(t);else{var o=this.deltaCache.reduce((function(t,e){return{x:t.x+e.x,y:t.y+e.y}}),{x:0,y:0});this.cleanCache();var s=this.scroll.scroller,a=s.scrollBehaviorX,c=s.scrollBehaviorY;a.setMovingDirection(-t.directionX),c.setMovingDirection(-t.directionY),a.setDirection(t.x),c.setDirection(t.y);var u=a.performDampingAlgorithm(Math.round(t.x)+o.x,i),l=c.performDampingAlgorithm(Math.round(t.y)+o.x,i);if(!this.scroll.trigger(this.scroll.eventTypes.mousewheelMove,{x:u,y:l})){var f=this.getEaseTime();u===this.scroll.x&&l===this.scroll.y||(Math.abs(this.scroll.y-l)<1&&(l=this.scroll.y>l?this.scroll.y-1.01:this.scroll.y+1.01),this.scroll.scrollTo(u,l,f))}r&&(this.wheelMoveTimer=window.setTimeout((function(){e.wheelMoveTimer=0}),r))}};var qi={touchstart:1,touchmove:1,touchend:1,touchcancel:1,mousedown:2,mousemove:2,mouseup:2};function Ji(t,e){var n=!1;return Object.keys(e).forEach((function(r){e[r].test(t[r])&&(n=!0)})),n}var Xi=Ji,to=function(t){var e=qi[t.type];if(!this.initiated||this.initiated===e)if(this.setInitiated(e),Xi(t.target,this.options.tagException))this.setInitiated();else if(2!==e||0===t.button){if(!this.hooks.trigger(this.hooks.eventTypes.beforeStart,t)){this.beforeHandler(t,"start");var n=t.touches?t.touches[0]:t;this.pointX=n.pageX,this.pointY=n.pageY,this.hooks.trigger(this.hooks.eventTypes.start,t)}}else this.setInitiated()},eo=".conversation-wrapper{height:100%;background:#fff;position:relative}.conversation-container{height:100%}.pullup-tips{text-align:center;color:#111f2c;height:3.4em;line-height:3.4em;width:100%;text-align:center;font-size:2em}.after-trigger::before{content:' ';display:inline-block;width:1.8em;height:1.8em;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjhweCIgaGVpZ2h0PSIyOHB4IiB2aWV3Qm94PSIwIDAgMjggMjgiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+bG9hZGluZzwvdGl0bGU+CiAgICA8ZGVmcz4KICAgICAgICA8bGluZWFyR3JhZGllbnQgeDE9Ijk0LjA4NjkxNDElIiB5MT0iMCUiIHgyPSI5NC4wODY5MTQxJSIgeTI9IjkwLjU1OTA4MiUiIGlkPSJsaW5lYXJHcmFkaWVudC0xIj4KICAgICAgICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iIzhGOTQ5QSIgc3RvcC1vcGFjaXR5PSIwIiBvZmZzZXQ9IjAlIj48L3N0b3A+CiAgICAgICAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiM4Rjk0OUEiIHN0b3Atb3BhY2l0eT0iMC4zIiBvZmZzZXQ9IjEwMCUiPjwvc3RvcD4KICAgICAgICA8L2xpbmVhckdyYWRpZW50PgogICAgICAgIDxsaW5lYXJHcmFkaWVudCB4MT0iMTAwJSIgeTE9IjguNjczNzA2MDUlIiB4Mj0iMTAwJSIgeTI9IjkwLjYyODY2MjElIiBpZD0ibGluZWFyR3JhZGllbnQtMiI+CiAgICAgICAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiM4Rjk0OUEiIG9mZnNldD0iMCUiPjwvc3RvcD4KICAgICAgICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iIzhGOTQ5QSIgc3RvcC1vcGFjaXR5PSIwLjMiIG9mZnNldD0iMTAwJSI+PC9zdG9wPgogICAgICAgIDwvbGluZWFyR3JhZGllbnQ+CiAgICA8L2RlZnM+CiAgICA8ZyBpZD0i6aG16Z2iLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSIwM1/lkJHkuIvmu5rliqjml7Zsb2FkaW5nIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTQyLjAwMDAwMCwgLTkxMS4wMDAwMDApIiBmaWxsLXJ1bGU9Im5vbnplcm8iPgogICAgICAgICAgICA8ZyBpZD0i572R57uc5LiN5Y+v55So5o+Q56S6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjAwMDAwMCwgNTc5LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPGcgaWQ9ImxvYWRpbmciIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE0Mi4wMDAwMDAsIDMzMi4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICA8cmVjdCBpZD0i55+p5b2iIiB4PSIwIiB5PSIwIiB3aWR0aD0iMjgiIGhlaWdodD0iMjgiPjwvcmVjdD4KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iTG9hZGluZ0JyYW5kIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyLjAwMDAwMCwgMi4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTEyLDAgQzE4LjYyNzQxNywwIDI0LDUuMzcyNTgzIDI0LDEyIEMyNCwxOC42Mjc0MTcgMTguNjI3NDE3LDI0IDEyLDI0IEwxMiwyMS45IEMxNy40Njc2MTksMjEuOSAyMS45LDE3LjQ2NzYxOSAyMS45LDEyIEMyMS45LDYuNTMyMzgwOTkgMTcuNDY3NjE5LDIuMSAxMiwyLjEgTDEyLDAgWiIgaWQ9Iui3r+W+hCIgZmlsbD0idXJsKCNsaW5lYXJHcmFkaWVudC0xKSI+PC9wYXRoPgogICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTIsMCBMMTIsMi4xIEM2LjUzMjM4MDk5LDIuMSAyLjEsNi41MzIzODA5OSAyLjEsMTIgQzIuMSwxNy40Njc2MTkgNi41MzIzODA5OSwyMS45IDEyLDIxLjkgTDEyLDI0IEM1LjM3MjU4MywyNCAwLDE4LjYyNzQxNyAwLDEyIEMwLDUuMzcyNTgzIDUuMzcyNTgzLDAgMTIsMCBaIiBpZD0i6Lev5b6EIiBmaWxsPSJ1cmwoI2xpbmVhckdyYWRpZW50LTIpIj48L3BhdGg+CiAgICAgICAgICAgICAgICAgICAgICAgIDxjaXJjbGUgaWQ9Ik92YWwiIGZpbGw9IiM4Rjk0OUEiIGN4PSIxMi4xNSIgY3k9IjEuMDUiIHI9IjEuMDUiPjwvY2lyY2xlPgogICAgICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+) no-repeat;-webkit-animation:loading 1s infinite;animation:loading 1s infinite;vertical-align:middle;margin:0 0.8em 0 0}@-webkit-keyframes loading{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.no-data{width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-size:2.2em;color:#111f2c;background:#fff}.no-data::before{content:' ';display:block;width:5.81818em;height:5.81818em;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTI4cHgiIGhlaWdodD0iMTI4cHgiIHZpZXdCb3g9IjAgMCAxMjggMTI4IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPHRpdGxlPue8uuecgWljb248L3RpdGxlPgogICAgPGcgaWQ9Iumhtemdoi0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iMDJf5Lya6K+d5YiX6KGo5Li656m6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTYwLjAwMDAwMCwgLTM1NC4wMDAwMDApIj4KICAgICAgICAgICAgPGcgaWQ9Iue8uuecgWljb24iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE2MC4wMDAwMDAsIDM1NC4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSLnn6nlvaIiIHg9IjAiIHk9IjAiIHdpZHRoPSIxMjgiIGhlaWdodD0iMTI4Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICA8ZyBpZD0iYmVsbHMtKDEpIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzLjAwMDAwMCwgMTEuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICAgICAgPGNpcmNsZSBpZD0iT3ZhbC0yMDMiIHN0cm9rZS1vcGFjaXR5PSIwLjQiIHN0cm9rZT0iI0EzQjFCRiIgc3Ryb2tlLXdpZHRoPSIyIiBjeD0iMjAuNSIgY3k9IjMuNSIgcj0iMy41Ij48L2NpcmNsZT4KICAgICAgICAgICAgICAgICAgICA8Y2lyY2xlIGlkPSJPdmFsLTIwM+Wkh+S7vSIgc3Ryb2tlLW9wYWNpdHk9IjAuNCIgc3Ryb2tlPSIjQTNCMUJGIiBzdHJva2Utd2lkdGg9IjEuODI0IiBjeD0iMTA4IiBjeT0iMjMiIHI9IjIiPjwvY2lyY2xlPgogICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0xMTcuNSw0NSBDMTE4LjA0ODAyMSw0NSAxMTguNDkyMjc5LDQ1LjQ0NDI1ODYgMTE4LjQ5MjI3OSw0NS45OTIyNzkzIEwxMTguNDkyLDQ4LjM2OCBMMTIxLDQ4LjM2ODM0NyBDMTIxLjU1MjI4NSw0OC4zNjgzNDcgMTIyLDQ4LjgxNjA2MjMgMTIyLDQ5LjM2ODM0NyBDMTIyLDQ5LjkyMDYzMTggMTIxLjU1MjI4NSw1MC4zNjgzNDcgMTIxLDUwLjM2ODM0NyBMMTE4LjQ5Miw1MC4zNjggTDExOC40OTIyNzksNTMuMDc3NzQ4MSBDMTE4LjQ5MjI3OSw1My42MjU3Njg4IDExOC4wNDgwMjEsNTQuMDcwMDI3NCAxMTcuNSw1NC4wNzAwMjc0IEMxMTYuOTUxOTc5LDU0LjA3MDAyNzQgMTE2LjUwNzcyMSw1My42MjU3Njg4IDExNi41MDc3MjEsNTMuMDc3NzQ4MSBMMTE2LjUwNyw1MC4zNjggTDExNCw1MC4zNjgzNDcgQzExMy40NDc3MTUsNTAuMzY4MzQ3IDExMyw0OS45MjA2MzE4IDExMyw0OS4zNjgzNDcgQzExMyw0OC44MTYwNjIzIDExMy40NDc3MTUsNDguMzY4MzQ3IDExNCw0OC4zNjgzNDcgTDExNi41MDcsNDguMzY4IEwxMTYuNTA3NzIxLDQ1Ljk5MjI3OTMgQzExNi41MDc3MjEsNDUuNDQ0MjU4NiAxMTYuOTUxOTc5LDQ1IDExNy41LDQ1IFoiIGlkPSJDb21iaW5lZC1TaGFwZSIgZmlsbC1vcGFjaXR5PSIwLjQiIGZpbGw9IiNBM0IxQkYiPjwvcGF0aD4KICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNNC41LDU5IEM1LjA0ODAyMDcsNTkgNS40OTIyNzkyNSw1OS40NDQyNTg2IDUuNDkyMjc5MjUsNTkuOTkyMjc5MyBMNS40OTIsNjIuMzY4IEw4LDYyLjM2ODM0NyBDOC41NTIyODQ3NSw2Mi4zNjgzNDcgOSw2Mi44MTYwNjIzIDksNjMuMzY4MzQ3IEM5LDYzLjkyMDYzMTggOC41NTIyODQ3NSw2NC4zNjgzNDcgOCw2NC4zNjgzNDcgTDUuNDkyLDY0LjM2OCBMNS40OTIyNzkyNSw2Ny4wNzc3NDgxIEM1LjQ5MjI3OTI1LDY3LjYyNTc2ODggNS4wNDgwMjA3LDY4LjA3MDAyNzQgNC41LDY4LjA3MDAyNzQgQzMuOTUxOTc5Myw2OC4wNzAwMjc0IDMuNTA3NzIwNzUsNjcuNjI1NzY4OCAzLjUwNzcyMDc1LDY3LjA3Nzc0ODEgTDMuNTA3LDY0LjM2OCBMMSw2NC4zNjgzNDcgQzAuNDQ3NzE1MjUsNjQuMzY4MzQ3IDYuNzYzNTM3NTFlLTE3LDYzLjkyMDYzMTggMCw2My4zNjgzNDcgQy02Ljc2MzUzNzUxZS0xNyw2Mi44MTYwNjIzIDAuNDQ3NzE1MjUsNjIuMzY4MzQ3IDEsNjIuMzY4MzQ3IEwzLjUwNyw2Mi4zNjggTDMuNTA3NzIwNzUsNTkuOTkyMjc5MyBDMy41MDc3MjA3NSw1OS40NDQyNTg2IDMuOTUxOTc5Myw1OSA0LjUsNTkgWiIgaWQ9IkNvbWJpbmVkLVNoYXBlLUNvcHkiIGZpbGwtb3BhY2l0eT0iMC40IiBmaWxsPSIjQTNCMUJGIj48L3BhdGg+CiAgICAgICAgICAgICAgICAgICAgPGVsbGlwc2UgaWQ9Ik92YWwtNCIgZmlsbD0iI0RBRTBFNSIgY3g9IjY0IiBjeT0iMTAyLjUiIHJ4PSIyOCIgcnk9IjIuNSI+PC9lbGxpcHNlPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICAgICAgPGcgaWQ9IjI0Z2wtYnViYmxlczciIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE2LjAwMDAwMCwgMjQuMDAwMDAwKSIgZmlsbD0iI0RBRTBFNSIgZmlsbC1ydWxlPSJub256ZXJvIj4KICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNOS43OTE2NjY3LDU5LjIxMDI3NDggQzkuMjcyMjg0NCw1OS4yMTAyNzQ4IDguNzc0MTc0NjMsNTkuMDAyMzM0NSA4LjQwNjkxNTg4LDU4LjYzMjE5ODUgQzguMDM5NjU3MTIsNTguMjYyMDYyNSA3LjgzMzMzMzMsNTcuNzYwMDUwMyA3LjgzMzMzMzMsNTcuMjM2NTk5IEw3LjgzMzMzMzMsNDcuMzY4MjE5OCBDMy41MDkwNjAxOSw0Ny4zNjM0NjA4IDAuMDA0NzIxOTY0NzIsNDMuODMxNjY4IDAsMzkuNDczNTE2NSBMMCw3Ljg5NDcwMzI3IEMwLjAwNDcyMTk2NDcyLDMuNTM2NTUxOCAzLjUwOTA2MDE5LDAuMDA0NzU4OTU4NzggNy44MzMzMzMzLDAgTDU4Ljc1LDAgQzYzLjA3NDI3MzEsMC4wMDQ3NTg5NTg3OCA2Ni41Nzg2MTEzLDMuNTM2NTUxOCA2Ni41ODMzMzMzLDcuODk0NzAzMjcgTDY2LjU4MzMzMzMsMTMuODE1NzMwNyBDNjYuNTgzMzMzMywxNC45MDU3NjE4IDY1LjcwNjU1NzYsMTUuNzg5NDA2NSA2NC42MjUsMTUuNzg5NDA2NSBDNjMuNTQzNDQyNCwxNS43ODk0MDY1IDYyLjY2NjY2NjcsMTQuOTA1NzYxOCA2Mi42NjY2NjY3LDEzLjgxNTczMDcgTDYyLjY2NjY2NjcsNy44OTQ3MDMyNyBDNjIuNjY0MzA1Nyw1LjcxNTYyNzUyIDYwLjkxMjEzNjYsMy45NDk3MzExMSA1OC43NSwzLjk0NzM1MTY4IEw3LjgzMzMzMzMsMy45NDczNTE2OCBDNS42NzExOTY3NywzLjk0OTczMTE2IDMuOTE5MDI3NjgsNS43MTU2Mjc1NiAzLjkxNjY2NjcsNy44OTQ3MDMyNyBMMy45MTY2NjY3LDM5LjQ3MzUxNjUgQzMuOTE5MDI3NjgsNDEuNjUyNTkyMiA1LjY3MTE5Njc3LDQzLjQxODQ4ODYgNy44MzMzMzMzLDQzLjQyMDg2ODEgTDkuNzkxNjY2Nyw0My40MjA4NjgxIEMxMC4zMTEwNDksNDMuNDIwODY4MSAxMC44MDkxNTg3LDQzLjYyODgwODQgMTEuMTc2NDE3NSw0My45OTg5NDQ0IEMxMS41NDM2NzYyLDQ0LjM2OTA4MDQgMTEuNzUsNDQuODcxMDkyNiAxMS43NSw0NS4zOTQ1NDQgTDExLjc1LDUyLjQ3MjAyMjIgTDIwLjE1Njc1NzgsNDMuOTk4Nzg1MSBDMjAuOTIxNjIxOSw0My4yMjc5Mjg4IDIyLjE2MTcxMTQsNDMuMjI3OTI4OSAyMi45MjY1NzU0LDQzLjk5ODc4NTIgQzIzLjY5MTQzOTQsNDQuNzY5NjQxNSAyMy42OTE0Mzk1LDQ2LjAxOTQ0NjUgMjIuOTI2NTc1NSw0Ni43OTAzMDI4IEwxMS4xNzY1NzU1LDU4LjYzMjM1NzggQzEwLjgwOTI1MjIsNTkuMDAyNDc0NCAxMC4zMTEwODExLDU5LjIxMDI3NDggOS43OTE2NjY3LDU5LjIxMDI3NDggTDkuNzkxNjY2Nyw1OS4yMTAyNzQ4IFogTTY0LjA1MjE4NzUsNzQuNDIxNzY0NCBMNzEuMzEwODcyNCw2Ny4xMDQ5NzggTDg2LjE2NjY2NjcsNjcuMTA0OTc4IEM5MC40OTA5Mzk4LDY3LjEwMDIxOTEgOTMuOTk1Mjc4LDYzLjU2ODQyNjIgOTQsNTkuMjEwMjc0OCBMOTQsMjcuNjMxNDYxNiBDOTMuOTk1Mjc4MSwyMy4yNzMzMTAxIDkwLjQ5MDkzOTgsMTkuNzQxNTE3MiA4Ni4xNjY2NjY3LDE5LjczNjc1ODIgTDM1LjI1LDE5LjczNjc1ODIgQzMwLjkyNTcyNjksMTkuNzQxNTE3MiAyNy40MjEzODg2LDIzLjI3MzMxMDEgMjcuNDE2NjY2NywyNy42MzE0NjE2IEwyNy40MTY2NjY3LDU5LjIxMDI3NDggQzI3LjQyMTM4ODcsNjMuNTY4NDI2MiAzMC45MjU3MjY5LDY3LjEwMDIxOTEgMzUuMjUsNjcuMTA0OTc4IEw1NC4wMjI0NjA5LDY3LjEwNDk3OCBMNjEuMjgxNzU3OCw3NC40MjE3NjQ0IEM2MS42NDkwMjk0LDc0Ljc5MTk5NzkgNjIuMTQ3MjA2OSw3NSA2Mi42NjY2NjY3LDc1IEM2My4xODYxMjY0LDc1IDYzLjY4NDMwMzksNzQuNzkxOTk3OSA2NC4wNTE1NzU1LDc0LjQyMTc2NDQgTDY0LjA1MjE4NzUsNzQuNDIxNzY0NCBaIE04Ni4xNjY2NjY3LDIzLjY4NDEwOTkgQzg4LjMyODgwMzMsMjMuNjg2NDg5NCA5MC4wODA5NzI0LDI1LjQ1MjM4NTggOTAuMDgzMzMzMywyNy42MzE0NjE2IEw5MC4wODMzMzMzLDU5LjIxMDI3NDggQzkwLjA4MDk3MjQsNjEuMzg5MzUwNSA4OC4zMjg4MDMzLDYzLjE1NTI0NyA4Ni4xNjY2NjY3LDYzLjE1NzYyNjQgTDcwLjUsNjMuMTU3NjI2NCBDNjkuOTgwNTg1Niw2My4xNTc1NDE5IDY5LjQ4MjQxNDUsNjMuMzY1NDI2NyA2OS4xMTUwOTExLDYzLjczNTU0MzMgTDYyLjY2NjY2NjcsNzAuMjM1MTA0NiBMNTYuMjE4MjQyMiw2My43MzU1NDMzIEM1NS44NTA5MTg4LDYzLjM2NTQyNjcgNTUuMzUyNzQ3Nyw2My4xNTc1NDE5IDU0LjgzMzMzMzMsNjMuMTU3NjI2NCBMMzUuMjUsNjMuMTU3NjI2NCBDMzMuMDg3ODYzNCw2My4xNTUyNDcgMzEuMzM1Njk0Miw2MS4zODkzNTA1IDMxLjMzMzMzMzMsNTkuMjEwMjc0OCBMMzEuMzMzMzMzMywyNy42MzE0NjE2IEMzMS4zMzU2OTQyLDI1LjQ1MjM4NTggMzMuMDg3ODYzNCwyMy42ODY0ODkzIDM1LjI1LDIzLjY4NDEwOTkgTDg2LjE2NjY2NjcsMjMuNjg0MTA5OSBaIiBpZD0i5b2i54q2Ij48L3BhdGg+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==);margin:0 0 1.04545em}.mentioned{margin:0 0.5em 0 0}";_i.use(ji),_i.use(Ki);var no=function(t){xe(n,t);var e=ke(n);function n(){var t;return Ke(this,n),t=e.call(this),t.__registerHost(),Jt(Ue(t)),t.updateConversation=Tt(Ue(t),"updateConversation",7),t.tapConversation=Tt(Ue(t),"tapConversation",7),t.deleteConversation=Tt(Ue(t),"deleteConversation",7),t.baseSize="16px",t.isPullUpLoad=!1,t.data=[],t.lang=_n.lang,t.disableMenu=[],t.contextMenuData={visible:!1},t.getConversationList=t.getConversationList.bind(Ue(t)),t.handleUpdateConversation=t.handleUpdateConversation.bind(Ue(t)),t.switchConversation=t.switchConversation.bind(Ue(t)),t.hideContextMenu=t.hideContextMenu.bind(Ue(t)),t.handleTopStatusChange=t.handleTopStatusChange.bind(Ue(t)),t.handleDelete=t.handleDelete.bind(Ue(t)),t.handleNotificationStatusChange=t.handleNotificationStatusChange.bind(Ue(t)),t.pullingUpHandler=t.pullingUpHandler.bind(Ue(t)),t.handleSelectConversation=t.handleSelectConversation.bind(Ue(t)),t.handleMouseLeave=t.handleMouseLeave.bind(Ue(t)),t.handleLanguageChanged=t.handleLanguageChanged.bind(Ue(t)),t.handleConversationInfoChanged=t.handleConversationInfoChanged.bind(Ue(t)),t}return Je(n,[{key:"componentWillLoad",value:function(){var t=this;_n.on(_e.CONVERSATION,this.getConversationList),_n.on(_e.UPDATE_CONVERSATION,this.handleUpdateConversation),_n.on(_e.SWITCH_CONVERSATION,this.switchConversation),_n.off(_e.LANGUAGE_CHANGED,this.handleLanguageChanged),_n.on(_e.LANGUAGE_CHANGED,this.handleLanguageChanged),_n.on(_e.CONVERSATION_INFO_CHANGED,this.handleConversationInfoChanged),_n.on(_e.CONNECTED,(function(e){e?t.getConversationList(!0):t.data=[]}))}},{key:"disconnectedCallback",value:function(){_n.off(_e.CONVERSATION,this.getConversationList),_n.off(_e.UPDATE_CONVERSATION,this.handleUpdateConversation),_n.off(_e.SWITCH_CONVERSATION,this.switchConversation),_n.off(_e.LANGUAGE_CHANGED,this.handleLanguageChanged),_n.off(_e.CONVERSATION_INFO_CHANGED,this.handleConversationInfoChanged),this.bscroll&&(this.bscroll.off("pullingUp",this.pullingUpHandler),this.bscroll.destroy())}},{key:"handleConversationInfoChanged",value:function(){this.getConversationList()}},{key:"getConversationList",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return _n.getConversationList(e).then((function(e){t.data=e}))}},{key:"handleUpdateConversation",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.forEach((function(e){var n=t.data.findIndex((function(t){return t.conversation&&nn(t.conversation,e)}));-1!==n?t.data[n].conversation=e:setTimeout((function(){_n.getConversationProfile(e).then((function(n){var r={conversation:e,profile:n};t.data=[r].concat($e(t.data))}))}),500)})),e.length&&(this.data=Vn(this.data))}},{key:"switchConversation",value:function(t){this.currentConversation=t}},{key:"createScroll",value:function(){var t=this;this.scrollWrapper&&(this.bscroll=new _i(this.scrollWrapper,{bindToWrapper:!0,mouseWheel:{throttleTime:30},scrollX:!1,scrollY:!0,pullUpLoad:!0,click:!0,bounce:{top:!1,bottom:!0,left:!1,right:!1}}),this.bscroll.on("pullingUp",this.pullingUpHandler),this.bscroll.scroller.actionsHandler.wrapperEventRegister.events.forEach((function(e){var n=e;"mousedown"===n.name&&(n.handler=to.bind(t.bscroll.scroller.actionsHandler))})))}},{key:"componentDidUpdate",value:function(){!this.bscroll&&this.scrollWrapper&&this.createScroll(),this.bscroll&&this.bscroll.refresh()}},{key:"pullingUpHandler",value:function(){var t=this;this.isPullUpLoad=!0,setTimeout((function(){t.getConversationList(!0).then((function(){setTimeout((function(){t.isPullUpLoad=!1,t.bscroll.finishPullUp()}),200)}))}),1e3)}},{key:"handleConversationRightClick",value:function(t,e){e.preventDefault();var n=e.clientY,r=e.clientX;this.contextMenuData={visible:!0,position:{top:n,left:r},topStatus:t.isTop,notificationStatus:1===t.notificationStatus},this.operatedConversation=t}},{key:"hideContextMenu",value:function(){this.contextMenuData={visible:!1}}},{key:"handleTopStatusChange",value:function(t){void 0!==t&&_n.setConversationToTop({conversationType:this.operatedConversation.conversationType,targetId:this.operatedConversation.targetId,channelId:this.operatedConversation.channelId},t.detail)}},{key:"handleNotificationStatusChange",value:function(t){void 0!==t&&_n.setConversationNotificationStatus({conversationType:this.operatedConversation.conversationType,targetId:this.operatedConversation.targetId,channelId:this.operatedConversation.channelId},t.detail?Ce["i"].OPEN:Ce["i"].CLOSE)}},{key:"handleDelete",value:function(){var t=this,e={conversationType:this.operatedConversation.conversationType,targetId:this.operatedConversation.targetId,channelId:this.operatedConversation.channelId||""};_n._deleteConversation(e).then((function(){t.getConversationList(!0),t.deleteConversation.emit(e)}))}},{key:"handleSelectConversation",value:function(t){_n.selectConversation(t.detail),this.tapConversation.emit(t.detail)}},{key:"isHover",value:function(t){return!!this.currentConversation&&(t.channelId===this.currentConversation.channelId&&t.targetId===this.currentConversation.targetId&&t.conversationType===this.currentConversation.conversationType)}},{key:"getPullupTip",value:function(){this.locale=this.lang?kn[this.lang]:kn.zh_CN;var t=this.locale;return this.isPullUpLoad?Z("div",{class:"after-trigger"},Z("span",{class:"pullup-txt"},t.conversation.loading)):"ontouchstart"in window&&!this.isPullUpLoad?Z("div",{class:"before-trigger"},Z("span",{class:"pullup-txt"},t.conversation.forMore)):null}},{key:"handleMouseLeave",value:function(){this.bscroll&&(this.bscroll.stop(),this.bscroll.scroller.actionsHandler.setInitiated())}},{key:"handleLanguageChanged",value:function(t){this.lang=t.lang}},{key:"render",value:function(){var t=this;this.locale=this.lang?kn[this.lang]:kn.zh_CN;var e=this.contextMenuData,n=this.locale;return Z("div",{class:"conversation-wrapper",style:{fontSize:this.baseSize}},this.data.length?Z("conversation-context-menu",Object.assign({},e,{conversation:this.operatedConversation,onHide:this.hideContextMenu,onTopStatusChange:this.handleTopStatusChange,onNotificationStatusChange:this.handleNotificationStatusChange,onDelete:this.handleDelete,customMenu:this.customMenu,disableMenu:this.disableMenu})):null,this.data.length?Z("div",{class:"conversation-container",ref:function(e){return t.scrollWrapper=e,t.scrollWrapper}},Z("div",{class:"conversation-scroll-wrapper",onMouseLeave:this.handleMouseLeave},Z("div",{class:"conversation-list"},this.data.map((function(e){return Z("conversation-item",{key:"".concat(e.conversation.targetId,"_").concat(e.conversation.channelId,"_").concat(e.conversation.conversationType),isHover:t.isHover(e.conversation),data:e,onContextMenu:function(n){return t.handleConversationRightClick(e.conversation,n)},onSelectConversation:t.handleSelectConversation})}))),Z("div",{class:"pullup-tips"},this.data.length?this.getPullupTip():null))):Z("div",{class:"no-data"},Z("span",null,n.conversation.noData)))}}],[{key:"style",get:function(){return eo}}]),n}(we(HTMLElement)),ro=".member-list{min-width:14em;max-width:30em;max-height:16em;background:#ffffff;-webkit-box-shadow:0em 0em 1.5em 0.3em rgba(100, 102, 109, 0.19);box-shadow:0em 0em 1.5em 0.3em rgba(100, 102, 109, 0.19);border-radius:0.4em;overflow:auto;position:fixed}.member-list ul{padding:0;margin:0;list-style:none}.member-list li{width:100%;height:4em;line-height:4em;cursor:pointer;padding:0 1em;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:1.3em}.member-list li:hover{background:#dfdfdf}",io=function(t){xe(n,t);var e=ke(n);function n(){var t;return Ke(this,n),t=e.call(this),t.__registerHost(),t.close=Tt(Ue(t),"close",7),t.selectMember=Tt(Ue(t),"selectMember",7),t.visible=!1,t.memberList=[],t.position={left:0,top:0},t.lang=_n.lang,t.selected=!1,t.selectMemberHandler=t.selectMemberHandler.bind(Ue(t)),t.closeHandler=t.closeHandler.bind(Ue(t)),t.handleLanguageChanged=t.handleLanguageChanged.bind(Ue(t)),t.handleGroupInfoChanged=t.handleGroupInfoChanged.bind(Ue(t)),t}return Je(n,[{key:"validateWatchConversation",value:function(t,e){t.conversationType===e.conversationType&&t.channelId===e.channelId&&t.targetId===e.targetId||this.getMemberList()}},{key:"validateWatchVisible",value:function(t,e){t&&t!==e&&this.calcPopPosition()}},{key:"componentWillLoad",value:function(){window.addEventListener("click",this.closeHandler,!1),_n.off(_e.LANGUAGE_CHANGED,this.handleLanguageChanged),_n.on(_e.LANGUAGE_CHANGED,this.handleLanguageChanged),_n.on(_e.GROUP_INFO_CHANGED,this.handleGroupInfoChanged),this.getMemberList()}},{key:"disconnectedCallback",value:function(){_n.off(_e.LANGUAGE_CHANGED,this.handleLanguageChanged),_n.off(_e.GROUP_INFO_CHANGED,this.handleGroupInfoChanged),window.removeEventListener("click",this.closeHandler,!1)}},{key:"closeHandler",value:function(){this.close.emit(this.selected),this.selected=!1}},{key:"getMemberList",value:function(){var t=this;this.conversation&&this.conversation.conversationType===Ce["a"].GROUP&&_n.getGroupMembers(this.conversation).then((function(e){if(e){t.memberList=$e(e);var n=Object(Ce["u"])(),r=t.memberList.findIndex((function(t){return t.id===n}));-1!==r&&t.memberList.splice(r,1)}else t.memberList=[]}))}},{key:"selectMemberHandler",value:function(t){var e=t.target,n=e.getAttribute("data-id");if(n){var r=e.getAttribute("data-name");this.selectMember.emit({id:n,value:r}),this.selected=!0}else this.selected=!1}},{key:"calcPopPosition",value:function(){var t=this;this.visible&&setTimeout((function(){var e=t.targetRect||{x:0,y:0,height:0,width:0,bottom:0,top:0,left:0,right:0};if(!t.listRef)return e;var n={left:e.x,top:e.y},r=t.listRef.getBoundingClientRect(),i=r.width||r.right-r.left,o=r.height||r.bottom-r.top,s=document.documentElement.clientWidth,a=document.documentElement.clientHeight,c=e.x,u=e.y+e.height;return n.left=c+i>s?s-i:c<0?0:c,u+o>a?n.top=a-o:n.top<0?n.top=0:n.top=u,t.position=n,null}),17)}},{key:"handleLanguageChanged",value:function(t){this.lang=t.lang}},{key:"handleGroupInfoChanged",value:function(t){this.memberList=t}},{key:"render",value:function(){var t=this;this.locale=this.lang?kn[this.lang]:kn.zh_CN;var e=this.memberList,n=this.visible,r=this.position,i=this.locale;return Z("div",{class:"member-list",ref:function(e){return t.listRef=e,t.listRef},style:{display:n?"block":"none",left:"".concat(r.left,"px"),top:"".concat(r.top,"px")}},Z("ul",{onClick:this.selectMemberHandler},Z("li",{"data-id":"all","data-name":i.other.all},i.other.all),e.map((function(t){return Z("li",{"data-id":t.id,"data-name":t.groupNickname||t.name||t.id},t.groupNickname||t.name||t.id)}))))}}],[{key:"watchers",get:function(){return{conversation:["validateWatchConversation"],visible:["validateWatchVisible"]}}},{key:"style",get:function(){return ro}}]),n}(we(HTMLElement)),oo=".message-context-menu{font-size:2em;position:fixed;top:0;left:0;z-index:1;min-width:7em;background:#FFFFFF;border-radius:0.2em}.context-menu-box-shadow{-webkit-box-shadow:0em 0em 0.75em 0.15em rgba(100, 102, 109, 0.19);box-shadow:0em 0em 0.75em 0.15em rgba(100, 102, 109, 0.19)}.message-context-menu ul{list-style:none;padding:0;margin:0}.message-context-menu ul li{list-style:none;line-height:2;text-align:center;background:#fff;height:3em;line-height:3em;cursor:pointer;padding:0 1em;color:#111F2C}.message-context-menu ul li:hover{background:#F2F8FF}",so=function(t){xe(n,t);var e=ke(n);function n(){var t;return Ke(this,n),t=e.call(this),t.__registerHost(),t.position={top:0,left:0},t.visible=!1,t.lang=_n.lang,t.isShowForward=!1,t.msgType=["RC:TxtMsg","RC:FileMsg","RC:ImgMsg"],t.handleCopy=t.handleCopy.bind(Ue(t)),t.handleReference=t.handleReference.bind(Ue(t)),t.handleRecall=t.handleRecall.bind(Ue(t)),t.handleDelete=t.handleDelete.bind(Ue(t)),t.handlForward=t.handlForward.bind(Ue(t)),t.hide=t.hide.bind(Ue(t)),t.handleLanguageChanged=t.handleLanguageChanged.bind(Ue(t)),t}return Je(n,[{key:"watchPosition",value:function(){this.visible||(this.visible=!0)}},{key:"watchMessage",value:function(){}},{key:"componentWillLoad",value:function(){document.body.addEventListener("mouseup",this.hide,!1),window.addEventListener("blur",this.hide,!1),_n.on(_e.LANGUAGE_CHANGED,this.handleLanguageChanged)}},{key:"disconnectedCallback",value:function(){document.body.removeEventListener("mouseup",this.hide,!1),window.removeEventListener("blur",this.hide,!1),_n.off(_e.LANGUAGE_CHANGED,this.handleLanguageChanged)}},{key:"handleCopy",value:function(){var t;switch(this.message.messageType){case Ce["h"].TEXT:t={"text/plain":new Blob([this.message.content.content],{type:"text/plain"})};break;default:t=null}if(!t)throw new Error("No data copied");try{if(navigator.clipboard){var e=navigator.clipboard;return void e.write([new ClipboardItem(t)])}var n=document.createElement("input");n.setAttribute("id","COPY_INPUT"),n.style.position="fixed",n.style.left="-100%",n.style.top="0",n.style.zIndex="-100",n.style.opacity="0",document.body.appendChild(n),n.value=this.message.content.content,n.focus(),n.select(),document.execCommand("copy")&&document.execCommand("copy")}catch(Is){Te["G"].info(Ae.A_KIT_COPY_FAILE_O,{msg:"Failed to copy",e:Is})}}},{key:"handleReference",value:function(){this.message&&_n.referenceMessage(this.message)}},{key:"handleRecall",value:function(){this.message&&this.message.messageDirection===Ce["g"].SEND&&_n.recallMessage(this.message)}},{key:"handleDelete",value:function(){this.message&&_n.deleteMessage(this.message)}},{key:"handlForward",value:function(){var t=this;if(this.message){var e=this.forwardList.callback(this.message);Object(Te["w"])(e)?Object(Te["H"])(e)?e.length>6?Te["G"].error(Ae.A_KIT_FORWARD_O,"Forwarding quantity exceeds the limit"):e.forEach((function(e){var n,r=t.message.content;switch(t.message.messageType){case"RC:TxtMsg":n=new Ce["l"]({content:r.content});break;case"RC:ImgMsg":n=new Ce["e"]({content:r.content,imageUri:r.imageUri});break;case"RC:FileMsg":n=new Ce["d"]({name:r.name,size:r.size,type:r.type,fileUrl:r.fileUrl});break}var i={conversationType:e.conversationType,targetId:e.targetId};_n.sendMessage(i,n,null)})):Te["G"].error(Ae.A_KIT_FORWARD_O,"Forwarding list is empty"):Te["G"].error(Ae.A_KIT_FORWARD_O,"Forwardlist needs to return an array")}}},{key:"hide",value:function(t){2!==t.button&&this.hide&&(this.visible=!1)}},{key:"handleLanguageChanged",value:function(t){this.lang=t.lang}},{key:"createCustomMenu",value:function(){var t=this;if(!this.customMenu||!this.message)return[];var e=[];return this.customMenu.forEach((function(n){var r=n.name(Ye({},t.message));r&&e.push({name:r,callback:function(){return n.callback(Ye({},t.message))}})})),e}},{key:"render",value:function(){var t=this;this.locale=this.lang?kn[this.lang]:kn.zh_CN;var e=this.locale,n=this.message,r=this.createCustomMenu();this.isShowForward=!(!this.forwardList||!this.forwardList.callback);var i=document.documentElement.clientHeight,o=document.documentElement.clientWidth,s=0;s+=r.length;var a="",c=0,u=0;if(this.contextMenu){var l=this.contextMenu.childNodes[0],f=l.children.length;f>0&&(s+=f,c=l.childNodes[0].clientHeight*s,u=l.clientWidth)}var h=function(){return t.position?i-t.position.top<c?t.position.top-c:t.position.top:0},d=function(){return t.position?o-t.position.left<u?t.position.left-u:t.position.left:0};return s>0&&(a="context-menu-box-shadow"),Z("div",{class:"".concat(a," message-context-menu"),style:{"z-index":this.visible?"1":"-1",display:"block",opacity:this.visible?"1":"0",left:"".concat(d(),"px"),top:"".concat(h(),"px")},ref:function(e){return t.contextMenu=e,t.contextMenu}},Z("ul",null,!this.disableMenu.includes(Mn.Copy)&&n&&n.messageType===Ce["h"].TEXT?Z("li",{onClick:this.handleCopy},e.message.copy):null,this.disableMenu.includes(Mn.Reference)?null:Z("li",{onClick:this.handleReference},e.message.quote),this.disableMenu.includes(Mn.Recall)||(n&&n.messageDirection)!==Ce["g"].SEND?null:Z("li",{onClick:this.handleRecall},e.message.recall),this.disableMenu.includes(Mn.Delete)?null:Z("li",{onClick:this.handleDelete},e.message["delete"]),!this.disableMenu.includes(Mn.Forward)&&this.isShowForward&&n&&this.msgType.indexOf(n.messageType)>-1?Z("li",{onClick:this.handlForward},e.message.forward):null,r.map((function(t){return Z("li",{onClick:t.callback},t.name)}))))}}],[{key:"watchers",get:function(){return{position:["watchPosition"],message:["watchMessage"]}}},{key:"style",get:function(){return oo}}]),n}(we(HTMLElement)),ao=".message-editor-wrapper{position:relative;width:100%;height:100%;min-width:10em;min-height:10em;text-align:left;background:#fbfbfc;border-top:1px solid rgb(227, 229, 230)}.editor-body{width:100%;height:100%}.editor-tool-bar{width:100%;height:4em}.editor-content-wrapper{width:100%;height:calc(100% - 7.5em);padding:0.5em 1em;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative}.editor-tool-bar{padding:3em 0 0.5em 4em}.editor-tool-bar .buttons .button{width:3.6em;height:3.6em;overflow:hidden;display:inline-block;text-align:center;line-height:3em;margin:0 3em 0 0;border-radius:0.5em;cursor:pointer;overflow:hidden}.editor-tool-bar .buttons .button input{display:none}.editor-tool-bar .buttons .button .label{display:block;width:3.6em;padding:3.6em 0 0;height:0;overflow:hidden;background-repeat:no-repeat;background-size:contain}.editor-tool-bar .buttons .button.image-btn .label{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMzZweCIgaGVpZ2h0PSIzNnB4IiB2aWV3Qm94PSIwIDAgMzYgMzYiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5Zu+54mHaWNvbjwvdGl0bGU+CiAgICA8ZyBpZD0i6aG16Z2iLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSIwM1/lkJHkuIvmu5rliqjml7Zsb2FkaW5nIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDg3LjAwMDAwMCwgLTcxMC4wMDAwMDApIj4KICAgICAgICAgICAgPGcgaWQ9IuWbvueJh2ljb24iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQ4Ny4wMDAwMDAsIDcxMC4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSLnn6nlvaIiIHg9IjAiIHk9IjAiIHdpZHRoPSIzNiIgaGVpZ2h0PSIzNiI+PC9yZWN0PgogICAgICAgICAgICAgICAgPHBhdGggZD0iTTMwLjU5MDE2MzksNSBDMzEuMjU0NDc3Niw1IDMxLjg1NTgwNyw1LjI3MjE2MzE4IDMyLjI5MTMyMjksNS43MTA3NjA2MSBDMzIuNzI5MzgyNiw2LjE1MTkxOTczIDMzLDYuNzYxMzc4NTcgMzMsNy40MzM5NjIyNiBMMzMsNy40MzM5NjIyNiBMMzMsMjguNTY2MDM3NyBDMzMsMjkuMjM4NjIxNCAzMi43MjkzODI2LDI5Ljg0ODA4MDMgMzIuMjkxMzIyOSwzMC4yODkyMzk0IEMzMS44NTU4MDcsMzAuNzI3ODM2OCAzMS4yNTQ0Nzc2LDMxIDMwLjU5MDE2MzksMzEgTDMwLjU5MDE2MzksMzEgTDUuNDA5ODM2MDcsMzEgQzQuNzcxNDc4LDMxIDQuMTU5NTg0OTUsMzAuNzQ0MDcxIDMuNzA4MzEyOTcsMzAuMjg5NjA2MSBDMy4yNTQ0MDU4MywyOS44MzI0ODczIDMsMjkuMjEyMzQzNSAzLDI4LjU2NjAzNzcgTDMsMjguNTY2MDM3NyBMMyw3LjQzMzk2MjI2IEMzLDYuNzYxMzc4NTcgMy4yNzA2MTc0Myw2LjE1MTkxOTczIDMuNzA4Njc3MDgsNS43MTA3NjA2MSBDNC4xNDQxOTMwMyw1LjI3MjE2MzE4IDQuNzQ1NTIyNCw1IDUuNDA5ODM2MDcsNSBMNS40MDk4MzYwNyw1IFoiIGlkPSLot6/lvoQiIHN0cm9rZT0iIzc3Nzc3NyIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsLXJ1bGU9Im5vbnplcm8iPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0yNC4zMjM1NDYyLDE2Ljc1Mzg3NTkgQzI1LjEyMjQ1ODksMTYuNjk2NDUxMSAyNS45MzcwMzc0LDE2Ljg0NTc5MSAyNi42Nzk5NjAxLDE3LjIwODk0OTMgTDI2LjY3OTk2MDEsMTcuMjA4OTQ5MyBMMzAuNTE2ODEyNCwxOS4wODMxNDM5IEMzMS4yNzg3ODQ4LDE5LjQ1NTU3NTIgMzEuOTAxMTEwOCwyMC4wMjE3NzQzIDMyLjMzMjMyNzEsMjAuNzAzODUwNSBDMzIuNzYwNDkyMiwyMS4zODExMDA3IDMzLDIyLjE3MjUzOTYgMzMsMjIuOTk5NjYyNiBMMzMsMjIuOTk5NjYyNiBMMzMsMjguNjY3NjgwNSBDMzMsMjkuMzA4ODQ1NiAzMi43MzE4Nzc1LDI5Ljg4ODQ0MzggMzIuMzAyMTI2MiwzMC4zMDg1MTY0IEMzMS44NjQwMzM2LDMwLjczNjc0MjUgMzEuMjU4NDYyNCwzMC45OTk5OTk2IDMwLjU5MDkwMjUsMzAuOTk5OTk5NiBMMzAuNTkwOTAyNSwzMC45OTk5OTk2IEw1Ljk3OTc4MjIsMzAuOTk5OTk5OCBDNS43MjU1NTQ0NiwzMS4wMDAxNDgxIDUuNDg1NjM4MDEsMzAuOTIwNDIxNCA1LjI5MDM3MTk0LDMwLjc4MDU1NjIgQzUuMTAxMzMwOTQsMzAuNjQ1MTQ5OSA0Ljk1NDExMjE3LDMwLjQ1MzAyNjEgNC44Nzk5NjA4LDMwLjIyMzEzMiBDNC44MDczNDIyNywyOS45OTc5OTAyIDQuODEzNjgyNjYsMjkuNzYyODQwOSA0Ljg4NzYxOTkxLDI5LjU1MDE1OTQgQzQuOTYzMjEzMzYsMjkuMzMyNzEzOCA1LjEwOTAwNzYsMjkuMTM5MjI0OCA1LjMxMTQ1OTczLDI5LjAwMDg0NDEgTDUuMzExNDU5NzMsMjkuMDAwODQ0MSBMMjIuMDYzMTA4MywxNy41Mzk4MDg2IEMyMi43NDI3NjU3LDE3LjA3NDk2NDYgMjMuNTI1NDg1NywxNi44MTEyMzk1IDI0LjMyMzU0NjIsMTYuNzUzODc1OSBaIiBpZD0i6Lev5b6EIiBzdHJva2U9IiM3Nzc3NzciIHN0cm9rZS13aWR0aD0iMiIgZmlsbC1ydWxlPSJub256ZXJvIj48L3BhdGg+CiAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTAuNjg1NzE0MywxNC44Mzg3MDk3IEMxMS45NDgwNzk0LDE0LjgzODcwOTcgMTIuOTcxNDI4NiwxMy44Mjc3Mzk4IDEyLjk3MTQyODYsMTIuNTgwNjQ1MiBDMTIuOTcxNDI4NiwxMS4zMzM1NTA2IDExLjk0ODA3OTQsMTAuMzIyNTgwNiAxMC42ODU3MTQzLDEwLjMyMjU4MDYgQzkuNDIzMzQ5MTIsMTAuMzIyNTgwNiA4LjQsMTEuMzMzNTUwNiA4LjQsMTIuNTgwNjQ1MiBDOC40LDEzLjgyNzczOTcgOS40MjMzNDkxMiwxNC44Mzg3MDk3IDEwLjY4NTcxNDMsMTQuODM4NzA5NyBMMTAuNjg1NzE0MywxNC44Mzg3MDk3IFoiIGlkPSLot6/lvoQiIGZpbGw9IiM3Nzc3NzciIGZpbGwtcnVsZT0ibm9uemVybyI+PC9wYXRoPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)}.editor-tool-bar .buttons .button.image-btn .label:hover{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMzZweCIgaGVpZ2h0PSIzNnB4IiB2aWV3Qm94PSIwIDAgMzYgMzYiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5Zu+54mHaWNvbjwvdGl0bGU+CiAgICA8ZyBpZD0i6aG16Z2iLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSIxN1/ljZXogYot5Y+R6YCB5Zu+54mH5raI5oGvIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDg3LjAwMDAwMCwgLTg2MC4wMDAwMDApIj4KICAgICAgICAgICAgPGcgaWQ9IuWbvueJh2ljb24iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQ4Ny4wMDAwMDAsIDg2MC4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSLnn6nlvaIiIHg9IjAiIHk9IjAiIHdpZHRoPSIzNiIgaGVpZ2h0PSIzNiI+PC9yZWN0PgogICAgICAgICAgICAgICAgPHBhdGggZD0iTTMwLjU5MDE2MzksNSBDMzEuMjU0NDc3Niw1IDMxLjg1NTgwNyw1LjI3MjE2MzE4IDMyLjI5MTMyMjksNS43MTA3NjA2MSBDMzIuNzI5MzgyNiw2LjE1MTkxOTczIDMzLDYuNzYxMzc4NTcgMzMsNy40MzM5NjIyNiBMMzMsNy40MzM5NjIyNiBMMzMsMjguNTY2MDM3NyBDMzMsMjkuMjM4NjIxNCAzMi43MjkzODI2LDI5Ljg0ODA4MDMgMzIuMjkxMzIyOSwzMC4yODkyMzk0IEMzMS44NTU4MDcsMzAuNzI3ODM2OCAzMS4yNTQ0Nzc2LDMxIDMwLjU5MDE2MzksMzEgTDMwLjU5MDE2MzksMzEgTDUuNDA5ODM2MDcsMzEgQzQuNzcxNDc4LDMxIDQuMTU5NTg0OTUsMzAuNzQ0MDcxIDMuNzA4MzEyOTcsMzAuMjg5NjA2MSBDMy4yNTQ0MDU4MywyOS44MzI0ODczIDMsMjkuMjEyMzQzNSAzLDI4LjU2NjAzNzcgTDMsMjguNTY2MDM3NyBMMyw3LjQzMzk2MjI2IEMzLDYuNzYxMzc4NTcgMy4yNzA2MTc0Myw2LjE1MTkxOTczIDMuNzA4Njc3MDgsNS43MTA3NjA2MSBDNC4xNDQxOTMwMyw1LjI3MjE2MzE4IDQuNzQ1NTIyNCw1IDUuNDA5ODM2MDcsNSBMNS40MDk4MzYwNyw1IFoiIGlkPSLot6/lvoQiIHN0cm9rZT0iIzAwOTlGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsLXJ1bGU9Im5vbnplcm8iPjwvcGF0aD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0yNC4zMjM1NDYyLDE2Ljc1Mzg3NTkgQzI1LjEyMjQ1ODksMTYuNjk2NDUxMSAyNS45MzcwMzc0LDE2Ljg0NTc5MSAyNi42Nzk5NjAxLDE3LjIwODk0OTMgTDI2LjY3OTk2MDEsMTcuMjA4OTQ5MyBMMzAuNTE2ODEyNCwxOS4wODMxNDM5IEMzMS4yNzg3ODQ4LDE5LjQ1NTU3NTIgMzEuOTAxMTEwOCwyMC4wMjE3NzQzIDMyLjMzMjMyNzEsMjAuNzAzODUwNSBDMzIuNzYwNDkyMiwyMS4zODExMDA3IDMzLDIyLjE3MjUzOTYgMzMsMjIuOTk5NjYyNiBMMzMsMjIuOTk5NjYyNiBMMzMsMjguNjY3NjgwNSBDMzMsMjkuMzA4ODQ1NiAzMi43MzE4Nzc1LDI5Ljg4ODQ0MzggMzIuMzAyMTI2MiwzMC4zMDg1MTY0IEMzMS44NjQwMzM2LDMwLjczNjc0MjUgMzEuMjU4NDYyNCwzMC45OTk5OTk2IDMwLjU5MDkwMjUsMzAuOTk5OTk5NiBMMzAuNTkwOTAyNSwzMC45OTk5OTk2IEw1Ljk3OTc4MjIsMzAuOTk5OTk5OCBDNS43MjU1NTQ0NiwzMS4wMDAxNDgxIDUuNDg1NjM4MDEsMzAuOTIwNDIxNCA1LjI5MDM3MTk0LDMwLjc4MDU1NjIgQzUuMTAxMzMwOTQsMzAuNjQ1MTQ5OSA0Ljk1NDExMjE3LDMwLjQ1MzAyNjEgNC44Nzk5NjA4LDMwLjIyMzEzMiBDNC44MDczNDIyNywyOS45OTc5OTAyIDQuODEzNjgyNjYsMjkuNzYyODQwOSA0Ljg4NzYxOTkxLDI5LjU1MDE1OTQgQzQuOTYzMjEzMzYsMjkuMzMyNzEzOCA1LjEwOTAwNzYsMjkuMTM5MjI0OCA1LjMxMTQ1OTczLDI5LjAwMDg0NDEgTDUuMzExNDU5NzMsMjkuMDAwODQ0MSBMMjIuMDYzMTA4MywxNy41Mzk4MDg2IEMyMi43NDI3NjU3LDE3LjA3NDk2NDYgMjMuNTI1NDg1NywxNi44MTEyMzk1IDI0LjMyMzU0NjIsMTYuNzUzODc1OSBaIiBpZD0i6Lev5b6EIiBzdHJva2U9IiMwMDk5RkYiIHN0cm9rZS13aWR0aD0iMiIgZmlsbC1ydWxlPSJub256ZXJvIj48L3BhdGg+CiAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTAuNjg1NzE0MywxNC44Mzg3MDk3IEMxMS45NDgwNzk0LDE0LjgzODcwOTcgMTIuOTcxNDI4NiwxMy44Mjc3Mzk4IDEyLjk3MTQyODYsMTIuNTgwNjQ1MiBDMTIuOTcxNDI4NiwxMS4zMzM1NTA2IDExLjk0ODA3OTQsMTAuMzIyNTgwNiAxMC42ODU3MTQzLDEwLjMyMjU4MDYgQzkuNDIzMzQ5MTIsMTAuMzIyNTgwNiA4LjQsMTEuMzMzNTUwNiA4LjQsMTIuNTgwNjQ1MiBDOC40LDEzLjgyNzczOTcgOS40MjMzNDkxMiwxNC44Mzg3MDk3IDEwLjY4NTcxNDMsMTQuODM4NzA5NyBMMTAuNjg1NzE0MywxNC44Mzg3MDk3IFoiIGlkPSLot6/lvoQiIGZpbGw9IiMwMDk5RkYiIGZpbGwtcnVsZT0ibm9uemVybyI+PC9wYXRoPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)}.editor-tool-bar .buttons .button.file-btn .label{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMzZweCIgaGVpZ2h0PSIzNnB4IiB2aWV3Qm94PSIwIDAgMzYgMzYiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5paH5Lu2aWNvbjwvdGl0bGU+CiAgICA8ZyBpZD0i6aG16Z2iLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSIwM1/lkJHkuIvmu5rliqjml7Zsb2FkaW5nIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNTUzLjAwMDAwMCwgLTcxMC4wMDAwMDApIj4KICAgICAgICAgICAgPGcgaWQ9IuaWh+S7tmljb24iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDU1My4wMDAwMDAsIDcxMC4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSLnn6nlvaIiIHg9IjAiIHk9IjAiIHdpZHRoPSIzNiIgaGVpZ2h0PSIzNiI+PC9yZWN0PgogICAgICAgICAgICAgICAgPHBhdGggZD0iTTMxLjUsNSBDMzIuMTkwNTY5Miw1IDMyLjgxNTYxNjgsNS4yNzk2MzUwNSAzMy4yNjc5OTA5LDUuNzMyMDA5MTIgQzMzLjcyMDM2NDksNi4xODQzODMyIDM0LDYuODA5NDMwOCAzNCw3LjUgTDM0LDcuNSBMMzQsMjguNSBDMzQsMjkuMTkwNTY5MiAzMy43MjAzNjQ5LDI5LjgxNTYxNjggMzMuMjY3OTkwOSwzMC4yNjc5OTA5IEMzMi44MTU2MTY4LDMwLjcyMDM2NDkgMzIuMTkwNTY5MiwzMSAzMS41LDMxIEwzMS41LDMxIEw1LjUsMzEgQzQuODA5NDMwOCwzMSA0LjE4NDM4MzIsMzAuNzIwMzY0OSAzLjczMjAwOTEyLDMwLjI2Nzk5MDkgQzMuMjc5NjM1MDUsMjkuODE1NjE2OCAzLDI5LjE5MDU2OTIgMywyOC41IEwzLDI4LjUgTDMsMTEgQzMsMTAuMzA5NDMwOCAzLjI3OTYzNTA1LDkuNjg0MzgzMiAzLjczMjAwOTEyLDkuMjMyMDA5MTIgQzQuMTg0MzgzMiw4Ljc3OTYzNTA1IDQuODA5NDMwOCw4LjUgNS41LDguNSBMNS41LDguNSBMMTcuOTE0MjEzNiw4LjUgTDIxLjE5NTM4OCw1LjIxODgyNTUzIEMyMS4zMzYxNDA5LDUuMDc4MDcyNjggMjEuNTI3MzQzNyw1IDIxLjcyNjU2MjUsNSBMMjEuNzI2NTYyNSw1IFoiIGlkPSLot6/lvoQiIHN0cm9rZT0iIzc3Nzc3NyIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsLXJ1bGU9Im5vbnplcm8iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4LjUwMDAwMCwgMTguMDAwMDAwKSBzY2FsZSgtMSwgMSkgdHJhbnNsYXRlKC0xOC41MDAwMDAsIC0xOC4wMDAwMDApICI+PC9wYXRoPgogICAgICAgICAgICAgICAgPHBhdGggZD0iTTI3LjcyMjIyMjIsMjcgTDkuMjc3Nzc3NzgsMjcgQzguNTcxMDA2OTQsMjcgOCwyNi41NTMxMjUgOCwyNiBDOCwyNS40NDY4NzUgOC41NzEwMDY5NCwyNSA5LjI3Nzc3Nzc4LDI1IEwyNy43MjIyMjIyLDI1IEMyOC40Mjg5OTMxLDI1IDI5LDI1LjQ0Njg3NSAyOSwyNiBDMjksMjYuNTUzMTI1IDI4LjQyODk5MzEsMjcgMjcuNzIyMjIyMiwyNyBaIiBpZD0i6Lev5b6EIiBmaWxsPSIjNzc3Nzc3IiBmaWxsLXJ1bGU9Im5vbnplcm8iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4LjUwMDAwMCwgMjYuMDAwMDAwKSBzY2FsZSgtMSwgMSkgdHJhbnNsYXRlKC0xOC41MDAwMDAsIC0yNi4wMDAwMDApICI+PC9wYXRoPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)}.editor-tool-bar .buttons .button.file-btn .label:hover{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMzZweCIgaGVpZ2h0PSIzNnB4IiB2aWV3Qm94PSIwIDAgMzYgMzYiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5paH5Lu2aWNvbjwvdGl0bGU+CiAgICA8ZyBpZD0i6aG16Z2iLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSIxOV/ljZXogYot5paH5Lu25LiK5Lyg5LitIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNTUzLjAwMDAwMCwgLTcxMC4wMDAwMDApIj4KICAgICAgICAgICAgPGcgaWQ9IuaWh+S7tmljb24iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDU1My4wMDAwMDAsIDcxMC4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSLnn6nlvaIiIHg9IjAiIHk9IjAiIHdpZHRoPSIzNiIgaGVpZ2h0PSIzNiI+PC9yZWN0PgogICAgICAgICAgICAgICAgPHBhdGggZD0iTTMxLjUsNSBDMzIuMTkwNTY5Miw1IDMyLjgxNTYxNjgsNS4yNzk2MzUwNSAzMy4yNjc5OTA5LDUuNzMyMDA5MTIgQzMzLjcyMDM2NDksNi4xODQzODMyIDM0LDYuODA5NDMwOCAzNCw3LjUgTDM0LDcuNSBMMzQsMjguNSBDMzQsMjkuMTkwNTY5MiAzMy43MjAzNjQ5LDI5LjgxNTYxNjggMzMuMjY3OTkwOSwzMC4yNjc5OTA5IEMzMi44MTU2MTY4LDMwLjcyMDM2NDkgMzIuMTkwNTY5MiwzMSAzMS41LDMxIEwzMS41LDMxIEw1LjUsMzEgQzQuODA5NDMwOCwzMSA0LjE4NDM4MzIsMzAuNzIwMzY0OSAzLjczMjAwOTEyLDMwLjI2Nzk5MDkgQzMuMjc5NjM1MDUsMjkuODE1NjE2OCAzLDI5LjE5MDU2OTIgMywyOC41IEwzLDI4LjUgTDMsMTEgQzMsMTAuMzA5NDMwOCAzLjI3OTYzNTA1LDkuNjg0MzgzMiAzLjczMjAwOTEyLDkuMjMyMDA5MTIgQzQuMTg0MzgzMiw4Ljc3OTYzNTA1IDQuODA5NDMwOCw4LjUgNS41LDguNSBMNS41LDguNSBMMTcuOTE0MjEzNiw4LjUgTDIxLjE5NTM4OCw1LjIxODgyNTUzIEMyMS4zMzYxNDA5LDUuMDc4MDcyNjggMjEuNTI3MzQzNyw1IDIxLjcyNjU2MjUsNSBMMjEuNzI2NTYyNSw1IFoiIGlkPSLot6/lvoQiIHN0cm9rZT0iIzAwOTlGRiIgc3Ryb2tlLXdpZHRoPSIyIiBmaWxsLXJ1bGU9Im5vbnplcm8iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4LjUwMDAwMCwgMTguMDAwMDAwKSBzY2FsZSgtMSwgMSkgdHJhbnNsYXRlKC0xOC41MDAwMDAsIC0xOC4wMDAwMDApICI+PC9wYXRoPgogICAgICAgICAgICAgICAgPHBhdGggZD0iTTI3LjcyMjIyMjIsMjcgTDkuMjc3Nzc3NzgsMjcgQzguNTcxMDA2OTQsMjcgOCwyNi41NTMxMjUgOCwyNiBDOCwyNS40NDY4NzUgOC41NzEwMDY5NCwyNSA5LjI3Nzc3Nzc4LDI1IEwyNy43MjIyMjIyLDI1IEMyOC40Mjg5OTMxLDI1IDI5LDI1LjQ0Njg3NSAyOSwyNiBDMjksMjYuNTUzMTI1IDI4LjQyODk5MzEsMjcgMjcuNzIyMjIyMiwyNyBaIiBpZD0i6Lev5b6EIiBmaWxsPSIjMDA5OUZGIiBmaWxsLXJ1bGU9Im5vbnplcm8iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE4LjUwMDAwMCwgMjYuMDAwMDAwKSBzY2FsZSgtMSwgMSkgdHJhbnNsYXRlKC0xOC41MDAwMDAsIC0yNi4wMDAwMDApICI+PC9wYXRoPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)}.error-tip{width:300px;height:50px;position:fixed;top:0;left:0;right:0;bottom:0;margin:auto;background:#f56c6c;line-height:50px;color:#fff;font-size:20px;border-radius:8px}",co=function(t){xe(n,t);var e=ke(n);function n(){var t;return Ke(this,n),t=e.call(this),t.__registerHost(),t.baseSize="16px",t.showMemberList=!1,t.isError=!1,t.lang=_n.lang,t.connected=!0,t.content="",t.switchConversation=t.switchConversation.bind(Ue(t)),t.sendFileMessage=t.sendFileMessage.bind(Ue(t)),t.sendImageMessage=t.sendImageMessage.bind(Ue(t)),t.handlePostMessage=t.handlePostMessage.bind(Ue(t)),t.handleEditorChange=t.handleEditorChange.bind(Ue(t)),t.handleReferenceMessage=t.handleReferenceMessage.bind(Ue(t)),t.handleCloseReference=t.handleCloseReference.bind(Ue(t)),t.handleConnected=t.handleConnected.bind(Ue(t)),t.handleConnecting=t.handleConnecting.bind(Ue(t)),t.handleSuspend=t.handleSuspend.bind(Ue(t)),t.handleLanguageChanged=t.handleLanguageChanged.bind(Ue(t)),t}return Je(n,[{key:"checkMentioned",value:function(){var t={mentionedUserIdList:[],mentionedType:Ce["f"].SINGAL},e=document.createElement("div");e.innerHTML=this.content;var n=e.querySelectorAll("span.at-span");if(n.length){for(var r=0;r<n.length;r++){var i=n[r],o=i.getAttribute("data-id");if("all"===o){t.mentionedType=Ce["f"].ALL,t.mentionedUserIdList.length=0;break}-1===t.mentionedUserIdList.indexOf(o)&&t.mentionedUserIdList.push(o)}return t}return null}},{key:"handlePostMessage",value:function(t){var e=t.detail;if(this.content=t.detail,e&&this.connected){var n,r,i=this.checkMentioned();if(e=e.replace(/<br\s?\/?>/gi,"\n"),e=e.replace(/ /gi," "),e=Hn(e),this.referenceMessage)n=new Ce["k"]({referMsgUserId:this.referenceMessage.message.senderUserId,referMsg:this.referenceMessage.message.content,content:e,objName:this.referenceMessage.message.messageType});else{var o={content:e};r=i?Ye({isMentioned:!0},i):void 0,r||(o.mentionedInfo=r),n=new Ce["l"](o)}_n.sendMessage(this.conversation,n,r),this.content=""}}},{key:"sendImageMessage",value:function(){var t=this,e=["image/jpeg","image/jpg","image/png"];if(this.connected){var n=this.imageInputRef.files;if(n.length){var r=n[0];if(-1===e.indexOf(n[0].type))return this.isError=!0,void setTimeout((function(){t.isError=!1}),2e3);_n.sendImageMessage(this.conversation,{file:r},{onProgress:function(){},onComplete:function(){}}),this.imageInputRef.value=""}}}},{key:"sendFileMessage",value:function(){if(this.connected){var t=this.fileInputRef.files;if(t.length){var e=t[0];_n.sendFileMessage(this.conversation,{file:e},{onProgress:function(){},onComplete:function(){}}),this.fileInputRef.value=""}}}},{key:"componentDidLoad",value:function(){this.draft&&(this.content=this.draft.text),Object(Ce["n"])(Ce["c"].CONNECTED,this.handleConnected),Object(Ce["n"])(Ce["c"].CONNECTING,this.handleConnecting),Object(Ce["n"])(Ce["c"].SUSPEND,this.handleSuspend)}},{key:"componentWillLoad",value:function(){this.conversation=_n.currentConversation,(_n.currentConversation&&_n.currentConversation.conversationType)===Ce["a"].SYSTEM&&(this.conversation=null),_n.on(_e.SWITCH_CONVERSATION,this.switchConversation),_n.on(_e.REFERENCE_MESSAGE,this.handleReferenceMessage),_n.on(_e.CLOSE_REFERENCE,this.handleCloseReference),_n.on(_e.LANGUAGE_CHANGED,this.handleLanguageChanged)}},{key:"disconnectedCallback",value:function(){_n.off(_e.SWITCH_CONVERSATION,this.switchConversation),_n.off(_e.REFERENCE_MESSAGE,this.handleReferenceMessage),_n.off(_e.CLOSE_REFERENCE,this.handleCloseReference),_n.off(_e.LANGUAGE_CHANGED,this.handleLanguageChanged),Object(Ce["E"])(Ce["c"].CONNECTED,this.handleConnected),Object(Ce["E"])(Ce["c"].CONNECTING,this.handleConnecting),Object(Ce["E"])(Ce["c"].SUSPEND,this.handleSuspend),this.content&&_n.saveTextMessageDraft(this.conversation,this.content)}},{key:"handleLanguageChanged",value:function(t){this.lang=t.lang}},{key:"handleConnected",value:function(){this.connected=!0}},{key:"handleConnecting",value:function(){this.connected=!1}},{key:"handleSuspend",value:function(){this.connected=!1}},{key:"handleReferenceMessage",value:function(t){this.referenceMessage={message:t,time:Date.now()}}},{key:"handleCloseReference",value:function(){this.referenceMessage=null}},{key:"switchConversation",value:function(t){var e=this;this.handleCloseReference(),this.conversation&&this.conversation!==t&&this.content&&_n.saveTextMessageDraft(this.conversation,this.content),this.conversation=t,this.draft={time:Date.now(),text:""},this.content="",t&&t.conversationType!==Ce["a"].SYSTEM?Object(Ce["x"])(this.conversation).then((function(t){0===t.code&&(t.data&&(e.draft={time:Date.now(),text:t.data},e.content=e.draft.text),Object(Ce["p"])(e.conversation))})):this.conversation=null}},{key:"handleEditorChange",value:function(t){var e=t.detail;e=e.trim(),"<br>"===e&&(e=""),this.content=e}},{key:"onInputContent",value:function(){Object(Ce["L"])(this.conversation,Ce["h"].TEXT)}},{key:"render",value:function(){var t=this;this.locale=this.lang?kn[this.lang]:kn.zh_CN;var e=this.conversation,n=this.isError,r=this.locale;return e?Z("div",{class:"message-editor-wrapper",style:{fontSize:this.baseSize}},Z("reference-message",{referenceMessage:this.referenceMessage,onClose:this.handleCloseReference}),Z("div",{class:"editor-body"},Z("div",{class:"editor-tool-bar"},Z("div",{class:"buttons"},Z("div",{class:"button image-btn"},Z("input",{type:"file",accept:"image/jpeg,image/jpg,image/png",ref:function(e){return t.imageInputRef=e,t.imageInputRef},onChange:this.sendImageMessage}),Z("span",{class:"label",onClick:function(){return t.imageInputRef.click()}},r.messageEdit.picture),n?Z("div",{class:"error-tip"},r.messageEdit.picError):""),Z("div",{class:"button file-btn"},Z("input",{type:"file",accept:"*",ref:function(e){return t.fileInputRef=e,t.fileInputRef},onChange:this.sendFileMessage}),Z("span",{class:"label",onClick:function(){return t.fileInputRef.click()}},r.messageEdit.file)))),Z("div",{class:"editor-content-wrapper"},Z("content-editor",{conversation:this.conversation,onPost:this.handlePostMessage,onContentChange:this.handleEditorChange,onInputContent:this.onInputContent,value:this.draft})))):null}}],[{key:"style",get:function(){return ao}}]),n}(we(HTMLElement)),uo=function(){function t(e,n){Ke(this,t),this.uid=e.messageUId,this.direction=e.messageDirection,this.content=e.content,this.callback=n,this.messageType=e.messageType,this.conversationType=e.conversationType,this.senderUserId=e.senderUserId,this.targetId=e.targetId,this.channelId=e.channelId}return Je(t,[{key:"wrap",value:function(t){return Z("div",{class:"message-content"},t)}}]),t}(),lo={"application/zip":"file-zip","application/gzip":"file-zip","application/x-zip-compressed":"file-zip","application/x-tar":"file-zip","application/x-compressed":"file-zip","application/msword":"file-word","application/vnd.openxmlformats-officedocument.wordprocessingml.document":"file-word","application/rtf":"file-text","application/vnd.ms-excel application/x-excel":"file-xls","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"file-xls","application/x-xls":"file-xls","text/csv":"file-xls","application/vnd.ms-excel":"file-xls","application/x-ppt":"file-ppt","application/vnd.ms-powerpoint":"file-ppt","application/vnd.openxmlformats-officedocument.presentationml.presentation":"file-ppt","application/vnd.openxmlformats-officedocument.presentationml.slideshow":"file-ppt","application/pdf":"file-pdf","audio/mp3":"file-audio","audio/wav":"file-audio","audio/m3u":"file-audio","audio/midi":"file-audio","audio/flac":"file-audio","audio/ape":"file-audio","audio/x-ms-wma":"file-audio","video/mpeg4":"file-video","video/x-ms-wmv":"file-video","video/avi":"file-video","video/mpg":"file-video","video/mp4":"file-video","video/x-msvideo":"file-video","video/x-flv":"file-video","application/x-mpegURL":"file-video","video/3gpp":"file-video","text/plain":"file-plain","image/jpeg":"file-image","image/tiff":"file-image","image/png":"file-image","image/gif":"file-image","application/vnd.android.package-archive":"file-apk","application/xml":"file-text","application/rdf+xml":"file-text","application/rss+xml":"file-text","application/soap+xml":"file-text","application/atom+xml":"file-text","application/xhtml+xml":"file-text","text/html":"file-text","text/xml":"file-text","text/css":"file-text"};function fo(t){var e=t;return e<1024?"".concat(e,"B"):(e>1073741824?e="".concat((e/1024/1024/1024).toFixed(2),"G"):e>1048576?e="".concat((e/1024/1024).toFixed(2),"M"):e>1024&&(e="".concat((e/1024).toFixed(2),"K")),e)}var ho=function(t){xe(n,t);var e=ke(n);function n(t,r){var i;return Ke(this,n),i=e.call(this,t,r),i.handleClick=i.handleClick.bind(Ue(i)),i}return Je(n,[{key:"handleClick",value:function(){"function"===typeof this.callback&&this.callback({type:"file",url:this.content.fileUrl,size:this.content.size,name:this.content.name,fileType:this.content.type})}},{key:"getFileIcon",value:function(t){var e=lo[t];return e||"file-icon"}},{key:"create",value:function(){var t=this.content;return this.wrap(Z("div",{class:"file-message-body","data-origin":t.imageUri},Z("div",{class:"file-message-icon ".concat(this.getFileIcon(t.type))}),Z("div",{class:"file-desc"},Z("div",{class:"file-name",title:t.name},t.name),Z("div",{class:"file-size"},fo(t.size))),this.uid.startsWith("sending_")||this.uid.startsWith("fail_")?null:Z("div",{class:"file-download-btn",onClick:this.handleClick})))}}]),n}(uo),po=function(t){xe(n,t);var e=ke(n);function n(){return Ke(this,n),e.apply(this,arguments)}return Je(n,[{key:"create",value:function(){var t=this.content;return this.wrap(Z("div",{class:"gif-message-body"},Z("img",{src:t.remoteUrl})))}}]),n}(uo),go="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMzJweCIgaGVpZ2h0PSIzMnB4IiB2aWV3Qm94PSIwIDAgMzIgMzIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+6K+t6Z+z5aSH5Lu9IDI8L3RpdGxlPgogICAgPGcgaWQ9Iumhtemdoi0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iMDVf5Y2V6IGKLeS4jeaUr+aMgeeahOa2iOaBr+exu+Weiy3or63pn7Pmtojmga8iIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01ODQuMDAwMDAwLCAtNjA0LjAwMDAwMCkiIGZpbGwtcnVsZT0ibm9uemVybyI+CiAgICAgICAgICAgIDxnIGlkPSLnvJbnu4TlpIfku70tNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNTY0LjAwMDAwMCwgNTg5LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPGcgaWQ9Iuivremfs+Wkh+S7vS0yIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyMC4wMDAwMDAsIDE1LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgICAgIDxyZWN0IGlkPSLnn6nlvaIiIGZpbGw9IiMwMDAwMDAiIG9wYWNpdHk9IjAiIHg9IjAiIHk9IjAiIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiI+PC9yZWN0PgogICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0xOS44ODAxNiwyOS45MiBMMTcuNjY3NTIsMjcuNzA3MiBDMjEuMDI5NzYsMjQuODMwMjQgMjMuMTY4NDgsMjAuNTYzODQgMjMuMTY4NDgsMTUuNzkxMDQgQzIzLjE2ODQ4LDExLjI0NDMyIDIxLjIyMjA4LDcuMTYyMjQgMTguMTMxNjgsNC4yOTgwOCBMMjAuMzQ5NzYsMi4wOCBDMjQuMDA2NCw1LjUxMjE2IDI2LjMwMzIsMTAuMzc2MTYgMjYuMzAzMiwxNS43ODY1NiBDMjYuMzAzMiwyMS40MjU0NCAyMy44MTAwOCwyNi40NzEyIDE5Ljg4MDE2LDI5LjkyIFoiIGlkPSLot6/lvoQiIGZpbGw9IiMxMTFGMkMiPjwvcGF0aD4KICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTMuOTA4OTYsMjMuOTQ4NjQgTDExLjYyOTYsMjEuNjY5NiBDMTMuNzAwOTYsMjAuNTI0NDggMTUuMTA0MzIsMTguMzIwNjQgMTUuMTA0MzIsMTUuNzg2NTYgQzE1LjEwNDMyLDEzLjQ4NjA4IDEzLjk0NjU2LDExLjQ1Nzc2IDEyLjE4MzM2LDEwLjI0NjI0IEwxNC40MjE2LDguMDA4MzIgQzE2Ljc0MTI4LDkuODExNjggMTguMjQsMTIuNjIxMjggMTguMjQsMTUuNzg2NTYgQzE4LjI0LDE5LjE4MjA4IDE2LjUyMjU2LDIyLjE3NTUyIDEzLjkwODk2LDIzLjk0ODY0IEwxMy45MDg5NiwyMy45NDg2NCBaIE03LjkzNjQ4LDE4LjQ3NDU2IEM2LjY5OTY4LDE4LjQ3NDU2IDUuNjk2OCwxNy40NzIgNS42OTY4LDE2LjIzNDcyIEM1LjY5NjgsMTQuOTk3MjggNi42OTk1MiwxMy45OTQ4OCA3LjkzNjQ4LDEzLjk5NDg4IEM5LjE3NDI0LDEzLjk5NDg4IDEwLjE3NjQ4LDE0Ljk5NzI4IDEwLjE3NjQ4LDE2LjIzNDcyIEMxMC4xNzY0OCwxNy40NzIgOS4xNzQyNCwxOC40NzQ1NiA3LjkzNjQ4LDE4LjQ3NDU2IEw3LjkzNjQ4LDE4LjQ3NDU2IFoiIGlkPSLlvaLnirYiIGZpbGw9IiMxMTFGMkMiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+",vo="data:image/gif;base64,R0lGODlhQABAAIcAAAAAABEfLBIgLREfLRIfLRIgLBEgLBEgLRIhLgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFFAAAACwAAAAAQABAAAAIiwABCBxIsKDBgwgTKlzIsKHDhxAjSpxIsaLFixgzatzIsaPHjyBDihxJsqTJkyhTqlzJsqXLlzBjypxJs6bNmzhz6txJUsCAAgd2Bhg6tEBOAkSJBr2ZNOlNAU2J4ow6FGeBqEZxHki69OiAAwZ4ih1LtqzZs2jTql3Ltq3bt3Djyp1Lt67du3h1BgQAIfkEBRQAAAAsGAAQAAwAIAAACHEAAQgEIGCgwYEGAgQ4iFChQoYJHT40KNHhgYMVFQ7AmPGggIwFDX6syLDjwYgOCZQkyVHiSpctHTI8wJJizYEFbgo0aRPmwJEOQw4EaZDmTQJEh/IEkNPkgIwBLu6EavBpRaECrSpEwBCA1a4DuXYNCAAh+QQJFAAAACwkAAQAEQA4AAAIygABCASAYKDBgwMNBDCAsKHCABAbGnwIMUABiQIraiSAkYDGihgBUKzIEaOAjxZDHkAZEgDKiyZZqvwoIOQAmR0/lpR48mNLlAVzaqwZEqfEmxp/0lRaESZGow2hIvSYNCRVkCF7YsVY4GNQiV01fm2oFSJRsD6tpn26VqLUg28NfjyQ9SNDoRXHIowrMGxViSMDnI3aFmHZAAOKFj7oF+JOwyjvEl48EOlfhCvt8kRJt6HlywYbk3SLcvDBz4hbWu6sOnXLhK8BBAQAIfkEBRQAAAAsAAAAAAEAAQAACAQAAQQEADs=",yo=function(t){xe(n,t);var e=ke(n);function n(t,r){var i;return Ke(this,n),i=e.call(this,t,r),i.isPlaying=!1,i.handleClick=i.handleClick.bind(Ue(i)),i.onStart=i.onStart.bind(Ue(i)),i.onStop=i.onStop.bind(Ue(i)),i}return Je(n,[{key:"handleClick",value:function(){var t;"function"===typeof this.callback&&("RC:VcMsg"===this.messageType?t=Yn(this.content.content):this.messageType===Te["l"].HQ_VOICE&&(t=this.content.remoteUrl),this.callback({uid:this.uid,type:"hqvoice",url:t,duration:this.content.duration,onStart:this.onStart,onStop:this.onStop}))}},{key:"onStart",value:function(){this.voiceIcon.src=vo}},{key:"onStop",value:function(){this.voiceIcon.src=go}},{key:"create",value:function(){var t=this,e=this.content;return this.wrap(Z("div",{class:"hqvoice-message-body",style:{width:"".concat(Math.max(150,Math.min(500,e.duration/60*500)),"px")},"data-origin":e.remoteUrl,onClick:this.handleClick},Z("img",{ref:function(e){t.voiceIcon=e},class:"voice-icon",src:go}),e.duration?Z("span",null,Math.round(e.duration),"''"):null))}}]),n}(uo),mo="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjQwcHgiIGhlaWdodD0iMjQwcHgiIHZpZXdCb3g9IjAgMCAyNDAgMjQwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPHRpdGxlPuWbvueJh+WKoOi9veWksei0pTwvdGl0bGU+CiAgICA8ZyBpZD0i6aG16Z2iLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSIxOF/ljZXogYot5Y+R6YCB5Zu+54mH5Yqg6L295aSx6LSlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNTY0LjAwMDAwMCwgLTIzNS4wMDAwMDApIj4KICAgICAgICAgICAgPGcgaWQ9IuWbvueJh+WKoOi9veWksei0pSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNTY0LjAwMDAwMCwgMjM1LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPHBhdGggZD0iTTE2LDAgTDIzNiwwIEMyMzguMjA5MTM5LC00LjA1ODEyMjUxZS0xNiAyNDAsMS43OTA4NjEgMjQwLDQgTDI0MCwyMjQgQzI0MCwyMzIuODM2NTU2IDIzMi44MzY1NTYsMjQwIDIyNCwyNDAgTDE2LDI0MCBDNy4xNjM0NDQsMjQwIDEuMDgyMTY2ZS0xNSwyMzIuODM2NTU2IDAsMjI0IEwwLDE2IEMtMS4wODIxNjZlLTE1LDcuMTYzNDQ0IDcuMTYzNDQ0LDEuNjIzMjQ5ZS0xNSAxNiwwIFoiIGlkPSLokpnniYgiIGZpbGwtcnVsZT0ibm9uemVybyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTIwLjAwMDAwMCwgMTIwLjAwMDAwMCkgc2NhbGUoLTEsIDEpIHRyYW5zbGF0ZSgtMTIwLjAwMDAwMCwgLTEyMC4wMDAwMDApICI+PC9wYXRoPgogICAgICAgICAgICAgICAgPHRleHQgZm9udC1mYW1pbHk9IlBpbmdGYW5nU0MtUmVndWxhciwgUGluZ0ZhbmcgU0MiIGZvbnQtc2l6ZT0iMjQiIGZvbnQtd2VpZ2h0PSJub3JtYWwiIGxldHRlci1zcGFjaW5nPSItMC4xNzM1NzE0MjkiIGZpbGw9IiNBMEE1QUIiPgogICAgICAgICAgICAgICAgICAgIDx0c3BhbiB4PSI0OSIgeT0iMTg4Ij7lm77niYfliqDovb3lpLHotKU8L3RzcGFuPgogICAgICAgICAgICAgICAgPC90ZXh0PgogICAgICAgICAgICAgICAgPGcgaWQ9IuaOpeaUtuaWueWKoOi9veWbvueJh+Wksei0pSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNzEuMDAwMDAwLCA0NS4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICA8cmVjdCBpZD0i55+p5b2iIiB4PSIwIiB5PSIwIiB3aWR0aD0iOTgiIGhlaWdodD0iOTgiPjwvcmVjdD4KICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNODMuNTEyMDE2Nyw3IEwxNC40ODc5ODMzLDcgQzguMTMxNzAwMjksNy4wMzk3NTQ3MSAzLDEyLjIxODA4MjUgMywxOC41OTIwODU3IEwzLDc2LjQzMjAxNDMgQzMuMDEzMTYwMDQsODIuODA1OTY0OCA4LjE1NTcwMzk4LDg3Ljk3MzUxMDcgMTQuNTEyMDE2Nyw4OCBMODMuNTEyMDE2Nyw4OCBDODkuODU4OTM3OSw4Ny45NjAzMTczIDk0Ljk4NjkyNzgsODIuNzk2NjE2IDk1LDc2LjQzMjAxNDMgTDk1LDE4LjU5MjA4NTcgQzk1LDEyLjIxODA4MjUgODkuODY4Mjk5Nyw3LjAzOTc1NDcxIDgzLjUxMjAxNjcsNyBaIE04OS4yNTYwMDgzLDY5Ljg1MjcyMjQgTDc1LjQzNjc4MTYsNTIuMTM5MjQ0MyBDNzQuNjg2MDAzLDUwLjgxNzI2MTcgNzMuMzI5NDg4LDQ5Ljk1NTUxMTIgNzEuODE2Nzc0NSw0OS44Mzk1Njk3IEM3MC4zMDQwNjEsNDkuNzIzNjI4MyA2OC44MzI2OTc3LDUwLjM2ODYzNjggNjcuODkwMjgyMiw1MS41NjA4NDUgTDU3Ljc5NjIzODMsNjEuNzMxMDMyNSBMNTUuODQ5NTI5OCw2My42ODMxMyBMNTEuODExOTEyMiw2Ny43NTYwMjUgTDQ4LjkyNzg5OTcsNjQuMDQ0NjI5NiBMMzUuMjA0ODA2Nyw0Ni4zMzExNTE1IEMzNC4zOTI4NTk2LDQ1LjIzOTIwNTUgMzMuMTE0MzI3MSw0NC41OTU5MjU1IDMxLjc1NjAwODQsNDQuNTk1OTI1NSBDMzAuMzk3Njg5Nyw0NC41OTU5MjU1IDI5LjExOTE1NzEsNDUuMjM5MjA1NSAyOC4zMDcyMTAxLDQ2LjMzMTE1MTUgTDguNzQzOTkxNjgsNzAuMDY5NjIyMSBMOC43NDM5OTE2OCwxOC41OTIwODU3IEM4LjU1MTk5NTA0LDE1LjU5MDgyOTcgMTAuODIyMTM0OSwxMy4wMDE1MzE4IDEzLjgxNTA0NywxMi44MDgwOTI4IEw4My41MTIwMTY3LDEyLjgwODA5MjggQzg2LjU5NzM3NzksMTMuMDI5NTA2MSA4OS4wNDgwOTA3LDE1LjQ5NzI4NTcgODkuMjU2MDA4MywxOC41OTIwODU3IEw4OS4yNTYwMDgzLDY5Ljg1MjcyMjQgWiBNNjkuNDc2NDg5MSwyNi45MDY1NzU1IEM2Ni4wODY2Mjk1LDIzLjUxMzU3MyA2MC41OTYxNDQyLDIzLjUxNjk0NTcgNTcuMjEwNDMyOCwyNi45MTQxMTA0IEM1My44MjQ3MjE0LDMwLjMxMTI3NSA1My44MjQ3MjE0LDM1LjgxNjk2MDggNTcuMjEwNDMyOCwzOS4yMTQxMjU0IEM2MC41OTYxNDQyLDQyLjYxMTI5IDY2LjA4NjYyOTUsNDIuNjE0NjYyNyA2OS40NzY0ODkxLDM5LjIyMTY2MDMgQzcxLjEwNzAxNzgsMzcuNTg5NjE5OCA3Mi4wMjMyOTEzLDM1LjM3NDI5NTQgNzIuMDIzMjkxMywzMy4wNjQxMTc5IEM3Mi4wMjMyOTEzLDMwLjc1Mzk0MDQgNzEuMTA3MDE3OCwyOC41Mzg2MTU5IDY5LjQ3NjQ4OTEsMjYuOTA2NTc1NSBMNjkuNDc2NDg5MSwyNi45MDY1NzU1IFoiIGlkPSLlvaLnirYiIGZpbGw9IiM4NTg1ODUiIGZpbGwtcnVsZT0ibm9uemVybyI+PC9wYXRoPgogICAgICAgICAgICAgICAgICAgIDxwb2x5Z29uIGlkPSLot6/lvoQiIGZpbGw9IiNGRkZGRkYiIGZpbGwtcnVsZT0ibm9uemVybyIgcG9pbnRzPSI2NCA2Ni42OTYxNzAyIDUyLjU1MTUzNzEgODggMzggODggNTQuNDU1Njk2MiA3MS42MDUxMDY0IDUwLjYyMjY5MjEgNjYuMjIyMDg3OSA1OC4xMjI5NjU2IDYwIj48L3BvbHlnb24+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==",Io=function(t){xe(n,t);var e=ke(n);function n(t,r){var i;return Ke(this,n),i=e.call(this,t,r),i.handleClick=i.handleClick.bind(Ue(i)),i.onError=i.onError.bind(Ue(i)),i}return Je(n,[{key:"handleClick",value:function(){"function"===typeof this.callback&&this.callback({type:"image",thumb:this.content.content,url:this.content.imageUri})}},{key:"onError",value:function(t){var e=t.target;e.src=mo}},{key:"create",value:function(){var t=this.content;return this.wrap(Z("div",{class:"image-message-body","data-origin":t.imageUri,onClick:this.handleClick},Z("img",{src:Yn(t.content,mo),onError:this.onError})))}}]),n}(uo),Mo=function(t){xe(n,t);var e=ke(n);function n(){return Ke(this,n),e.apply(this,arguments)}return Je(n,[{key:"create",value:function(){var t=_n.lang?_n.lang:kn.zh_CN,e=kn[t],n="[".concat(e.message.location,"]").concat(e.message.nonsupport);return this.wrap(Z("div",{class:"location-message-body"},Z("p",null,n)))}}]),n}(uo),bo=function(t){xe(n,t);var e=ke(n);function n(){return Ke(this,n),e.apply(this,arguments)}return Je(n,[{key:"create",value:function(){var t,e=this,n=_n.lang?_n.lang:kn.zh_CN,r=kn[n];return this.direction===Ce["g"].SEND?t="".concat(r.message.you," "):this.conversationType===Ce["a"].PRIVATE?_n.getConversationProfile({targetId:this.targetId,conversationType:Ce["a"].PRIVATE,channelId:this.channelId}).then((function(n){t=n?n.name:e.senderUserId,e.nameRef.innerText="".concat(t," ")})):this.conversationType===Ce["a"].GROUP&&_n.getGroupMemberProfile({targetId:this.targetId,conversationType:Ce["a"].GROUP,channelId:this.channelId},this.senderUserId).then((function(n){t=n&&(n.groupNickname||n.name)||e.senderUserId,e.nameRef.innerText="".concat(t," ")})),this.wrap(Z("div",{class:"recall-message-body"},Z("div",{class:"tip-content"},Z("span",{ref:function(t){return e.nameRef=t,e.nameRef}},t),r.message.msgRecall)))}}]),n}(uo),_o=function(t){xe(n,t);var e=ke(n);function n(t,r){var i;return Ke(this,n),i=e.call(this,t,r),i.message=t,i.getName(t),i}return Je(n,[{key:"componentWillLoad",value:function(){_n.on(_e.GROUP_INFO_CHANGED,this.handleInfoChanged),_n.on(_e.USER_INFO_CHANGED,this.handleInfoChanged),_n.on(_e.CONVERSATION_INFO_CHANGED,this.handleInfoChanged)}},{key:"disconnectedCallback",value:function(){_n.off(_e.GROUP_INFO_CHANGED,this.handleInfoChanged),_n.off(_e.USER_INFO_CHANGED,this.handleInfoChanged),_n.off(_e.CONVERSATION_INFO_CHANGED,this.handleInfoChanged)}},{key:"handleInfoChanged",value:function(){this.message&&this.getName(this.message)}},{key:"getName",value:function(t){var e=this;this.name=this.content.referMsgUserId;var n={conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId};if(t.conversationType===Ce["a"].GROUP)_n.getGroupMemberProfile(n,this.name).then((function(t){t&&(e.name=t.groupNickname||t.name,e.nameRef&&(e.nameRef.innerText=e.name))}));else if(t.conversationType===Ce["a"].PRIVATE){var r;r=t.content.referMsgUserId===Object(Ce["u"])()?_n.getMyProfile():_n.getConversationProfile(n),r.then((function(t){t&&(e.name=t.displayName||t.name,e.nameRef&&(e.nameRef.innerText=e.name))}))}}},{key:"getRererenceContent",value:function(t,e){var n="",r="",i="",o=_n.lang?_n.lang:kn.zh_CN,s=kn[o];switch(t){case Ce["h"].TEXT:i=Object(Te["A"])(e.content)?e.content.content:e.content,r=Qn(i),n=Z("div",{innerHTML:r,class:"referenced-message-text"},Z("div",{class:"quote quoteContent",innerHTML:r}));break;case Ce["h"].IMAGE:i=Object(Te["A"])(e.content)?e.content.content:e.content,n=Z("img",{src:Yn(i)});break;case Ce["h"].GIF:i=Object(Te["A"])(e.content)?e.content.remoteUrl:e.remoteUrl,n=Z("img",{src:i});break;case Ce["h"].FILE:i=Object(Te["A"])(e.content)?e.content.name:e.name,n="[".concat(s.conversation.file,"] ").concat(i);break;case Ce["h"].RICH_CONTENT:i=Object(Te["A"])(e.content)?e.content.title:e.title,n="[".concat(s.conversation.img,"] ").concat(i);break;case Ce["h"].REFERENCE:n=Object(Te["A"])(e.content)?e.content.content:e.content;break}return n}},{key:"create",value:function(){var t=this,e=this.content;return this.wrap(Z("div",{class:"reference-message-body"},Z("div",{class:"reference-message-content"},Z("div",{class:"user",ref:function(e){return t.nameRef=e,t.nameRef}},this.name),Z("div",{class:"content"},this.getRererenceContent(e.objName,e.referMsg))),Z("div",{class:"message-content",innerHTML:Qn(e.content)})))}}]),n}(uo),Ao=function(t){xe(n,t);var e=ke(n);function n(t,r){var i;return Ke(this,n),i=e.call(this,t,r),i.handleClick=i.handleClick.bind(Ue(i)),i}return Je(n,[{key:"handleClick",value:function(){"function"===typeof this.callback&&this.callback({type:"richContent",url:this.content.url})}},{key:"create",value:function(){var t=this.content;return this.wrap(Z("div",{class:"rich-message-body","data-url":t.url,onClick:this.handleClick},Z("div",{class:"title"},t.title),Z("div",{class:"content"},t.imageUri?Z("img",{src:t.imageUri}):null,Z("p",null,t.content))))}}]),n}(uo),Co=function(t){xe(n,t);var e=ke(n);function n(t,r){var i;return Ke(this,n),i=e.call(this,t,r),i.handleClick=i.handleClick.bind(Ue(i)),i}return Je(n,[{key:"handleClick",value:function(){"function"===typeof this.callback&&this.callback({type:"sight",url:this.content.sightUrl,thumb:this.content.content,duration:this.content.duration,size:this.content.size,name:this.content.name})}},{key:"formatDuration",value:function(t){var e=t,n=Math.floor(e/3600)>=10?Math.floor(e/3600):"0".concat(Math.floor(e/3600));e-=3600*n;var r=Math.floor(e/60)>=10?Math.floor(e/60):"0".concat(Math.floor(e/60));e-=60*r;var i=e>=10?e:"0".concat(e);return 1*n>0?"".concat(n,":").concat(r,":").concat(i):"".concat(r,":").concat(i)}},{key:"create",value:function(){var t=this.content;return this.wrap(Z("div",{class:"sight-message-body","data-origin":t.imageUri,onClick:this.handleClick},Z("img",{class:"sight-conver",src:Yn(t.content)}),Z("div",{class:"file-duration"},this.formatDuration(t.duration)),Z("div",{class:"start-play-btn"},Z("button",null))))}}]),n}(uo),To=function(t){xe(n,t);var e=ke(n);function n(){return Ke(this,n),e.apply(this,arguments)}return Je(n,[{key:"create",value:function(){var t=this.content.content;return t=Qn(t),this.wrap(Z("div",{class:"text-message-body"},Z("p",{innerHTML:t})))}}]),n}(uo),Eo=function(t){xe(n,t);var e=ke(n);function n(){return Ke(this,n),e.apply(this,arguments)}return Je(n,[{key:"create",value:function(){var t=this.content.message;return this.wrap(Z("div",{class:"info-message-body"},Z("div",{class:"tip-content"},t)))}}]),n}(uo),wo=function(t){xe(n,t);var e=ke(n);function n(){return Ke(this,n),e.apply(this,arguments)}return Je(n,[{key:"create",value:function(){var t=this,e=this.createGroupNtfContent();return this.wrap(Z("div",{class:"group-info-message-body"},Z("div",{class:"tip-content"},Z("span",{ref:function(e){return t.contentRef=e,t.contentRef}},e))))}},{key:"createGroupNtfContent",value:function(){var t=_n.lang?_n.lang:kn.zh_CN,e=kn[t];return sn(e,this.content)}}]),n}(uo),No={"RC:RcCmd":bo,"RC:InfoNtf":Eo,"RC:ContactNtf":null,"RC:ProfileNtf":null,"RC:CmdNtf":null,"RC:GrpNtf":wo},So=(be={},Fe(be,Ce["h"].TEXT,To),Fe(be,Ce["h"].IMAGE,Io),Fe(be,Ce["h"].FILE,ho),Fe(be,Ce["h"].SIGHT,Co),Fe(be,Ce["h"].HQ_VOICE,yo),Fe(be,Ce["h"].GIF,po),Fe(be,Ce["h"].REFERENCE,_o),Fe(be,Ce["h"].RICH_CONTENT,Ao),Fe(be,Ce["h"].LOCATION,Mo),Fe(be,Ce["h"].HQ_VOICE,yo),be);function Oo(t,e){var n=So[t.messageType]||No[t.messageType];return n?new n(t,e).create():"不识别的消息内容"}var Do=".message-item{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:start;justify-content:flex-start;margin:0 1.5em;padding:2em 0}.ntf-message-item{display:block}.ntf-message-item .tip-content{text-align:center}.message-item.receiver{-ms-flex-direction:row;flex-direction:row}.message-item.poster{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.message-item .avatar{width:6em;height:6em;border-radius:50%;background:#4790ee;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;overflow:hidden;-ms-flex-negative:0;flex-shrink:0}.message-item .avatar img{min-width:100%}.message-item .message-body-wrapper{position:relative;padding:0 1.6em;max-width:50em;-webkit-box-sizing:border-box;box-sizing:border-box}.message-item .message-body-wrapper .name{color:#a0a5ab;font-size:1.8em;line-height:1;margin:0 0 0.4em}.message-item .message-body{font-size:2.4em;border:0.1em solid #ccc;border-radius:1em;position:relative}.message-body .receive-status{width:3.67em;position:absolute;left:-4.2em;bottom:-0.2em;font-size:0.75em;color:#0099ff;text-align:right}.message-item.poster .message-body{border-radius:0.6667em 0.16666em 0.6667em 0.6667em;background:#d7eefd;border:1px solid #bdd9eb}.message-item.receiver .message-body{border-radius:0.16666em 0.6667em 0.6667em 0.6667em;border:1px solid #e2e4e5;background:#fff}.message-content p{margin:0;padding:0;line-height:1.5;font-weight:400;word-break:break-word}.time-separation,.message-group-notifi{font-size:2em;text-align:center;padding:1.5em;color:#a0a5ab}.message-item.fail .receive-status,.message-item.sending .receive-status{display:none}.message-item.sending .message-body::before,.message-item.fail .message-body::before{content:' ';display:block;width:1.6667em;height:1.6667em;background-repeat:no-repeat;background-size:contain;position:absolute;left:-2.2em;bottom:0}.message-item.fail .message-body::before{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjVweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjUgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5oSf5Y+55Y+3PC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IjAyX+WNleiBii3ljZXogYrlkJHkuIrmu5rliqjml7YtbG9hZGluZyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEwNC4wMDAwMDAsIC02MzkuMDAwMDAwKSIgZmlsbC1ydWxlPSJub256ZXJvIj4KICAgICAgICAgICAgPGcgaWQ9IuaEn+WPueWPtyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTA0LjQwMDAwMCwgNjM5LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPHJlY3QgaWQ9IuefqeW9oiIgeD0iMCIgeT0iMCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICA8ZyBpZD0i57yW57uELTI0IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxLjUwMDAwMCwgMS41MDAwMDApIj4KICAgICAgICAgICAgICAgICAgICA8Y2lyY2xlIGlkPSLmpK3lnIblvaIiIGZpbGw9IiNGRjQxNDEiIGN4PSIxMC41IiBjeT0iMTAuNSIgcj0iMTAuNSI+PC9jaXJjbGU+CiAgICAgICAgICAgICAgICAgICAgPHJlY3QgaWQ9IuefqeW9oiIgZmlsbD0iI0ZGRkZGRiIgeD0iOS43NSIgeT0iNS4yNSIgd2lkdGg9IjEuNSIgaGVpZ2h0PSI3LjUiPjwvcmVjdD4KICAgICAgICAgICAgICAgICAgICA8Y2lyY2xlIGlkPSLmpK3lnIblvaIiIGZpbGw9IiNGRkZGRkYiIGN4PSIxMC41IiBjeT0iMTUiIHI9IjEiPjwvY2lyY2xlPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)}.message-item.sending .message-body::before{content:' ';display:inline-block;width:1.5em;height:1.5em;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjhweCIgaGVpZ2h0PSIyOHB4IiB2aWV3Qm94PSIwIDAgMjggMjgiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+bG9hZGluZzwvdGl0bGU+CiAgICA8ZGVmcz4KICAgICAgICA8bGluZWFyR3JhZGllbnQgeDE9Ijk0LjA4NjkxNDElIiB5MT0iMCUiIHgyPSI5NC4wODY5MTQxJSIgeTI9IjkwLjU1OTA4MiUiIGlkPSJsaW5lYXJHcmFkaWVudC0xIj4KICAgICAgICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iIzhGOTQ5QSIgc3RvcC1vcGFjaXR5PSIwIiBvZmZzZXQ9IjAlIj48L3N0b3A+CiAgICAgICAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiM4Rjk0OUEiIHN0b3Atb3BhY2l0eT0iMC4zIiBvZmZzZXQ9IjEwMCUiPjwvc3RvcD4KICAgICAgICA8L2xpbmVhckdyYWRpZW50PgogICAgICAgIDxsaW5lYXJHcmFkaWVudCB4MT0iMTAwJSIgeTE9IjguNjczNzA2MDUlIiB4Mj0iMTAwJSIgeTI9IjkwLjYyODY2MjElIiBpZD0ibGluZWFyR3JhZGllbnQtMiI+CiAgICAgICAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiM4Rjk0OUEiIG9mZnNldD0iMCUiPjwvc3RvcD4KICAgICAgICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iIzhGOTQ5QSIgc3RvcC1vcGFjaXR5PSIwLjMiIG9mZnNldD0iMTAwJSI+PC9zdG9wPgogICAgICAgIDwvbGluZWFyR3JhZGllbnQ+CiAgICA8L2RlZnM+CiAgICA8ZyBpZD0i6aG16Z2iLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSIwM1/lkJHkuIvmu5rliqjml7Zsb2FkaW5nIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTQyLjAwMDAwMCwgLTkxMS4wMDAwMDApIiBmaWxsLXJ1bGU9Im5vbnplcm8iPgogICAgICAgICAgICA8ZyBpZD0i572R57uc5LiN5Y+v55So5o+Q56S6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjAwMDAwMCwgNTc5LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPGcgaWQ9ImxvYWRpbmciIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE0Mi4wMDAwMDAsIDMzMi4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICA8cmVjdCBpZD0i55+p5b2iIiB4PSIwIiB5PSIwIiB3aWR0aD0iMjgiIGhlaWdodD0iMjgiPjwvcmVjdD4KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iTG9hZGluZ0JyYW5kIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyLjAwMDAwMCwgMi4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTEyLDAgQzE4LjYyNzQxNywwIDI0LDUuMzcyNTgzIDI0LDEyIEMyNCwxOC42Mjc0MTcgMTguNjI3NDE3LDI0IDEyLDI0IEwxMiwyMS45IEMxNy40Njc2MTksMjEuOSAyMS45LDE3LjQ2NzYxOSAyMS45LDEyIEMyMS45LDYuNTMyMzgwOTkgMTcuNDY3NjE5LDIuMSAxMiwyLjEgTDEyLDAgWiIgaWQ9Iui3r+W+hCIgZmlsbD0idXJsKCNsaW5lYXJHcmFkaWVudC0xKSI+PC9wYXRoPgogICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMTIsMCBMMTIsMi4xIEM2LjUzMjM4MDk5LDIuMSAyLjEsNi41MzIzODA5OSAyLjEsMTIgQzIuMSwxNy40Njc2MTkgNi41MzIzODA5OSwyMS45IDEyLDIxLjkgTDEyLDI0IEM1LjM3MjU4MywyNCAwLDE4LjYyNzQxNyAwLDEyIEMwLDUuMzcyNTgzIDUuMzcyNTgzLDAgMTIsMCBaIiBpZD0i6Lev5b6EIiBmaWxsPSJ1cmwoI2xpbmVhckdyYWRpZW50LTIpIj48L3BhdGg+CiAgICAgICAgICAgICAgICAgICAgICAgIDxjaXJjbGUgaWQ9Ik92YWwiIGZpbGw9IiM4Rjk0OUEiIGN4PSIxMi4xNSIgY3k9IjEuMDUiIHI9IjEuMDUiPjwvY2lyY2xlPgogICAgICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+) no-repeat;-webkit-animation:loading 1s infinite;animation:loading 1s infinite;vertical-align:middle;}@-webkit-keyframes loading{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes loading{from{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.text-message-body,.location-message-body{padding:0.5em 0.8333em}.file-message-body{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0.83333em;display:-ms-flexbox;display:flex;max-width:20em;-ms-flex-align:center;align-items:center;}.file-message-body .file-message-icon{width:3.5em;height:3.5em;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;background-repeat:no-repeat;background-size:contain;margin:0 0.833333em 0 0}.file-message-body .file-message-icon.file-icon{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iODRweCIgaGVpZ2h0PSI4NHB4IiB2aWV3Qm94PSIwIDAgODQgODQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aWNvbl/mlofku7bnsbvlnotf5pyq55+lPC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgb3BhY2l0eT0iMC43Ij4KICAgICAgICA8ZyBpZD0i54q25oCB5YiH5Zu+IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjExLjAwMDAwMCwgLTcwMC4wMDAwMDApIj4KICAgICAgICAgICAgPGcgaWQ9Imljb25f5paH5Lu257G75Z6LX+acquefpSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjExLjAwMDAwMCwgNzAwLjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPHJlY3QgaWQ9IlJlY3RhbmdsZS0zOC1Db3B5LTQiIGZpbGw9IiNCNUI5QkMiIHg9IjAiIHk9IjAiIHdpZHRoPSI4NCIgaGVpZ2h0PSI4NCIgcng9IjYiPjwvcmVjdD4KICAgICAgICAgICAgICAgIDxnIGlkPSJHcm91cC04IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyMS4wMDAwMDAsIDE0LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0yNS41NDYzNTQyLDAgTDQxLjgwMywxNi4xNyBMNDEuODAzMTI1LDUzLjYyMDU4NTMgQzQxLjgwMzEyNSw1NC43ODk3MjUgNDAuODUxNDY1Miw1NS43Mzc1IDM5LjY3MjYzMDgsNTUuNzM3NSBMMi4xMzA0OTQyNCw1NS43Mzc1IEMwLjk1Mzg1NDc2MSw1NS43Mzc1IDAsNTQuNzkzNDU3OSAwLDUzLjYyMDU4NTMgTDAsMi4xMTY5MTQ2OSBDMCwwLjk0Nzc3NDk5IDAuOTUxNjU5Nzk2LDAgMi4xMzA0OTQyNCwwIEwyNS41NDYzNTQyLDAgWiIgaWQ9IkNvbWJpbmVkLVNoYXBlIiBmaWxsPSIjRkZGRkZGIj48L3BhdGg+CiAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTI1LjU0NjM1NDIsMCBMNDEuODQxOTYzOSwxNi4yMDg4NjAxIEwyNi42MTU1NTQ2LDE2LjIwODg2MDEgQzI2LjAyNTA1MTUsMTYuMjA4ODYwMSAyNS41NDYzNTQyLDE1Ljc0MTI0MDkgMjUuNTQ2MzU0MiwxNS4xNDUzNTE1IEwyNS41NDYzNTQyLDAgWiIgaWQ9IlRyaWFuZ2xlLTMiIGZpbGw9IiNENkQ2RDYiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+)}.file-message-body .file-message-icon.file-zip{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iODRweCIgaGVpZ2h0PSI4NHB4IiB2aWV3Qm94PSIwIDAgODQgODQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aWNvbl/mlofku7bnsbvlnotfemlwPC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IueKtuaAgeWIh+WbviIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxMS4wMDAwMDAsIC04MDYuMDAwMDAwKSI+CiAgICAgICAgICAgIDxnIGlkPSJpY29uX+aWh+S7tuexu+Wei196aXAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIxMS4wMDAwMDAsIDgwNi4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxnIGlkPSJHcm91cC0xMi1Db3B5IiBmaWxsPSIjRkZCRDRDIj4KICAgICAgICAgICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLTM4LUNvcHktNCIgeD0iMCIgeT0iMCIgd2lkdGg9Ijg0IiBoZWlnaHQ9Ijg0IiByeD0iNiI+PC9yZWN0PgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICAgICAgPGcgaWQ9Ikdyb3VwLTciIHRyYW5zZm9ybT0idHJhbnNsYXRlKDMzLjAwMDAwMCwgMC4wMDAwMDApIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLTMiIHg9IjguNTk5NSIgeT0iMCIgd2lkdGg9IjguNTk5NSIgaGVpZ2h0PSIyMC45MDE1NjI1Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICAgICAgPHJlY3QgaWQ9IlJlY3RhbmdsZS0zLUNvcHkiIHg9IjAiIHk9IjIwLjkwMTU2MjUiIHdpZHRoPSI4LjU5OTUiIGhlaWdodD0iOC4zNjA2MjUiPjwvcmVjdD4KICAgICAgICAgICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLTMtQ29weS0yIiB4PSI4LjU5OTUiIHk9IjI5LjI2MjE4NzUiIHdpZHRoPSI4LjU5OTUiIGhlaWdodD0iOC4zNjA2MjUiPjwvcmVjdD4KICAgICAgICAgICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLTMtQ29weS0zIiB4PSIwIiB5PSIzNy42MjI4MTI1IiB3aWR0aD0iOC41OTk1IiBoZWlnaHQ9IjguMzYwNjI1Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICAgICAgPHJlY3QgaWQ9IlJlY3RhbmdsZS0zLUNvcHktNCIgeD0iOC41OTk1IiB5PSI0NS45ODM0Mzc1IiB3aWR0aD0iOC41OTk1IiBoZWlnaHQ9IjguMzYwNjI1Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICAgICAgPHJlY3QgaWQ9IlJlY3RhbmdsZS0zLUNvcHktNSIgeD0iOC41OTk1IiB5PSI1NC4zNDQwNjI1IiB3aWR0aD0iOC41OTk1IiBoZWlnaHQ9IjguMzYwNjI1Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICAgICAgPHJlY3QgaWQ9IlJlY3RhbmdsZS0zLUNvcHktNiIgeD0iMCIgeT0iNTQuMzQ0MDYyNSIgd2lkdGg9IjguNTk5NSIgaGVpZ2h0PSI4LjM2MDYyNSI+PC9yZWN0PgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)}.file-message-body .file-message-icon.file-word{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iODRweCIgaGVpZ2h0PSI4NHB4IiB2aWV3Qm94PSIwIDAgODQgODQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aWNvbl/mlofku7bnsbvlnotfZG9jPC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IueKtuaAgeWIh+WbviIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxMS4wMDAwMDAsIC0yNzQuMDAwMDAwKSI+CiAgICAgICAgICAgIDxnIGlkPSJpY29uX+aWh+S7tuexu+Wei19kb2MiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIxMS4wMDAwMDAsIDI3NC4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxnIGlkPSJHcm91cC02IiBmaWxsPSIjNjBBN0ZFIj4KICAgICAgICAgICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLTM4IiB4PSIwIiB5PSIwIiB3aWR0aD0iODQiIGhlaWdodD0iODQiIHJ4PSI2Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMjIuOTU0NTQ1NSwyMCBMMjIuOTU0LDU0LjQ0MyBMNDEuNDQ0MzQ2NCwzNi4wMDUwOTYyIEw0Ni4yMTk4NDI5LDQwLjc2NzI1MDYgTDQ2LjIxMyw0MC43NzMgTDYwLjA0NSw1NC40MzggTDYwLjA0NTQ1NDUsMjAgTDY3LDIwIEw2Nyw2My45MjIzOTgyIEw2MC4xNTMsNjMuOTIyIEw2MC4wNzkyNjk5LDY0IEw0MS41LDQ1LjQ3MyBMMjIuOTU5NDI2OSw2My45NjI2ODA1IEwyMi45MjEsNjMuOTIyIEwxNiw2My45MjIzOTgyIEwxNiwyMCBMMjIuOTU0NTQ1NSwyMCBaIiBpZD0iQ29tYmluZWQtU2hhcGUiIGZpbGw9IiNGRkZGRkYiPjwvcGF0aD4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+)}.file-message-body .file-message-icon.file-xls{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iODRweCIgaGVpZ2h0PSI4NHB4IiB2aWV3Qm94PSIwIDAgODQgODQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aWNvbl/mlofku7bnsbvlnotfZXhjZWw8L3RpdGxlPgogICAgPGcgaWQ9Iumhtemdoi0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0i54q25oCB5YiH5Zu+IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjExLjAwMDAwMCwgLTQ4OC4wMDAwMDApIj4KICAgICAgICAgICAgPGcgaWQ9Imljb25f5paH5Lu257G75Z6LX2V4Y2VsIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyMTEuMDAwMDAwLCA0ODguMDAwMDAwKSI+CiAgICAgICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLTM4LUNvcHktMiIgZmlsbD0iIzAyRDFBNSIgeD0iMCIgeT0iMCIgd2lkdGg9Ijg0IiBoZWlnaHQ9Ijg0IiByeD0iNiI+PC9yZWN0PgogICAgICAgICAgICAgICAgPHBhdGggZD0iTTYzLDIxIEw0Ni45NzEsNDEuNSBMNjMsNjIgTDUzLjAzODU4MTksNjEuOTc2NzkwNSBMNDEuOTk5LDQ3Ljg1OCBMMzAuOTYxNDE4MSw2MS45NzY3OTA1IEwyMSw2MiBMMzcuMDI4LDQxLjUgTDIxLDIxIEwzMC45NjE0MTgxLDIxLjAyMzIwOTUgTDQyLDM1LjE0MSBMNTMuMDM4NTgxOSwyMS4wMjMyMDk1IEw2MywyMSBaIiBpZD0iQ29tYmluZWQtU2hhcGUiIGZpbGw9IiNGRkZGRkYiPjwvcGF0aD4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+)}.file-message-body .file-message-icon.file-ppt{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iODRweCIgaGVpZ2h0PSI4NHB4IiB2aWV3Qm94PSIwIDAgODQgODQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aWNvbl/mlofku7bnsbvlnotfcHB0PC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IueKtuaAgeWIh+WbviIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxMS4wMDAwMDAsIC05MTIuMDAwMDAwKSI+CiAgICAgICAgICAgIDxnIGlkPSJpY29uX+aWh+S7tuexu+Wei19wcHQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIxMS4wMDAwMDAsIDkxMi4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUtMzgtQ29weS01IiBmaWxsPSIjRkY4NjU0IiB4PSIwIiB5PSIwIiB3aWR0aD0iODQiIGhlaWdodD0iODQiIHJ4PSI2Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMjYsMjAgTDQ1Ljg2MDcxODIsMjAgQzQ4LjQ3MjI2NTUsMjAgNTAuNzc2OTIxNSwyMC40MjAyOTE0IDUyLjc3NDc1NTIsMjEuMjYwODg2OCBDNTQuNzcyNTg4OSwyMi4xMDE0ODIyIDU2LjQ1NzAxMTYsMjMuMjAwNzA1OCA1Ny44MjgwNzQsMjQuNTU4NTkwNyBDNTkuMTk5MTM2MywyNS45MTY0NzU1IDYwLjIzNzIxMDgsMjcuNDQyNDU2NiA2MC45NDIzMjg2LDI5LjEzNjU3OTYgQzYxLjY0NzQ0NjQsMzAuODMwNzAyNiA2MiwzMi41MTgzMzQyIDYyLDM0LjE5OTUyNDkgQzYyLDM2LjAzNTkwMjYgNjEuNjQwOTE3NiwzNy44MDc1OTI0IDYwLjkyMjc0MjEsMzkuNTE0NjQ3NyBDNjAuMjA0NTY2Niw0MS4yMjE3MDI5IDU5LjE1OTk2MzMsNDIuNzQxMjE3OSA1Ny43ODg5MDEsNDQuMDczMjM4MyBDNTYuNDE3ODM4Niw0NS40MDUyNTg3IDU0LjczMzQxNTksNDYuNDcyMTUyMiA1Mi43MzU1ODIyLDQ3LjI3Mzk1MDkgQzUwLjczNzc0ODQsNDguMDc1NzQ5NiA0OC40NDYxNSw0OC40NzY2NDI5IDQ1Ljg2MDcxODIsNDguNDc2NjQyOSBMMzQuMjY1NTA2LDQ4LjQ3NjY0MjkgTDM0LjI2NTUwNiw2OSBMMjYsNjkgTDI2LDIwIFogTTM0LjI2NTUwNiw0Mi44NTExNDgxIEw0NS44NjA3MTgyLDQyLjg1MTE0ODEgQzQ2LjkwNTMzNzEsNDIuODUxMTQ4MSA0Ny45MTA3Njc3LDQyLjYyNDgzNzMgNDguODc3MDQwMyw0Mi4xNzIyMDkgQzQ5Ljg0MzMxMjgsNDEuNzE5NTgwNyA1MC42ODU1MjQyLDQxLjA5ODg0MjcgNTEuNDAzNjk5Nyw0MC4zMDk5NzYyIEM1Mi4xMjE4NzUyLDM5LjUyMTEwOTggNTIuNjk2NDA3LDM4LjU5NjQ2ODcgNTMuMTI3MzEyMywzNy41MzYwMjUzIEM1My41NTgyMTc2LDM2LjQ3NTU4MTkgNTMuNzczNjY3LDM1LjMzNzU2MjIgNTMuNzczNjY3LDM0LjEyMTkzMTkgQzUzLjc3MzY2NywzMi45MzIxNjYxIDUzLjU3MTI3NTEsMzEuODI2NDc2NSA1My4xNjY0ODUzLDMwLjgwNDgyOTggQzUyLjc2MTY5NTUsMjkuNzgzMTgzMSA1Mi4yMDY3NSwyOC45MDM4MDQyIDUxLjUwMTYzMjIsMjguMTY2NjY2NyBDNTAuNzk2NTE0NCwyNy40Mjk1MjkyIDQ5Ljk2MDgzMTgsMjYuODQ3NTg3MiA0OC45OTQ1NTkzLDI2LjQyMDgyMzQgQzQ4LjAyODI4NjgsMjUuOTk0MDU5NiA0Ni45ODM2ODM1LDI1Ljc4MDY4MDkgNDUuODYwNzE4MiwyNS43ODA2ODA5IEwzNC4yNjU1MDYsMjUuNzgwNjgwOSBMMzQuMjY1NTA2LDQyLjg1MTE0ODEgWiIgaWQ9IlAiIGZpbGw9IiNGRkZGRkYiPjwvcGF0aD4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+)}.file-message-body .file-message-icon.file-pdf{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iODRweCIgaGVpZ2h0PSI4NHB4IiB2aWV3Qm94PSIwIDAgODQgODQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aWNvbl/mlofku7bnsbvlnotfcGRmPC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IueKtuaAgeWIh+WbviIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxMS4wMDAwMDAsIC01OTQuMDAwMDAwKSI+CiAgICAgICAgICAgIDxnIGlkPSJpY29uX+aWh+S7tuexu+Wei19wZGYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIxMS4wMDAwMDAsIDU5NC4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUtMzgtQ29weS0zIiBmaWxsPSIjRjM2NjY2IiB4PSIwIiB5PSIwIiB3aWR0aD0iODQiIGhlaWdodD0iODQiIHJ4PSI2Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICA8ZyBpZD0icGRmIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxOS4wMDAwMDAsIDE5LjAwMDAwMCkiIGZpbGw9IiNGRkZGRkYiPgogICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0yOS44ODk5NTUxLDMwLjI0MTE4MDkgQzI0LjY5ODg4OTksMzEuMzgyNTY3OSAxOS43NTk5Mjk0LDMzLjAzMzM2NTkgMTQuODIwOTY4OCwzNS4wNjcxNzk2IEMxMC44OTQyNDY5LDQyLjA1MzM4NzMgNy4yMTk2Mjk3Myw0NS42MTE2MDM4IDQuMDUzMDQxNzQsNDUuNjExNjAzOCBDMy40MTg5NjAxOCw0NS42MTE2MDM4IDIuNjU4ODI2MjcsNDUuNDg1MjA4NiAyLjE1MDc5NzA4LDQ1LjEwMjE5MjggQzAuODI0MDMxNTY4LDQ0LjQ4MDk5NTggLTAuMDE3MjE5NjYzNiw0My4xMzg1MjQ2IDAuMDAwMjY3NDczMDgzLDQxLjY3MDM3MTUgQzAuMDAwMjY3NDczMDgzLDQwLjUyODk4NDUgMC4yNTIzNzIxODcsMzcuMzUzNzgzOCAxMi4yODQ2NDI2LDMyLjE0ODU5OTQgQzE1LjAxNDYxMTYsMjcuMTIzOTMxNiAxNy4yNjE4MzkyLDIxLjg1MDMyMTQgMTguOTk1OTc1NywxNi4zOTg5OTEgQzE3LjQ3OTUyNzYsMTMuMzUwMTg1NCAxNC4xODMwNjc1LDUuODU4Mzk2OTcgMTYuNDYzNDY5MiwyLjA0NzM5MDA2IEMxNy4yMjM2MDMxLDAuNjQ5MzgyNDk3IDE4Ljc0Mzg3MSwtMC4xMTI4MTg4ODYgMjAuMzkwMTkxMSwwLjAxMzU3NjMxODMgQzIxLjY4MjUyMTYsMC4wMjY3OTYyNTY0IDIyLjg5Njg4NiwwLjYzNTYyOTkzNSAyMy42ODI4MzE1LDEuNjY0Mzc0MjkgQzI1LjMyOTE1MTcsMy45NTA5Nzg0NCAyNS4xOTkyNzk1LDguNzc2OTc3MTQgMjMuMDUyNTY5NywxNS44ODk1OCBDMjUuMDgwMzE2OCwxOS42OTY0NzE1IDI3LjczNTU3NjgsMjMuMTMyMDU3NiAzMC45MDYwMTM1LDI2LjA1MDk4ODQgQzMzLjU2NDU3MjMsMjUuNTQ1NDA3NiAzNi4yMjY5NTA5LDI1LjE2MjM5MTggMzguODg1NTA5NywyNS4xNjIzOTE4IEM0NC44NDA1Mjg2LDI1LjI4ODc4NyA0NS43MjY3MTQ5LDI4LjA4ODYzMjMgNDUuNjAwNjYyNSwyOS43MzE3Njk5IEM0NS41OTY4NDI4LDM0LjA1MjE4NzggNDEuNDE0MTk2NCwzNC4wNTIxODc4IDM5LjI2MzY2NjgsMzQuMDUyMTg3OCBDMzUuODEyNDI4NiwzMy44MjI0MTA2IDMyLjUyNjI0MTEsMzIuNDg2MzY3NCAyOS44ODk5NTUxLDMwLjI0MTE4MDkgWiBNMy44MDA5MzcwMiw0MS45MjY5OTIxIEw0LjE3OTA5NDA5LDQxLjgwMDU5NjkgQzUuOTUxNDY2NjMsNDEuMTY0NzkwNyA3LjM0NTY4MjA5LDM5Ljg5NzAwODUgOC4zNTc5MjA3MSwzOC4yNDIzODA0IEM2LjQ1NTY3NjA1LDM5LjAwODQxMTkgNC45MzkyMjgsNDAuMjcyMzYzOSAzLjgwMDkzNzAyLDQxLjkyNjk5MjEgTDMuODAwOTM3MDIsNDEuOTI2OTkyMSBaIE0yMC42NDYxMTU2LDMuODI0NTgzMjMgTDIwLjI2NDEzODgsMy44MjQ1ODMyMyBDMjAuMTM4MDg2NCwzLjgyNDU4MzIzIDE5Ljg4MjE2MTksMy44MjQ1ODMyMyAxOS43NTYxMDk2LDMuOTUwOTc4NDQgQzE5LjI1MTkwMDIsNi4xMTExODczOCAxOS42MzAwNTcyLDguMzk3NzkxNTMgMjAuNTIwMDYzMywxMC40MzE2MDUzIEMyMS4yNTQwNjYxLDguMjk3Mzc2MjkgMjEuMjk4MTc1Myw1Ljk4NTQwMDMxIDIwLjY0NjExNTYsMy44MjQ1ODMyMyBMMjAuNjQ2MTE1NiwzLjgyNDU4MzIzIFogTTIxLjUzMjMwMTksMjIuMjM5OTgxNSBMMjEuNDA2MjQ5NSwyMi40OTY2MDIgTDIxLjI3NjM3NzQsMjIuMzY2Mzc2NyBDMjAuMTM4MDg2NCwyNS4yODg3ODcgMTguODY5OTIzMywyOC4yMDczNjcyIDE3LjQ3NTcwNzksMzEuMDAzMzgyMyBMMTcuNzI3ODEyNiwzMC44NzY5ODcxIEwxNy43Mjc4MTI2LDMxLjEyOTc3NzUgQzIwLjU0NjA5NzksMzAuMTEyMzM3NSAyMy40MjIzOTgyLDI5LjI2NDM2NjggMjYuMzQxMzkwMywyOC41OTAzODI5IEwyNi4yMTkxNTc3LDI4LjQ2Mzk4NzcgTDI2LjYwMTEzNDUsMjguNDYzOTg3NyBDMjQuNjk4OTc0LDI2LjU3Mjg5MDEgMjMuMDAwMDUyOSwyNC40ODY3ODk0IDIxLjUzMjMwMTksMjIuMjM5OTgxNSBMMjEuNTMyMzAxOSwyMi4yMzk5ODE1IFogTTM4Ljc1NTYzNzYsMjguOTczMzk4NyBDMzcuNjE3MzQ2NiwyOC45NzMzOTg3IDM2LjYwNTEwOCwyOC45NzMzOTg3IDM1LjQ2NjgxNywyOS4yMjYxODkxIEMzNi43MzExNjAzLDI5Ljg1ODE2NTEgMzcuOTk5MzIzNCwzMC4xMTQ3ODU3IDM5LjI2MzY2NjgsMzAuMjQxMTgwOSBDNDAuMTQ5ODUzLDMwLjM2NzU3NjEgNDEuMDM5ODU5MSwzMC4yNDExODA5IDQxLjc5NjE3MzIsMjkuOTg4MzkwNSBDNDEuNzk2MTczMiwyOS42MDkyMDQ5IDQxLjI4ODE0NCwyOC45NzMzOTg3IDM4Ljc1NTYzNzYsMjguOTczMzk4NyBMMzguNzU1NjM3NiwyOC45NzMzOTg3IFoiIGlkPSJTaGFwZSI+PC9wYXRoPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)}.file-message-body .file-message-icon.file-audio{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iODRweCIgaGVpZ2h0PSI4NHB4IiB2aWV3Qm94PSIwIDAgODQgODQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aWNvbl/mlofku7bnsbvlnotfbXAzPC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IueKtuaAgeWIh+WbviIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxMS4wMDAwMDAsIC0zODIuMDAwMDAwKSI+CiAgICAgICAgICAgIDxnIGlkPSJpY29uX+aWh+S7tuexu+Wei19tcDMiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIxMS4wMDAwMDAsIDM4Mi4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUtMzgtQ29weSIgZmlsbD0iIzg5RDA0MiIgeD0iMCIgeT0iMCIgd2lkdGg9Ijg0IiBoZWlnaHQ9Ijg0IiByeD0iNiI+PC9yZWN0PgogICAgICAgICAgICAgICAgPHBhdGggZD0iTTM3LjQ3NTIyMjcsMzEuNzU2NTMyMyBMNTEuODYwODE3MSw1Ni4yNDQyMzQgQzU0LjQ1OTc1Miw2MC42NjgyMzkgNTIuNDYxMjgxNSw2Ni41ODQwMTU4IDQ3LjM5NzEwODQsNjkuNDU3NDkxMyBDNDIuMzMyOTM1Myw3Mi4zMzA5NjY5IDM2LjEyMDc1ODksNzEuMDc0MDE0NCAzMy41MjE4MjQxLDY2LjY1MDAwOTQgQzMwLjkyMjg4OTIsNjIuMjI2MDA0NCAzMi45MjEzNTk3LDU2LjMxMDIyNzYgMzcuOTg1NTMyOCw1My40MzY3NTIxIEM0MC44NjYwNDQ3LDUxLjgwMjMxMzQgNDQuMTE3OTc2Niw1MS41MDQyMTU4IDQ2Ljg2NTEyNzQsNTIuMzY1MTcxNCBMMzEsMjUuMzU4OTUyOCBMMzEuMjQ4NDgzOCwyNS4yMTc5NiBMMzEuMjQwMzE0NCwyNS4yMDYyOTgzIEMzMS4yNDAzMTQ0LDI1LjIwNjI5ODMgMzEuNDIzNDIxNSwyNS4xMTA4NzI3IDMxLjc0NzU5NjEsMjQuOTM0NzU3NCBMMzMuMDM3NjY1OSwyNC4yMDI3NTU1IEwzMy4wNDMyNDAzLDI0LjIxMjI0NDQgQzM2LjUzMDQ0OCwyMi4yMjE1Mjk2IDQzLjk1MDU0OTEsMTcuNjI5MzUwNyA0NS4wMDg2MzA2LDE0LjA0NDI2ODUgQzQ2LjM5OTEyMDQsOS4zMzI4OTE4OSA1Mi4xMzQ5MjcxLDIxLjgxMzIxMDQgNDYuMzc2NTA1MSwyNi42MzM0MDI0IEM0Mi41NDQyMDQ3LDI5Ljg0MTI5OTMgMzkuMjUwMTE5NCwzMS4yMDM4OTUxIDM3LjQ3NTIyMjcsMzEuNzU2NTMyMyBMMzcuNDc1MjIyNywzMS43NTY1MzIzIFoiIGlkPSJDb21iaW5lZC1TaGFwZSIgZmlsbD0iI0ZGRkZGRiI+PC9wYXRoPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)}.file-message-body .file-message-icon.file-plain{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iODRweCIgaGVpZ2h0PSI4NHB4IiB2aWV3Qm94PSIwIDAgODQgODQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aWNvbl/mlofku7bnsbvlnotfdHh0PC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IueKtuaAgeWIh+WbviIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxMS4wMDAwMDAsIC0xMTI0LjAwMDAwMCkiPgogICAgICAgICAgICA8ZyBpZD0iaWNvbl/mlofku7bnsbvlnotfdHh0IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyMTEuMDAwMDAwLCAxMTI0LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPGcgaWQ9Ikdyb3VwLTEyLUNvcHkiIGZpbGw9IiMzRUE5RkYiPgogICAgICAgICAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUtMzgtQ29weS00IiB4PSIwIiB5PSIwIiB3aWR0aD0iODQiIGhlaWdodD0iODQiIHJ4PSI2Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgICAgICA8ZyBpZD0iR3JvdXAtNCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjEuMDAwMDAwLCAyMy4wMDAwMDApIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgICAgICAgICA8ZyBpZD0iR3JvdXAtMyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4yNzk1MDAsIDAuMzc0NzA2KSI+CiAgICAgICAgICAgICAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUtNSIgeD0iMCIgeT0iMCIgd2lkdGg9IjQxLjkyNSIgaGVpZ2h0PSI3LjAyNTczNTI5IiByeD0iMC42MzciPjwvcmVjdD4KICAgICAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTEuNjkzMjUsMTkuOTI1MzY3NiBMNDAuMjMxNzUsMTkuOTI1MzY3NiBDNDAuNTgzNTU1NCwxOS45MjUzNjc2IDQwLjg2ODc1LDIwLjIxMDU2MjMgNDAuODY4NzUsMjAuNTYyMzY3NiBMNDAuODY4NzUsMjYuMjc1ODY3NiBDNDAuODY4NzUsMjYuNjI3NjczIDQwLjU4MzU1NTQsMjYuOTEyODY3NiA0MC4yMzE3NSwyNi45MTI4Njc2IEwxLjY5MzI1LDI2LjkxMjg2NzYgQzEuMzQxNDQ0NjEsMjYuOTEyODY3NiAxLjA1NjI1LDI2LjYyNzY3MyAxLjA1NjI1LDI2LjI3NTg2NzYgTDEuMDU2MjUsMjAuNTYyMzY3NiBDMS4wNTYyNSwyMC4yMTA1NjIzIDEuMzQxNDQ0NjEsMTkuOTI1MzY3NiAxLjY5MzI1LDE5LjkyNTM2NzYgWiIgaWQ9IlJlY3RhbmdsZS01LUNvcHkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIwLjk2MjUwMCwgMjMuNDE5MTE4KSByb3RhdGUoLTI3MC4wMDAwMDApIHRyYW5zbGF0ZSgtMjAuOTYyNTAwLCAtMjMuNDE5MTE4KSAiPjwvcGF0aD4KICAgICAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==)}.file-message-body .file-message-icon.file-video{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iODRweCIgaGVpZ2h0PSI4NHB4IiB2aWV3Qm94PSIwIDAgODQgODQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aWNvbl/mlofku7bnsbvlnotfbXA0PC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IueKtuaAgeWIh+WbviIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxMS4wMDAwMDAsIC0xMDE4LjAwMDAwMCkiPgogICAgICAgICAgICA8ZyBpZD0iaWNvbl/mlofku7bnsbvlnotfbXA0IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyMTEuMDAwMDAwLCAxMDE4LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPHJlY3QgaWQ9IlJlY3RhbmdsZS0zOC1Db3B5LTYiIGZpbGw9IiNBMzk2RTgiIHg9IjAiIHk9IjAiIHdpZHRoPSI4NCIgaGVpZ2h0PSI4NCIgcng9IjYiPjwvcmVjdD4KICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik02Mi4zNDQ4NDI5LDI1IEM2My44MTEyNDU3LDI1IDY1LDI2LjE4NDU2NzkgNjUsMjcuNjU5NDE1NyBMNjUsNTcuMzQwNTg0MyBDNjUsNTguODA5MzM5IDYzLjgxNjY4ODcsNjAgNjIuMzQ0ODQyOSw2MCBMMjEuNjU1MTU3MSw2MCBDMjAuMTg4NzU0Myw2MCAxOSw1OC44MTU0MzIxIDE5LDU3LjM0MDU4NDMgTDE5LDI3LjY1OTQxNTcgQzE5LDI2LjE5MDY2MSAyMC4xODMzMTEzLDI1IDIxLjY1NTE1NzEsMjUgTDYyLjM0NDg0MjksMjUgWiBNMzcuMSwzNS4yNjU5Njk2IEwzNy4xLDUwLjg5MDY5OTMgQzM3LjEsNTIuMzU0MzUxMiAzOC4wNTM2MTMzLDUyLjgyOTk2OCAzOS4yMzE1MzU5LDUxLjk1MTg0MDYgTDQ5LjAwMjk0NjksNDQuNjY3MzY5MiBDNTAuMTgwMTYxNyw0My43ODk3Njk1IDUwLjE4MDg2OTUsNDIuMzY3NDI3IDQ5LjAwMjk0NjksNDEuNDg5Mjk5NyBMMzkuMjMxNTM1OSwzNC4yMDQ4MjgyIEMzOC4wNTQzMjExLDMzLjMyNzIyODYgMzcuMSwzMy44MDA3NzEyIDM3LjEsMzUuMjY1OTY5NiBaIiBpZD0iQ29tYmluZWQtU2hhcGUiIGZpbGw9IiNGRkZGRkYiPjwvcGF0aD4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+)}.file-message-body .file-message-icon.file-image{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVAAAAFQCAMAAADeNtbrAAAAq1BMVEUAAACK0EOK0UOK0EOP4VGJ0UOK0EOK0UKJ0EKK0EOL0UKK0UOK0EOP10iQ2EiK0UKJ0EL////o9tv7/fmV1VX5/Pbv+OX9/vy4442P0kvV7ruz4Yb3/PLy+urt9+Ge2GSM0Ufo9dnh88/0+u7e8sqY1lqR00+K0ETM6q2t3nu85JTl9dXT7bir3Xil22+b11/E56Cv34DP7LLA5pui2mqo3HTa8MOL0UbH6aaB6/VOAAAAEHRSTlMApHnxCP3l2NC+f29MIBPyp/tPoQAAByJJREFUeNrs10sOwjAMRdGXpP82wftfLROEKB8JWiN5cM8SruIk1l5d0zwWw1fKOKe16qO2TIafTUvTO13mZB5UcqcX22A4bNj0JPeGE/q8H/dkOCk9jj09HSTdZYODrJuN+9NFv90uUN53J0PHwP9h6Bv/eTelSVoMbhZJ7O+OJqkaHFWtBkcrS5KvpNngaNZocDTqYnBUZHBFUILGRlCCxkZQgsZGUILGRlCCxkZQgsZGUILGRlCCxkZQgsZGUILGRlCCxkZQgsZG0Cs7dCwAAAAAMMjfeho7CiGhb0KFvgkV+iZU6JtQoW9Chb4JFfomVOibUKFvQoW+CRX6JlTom1Chb0KFvgkV+iZU6JtQoW9Chb4JFfomVOibUKFvQoW+CRX6Fvt2ltsqEERheAunwjwagwHPseMp+1/ZjWRFSRoaQ9NIdt3+FsDDL5VUQtUm6JMGXYWuRS/JcsMVxtEfdDanlzafQdkUQXcOvThnB2X6g85evieRM4Mq/UFffN7v5lCkP+iKWFhBjf6gIbEQQo3+oC6x4EKN/qAvun+KLKjRH5SYgAIT1ASVMkGfHRSYoCaolAn67KDABDVBpUzQZwcFJqgJKmWCPjsoMEFNUCkT9NlBgQlqgkqZoM8OCv6DoF662KQODWaCtnL9Cl/q8yGhYUzQNocM325+QUOYoE1WhN/snAYwQZt8/JUNKWqCNmwhClLqzQQVWTYadtSbCSpaokVOfZmgoj1a+NSXCSpwarSwqS8TVJCilUU9maCCHK1c6skEFWzQqqCeTFBBgjYZ9cUiaOqX5dolPWy02FMnZkHnFb5kS9LCR4vubzMLapW4uySkwRuaqpjk2AU94FsQkgZHNHxQB25BkwA/jjGNVtgQRCTHL6jw83JBo20C/HH0SI5d0A0Ea4fGerPx47akDvyCniF639BYsV/jLlgn1IVd0C2a6pNHYxXL6LKLDrlF3bgFdWy0maU0HdZBT2iXLWkynIMmGWT2CU2DddAj5IItTYJz0BydjgXpxzmoN0M3+0q6sQ76gYd8h/TiHDSu8FiZk06sg67Ry8kifTgHdW/oZ/ZGurAOukNft0+P9OAcdIEB9i7pwDmo944H9G/5rIMuMdCqoLE4B40rDFVdaRzWQX0oiGIag3PQtIYKOyd1rINeoGhtkSrOQa9Q9j4nNZyDWiXU1WpbPuugnxjl7NJwnIMWAcYJPmgo1kF9jLZLaBjOQefQoAppCNZB91ClvuVzDhpiBMWzMs5BrRJjKG35rIMeMI7KWRnnoEkGneqDRw95i6gsI5dn0AianVPqlp7s+/I65xh0A926z8rijzO+lQ7DoGdM4JJIRz3DLz6/oFtMIggloy5YcAvq2NBK/njE2e7RZMfMgp6glXTLz6MMrSJeQd0M2jXPytxDCakrq6BHTKrciKPeVBWMguaYWL32Azxw5BP0H7t2kqQgFARh2CPkEwFBEREnnNv5/ifrHb1sFrXIfFHfEf7QoCAyr8GgjCboHRS2bSRB51tw6CIJegCLUxRBFzuwKKoYgp7B4xVB0DWY3OWD5lcwKTL1oHtwuYgHpTmZenvtoFOwWS6Ug455TqbeMxcO+gKhr27QNxh9xqpBkw0o1blo0C9I3TSDtgVI7RrJoDPQuiaCQRsQewgGvYDZUS5oCWrXRCxoMgG3g1jQG9itpIJWS7DbpEpBiU+m3lQo6BEK1jpBn1AwmasEPUHDTCRoyn4y9d4aQR9QMZkrBM34T6bej0LQDkJK/qArKNm27EFJ1rWDdexBSda1w524g/JNRf5TVNRBeda1g72YgxKta4e7EwdlWtcOVmS0QbnWtYNdWIOSrWuH25MGZVvXDjbJOYOq/kCBFWXQCrLWlEFbqNq1lEGD2Gv8nynpQ2n9gaRpTho0rPQeS8tDuSB+UwrVWMsiYf98Jw0GTIImIQoJDJgEzUIUMhgwCVqGKJQwYBK0C1HoYMAkKJoQgQYGjILWaZCX1rAxgoGzfNH0DCMjWKjF//VNDSsj2OjKTPQeTbKyg50RHOBBeXlQD8rNg3pQbh7Ug3LzoB6Umwf1oNw8qAfl5kE9KDcP6kG5edDf9uskt4EYBqJoSa2eB/P+p40TIEg8AYabi1r8d4QPSCQJ6o2gBPVGUIJ6IyhBvRGUoN4ISlBvBCWoN4IS1BtBCeqNoAT1RlCCeiMoQb0RlKDeCEpQbwQlqDeCEtQbQQnqjaAE9UZQgnojKEG9EZSg3ghKUG8EJag3ghLUG0EJ6o2gBPVGUIJ6IyhBvRGUoN7UBRJ1GgOJRs2BRLNKIFHRGki0ag8k2qUpkGaStATSLJIONtE03aGrGkhS9a0NgRRD04+tDyToN13x6NNU/eJcylD0p1H0tNL0X+UfPaWvurMx608YNj1olQ3/Q11teuZYuOs/MC2HXtrXMo+XwFsu41zWXTe+AIkX5RUygDIXAAAAAElFTkSuQmCC)}.file-message-body .file-message-icon.file-apk{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iODRweCIgaGVpZ2h0PSI4NHB4IiB2aWV3Qm94PSIwIDAgODQgODQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+aWNvbl/mlofku7bnsbvlnotfYXBrPC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IueKtuaAgeWIh+WbviIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxMS4wMDAwMDAsIC0xNjU0LjAwMDAwMCkiIGZpbGwtcnVsZT0ibm9uemVybyI+CiAgICAgICAgICAgIDxnIGlkPSJpY29uX+aWh+S7tuexu+Wei19hcGsiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIxMS4wMDAwMDAsIDE2NTQuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICA8cGF0aCBkPSJNNy44NzQ5OTk5NywwIEw3Ni4xMjUsMCBDODAuNDU2MjUsMCA4NCwzLjU0Mzc1IDg0LDcuODc0OTk5OTcgTDg0LDc2LjEyNSBDODQsODAuNDU2MjUgODAuNDU2MjUsODQgNzYuMTI1LDg0IEw3Ljg3NDk5OTk3LDg0IEMzLjU0Mzc1LDg0IDAsODAuNDU2MjUgMCw3Ni4xMjUgTDAsNy44NzQ5OTk5NyBDMCwzLjU0Mzc1IDMuNTQzNzUsMCA3Ljg3NDk5OTk3LDAgWiIgaWQ9Iui3r+W+hCIgZmlsbD0iI0EwQzUzOCI+PC9wYXRoPgogICAgICAgICAgICAgICAgPHBhdGggZD0iTTU3Ljc2NjY2NjYsNDguNTEyODk0NyBDNTcuNzY2NjY2Niw1MC4xNjc0NjAzIDU5LjIzMzMzMzMsNTEuNjM4MTg1MiA2MC44ODMzMzMzLDUxLjYzODE4NTIgQzYyLjcxNjY2NjYsNTEuNjM4MTg1MiA2NCw1MC4xNjc0NjAzIDY0LDQ4LjUxMjg5NDcgTDY0LDM2LjE5NTU3MzQgQzY0LDM0LjM1NzE2NzIgNjIuNTMzMzMzMywzMy4wNzAyODI5IDYwLjg4MzMzMzMsMzMuMDcwMjgyOSBDNTkuMjMzMzMzMywzMy4wNzAyODI5IDU3Ljc2NjY2NjYsMzQuNTQxMDA3OCA1Ny43NjY2NjY2LDM2LjE5NTU3MzQgTDU3Ljc2NjY2NjYsNDguNTEyODk0NyBaIE00Ni41ODMzMzM0LDI1LjkwMDQ5ODkgQzQ2LjU4MzMzMzQsMjQuOTgxMjk1OCA0Ny4zMTY2NjY3LDI0LjQyOTc3MzkgNDguMDQ5OTk5OSwyNC40Mjk3NzM5IEM0OC45NjY2NjY2LDI0LjQyOTc3MzkgNDkuNjk5OTk5OSwyNS4xNjUxMzY0IDQ5LjY5OTk5OTksMjUuOTAwNDk4OSBDNDkuNjk5OTk5OSwyNi44MTk3MDIgNDguOTY2NjY2NiwyNy4zNzEyMjM3IDQ4LjA0OTk5OTksMjcuMzcxMjIzNyBDNDcuMTMzMzMzMywyNy4zNzEyMjM3IDQ2LjU4MzMzMzQsMjYuNjM1ODYxMyA0Ni41ODMzMzM0LDI1LjkwMDQ5ODkgWiBNMzQuNjY2NjY2NywyNS45MDA0OTg5IEMzNC42NjY2NjY3LDI0Ljk4MTI5NTggMzUuNCwyNC40Mjk3NzM5IDM2LjEzMzMzMzQsMjQuNDI5NzczOSBDMzcuMDUsMjQuNDI5NzczOSAzNy42MDAwMDAxLDI1LjE2NTEzNjQgMzcuNjAwMDAwMSwyNS45MDA0OTg5IEMzNy42MDAwMDAxLDI2LjgxOTcwMiAzNi44NjY2NjY3LDI3LjM3MTIyMzcgMzYuMTMzMzMzNCwyNy4zNzEyMjM3IEMzNS4yMTY2NjY3LDI3LjM3MTIyMzcgMzQuNjY2NjY2NywyNi42MzU4NjEzIDM0LjY2NjY2NjcsMjUuOTAwNDk4OSBaIE0yOC4wNjY2NjY3LDU1LjY4MjY3ODggQzI4LjA2NjY2NjcsNTYuOTY5NTYzMiAyOS4xNjY2NjY2LDU4LjA3MjYwNjggMzAuNDUsNTguMDcyNjA2NyBMMzMuMiw1OC4wNzI2MDY3IEwzMy4yLDY0Ljg3NDcwOTYgQzMzLjIsNjYuNTI5Mjc1MiAzNC40ODMzMzM0LDY4IDM2LjMxNjY2NjcsNjggQzM3Ljk2NjY2NjcsNjggMzkuNDMzMzMzNCw2Ni41MjkyNzUgMzkuNDMzMzMzNCw2NC44NzQ3MDk2IEwzOS40MzMzMzM0LDU4LjA3MjYwNjcgTDQ0LjM4MzMzMzMsNTguMDcyNjA2NyBMNDQuMzgzMzMzMyw2NC44NzQ3MDk2IEM0NC4zODMzMzMzLDY2LjUyOTI3NTIgNDUuNjY2NjY2Nyw2OCA0Ny41LDY4IEM0OS4zMzMzMzMzLDY4IDUwLjYxNjY2NjcsNjYuNTI5Mjc1IDUwLjYxNjY2NjYsNjQuODc0NzA5NiBMNTAuNjE2NjY2Niw1OC4wNzI2MDY3IEw1My4zNjY2NjY3LDU4LjA3MjYwNjcgQzU0LjgzMzMzMzQsNTguMDcyNjA2NyA1NS43NSw1Ni45Njk1NjMgNTUuNzUsNTUuNjgyNjc4OCBMNTUuNzUsMzMuMjU0MTIzNSBMMjguMDY2NjY2NywzMy4yNTQxMjM1IEwyOC4wNjY2NjY3LDU1LjY4MjY3ODggWiBNNTUuOTMzMzMzMywzMS4yMzE4NzY3IEM1NS41NjY2NjY3LDI3LjAwMzU0MjYgNTIuNjMzMzMzMywyMy41MTA1NzA5IDQ4LjYsMjEuNDg4MzI0IEw1MS4xNjY2NjY2LDE3LjgxMTUxMTcgQzUxLjM0OTk5OTksMTcuNjI3NjcxMiA1MS4zNDk5OTk5LDE3LjI1OTk4OTkgNTEuMTY2NjY2NiwxNy4wNzYxNDkzIEM1MC45ODMzMzMzLDE2Ljg5MjMwODcgNTAuOCwxNy4wNzYxNDkzIDUwLjYxNjY2NjYsMTcuMjU5OTg5OSBMNDcuODY2NjY2NiwyMS4xMjA2NDI4IEM0Ni4wMzMzMzMzLDIwLjM4NTI4MDQgNDQuMiwyMC4wMTc1OTkyIDQyLjE4MzMzMzMsMjAuMDE3NTk5MSBDNDAuMTY2NjY2NiwyMC4wMTc1OTg5IDM4LjE1LDIwLjM4NTI4MDIgMzYuMzE2NjY2NywyMS4xMjA2NDI4IEwzMy43NSwxNy4yNTk5ODk5IEMzMy41NjY2NjY3LDE3LjA3NjE0OTMgMzMuMzgzMzMzNCwxNi44OTIzMDg3IDMzLjIsMTcuMDc2MTQ5MyBDMzMuMDE2NjY2NywxNy4yNTk5ODk5IDMzLjAxNjY2NjcsMTcuNDQzODMwNCAzMy4wMTY2NjY3LDE3LjgxMTUxMTcgTDM1LjU4MzMzMzMsMjEuNDg4MzI0IEMzMS41NSwyMy4zMjY3MzAyIDI4LjYxNjY2NjcsMjYuODE5NzAxOCAyOC4yNSwzMS4yMzE4NzY3IEw1NS45MzMzMzMzLDMxLjIzMTg3NjcgTDU1LjkzMzMzMzMsMzEuMjMxODc2NyBaIE0yMCw0OC41MTI4OTQ3IEMyMCw1MC4xNjc0NjAzIDIxLjI4MzMzMzQsNTEuNjM4MTg1MiAyMy4xMTY2NjY3LDUxLjYzODE4NTIgQzI0Ljc2NjY2NjcsNTEuNjM4MTg1MiAyNi4yMzMzMzM0LDUwLjE2NzQ2MDMgMjYuMjMzMzMzNCw0OC41MTI4OTQ3IEwyNi4yMzMzMzM0LDM2LjE5NTU3MzQgQzI2LjIzMzMzMzQsMzQuMzU3MTY3MiAyNC43NjY2NjY3LDMzLjA3MDI4MjkgMjMuMTE2NjY2NywzMy4wNzAyODI5IEMyMS4yODMzMzM0LDMzLjA3MDI4MjkgMjAsMzQuNTQxMDA3OCAyMCwzNi4xOTU1NzM0IEwyMCw0OC41MTI4OTQ3IFoiIGlkPSLlvaLnirYiIGZpbGw9IiNGRkZGRkYiPjwvcGF0aD4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+)}.file-message-body .file-message-icon.file-text{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTY4cHgiIGhlaWdodD0iMTY4cHgiIHZpZXdCb3g9IjAgMCAxNjggMTY4IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPHRpdGxlPmljb25f5paH5Lu257G75Z6LX+aWh+S7tjwvdGl0bGU+CiAgICA8ZyBpZD0i6aG16Z2iLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSLnirbmgIHliIflm74iIHRyYW5zZm9ybT0idHJhbnNsYXRlKC02OTYuMDAwMDAwLCAtMzE4Ni4wMDAwMDApIiBmaWxsLXJ1bGU9Im5vbnplcm8iPgogICAgICAgICAgICA8ZyBpZD0iaWNvbl/mlofku7bnsbvlnotf5paH5Lu2IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg2OTYuMDAwMDAwLCAzMTg2LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPGcgaWQ9ImFwayIgZmlsbD0iI0EwQzUzOCI+CiAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTE1Ljg5NDE5NDcsMC4xNjM4NTc2OTggTDE1Mi4yMjM3ODMsMC4xNjM4NTc2OTggQzE2MC44NzU0NjgsMC4xNjM4NTc2OTggMTY3Ljk1NDEyLDcuMjQyNTA5MzggMTY3Ljk1NDEyLDE1Ljg5NDE5NDcgTDE2Ny45NTQxMiwxNTIuMjIzNzgzIEMxNjcuOTU0MTIsMTYwLjg3NTQ2OCAxNjAuODc1NDY4LDE2Ny45NTQxMiAxNTIuMjIzNzgzLDE2Ny45NTQxMiBMMTUuODk0MTk0NywxNjcuOTU0MTIgQzcuMjQyNTA5MzgsMTY3Ljk1NDEyIDAuMTYzODU3Njk4LDE2MC44NzU0NjggMC4xNjM4NTc2OTgsMTUyLjIyMzc4MyBMMC4xNjM4NTc2OTgsMTUuODk0MTk0NyBDMC4xNjM4NTc2OTgsNy4yNDI1MDkzOCA3LjI0MjUwOTM4LDAuMTYzODU3Njk4IDE1Ljg5NDE5NDcsMC4xNjM4NTc2OTggWiIgaWQ9Iui3r+W+hCI+PC9wYXRoPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICAgICAgPGcgaWQ9IuaWh+S7tiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNDUuMDAwMDAwLCAzNi4wMDAwMDApIiBmaWxsPSIjRkZGRkZGIj4KICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNNzAuOTIxNzQ2NiwwIEw2LjM2ODMyMTkyLDAgQzIuNTcxMDYxNjQsMCAwLjAzOTU1NDc5NDUsMi41MzA0MzQ3OCAwLjAzOTU1NDc5NDUsNi4zMjYwODY5NiBMMC4wMzk1NTQ3OTQ1LDg5LjgzMDQzNDggQzAuMDM5NTU0Nzk0NSw5Mi45OTM0NzgzIDMuMjAzOTM4MzYsOTYuMTU2NTIxNyA2LjM2ODMyMTkyLDk2LjE1NjUyMTcgTDQ2Ljg3MjQzMTUsOTYuMTU2NTIxNyBDNTAuNjY5NjkxOCw5Ni4xNTY1MjE3IDUzLjIwMTE5ODYsOTMuNjI2MDg3IDUzLjIwMTE5ODYsODkuODMwNDM0OCBMNTMuMjAxMTk4Niw3Ni41NDU2NTIyIEM1My4yMDExOTg2LDczLjM4MjYwODcgNTYuMzY1NTgyMiw3MC4yMTk1NjUyIDU5LjUyOTk2NTgsNzAuMjE5NTY1MiBMNzAuMjg4ODY5OSw3MC4yMTk1NjUyIEM3NC4wODYxMzAxLDcwLjIxOTU2NTIgNzYuNjE3NjM3LDY3LjY4OTEzMDQgNzYuNjE3NjM3LDYzLjg5MzQ3ODMgTDc2LjYxNzYzNyw1LjY5MzQ3ODI2IEM3Ny44ODMzOTA0LDIuNTMwNDM0NzggNzQuNzE5MDA2OCwwIDcwLjkyMTc0NjYsMCBaIE01MC4wMzY4MTUxLDUxLjg3MzkxMyBDNTAuMDM2ODE1MSw1My43NzE3MzkxIDQ4Ljc3MTA2MTYsNTUuMDM2OTU2NSA0Ni44NzI0MzE1LDU1LjAzNjk1NjUgTDE4LjM5Mjk3OTUsNTUuMDM2OTU2NSBDMTYuNDk0MzQ5Myw1NS4wMzY5NTY1IDE1LjIyODU5NTksNTMuNzcxNzM5MSAxNS4yMjg1OTU5LDUxLjg3MzkxMyBMMTUuMjI4NTk1OSw1MS4yNDEzMDQzIEMxNS4yMjg1OTU5LDQ5LjM0MzQ3ODMgMTYuNDk0MzQ5Myw0OC4wNzgyNjA5IDE4LjM5Mjk3OTUsNDguMDc4MjYwOSBMNDYuODcyNDMxNSw0OC4wNzgyNjA5IEM0OC43NzEwNjE2LDQ4LjA3ODI2MDkgNTAuMDM2ODE1MSw0OS4zNDM0NzgzIDUwLjAzNjgxNTEsNTEuODczOTEzIFogTTYzLjk2MDEwMjcsMzQuNzkzNDc4MyBDNjMuOTYwMTAyNywzNi42OTEzMDQzIDYyLjY5NDM0OTMsMzcuOTU2NTIxNyA2MC43OTU3MTkyLDM3Ljk1NjUyMTcgTDE4LjM5Mjk3OTUsMzcuOTU2NTIxNyBDMTYuNDk0MzQ5MywzNy4zMjM5MTMgMTQuNTk1NzE5MiwzNi4wNTg2OTU3IDE0LjU5NTcxOTIsMzQuNzkzNDc4MyBMMTQuNTk1NzE5MiwzNC4xNjA4Njk2IEMxNC41OTU3MTkyLDMyLjI2MzA0MzUgMTUuODYxNDcyNiwzMC45OTc4MjYxIDE3Ljc2MDEwMjcsMzAuOTk3ODI2MSBMNjAuMTYyODQyNSwzMC45OTc4MjYxIEM2Mi42OTQzNDkzLDMwLjk5NzgyNjEgNjMuOTYwMTAyNywzMi4yNjMwNDM1IDYzLjk2MDEwMjcsMzQuNzkzNDc4MyBMNjMuOTYwMTAyNywzNC43OTM0NzgzIFogTTYzLjk2MDEwMjcsMTcuNzEzMDQzNSBDNjMuOTYwMTAyNywxOS42MTA4Njk2IDYyLjY5NDM0OTMsMjAuODc2MDg3IDYwLjc5NTcxOTIsMjAuODc2MDg3IEwxOC4zOTI5Nzk1LDIwLjg3NjA4NyBDMTYuNDk0MzQ5MywyMC44NzYwODcgMTUuMjI4NTk1OSwxOS42MTA4Njk2IDE1LjIyODU5NTksMTcuNzEzMDQzNSBMMTUuMjI4NTk1OSwxNy4wODA0MzQ4IEMxNS4yMjg1OTU5LDE1LjE4MjYwODcgMTYuNDk0MzQ5MywxMy45MTczOTEzIDE4LjM5Mjk3OTUsMTMuOTE3MzkxMyBMNjAuNzk1NzE5MiwxMy45MTczOTEzIEM2Mi42OTQzNDkzLDEzLjkxNzM5MTMgNjMuOTYwMTAyNywxNS4xODI2MDg3IDYzLjk2MDEwMjcsMTcuNzEzMDQzNSBaIiBpZD0i5b2i54q2Ij48L3BhdGg+CiAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTU3LjYzMTMzNTYsODAuOTczOTEzIEw1Ny42MzEzMzU2LDg5LjgzMDQzNDggQzU3LjYzMTMzNTYsOTIuOTkzNDc4MyA2MS40Mjg1OTU5LDk0LjI1ODY5NTcgNjMuMzI3MjI2LDkyLjM2MDg2OTYgTDc1Ljk4NDc2MDMsNzkuNzA4Njk1NyBDNzcuODgzMzkwNCw3Ny44MTA4Njk2IDc2LjYxNzYzNyw3NC4wMTUyMTc0IDczLjQ1MzI1MzQsNzQuMDE1MjE3NCBMNjQuNTkyOTc5NSw3NC4wMTUyMTc0IEM2MC43OTU3MTkyLDc0LjAxNTIxNzQgNTcuNjMxMzM1Niw3Ny4xNzgyNjA5IDU3LjYzMTMzNTYsODAuOTczOTEzIFoiIGlkPSLot6/lvoQiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+)}.file-message-body .file-desc{width:7.9166em;margin:0 0.41666em 0 0}.file-message-body .file-desc .file-name{height:2.3333em;line-height:1.1;text-overflow:ellipsis;font-size:1em;margin:0 0 0.1667em;word-break:break-all;overflow:hidden;white-space:nowrap}.file-message-body .file-desc .file-size{font-weight:400;color:#c7cbce;line-height:0.83333em;font-size:0.75em}.file-message-body .file-download-btn{background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNzBweCIgaGVpZ2h0PSI3MHB4IiB2aWV3Qm94PSIwIDAgNzAgNzAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5LiL6L29aWNvbjwvdGl0bGU+CiAgICA8ZyBpZD0i6aG16Z2iLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSIwNF/ljZXogYot5paH5Lu25raI5oGv5oKs5YGc54K55Ye754q25oCBIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtOTY1LjAwMDAwMCwgLTUyOC4wMDAwMDApIj4KICAgICAgICAgICAgPGcgaWQ9Iue8lue7hOWkh+S7vS01IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1NjQuMDAwMDAwLCA1MDEuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICA8ZyBpZD0i5LiL6L29aWNvbiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNDAyLjAwMDAwMCwgMjguMDAwMDAwKSI+CiAgICAgICAgICAgICAgICAgICAgPGNpcmNsZSBpZD0i5qSt5ZyG5b2iIiBzdHJva2U9IiNFMkU0RTUiIGZpbGw9IiNGRkZGRkYiIGN4PSIzNCIgY3k9IjM0IiByPSIzNCI+PC9jaXJjbGU+CiAgICAgICAgICAgICAgICAgICAgPHBhdGggZD0iTTM1LjYyMTEzNzMsMzcuMzE4NDc0IEw0NC4xMDk2NTIzLDI4Ljg4MzU1NjcgQzQ0LjU0MjA5NTUsMjguNDUzODQ0IDQ1LjI0MzIyNDQsMjguNDUzODQ0IDQ1LjY3NTY2NzYsMjguODgzNTU2NyBDNDYuMTA4MTEwOCwyOS4zMTMyNjk0IDQ2LjEwODExMDgsMzAuMDA5OTcxMyA0NS42NzU2Njc2LDMwLjQzOTY4NCBMMzUuNDA3NTg5Nyw0MC42NDI5Mjc4IEMzNC45MTExNDk1LDQxLjExOTAyNDEgMzQuMTI0NDY3LDQxLjExOTAyNDEgMzMuNjI4MDI2OCw0MC42NDI5Mjc4IEwyMy4zMjQzNTc2LDMwLjQ1NzM2NzMgQzIzLjA0NDYxNTksMzAuMTc5MzkxOSAyMi45MzUzNjQ0LDI5Ljc3NDIzNCAyMy4wMzc3NTY5LDI5LjM5NDUxMjUgQzIzLjE0MDE0OTUsMjkuMDE0NzkxMSAyMy40Mzg2MzAzLDI4LjcxODE5NDkgMjMuODIwNzY0NiwyOC42MTY0NDg5IEMyNC4yMDI4OTg5LDI4LjUxNDcwMjggMjQuNjEwNjMxMywyOC42MjMyNjQ2IDI0Ljg5MDM3MywyOC45MDEyNCBMMzMuMzc4ODg4LDM3LjMzNjE1NzMgTDMzLjM3ODg4OCwyMC4yNTQxMjM1IEMzMy4zMjQyNjc1LDE5LjgyNTg5MjkgMzMuNTIzNTEzNywxOS40MDQ4NDk2IDMzLjg5MDI1NzUsMTkuMTczNTA3IEMzNC4yNTcwMDEzLDE4Ljk0MjE2NDMgMzQuNzI1MjI4MywxOC45NDIxNjQzIDM1LjA5MTk3MjEsMTkuMTczNTA3IEMzNS40NTg3MTU5LDE5LjQwNDg0OTYgMzUuNjU3OTYyMSwxOS44MjU4OTI5IDM1LjYwMzM0MTYsMjAuMjU0MTIzNSBMMzUuNjIxMTM3MywzNy4zMTg0NzQgWiBNMjEuOTQ4MjczMSw0NyBDMjEuNDA2MzAxMiw0Ni45MzYxNjMgMjEsNDYuNTA3Njk4NyAyMSw0NiBDMjEsNDUuNDkyMzAxMyAyMS40MDYzMDEyLDQ1LjA2MzgzNyAyMS45NDgyNzMxLDQ1IEw0Ni4wNTE3MjY5LDQ1IEM0Ni41OTM2OTg4LDQ1LjA2MzgzNyA0Nyw0NS40OTIzMDEzIDQ3LDQ2IEM0Nyw0Ni41MDc2OTg3IDQ2LjU5MzY5ODgsNDYuOTM2MTYzIDQ2LjA1MTcyNjksNDcgTDIxLjk0ODI3MzEsNDcgWiIgaWQ9IuW9oueKtiIgZmlsbD0iIzAwOTlGRiIgZmlsbC1ydWxlPSJub256ZXJvIj48L3BhdGg+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==) no-repeat;background-size:contain;width:2.8333em;height:2.8333em;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;cursor:pointer}.hqvoice-message-body{-webkit-box-sizing:border-box;box-sizing:border-box;font-size:1em;color:#111f2c;padding:0.625em 0.8333em 0.625em;display:-ms-flexbox;display:flex}.message-item.receiver .hqvoice-message-body{-ms-flex-direction:row;flex-direction:row}.message-item.poster .hqvoice-message-body{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.hqvoice-message-body img{width:1.3333em;height:1.3333em}.message-item.receiver .hqvoice-message-body img{margin:0 1.6em 0 0}.message-item.poster .hqvoice-message-body img{margin:0 0 0 1.6em;-webkit-transform:rotate(180deg);transform:rotate(180deg)}.sight-message-body{max-width:12.5em;position:relative;border-radius:0.5em;border:1px solid #e2e4e5;overflow:hidden}.sight-message-body img{display:block}.sight-message-body .file-duration{font-size:0.8333em;color:#ffffff;position:absolute;line-height:1.166667em;right:0.58333em;bottom:0.416667em;z-index:2}.sight-message-body .start-play-btn{width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;background:rgba(0, 0, 0, 0.2);position:absolute;left:0;top:0;z-index:1;font-size:1em}.sight-message-body .start-play-btn button{background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNzJweCIgaGVpZ2h0PSI3MnB4IiB2aWV3Qm94PSIwIDAgNzIgNzIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+57yW57uEIDEwPC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IjE2X+WNleiBii3lsI/op4bpopHmtojmga8tMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTExMzYuMDAwMDAwLCAtNTAzLjAwMDAwMCkiIGZpbGwtcnVsZT0ibm9uemVybyI+CiAgICAgICAgICAgIDxnIGlkPSLnvJbnu4QtMTEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwMjAuMDAwMDAwLCA0NTEuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICA8ZyBpZD0i57yW57uELTEwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMTYuMDAwMDAwLCA1Mi4wMDAwMDApIj4KICAgICAgICAgICAgICAgICAgICA8Y2lyY2xlIGlkPSLmpK3lnIblvaIiIHN0cm9rZT0iI0ZGRkZGRiIgc3Ryb2tlLXdpZHRoPSIyIiBjeD0iMzYiIGN5PSIzNiIgcj0iMzUiPjwvY2lyY2xlPgogICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0zMS41MzY0NDM1LDIzLjk3NjYzMTkgTDUwLjI0OTU5MiwzNS44NzE1NDI0IEM1MC43MTU2ODUxLDM2LjE2NzgxMTkgNTAuODUzMzU0MywzNi43ODU4MjkgNTAuNTU3MDg0OCwzNy4yNTE5MjIxIEM1MC40NzU2MTIyLDM3LjM4MDA5NTMgNTAuMzY2MDE1MSwzNy40ODgwMjcyIDUwLjIzNjYwOTgsMzcuNTY3NTI4MSBMMzEuNTIzNDYxMyw0OS4wNjQwNTMyIEMzMS4wNTI4ODczLDQ5LjM1MzE1MjkgMzAuNDM3MDUwMiw0OS4yMDYwMzkgMzAuMTQ3OTUwNSw0OC43MzU0NjUgQzMwLjA1MTIxMTcsNDguNTc4MDAxMSAzMCw0OC4zOTY4MDk4IDMwLDQ4LjIxMjAwMzggTDMwLDI0LjgyMDU2ODEgQzMwLDI0LjI2ODI4MzQgMzAuNDQ3NzE1MywyMy44MjA1NjgxIDMxLDIzLjgyMDU2ODEgQzMxLjE5MDAwOTksMjMuODIwNTY4MSAzMS4zNzYwODcyLDIzLjg3NDcwMjMgMzEuNTM2NDQzNSwyMy45NzY2MzE5IFoiIGlkPSLnn6nlvaIiIGZpbGw9IiNGRkZGRkYiPjwvcGF0aD4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+) no-repeat;background-size:contain;width:3em;height:3em;border:none}.gif-message-body img{max-width:30em;display:block}.reference-message-body{padding:0.5833em 0.8333em;min-width:8.333em}.reference-message-body .reference-message-content{border-bottom:1px solid rgba(160, 165, 171, 0.26)}.reference-message-body .reference-message-content .user{font-size:0.83333em;color:#a0a5ab;border-left:0.16667em solid #a0a5ab;padding:0 0 0 0.41666em;height:1.08333em;line-height:1.08333em}.reference-message-body .reference-message-content .content{color:#111f2c;padding:0.41667em 0 0.3em 0.58333em;word-break:break-all}.reference-message-body .reference-message-content .content img{width:2.91667em;height:2.91667em;border-radius:0.25em}.reference-message-body .message-content{color:#111f2c;font-size:1em;padding:0.41667em 0 0 0.05833em;word-break:break-all;position:relative}.rich-message-body{padding:0.58333em 0.83333em}.rich-message-body .title{color:#111f2c;font-size:1em;max-height:4.16667em;line-height:1.41667em;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box}.rich-message-body .content{line-height:1.4;color:#a0a5ab;font-size:0.83333em;overflow:hidden}.rich-message-body .content>p{height:5em;overflow:hidden;text-overflow:ellipsis;word-break:break-all;-webkit-line-clamp:4;-webkit-box-orient:vertical;display:-webkit-box}.rich-message-body .content img{float:right;width:4.6667em;height:4.6667em;overflow:hidden;text-overflow:ellipsis;word-break:break-all;border-radius:0.25em;border:1px solid #979797;margin:0 0 0 1em}.message-item.custom-notify-message-item{text-align:center;display:block;font-size:1.5em}a.url-wrap{color:#0099ff;text-decoration:none}.referenced-message-text{height:1em;line-height:1;overflow:hidden;text-overflow:ellipsis;word-break:keep-all}div.referenced-message-text:hover div{visibility:visible}.quote{position:absolute;top:2em;z-index:100}.quoteContent{width:100%;word-break:break-all;visibility:hidden;padding:0.17em;background:#fff;-webkit-box-shadow:0px 0px 15px 3px rgba(100, 102, 109, 0.19);box-shadow:0px 0px 15px 3px rgba(100, 102, 109, 0.19);border-radius:0.17em;font-size:0.8em;font-family:PingFangSC-Regular, PingFang SC;font-weight:400;color:#111f2c;line-height:1.2}.sendFail{content:' ';display:block;width:1.6667em;height:1.6667em;background-repeat:no-repeat;background-size:contain;position:absolute;left:-2.2em;bottom:0;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjVweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjUgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5oSf5Y+55Y+3PC90aXRsZT4KICAgIDxnIGlkPSLpobXpnaItMSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IjAyX+WNleiBii3ljZXogYrlkJHkuIrmu5rliqjml7YtbG9hZGluZyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEwNC4wMDAwMDAsIC02MzkuMDAwMDAwKSIgZmlsbC1ydWxlPSJub256ZXJvIj4KICAgICAgICAgICAgPGcgaWQ9IuaEn+WPueWPtyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTA0LjQwMDAwMCwgNjM5LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgPHJlY3QgaWQ9IuefqeW9oiIgeD0iMCIgeT0iMCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICA8ZyBpZD0i57yW57uELTI0IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxLjUwMDAwMCwgMS41MDAwMDApIj4KICAgICAgICAgICAgICAgICAgICA8Y2lyY2xlIGlkPSLmpK3lnIblvaIiIGZpbGw9IiNGRjQxNDEiIGN4PSIxMC41IiBjeT0iMTAuNSIgcj0iMTAuNSI+PC9jaXJjbGU+CiAgICAgICAgICAgICAgICAgICAgPHJlY3QgaWQ9IuefqeW9oiIgZmlsbD0iI0ZGRkZGRiIgeD0iOS43NSIgeT0iNS4yNSIgd2lkdGg9IjEuNSIgaGVpZ2h0PSI3LjUiPjwvcmVjdD4KICAgICAgICAgICAgICAgICAgICA8Y2lyY2xlIGlkPSLmpK3lnIblvaIiIGZpbGw9IiNGRkZGRkYiIGN4PSIxMC41IiBjeT0iMTUiIHI9IjEiPjwvY2lyY2xlPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)}",Ro=function(t){xe(n,t);var e=ke(n);function n(){var t;return Ke(this,n),t=e.call(this),t.__registerHost(),t.rightClick=Tt(Ue(t),"rightClick",7),t.tapMessageItem=Tt(Ue(t),"tapMessageItem",7),t.lang=_n.lang,t.lastTime=0,t.tapMessageHandler=t.tapMessageHandler.bind(Ue(t)),t.rightClickHandler=t.rightClickHandler.bind(Ue(t)),t.handleLanguageChanged=t.handleLanguageChanged.bind(Ue(t)),t}return Je(n,[{key:"validateData",value:function(t,e){t!==e&&(this.lastTime=0)}},{key:"componentWillLoad",value:function(){_n.off(_e.LANGUAGE_CHANGED,this.handleLanguageChanged),_n.on(_e.LANGUAGE_CHANGED,this.handleLanguageChanged)}},{key:"disconnectedCallback",value:function(){_n.off(_e.LANGUAGE_CHANGED,this.handleLanguageChanged)}},{key:"handleLanguageChanged",value:function(t){this.lastTime=0,this.lang=t.lang}},{key:"findMember",value:function(t){return this.groupMembers&&this.groupMembers.length?this.groupMembers.find((function(e){return e.id===t})):null}},{key:"getTimeLine",value:function(t,e){return Z("li",{class:"time-separation"},$n(t,{hour:":",minute:""},e))}},{key:"tapMessageHandler",value:function(t){this.tapMessageItem.emit(t.detail)}},{key:"getItem",value:function(t){if(-1!==t.messageType.indexOf("__RECALL"))return null;if(No[t.messageType])return Z("li",{class:"message-item ntf-message-item"},Oo(t));if(_n.isCustomNotifyMessage(t))return Z("li",{class:"message-item custom-notify-message-item",innerHTML:_n.createCustomNotifyMessageDom(t)});var e=t.conversationType===Te["c"].GROUP,n={groupNickname:"",id:"",name:""};if(e){var r=this.findMember(t.senderUserId);r&&(n=r)}return Z("message-item",{member:n,message:t,isGroupMember:e,conversationProfile:this.conversationProfile,myProfile:this.myProfile,onRightClick:this.rightClickHandler,onTap:this.tapMessageHandler})}},{key:"rightClickHandler",value:function(t){this.rightClick.emit(t.detail)}},{key:"checkGroup",value:function(t){var e=this,n=this.messages;return n.map((function(n){return n.sentTime-e.lastTime<3e5?e.getItem(n):(e.lastTime=n.sentTime,Z(Xt,null,e.getTimeLine(n.sentTime,t),e.getItem(n)))}))}},{key:"render",value:function(){this.locale=this.lang?kn[this.lang]:kn.zh_CN;var t=this.locale;return Z("ul",{style:{"list-style":"none",padding:"0",margin:"0"}},this.checkGroup(t))}}],[{key:"watchers",get:function(){return{messages:["validateData"]}}},{key:"style",get:function(){return Do}}]),n}(we(HTMLElement)),Lo=".message-item.image-message-item .message-body,.message-item.sight-message-item .message-body,.message-item.gif-message-item .message-body{background:none;border:none;padding:0}.message-item.image-message-item .message-body .image-message-body img{max-width:10em;min-width:2.5em}.message-item.image-message-item .image-message-body{min-width:2.2222em;min-height:2.2222em;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.message-item.file-message-item .upload-progress-mask{width:1.165em;height:1.165em;min-width:1.165em;top:0.27em;left:0.27em;border-radius:0.1em;background:none}.message-item.file-message-item .upload-progress-mask .upload-progress-bar{width:141.4%;height:141.4%}.message-item.file-message-item .upload-progress-mask .upload-progress-bar svg path{fill:rgba(0, 0, 0, .4)}.message-item .name{color:#a0a5ab;font-size:1.8em;line-height:1;margin:0 0 0 4.5em;position:absolute}.message-body-margin{margin-top:2em}",xo=function(t){xe(n,t);var e=ke(n);function n(){var t;return Ke(this,n),t=e.call(this),t.__registerHost(),t.rightClick=Tt(Ue(t),"rightClick",7),t.tap=Tt(Ue(t),"tap",7),t.lang=_n.lang,t.handleClick=t.handleClick.bind(Ue(t)),t.handleFail=t.handleFail.bind(Ue(t)),t.handleLanguageChanged=t.handleLanguageChanged.bind(Ue(t)),t}return Je(n,[{key:"componentWillLoad",value:function(){_n.off(_e.LANGUAGE_CHANGED,this.handleLanguageChanged),_n.on(_e.LANGUAGE_CHANGED,this.handleLanguageChanged)}},{key:"disconnectedCallback",value:function(){_n.off(_e.LANGUAGE_CHANGED,this.handleLanguageChanged)}},{key:"handleLanguageChanged",value:function(t){this.lang=t.lang}},{key:"getMessageStyleClass",value:function(t){var e,n=(e={},Fe(e,Ce["h"].IMAGE,"image-message-item"),Fe(e,Ce["h"].SIGHT,"sight-message-item"),Fe(e,Ce["h"].GIF,"gif-message-item"),Fe(e,Ce["h"].FILE,"file-message-item"),e);return"".concat(n[t.messageType]||t.messageType," ")}},{key:"rightClickHandler",value:function(t,e){return 2!==e.button?null:(e.preventDefault(),this.rightClick.emit({message:t,position:{top:e.clientY,left:e.clientX}}))}},{key:"getReceivedStatus",value:function(t,e){var n="";return t.messageDirection===Ce["g"].SEND&&t.conversationType===Ce["a"].PRIVATE&&(n=t.receivedStatus===Ce["j"].UNREAD?e.conversation.unread:e.conversation.read),n}},{key:"getProgressBar",value:function(t){return 0===t.messageUId.indexOf("sending")&&t.messageId&&-1!==[Ce["h"].IMAGE,Ce["h"].FILE,Ce["h"].SIGHT,Ce["h"].HQ_VOICE,Ce["h"].GIF].indexOf(t.messageType)?Z("progress-bar",{mId:t.messageId,reverse:t.messageType===Ce["h"].FILE}):null}},{key:"handleClick",value:function(t){this.tap.emit(t)}},{key:"handleFail",value:function(){var t={conversationType:this.message.conversationType,targetId:this.message.targetId,channelId:this.message.channelId};_n.resendMessage(t,this.message)}},{key:"showAvatar",value:function(){return this.isGroupMember?this.member&&this.member.portraitUri?Z("img",{src:this.member.portraitUri}):null:this.message.messageDirection===Ce["g"].RECEIVE?this.conversationProfile?Z("img",{src:this.conversationProfile.portraitUri}):null:this.myProfile?Z("img",{src:this.myProfile.portraitUri}):null}},{key:"showMessage",value:function(){return So[this.message.messageType]?Z(Xt,null,this.message.messageUId.startsWith("fail_")?Z("div",{onClick:this.handleFail,class:"sendFail"}):Z("div",{class:"receive-status"}," ",this.getReceivedStatus(this.message,this.locale)," "),Oo(this.message,this.handleClick),this.getProgressBar(this.message)):_n.isCustomUserMessage(this.message)?Z("div",null,Z("div",{class:"receive-status"}," ",this.getReceivedStatus(this.message,this.locale)," "),Z("div",{innerHTML:_n.createCustomUserMessageDom(this.message)})):null}},{key:"render",value:function(){var t=this;this.locale=this.lang?kn[this.lang]:kn.zh_CN;var e=this.message,n=this.isGroupMember,r=this.member;return So[e.messageType]||_n.isCustomUserMessage(e)?Z("li",{class:"message-item ".concat(this.getMessageStyleClass(e)).concat(e.conversationType===Ce["a"].SYSTEM?"system-user-message-item ":"").concat(e.messageDirection===Ce["g"].RECEIVE?"receiver ":"poster ").concat(e.messageUId.startsWith("sending_")?"sending ":""),key:e.messageUId,"data-key":e.messageUId},Z("div",{class:"avatar"},this.showAvatar()),n&&e.messageDirection===Ce["g"].RECEIVE?Z("div",{class:"name"},Z("span",null,r.groupNickname||r.name||r.id)):null,Z("div",{class:"message-body-wrapper ".concat(n&&e.messageDirection===Ce["g"].RECEIVE?"message-body-margin":""),onContextMenu:function(n){return t.rightClickHandler(e,n)}},e.conversationType===Ce["a"].SYSTEM?Z("div",{class:"name"},Z("span",null,this.conversationProfile.name)):null,Z("div",{class:"message-body"},this.showMessage()))):(Ce["logger"].info(Ae.A_KIT_MESSAGE_UNKNOW_O,{msg:"无法识别的消息",message:e}),null)}}],[{key:"style",get:function(){return Lo}}]),n}(we(HTMLElement)),jo="undefined"!==typeof window,ko=jo&&navigator.userAgent.toLowerCase();if(ko&&/wechatdevtools/.test(ko),ko&&ko.indexOf("android"),function(){if("string"===typeof ko){var t=/os (\d\d?_\d(_\d)?)/,e=t.exec(ko);if(!e)return!1;var n=e[1].split("_").map((function(t){return parseInt(t,10)}));return!!(13===n[0]&&n[1]>=4)}}(),jo){var Po="test-passive";try{var Uo={};Object.defineProperty(Uo,"passive",{get:function(){}}),window.addEventListener(Po,(function(){}),Uo)}catch(Is){}}var zo=function(t,e){for(var n in e)t[n]=e[n];return t},Go=jo&&document.createElement("div").style,Bo=function(){if(!jo)return!1;for(var t=[{key:"standard",value:"transform"},{key:"webkit",value:"webkitTransform"},{key:"Moz",value:"MozTransform"},{key:"O",value:"OTransform"},{key:"ms",value:"msTransform"}],e=0,n=t;e<n.length;e++){var r=n[e];if(void 0!==Go[r.value])return r.key}return!1}();function Yo(t){return!1===Bo?t:"standard"===Bo?"transitionEnd"===t?"transitionend":t:Bo+t.charAt(0).toUpperCase()+t.substr(1)}Bo&&"standard"!==Bo&&Bo.toLowerCase();Yo("transform"),Yo("transition");jo&&Yo("perspective"),Yo("transitionTimingFunction"),Yo("transitionDuration"),Yo("transitionDelay"),Yo("transformOrigin"),Yo("transitionEnd"),Yo("transitionProperty");var Fo={swipe:{style:"cubic-bezier(0.23, 1, 0.32, 1)",fn:function(t){return 1+--t*t*t*t*t}},swipeBounce:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(t){return t*(2-t)}},bounce:{style:"cubic-bezier(0.165, 0.84, 0.44, 1)",fn:function(t){return 1- --t*t*t*t}}},$o="plugins.pullDownRefresh",Ho=[{key:"finishPullDown",name:"finishPullDown"},{key:"openPullDown",name:"openPullDown"},{key:"closePullDown",name:"closePullDown"},{key:"autoPullDownRefresh",name:"autoPullDownRefresh"}],Vo=Ho.map((function(t){return{key:t.key,sourceKey:$o+"."+t.name}})),Qo="pullingDown",Wo="enterThreshold",Zo="leaveThreshold",Ko=function(){function t(t){this.scroll=t,this.pulling=0,this.thresholdBoundary=0,this.init()}return t.prototype.setPulling=function(t){this.pulling=t},t.prototype.setThresholdBoundary=function(t){this.thresholdBoundary=t},t.prototype.init=function(){this.handleBScroll(),this.handleOptions(this.scroll.options.pullDownRefresh),this.handleHooks(),this.watch()},t.prototype.handleBScroll=function(){this.scroll.registerType([Qo,Wo,Zo]),this.scroll.proxy(Vo)},t.prototype.handleOptions=function(t){void 0===t&&(t={}),t=!0===t?{}:t;var e={threshold:90,stop:40};this.options=zo(e,t),this.scroll.options.probeType=3},t.prototype.handleHooks=function(){var t=this;this.hooksFn=[];var e=this.scroll.scroller,n=e.scrollBehaviorY;this.currentMinScrollY=this.cachedOriginanMinScrollY=n.minScrollPos,this.registerHooks(this.scroll.hooks,this.scroll.hooks.eventTypes.contentChanged,(function(){t.finishPullDown()})),this.registerHooks(n.hooks,n.hooks.eventTypes.computeBoundary,(function(e){e.maxScrollPos>0&&(e.maxScrollPos=-1),e.minScrollPos=t.currentMinScrollY})),this.hasMouseWheelPlugin()&&(this.registerHooks(this.scroll,this.scroll.eventTypes.alterOptions,(function(t){var e=300,n=350;t.discreteTime=e,t.easeTime=n})),this.registerHooks(this.scroll,this.scroll.eventTypes.mousewheelEnd,(function(){e.hooks.trigger(e.hooks.eventTypes.end)})))},t.prototype.registerHooks=function(t,e,n){t.on(e,n,this),this.hooksFn.push([t,e,n])},t.prototype.hasMouseWheelPlugin=function(){return!!this.scroll.eventTypes.alterOptions},t.prototype.watch=function(){var t=this.scroll.scroller;this.watching=!0,this.registerHooks(t.hooks,t.hooks.eventTypes.end,this.checkPullDown),this.registerHooks(this.scroll,this.scroll.eventTypes.scrollStart,this.resetStateBeforeScrollStart),this.registerHooks(this.scroll,this.scroll.eventTypes.scroll,this.checkLocationOfThresholdBoundary),this.hasMouseWheelPlugin()&&this.registerHooks(this.scroll,this.scroll.eventTypes.mousewheelStart,this.resetStateBeforeScrollStart)},t.prototype.resetStateBeforeScrollStart=function(){this.isFetchingStatus()||(this.setPulling(1),this.setThresholdBoundary(0))},t.prototype.checkLocationOfThresholdBoundary=function(){if(1===this.pulling){var t=this.scroll,e=1!==this.thresholdBoundary&&this.locateInsideThresholdBoundary(),n=2!==this.thresholdBoundary&&!this.locateInsideThresholdBoundary();e&&(this.setThresholdBoundary(1),t.trigger(Wo)),n&&(this.setThresholdBoundary(2),t.trigger(Zo))}},t.prototype.locateInsideThresholdBoundary=function(){return this.scroll.y<=this.options.threshold},t.prototype.unwatch=function(){var t=this.scroll,e=t.scroller;this.watching=!1,e.hooks.off(e.hooks.eventTypes.end,this.checkPullDown),t.off(t.eventTypes.scrollStart,this.resetStateBeforeScrollStart),t.off(t.eventTypes.scroll,this.checkLocationOfThresholdBoundary),this.hasMouseWheelPlugin()&&t.off(t.eventTypes.mousewheelStart,this.resetStateBeforeScrollStart)},t.prototype.checkPullDown=function(){var t=this.options,e=t.threshold,n=t.stop;return!(this.scroll.y<e)&&(1===this.pulling&&(this.modifyBehaviorYBoundary(n),this.setPulling(2),this.scroll.trigger(Qo)),this.scroll.scrollTo(this.scroll.x,n,this.scroll.options.bounceTime,Fo.bounce),this.isFetchingStatus())},t.prototype.isFetchingStatus=function(){return 2===this.pulling},t.prototype.modifyBehaviorYBoundary=function(t){var e=this.scroll.scroller.scrollBehaviorY;this.cachedOriginanMinScrollY=e.minScrollPos,this.currentMinScrollY=t,e.computeBoundary()},t.prototype.finishPullDown=function(){if(this.isFetchingStatus()){var t=this.scroll.scroller.scrollBehaviorY;this.currentMinScrollY=this.cachedOriginanMinScrollY,t.computeBoundary(),this.setPulling(0),this.scroll.resetPosition(this.scroll.options.bounceTime,Fo.bounce)}},t.prototype.openPullDown=function(t){void 0===t&&(t={}),this.handleOptions(t),this.watching||this.watch()},t.prototype.closePullDown=function(){this.unwatch()},t.prototype.autoPullDownRefresh=function(){var t=this.options,e=t.threshold,n=t.stop;!this.isFetchingStatus()&&this.watching&&(this.modifyBehaviorYBoundary(n),this.scroll.trigger(this.scroll.eventTypes.scrollStart),this.scroll.scrollTo(this.scroll.x,e),this.setPulling(2),this.scroll.trigger(Qo),this.scroll.scrollTo(this.scroll.x,n,this.scroll.options.bounceTime,Fo.bounce))},t.pluginName="pullDownRefresh",t}(),qo='.message-container{width:100%;height:100%;background:#fbfbfc}.message-list-container{height:calc(100% - 10.5em);overflow:hidden;position:relative}.message-list-scroller{min-height:101%}.message-list-wrapper{position:relative;height:100%;overflow:hidden}.conversation-info{border-bottom:0.1em solid #e3e5e6;padding:0 2.5em;height:10.4em;text-align:left}.conversation-info .receiver{padding:0 0 0;color:#333;font-size:2.8em;font-weight:500;line-height:3.714}.message-list{list-style:none;padding:0 1em}.pulldown-wrapper{position:absolute;width:100%;padding:2em;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transform:translateY(-100%) translateZ(0);transform:translateY(-100%) translateZ(0);text-align:center;color:#999;font-size:2em}.message-loading{-webkit-box-sizing:border-box;box-sizing:border-box;text-align:center;color:rgb(153, 153, 153);font-size:2em}.no-data{width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background:#fff}.no-data::before{content:" ";display:block;width:12.8em;height:12.8em;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTI4cHgiIGhlaWdodD0iMTI4cHgiIHZpZXdCb3g9IjAgMCAxMjggMTI4IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPHRpdGxlPue8uuecgWljb248L3RpdGxlPgogICAgPGcgaWQ9Iumhtemdoi0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iMDJf5Lya6K+d5YiX6KGo5Li656m6IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTYwLjAwMDAwMCwgLTM1NC4wMDAwMDApIj4KICAgICAgICAgICAgPGcgaWQ9Iue8uuecgWljb24iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE2MC4wMDAwMDAsIDM1NC4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSLnn6nlvaIiIHg9IjAiIHk9IjAiIHdpZHRoPSIxMjgiIGhlaWdodD0iMTI4Ij48L3JlY3Q+CiAgICAgICAgICAgICAgICA8ZyBpZD0iYmVsbHMtKDEpIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzLjAwMDAwMCwgMTEuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICAgICAgPGNpcmNsZSBpZD0iT3ZhbC0yMDMiIHN0cm9rZS1vcGFjaXR5PSIwLjQiIHN0cm9rZT0iI0EzQjFCRiIgc3Ryb2tlLXdpZHRoPSIyIiBjeD0iMjAuNSIgY3k9IjMuNSIgcj0iMy41Ij48L2NpcmNsZT4KICAgICAgICAgICAgICAgICAgICA8Y2lyY2xlIGlkPSJPdmFsLTIwM+Wkh+S7vSIgc3Ryb2tlLW9wYWNpdHk9IjAuNCIgc3Ryb2tlPSIjQTNCMUJGIiBzdHJva2Utd2lkdGg9IjEuODI0IiBjeD0iMTA4IiBjeT0iMjMiIHI9IjIiPjwvY2lyY2xlPgogICAgICAgICAgICAgICAgICAgIDxwYXRoIGQ9Ik0xMTcuNSw0NSBDMTE4LjA0ODAyMSw0NSAxMTguNDkyMjc5LDQ1LjQ0NDI1ODYgMTE4LjQ5MjI3OSw0NS45OTIyNzkzIEwxMTguNDkyLDQ4LjM2OCBMMTIxLDQ4LjM2ODM0NyBDMTIxLjU1MjI4NSw0OC4zNjgzNDcgMTIyLDQ4LjgxNjA2MjMgMTIyLDQ5LjM2ODM0NyBDMTIyLDQ5LjkyMDYzMTggMTIxLjU1MjI4NSw1MC4zNjgzNDcgMTIxLDUwLjM2ODM0NyBMMTE4LjQ5Miw1MC4zNjggTDExOC40OTIyNzksNTMuMDc3NzQ4MSBDMTE4LjQ5MjI3OSw1My42MjU3Njg4IDExOC4wNDgwMjEsNTQuMDcwMDI3NCAxMTcuNSw1NC4wNzAwMjc0IEMxMTYuOTUxOTc5LDU0LjA3MDAyNzQgMTE2LjUwNzcyMSw1My42MjU3Njg4IDExNi41MDc3MjEsNTMuMDc3NzQ4MSBMMTE2LjUwNyw1MC4zNjggTDExNCw1MC4zNjgzNDcgQzExMy40NDc3MTUsNTAuMzY4MzQ3IDExMyw0OS45MjA2MzE4IDExMyw0OS4zNjgzNDcgQzExMyw0OC44MTYwNjIzIDExMy40NDc3MTUsNDguMzY4MzQ3IDExNCw0OC4zNjgzNDcgTDExNi41MDcsNDguMzY4IEwxMTYuNTA3NzIxLDQ1Ljk5MjI3OTMgQzExNi41MDc3MjEsNDUuNDQ0MjU4NiAxMTYuOTUxOTc5LDQ1IDExNy41LDQ1IFoiIGlkPSJDb21iaW5lZC1TaGFwZSIgZmlsbC1vcGFjaXR5PSIwLjQiIGZpbGw9IiNBM0IxQkYiPjwvcGF0aD4KICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNNC41LDU5IEM1LjA0ODAyMDcsNTkgNS40OTIyNzkyNSw1OS40NDQyNTg2IDUuNDkyMjc5MjUsNTkuOTkyMjc5MyBMNS40OTIsNjIuMzY4IEw4LDYyLjM2ODM0NyBDOC41NTIyODQ3NSw2Mi4zNjgzNDcgOSw2Mi44MTYwNjIzIDksNjMuMzY4MzQ3IEM5LDYzLjkyMDYzMTggOC41NTIyODQ3NSw2NC4zNjgzNDcgOCw2NC4zNjgzNDcgTDUuNDkyLDY0LjM2OCBMNS40OTIyNzkyNSw2Ny4wNzc3NDgxIEM1LjQ5MjI3OTI1LDY3LjYyNTc2ODggNS4wNDgwMjA3LDY4LjA3MDAyNzQgNC41LDY4LjA3MDAyNzQgQzMuOTUxOTc5Myw2OC4wNzAwMjc0IDMuNTA3NzIwNzUsNjcuNjI1NzY4OCAzLjUwNzcyMDc1LDY3LjA3Nzc0ODEgTDMuNTA3LDY0LjM2OCBMMSw2NC4zNjgzNDcgQzAuNDQ3NzE1MjUsNjQuMzY4MzQ3IDYuNzYzNTM3NTFlLTE3LDYzLjkyMDYzMTggMCw2My4zNjgzNDcgQy02Ljc2MzUzNzUxZS0xNyw2Mi44MTYwNjIzIDAuNDQ3NzE1MjUsNjIuMzY4MzQ3IDEsNjIuMzY4MzQ3IEwzLjUwNyw2Mi4zNjggTDMuNTA3NzIwNzUsNTkuOTkyMjc5MyBDMy41MDc3MjA3NSw1OS40NDQyNTg2IDMuOTUxOTc5Myw1OSA0LjUsNTkgWiIgaWQ9IkNvbWJpbmVkLVNoYXBlLUNvcHkiIGZpbGwtb3BhY2l0eT0iMC40IiBmaWxsPSIjQTNCMUJGIj48L3BhdGg+CiAgICAgICAgICAgICAgICAgICAgPGVsbGlwc2UgaWQ9Ik92YWwtNCIgZmlsbD0iI0RBRTBFNSIgY3g9IjY0IiBjeT0iMTAyLjUiIHJ4PSIyOCIgcnk9IjIuNSI+PC9lbGxpcHNlPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICAgICAgPGcgaWQ9IjI0Z2wtYnViYmxlczciIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE2LjAwMDAwMCwgMjQuMDAwMDAwKSIgZmlsbD0iI0RBRTBFNSIgZmlsbC1ydWxlPSJub256ZXJvIj4KICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNOS43OTE2NjY3LDU5LjIxMDI3NDggQzkuMjcyMjg0NCw1OS4yMTAyNzQ4IDguNzc0MTc0NjMsNTkuMDAyMzM0NSA4LjQwNjkxNTg4LDU4LjYzMjE5ODUgQzguMDM5NjU3MTIsNTguMjYyMDYyNSA3LjgzMzMzMzMsNTcuNzYwMDUwMyA3LjgzMzMzMzMsNTcuMjM2NTk5IEw3LjgzMzMzMzMsNDcuMzY4MjE5OCBDMy41MDkwNjAxOSw0Ny4zNjM0NjA4IDAuMDA0NzIxOTY0NzIsNDMuODMxNjY4IDAsMzkuNDczNTE2NSBMMCw3Ljg5NDcwMzI3IEMwLjAwNDcyMTk2NDcyLDMuNTM2NTUxOCAzLjUwOTA2MDE5LDAuMDA0NzU4OTU4NzggNy44MzMzMzMzLDAgTDU4Ljc1LDAgQzYzLjA3NDI3MzEsMC4wMDQ3NTg5NTg3OCA2Ni41Nzg2MTEzLDMuNTM2NTUxOCA2Ni41ODMzMzMzLDcuODk0NzAzMjcgTDY2LjU4MzMzMzMsMTMuODE1NzMwNyBDNjYuNTgzMzMzMywxNC45MDU3NjE4IDY1LjcwNjU1NzYsMTUuNzg5NDA2NSA2NC42MjUsMTUuNzg5NDA2NSBDNjMuNTQzNDQyNCwxNS43ODk0MDY1IDYyLjY2NjY2NjcsMTQuOTA1NzYxOCA2Mi42NjY2NjY3LDEzLjgxNTczMDcgTDYyLjY2NjY2NjcsNy44OTQ3MDMyNyBDNjIuNjY0MzA1Nyw1LjcxNTYyNzUyIDYwLjkxMjEzNjYsMy45NDk3MzExMSA1OC43NSwzLjk0NzM1MTY4IEw3LjgzMzMzMzMsMy45NDczNTE2OCBDNS42NzExOTY3NywzLjk0OTczMTE2IDMuOTE5MDI3NjgsNS43MTU2Mjc1NiAzLjkxNjY2NjcsNy44OTQ3MDMyNyBMMy45MTY2NjY3LDM5LjQ3MzUxNjUgQzMuOTE5MDI3NjgsNDEuNjUyNTkyMiA1LjY3MTE5Njc3LDQzLjQxODQ4ODYgNy44MzMzMzMzLDQzLjQyMDg2ODEgTDkuNzkxNjY2Nyw0My40MjA4NjgxIEMxMC4zMTEwNDksNDMuNDIwODY4MSAxMC44MDkxNTg3LDQzLjYyODgwODQgMTEuMTc2NDE3NSw0My45OTg5NDQ0IEMxMS41NDM2NzYyLDQ0LjM2OTA4MDQgMTEuNzUsNDQuODcxMDkyNiAxMS43NSw0NS4zOTQ1NDQgTDExLjc1LDUyLjQ3MjAyMjIgTDIwLjE1Njc1NzgsNDMuOTk4Nzg1MSBDMjAuOTIxNjIxOSw0My4yMjc5Mjg4IDIyLjE2MTcxMTQsNDMuMjI3OTI4OSAyMi45MjY1NzU0LDQzLjk5ODc4NTIgQzIzLjY5MTQzOTQsNDQuNzY5NjQxNSAyMy42OTE0Mzk1LDQ2LjAxOTQ0NjUgMjIuOTI2NTc1NSw0Ni43OTAzMDI4IEwxMS4xNzY1NzU1LDU4LjYzMjM1NzggQzEwLjgwOTI1MjIsNTkuMDAyNDc0NCAxMC4zMTEwODExLDU5LjIxMDI3NDggOS43OTE2NjY3LDU5LjIxMDI3NDggTDkuNzkxNjY2Nyw1OS4yMTAyNzQ4IFogTTY0LjA1MjE4NzUsNzQuNDIxNzY0NCBMNzEuMzEwODcyNCw2Ny4xMDQ5NzggTDg2LjE2NjY2NjcsNjcuMTA0OTc4IEM5MC40OTA5Mzk4LDY3LjEwMDIxOTEgOTMuOTk1Mjc4LDYzLjU2ODQyNjIgOTQsNTkuMjEwMjc0OCBMOTQsMjcuNjMxNDYxNiBDOTMuOTk1Mjc4MSwyMy4yNzMzMTAxIDkwLjQ5MDkzOTgsMTkuNzQxNTE3MiA4Ni4xNjY2NjY3LDE5LjczNjc1ODIgTDM1LjI1LDE5LjczNjc1ODIgQzMwLjkyNTcyNjksMTkuNzQxNTE3MiAyNy40MjEzODg2LDIzLjI3MzMxMDEgMjcuNDE2NjY2NywyNy42MzE0NjE2IEwyNy40MTY2NjY3LDU5LjIxMDI3NDggQzI3LjQyMTM4ODcsNjMuNTY4NDI2MiAzMC45MjU3MjY5LDY3LjEwMDIxOTEgMzUuMjUsNjcuMTA0OTc4IEw1NC4wMjI0NjA5LDY3LjEwNDk3OCBMNjEuMjgxNzU3OCw3NC40MjE3NjQ0IEM2MS42NDkwMjk0LDc0Ljc5MTk5NzkgNjIuMTQ3MjA2OSw3NSA2Mi42NjY2NjY3LDc1IEM2My4xODYxMjY0LDc1IDYzLjY4NDMwMzksNzQuNzkxOTk3OSA2NC4wNTE1NzU1LDc0LjQyMTc2NDQgTDY0LjA1MjE4NzUsNzQuNDIxNzY0NCBaIE04Ni4xNjY2NjY3LDIzLjY4NDEwOTkgQzg4LjMyODgwMzMsMjMuNjg2NDg5NCA5MC4wODA5NzI0LDI1LjQ1MjM4NTggOTAuMDgzMzMzMywyNy42MzE0NjE2IEw5MC4wODMzMzMzLDU5LjIxMDI3NDggQzkwLjA4MDk3MjQsNjEuMzg5MzUwNSA4OC4zMjg4MDMzLDYzLjE1NTI0NyA4Ni4xNjY2NjY3LDYzLjE1NzYyNjQgTDcwLjUsNjMuMTU3NjI2NCBDNjkuOTgwNTg1Niw2My4xNTc1NDE5IDY5LjQ4MjQxNDUsNjMuMzY1NDI2NyA2OS4xMTUwOTExLDYzLjczNTU0MzMgTDYyLjY2NjY2NjcsNzAuMjM1MTA0NiBMNTYuMjE4MjQyMiw2My43MzU1NDMzIEM1NS44NTA5MTg4LDYzLjM2NTQyNjcgNTUuMzUyNzQ3Nyw2My4xNTc1NDE5IDU0LjgzMzMzMzMsNjMuMTU3NjI2NCBMMzUuMjUsNjMuMTU3NjI2NCBDMzMuMDg3ODYzNCw2My4xNTUyNDcgMzEuMzM1Njk0Miw2MS4zODkzNTA1IDMxLjMzMzMzMzMsNTkuMjEwMjc0OCBMMzEuMzMzMzMzMywyNy42MzE0NjE2IEMzMS4zMzU2OTQyLDI1LjQ1MjM4NTggMzMuMDg3ODYzNCwyMy42ODY0ODkzIDM1LjI1LDIzLjY4NDEwOTkgTDg2LjE2NjY2NjcsMjMuNjg0MTA5OSBaIiBpZD0i5b2i54q2Ij48L3BhdGg+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==);margin:0 0 1em}.no-data span{font-size:2.2em}.typing-status{position:absolute;bottom:20px;left:20px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;width:40px}.typing-status span{display:block;width:6px;height:6px;border-radius:50%;background:#111f2c}.typing-status span:nth-child(1){opacity:90%;-webkit-animation:animatedBackground_0 1s linear infinite;animation:animatedBackground_0 1s linear infinite}.typing-status span:nth-child(2){opacity:40%;-webkit-animation:animatedBackground_1 1s linear infinite;animation:animatedBackground_1 1s linear infinite}.typing-status span:nth-child(3){opacity:20%;-webkit-animation:animatedBackground_2 1s linear infinite;animation:animatedBackground_2 1s linear infinite}@-webkit-keyframes animatedBackground_0{0%{opacity:90%}33.33%{opacity:20%}66.66%{opacity:40%}100%{opacity:90%}}@keyframes animatedBackground_0{0%{opacity:90%}33.33%{opacity:20%}66.66%{opacity:40%}100%{opacity:90%}}@-webkit-keyframes animatedBackground_1{0%{opacity:40%}33.33%{opacity:90%}66.66%{opacity:20%}100%{opacity:40%}}@keyframes animatedBackground_1{0%{opacity:40%}33.33%{opacity:90%}66.66%{opacity:20%}100%{opacity:40%}}@-webkit-keyframes animatedBackground_2{0%{opacity:20%}33.33%{opacity:40%}66.66%{opacity:90%}100%{opacity:20%}}@keyframes animatedBackground_2{0%{opacity:20%}33.33%{opacity:40%}66.66%{opacity:90%}100%{opacity:20%}}';_i.use(Ko),_i.use(Ki);var Jo=70,Xo=56,ts=function(t){xe(n,t);var e=ke(n);function n(){var t;return Ke(this,n),t=e.call(this),t.__registerHost(),Jt(Ue(t)),t.tapMessage=Tt(Ue(t),"tapMessage",7),t.baseSize="16px",t.disableMenu=[],t.messages=[],t.hasMore=!0,t.beforePullDown=!0,t.isPullingDown=!1,t.isLoading=!1,t.lang=_n.lang,t.groupMembers=[],t.isGetHistory=!1,t.scrollWrapper=null,t.lastPosition=0,t.handleSwitchConversation=t.handleSwitchConversation.bind(Ue(t)),t.handleMessages=t.handleMessages.bind(Ue(t)),t.pullingDownHandler=t.pullingDownHandler.bind(Ue(t)),t.handleReceiptRequest=t.handleReceiptRequest.bind(Ue(t)),t.handleSelectMessage=t.handleSelectMessage.bind(Ue(t)),t.handleUpdateMessage=t.handleUpdateMessage.bind(Ue(t)),t.handleDeleteMessage=t.handleDeleteMessage.bind(Ue(t)),t.tapMessageHandler=t.tapMessageHandler.bind(Ue(t)),t.handleTypingStatus=t.handleTypingStatus.bind(Ue(t)),t.handleMouseLeave=t.handleMouseLeave.bind(Ue(t)),t.handleLanguageChanged=t.handleLanguageChanged.bind(Ue(t)),t.handleUserInfoChanged=t.handleUserInfoChanged.bind(Ue(t)),t.handleGroupInfoChanged=t.handleGroupInfoChanged.bind(Ue(t)),t.handleConversationInfoChanged=t.handleConversationInfoChanged.bind(Ue(t)),_n.on(_e.CONNECTED,(function(e){t.isConnect=e,t.isConnect?t.updateMyProfile():t.myProfile=null})),t}return Je(n,[{key:"updateMyProfile",value:function(){var t=this;_n.getMyProfile().then((function(e){t.myProfile=e}))}},{key:"updateMessageList",value:function(t){var e=this,n=t||_n.currentConversation;n&&n!==this.conversation&&_n.getConversation(n).then((function(t){t&&e.loadData(t)}))}},{key:"componentWillLoad",value:function(){_n.on(_e.SWITCH_CONVERSATION,this.handleSwitchConversation),_n.on(_e.MESSAGES,this.handleMessages),_n.on(_e.MESSAGE_RECEIPT_REQUEST,this.handleReceiptRequest),_n.on(_e.UPDATE_MESSAGE,this.handleUpdateMessage),_n.on(_e.DELETE_MESSAGE,this.handleDeleteMessage),_n.on(_e.MESSAGE_SEND_SUCCESS,this.handleUpdateMessage),_n.on(_e.MESSAGE_SEND_FAIL,this.handleUpdateMessage),_n.on(_e.TYPING_STATUS,this.handleTypingStatus),_n.on(_e.LANGUAGE_CHANGED,this.handleLanguageChanged),_n.on(_e.USER_INFO_CHANGED,this.handleUserInfoChanged),_n.on(_e.GROUP_INFO_CHANGED,this.handleGroupInfoChanged),_n.on(_e.CONVERSATION_INFO_CHANGED,this.handleConversationInfoChanged)}},{key:"componentDidLoad",value:function(){var t=this;this.scrollWrapper&&this.mountScroller(),document.addEventListener("visibilitychange",(function(){"visible"===document.visibilityState&&t.bscroll&&setTimeout((function(){t.bscroll.refresh(),t.bscroll.scrollTo(0,t.bscroll.maxScrollY)}),100)})),_n.currentConversation&&this.handleSwitchConversation(_n.currentConversation)}},{key:"disconnectedCallback",value:function(){this.bscroll&&(this.bscroll.off("pullingDown",this.pullingDownHandler),this.bscroll.destroy()),_n.off(_e.SWITCH_CONVERSATION,this.handleSwitchConversation),_n.off(_e.MESSAGES,this.handleMessages),_n.off(_e.MESSAGE_RECEIPT_REQUEST,this.handleReceiptRequest),_n.off(_e.UPDATE_MESSAGE,this.handleUpdateMessage),_n.off(_e.DELETE_MESSAGE,this.handleDeleteMessage),_n.off(_e.MESSAGE_SEND_SUCCESS,this.handleUpdateMessage),_n.off(_e.MESSAGE_SEND_FAIL,this.handleUpdateMessage),_n.off(_e.TYPING_STATUS,this.handleTypingStatus),_n.off(_e.LANGUAGE_CHANGED,this.handleLanguageChanged),_n.off(_e.USER_INFO_CHANGED,this.handleUserInfoChanged),_n.off(_e.GROUP_INFO_CHANGED,this.handleGroupInfoChanged),_n.off(_e.CONVERSATION_INFO_CHANGED,this.handleConversationInfoChanged)}},{key:"componentDidUpdate",value:function(){this.isGetHistory&&(this.bscroll&&(this.bscroll.refresh(),this.bscroll.scrollTo(0,Math.min(0,this.lastPosition+this.bscroll.maxScrollY))),this.isGetHistory=!1)}},{key:"mountScroller",value:function(){var t=this;this.scrollWrapper&&(this.bscroll=new _i(this.scrollWrapper,{bindToWrapper:!0,mouseWheel:{throttleTime:30},scrollX:!1,scrollY:!0,pullDownRefresh:{threshold:Jo,stop:Xo},bounce:{top:!0,bottom:!1,left:!1,right:!1},preventDefaultException:{className:/((hqvoice|sight|image|richContent)-message-body)|file-download-btn/}}),this.bscroll.on("pullingDown",this.pullingDownHandler),this.bscroll.scroller.actionsHandler.wrapperEventRegister.events.forEach((function(e){var n=e;"mousedown"===n.name&&(n.handler=to.bind(t.bscroll.scroller.actionsHandler))})),setTimeout((function(){t.bscroll.refresh(),t.bscroll.scrollTo(0,t.bscroll.maxScrollY)}),600))}},{key:"pullingDownHandler",value:function(){var t=this;if(this.lastPosition=-this.bscroll.maxScrollY,!this.hasMore)return this.beforePullDown=!0,this.isPullingDown=!1,void this.bscroll.finishPullDown();this.beforePullDown=!1,this.isPullingDown=!0;var e=Date.now();this.messages.length&&(e=this.messages[0].sentTime),this.isConnect&&_n.getMessages({conversationType:this.conversation.conversationType,targetId:this.conversation.targetId,channelId:this.conversation.channelId},e,30).then((function(e){return e.list.length?e.list[0].conversationType!==t.conversation.conversationType||e.list[0].targetId!==t.conversation.targetId||e.list[0].channelId!==t.conversation.channelId?(t.beforePullDown=!0,t.isPullingDown=!1,void t.bscroll.finishPullDown()):void setTimeout((function(){t.messages=e.list.concat(t.messages),t.hasMore=e.hasMore,t.beforePullDown=!0,t.isPullingDown=!1,setTimeout((function(){t.bscroll.refresh()}),100),t.bscroll.finishPullDown(),t.isGetHistory=!0}),600):(t.hasMore=e.hasMore,t.beforePullDown=!0,t.isPullingDown=!1,void t.bscroll.finishPullDown())}))}},{key:"handleSwitchConversation",value:function(t){if(!t)return this.conversation=null,void(this.bscroll=null);this.hasMore=!0,this.bscroll||this.mountScroller(),this.isPullingDown=!1,this.beforePullDown=!0,this.messages&&(this.messages=[]),this.updateMessageList(t)}},{key:"loadData",value:function(t){var e=this;this.conversation=t.conversation,this.conversationProfile=t.profile,this.conversation.conversationType===Ce["a"].GROUP?_n.getGroupMembers(this.conversation).then((function(t){e.groupMembers=$e(t),e.getMessages()})):(this.groupMembers=null,this.getMessages())}},{key:"getMessages",value:function(){var t=this;return this.isLoading=!0,_n.getMessages({conversationType:this.conversation.conversationType,targetId:this.conversation.targetId,channelId:this.conversation.channelId}).then((function(e){if(t.isLoading=!1,t.messages=e.list,t.hasMore=e.hasMore,t.messages.length&&(t.bscroll?setTimeout((function(){t.bscroll.refresh(),t.bscroll.scrollTo(0,t.bscroll.maxScrollY)}),600):setTimeout((function(){t.mountScroller()}),100)),t.conversation.unreadMessageCount){var n=t.messages[t.messages.length-1];n&&t.sendReadReceipt(n)}}))}},{key:"handleMessages",value:function(t){var e=this;if(t.length&&this.conversation&&nn(t[0],this.conversation)){var n=function(){var n=[].concat($e(e.messages),$e(t));e.messages=n,e.bscroll||e.mountScroller(),e.bscroll.y<e.bscroll.maxScrollY+30?setTimeout((function(){e.bscroll.refresh(),e.bscroll.scrollTo(0,e.bscroll.maxScrollY)}),100):setTimeout((function(){e.bscroll.refresh()}),100);var r=n[n.length-1];r&&e.sendReadReceipt(r)};this.conversation.conversationType===Ce["a"].GROUP?_n.getGroupMembers({conversationType:this.conversation.conversationType,targetId:this.conversation.targetId,channelId:this.conversation.channelId}).then((function(t){e.groupMembers=t,n()})):(this.groupMembers=null,n())}}},{key:"sendReadReceipt",value:function(t){_n.clearMessagesUnreadStatus(this.conversation),t&&t.conversationType===Ce["a"].PRIVATE&&Object(Ce["J"])(this.conversation.targetId,t.messageUId,t.sentTime,this.conversation.channelId)}},{key:"handleReceiptRequest",value:function(t){Object(Ce["K"])(t.conversation.targetId,Fe({},t.senderUserId,[t.messageUId]),t.conversation.channelId)}},{key:"handleSelectMessage",value:function(t){var e=t.detail,n=e.message,r=e.position;n.messageUId.startsWith("sending_")||n.messageUId.startsWith("fail_")||(this.selectedMessage=n,this.contextMenuPosition=r)}},{key:"handleUpdateMessage",value:function(t){var e=this,n=this.messages.findIndex((function(e){return t.messageUId===e.messageUId}));-1!==n&&(this.messages[n]=t,this.messages=$e(this.messages),this.bscroll?setTimeout((function(){e.bscroll.refresh()}),100):this.mountScroller())}},{key:"handleDeleteMessage",value:function(t){var e=this;t.forEach((function(t){var n=e.messages.findIndex((function(e){return t.messageUId===e.messageUId}));-1!==n&&e.messages.splice(n,1)})),this.messages=$e(this.messages),this.bscroll?setTimeout((function(){e.bscroll.refresh()}),100):this.mountScroller()}},{key:"tapMessageHandler",value:function(t){this.tapMessage.emit(t.detail)}},{key:"handleMouseLeave",value:function(){this.bscroll&&(this.bscroll.stop(),this.bscroll.scroller.actionsHandler.setInitiated())}},{key:"handleTypingStatus",value:function(t){var e=this,n=t.status||[],r=n.findIndex((function(t){return e.conversation&&nn(t,e.conversation)}));-1!==r&&(this.typingTimer&&(clearTimeout(this.typingTimer),this.typingTimer=null),this.showTypingStatus=!0,this.typingTimer=setTimeout((function(){e.showTypingStatus=!1}),5e3))}},{key:"handleLanguageChanged",value:function(t){this.lang=t.lang}},{key:"handleUserInfoChanged",value:function(t){this.myProfile=t,this.conversation&&this.refreshScroller()}},{key:"handleConversationInfoChanged",value:function(t){this.conversation&&t.conversationType&&t.targetId&&nn(this.conversation,{conversationType:t.conversationType,targetId:t.targetId})&&(this.conversationProfile=t,this.refreshScroller())}},{key:"handleGroupInfoChanged",value:function(t){this.conversation&&(this.groupMembers=t,this.refreshScroller())}},{key:"refreshScroller",value:function(){var t=this;this.bscroll||this.mountScroller(),this.bscroll.y<this.bscroll.maxScrollY+30?setTimeout((function(){t.bscroll.refresh(),t.bscroll.scrollTo(0,t.bscroll.maxScrollY)}),100):setTimeout((function(){t.bscroll.refresh()}),100)}},{key:"render",value:function(){var t=this;this.locale=this.lang?kn[this.lang]:kn.zh_CN;var e=this.conversationProfile,n=this.conversation,r=this.messages,i=this.groupMembers,o=this.myProfile,s=this.locale;return n?Z("div",{class:"message-container",style:{fontSize:this.baseSize}},Z("div",{class:"conversation-info"},Z("div",{class:"receiver"},Z("span",{class:"name"},e?e.name:n.targetId),n.conversationType===Ce["a"].GROUP?Z("span",{class:"count"},"(",null===e||void 0===e?void 0:e.memberCount,")"):null)),Z("div",{class:"message-list-container",onMouseLeave:this.handleMouseLeave},Z("div",{class:"input-tip"}),Z("message-context-menu",{message:this.selectedMessage,position:this.contextMenuPosition,customMenu:this.customMenu,forwardList:this.forwardList,disableMenu:this.disableMenu}),Z("div",{class:"message-loading"},Z("div",{style:{display:this.isLoading?"block":"none"}},Z("span",null,s.message.loading))),Z("div",{class:"message-list-wrapper",ref:function(e){return t.scrollWrapper=e,t.scrollWrapper}},Z("div",{class:"message-list-scroller"},Z("div",{class:"pulldown-wrapper"},Z("div",{style:{display:this.beforePullDown?"block":"none"}},this.hasMore?Z("span",null,s.message.loading):Z("span",null,s.message.noHistory))),Z("div",{class:"message-list"},Z("message-group",{messages:r,groupMembers:i,conversationProfile:e,myProfile:o,onRightClick:this.handleSelectMessage,onTapMessageItem:this.tapMessageHandler})))),Z("div",{class:"typing-status",style:{display:this.showTypingStatus?"flex":"none"}},Z("span",null),Z("span",null),Z("span",null)))):Z("div",{class:"no-data",style:{fontSize:this.baseSize}},Z("span",null,s.message.noData))}}],[{key:"style",get:function(){return qo}}]),n}(we(HTMLElement)),es=".upload-progress-mask{width:100%;height:100%;position:absolute;top:0;left:0;background:rgba(0, 0, 0, 0.4);font-size:72px;min-width:2.2222em;min-height:1em;overflow:hidden}.upload-progress-bar{position:absolute;width:1em;height:1em;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.upload-progress-bar svg{fill:#ffffff}";function ns(t,e){var n="http://www.w3.org/2000/svg",r=document.createElementNS(n,t);return Object.keys(e).forEach((function(t){Object.prototype.hasOwnProperty.call(e,t)&&r.setAttribute(t,e[t])})),r}var rs=function(t){xe(n,t);var e=ke(n);function n(){var t;return Ke(this,n),t=e.call(this),t.__registerHost(),t.reverse=!1,t.handleUploadProgress=t.handleUploadProgress.bind(Ue(t)),t}return Je(n,[{key:"componentWillLoad",value:function(){_n.on(_e.UPLOAD_PROGRESS,this.handleUploadProgress)}},{key:"disconnectedCallback",value:function(){_n.off(_e.UPLOAD_PROGRESS,this.handleUploadProgress)}},{key:"drawPath",value:function(t){var e=t;e=e||0;var n,r=146,i=150,o=150,s=i+Math.sin(Math.PI/180*e)*r,a=o-Math.cos(Math.PI/180*e)*r;n=this.reverse?e<=180?"M".concat(i," ").concat(o-r,"A").concat(r," ").concat(r," 0 0 0 ").concat(i," ").concat(o+r,"A").concat(r," ").concat(r," 0 0 0 ").concat(s," ").concat(a,"L").concat(i," ").concat(o," L").concat(i," ").concat(o-r,"Z"):"M".concat(i," ").concat(o-r,"A").concat(r," ").concat(r," 0 0 0 ").concat(s," ").concat(a,"L").concat(i," ").concat(o," L").concat(i," ").concat(o-r,"Z"):e<=180?"M".concat(i," ").concat(o-r,"A").concat(r," ").concat(r," 0 0 1 ").concat(s," ").concat(a,"L").concat(i," ").concat(o," L").concat(i," ").concat(o-r,"Z"):"M".concat(i," ").concat(o-r,"A").concat(r," ").concat(r," 0 0 1 ").concat(i," ").concat(o+r,"A").concat(r," ").concat(r," 0 0 1 ").concat(s," ").concat(a,"L").concat(i," ").concat(o," L").concat(i," ").concat(o-r,"Z");var c=ns("path",{fill:"rgba(255, 255, 255, 1)",d:n});while(this.svg.childNodes.length>1)this.svg.removeChild(this.svg.childNodes[1]);this.svg.appendChild(c)}},{key:"handleUploadProgress",value:function(t){this.mId===t.messageId&&this.drawPath(3.6*t.progress)}},{key:"render",value:function(){var t=this;return Z("div",{class:"upload-progress-mask"},Z("div",{class:"upload-progress-bar"},Z("svg",{ref:function(e){return t.svg=e,t.svg},id:"svg",xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 300 300"},Z("circle",{xmlns:"http://www.w3.org/2000/svg",cx:"150",cy:"150",r:"148",stroke:"#ffffff","stroke-width":"2",fill:"none"}))))}}],[{key:"style",get:function(){return es}}]),n}(we(HTMLElement)),is=".message-reference{position:absolute;-webkit-transform:translateY(calc(-100% - 1px));transform:translateY(calc(-100% - 1px));min-height:4.5em;padding:.83333em .291667em .83333em .83333em;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:2.4em;background:#fff}.message-reference .close-btn{position:absolute;right:.83333em;top:.83333em;width:1.33333em;height:0;padding-top:1.33333em;overflow:hidden;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMzJweCIgaGVpZ2h0PSIzMnB4IiB2aWV3Qm94PSIwIDAgMzIgMzIiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5YWzICDpl63lpIfku708L3RpdGxlPgogICAgPGcgaWQ9Iumhtemdoi0xIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iMTBf5Y2V6IGKLeW8leeUqOa2iOaBr+agt+W8jyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEzODkuMDAwMDAwLCAtNTkyLjAwMDAwMCkiIGZpbGwtcnVsZT0ibm9uemVybyI+CiAgICAgICAgICAgIDxnIGlkPSLlhbMtLemXreWkh+S7vSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTM4OS4wMDAwMDAsIDU5Mi4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxyZWN0IGlkPSLnn6nlvaIiIGZpbGw9IiMwMDAwMDAiIG9wYWNpdHk9IjAiIHg9IjAiIHk9IjAiIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiI+PC9yZWN0PgogICAgICAgICAgICAgICAgPHBhdGggZD0iTTE3LjcxNzk4NzEsMTYuMjg0MjcxMiBMMjYuNzc3NTg3OSw3LjIyNDY3MDQxIEMyNy4yMzQ4OTM4LDYuNzY3MzY0NSAyNy4yMzQ4OTM4LDYuMDEzNDI3NzMgMjYuNzc3NTg3OSw1LjU1NjEyMTgzIEwyNi43MjgxNDk0LDUuNTA2NjgzMzUgQzI2LjI3MDg0MzUsNS4wNDkzNzc0NCAyNS41MTY5MDY3LDUuMDQ5Mzc3NDQgMjUuMDU5NjAwOCw1LjUwNjY4MzM1IEwxNiwxNC41Nzg2NDM4IEw2Ljk0MDM5OTE3LDUuNTA2NjgzMzUgQzYuNDgzMDkzMjYsNS4wNDkzNzc0NCA1LjcyOTE1NjQ5LDUuMDQ5Mzc3NDQgNS4yNzE4NTA1OSw1LjUwNjY4MzM1IEw1LjIyMjQxMjExLDUuNTU2MTIxODMgQzQuNzUyNzQ2NTgsNi4wMTM0Mjc3MyA0Ljc1Mjc0NjU4LDYuNzY3MzY0NSA1LjIyMjQxMjExLDcuMjI0NjcwNDEgTDE0LjI4MjAxMjksMTYuMjg0MjcxMiBMNS4yMjI0MTIxMSwyNS4zNDM4NzIxIEM0Ljc2NTEwNjIsMjUuODAxMTc4IDQuNzY1MTA2MiwyNi41NTUxMTQ3IDUuMjIyNDEyMTEsMjcuMDEyNDIwNyBMNS4yNzE4NTA1OSwyNy4wNjE4NTkxIEM1LjcyOTE1NjQ5LDI3LjUxOTE2NSA2LjQ4MzA5MzI2LDI3LjUxOTE2NSA2Ljk0MDM5OTE3LDI3LjA2MTg1OTEgTDE2LDE4LjAwMjI1ODMgTDI1LjA1OTYwMDgsMjcuMDYxODU5MSBDMjUuNTE2OTA2NywyNy41MTkxNjUgMjYuMjcwODQzNSwyNy41MTkxNjUgMjYuNzI4MTQ5NCwyNy4wNjE4NTkxIEwyNi43Nzc1ODc5LDI3LjAxMjQyMDcgQzI3LjIzNDg5MzgsMjYuNTU1MTE0NyAyNy4yMzQ4OTM4LDI1LjgwMTE3OCAyNi43Nzc1ODc5LDI1LjM0Mzg3MjEgTDE3LjcxNzk4NzEsMTYuMjg0MjcxMiBaIiBpZD0i6Lev5b6EIiBmaWxsPSIjQTBBNUFCIj48L3BhdGg+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==) no-repeat;background-size:contain;border:none;cursor:pointer}.message-reference .message-body{border-left:0.08333em solid #E3E5E6;padding:0 0 0 0.83333em;height:100%}.message-reference .content{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-reference .content .reference-image{width:100%;height:2.92em}.message-reference .content .reference-image img{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}",os=function(t){xe(n,t);var e=ke(n);function n(){var t;return Ke(this,n),t=e.call(this),t.__registerHost(),t.close=Tt(Ue(t),"close",7),t.lang=_n.lang,t.closeReference=t.closeReference.bind(Ue(t)),t.handleInfoChanged=t.handleInfoChanged.bind(Ue(t)),t}return Je(n,[{key:"validateData",value:function(){this.referenceMessage?this.handleReferenceMessage(this.referenceMessage.message):this.closeReference()}},{key:"componentWillLoad",value:function(){_n.on(_e.GROUP_INFO_CHANGED,this.handleInfoChanged),_n.on(_e.USER_INFO_CHANGED,this.handleInfoChanged),_n.on(_e.CONVERSATION_INFO_CHANGED,this.handleInfoChanged)}},{key:"disconnectedCallback",value:function(){_n.off(_e.GROUP_INFO_CHANGED,this.handleInfoChanged),_n.off(_e.USER_INFO_CHANGED,this.handleInfoChanged),_n.off(_e.CONVERSATION_INFO_CHANGED,this.handleInfoChanged)}},{key:"handleInfoChanged",value:function(){this.referenceMessage&&this.handleReferenceMessage(this.referenceMessage.message)}},{key:"closeReference",value:function(){this.name="",this.content="",this.close.emit()}},{key:"handleReferenceMessage",value:function(t){var e,n=this,r={conversationType:t.conversationType,targetId:t.targetId,channelId:t.channelId};e=t.conversationType===Ce["a"].GROUP?_n.getGroupMemberProfile(r,t.senderUserId).then((function(e){return e?e.groupNickname||e.name:t.senderUserId})):t.senderUserId===Object(Ce["u"])()?_n.getMyProfile().then((function(e){return e.displayName||e.name||t.senderUserId})):_n.getConversationProfile(r).then((function(e){return e?e.displayName||e.name:t.senderUserId})),e&&e.then((function(e){switch(n.name=e,t.messageType){case Ce["h"].TEXT:n.content=t.content.content;break;case Ce["h"].IMAGE:n.content=Z("div",{class:"reference-image"},Z("img",{src:Yn(t.content.content)}));break;case Ce["h"].FILE:n.content="[".concat(n.locale.conversation.file,"]").concat(t.content.name);break;case Ce["h"].GIF:n.content=Z("img",{src:t.content.remoteUrl});break;case Ce["h"].HQ_VOICE:n.content="[".concat(n.locale.conversation.file,"]");break;case Ce["h"].SIGHT:n.content=Z("img",{src:t.content.content});break;case Ce["h"].RICH_CONTENT:n.content=t.content.title;break;case Ce["h"].REFERENCE:n.content=t.content.content||"";break;default:n.content="[".concat(n.locale.other.unKnowMessage,"]");break}}))}},{key:"componentShouldUpdate",value:function(){return!(!this.name&&!this.content)}},{key:"render",value:function(){this.locale=this.lang?kn[this.lang]:kn.zh_CN;var t=this.name,e=this.content;return t&&e?Z("div",{class:"message-reference"},Z("div",{class:"message-body"},Z("div",{class:"name"},this.name,":"),Z("div",{class:"content"},this.content)),Z("button",{class:"close-btn",onClick:this.closeReference},"关闭")):null}}],[{key:"watchers",get:function(){return{referenceMessage:["validateData"]}}},{key:"style",get:function(){return is}}]),n}(we(HTMLElement)),ss=qt(Un,[1,"content-editor",{conversation:[16],value:[16],memberListVisible:[32],targetRect:[32],hasContent:[32],locale:[32],lang:[32]}]),as=qt(Gn,[0,"conversation-context-menu",{position:[16],visible:[4],topStatus:[4,"top-status"],notificationStatus:[4,"notification-status"],customMenu:[16],disableMenu:[16],conversation:[16],locale:[32],lang:[32]}]),cs=qt(Kn,[0,"conversation-item",{data:[16],isHover:[4,"is-hover"],draft:[32],locale:[32],lang:[32]}]),us=qt(no,[1,"conversation-list",{baseSize:[1,"base-size"],userBackground:[1,"user-background"],customMenu:[16],disableMenu:[16],currentConversation:[32],isPullUpLoad:[32],data:[32],locale:[32],lang:[32],contextMenuData:[32]}]),ls=qt(io,[0,"member-list",{conversation:[16],visible:[4],targetRect:[16],memberList:[32],position:[32],locale:[32],lang:[32]}]),fs=qt(so,[0,"message-context-menu",{position:[16],message:[16],customMenu:[16],disableMenu:[16],forwardList:[16],visible:[32],locale:[32],lang:[32],isShowForward:[32],msgType:[32]}]),hs=qt(co,[0,"message-editor",{baseSize:[1,"base-size"],conversation:[32],hasContent:[32],referenceMessage:[32],showMemberList:[32],draft:[32],isError:[32],locale:[32],lang:[32]}]),ds=qt(Ro,[0,"message-group",{messages:[16],groupMembers:[16],conversationProfile:[16],myProfile:[16],locale:[32],lang:[32]}]),ps=qt(xo,[0,"message-item",{message:[16],member:[16],isGroupMember:[4,"is-group-member"],conversationProfile:[16],myProfile:[16],locale:[32],lang:[32]}]),gs=qt(ts,[1,"message-list",{baseSize:[1,"base-size"],customMenu:[16],disableMenu:[16],forwardList:[16],conversation:[32],conversationProfile:[32],messages:[32],hasMore:[32],beforePullDown:[32],isPullingDown:[32],isLoading:[32],locale:[32],lang:[32],groupMembers:[32],selectedMessage:[32],contextMenuPosition:[32],showTypingStatus:[32],myProfile:[32]}]),vs=qt(rs,[0,"progress-bar",{mId:[2,"m-id"],reverse:[4]}]),ys=qt(os,[0,"reference-message",{referenceMessage:[16],content:[32],name:[32],locale:[32],lang:[32]}]),ms=function(t){"undefined"!==typeof customElements&&[ss,as,cs,us,ls,fs,hs,ds,ps,gs,vs,ys].forEach((function(e){customElements.get(e.is)||customElements.define(e.is,e,t)}))}},e804:function(t,e,n){"use strict";var r=n("5ca1"),i=n("f1ae");r(r.S+r.F*n("79e5")((function(){function t(){}return!(Array.of.call(t)instanceof t)})),"Array",{of:function(){var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);while(e>t)i(n,t,arguments[t++]);return n.length=e,n}})},e853:function(t,e,n){var r=n("d3f4"),i=n("1169"),o=n("2b4c")("species");t.exports=function(t){var e;return i(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!i(e.prototype)||(e=void 0),r(e)&&(e=e[o],null===e&&(e=void 0))),void 0===e?Array:e}},e956:function(t,e,n){"use strict";var r=n("5ca1"),i=n("c45f"),o=n("4bf8"),s=n("9def"),a=n("d8e8"),c=n("cd1c");r(r.P,"Array",{flatMap:function(t){var e,n,r=o(this);return a(t),e=s(r.length),n=c(r,0),i(n,r,r,e,0,1,t,arguments[1]),n}}),n("9c6c")("flatMap")},e9d2:function(t,e){t.exports=Math.scale||function(t,e,n,r,i){return 0===arguments.length||t!=t||e!=e||n!=n||r!=r||i!=i?NaN:t===1/0||t===-1/0?t:(t-e)*(i-r)/(n-e)+r}},ea8e:function(t,e,n){"use strict";var r=n("a142");function i(t){return/^\d+(\.\d+)?$/.test(t)}function o(t){if(Object(r["c"])(t))return t=String(t),i(t)?t+"px":t}n.d(e,"a",(function(){return o}))},ead6:function(t,e,n){var r=n("f772"),i=n("e4ae"),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n("d864")(Function.call,n("bf0b").f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(i){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},ebd6:function(t,e,n){var r=n("cb7c"),i=n("d8e8"),o=n("2b4c")("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||void 0==(n=r(s)[o])?e:i(n)}},ebde:function(t,e,n){var r=n("11e9"),i=n("5ca1"),o=n("cb7c");i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(o(t),e)}})},ebfd:function(t,e,n){var r=n("62a0")("meta"),i=n("f772"),o=n("07e3"),s=n("d9f6").f,a=0,c=Object.isExtensible||function(){return!0},u=!n("294c")((function(){return c(Object.preventExtensions({}))})),l=function(t){s(t,r,{value:{i:"O"+ ++a,w:{}}})},f=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[r].i},h=function(t,e){if(!o(t,r)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[r].w},d=function(t){return u&&p.NEED&&c(t)&&!o(t,r)&&l(t),t},p=t.exports={KEY:r,NEED:!1,fastKey:f,getWeak:h,onFreeze:d}},ec30:function(t,e,n){"use strict";if(n("9e1e")){var r=n("2d00"),i=n("7726"),o=n("79e5"),s=n("5ca1"),a=n("0f88"),c=n("ed0b"),u=n("9b43"),l=n("f605"),f=n("4630"),h=n("32e9"),d=n("dcbc"),p=n("4588"),g=n("9def"),v=n("09fa"),y=n("77f1"),m=n("6a99"),I=n("69a8"),M=n("23c6"),b=n("d3f4"),_=n("4bf8"),A=n("33a4"),C=n("2aeb"),T=n("38fd"),E=n("9093").f,w=n("27ee"),N=n("ca5a"),S=n("2b4c"),O=n("0a49"),D=n("c366"),R=n("ebd6"),L=n("cadf"),x=n("84f2"),j=n("5cc5"),k=n("7a56"),P=n("36bd"),U=n("ba92"),z=n("86cc"),G=n("11e9"),B=z.f,Y=G.f,F=i.RangeError,$=i.TypeError,H=i.Uint8Array,V="ArrayBuffer",Q="Shared"+V,W="BYTES_PER_ELEMENT",Z="prototype",K=Array[Z],q=c.ArrayBuffer,J=c.DataView,X=O(0),tt=O(2),et=O(3),nt=O(4),rt=O(5),it=O(6),ot=D(!0),st=D(!1),at=L.values,ct=L.keys,ut=L.entries,lt=K.lastIndexOf,ft=K.reduce,ht=K.reduceRight,dt=K.join,pt=K.sort,gt=K.slice,vt=K.toString,yt=K.toLocaleString,mt=S("iterator"),It=S("toStringTag"),Mt=N("typed_constructor"),bt=N("def_constructor"),_t=a.CONSTR,At=a.TYPED,Ct=a.VIEW,Tt="Wrong length!",Et=O(1,(function(t,e){return Dt(R(t,t[bt]),e)})),wt=o((function(){return 1===new H(new Uint16Array([1]).buffer)[0]})),Nt=!!H&&!!H[Z].set&&o((function(){new H(1).set({})})),St=function(t,e){var n=p(t);if(n<0||n%e)throw F("Wrong offset!");return n},Ot=function(t){if(b(t)&&At in t)return t;throw $(t+" is not a typed array!")},Dt=function(t,e){if(!b(t)||!(Mt in t))throw $("It is not a typed array constructor!");return new t(e)},Rt=function(t,e){return Lt(R(t,t[bt]),e)},Lt=function(t,e){var n=0,r=e.length,i=Dt(t,r);while(r>n)i[n]=e[n++];return i},xt=function(t,e,n){B(t,e,{get:function(){return this._d[n]}})},jt=function(t){var e,n,r,i,o,s,a=_(t),c=arguments.length,l=c>1?arguments[1]:void 0,f=void 0!==l,h=w(a);if(void 0!=h&&!A(h)){for(s=h.call(a),r=[],e=0;!(o=s.next()).done;e++)r.push(o.value);a=r}for(f&&c>2&&(l=u(l,arguments[2],2)),e=0,n=g(a.length),i=Dt(this,n);n>e;e++)i[e]=f?l(a[e],e):a[e];return i},kt=function(){var t=0,e=arguments.length,n=Dt(this,e);while(e>t)n[t]=arguments[t++];return n},Pt=!!H&&o((function(){yt.call(new H(1))})),Ut=function(){return yt.apply(Pt?gt.call(Ot(this)):Ot(this),arguments)},zt={copyWithin:function(t,e){return U.call(Ot(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return nt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return P.apply(Ot(this),arguments)},filter:function(t){return Rt(this,tt(Ot(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return rt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return it(Ot(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){X(Ot(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return st(Ot(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return ot(Ot(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return dt.apply(Ot(this),arguments)},lastIndexOf:function(t){return lt.apply(Ot(this),arguments)},map:function(t){return Et(Ot(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return ft.apply(Ot(this),arguments)},reduceRight:function(t){return ht.apply(Ot(this),arguments)},reverse:function(){var t,e=this,n=Ot(e).length,r=Math.floor(n/2),i=0;while(i<r)t=e[i],e[i++]=e[--n],e[n]=t;return e},some:function(t){return et(Ot(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return pt.call(Ot(this),t)},subarray:function(t,e){var n=Ot(this),r=n.length,i=y(t,r);return new(R(n,n[bt]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,g((void 0===e?r:y(e,r))-i))}},Gt=function(t,e){return Rt(this,gt.call(Ot(this),t,e))},Bt=function(t){Ot(this);var e=St(arguments[1],1),n=this.length,r=_(t),i=g(r.length),o=0;if(i+e>n)throw F(Tt);while(o<i)this[e+o]=r[o++]},Yt={entries:function(){return ut.call(Ot(this))},keys:function(){return ct.call(Ot(this))},values:function(){return at.call(Ot(this))}},Ft=function(t,e){return b(t)&&t[At]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},$t=function(t,e){return Ft(t,e=m(e,!0))?f(2,t[e]):Y(t,e)},Ht=function(t,e,n){return!(Ft(t,e=m(e,!0))&&b(n)&&I(n,"value"))||I(n,"get")||I(n,"set")||n.configurable||I(n,"writable")&&!n.writable||I(n,"enumerable")&&!n.enumerable?B(t,e,n):(t[e]=n.value,t)};_t||(G.f=$t,z.f=Ht),s(s.S+s.F*!_t,"Object",{getOwnPropertyDescriptor:$t,defineProperty:Ht}),o((function(){vt.call({})}))&&(vt=yt=function(){return dt.call(this)});var Vt=d({},zt);d(Vt,Yt),h(Vt,mt,Yt.values),d(Vt,{slice:Gt,set:Bt,constructor:function(){},toString:vt,toLocaleString:Ut}),xt(Vt,"buffer","b"),xt(Vt,"byteOffset","o"),xt(Vt,"byteLength","l"),xt(Vt,"length","e"),B(Vt,It,{get:function(){return this[At]}}),t.exports=function(t,e,n,c){c=!!c;var u=t+(c?"Clamped":"")+"Array",f="get"+t,d="set"+t,p=i[u],y=p||{},m=p&&T(p),I=!p||!a.ABV,_={},A=p&&p[Z],w=function(t,n){var r=t._d;return r.v[f](n*e+r.o,wt)},N=function(t,n,r){var i=t._d;c&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[d](n*e+i.o,r,wt)},S=function(t,e){B(t,e,{get:function(){return w(this,e)},set:function(t){return N(this,e,t)},enumerable:!0})};I?(p=n((function(t,n,r,i){l(t,p,u,"_d");var o,s,a,c,f=0,d=0;if(b(n)){if(!(n instanceof q||(c=M(n))==V||c==Q))return At in n?Lt(p,n):jt.call(p,n);o=n,d=St(r,e);var y=n.byteLength;if(void 0===i){if(y%e)throw F(Tt);if(s=y-d,s<0)throw F(Tt)}else if(s=g(i)*e,s+d>y)throw F(Tt);a=s/e}else a=v(n),s=a*e,o=new q(s);h(t,"_d",{b:o,o:d,l:s,e:a,v:new J(o)});while(f<a)S(t,f++)})),A=p[Z]=C(Vt),h(A,"constructor",p)):o((function(){p(1)}))&&o((function(){new p(-1)}))&&j((function(t){new p,new p(null),new p(1.5),new p(t)}),!0)||(p=n((function(t,n,r,i){var o;return l(t,p,u),b(n)?n instanceof q||(o=M(n))==V||o==Q?void 0!==i?new y(n,St(r,e),i):void 0!==r?new y(n,St(r,e)):new y(n):At in n?Lt(p,n):jt.call(p,n):new y(v(n))})),X(m!==Function.prototype?E(y).concat(E(m)):E(y),(function(t){t in p||h(p,t,y[t])})),p[Z]=A,r||(A.constructor=p));var O=A[mt],D=!!O&&("values"==O.name||void 0==O.name),R=Yt.values;h(p,Mt,!0),h(A,At,u),h(A,Ct,!0),h(A,bt,p),(c?new p(1)[It]==u:It in A)||B(A,It,{get:function(){return u}}),_[u]=p,s(s.G+s.W+s.F*(p!=y),_),s(s.S,u,{BYTES_PER_ELEMENT:e}),s(s.S+s.F*o((function(){y.of.call(p,1)})),u,{from:jt,of:kt}),W in A||h(A,W,e),s(s.P,u,zt),k(u),s(s.P+s.F*Nt,u,{set:Bt}),s(s.P+s.F*!D,u,Yt),r||A.toString==vt||(A.toString=vt),s(s.P+s.F*o((function(){new p(1).slice()})),u,{slice:Gt}),s(s.P+s.F*(o((function(){return[1,2].toLocaleString()!=new p([1,2]).toLocaleString()}))||!o((function(){A.toLocaleString.call([1,2])}))),u,{toLocaleString:Ut}),x[u]=D?O:R,r||D||h(A,mt,R)}}else t.exports=function(){}},ec39:function(t,e,n){var r=n("37a7"),i=n("cb7c"),o=r.has,s=r.key;r.exp({hasOwnMetadata:function(t,e){return o(t,i(e),arguments.length<3?void 0:s(arguments[2]))}})},ed0b:function(t,e,n){"use strict";var r=n("7726"),i=n("9e1e"),o=n("2d00"),s=n("0f88"),a=n("32e9"),c=n("dcbc"),u=n("79e5"),l=n("f605"),f=n("4588"),h=n("9def"),d=n("09fa"),p=n("9093").f,g=n("86cc").f,v=n("36bd"),y=n("7f20"),m="ArrayBuffer",I="DataView",M="prototype",b="Wrong length!",_="Wrong index!",A=r[m],C=r[I],T=r.Math,E=r.RangeError,w=r.Infinity,N=A,S=T.abs,O=T.pow,D=T.floor,R=T.log,L=T.LN2,x="buffer",j="byteLength",k="byteOffset",P=i?"_b":x,U=i?"_l":j,z=i?"_o":k;function G(t,e,n){var r,i,o,s=new Array(n),a=8*n-e-1,c=(1<<a)-1,u=c>>1,l=23===e?O(2,-24)-O(2,-77):0,f=0,h=t<0||0===t&&1/t<0?1:0;for(t=S(t),t!=t||t===w?(i=t!=t?1:0,r=c):(r=D(R(t)/L),t*(o=O(2,-r))<1&&(r--,o*=2),t+=r+u>=1?l/o:l*O(2,1-u),t*o>=2&&(r++,o/=2),r+u>=c?(i=0,r=c):r+u>=1?(i=(t*o-1)*O(2,e),r+=u):(i=t*O(2,u-1)*O(2,e),r=0));e>=8;s[f++]=255&i,i/=256,e-=8);for(r=r<<e|i,a+=e;a>0;s[f++]=255&r,r/=256,a-=8);return s[--f]|=128*h,s}function B(t,e,n){var r,i=8*n-e-1,o=(1<<i)-1,s=o>>1,a=i-7,c=n-1,u=t[c--],l=127&u;for(u>>=7;a>0;l=256*l+t[c],c--,a-=8);for(r=l&(1<<-a)-1,l>>=-a,a+=e;a>0;r=256*r+t[c],c--,a-=8);if(0===l)l=1-s;else{if(l===o)return r?NaN:u?-w:w;r+=O(2,e),l-=s}return(u?-1:1)*r*O(2,l-e)}function Y(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function F(t){return[255&t]}function $(t){return[255&t,t>>8&255]}function H(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function V(t){return G(t,52,8)}function Q(t){return G(t,23,4)}function W(t,e,n){g(t[M],e,{get:function(){return this[n]}})}function Z(t,e,n,r){var i=+n,o=d(i);if(o+e>t[U])throw E(_);var s=t[P]._b,a=o+t[z],c=s.slice(a,a+e);return r?c:c.reverse()}function K(t,e,n,r,i,o){var s=+n,a=d(s);if(a+e>t[U])throw E(_);for(var c=t[P]._b,u=a+t[z],l=r(+i),f=0;f<e;f++)c[u+f]=l[o?f:e-f-1]}if(s.ABV){if(!u((function(){A(1)}))||!u((function(){new A(-1)}))||u((function(){return new A,new A(1.5),new A(NaN),A.name!=m}))){A=function(t){return l(this,A),new N(d(t))};for(var q,J=A[M]=N[M],X=p(N),tt=0;X.length>tt;)(q=X[tt++])in A||a(A,q,N[q]);o||(J.constructor=A)}var et=new C(new A(2)),nt=C[M].setInt8;et.setInt8(0,2147483648),et.setInt8(1,2147483649),!et.getInt8(0)&&et.getInt8(1)||c(C[M],{setInt8:function(t,e){nt.call(this,t,e<<24>>24)},setUint8:function(t,e){nt.call(this,t,e<<24>>24)}},!0)}else A=function(t){l(this,A,m);var e=d(t);this._b=v.call(new Array(e),0),this[U]=e},C=function(t,e,n){l(this,C,I),l(t,A,I);var r=t[U],i=f(e);if(i<0||i>r)throw E("Wrong offset!");if(n=void 0===n?r-i:h(n),i+n>r)throw E(b);this[P]=t,this[z]=i,this[U]=n},i&&(W(A,j,"_l"),W(C,x,"_b"),W(C,j,"_l"),W(C,k,"_o")),c(C[M],{getInt8:function(t){return Z(this,1,t)[0]<<24>>24},getUint8:function(t){return Z(this,1,t)[0]},getInt16:function(t){var e=Z(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=Z(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return Y(Z(this,4,t,arguments[1]))},getUint32:function(t){return Y(Z(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return B(Z(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return B(Z(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){K(this,1,t,F,e)},setUint8:function(t,e){K(this,1,t,F,e)},setInt16:function(t,e){K(this,2,t,$,e,arguments[2])},setUint16:function(t,e){K(this,2,t,$,e,arguments[2])},setInt32:function(t,e){K(this,4,t,H,e,arguments[2])},setUint32:function(t,e){K(this,4,t,H,e,arguments[2])},setFloat32:function(t,e){K(this,4,t,Q,e,arguments[2])},setFloat64:function(t,e){K(this,8,t,V,e,arguments[2])}});y(A,m),y(C,I),a(C[M],s.VIEW,!0),e[m]=A,e[I]=C},ed33:function(t,e,n){n("014b"),t.exports=n("584a").Object.getOwnPropertySymbols},ed50:function(t,e,n){"use strict";var r=n("5ca1"),i=n("2e08"),o=n("a25f"),s=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*s,"String",{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},ed7e:function(t,e,n){var r=n("5ca1");r(r.S,"Math",{signbit:function(t){return(t=+t)!=t?t:0==t?1/t==1/0:t>0}})},ee1d:function(t,e,n){var r=n("5ca1");r(r.S,"Number",{isNaN:function(t){return t!=t}})},ee6d:function(t,e,n){var r=n("63b6"),i=n("ba99"),o=n("36c3"),s=n("bf0b"),a=n("20fd");r(r.S,"Object",{getOwnPropertyDescriptors:function(t){var e,n,r=o(t),c=s.f,u=i(r),l={},f=0;while(u.length>f)n=c(r,e=u[f++]),void 0!==n&&a(l,e,n);return l}})},ef5d:function(t,e){var n=Object.prototype.toString;function r(t){return"function"===typeof t.constructor?t.constructor.name:null}function i(t){return Array.isArray?Array.isArray(t):t instanceof Array}function o(t){return t instanceof Error||"string"===typeof t.message&&t.constructor&&"number"===typeof t.constructor.stackTraceLimit}function s(t){return t instanceof Date||"function"===typeof t.toDateString&&"function"===typeof t.getDate&&"function"===typeof t.setDate}function a(t){return t instanceof RegExp||"string"===typeof t.flags&&"boolean"===typeof t.ignoreCase&&"boolean"===typeof t.multiline&&"boolean"===typeof t.global}function c(t,e){return"GeneratorFunction"===r(t)}function u(t){return"function"===typeof t.throw&&"function"===typeof t.return&&"function"===typeof t.next}function l(t){try{if("number"===typeof t.length&&"function"===typeof t.callee)return!0}catch(e){if(-1!==e.message.indexOf("callee"))return!0}return!1}function f(t){return!(!t.constructor||"function"!==typeof t.constructor.isBuffer)&&t.constructor.isBuffer(t)}t.exports=function(t){if(void 0===t)return"undefined";if(null===t)return"null";var e=typeof t;if("boolean"===e)return"boolean";if("string"===e)return"string";if("number"===e)return"number";if("symbol"===e)return"symbol";if("function"===e)return c(t)?"generatorfunction":"function";if(i(t))return"array";if(f(t))return"buffer";if(l(t))return"arguments";if(s(t))return"date";if(o(t))return"error";if(a(t))return"regexp";switch(r(t)){case"Symbol":return"symbol";case"Promise":return"promise";case"WeakMap":return"weakmap";case"WeakSet":return"weakset";case"Map":return"map";case"Set":return"set";case"Int8Array":return"int8array";case"Uint8Array":return"uint8array";case"Uint8ClampedArray":return"uint8clampedarray";case"Int16Array":return"int16array";case"Uint16Array":return"uint16array";case"Int32Array":return"int32array";case"Uint32Array":return"uint32array";case"Float32Array":return"float32array";case"Float64Array":return"float64array"}if(u(t))return"generator";switch(e=n.call(t),e){case"[object Object]":return"object";case"[object Map Iterator]":return"mapiterator";case"[object Set Iterator]":return"setiterator";case"[object String Iterator]":return"stringiterator";case"[object Array Iterator]":return"arrayiterator"}return e.slice(8,-1).toLowerCase().replace(/\s/g,"")}},f0c1:function(t,e,n){"use strict";var r=n("d8e8"),i=n("d3f4"),o=n("31f4"),s=[].slice,a={},c=function(t,e,n){if(!(e in a)){for(var r=[],i=0;i<e;i++)r[i]="a["+i+"]";a[e]=Function("F,a","return new F("+r.join(",")+")")}return a[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=s.call(arguments,1),a=function(){var r=n.concat(s.call(arguments));return this instanceof a?c(e,r.length,r):o(e,r,t)};return i(e.prototype)&&(a.prototype=e.prototype),a}},f1ae:function(t,e,n){"use strict";var r=n("86cc"),i=n("4630");t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},f201:function(t,e,n){var r=n("e4ae"),i=n("79aa"),o=n("5168")("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||void 0==(n=r(s)[o])?e:i(n)}},f386:function(t,e,n){"use strict";n("386b")("small",(function(t){return function(){return t(this,"small","","")}}))},f3a2:function(t,e,n){(function(e){!function(e){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},s=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag",u="object"===typeof t,l=e.regeneratorRuntime;if(l)u&&(t.exports=l);else{l=e.regeneratorRuntime=u?t.exports:{},l.wrap=M;var f="suspendedStart",h="suspendedYield",d="executing",p="completed",g={},v={};v[s]=function(){return this};var y=Object.getPrototypeOf,m=y&&y(y(R([])));m&&m!==r&&i.call(m,s)&&(v=m);var I=C.prototype=_.prototype=Object.create(v);A.prototype=I.constructor=C,C.constructor=A,C[c]=A.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===A||"GeneratorFunction"===(e.displayName||e.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,C):(t.__proto__=C,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(I),t},l.awrap=function(t){return{__await:t}},T(E.prototype),E.prototype[a]=function(){return this},l.AsyncIterator=E,l.async=function(t,e,n,r){var i=new E(M(t,e,n,r));return l.isGeneratorFunction(e)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},T(I),I[c]="Generator",I[s]=function(){return this},I.toString=function(){return"[object Generator]"},l.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){while(e.length){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},l.values=R,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(O),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,i){return a.type="throw",a.arg=t,e.next=r,i&&(e.method="next",e.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var s=this.tryEntries[o],a=s.completion;if("root"===s.tryLoc)return r("end");if(s.tryLoc<=this.prev){var c=i.call(s,"catchLoc"),u=i.call(s,"finallyLoc");if(c&&u){if(this.prev<s.catchLoc)return r(s.catchLoc,!0);if(this.prev<s.finallyLoc)return r(s.finallyLoc)}else if(c){if(this.prev<s.catchLoc)return r(s.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return r(s.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=t,s.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(s)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),O(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;O(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:R(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),g}}}function M(t,e,n,r){var i=e&&e.prototype instanceof _?e:_,o=Object.create(i.prototype),s=new D(r||[]);return o._invoke=w(t,n,s),o}function b(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(r){return{type:"throw",arg:r}}}function _(){}function A(){}function C(){}function T(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function E(t){function n(e,r,o,s){var a=b(t[e],t,r);if("throw"!==a.type){var c=a.arg,u=c.value;return u&&"object"===typeof u&&i.call(u,"__await")?Promise.resolve(u.__await).then((function(t){n("next",t,o,s)}),(function(t){n("throw",t,o,s)})):Promise.resolve(u).then((function(t){c.value=t,o(c)}),s)}s(a.arg)}var r;function o(t,e){function i(){return new Promise((function(r,i){n(t,e,r,i)}))}return r=r?r.then(i,i):i()}"object"===typeof e.process&&e.process.domain&&(n=e.process.domain.bind(n)),this._invoke=o}function w(t,e,n){var r=f;return function(i,o){if(r===d)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return L()}n.method=i,n.arg=o;while(1){var s=n.delegate;if(s){var a=N(s,n);if(a){if(a===g)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var c=b(t,e,n);if("normal"===c.type){if(r=n.done?p:h,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=p,n.method="throw",n.arg=c.arg)}}}function N(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,N(t,e),"throw"===e.method))return g;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var i=b(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,g;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,g):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function O(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function R(t){if(t){var e=t[s];if(e)return e.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){while(++r<t.length)if(i.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=n,e.done=!0,e};return o.next=o}}return{next:L}}function L(){return{value:n,done:!0}}}("object"===typeof e?e:"object"===typeof window?window:"object"===typeof self?self:this)}).call(this,n("c8ba"))},f3e2:function(t,e,n){"use strict";var r=n("5ca1"),i=n("0a49")(0),o=n("2f21")([].forEach,!0);r(r.P+r.F*!o,"Array",{forEach:function(t){return i(this,t,arguments[1])}})},f400:function(t,e,n){"use strict";var r=n("c26b"),i=n("b39a"),o="Map";t.exports=n("e0b8")(o,(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(t){var e=r.getEntry(i(this,o),t);return e&&e.v},set:function(t,e){return r.def(i(this,o),0===t?0:t,e)}},r,!0)},f410:function(t,e,n){n("1af6"),t.exports=n("584a").Array.isArray},f4ff:function(t,e,n){var r=n("5ca1"),i=Math.imul;r(r.S+r.F*n("79e5")((function(){return-5!=i(4294967295,5)||2!=i.length})),"Math",{imul:function(t,e){var n=65535,r=+t,i=+e,o=n&r,s=n&i;return 0|o*s+((n&r>>>16)*s+o*(n&i>>>16)<<16>>>0)}})},f559:function(t,e,n){"use strict";var r=n("5ca1"),i=n("9def"),o=n("d2c8"),s="startsWith",a=""[s];r(r.P+r.F*n("5147")(s),"String",{startsWith:function(t){var e=o(this,t,s),n=i(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return a?a.call(e,r,n):e.slice(n,n+r.length)===r}})},f576:function(t,e,n){"use strict";var r=n("5ca1"),i=n("2e08"),o=n("a25f"),s=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*s,"String",{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},f5df:function(t,e,n){},f605:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},f6b3:function(t,e,n){var r=n("5ca1");r(r.S,"Reflect",{has:function(t,e){return e in t}})},f6b4:function(t,e,n){"use strict";var r=n("c532");function i(){this.handlers=[]}i.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},f751:function(t,e,n){var r=n("5ca1");r(r.S+r.F,"Object",{assign:n("7333")})},f772:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},f893:function(t,e,n){t.exports={default:n("f921"),__esModule:!0}},f904:function(t,e,n){"use strict";var r=n("13d9"),i={"text/plain":"Text","text/html":"Url",default:"Text"},o="Copy to clipboard: #{key}, Enter";function s(t){var e=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return t.replace(/#{\s*key\s*}/g,e)}function a(t,e){var n,a,c,u,l,f,h=!1;e||(e={}),n=e.debug||!1;try{c=r(),u=document.createRange(),l=document.getSelection(),f=document.createElement("span"),f.textContent=t,f.ariaHidden="true",f.style.all="unset",f.style.position="fixed",f.style.top=0,f.style.clip="rect(0, 0, 0, 0)",f.style.whiteSpace="pre",f.style.webkitUserSelect="text",f.style.MozUserSelect="text",f.style.msUserSelect="text",f.style.userSelect="text",f.addEventListener("copy",(function(r){if(r.stopPropagation(),e.format)if(r.preventDefault(),"undefined"===typeof r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=i[e.format]||i["default"];window.clipboardData.setData(o,t)}else r.clipboardData.clearData(),r.clipboardData.setData(e.format,t);e.onCopy&&(r.preventDefault(),e.onCopy(r.clipboardData))})),document.body.appendChild(f),u.selectNodeContents(f),l.addRange(u);var d=document.execCommand("copy");if(!d)throw new Error("copy command was unsuccessful");h=!0}catch(p){n&&console.error("unable to copy using execCommand: ",p),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(e.format||"text",t),e.onCopy&&e.onCopy(window.clipboardData),h=!0}catch(p){n&&console.error("unable to copy using clipboardData: ",p),n&&console.error("falling back to prompt"),a=s("message"in e?e.message:o),window.prompt(a,t)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(u):l.removeAllRanges()),f&&document.body.removeChild(f),c()}return h}t.exports=a},f921:function(t,e,n){n("014b"),n("c207"),n("69d3"),n("765d"),t.exports=n("584a").Symbol},f9ab:function(t,e,n){var r=n("5ca1"),i=n("96fb");r(r.S,"Math",{cbrt:function(t){return i(t=+t)*Math.pow(Math.abs(t),1/3)}})},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fa83:function(t,e,n){"use strict";n("386b")("blink",(function(t){return function(){return t(this,"blink","","")}}))},fa99:function(t,e,n){n("0293"),t.exports=n("584a").Object.getPrototypeOf},fab2:function(t,e,n){var r=n("7726").document;t.exports=r&&r.documentElement},fb48:function(t,e,n){"use strict";
- /*!
- * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
- *
- * Copyright (c) 2014-2017, Jon Schlinkert.
- * Released under the MIT License.
- */var r=n("a832");function i(t){return!0===r(t)&&"[object Object]"===Object.prototype.toString.call(t)}t.exports=function(t){var e,n;return!1!==i(t)&&(e=t.constructor,"function"===typeof e&&(n=e.prototype,!1!==i(n)&&!1!==n.hasOwnProperty("isPrototypeOf")))}},fca0:function(t,e,n){var r=n("5ca1"),i=n("7726").isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},fd24:function(t,e,n){var r=n("5ca1");r(r.S,"Object",{setPrototypeOf:n("8b97").set})},fd5a:function(t,e,n){n("d0ca"),t.exports=n("8378").RegExp.escape},fde4:function(t,e,n){n("bf90");var r=n("584a").Object;t.exports=function(t,e){return r.getOwnPropertyDescriptor(t,e)}},fdef:function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},fee7:function(t,e,n){"use strict";var r=n("5ca1"),i=n("4bf8"),o=n("d8e8"),s=n("86cc");n("9e1e")&&r(r.P+n("c5b4"),"Object",{__defineSetter__:function(t,e){s.f(i(this),t,{set:o(e),enumerable:!0,configurable:!0})}})},ffc1:function(t,e,n){var r=n("5ca1"),i=n("504c")(!0);r(r.S,"Object",{entries:function(t){return i(t)}})}}]);
|