if(!window.sinaMFE){window.sinaMFE={c:[]}}if(!window.sinaMFE.c){window.sinaMFE.c=[];}window.sinaMFE.c.push({p:"SINA_MFE/channelv4",v:"2.3.91",e:"deploy",c:"/channel/static/js/channel.min"});window.sinaMFE.c["/channel/static/js/channel.min"]=true;var flagconsole = location.href.indexOf("console=1")>=0;!flagconsole&&(console.log=console.info=console.error=console.debug=function(){});!function(t){var e={};function n(i){if(e[i])return e[i].exports;var a=e[i]={i:i,l:!1,exports:{}};return t[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)n.d(i,a,function(e){return t[e]}.bind(null,a));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="./",n(n.s=119)}([function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";function i(t,e){for(var n=0;n=0&&Math.floor(e)===e&&isFinite(t)}function p(t){return a(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function h(t){return null==t?"":Array.isArray(t)||l(t)&&t.toString===c?JSON.stringify(t,null,2):String(t)}function f(t){var e=parseFloat(t);return isNaN(e)?t:e}function m(t,e){for(var n=Object.create(null),i=t.split(","),a=0;a-1)return t.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function w(t,e){return y.call(t,e)}function _(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var b=/-(\w)/g,A=_((function(t){return t.replace(b,(function(t,e){return e?e.toUpperCase():""}))})),x=_((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),C=/\B([A-Z])/g,k=_((function(t){return t.replace(C,"-$1").toLowerCase()}));var S=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function T(t,e){e=e||0;for(var n=t.length-e,i=new Array(n);n--;)i[n]=t[n+e];return i}function E(t,e){for(var n in e)t[n]=e[n];return t}function M(t){for(var e={},n=0;n0,K=X&&X.indexOf("edge/")>0,$=(X&&X.indexOf("android"),X&&/iphone|ipad|ipod|ios/.test(X)||"ios"===Q),Z=(X&&/chrome\/\d+/.test(X),X&&/phantomjs/.test(X),X&&X.match(/firefox\/(\d+)/)),tt={}.watch,et=!1;if(G)try{var nt={};Object.defineProperty(nt,"passive",{get:function(){et=!0}}),window.addEventListener("test-passive",null,nt)}catch(Oa){}var it=function(){return void 0===V&&(V=!G&&!Y&&"undefined"!==typeof t&&(t.process&&"server"===t.process.env.VUE_ENV)),V},at=G&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ot(t){return"function"===typeof t&&/native code/.test(t.toString())}var rt,st="undefined"!==typeof Symbol&&ot(Symbol)&&"undefined"!==typeof Reflect&&ot(Reflect.ownKeys);rt="undefined"!==typeof Set&&ot(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 ct=I,lt=0,ut=function(){this.id=lt++,this.subs=[]};ut.prototype.addSub=function(t){this.subs.push(t)},ut.prototype.removeSub=function(t){v(this.subs,t)},ut.prototype.depend=function(){ut.target&&ut.target.addDep(this)},ut.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e-1)if(o&&!w(a,"default"))r=!1;else if(""===r||r===k(t)){var c=Ft(String,a.type);(c<0||s0&&(ue((c=t(c,(n||"")+"_"+s))[0])&&ue(u)&&(d[l]=vt(u.text+c[0].text),c.shift()),d.push.apply(d,c)):r(c)?ue(u)?d[l]=vt(u.text+c):""!==c&&d.push(vt(c)):ue(c)&&ue(u)?d[l]=vt(u.text+c.text):(o(e._isVList)&&a(c.tag)&&i(c.key)&&a(n)&&(c.key="__vlist"+n+"_"+s+"__"),d.push(c)));return d}(t):void 0}function ue(t){return a(t)&&a(t.text)&&!1===t.isComment}function de(t,e){if(t){for(var n=Object.create(null),i=st?Reflect.ownKeys(t):Object.keys(t),a=0;a0,r=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(r&&i&&i!==n&&s===i.$key&&!o&&!i.$hasNormal)return i;for(var c in a={},t)t[c]&&"$"!==c[0]&&(a[c]=me(e,c,t[c]))}else a={};for(var l in e)l in a||(a[l]=ge(e,l));return t&&Object.isExtensible(t)&&(t._normalized=a),F(a,"$stable",r),F(a,"$key",s),F(a,"$hasNormal",o),a}function me(t,e,n){var i=function(){var t=arguments.length?n.apply(null,arguments):n({});return(t=t&&"object"===typeof t&&!Array.isArray(t)?[t]:le(t))&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:i,enumerable:!0,configurable:!0}),i}function ge(t,e){return function(){return t[e]}}function ve(t,e){var n,i,o,r,c;if(Array.isArray(t)||"string"===typeof t)for(n=new Array(t.length),i=0,o=t.length;idocument.createEvent("Event").timeStamp&&(cn=function(){return ln.now()})}function un(){var t,e;for(sn=cn(),on=!0,tn.sort((function(t,e){return t.id-e.id})),rn=0;rnrn&&tn[n].id>t.id;)n--;tn.splice(n+1,0,t)}else tn.push(t);an||(an=!0,ee(un))}}(this)},pn.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||s(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(Oa){Ht(Oa,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},pn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},pn.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},pn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var hn={enumerable:!0,configurable:!0,get:I,set:I};function fn(t,e,n){hn.get=function(){return this[e][n]},hn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,hn)}function mn(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},i=t._props={},a=t.$options._propKeys=[];t.$parent&&xt(!1);var o=function(o){a.push(o);var r=Ut(o,e,n,t);St(i,o,r),o in t||fn(t,"_props",o)};for(var r in e)o(r);xt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?I:S(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;l(e=t._data="function"===typeof e?function(t,e){pt();try{return t.call(e,e)}catch(Oa){return Ht(Oa,e,"data()"),{}}finally{ht()}}(e,t):e||{})||(e={});var n=Object.keys(e),i=t.$options.props,a=(t.$options.methods,n.length);for(;a--;){var o=n[a];0,i&&w(i,o)||z(o)||fn(t,"_data",o)}kt(e,!0)}(t):kt(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),i=it();for(var a in e){var o=e[a],r="function"===typeof o?o:o.get;0,i||(n[a]=new pn(t,r||I,I,gn)),a in t||vn(t,a,o)}}(t,e.computed),e.watch&&e.watch!==tt&&function(t,e){for(var n in e){var i=e[n];if(Array.isArray(i))for(var a=0;a-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!u(t)&&t.test(e)}function Tn(t,e){var n=t.cache,i=t.keys,a=t._vnode;for(var o in n){var r=n[o];if(r){var s=kn(r.componentOptions);s&&!e(s)&&En(n,o,i,a)}}}function En(t,e,n,i){var a=t[e];!a||i&&a.tag===i.tag||a.componentInstance.$destroy(),t[e]=null,v(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=bn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),i=e._parentVnode;n.parent=e.parent,n._parentVnode=i;var a=i.componentOptions;n.propsData=a.propsData,n._parentListeners=a.listeners,n._renderChildren=a.children,n._componentTag=a.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Lt(An(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;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}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Xe(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,i=t.$vnode=e._parentVnode,a=i&&i.context;t.$slots=pe(e._renderChildren,a),t.$scopedSlots=n,t._c=function(e,n,i,a){return Be(t,e,n,i,a,!1)},t.$createElement=function(e,n,i,a){return Be(t,e,n,i,a,!0)};var o=i&&i.data;St(t,"$attrs",o&&o.attrs||n,null,!0),St(t,"$listeners",e._parentListeners||n,null,!0)}(e),Ze(e,"beforeCreate"),function(t){var e=de(t.$options.inject,t);e&&(xt(!1),Object.keys(e).forEach((function(n){St(t,n,e[n])})),xt(!0))}(e),mn(e),function(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}(e),Ze(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(xn),function(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=Tt,t.prototype.$delete=Et,t.prototype.$watch=function(t,e,n){if(l(e))return _n(this,t,e,n);(n=n||{}).user=!0;var i=new pn(this,t,e,n);if(n.immediate)try{e.call(this,i.value)}catch(a){Ht(a,this,'callback for immediate watcher "'+i.expression+'"')}return function(){i.teardown()}}}(xn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var i=this;if(Array.isArray(t))for(var a=0,o=t.length;a1?T(n):n;for(var i=T(arguments,1),a='event handler for "'+t+'"',o=0,r=n.length;oparseInt(this.max)&&En(r,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return U}};Object.defineProperty(t,"config",e),t.util={warn:ct,extend:E,mergeOptions:Lt,defineReactive:St},t.set=Tt,t.delete=Et,t.nextTick=ee,t.observable=function(t){return kt(t),t},t.options=Object.create(null),L.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,E(t.options.components,In),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=T(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}}(t),function(t){t.mixin=function(t){return this.options=Lt(this.options,t),this}}(t),Cn(t),function(t){L.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]}}))}(t)}(xn),Object.defineProperty(xn.prototype,"$isServer",{get:it}),Object.defineProperty(xn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(xn,"FunctionalRenderContext",{value:je}),xn.version="2.6.11";var On=m("style,class"),jn=m("input,textarea,option,select,progress"),Dn=m("contenteditable,draggable,spellcheck"),Pn=m("events,caret,typing,plaintext-only"),Nn=m("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"),Ln="http://www.w3.org/1999/xlink",Rn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Un=function(t){return Rn(t)?t.slice(6,t.length):""},Bn=function(t){return null==t||!1===t};function zn(t){for(var e=t.data,n=t,i=t;a(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(e=Fn(i.data,e));for(;a(n=n.parent);)n&&n.data&&(e=Fn(e,n.data));return function(t,e){if(a(t)||a(e))return Hn(t,Vn(e));return""}(e.staticClass,e.class)}function Fn(t,e){return{staticClass:Hn(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function Hn(t,e){return t?e?t+" "+e:t:e||""}function Vn(t){return Array.isArray(t)?function(t){for(var e,n="",i=0,o=t.length;i-1?pi(t,e,n):Nn(e)?Bn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Dn(e)?t.setAttribute(e,function(t,e){return Bn(e)||"false"===e?"false":"contenteditable"===t&&Pn(e)?e:"true"}(e,n)):Rn(e)?Bn(n)?t.removeAttributeNS(Ln,Un(e)):t.setAttributeNS(Ln,e,n):pi(t,e,n)}function pi(t,e,n){if(Bn(n))t.removeAttribute(e);else{if(W&&!J&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var hi={create:ui,update:ui};function fi(t,e){var n=e.elm,o=e.data,r=t.data;if(!(i(o.staticClass)&&i(o.class)&&(i(r)||i(r.staticClass)&&i(r.class)))){var s=zn(e),c=n._transitionClasses;a(c)&&(s=Hn(s,Vn(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var mi,gi={create:fi,update:fi};function vi(t,e,n){var i=mi;return function a(){var o=e.apply(null,arguments);null!==o&&_i(t,a,n,i)}}var yi=Qt&&!(Z&&Number(Z[1])<=53);function wi(t,e,n,i){if(yi){var a=sn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=a||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}mi.addEventListener(t,e,et?{capture:n,passive:i}:n)}function _i(t,e,n,i){(i||mi).removeEventListener(t,e._wrapper||e,n)}function bi(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},o=t.data.on||{};mi=e.elm,function(t){if(a(t.__r)){var e=W?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}a(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(n),re(n,o,wi,_i,vi,e.context),mi=void 0}}var Ai,xi={create:bi,update:bi};function Ci(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,o,r=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};for(n in a(c.__ob__)&&(c=e.data.domProps=E({},c)),s)n in c||(r[n]="");for(n in c){if(o=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),o===s[n])continue;1===r.childNodes.length&&r.removeChild(r.childNodes[0])}if("value"===n&&"PROGRESS"!==r.tagName){r._value=o;var l=i(o)?"":String(o);ki(r,l)&&(r.value=l)}else if("innerHTML"===n&&Yn(r.tagName)&&i(r.innerHTML)){(Ai=Ai||document.createElement("div")).innerHTML=""+o+"";for(var u=Ai.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;u.firstChild;)r.appendChild(u.firstChild)}else if(o!==s[n])try{r[n]=o}catch(Oa){}}}}function ki(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(Oa){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,i=t._vModifiers;if(a(i)){if(i.number)return f(n)!==f(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var Si={create:Ci,update:Ci},Ti=_((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var i=t.split(n);i.length>1&&(e[i[0].trim()]=i[1].trim())}})),e}));function Ei(t){var e=Mi(t.style);return t.staticStyle?E(t.staticStyle,e):e}function Mi(t){return Array.isArray(t)?M(t):"string"===typeof t?Ti(t):t}var Ii,Oi=/^--/,ji=/\s*!important$/,Di=function(t,e,n){if(Oi.test(e))t.style.setProperty(e,n);else if(ji.test(n))t.style.setProperty(k(e),n.replace(ji,""),"important");else{var i=Ni(e);if(Array.isArray(n))for(var a=0,o=n.length;a-1?e.split(Ui).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 zi(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(Ui).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",i=" "+e+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Fi(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&E(e,Hi(t.name||"v")),E(e,t),e}return"string"===typeof t?Hi(t):void 0}}var Hi=_((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"}})),Vi=G&&!J,qi="transition",Gi="transitionend",Yi="animation",Qi="animationend";Vi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(qi="WebkitTransition",Gi="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Yi="WebkitAnimation",Qi="webkitAnimationEnd"));var Xi=G?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Wi(t){Xi((function(){Xi(t)}))}function Ji(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Bi(t,e))}function Ki(t,e){t._transitionClasses&&v(t._transitionClasses,e),zi(t,e)}function $i(t,e,n){var i=ta(t,e),a=i.type,o=i.timeout,r=i.propCount;if(!a)return n();var s="transition"===a?Gi:Qi,c=0,l=function(){t.removeEventListener(s,u),n()},u=function(e){e.target===t&&++c>=r&&l()};setTimeout((function(){c0&&(n="transition",u=r,d=o.length):"animation"===e?l>0&&(n="animation",u=l,d=c.length):d=(n=(u=Math.max(r,l))>0?r>l?"transition":"animation":null)?"transition"===n?o.length:c.length:0,{type:n,timeout:u,propCount:d,hasTransform:"transition"===n&&Zi.test(i[qi+"Property"])}}function ea(t,e){for(;t.length1}function sa(t,e){!0!==e.data.show&&ia(e)}var ca=function(t){var e,n,s={},c=t.modules,l=t.nodeOps;for(e=0;ef?w(t,i(n[v+1])?null:n[v+1].elm,n,h,v,o):h>v&&b(e,p,f)}(p,m,v,n,u):a(v)?(a(t.text)&&l.setTextContent(p,""),w(p,null,v,0,v.length-1,n)):a(m)?b(m,0,m.length-1):a(t.text)&&l.setTextContent(p,""):t.text!==e.text&&l.setTextContent(p,e.text),a(f)&&a(h=f.hook)&&a(h=h.postpatch)&&h(t,e)}}}function k(t,e,n){if(o(n)&&a(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i-1,r.selected!==o&&(r.selected=o);else if(D(ha(r),i))return void(t.selectedIndex!==s&&(t.selectedIndex=s));a||(t.selectedIndex=-1)}}function pa(t,e){return e.every((function(e){return!D(e,t)}))}function ha(t){return"_value"in t?t._value:t.value}function fa(t){t.target.composing=!0}function ma(t){t.target.composing&&(t.target.composing=!1,ga(t.target,"input"))}function ga(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function va(t){return!t.componentInstance||t.data&&t.data.transition?t:va(t.componentInstance._vnode)}var ya={model:la,show:{bind:function(t,e,n){var i=e.value,a=(n=va(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&a?(n.data.show=!0,ia(n,(function(){t.style.display=o}))):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value;!i!==!e.oldValue&&((n=va(n)).data&&n.data.transition?(n.data.show=!0,i?ia(n,(function(){t.style.display=t.__vOriginalDisplay})):aa(n,(function(){t.style.display="none"}))):t.style.display=i?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,i,a){a||(t.style.display=t.__vOriginalDisplay)}}},wa={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 _a(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?_a(qe(e.children)):t}function ba(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var a=n._parentListeners;for(var o in a)e[A(o)]=a[o];return e}function Aa(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var xa=function(t){return t.tag||Ve(t)},Ca=function(t){return"show"===t.name},ka={name:"transition",props:wa,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(xa)).length){0;var i=this.mode;0;var a=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return a;var o=_a(a);if(!o)return a;if(this._leaving)return Aa(t,a);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:r(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var c=(o.data||(o.data={})).transition=ba(this),l=this._vnode,u=_a(l);if(o.data.directives&&o.data.directives.some(Ca)&&(o.data.show=!0),u&&u.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,u)&&!Ve(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=E({},c);if("out-in"===i)return this._leaving=!0,se(d,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Aa(t,a);if("in-out"===i){if(Ve(o))return l;var p,h=function(){p()};se(c,"afterEnter",h),se(c,"enterCancelled",h),se(d,"delayLeave",(function(t){p=t}))}}return a}}},Sa=E({tag:String,moveClass:String},wa);function Ta(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Ea(t){t.data.newPos=t.elm.getBoundingClientRect()}function Ma(t){var e=t.data.pos,n=t.data.newPos,i=e.left-n.left,a=e.top-n.top;if(i||a){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+i+"px,"+a+"px)",o.transitionDuration="0s"}}delete Sa.mode;var Ia={Transition:ka,TransitionGroup:{props:Sa,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var a=Je(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,a(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,a=this.$slots.default||[],o=this.children=[],r=ba(this),s=0;s-1?Xn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Xn[t]=/HTMLUnknownElement/.test(e.toString())},E(xn.options.directives,ya),E(xn.options.components,Ia),xn.prototype.__patch__=G?ca:I,xn.prototype.$mount=function(t,e){return function(t,e,n){var i;return t.$el=e,t.$options.render||(t.$options.render=gt),Ze(t,"beforeMount"),i=function(){t._update(t._render(),n)},new pn(t,i,I,{before:function(){t._isMounted&&!t._isDestroyed&&Ze(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,Ze(t,"mounted")),t}(this,t=t&&G?function(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}(t):void 0,e)},G&&setTimeout((function(){U.devtools&&at&&at.emit("init",xn)}),0),e.default=xn}.call(this,n(32))},function(t,e,n){"use strict";n.r(e);var i=n(11),a=0,o=100,r=!1,s=!1,c="",l="",u="",d="",p=window.sudaLogConfig&&window.sudaLogConfig.channel||"",h=document.referrer,f=document.URL,m=window.SM&&window.SM.doc&&window.SM.doc.dataid||"",g="",v=-1!=window.navigator.userAgent.toLowerCase().indexOf("sinanews");function y(t,e){var n;return(n=t.indexOf("#"))>0?(e&&(g=t.substring(n)),t.substring(0,n)):(e&&(g=""),t)}function w(t){for(var e=0,n=0,i=t;e=i.indexOf("<"),n=i.indexOf(">",e),e>=0&&n>=0&&n>e;)i=i.substring(0,e)+i.substring(n+1,i.length);return i}function _(t,e,n){if(null!=e){var i=function(){if(""!=c)return c;var t="",e=f.toLowerCase(),n=e.indexOf("sina.");if(n>0)t="sina.cn";else{var i=e.indexOf(".");if(!(i>0))return"";i+=1,(n=e.indexOf("/",i))<0&&(n=e.length),t=e.substring(i,n)}return c=t,t}();if("undefined"==n||null==n)document.cookie=t+"="+e+"; domain="+i+"; path=/";else{var a=new Date,o=a.getTime();o+=864e5*n,a.setTime(o),o=a.getTime(),document.cookie=t+"="+e+"; domain="+i+"; expires="+a.toUTCString()+"; path=/"}}}function b(){if(!(Math.floor(100*Math.random())0&&i.a.pushListeningEle(e,(function(t){for(var e=0;e-1?"&":"?";e=e+a+"clicktime="+t+"&userid="+i}if("_blank"==n){var o=window.navigator.userAgent.toLowerCase();/ucbrowser/i.test(o)?window.location.href="ext:wo:"+e+g:/qqbrowser/i.test(o)?window.location.href=e+g:window.open(e+g)}else window.location.href=e+g}),200)}function C(t,e,n){for(var i=0;i=n?null:t}function k(t){var e=t.srcElement||t.target;if(null==e&&e==document)return!1;var n="",i="",a="",o="",r="";if("A"==e.tagName)n="txt",i=w(e.innerHTML),a=y(e.href,!0),r=e.getAttribute("target"),o=e;else if("IMG"==e.tagName){n="img",i=e.alt;var s=C(e,"A",8);s&&(a=y(s.href,!0),r=s.getAttribute("target"),o=s)}else{n="txt",i=w(e.innerHTML);var c=C(e,"A",8);c&&(a=y(c.href,!0),r=c.getAttribute("target"),o=c)}var l="",u=e.tagName,d="",h=!1;try{for(var f=0;f<10&&e!=document;f++){var g=e.getAttribute("data-sudaclick");e.getAttribute("data-sudaexposure");if(g){var v=e.getAttribute("data-sudatagname");if(v)h=!0,v.split(",").forEach((function(t){t.toUpperCase()==u&&(h=!1)}));l=g;for(var _=e.getElementsByTagName("A"),b=0;b<_.length;b++)if(_[b].innerHTML==o.innerHTML){d=b;break}break}if(!e.parentNode)break;e=e.parentNode}}catch(S){}if(!h&&l){a&&t.preventDefault(),i&&i.length>30&&(i=i.substr(0,30));var A=(new Date).getTime();a=a.replace(/(\r\n)|(\n)|(\t)|(\<)|(\>)/gim,""),window.sudaMapConfig&&window.sudaMapConfig.version&&(l=l+"_"+window.sudaMapConfig.version);var k={data:{index:d,aid:l,url:encodeURIComponent(a)},action:"_click"};x("t="+n+",s="+i+",h="+escape(a+(-1==a.indexOf("?")?"?":"&")+"channel="+p)+",ct="+A+",aid="+l+"-"+d+",channel="+p+(m?",dataid="+m:"")+"|",a,r,k)}}function S(){!function t(e){for(var n=e.frames,i=0;i0&&(a=t,o=e,n,"function"===typeof window.getUserInfo?window.getUserInfo((function(t){t&&t.uid&&(window.sudaMapConfig.uId=t.uid),b()}),!0):b(),r=!0)}},E=function(t){if(!t.name)return!1;t.type||(t.type="btn"),t.title||(t.title=""),t.index||(t.index=0),t.href||(t.href=window.location.href);var e=(new Date).getTime();x("t="+t.type+",s="+t.title+",h="+escape(t.href+(-1==t.href.indexOf("?")?"?":"&")+"channel="+p)+",ct="+e+",aid="+t.name+"-"+t.index+",channel="+p+(m?",dataid="+m:"")+"|","",void 0==t.target?"":t.target)};var M="";function I(t){for(var e in t)"string"==typeof t[e]&&(t[e]=t[e].replace(/(\r\n)|(\n)|(\t)|(\<)|(\>)/gim,""));return t}"function"===typeof window.getCookie&&(M=window.getCookie("ustat")||""),"function"!=typeof Object.assign&&(Object.assign=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),i=1;i-1)return this._evtMap[t].splice(n,1)[0]}e||this._evtMap[name]&&(this._evtMap[name]=[])}}]),t}(),l={ready:"hb.core.ready",onInject:"hb.core.onInject",onDatePickerChange:"hb.bee.onDatePickerChange",onUnload:"hb.core.onUnload",onPreFetch:"hb.core.onPreFetch",onGetRenderStatus:"hb.core.getRenderStatus",onFirstAjax:"hb.core.onFirstAjax",onShareInfo:"hb.bee.onShareInfo",onDayOrNightModeChange:"hb.core.onDayOrNightModeChange",onPullDownRefresh:"hb.bee.onPullDownRefresh",onNetworkStatusChange:"hb.core.onNetworkStatusChange",onShow:"hb.core.onShow",onHide:"hb.core.onHide",onReload:"hb.core.onReload",onCommentReady:"hb.bee.onCommentReady",onCommentSendBack:"hb.bee.onCommentSendBack",onCommentCancel:"hb.bee.onCommentCancel",onMessage:"hb.core.onMessage",onLuckMoneyEnd:"hb.core.onLuckMoneyEnd",onShareSuccess:"hb.bee.onShareSuccess",onCommentClick:"hb.bee.onCommentClick",onUserStateChange:"hb.core.onUserStateChange",onNativeClick:"hb.bee.onNativeClick",onLike:"hb.bee.onLike",onFollow:"hb.globalEvent.onFollow",onNativeStateChange:"hb.core.onNativeStateChange",onSensorChange:"hb.core.onSensorChange"},u={collectLog:!0,pageLoaded:!1,autoRendered:!0,debug:!1},d=200,p=110,h=100;function f(t,e){return this._isFirstAjaxTimeout?(this._isFirstAjaxTimeout=!1,console.error("[SNC_EVENT] Missed firstAjax return time")):(clearTimeout(this._firstAjaxTimer),0==t.errCode&&t.data.statusCode==d?(this._pageId&&(this.cache.save("SNC_FA_".concat(this._pageId),t.data.data),this.cache.info()),e({response:t.data,state:"remote"})):this.cache.get("SNC_FA_".concat(this._pageId)).then((function(t){t.statusCode=h,e({response:t,state:"cache"})})).catch((function(n){e({response:t,state:"error"})})))}var m=window.navigator.userAgent,g=Object.prototype.toString,v=m.indexOf("Android")>-1||m.indexOf("Adr")>-1,y=/iphone|ipod|ipad/gi.test(m)&&!v,w=m.indexOf("sinanews")>-1,_=m.indexOf("sinanewslite")>-1,b=m.indexOf("hybrid")>-1,A=m.match(/(sinanews|sinanewslite)__[\w.-]+__/i),x=m.match(/hybrid__[\w.-]+/i),C=x&&x[0].split("__")[2]||"online",k=_?"sinanewslite":w?"sinanews":"other",S=null,T=0;function E(t){return"function"===typeof t}var M={isAndroid:v,isHybrid:b,isiOS:y,isSinaApp:w,isSinaLiteApp:_,appVersion:A?A[0].split("__")[1]:"",appEnv:C,appName:k,generateUUID:function(){return T++},sliceString:function(t){var e="0";return 0==t||null==t||"undefined"==typeof t||(e=t.toString().replace(/\.(.*?)$/g,"")).length<6?e:e=e.slice(7,e.length)},getAppVersion:function(){},isFunction:E,isObject:function(t){return"[object Object]"===g.call(t)||"[object Module]"===g.call(t)},createIframeRquest:function(t){S||((S=document.createElement("iframe")).style.display="none",document.documentElement.appendChild(S)),S.src=t},camelCaseByDot:function(t){var e=t.split(".");return e.reduce((function(t,e){return t+e.replace(/^[a-z]{1}/,(function(t){return t.toUpperCase()}))}))},filterObjProps:function(t){var e=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=function(e){return t.indexOf(e)<0},a=function(t){return!i(t)},o=E(n)?n:n?i:a;return function(t){if(!e.isObject(t))return{};return Object.keys(t).filter(o).reduce((function(e,n){return e[n]=t[n],e}),{})}},filterParams:function(t){return this.filterObjProps(["success","error","complete"])(t)},serializeData:function(t){return this.isObject(t)?Object.keys(t).map((function(e){return"".concat(e,"=").concat(t[e])})).join("&"):""},strToObject:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{errCode:0};try{"string"===typeof t&&(t=JSON.parse(t)),"string"===typeof t&&(t=JSON.parse(t)),"string"===typeof t.data&&(t.data=JSON.parse(t.data)),"string"===typeof t.data&&(t.data=JSON.parse(t.data)),"object"===typeof t.data&&("string"===typeof t.data.data&&(t.data.data=JSON.parse(t.data.data)),"string"===typeof t.data.data&&(t.data.data=JSON.parse(t.data.data)))}catch(e){console.warn("Api response parsing failed",e,t)}return t||{errCode:0}},getAPIErrorMsg:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"API",n=["fetch"].indexOf(e)>-1,i="Invalid ".concat(e," response"),a="";return"firstAjax"===e?(t.response.errMsg=t.state,console.error("[SNC_HANDLER] ".concat(i),t.response),t.state):(a=this.isObject(t)&&void 0!==t.errCode?n&&void 0===t.data.statusCode?"need statusCode":t.errDescription:"need errCode",console.error("[SNC_HANDLER] ".concat(i,": ").concat(a),t),a)},print:function(){for(var t=arguments.length,e=new Array(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;"object"===typeof e&&(e.__timestamp=Date.now());var i=n?"sync":"";this.print("[SNC_CALL] Invoking ".concat(t),e,i)},mergeProp:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i1?e-1:0),i=1;i2?n-2:0),a=2;a0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;t.on(e,(function(a){var o=Date.now(),r="".concat(o).substring(6),s={evtName:e,response:a,errCb:i,options:n,context:t};switch(t.print("[SNC_EVENT] handle","".concat(e,"_").concat(r),{begin:o}),e){case"ready":O(s);break;case"onFirstAjax":case"onPreFetch":j(s);break;default:D(s)}var c=Date.now();t.logger&&console.log("[SNC_EVENT_PERF]","".concat(e,"_").concat(r),{end:c,time:c-o})}))}}))}}]),n}(c),z=function(){};var F=function(t){var e=t.options,n=void 0===e?{}:e,i=t.param,a=void 0===i?{}:i,o=t.response,r=t.resolve,s=void 0===r?z:r,c=t.reject,l=void 0===c?z:c,u=t.errorReport,d=void 0===u?z:u,p=t.postHook,h=t.name;if((o=M.strToObject(o)).errMsg=o.errDescription,"fetch"===h)if("0"==o.errCode&&200==o.data.statusCode)n.success&&n.success(o.data.data,{statusCode:+o.data.statusCode,timestamp:o.timestamp,data:o.data.data}),s(o.data.data);else{var f=M.getAPIErrorMsg(o,h);n.error&&n.error(f,o),l(f,o),d({msg:f})}else if("0"==o.errCode)if(M.isFunction(p)){var m=p(o,a);M.isPromise(m)?m.then((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o;n.success&&n.success(t.data,n),s(t.data)})).catch((function(t){n.error&&n.error(t,o),l(t,o)})):(o=M.isVoid0(m)?o:m,n.success&&n.success(o.data,n),s(o.data))}else n.success&&n.success(o.data,n),s(o.data);else{var g=M.getAPIErrorMsg(o,h);n.error&&n.error(g,o),l(g,o)}n.complete&&n.complete(o)},H=function(){function t(){Object(i.a)(this,t),this.replayBuffer={},this.tapMap={}}return Object(r.a)(t,[{key:"_pushReplayBuffer",value:function(t,e){var n={param:e};return this.replayBuffer[t]?this.replayBuffer[t].push(n):this.replayBuffer[t]=[n],n}},{key:"push",value:function(t){var e=this,n=function(n){var i=e._pushReplayBuffer(t,n);return{then:function(t){return i.then=t,{catch:function(t){i.catch=t}}}}};return n.tap=function(n){e.tapMap[t]=n},n}},{key:"replay",value:function(t,e,n){this.tapMap[t]&&"function"===typeof e.tap&&e.tap(this.tapMap[t]),this.replayBuffer[t]&&(n="function"==typeof n?n:function(t){return t},this.replayBuffer[t].forEach((function(t,i){var a=n(t.param);e(a).then(t.then).catch(t.catch)})),delete this.replayBuffer[t],delete this.tapMap[t])}}]),t}(),V=function(t){var e={type:"hybrid",subtype:"",info:"",btime:0,stime:0,etime:0},n=["subtype","info","etime","stime"],i=M.filterObjProps(n);function a(t){var e="string"===typeof t;if(e&&""===t)return t;var n=Number(t);return e?n!==n?t:n:t}t.performance=t.definedMethod("hb.core.performance",(function(o){var r=M.mergeProp(e,function(t){var e=i(t),o=n.reduce((function(e,n){return e[n]=a(t[n]),e}),{});return Object.keys(e).reduce((function(e,n){return e["hybrid_".concat(n)]=a(t[n]),e}),o)}(o));return r.newsid=t.newsId,r}))},q=function(t){t.onRendered=t.definedMethod("hb.core.onRendered",(function(){t.pageLoaded=!0}))},G=function(t){t.getStorage=t.definedMethod({api:"hb.core.getStorage",default:{key:""},postHook:function(e){var n=t.app.version,i="android"===t.app.os&&n<"7.16.0";try{i&&e.data.size&&(e.data=e.data.size),e.data=JSON.parse(e.data)}catch(a){}}})},Y=function(t){t.setStorage=t.definedMethod("hb.core.setStorage",{key:"",value:"",expireTime:172800},(function(t){M.isAndroid&&t.expireTime&&(t.expireTime+=""),t.value=JSON.stringify("undefined"===typeof t.value?"":t.value)}))},Q=function(t){t.getStorageSize=t.definedMethod("hb.core.getStorageSize")},X=function(t){t.simaLog=t.definedMethod("hb.core.simaLog",(function(t){var e=t.stime;t.info;e&&M.isAndroid&&(t.stime="".concat(e))}))},W=function(t){t.hideLoading=t.definedMethod({api:"hb.bee.hideLoading",sync:!0,default:{url:"SinaNews://SNMessageBoxVC-Connector"}})},J=function(t){t.subscribe=t.definedMethod("hb.core.subscribe")},K=n(30),$=Date.now(),Z=!1,tt=window.location.href;var et=new(function(t){Object(a.a)(n,t);var e=Object(o.a)(n);function n(){return Object(i.a)(this,n),e.apply(this,arguments)}return n}(function(t){Object(a.a)(n,t);var e=Object(o.a)(n);function n(t){var a;Object(i.a)(this,n),(a=e.call(this)).options=Object.assign({},u,t),a.newsId="",a._pageId="",a.PUID="",a._timestamp=+new Date,a._methodBuffer=new H,a._namespace=[],a._docs=[],a.manifest=window.__HB_MANIFEST||{},a.dataid="",a.pageCode=a.manifest.pageCode||"",a._projectVersion=M.getProjectVersion()||"",a.app=a.context={os:M.isiOS?"ios":M.isAndroid?"android":"other",innerApp:(M.isSinaApp||M.isSinaLiteApp)&&M.isHybrid,version:M.appVersion,env:M.appEnv,name:M.appName,target:"wap"},a._bindEvent(),"app"===a.app.target&&a.mountApi("appApis",{subscribe:J}),a.connect(),a.statistics=new K.a({errorOptions:{proxyTimer:!1,repeat:50,random:1,except:[]},performanceOptions:{random:0}}),a.statistics.errorReport.set("delay",0),a.statistics.errorReport.set("mergeReport",!1);var o=Object(s.a)(a);a.statistics.errorReport.on("beforeSend",(function(){var t=this.queue.get.shift();return o.errorReport(t),!1})),a.options.collectLog&&a._openCollectLog(),"app"===a.app.target&&a.mountApi("appApis",{getStorage:G,hideLoading:W,getStorageSize:Q,onRendered:q,setStorage:Y,simaLog:X}),a.version="1.32.6";var r=function(t,e){var n=window.__SNC__=window.__SNC__||{};if(n.version)throw new Error("[SNC_INSTANCE] \u5b58\u5728\u591a\u4e2a SNC \u5b9e\u4f8b\u7248\u672c\uff1a".concat(n.version,", ").concat(e));return n.version=e,n.instance=t,Object.freeze(n)}(Object(s.a)(a),"1.32.6");return a.logger=!!M.isVoid0(r.debug)||r.debug,a}return Object(r.a)(n,[{key:"_bindEvent",value:function(){var t=this;this.on("connect",(function(){t.isConnected=!0})),this.on("onFirstAjax",(function(e){var n=e.response,i=void 0===n?{}:n,a=e.state,o=i.data;o&&o.data&&o.data.dataid&&(t.dataid=o.data.dataid),o&&o.data&&o.data.backConf&&"cache"!==a&&t.invoke("hb.core.firstAjaxCallbackData",{backConf:o.data.backConf})}))}},{key:"_openCollectLog",value:function(){this.mountApi("appApis",{performance:V}),this.logger&&console.log("[SNC_OPTION] CollectLog open"),this._performanceCollect()}},{key:"init",value:function(t,e){var n=this;return"wap"===t?this._setUpWapEvent():this.on("ready",(function(t){var e=t.data,i=void 0===e?{}:e;n.options.autoRendered&&n.onRendered(),i.pageCode&&(n.pageCode=i.pageCode)})),e&&this.mountApi(t,e),this}},{key:"errorReport",value:function(t){var e={subtype:"js_error",timestamp:Date.now(),colNum:0,rowNum:0,currentUrl:window.location.href,msg:"",screenSize:"",targetUrl:"",userAgent:window.navigator.userAgent,breadcrumbs:[]},n=Object.assign({},e,t);this.logger&&console.warn("[SNC_REPORT] catch error");try{var i={subtype:"js_error",stime:n.timestamp,info:"".concat(this._projectVersion,"__").concat(this.newsId),info2:"".concat(n.rowNum,":").concat(n.colNum),info3:n.currentUrl,info4:n.msg,info5:n.screenSize,info6:n.targetUrl,info7:n.userAgent,info8:n.breadcrumbs};"wap"===this.app.target?this.trigger("errorInfo",[i]):this.simaLog(i)}catch(a){console.error("[SNC_REPORT]",a)}}},{key:"mountApi",value:function(t,e){var n=this;if(!M.isObject(e))throw new Error("APIs should be an object");if(this.isConnected)return this._resolveApi(t,e);this._catchMethodInvokeBeforeBridgeReady(e),this.on("connect",(function(){n._resolveApi(t,e)}))}},{key:"_resolveApi",value:function(t,e){this.loadMethods(t,e),this.trigger("".concat(t,"Loaded"),e),this.trigger("apisLoaded",e)}},{key:"_performanceCollect",value:function(){var t=this,e=this;(function(t){var e=new Promise((function(t){window.addEventListener("load",(function(){return t(Date.now())}),!1)})),n=new Promise((function(t){window.addEventListener("DOMContentLoaded",(function(){return t(Date.now())}),!1)})),i=new Promise((function(e){t.on("ready",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.data||{};(Z=n.__useContainer)&&(tt=M.getFullPagePath("../../".concat(n.pkgName,"/index.html"))),e(Date.now())}))})),a=new Promise((function(e){t.on("onFirstAjax",(function(){return e(Date.now())}))}));return Promise.all([n,e,i,a]).then((function(t){var e=t[2],n=t[3],i=t[0],a=t[1];return Z&&(i=$=a=e),{subtype:"bridge_perf",info:tt,sdk_ready:$,dom_ready:i,page_load:a,ready:e,first_ajax:n}}))})(this).then((function(e){t.performance(e)}));var n={page_init:{info:""}};this.on("fetch:before",(function(t,e){n[e]={stime:M.sliceString(Date.now())}})),this.on("fetch:after",(function(e,i){var a=(e=e[0]).data?M.serializeData(e.data):"";n[i].etime=M.sliceString(Date.now()),n[i].info=e.url+"&"+a;var o=n[i];o.subtype="fetch",t.performance(o).then((function(t){delete n[i]}))}));var i={bridgeReady:!0,firstAjax:!1,load:!1,firstPaint:!1},a=0,o=0;function r(){o=setTimeout((function(){var t=n.page_init;e.off("onFirstAjax",s),t.first_ajax=M.sliceString(Date.now()),i.firstAjax=!0,e.logPerformance(i,t),c()}),5e3)}function s(){var t=n.page_init;e.off("onFirstAjax",s),clearTimeout(o),t.first_ajax=M.sliceString(Date.now()),i.firstAjax=!0,e.logPerformance(i,t),c()}function c(){a=setTimeout((function(){var t=n.page_init;e.off("onFirstPaint",l),t.first_paint=M.sliceString(Date.now()),i.firstPaint=!0,e.logPerformance(i,t)}),3e3)}function l(){var t=n.page_init;e.off("onFirstPaint",l),clearTimeout(a),t.first_paint=M.sliceString(Date.now()),i.firstPaint=!0,e.logPerformance(i,t)}this.on("ready",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=n.page_init,o=e.data||{},s=M.sliceString(Date.now()),c=window.location.href;o.__useContainer&&(c=M.getFullPagePath("../../".concat(o.pkgName,"/index.html")),delete a.request_start,delete a.response_start,delete a.response_end,delete a.dom_interactive,delete a.dom_content_loaded_event_end,delete a.dom_complete,a.stime=s,a.etime=s),a.info=c,a.jsbridge_ready=s,i.bridgeReady=!0,t.logPerformance(i,a),r()})),this.on("onFirstAjax",s),this.on("onFirstPaint",l),window.addEventListener("load",(function(){var e=M.sliceString(Date.now()),a=n.page_init;window.performance?t.statistics.collectAll((function(n){a.stime=n.nS,a.request_start=n.reS,a.response_start=n.rsS,a.response_end=n.rsE,a.dom_interactive=n.dI,a.dom_content_loaded_event_end=n.dCLE,a.dom_complete=n.dC,a.etime=n.lEE||e,n.ext&&(a.info+="^"+JSON.stringify(n.ext)),i.load=!0,t.logPerformance(i,a)})):(a.stime=void 0===window.STAT_STIME?0:M.sliceString(window.STAT_STIME),a.etime=e,i.load=!0,t.logPerformance(i,a))}))}},{key:"logPerformance",value:function(t,e){var n=!0;for(var i in t)if(!t[i]){n=!1;break}n&&(e.subtype="page_init",e.info+="^"+this._projectVersion,this.performance(e))}},{key:"_replayEarlyMethodInvoke",value:function(t){var e=this,n=function(){e._methodBuffer.replay("simaLog",e.simaLog,(function(t){return t.info="".concat(e._projectVersion,"__").concat(e.newsId),t}))};"simaLog"===t?this.isReady?n():this.on("ready",n):this._methodBuffer.replay(t,this[t])}},{key:"_setUpWapEvent",value:function(){var t=this;this.trigger("connect");var e=function(){var e=window.location.href;t.newsId=e.slice(0,e.indexOf("?")),t.trigger("ready"),t.isReady=!0,t.trigger("onFirstAjax",{response:window.SM||{},state:"remote"})};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e()}},{key:"_catchMethodInvokeBeforeBridgeReady",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Object.keys(e).forEach((function(e){t[e]||(t[e]=t._methodBuffer.push(e))}))}},{key:"setDebug",value:function(t){this.options.debug=t,this.bridge=t?L:window.WebViewJavascriptBridgeReady}},{key:"definedMethod",value:function(t,e,n,i){var a=this,o=null,r=!1;if(M.isObject(t)){var s=t;t=s.api,r=s.sync,n=s.preHook,i=s.postHook,e=s.default||{}}else M.isFunction(e)&&(n=e,e={});var c=function(){var s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!a.isConnected)return console.error("[SNC_CALL] JsBridge is unavailable");if(!M.isObject(s))throw new Error("[SNC_CALL] ".concat(t," options should be an object"));var c=M.filterParams(s),l=null;if(M.isFunction(n)&&(l=n(c,s)),l=M.isObject(l)?Object.assign({},e,l):Object.assign({},e,c),o){var u=o(l);l=u||l}return a.invoke(t,l,s,i,r)};return c.tap=function(t){M.isFunction(t)&&(o=t)},c}},{key:"invoke",value:function(t,e,n,i){var a=this,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return"object"===typeof t&&(o=t.sync,t=t.api),new Promise((function(r,s){(o&&"android"===a.app.os&&a.bridge.callHandlerDirect||a.bridge.callHandler)(t,e,(function(o){a.print("[SNC_CALL] Response ".concat(t),o),F({options:n,response:o,resolve:r,param:e,reject:s,postHook:i,name:t})})),a.logger&&M.invokeLogger(t,e,o)}))}},{key:"definedDoc",value:function(t){this._docs.push(t)}},{key:"doc",value:function(){console.table(this._docs)}},{key:"loadMethods",value:function(t,e){var n=this,i=function(i){if(n.checkNamespace(i))return"continue";n._namespace.push(i),e[i].call(n,n);var a=n[i];if(!a)throw new Error("SNC mountApi: ".concat(i," \u6302\u8f7d\u5931\u8d25"));n[i]=function(){for(var t=arguments.length,e=new Array(t),o=0;o1&&void 0!==arguments[1]?arguments[1]:{};return r="bind",o=a(t,e),n._checkNamespaceErr(o),n.definedMethod(e,i)},regist:function(e){return r="regist",o=a(t,e),n._checkNamespaceErr(o),n.bridge?n.bridge.registerHandler(e,(function(t,e){t=M.strToObject(t),n.trigger(o,t)})):l[o]=e,function(t,e){n.on(o,(function(n){D({response:n,options:t,errCb:e,evtName:o})}))}}});s?(this[o]=s,this._namespace.push(o)):console.warn("[SNC_EXTEND] Proxy.".concat(r," should be return"))}},{key:"bindMethod",value:function(t,e){this._checkNamespaceErr(t),this[t]=e,this._namespace.push(t)}},{key:"checkNamespace",value:function(t){return this._namespace.indexOf(t)>-1}},{key:"_checkNamespaceErr",value:function(t){if(this.checkNamespace(t))throw new Error(t+" has been defined on sdk instance!")}}]),n}(B)))({hasNameSpeace:!0,collectLog:!1,pageLoaded:!1,autoRendered:!1,debug:!1});et.init("wap"),et.__target="wap";e.default=et},function(t,e,n){t.exports=n(170)},function(module,__webpack_exports__,__webpack_require__){"use strict";var _mfelibs_base_tools_exposure__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(11),config={pvContainer:"sax_pv_count"},pvContainer={pv:"sax_pv_count",nullPv:"sax_null_count"},pinPdpsArr=[],base64EncodeChars="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",storage={getItem:function(t){return window.localStorage.getItem(t)},setItem:function(t,e,n){window.localStorage.setItem(t,e+(n?";expires="+(sinaadToolkit.now()+n):"")),n||(_sessionStorageMap[t]=1)},removeItem:function(t){window.localStorage.removeItem(t)},get:function(t){try{var e=storage.getItem(t);return e?(e=e.split(";expires="))[1]&&sinaadToolkit.now()>parseInt(e[1],10)?(this.removeItem(t),null):e[0]:null}catch(n){return null}},set:function(t,e,n){try{storage.setItem(t,e,n)}catch(i){sinaadToolkit.error("sinaadToolkit.storage.set:"+i.message)}}},cookie={getItem:function(t){return sinaadToolkit.cookie.get(t)},setItem:function(t,e,n){cookie.set(t,e,{expires:n||0})},removeItem:function(t){cookie.remove(t)},removeCookie:function(t,e){(e=e||{}).expires=new Date(0),cookie._setRaw(t,"",e)},_isValidKey:function(t){return new RegExp('^[^\\x00-\\x20\\x7f\\(\\)<>@,;:\\\\\\"\\[\\]\\?=\\{\\}\\/\\u0080-\\uffff]+$').test(t)},_setRaw:function(t,e,n){if(this._isValidKey(t)){var i=(n=n||{}).expires;"number"===typeof n.expires&&(i=new Date).setTime(i.getTime()+n.expires),document.cookie=t+"="+e+(n.path?"; path="+n.path:"")+(i?"; expires="+i.toGMTString():"")+(n.domain?"; domain="+n.domain:"")+(n.secure?"; secure":"")}},set:function(t,e,n){cookie._setRaw(t,encodeURIComponent(e),n)}},toolkit={autoHeight:function(t){var e=document.getElementById(t.gdtId);e&&(e.style.maxHeight="5.16rem",e.style.height=t.height+"px")},postData:function(t){var e={init:{pdps:t,referrer:toolkit.getDomain()}},n=toolkit.getAdsDom(t);JSON.stringify(e);n&&n.contentWindow.postMessage(e,"*")},getAdsDom:function(t){var e=document.getElementById(t);return e?e.getElementsByTagName("iframe")[0]:""},getDomain:function(){return document.location.origin||window.location.href||document.referrer},storage:{getItem:function(t){return window.localStorage.getItem(t)},setItem:function(t,e,n){window.localStorage.setItem(t,e+(n?";expires="+(sinaadToolkit.now()+n):"")),n||(_sessionStorageMap[t]=1)},removeItem:function(t){window.localStorage.removeItem(t)},get:function(t){try{var e=storage.getItem(t);return e?(e=e.split(";expires="))[1]&&sinaadToolkit.now()>parseInt(e[1],10)?(this.removeItem(t),null):e[0]:null}catch(n){return null}},set:function(t,e,n){try{storage.setItem(t,e,n)}catch(i){sinaadToolkit.error("sinaadToolkit.storage.set:"+i.message)}}},cookie:{getItem:function(t){return sinaadToolkit.cookie.get(t)},setItem:function(t,e,n){cookie.set(t,e,{expires:n||0})},removeItem:function(t){cookie.remove(t)},removeCookie:function(t,e){(e=e||{}).expires=new Date(0),cookie._setRaw(t,"",e)},_setRaw:function(t,e,n){if(this._isValidKey(t)){var i=(n=n||{}).expires;"number"===typeof n.expires&&(i=new Date).setTime(i.getTime()+n.expires),document.cookie=t+"="+e+(n.path?"; path="+n.path:"")+(i?"; expires="+i.toGMTString():"")+(n.domain?"; domain="+n.domain:"")+(n.secure?"; secure":"")}},_getRaw:function(t){if(cookie._isValidKey(t)){var e=new RegExp("(^| )"+t+"=([^;]*)(;|$)").exec(document.cookie);if(e)return e[2]||null}return null},set:function(t,e,n){this._setRaw(t,encodeURIComponent(e),n)},get:function(t){var e=this._getRaw(t);return"string"===typeof e?e=decodeURIComponent(e):null}},base64encode:function(t){var e,n,i,a,o,r;for(i=t.length,n=0,e="";n>2),e+=base64EncodeChars.charAt((3&a)<<4),e+="==";break}if(o=t.charCodeAt(n++),n==i){e+=base64EncodeChars.charAt(a>>2),e+=base64EncodeChars.charAt((3&a)<<4|(240&o)>>4),e+=base64EncodeChars.charAt((15&o)<<2),e+="=";break}r=t.charCodeAt(n++),e+=base64EncodeChars.charAt(a>>2),e+=base64EncodeChars.charAt((3&a)<<4|(240&o)>>4),e+=base64EncodeChars.charAt((15&o)<<2|(192&r)>>6),e+=base64EncodeChars.charAt(63&r)}return e},checkTime:function(t,e){if(!t&&!e)return!0;var n=parseInt(t),i=parseInt(e),a=new Date,o=a.getMonth()+1,r=a.getDate(),s=a.getHours(),c=a.getFullYear(),l=parseInt(this.timeFormat(c)+this.timeFormat(o)+this.timeFormat(r)+this.timeFormat(s));return!!(n&&i&&l>=n&&l<=i||n&&!i&&l>=n||!n&&i&&l<=i)},timeFormat:function(t){return t<10?"0"+t:t.toString()},creatElement:function(t,e){var n=document.createElement(t);for(var i in e)n.setAttribute(i,e[i]);return n},creatPvElement:function(){var t=config.pvContainer;document.getElementById(t)?this.pvBox=document.getElementById(t):(this.pvBox=this.creatElement("div",{id:t,style:"display:none"}),document.body.appendChild(this.pvBox))},_getElement:function(t){return document.querySelector(t)},createScript:function createScript(box){if(box){if(box.$container&&box.$container.dataset&&"PDPS000000056239"==box.$container.dataset.id)var options={type:"text/javascript",id:"_gg_127480"};else if("PDPS000000056240"==box.$container.dataset.id)var options={type:"text/javascript",id:"vlion_1520832446_box"};else if(void 0!=typeof box.sClass)var options={class:box.sClass,type:"text/javascript"};else var options={type:"text/javascript"};var _script=null;box.src&&(options.src=box.src),_script=this.creatElement("script",options),box.readyStr&&(_script.onload=function(){eval(box.readyStr)}),box.$container&&box.$container.appendChild(_script)}},createWordsPv:function(t){var e=this.creatElement("img",{src:t+"&r="+Math.random()}),n=this._getElement("#"+config.pvContainer);n||this.creatPvElement(),n.appendChild(e)},parseURL:function(t){t=this.toString();var e=document.createElement("a");return e.href=t,{source:t,protocol:e.protocol.replace(":",""),host:e.hostname,origin:e.origin,port:e.port,query:e.search,file:(e.pathname.match(/\/([^\/?#]+)$/i)||[,""])[1],hash:e.hash.replace("#",""),path:e.pathname.replace(/^([^\/])/,"/$1"),relative:(e.href.match(/tps?:\/\/[^\/]+(.+)/)||[,""])[1],segments:e.pathname.replace(/^\//,"").split("/"),params:function(){var t={};return e.search.replace(/^\?/,"").split("&").filter((function(t,e){if(""!==t&&t.indexOf("="))return!0})).forEach((function(e,n){var i=e.indexOf("="),a=e.substring(0,i),o=e.substring(i+1);t[a]=o})),t}()}},copyObject:function(t){if("object"!=typeof t)return t;var e={};for(var n in t)e[n]=t[n];return e},addParams:function(t,e){if(!t)return"";if(!e)return t;var n=[];for(var i in e)n.push(i+"="+e[i]);return t+(t.match(/\?/gi)?"&":"?")+n.join("&")},createWordsScript:function(t,e,n,i,a){if(i)var o=getAdUtil.creatElement("script",{type:"text/javascript",src:i});else o=getAdUtil.creatElement("script",{type:"text/javascript"});if(""!=e&&(o.innerHTML=e),n){var r=getAdUtil.creatElement("img",{src:n+"&r="+Math.random()});$("#sax_pv_count").length>0||getAdUtil.creatPvElement(),$("#sax_pv_count").append(r)}t.appendChild(o),0!=a&&getAdUtil.callback("triggerDomIimit",[t])},getQueryString:function(t,e){var n=new RegExp("(^|&)"+t+"=([^&]*)(&|$)");if(e)var i=e.split("?")[1]&&e.split("?")[1].match(n);else i=window.location.search.substr(1).match(n);return null!=i?unescape(i[2]):null},createId:function(){for(var t=[],e=0;e<8;e++)t[e]="0123456789abcdef".substr(Math.floor(16*Math.random()),1);return t[parseInt(4)+1]="0123456789abcdef".substr(3&t[4]|8,1),"_"+t.join("")+(new Date).getTime().toString().substring(5,13)},isNull:function(t){return"undefined"===typeof t||null===t},ensureArray:function(t){return Array.isArray(t)?t:toolkit.isNull(t)?[]:[t]},stringTrim:function(){var t=new RegExp("(^[\\s\\t\\xa0\\u3000]+)|([\\u3000\\xa0\\s\\t]+$)","g");return function(e){return e=e||"",String(e).replace(t,"")}}};window.testLMT=function(){setTimeout((function(){window.location.href.match(/isMock/gi)&&sax_jsonpCallback_1({ad:[{id:"PDPS000000059890",type:"jdt",size:"170*151",content:[]},{id:"PDPS000000060087",type:"jdt",size:"170*151",content:[]},{id:"8A622C4B3DD0",type:"gjz",size:"140*170",content:[{src:["https://d1.sinaimg.cn/201708/31/1466713.gif"],link:["https://saxn.sina.com.cn/mfp/click?type=3&t=MjAxNy0wOS0wNSAxOTozMTo0MwkxMTEuMTMuOTUuMwlOVUxMX1ZBTFVFCWh0dHA6Ly8xMC4yMzYuNTcuNjc6MzAyNS9pbmRleC5odG1sCUI2OTRFQkVDMEE5Rgk3MjY1Njg0MS1lNGQ0LTQ0ZDgtYjhmYS0zNWRjZTc2ZDY2YjEJNjk4MTZjOGZiZDIwCTY5ODE2YzhmYmQyMAlhdXRvX2xldmVsOjE4MDEwMHx1c2VyX2dyb3VwOjkwMHxwb3M6UERQUzAwMDAwMDA1OTg5MCxQRFBTMDAwMDAwMDYwMDg3LEI2OTRFQkVDMEE5Rnx3YXBfb3M6NzAyfHVzZXJfYWdlOjYwMHx2X3pvbmU6MzAyMDAwLDMwMjAwMHx1c2VyX2dlbmRlcjo1MDB8YXV0b19wcmljZToxODAyMDB8X3Zfem9uZTozMDIwMDAsMzAyMDAwfG1vYmlsZV9icmFuZDoxMjAxfG1vYmlsZV9icm93c2VyOjgxMQkJMzAyMDAwfDMwMjAwMAk2OTgxNmM4ZmJkMjAJTUIxNzA2MDk2OQkJN0E5OEUxNTQ3NzM0CVdBUAktCTU2CS0JLQktCS0JLQktCS0JLQk0CTEJLQkwCTAJb3M6aXBob25lfGJyb3dzZXI6c2FmYXJpfHBsYXRmb3JtOmlvc3xkZXZpY2U6b3RoZXJ8Y3JlYXRpdmU6Njk4MTZjOGZiZDIwLDY5ODE2YzhmYmQyMCw2OTgxNmM4ZmJkMjB8YWRQbGF0Rm9ybToz&url=https%3A%2F%2Fengine.lvehaisen.com%2Findex%2Factivity%3FappKey%3DuZvDRUfe1CQBu1XnmQL1JHfLo1v%26adslotId%3D2331&captcha=-716674430108034077&viewlog=false&userid=111.13.95.3"],monitor:[],origin_monitor:null,type:"image",pv:["https://saxn.sina.com.cn/mfp/view?type=3&t=MjAxNy0wOS0wNSAxOTozMTo0MwkxMTEuMTMuOTUuMwlOVUxMX1ZBTFVFCWh0dHA6Ly8xMC4yMzYuNTcuNjc6MzAyNS9pbmRleC5odG1sCUI2OTRFQkVDMEE5Rgk3MjY1Njg0MS1lNGQ0LTQ0ZDgtYjhmYS0zNWRjZTc2ZDY2YjEJNjk4MTZjOGZiZDIwCTY5ODE2YzhmYmQyMAlhdXRvX2xldmVsOjE4MDEwMHx1c2VyX2dyb3VwOjkwMHxwb3M6UERQUzAwMDAwMDA1OTg5MCxQRFBTMDAwMDAwMDYwMDg3LEI2OTRFQkVDMEE5Rnx3YXBfb3M6NzAyfHVzZXJfYWdlOjYwMHx2X3pvbmU6MzAyMDAwLDMwMjAwMHx1c2VyX2dlbmRlcjo1MDB8YXV0b19wcmljZToxODAyMDB8X3Zfem9uZTozMDIwMDAsMzAyMDAwfG1vYmlsZV9icmFuZDoxMjAxfG1vYmlsZV9icm93c2VyOjgxMQkJMzAyMDAwfDMwMjAwMAk2OTgxNmM4ZmJkMjAJTUIxNzA2MDk2OQkJN0E5OEUxNTQ3NzM0CVdBUAktCTU2CS0JLQktCS0JLQktCS0JLQk0CTEJLQkwCTAJb3M6aXBob25lfGJyb3dzZXI6c2FmYXJpfHBsYXRmb3JtOmlvc3xkZXZpY2U6b3RoZXJ8Y3JlYXRpdmU6Njk4MTZjOGZiZDIwLDY5ODE2YzhmYmQyMCw2OTgxNmM4ZmJkMjB8YWRQbGF0Rm9ybToz&userid=111.13.95.3&viewlog=false&hashCode=f6e55c4e98cab0655e14b79bd570bb4e"],pid:null,len:null,volume:null,pvBegin:null,pvEnd:null,size:null,ad_id:"sina_69816c8fbd20"}]}],cm:[]})}),1e3)},window._sendExpose=function(t,e){_mfelibs_base_tools_exposure__WEBPACK_IMPORTED_MODULE_0__.a&&_mfelibs_base_tools_exposure__WEBPACK_IMPORTED_MODULE_0__.a.pushListeningEle([t],(function(){if(e.pdps)if(e.vision=toolkit.ensureArray(e.vision),void 0!=e.vision&&0!=e.vision.length)for(var t=document.getElementById(pvContainer.pv),n=0;n0){if(n[e].action&&n[e].action(a),/exposure=1/.test(location.href))for(e=0;e=0&&o.top0||o.left-a=0||o.left>=0&&a-o.right>=0))return;if("scroll"==e)return!0;null!=t.startTop?(t.startEnd=r,n=t.startEnd-t.startTop):t.startTop=r}return n>this.threshold||void 0}},{key:"pushListeningEle",value:function(t,e,n){var i,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:300,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:10,r=this,s={},c=[];this.threshold=a,this.height=o,Array.from(t).forEach((function(t){i={ele:t,canRepeat:!!n,doneOnce:!1,startTop:null,endTop:null},s=r._clone(i),c.push(s)})),this._listeningEles.push({listeningEles:c,action:e,threshold:a}),this._checkExposeure("scroll")}},{key:"_scrollListener",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,e=this;if(!t)throw new Error("scrollListener needs a object parameter.");function n(t){e.scroll_lock||(e.scroll_lock=!0,e._checkExposeure(t))}t.addEventListener("scroll",(function(){n("timegap"),setTimeout((function(){n("timegap")}),500)}),!0),t.addEventListener("touchstart",(function(){n("timegap")}),!1),t.addEventListener("touchmove",(function(){n("timegap")}),!1),t.addEventListener("touchend",(function(){n("timegap"),setTimeout((function(){e.scroll_lock=!0,e._checkExposeure("timegap")}),500)}),!1),t.addEventListener("touchcancel",(function(){n("timegap")}),!1)}},{key:"_clone",value:function(t){var e,n=this;switch(this._getType(t)){case"object":e={},Object.keys(t).forEach((function(i){e[i]=n._clone(t[i])}));break;case"array":e=[],t.forEach((function(t){e&&e.push(n._clone(t))}));break;default:e=t}return e}},{key:"_getType",value:function(t){var e=typeof t;return"object"===e?Object.prototype.toString.call(t).match(/\[object (.*)\]/)?RegExp.$1.toLowerCase():"other":e}}]),t}());r._init(),e.a=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,a=(i=n(6))&&"object"===typeof i&&"default"in i?i.default:i,o="undefined"!==typeof Reflect&&Reflect.defineMetadata;function r(t,e,n){(n?Reflect.getOwnMetadataKeys(e,n):Reflect.getOwnMetadataKeys(e)).forEach((function(i){var a=n?Reflect.getOwnMetadata(i,e,n):Reflect.getOwnMetadata(i,e);n?Reflect.defineMetadata(i,a,t,n):Reflect.defineMetadata(i,a,t)}))}var s={__proto__:[]}instanceof Array;var c=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured"];function l(t,e){void 0===e&&(e={}),e.name=e.name||t._componentTag||t.name;var n=t.prototype;Object.getOwnPropertyNames(n).forEach((function(t){if("constructor"!==t)if(c.indexOf(t)>-1)e[t]=n[t];else{var i=Object.getOwnPropertyDescriptor(n,t);void 0!==i.value?"function"===typeof i.value?(e.methods||(e.methods={}))[t]=i.value:(e.mixins||(e.mixins=[])).push({data:function(){var e;return(e={})[t]=i.value,e}}):(i.get||i.set)&&((e.computed||(e.computed={}))[t]={get:i.get,set:i.set})}})),(e.mixins||(e.mixins=[])).push({data:function(){return function(t,e){var n=e.prototype._init;e.prototype._init=function(){var e=this,n=Object.getOwnPropertyNames(t);if(t.$options.props)for(var i in t.$options.props)t.hasOwnProperty(i)||n.push(i);n.forEach((function(n){"_"!==n.charAt(0)&&Object.defineProperty(e,n,{get:function(){return t[n]},set:function(e){t[n]=e},configurable:!0})}))};var i=new e;e.prototype._init=n;var a={};return Object.keys(i).forEach((function(t){void 0!==i[t]&&(a[t]=i[t])})),a}(this,t)}});var i=t.__decorators__;i&&(i.forEach((function(t){return t(e)})),delete t.__decorators__);var l,u,d=Object.getPrototypeOf(t.prototype),p=d instanceof a?d.constructor:a,h=p.extend(e);return function(t,e,n){Object.getOwnPropertyNames(e).forEach((function(i){if("prototype"!==i){var a=Object.getOwnPropertyDescriptor(t,i);if(!a||a.configurable){var o=Object.getOwnPropertyDescriptor(e,i);if(!s){if("cid"===i)return;var r=Object.getOwnPropertyDescriptor(n,i);if(!function(t){var e=typeof t;return null==t||"object"!==e&&"function"!==e}(o.value)&&r&&r.value===o.value)return}0,Object.defineProperty(t,i,o)}}}))}(h,t,p),o&&(r(l=h,u=t),Object.getOwnPropertyNames(u.prototype).forEach((function(t){r(l.prototype,u.prototype,t)})),Object.getOwnPropertyNames(u).forEach((function(t){r(l,u,t)}))),h}function u(t){return"function"===typeof t?l(t):function(e){return l(e,t)}}u.registerHooks=function(t){c.push.apply(c,t)},e.default=u,e.createDecorator=function(t){return function(e,n,i){var a="function"===typeof e?e:e.constructor;a.__decorators__||(a.__decorators__=[]),"number"!==typeof i&&(i=void 0),a.__decorators__.push((function(e){return t(e,n,i)}))}},e.mixins=function(){for(var t=[],e=0;eparseInt(e[1],10)?(this.removeItem(t),null):e[0]:null}catch(n){return null}},set:function(t,e,n){try{storage.setItem(t,e,n)}catch(i){sinaadToolkit.error("sinaadToolkit.storage.set:"+i.message)}}},cookie={getItem:function(t){return sinaadToolkit.cookie.get(t)},setItem:function(t,e,n){cookie.set(t,e,{expires:n||0})},removeItem:function(t){cookie.remove(t)},removeCookie:function(t,e){(e=e||{}).expires=new Date(0),cookie._setRaw(t,"",e)},_isValidKey:function(t){return new RegExp('^[^\\x00-\\x20\\x7f\\(\\)<>@,;:\\\\\\"\\[\\]\\?=\\{\\}\\/\\u0080-\\uffff]+$').test(t)},_setRaw:function(t,e,n){if(this._isValidKey(t)){var i=(n=n||{}).expires;"number"===typeof n.expires&&(i=new Date).setTime(i.getTime()+n.expires),document.cookie=t+"="+e+(n.path?"; path="+n.path:"")+(i?"; expires="+i.toGMTString():"")+(n.domain?"; domain="+n.domain:"")+(n.secure?"; secure":"")}},set:function(t,e,n){cookie._setRaw(t,encodeURIComponent(e),n)}},toolkit={storage:{getItem:function(t){return window.localStorage.getItem(t)},setItem:function(t,e,n){window.localStorage.setItem(t,e+(n?";expires="+(sinaadToolkit.now()+n):"")),n||(_sessionStorageMap[t]=1)},removeItem:function(t){window.localStorage.removeItem(t)},get:function(t){try{var e=storage.getItem(t);return e?(e=e.split(";expires="))[1]&&sinaadToolkit.now()>parseInt(e[1],10)?(this.removeItem(t),null):e[0]:null}catch(n){return null}},set:function(t,e,n){try{storage.setItem(t,e,n)}catch(i){sinaadToolkit.error("sinaadToolkit.storage.set:"+i.message)}}},cookie:{getItem:function(t){return sinaadToolkit.cookie.get(t)},setItem:function(t,e,n){cookie.set(t,e,{expires:n||0})},removeItem:function(t){cookie.remove(t)},removeCookie:function(t,e){(e=e||{}).expires=new Date(0),cookie._setRaw(t,"",e)},_setRaw:function(t,e,n){if(this._isValidKey(t)){var i=(n=n||{}).expires;"number"===typeof n.expires&&(i=new Date).setTime(i.getTime()+n.expires),document.cookie=t+"="+e+(n.path?"; path="+n.path:"")+(i?"; expires="+i.toGMTString():"")+(n.domain?"; domain="+n.domain:"")+(n.secure?"; secure":"")}},_getRaw:function(t){if(cookie._isValidKey(t)){var e=new RegExp("(^| )"+t+"=([^;]*)(;|$)").exec(document.cookie);if(e)return e[2]||null}return null},set:function(t,e,n){this._setRaw(t,encodeURIComponent(e),n)},get:function(t){var e=this._getRaw(t);return"string"===typeof e?e=decodeURIComponent(e):null}},base64encode:function(t){var e,n,i,a,o,r;for(i=t.length,n=0,e="";n>2),e+=base64EncodeChars.charAt((3&a)<<4),e+="==";break}if(o=t.charCodeAt(n++),n==i){e+=base64EncodeChars.charAt(a>>2),e+=base64EncodeChars.charAt((3&a)<<4|(240&o)>>4),e+=base64EncodeChars.charAt((15&o)<<2),e+="=";break}r=t.charCodeAt(n++),e+=base64EncodeChars.charAt(a>>2),e+=base64EncodeChars.charAt((3&a)<<4|(240&o)>>4),e+=base64EncodeChars.charAt((15&o)<<2|(192&r)>>6),e+=base64EncodeChars.charAt(63&r)}return e},checkTime:function(t,e){if(!t&&!e)return!0;var n=parseInt(t),i=parseInt(e),a=new Date,o=a.getMonth()+1,r=a.getDate(),s=a.getHours(),c=a.getFullYear(),l=parseInt(this.timeFormat(c)+this.timeFormat(o)+this.timeFormat(r)+this.timeFormat(s));return!!(n&&i&&l>=n&&l<=i||n&&!i&&l>=n||!n&&i&&l<=i)},timeFormat:function(t){return t<10?"0"+t:t.toString()},creatElement:function(t,e){var n=document.createElement(t);for(var i in e)n.setAttribute(i,e[i]);return n},creatPvElement:function(){var t=config.pvContainer;document.getElementById(t)?this.pvBox=document.getElementById(t):(this.pvBox=this.creatElement("div",{id:t,style:"display:none"}),document.body.appendChild(this.pvBox))},_getElement:function(t){return document.querySelector(t)},createScript:function createScript(box){if(box){if(box.$container&&box.$container.dataset&&"PDPS000000056239"==box.$container.dataset.id)var options={type:"text/javascript",id:"_gg_127480"};else if("PDPS000000056240"==box.$container.dataset.id)var options={type:"text/javascript",id:"vlion_1520832446_box"};else if(void 0!=typeof box.sClass)var options={class:box.sClass,type:"text/javascript"};else var options={type:"text/javascript"};var _script=null;box.src&&(options.src=box.src),_script=this.creatElement("script",options),box.readyStr&&(_script.onload=function(){eval(box.readyStr)}),box.$container&&box.$container.appendChild(_script)}},createWordsPv:function(t){var e=this.creatElement("img",{src:t+"&r="+Math.random()}),n=this._getElement("#"+config.pvContainer);n||this.creatPvElement(),n.appendChild(e)},parseURL:function(t){t=this.toString();var e=document.createElement("a");return e.href=t,{source:t,protocol:e.protocol.replace(":",""),host:e.hostname,origin:e.origin,port:e.port,query:e.search,file:(e.pathname.match(/\/([^\/?#]+)$/i)||[,""])[1],hash:e.hash.replace("#",""),path:e.pathname.replace(/^([^\/])/,"/$1"),relative:(e.href.match(/tps?:\/\/[^\/]+(.+)/)||[,""])[1],segments:e.pathname.replace(/^\//,"").split("/"),params:function(){var t={};return e.search.replace(/^\?/,"").split("&").filter((function(t,e){if(""!==t&&t.indexOf("="))return!0})).forEach((function(e,n){var i=e.indexOf("="),a=e.substring(0,i),o=e.substring(i+1);t[a]=o})),t}()}},copyObject:function(t){if("object"!=typeof t)return t;var e={};for(var n in t)e[n]=t[n];return e},addParams:function(t,e){if(!t)return"";if(!e)return t;var n=[];for(var i in e)n.push(i+"="+e[i]);return t+(t.match(/\?/gi)?"&":"?")+n.join("&")},createWordsScript:function(t,e,n,i,a){if(i)var o=sinaSax.creatElement("script",{type:"text/javascript",src:i});else o=sinaSax.creatElement("script",{type:"text/javascript"});if(""!=e&&(o.innerHTML=e),n){var r=sinaSax.creatElement("img",{src:n+"&r="+Math.random()});$("#sax_pv_count").length>0||sinaSax.creatPvElement(),$("#sax_pv_count").append(r)}t.appendChild(o),0!=a&&sinaSax.callback("triggerDomIimit",[t])},getQueryString:function(t,e){var n=new RegExp("(^|&)"+t+"=([^&]*)(&|$)");if(e)var i=e.split("?")[1]&&e.split("?")[1].match(n);else i=window.location.search.substr(1).match(n);return null!=i?unescape(i[2]):null},createId:function(t){for(var e=[],n=0;n<8;n++)e[n]="0123456789abcdef".substr(Math.floor(16*Math.random()),1);return e[parseInt(4)+1]="0123456789abcdef".substr(3&e[4]|8,1),"_"+e.join("")+(new Date).getTime().toString().substring(5,13)+t},isNull:function(t){return"undefined"===typeof t||null===t},ensureArray:function(t){return Array.isArray(t)?t:toolkit.isNull(t)?[]:[t]},stringTrim:function(){var t=new RegExp("(^[\\s\\t\\xa0\\u3000]+)|([\\u3000\\xa0\\s\\t]+$)","g");return function(e){return e=e||"",String(e).replace(t,"")}}};window.testLMT=function(){setTimeout((function(){window.location.href.match(/isMock/gi)&&sax_jsonpCallback_1({ad:[{id:"PDPS000000059890",type:"jdt",size:"170*151",content:[]},{id:"PDPS000000060087",type:"jdt",size:"170*151",content:[]},{id:"8A622C4B3DD0",type:"gjz",size:"140*170",content:[{src:["https://d1.sinaimg.cn/201708/31/1466713.gif"],link:["https://saxn.sina.com.cn/mfp/click?type=3&t=MjAxNy0wOS0wNSAxOTozMTo0MwkxMTEuMTMuOTUuMwlOVUxMX1ZBTFVFCWh0dHA6Ly8xMC4yMzYuNTcuNjc6MzAyNS9pbmRleC5odG1sCUI2OTRFQkVDMEE5Rgk3MjY1Njg0MS1lNGQ0LTQ0ZDgtYjhmYS0zNWRjZTc2ZDY2YjEJNjk4MTZjOGZiZDIwCTY5ODE2YzhmYmQyMAlhdXRvX2xldmVsOjE4MDEwMHx1c2VyX2dyb3VwOjkwMHxwb3M6UERQUzAwMDAwMDA1OTg5MCxQRFBTMDAwMDAwMDYwMDg3LEI2OTRFQkVDMEE5Rnx3YXBfb3M6NzAyfHVzZXJfYWdlOjYwMHx2X3pvbmU6MzAyMDAwLDMwMjAwMHx1c2VyX2dlbmRlcjo1MDB8YXV0b19wcmljZToxODAyMDB8X3Zfem9uZTozMDIwMDAsMzAyMDAwfG1vYmlsZV9icmFuZDoxMjAxfG1vYmlsZV9icm93c2VyOjgxMQkJMzAyMDAwfDMwMjAwMAk2OTgxNmM4ZmJkMjAJTUIxNzA2MDk2OQkJN0E5OEUxNTQ3NzM0CVdBUAktCTU2CS0JLQktCS0JLQktCS0JLQk0CTEJLQkwCTAJb3M6aXBob25lfGJyb3dzZXI6c2FmYXJpfHBsYXRmb3JtOmlvc3xkZXZpY2U6b3RoZXJ8Y3JlYXRpdmU6Njk4MTZjOGZiZDIwLDY5ODE2YzhmYmQyMCw2OTgxNmM4ZmJkMjB8YWRQbGF0Rm9ybToz&url=https%3A%2F%2Fengine.lvehaisen.com%2Findex%2Factivity%3FappKey%3DuZvDRUfe1CQBu1XnmQL1JHfLo1v%26adslotId%3D2331&captcha=-716674430108034077&viewlog=false&userid=111.13.95.3"],monitor:[],origin_monitor:null,type:"image",pv:["https://saxn.sina.com.cn/mfp/view?type=3&t=MjAxNy0wOS0wNSAxOTozMTo0MwkxMTEuMTMuOTUuMwlOVUxMX1ZBTFVFCWh0dHA6Ly8xMC4yMzYuNTcuNjc6MzAyNS9pbmRleC5odG1sCUI2OTRFQkVDMEE5Rgk3MjY1Njg0MS1lNGQ0LTQ0ZDgtYjhmYS0zNWRjZTc2ZDY2YjEJNjk4MTZjOGZiZDIwCTY5ODE2YzhmYmQyMAlhdXRvX2xldmVsOjE4MDEwMHx1c2VyX2dyb3VwOjkwMHxwb3M6UERQUzAwMDAwMDA1OTg5MCxQRFBTMDAwMDAwMDYwMDg3LEI2OTRFQkVDMEE5Rnx3YXBfb3M6NzAyfHVzZXJfYWdlOjYwMHx2X3pvbmU6MzAyMDAwLDMwMjAwMHx1c2VyX2dlbmRlcjo1MDB8YXV0b19wcmljZToxODAyMDB8X3Zfem9uZTozMDIwMDAsMzAyMDAwfG1vYmlsZV9icmFuZDoxMjAxfG1vYmlsZV9icm93c2VyOjgxMQkJMzAyMDAwfDMwMjAwMAk2OTgxNmM4ZmJkMjAJTUIxNzA2MDk2OQkJN0E5OEUxNTQ3NzM0CVdBUAktCTU2CS0JLQktCS0JLQktCS0JLQk0CTEJLQkwCTAJb3M6aXBob25lfGJyb3dzZXI6c2FmYXJpfHBsYXRmb3JtOmlvc3xkZXZpY2U6b3RoZXJ8Y3JlYXRpdmU6Njk4MTZjOGZiZDIwLDY5ODE2YzhmYmQyMCw2OTgxNmM4ZmJkMjB8YWRQbGF0Rm9ybToz&userid=111.13.95.3&viewlog=false&hashCode=f6e55c4e98cab0655e14b79bd570bb4e"],pid:null,len:null,volume:null,pvBegin:null,pvEnd:null,size:null,ad_id:"sina_69816c8fbd20"}]}],cm:[]})}),1e3)},window._sendExpose=function(t,e){_mfelibs_base_tools_exposure__WEBPACK_IMPORTED_MODULE_0__.a&&_mfelibs_base_tools_exposure__WEBPACK_IMPORTED_MODULE_0__.a.pushListeningEle([t],(function(){if(e.pdps)if(e.vision=toolkit.ensureArray(e.vision),void 0!=e.vision&&0!=e.vision.length)for(var t=document.getElementById(pvContainer.pv),n=0;n-1)e[t]=n[t];else{var i=Object.getOwnPropertyDescriptor(n,t);void 0!==i.value?"function"===typeof i.value?(e.methods||(e.methods={}))[t]=i.value:(e.mixins||(e.mixins=[])).push({data:function(){var e;return(e={})[t]=i.value,e}}):(i.get||i.set)&&((e.computed||(e.computed={}))[t]={get:i.get,set:i.set})}})),(e.mixins||(e.mixins=[])).push({data:function(){return function(t,e){var n=e.prototype._init;e.prototype._init=function(){var e=this,n=Object.getOwnPropertyNames(t);if(t.$options.props)for(var i in t.$options.props)t.hasOwnProperty(i)||n.push(i);n.forEach((function(n){"_"!==n.charAt(0)&&Object.defineProperty(e,n,{get:function(){return t[n]},set:function(e){t[n]=e},configurable:!0})}))};var i=new e;e.prototype._init=n;var a={};return Object.keys(i).forEach((function(t){void 0!==i[t]&&(a[t]=i[t])})),a}(this,t)}});var i=t.__decorators__;i&&(i.forEach((function(t){return t(e)})),delete t.__decorators__);var l,u,d=Object.getPrototypeOf(t.prototype),p=d instanceof a?d.constructor:a,h=p.extend(e);return function(t,e,n){Object.getOwnPropertyNames(e).forEach((function(i){if("prototype"!==i){var a=Object.getOwnPropertyDescriptor(t,i);if(!a||a.configurable){var o=Object.getOwnPropertyDescriptor(e,i);if(!s){if("cid"===i)return;var r=Object.getOwnPropertyDescriptor(n,i);if(!function(t){var e=typeof t;return null==t||"object"!==e&&"function"!==e}(o.value)&&r&&r.value===o.value)return}0,Object.defineProperty(t,i,o)}}}))}(h,t,p),o&&(r(l=h,u=t),Object.getOwnPropertyNames(u.prototype).forEach((function(t){r(l.prototype,u.prototype,t)})),Object.getOwnPropertyNames(u).forEach((function(t){r(l,u,t)}))),h}function u(t){return"function"===typeof t?l(t):function(e){return l(e,t)}}u.registerHooks=function(t){c.push.apply(c,t)},e.default=u,e.createDecorator=function(t){return function(e,n,i){var a="function"===typeof e?e:e.constructor;a.__decorators__||(a.__decorators__=[]),"number"!==typeof i&&(i=void 0),a.__decorators__.push((function(e){return t(e,n,i)}))}},e.mixins=function(){for(var t=[],e=0;e=10)){location;this._performanceCollection(e,n)}},_performanceCollection:function(t,e){var n=window,i=null,a=-1,o=this,r="0";n.performance&&(a=setInterval((function(){clearInterval(a),(i=n.performance.timing).fetchStart&&(r=o._sliceAttr(i.fetchStart));var s={attr:r,cE:o._sliceString(i.connectEnd),cS:o._sliceString(i.connectStart),dC:o._sliceString(i.domComplete),dCLE:o._sliceString(i.domContentLoadedEventEnd),dCLS:o._sliceString(i.domContentLoadedEventStart),dI:o._sliceString(i.domInteractive),dL:o._sliceString(i.domLoading),dLE:o._sliceString(i.domainLookupEnd),dLS:o._sliceString(i.domainLookupStart),fS:o._sliceString(i.fetchStart),lEE:o._sliceString(i.loadEventEnd),lES:o._sliceString(i.loadEventStart),rE:o._sliceString(i.redirectEnd),rS:o._sliceString(i.redirectStart),nS:o._sliceString(i.navigationStart),reS:o._sliceString(i.requestStart),rsS:o._sliceString(i.responseStart),rsE:o._sliceString(i.responseEnd),sCS:o._sliceString(i.secureConnectionStart),uEE:o._sliceString(i.unloadEventEnd),uES:o._sliceString(i.unloadEventStart),ext:t};o.isSend&&e&&e(s)}),30))},_sliceString:function(t){var e="0";return 0==t||null==t||"undefined"==typeof t||(e=(e=t.toString()).slice(7,e.length)).length<6&&(this.isSend=!1),e},_sliceAttr:function(t){return 0==t?t.toString():t.toString().slice(0,7)}};window.performanceCollection=c;var l=c,u=n(73),d=n.n(u),p=n(108),h=n(109),f=n.n(h);function m(t){return function(e){if("string"!==typeof t)return!1;for(var n=t.split("."),i=0,a=e;i0&&(e.filter((function(t){var e="xmlhttprequest"===t.initiatorType||"script"===t.initiatorType||"img"===t.initiatorType||"link"===t.initiatorType,n=-1===t.name.indexOf("beacon.sinajs.cn");return e&&n})).filter((function(e){return(t.itemRandom[e.initiatorType]||0)>=Math.random()})).forEach((function(e,n){var i=function(t){var e={};for(var n in w)t[n]&&(t[n].toFixed&&0!==t[n]?e[w[n]]=t[n].toFixed(2):e[w[n]]=t[n]);return e}(e);0===n&&t.fpsInfo.length>0&&(e.fpsInfo=JSON.stringify(t.fpsInfo),t._clearFpsInfo()),_(t.clinetInfo,i),i.nm&&(i.nm=encodeURIComponent(i.nm)),Object.keys(i).length>0&&t.reportByPost(i)})),y.performance.clearResourceTimings())}),this.collectTime)}},{key:"collectClinet",value:function(){var t=y.navigator.userAgent,e=!1,n=!1,i="Mobile";try{document.createEvent("TouchEvent")}catch(a){i="PC"}return y.matchMedia("(display-mode: standalone)").matches&&(e=!0),"serviceWorker"in navigator&&(n=!0),{currentUrl:encodeURIComponent(y.location.href),projectType:i,userAgent:t,isStandlone:e,supportSwork:n,referer:document.referer?encodeURIComponent(document.referer):"",host:y.location.protocol+"//"+y.location.hostname}}},{key:"collectFPS",value:function(){var t=this;this.fpsCollector=new p.collectScrollFps({threshold:2}),this.fpsCollector.start(),this.fpsCollector.on("end",(function(e){t.fpsInfo.push({fps:e.fps.toFixed(2),speed:e.speed.toFixed(2)})}))}},{key:"collectExt",value:function(t){if(!(this.extRandom<=Math.random())){var e=this.collectClinet();e.ext=JSON.stringify(t||{}),this.extReport.reportByGet(e)}}},{key:"collectExtByPost",value:function(t){if(!(this.extRandom<=Math.random())){var e=this.collectClinet();e.ext=JSON.stringify(t||{}),this.extReport.reportByPost(e)}}},{key:"_clearFpsInfo",value:function(){this.fpsInfo=[]}},{key:"addCustomStatistics",value:function(t){if(!t||"object"!==typeof t)throw new Error("Invalid arguments in invoking `addCustomStatistics`.");this._addInjection(t)}},{key:"_addInjection",value:function(t){t&&"object"===typeof t&&(this.extraInjection||(this.extraInjection={}),this.extraInjection=v(this.extraInjection,t))}},{key:"_getInjection",value:function(){return this.extraInjection}}]),n}(d.a);e.a=b},function(t,e,n){var i=n(14),a=n(57).f,o=n(26),r=n(42),s=n(60),c=n(80),l=n(126);t.exports=function(t,e){var n,u,d,p,h,f=t.target,m=t.global,g=t.stat;if(n=m?i:g?i[f]||s(f,{}):(i[f]||{}).prototype)for(u in e){if(p=e[u],d=t.noTargetGet?(h=a(n,u))&&h.value:n[u],!l(m?u:f+(g?".":"#")+u,t.forced)&&void 0!==d){if(typeof p===typeof d)continue;c(p,d)}(t.sham||d&&d.sham)&&o(p,"sham",!0),r(n,u,p,t)}}},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===typeof window&&(n=window)}t.exports=n},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var i=n(75),a=n(59);t.exports=function(t){return i(a(t))}},function(t,e,n){var i=n(59);t.exports=function(t){return Object(i(t))}},function(t,e,n){var i=n(24).f,a=n(17),o=n(15)("toStringTag");t.exports=function(t,e,n){t&&!a(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(18);function a(t,e,n){for(var a=n||i.defaultEquals,o=t.length,r=0;r=0;o--)if(a(t[o],e))return o;return-1},e.contains=function(t,e,n){return a(t,e,n)>=0},e.remove=function(t,e,n){var i=a(t,e,n);return!(i<0)&&(t.splice(i,1),!0)},e.frequency=function(t,e,n){for(var a=n||i.defaultEquals,o=t.length,r=0,s=0;s=t.length||n<0||n>=t.length)return!1;var i=t[e];return t[e]=t[n],t[n]=i,!0},e.toString=function(t){return"["+t.toString()+"]"},e.forEach=function(t,e){for(var n=0,i=t;n1){var p=[];return d.container.each((function(){p.push(new e(this,a))})),p}d.container[0].swiper=d,d.container.data("swiper",d),d.classNames.push(d.params.containerModifierClass+d.params.direction),d.params.freeMode&&d.classNames.push(d.params.containerModifierClass+"free-mode"),d.support.flexbox||(d.classNames.push(d.params.containerModifierClass+"no-flexbox"),d.params.slidesPerColumn=1),d.wrapper=d.container.children("."+d.params.wrapperClass),d.params.pagination&&(d.paginationContainer=t(d.params.pagination),d.params.uniqueNavElements&&"string"===typeof d.params.pagination&&d.paginationContainer.length>1&&1===d.container.find(d.params.pagination).length&&(d.paginationContainer=d.container.find(d.params.pagination)),d.paginationContainer.addClass(d.params.paginationModifierClass+d.params.paginationType)),d.isHorizontal=function(){return"horizontal"===d.params.direction},d.rtl=d.isHorizontal()&&("rtl"===d.container[0].dir.toLowerCase()||"rtl"===d.container.css("direction")),d.rtl&&d.classNames.push(d.params.containerModifierClass+"rtl"),d.rtl&&(d.wrongRTL="-webkit-box"===d.wrapper.css("display")),d.device.android&&d.classNames.push(d.params.containerModifierClass+"android"),d.container.addClass(d.classNames.join(" ")),d.translate=0,d.progress=0,d.velocity=0,d.imagesToLoad=[],d.imagesLoaded=0,d.loadImage=function(t,e,n,i,a,o){var r;function s(){o&&o()}t.complete&&a?s():e?((r=new window.Image).onload=s,r.onerror=s,i&&(r.sizes=i),n&&(r.srcset=n),e&&(r.src=e)):s()},d.autoplayTimeoutId=void 0,d.autoplaying=!1,d.autoplayPaused=!1,d.startAutoplay=function(){return"undefined"===typeof d.autoplayTimeoutId&&(!!d.params.autoplay&&(!d.autoplaying&&(d.autoplaying=!0,d.emit("onAutoplayStart",d),void M())))},d.stopAutoplay=function(t){d.autoplayTimeoutId&&(d.autoplayTimeoutId&&clearTimeout(d.autoplayTimeoutId),d.autoplaying=!1,d.autoplayTimeoutId=void 0,d.emit("onAutoplayStop",d))},d.pauseAutoplay=function(t){d.autoplayPaused||(d.autoplayTimeoutId&&clearTimeout(d.autoplayTimeoutId),d.autoplayPaused=!0,0===t?(d.autoplayPaused=!1,M()):d.wrapper.transitionEnd((function(){d&&(d.autoplayPaused=!1,d.autoplaying?M():d.stopAutoplay())})))},d.minTranslate=function(){return-d.snapGrid[0]},d.maxTranslate=function(){return-d.snapGrid[d.snapGrid.length-1]},d.updateContainerSize=function(){var t,e;t="undefined"!==typeof d.params.width?d.params.width:d.container[0].clientWidth,e="undefined"!==typeof d.params.height?d.params.height:d.container[0].clientHeight,0===t&&d.isHorizontal()||0===e&&!d.isHorizontal()||(t=t-parseInt(d.container.css("padding-left"),10)-parseInt(d.container.css("padding-right"),10),e=e-parseInt(d.container.css("padding-top"),10)-parseInt(d.container.css("padding-bottom"),10),d.width=t,d.height=e,d.size=d.isHorizontal()?d.width:d.height)},d.updateSlidesSize=function(){d.slides=d.wrapper.children("."+d.params.slideClass),d.snapGrid=[],d.slidesGrid=[],d.slidesSizesGrid=[];var t,e=d.params.spaceBetween,n=-d.params.slidesOffsetBefore,i=0;if("undefined"!==typeof d.size){var a;"string"===typeof e&&e.indexOf("%")>=0&&(e=parseFloat(e.replace("%",""))/100*d.size),d.virtualSize=-e,d.rtl?d.slides.css({marginLeft:"",marginTop:""}):d.slides.css({marginRight:"",marginBottom:""});var o,r=void 0/d.params.slidesPerColumn;d.params.slidesPerColumn,d.slides.length;for(t=0;t1&&d.snapGrid.push(d.virtualSize-d.size)}0===d.snapGrid.length&&(d.snapGrid=[0]),0!==d.params.spaceBetween&&(d.isHorizontal()?d.rtl?d.slides.css({marginLeft:e+"px"}):d.slides.css({marginRight:e+"px"}):d.slides.css({marginBottom:e+"px"})),d.params.watchSlidesProgress&&d.updateSlidesOffset()}},d.updateSlidesOffset=function(){for(var t=0;t=1),d.isBeginning&&!n&&d.emit("onReachBeginning",d),d.isEnd&&!i&&d.emit("onReachEnd",d),d.params.watchSlidesProgress&&d.updateSlidesProgress(t),d.emit("onProgress",d,d.progress)},d.updateActiveIndex=function(){var t,e,n,i=d.rtl?d.translate:-d.translate;for(e=0;e=d.slidesGrid[e]&&i=d.slidesGrid[e]&&i=d.slidesGrid[e]&&(t=e);(n=Math.floor(t/d.params.slidesPerGroup))>=d.snapGrid.length&&(n=d.snapGrid.length-1),t!==d.activeIndex&&(d.snapIndex=n,d.previousIndex=d.activeIndex,d.activeIndex=t,d.updateClasses(),d.updateRealIndex())},d.updateRealIndex=function(){d.realIndex=d.slides.eq(d.activeIndex).attr("data-swiper-slide-index")||d.activeIndex},d.updateClasses=function(){d.slides.removeClass(d.params.slideActiveClass+" "+d.params.slideNextClass+" "+d.params.slidePrevClass+" "+d.params.slideDuplicateActiveClass+" "+d.params.slideDuplicateNextClass+" "+d.params.slideDuplicatePrevClass);var e=d.slides.eq(d.activeIndex);e.addClass(d.params.slideActiveClass),a.loop&&(e.hasClass(d.params.slideDuplicateClass)?d.wrapper.children("."+d.params.slideClass+":not(."+d.params.slideDuplicateClass+')[data-swiper-slide-index="'+d.realIndex+'"]').addClass(d.params.slideDuplicateActiveClass):d.wrapper.children("."+d.params.slideClass+"."+d.params.slideDuplicateClass+'[data-swiper-slide-index="'+d.realIndex+'"]').addClass(d.params.slideDuplicateActiveClass));var n=e.next("."+d.params.slideClass).addClass(d.params.slideNextClass);d.params.loop&&0===n.length&&(n=d.slides.eq(0)).addClass(d.params.slideNextClass);var i=e.prev("."+d.params.slideClass).addClass(d.params.slidePrevClass);if(d.params.loop&&0===i.length&&(i=d.slides.eq(-1)).addClass(d.params.slidePrevClass),a.loop&&(n.hasClass(d.params.slideDuplicateClass)?d.wrapper.children("."+d.params.slideClass+":not(."+d.params.slideDuplicateClass+')[data-swiper-slide-index="'+n.attr("data-swiper-slide-index")+'"]').addClass(d.params.slideDuplicateNextClass):d.wrapper.children("."+d.params.slideClass+"."+d.params.slideDuplicateClass+'[data-swiper-slide-index="'+n.attr("data-swiper-slide-index")+'"]').addClass(d.params.slideDuplicateNextClass),i.hasClass(d.params.slideDuplicateClass)?d.wrapper.children("."+d.params.slideClass+":not(."+d.params.slideDuplicateClass+')[data-swiper-slide-index="'+i.attr("data-swiper-slide-index")+'"]').addClass(d.params.slideDuplicatePrevClass):d.wrapper.children("."+d.params.slideClass+"."+d.params.slideDuplicateClass+'[data-swiper-slide-index="'+i.attr("data-swiper-slide-index")+'"]').addClass(d.params.slideDuplicatePrevClass)),d.paginationContainer&&d.paginationContainer.length>0){var o,r=d.params.loop?Math.ceil((d.slides.length-2*d.loopedSlides)/d.params.slidesPerGroup):d.snapGrid.length;d.params.loop?((o=Math.ceil((d.activeIndex-d.loopedSlides)/d.params.slidesPerGroup))>d.slides.length-1-2*d.loopedSlides&&(o-=d.slides.length-2*d.loopedSlides),o>r-1&&(o-=r),o<0&&"bullets"!==d.params.paginationType&&(o=r+o)):o="undefined"!==typeof d.snapIndex?d.snapIndex:d.activeIndex||0,"bullets"===d.params.paginationType&&d.bullets&&d.bullets.length>0&&(d.bullets.removeClass(d.params.bulletActiveClass),d.paginationContainer.length>1?d.bullets.each((function(){t(this).index()===o&&t(this).addClass(d.params.bulletActiveClass)})):d.bullets.eq(o).addClass(d.params.bulletActiveClass)),"fraction"===d.params.paginationType&&(d.paginationContainer.find("."+d.params.paginationCurrentClass).text(o+1),d.paginationContainer.find("."+d.params.paginationTotalClass).text(r))}d.params.loop||d.params.prevButton&&d.prevButton&&d.prevButton.length>0&&(d.isBeginning?d.prevButton.addClass(d.params.buttonDisabledClass):d.prevButton.removeClass(d.params.buttonDisabledClass))},d.updatePagination=function(){if(d.params.pagination&&d.paginationContainer&&d.paginationContainer.length>0){var t="";if("bullets"===d.params.paginationType){for(var e=d.params.loop?Math.ceil((d.slides.length-2*d.loopedSlides)/d.params.slidesPerGroup):d.snapGrid.length,n=0;n";d.paginationContainer.html(t),d.bullets=d.paginationContainer.find("."+d.params.bulletClass)}"fraction"===d.params.paginationType&&(t=d.params.paginationFractionRender?d.params.paginationFractionRender(d,d.params.paginationCurrentClass,d.params.paginationTotalClass):' / ',d.paginationContainer.html(t))}},d.update=function(t){function e(){d.rtl,d.translate;n=Math.min(Math.max(d.translate,d.maxTranslate()),d.minTranslate()),d.setWrapperTranslate(n),d.updateActiveIndex(),d.updateClasses()}var n;(d.updateContainerSize(),d.updateSlidesSize(),d.updateProgress(),d.updatePagination(),d.updateClasses(),t)&&(d.controller&&d.controller.spline&&(d.controller.spline=void 0),d.params.freeMode?e():(("auto"===d.params.slidesPerView||d.params.slidesPerView>1)&&d.isEnd&&!d.params.centeredSlides?d.slideTo(d.slides.length-1,0,!1,!0):d.slideTo(d.activeIndex,0,!1,!0))||e())},d.onResize=function(t){d.params.breakpoints&&d.setBreakpoint();var e=d.params.allowSwipeToPrev,n=d.params.allowSwipeToNext;d.params.allowSwipeToPrev=d.params.allowSwipeToNext=!0,d.updateContainerSize(),d.updateSlidesSize(),("auto"===d.params.slidesPerView||d.params.freeMode||t)&&d.updatePagination(),d.controller&&d.controller.spline&&(d.controller.spline=void 0);var i=!1;if(d.params.freeMode){var a=Math.min(Math.max(d.translate,d.maxTranslate()),d.minTranslate());d.setWrapperTranslate(a),d.updateActiveIndex(),d.updateClasses()}else d.updateClasses(),i=("auto"===d.params.slidesPerView||d.params.slidesPerView>1)&&d.isEnd&&!d.params.centeredSlides?d.slideTo(d.slides.length-1,0,!1,!0):d.slideTo(d.activeIndex,0,!1,!0);d.params.lazyLoading&&!i&&d.lazy&&d.lazy.load(),d.params.allowSwipeToPrev=e,d.params.allowSwipeToNext=n},d.touchEventsDesktop={start:"mousedown",move:"mousemove",end:"mouseup"},window.navigator.pointerEnabled?d.touchEventsDesktop={start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled&&(d.touchEventsDesktop={start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}),d.touchEvents={start:d.support.touch||!d.params.simulateTouch?"touchstart":d.touchEventsDesktop.start,move:d.support.touch||!d.params.simulateTouch?"touchmove":d.touchEventsDesktop.move,end:d.support.touch||!d.params.simulateTouch?"touchend":d.touchEventsDesktop.end},(window.navigator.pointerEnabled||window.navigator.msPointerEnabled)&&("container"===d.params.touchEventsTarget?d.container:d.wrapper).addClass("swiper-wp8-"+d.params.direction),d.initEvents=function(t){var e=t?"removeEventListener":"addEventListener",n="container"===d.params.touchEventsTarget?d.container[0]:d.wrapper[0],i=(d.support.touch||document,!!d.params.nested);if(d.browser.ie);else{if(d.support.touch){var o=!("touchstart"!==d.touchEvents.start||!d.support.passiveListener||!d.params.passiveListeners)&&{passive:!0,capture:!1};n[e](d.touchEvents.start,d.onTouchStart,o),n[e](d.touchEvents.move,d.onTouchMove,i),n[e](d.touchEvents.end,d.onTouchEnd,o)}(a.simulateTouch&&!d.device.ios&&!d.device.android||a.simulateTouch&&!d.support.touch&&d.device.ios)&&(n[e]("mousedown",d.onTouchStart,!1),document[e]("mousemove",d.onTouchMove,i),document[e]("mouseup",d.onTouchEnd,!1))}window[e]("resize",d.onResize),(d.params.preventClicks||d.params.preventClicksPropagation)&&n[e]("click",d.preventClicks,!0)},d.attachEvents=function(){d.initEvents()},d.detachEvents=function(){d.initEvents(!0)},d.allowClick=!0,d.preventClicks=function(t){d.allowClick||(d.params.preventClicks&&t.preventDefault(),d.params.preventClicksPropagation&&d.animating&&(t.stopPropagation(),t.stopImmediatePropagation()))};var h,f,m,g,v,y,w,_,b,A,x="input, select, textarea, button, video",C=Date.now(),k=[];for(var S in d.animating=!1,d.touches={startX:0,startY:0,currentX:0,currentY:0,diff:0},d.onTouchStart=function(e){if(e.originalEvent&&(e=e.originalEvent),(A="touchstart"===e.type)||!("which"in e)||3!==e.which)if(d.params.noSwiping&&function(e,n){var i=t(e.target);if(!i.is(n))if("string"===typeof n)i=i.parents(n);else if(n.nodeType){var a;return i.parents().each((function(t,e){e===n&&(a=n)})),a?n:void 0}if(0!==i.length)return i[0]}(e,"."+d.params.noSwipingClass))d.allowClick=!0;else{var n=d.touches.currentX="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,i=d.touches.currentY="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY;if(h=!0,f=!1,m=!0,v=void 0,void 0,d.touches.startX=n,d.touches.startY=i,g=Date.now(),d.allowClick=!0,d.updateContainerSize(),d.swipeDirection=void 0,"touchstart"!==e.type){var a=!0;t(e.target).is(x)&&(a=!1),document.activeElement&&t(document.activeElement).is(x)&&document.activeElement.blur(),a&&e.preventDefault()}d.emit("onTouchStart",d,e)}},d.onTouchMove=function(e){if(e.originalEvent&&(e=e.originalEvent),!A||"mousemove"!==e.type){if(e.preventedByNestedSwiper)return d.touches.startX="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,void(d.touches.startY="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY);if(d.params.onlyExternal)return d.allowClick=!1,void(h&&(d.touches.startX=d.touches.currentX="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,d.touches.startY=d.touches.currentY="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,g=Date.now()));if(A&&document.activeElement&&e.target===document.activeElement&&t(e.target).is(x))return f=!0,void(d.allowClick=!1);if(m&&d.emit("onTouchMove",d,e),!(e.targetTouches&&e.targetTouches.length>1)){var n;if(d.touches.currentX="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,d.touches.currentY="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,"undefined"===typeof v)d.isHorizontal()&&d.touches.currentY===d.touches.startY||!d.isHorizontal()&&d.touches.currentX!==d.touches.startX?v=!1:(n=180*Math.atan2(Math.abs(d.touches.currentY-d.touches.startY),Math.abs(d.touches.currentX-d.touches.startX))/Math.PI,v=d.isHorizontal()?n>d.params.touchAngle:90-n>d.params.touchAngle);if(v&&d.emit("onTouchMoveOpposite",d,e),h)if(v)h=!1;else{d.allowClick=!1,d.emit("onSliderMove",d,e),e.preventDefault(),d.params.touchMoveStopPropagation&&!d.params.nested&&e.stopPropagation(),f||(a.loop&&d.fixLoop(),w=d.getWrapperTranslate(),d.setWrapperTransition(0),d.animating&&d.wrapper.trigger("webkitTransitionEnd transitionend oTransitionEnd MSTransitionEnd msTransitionEnd"),d.params.autoplay&&d.autoplaying&&(d.params.autoplayDisableOnInteraction?d.stopAutoplay():d.pauseAutoplay()),b=!1),f=!0;var i=d.touches.diff=d.isHorizontal()?d.touches.currentX-d.touches.startX:d.touches.currentY-d.touches.startY;i*=d.params.touchRatio,d.rtl&&(i=-i),d.swipeDirection=i>0?"prev":"next",y=i+w;var o=!0;i>0&&y>d.minTranslate()?(o=!1,d.params.resistance&&(y=d.minTranslate()-1+Math.pow(-d.minTranslate()+w+i,d.params.resistanceRatio))):i<0&&y300&&(_&&clearTimeout(_),_=setTimeout((function(){d&&d.emit("onClick",d,t)}),300))),C=Date.now(),setTimeout((function(){d&&(d.allowClick=!0)}),0),h&&f&&d.swipeDirection&&0!==d.touches.diff&&y!==w)if(h=f=!1,e=d.params.followFinger?d.rtl?d.translate:-d.translate:-y,d.params.freeMode){if(e<-d.minTranslate())return void d.slideTo(d.activeIndex);if(e>-d.maxTranslate())return void(d.slides.length1){var a=k.pop(),o=k.pop(),r=a.position-o.position,s=a.time-o.time;d.velocity=r/s,d.velocity=d.velocity/2,Math.abs(d.velocity)150||(new window.Date).getTime()-a.time>300)&&(d.velocity=0)}else d.velocity=0;d.velocity=d.velocity*d.params.freeModeMomentumVelocityRatio,k.length=0;var c=1e3*d.params.freeModeMomentumRatio,l=d.velocity*c,u=d.translate+l;d.rtl&&(u=-u);var p,v=!1,A=20*Math.abs(d.velocity)*d.params.freeModeMomentumBounceRatio;if(ud.minTranslate())d.params.freeModeMomentumBounce?(u-d.minTranslate()>A&&(u=d.minTranslate()+A),p=d.minTranslate(),v=!0,b=!0):u=d.minTranslate();else if(d.params.freeModeSticky){var x,S=0;for(S=0;S-u){x=S;break}u=Math.abs(d.snapGrid[x]-u)=d.params.longSwipesMs)&&(d.updateProgress(),d.updateActiveIndex())}else{var T,E=0,M=d.slidesSizesGrid[0];for(T=0;T=d.slidesGrid[T]&&e=d.slidesGrid[T]&&(E=T,M=d.slidesGrid[d.slidesGrid.length-1]-d.slidesGrid[d.slidesGrid.length-2]);var I=(e-d.slidesGrid[E])/M;if(i>d.params.longSwipesMs){if(!d.params.longSwipes)return void d.slideTo(d.activeIndex);"next"===d.swipeDirection&&(I>=d.params.longSwipesRatio?d.slideTo(E+d.params.slidesPerGroup):d.slideTo(E)),"prev"===d.swipeDirection&&(I>1-d.params.longSwipesRatio?d.slideTo(E+d.params.slidesPerGroup):d.slideTo(E))}else{if(!d.params.shortSwipes)return void d.slideTo(d.activeIndex);"next"===d.swipeDirection&&d.slideTo(E+d.params.slidesPerGroup),"prev"===d.swipeDirection&&d.slideTo(E)}}else h=f=!1}},d._slideTo=function(t,e){return d.slideTo(t,e,!0,!0)},d.slideTo=function(t,e,n,i){"undefined"===typeof n&&(n=!0),"undefined"===typeof t&&(t=0),t<0&&(t=0),d.snapIndex=Math.floor(t/d.params.slidesPerGroup),d.snapIndex>=d.snapGrid.length&&(d.snapIndex=d.snapGrid.length-1);var a=-d.snapGrid[d.snapIndex];return d.params.autoplay&&d.autoplaying&&(i||!d.params.autoplayDisableOnInteraction?d.pauseAutoplay(e):d.stopAutoplay()),d.updateProgress(a),!(!d.params.allowSwipeToPrev&&a>d.translate&&a>d.maxTranslate()&&(d.activeIndex||0)!==t)&&("undefined"===typeof e&&(e=d.params.speed),d.previousIndex=d.activeIndex||0,d.activeIndex=t,d.updateRealIndex(),d.rtl&&-a===d.translate||!d.rtl&&a===d.translate?(d.updateClasses(),"slide"!==d.params.effect&&d.setWrapperTranslate(a),!1):(d.updateClasses(),d.onTransitionStart(n),0===e||d.browser.lteIE9?(d.setWrapperTranslate(a),d.setWrapperTransition(0),d.onTransitionEnd(n)):(d.setWrapperTranslate(a),d.setWrapperTransition(e),d.animating||(d.animating=!0,d.wrapper.transitionEnd((function(){d&&d.onTransitionEnd(n)})))),!0))},d.onTransitionStart=function(t){"undefined"===typeof t&&(t=!0),d.lazy&&d.lazy.onTransitionStart(),t&&(d.emit("onTransitionStart",d),d.activeIndex!==d.previousIndex&&(d.emit("onSlideChangeStart",d),d.activeIndex>d.previousIndex?d.emit("onSlideNextStart",d):d.emit("onSlidePrevStart",d)))},d.onTransitionEnd=function(t){d.animating=!1,d.setWrapperTransition(0),"undefined"===typeof t&&(t=!0),d.lazy&&d.lazy.onTransitionEnd(),t&&(d.emit("onTransitionEnd",d),d.activeIndex!==d.previousIndex&&(d.emit("onSlideChangeEnd",d),d.activeIndex>d.previousIndex?d.emit("onSlideNextEnd",d):d.emit("onSlidePrevEnd",d)))},d.slideNext=function(t,e,n){if(d.params.loop){if(d.animating)return!1;d.fixLoop();d.container[0].clientLeft;return d.slideTo(d.activeIndex+d.params.slidesPerGroup,e,t,n)}return d.slideTo(d.activeIndex+d.params.slidesPerGroup,e,t,n)},d._slideNext=function(t){return d.slideNext(!0,t,!0)},d.slidePrev=function(t,e,n){if(d.params.loop){if(d.animating)return!1;d.fixLoop();d.container[0].clientLeft;return d.slideTo(d.activeIndex-1,e,t,n)}return d.slideTo(d.activeIndex-1,e,t,n)},d._slidePrev=function(t){return d.slidePrev(!0,t,!0)},d.slideReset=function(t,e,n){return d.slideTo(d.activeIndex,e,t)},d.disableTouchControl=function(){return d.params.onlyExternal=!0,!0},d.enableTouchControl=function(){return d.params.onlyExternal=!1,!0},d.setWrapperTransition=function(t,e){d.wrapper.transition(t),d.emit("onSetTransition",d,t)},d.setWrapperTranslate=function(t,e,n){var i=0,a=0;d.isHorizontal()?i=d.rtl?-t:t:a=t,d.params.roundLengths&&(i=E(i),a=E(a)),d.params.virtualTranslate||(d.support.transforms3d?d.wrapper.transform("translate3d("+i+"px, "+a+"px, 0px)"):d.wrapper.transform("translate("+i+"px, "+a+"px)")),d.translate=d.isHorizontal()?i:a;var o=d.maxTranslate()-d.minTranslate();(0===o?0:(t-d.minTranslate())/o)!==d.progress&&d.updateProgress(t),e&&d.updateActiveIndex(),d.emit("onSetTranslate",d,d.translate)},d.getTranslate=function(t,e){var n,i,a,o;return"undefined"===typeof e&&(e="x"),a=window.getComputedStyle(t,null),window.WebKitCSSMatrix?((i=a.transform||a.webkitTransform).split(",").length>6&&(i=i.split(", ").map((function(t){return t.replace(",",".")})).join(", ")),o=new window.WebKitCSSMatrix("none"===i?"":i)):n=(o=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===e&&(i=window.WebKitCSSMatrix?o.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===e&&(i=window.WebKitCSSMatrix?o.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),d.rtl&&i&&(i=-i),i||0},d.getWrapperTranslate=function(t){return"undefined"===typeof t&&(t=d.isHorizontal()?"x":"y"),d.getTranslate(d.wrapper[0],t)},d.observers=[],d.createLoop=function(){d.wrapper.children("."+d.params.slideClass+"."+d.params.slideDuplicateClass).remove();var e=d.wrapper.children("."+d.params.slideClass);"auto"!==d.params.slidesPerView||d.params.loopedSlides||(d.params.loopedSlides=e.length),d.loopedSlides=parseInt(d.params.loopedSlides||d.params.slidesPerView,10),d.loopedSlides=d.loopedSlides+d.params.loopAdditionalSlides,d.loopedSlides>e.length&&(d.loopedSlides=e.length);var n,i=[],a=[];for(e.each((function(n,o){var r=t(this);n=e.length-d.loopedSlides&&i.push(o),r.attr("data-swiper-slide-index",n)})),n=0;n=0;n--)d.wrapper.prepend(t(i[n].cloneNode(!0)).addClass(d.params.slideDuplicateClass))},d.destroyLoop=function(){d.wrapper.children("."+d.params.slideClass+"."+d.params.slideDuplicateClass).remove(),d.slides.removeAttr("data-swiper-slide-index")},d.fixLoop=function(){var t;d.activeIndex=2*d.loopedSlides||d.activeIndex>d.slides.length-2*d.params.slidesPerView)&&(t=-d.slides.length+d.activeIndex+d.loopedSlides,t+=d.loopedSlides,d.slideTo(t,0,!1,!0))},d.afterSlide=function(t,e){if(d.params.loop&&d.destroyLoop(),e<=d.activeIndex)var n=d.activeIndex+1;if("object"===typeof t&&t.length){for(var i=0;i1)for(t=d.activeIndex;t1||d.params.lazyLoadingInPrevNextAmount&&d.params.lazyLoadingInPrevNextAmount>1){var n=d.params.lazyLoadingInPrevNextAmount,i=e,a=Math.min(d.activeIndex+i+Math.max(n,i),d.slides.length),o=Math.max(d.activeIndex-Math.max(i,n),0);for(t=d.activeIndex+e;t0&&d.lazy.loadImageInSlide(r.index());var s=d.wrapper.children("."+d.params.slidePrevClass);s.length>0&&d.lazy.loadImageInSlide(s.index())}},onTransitionStart:function(){d.params.lazyLoading&&(d.params.lazyLoadingOnTransitionStart||!d.params.lazyLoadingOnTransitionStart&&!d.lazy.initialImageLoaded)&&d.lazy.load()},onTransitionEnd:function(){d.params.lazyLoading&&!d.params.lazyLoadingOnTransitionStart&&d.lazy.load()}},d.controller={},d.enableObserveAutoPlay=function(){var e=document.documentElement.clientHeight,n=d.container[0].offsetHeight;t(document).on("scroll",(function(t){var i=document.documentElement.scrollTop||document.body.scrollTop,a=function(t){var e=t.offsetLeft,n=t.offsetTop;for(;t.offsetParent;)t=t.offsetParent,e+=t.offsetLeft,n+=t.offsetTop;return{x:e,y:n}}(d.container[0]).y;i>a+n||a+n>i+e?d.stopAutoplay():d.startAutoplay()}))},d._plugins=[],d.plugins){var T=d.plugins[S](d,d.params[S]);T&&d._plugins.push(T)}return d.callPlugins=function(t){for(var e=0;e=0&&s.indexOf(">")>=0){var c="div";for(0===s.indexOf(":~]/)?(n||document).querySelectorAll(e):[document.getElementById(e.split("#")[1])],a=0;a0&&e[0].nodeType)for(a=0;a0?t?this[0].offsetWidth+parseFloat(this.css("margin-right"))+parseFloat(this.css("margin-left")):this[0].offsetWidth:null},outerHeight:function(t){return this.length>0?t?this[0].offsetHeight+parseFloat(this.css("margin-top"))+parseFloat(this.css("margin-bottom")):this[0].offsetHeight:null},css:function(t,e){var n;if(1===arguments.length){if("string"!==typeof t){for(n=0;ni-1?[]:e<0?(n=i+e)<0?[]:[this[n]]:[this[e]])},insert:function(e,n,i){if(n>=i){for(a=0;athis[a].children.length?this[a].appendChild(r.firstChild):this[a].insertBefore(r.firstChild,this[a].children[n]);else if(e instanceof t)for(o=0;othis[a].children.length?this[a].appendChild(e):this[a].insertBefore(e,this[a].children[n])}return this}var a,o;for(a=0;a=0;o--)0==n?this[a].insertBefore(r.childNodes[o],this[a].children[0]):n==i?this[a].insertBefore(r.childNodes[o],this[a].children[i]):this[a].insertBefore(r.childNodes[o],this[a].children[n]);else if(e instanceof t)for(o=0;o=0;i--)this[n].insertBefore(a.childNodes[i],this[n].childNodes[0])}else if(e instanceof t)for(i=0;i1)for(var a=0;a1)for(var a=0;a0?n?this[0].nextElementSibling&&e(this[0].nextElementSibling).is(n)?new t([this[0].nextElementSibling]):new t([]):this[0].nextElementSibling?new t([this[0].nextElementSibling]):new t([]):new t([])},prev:function(n){return this.length>0?n?this[0].previousElementSibling&&e(this[0].previousElementSibling).is(n)?new t([this[0].previousElementSibling]):new t([]):this[0].previousElementSibling?new t([this[0].previousElementSibling]):new t([]):new t([])},parents:function(t){for(var n=[],i=0;i0?t?this[0].offsetWidth+parseFloat(this.css("margin-right"))+parseFloat(this.css("margin-left")):this[0].offsetWidth:null})),window.Swiper=e}(),t.exports=window.Swiper},function(t,e,n){t.exports=n.p+"static/img/defaultImg.66414521.png"},function(t,e,n){!function(n,i){"use strict";var a={version:"2.1.2",x86:{},x64:{}};function o(t,e){return(65535&t)*e+(((t>>>16)*e&65535)<<16)}function r(t,e){return t<>>32-e}function s(t){return t=o(t^=t>>>16,2246822507),t=o(t^=t>>>13,3266489909),t^=t>>>16}function c(t,e){t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]],e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]];var n=[0,0,0,0];return n[3]+=t[3]+e[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=t[2]+e[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=t[1]+e[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=t[0]+e[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function l(t,e){t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]],e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]];var n=[0,0,0,0];return n[3]+=t[3]*e[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=t[2]*e[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=t[3]*e[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=t[1]*e[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=t[2]*e[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=t[3]*e[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=t[0]*e[3]+t[1]*e[2]+t[2]*e[1]+t[3]*e[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function u(t,e){return 32===(e%=64)?[t[1],t[0]]:e<32?[t[0]<>>32-e,t[1]<>>32-e]:(e-=32,[t[1]<>>32-e,t[0]<>>32-e])}function d(t,e){return 0===(e%=64)?t:e<32?[t[0]<>>32-e,t[1]<>>1]),t=p(t=l(t,[4283543511,3981806797]),[0,t[0]>>>1]),t=p(t=l(t,[3301882366,444984403]),[0,t[0]>>>1])}a.x86.hash32=function(t,e){e=e||0;for(var n=(t=t||"").length%4,i=t.length-n,a=e,c=0,l=3432918353,u=461845907,d=0;d>>0},a.x86.hash128=function(t,e){e=e||0;for(var n=(t=t||"").length%16,i=t.length-n,a=e,c=e,l=e,u=e,d=0,p=0,h=0,f=0,m=597399067,g=2869860233,v=951274213,y=2716044179,w=0;w>>0).toString(16)).slice(-8)+("00000000"+(c>>>0).toString(16)).slice(-8)+("00000000"+(l>>>0).toString(16)).slice(-8)+("00000000"+(u>>>0).toString(16)).slice(-8)},a.x64.hash128=function(t,e){e=e||0;for(var n=(t=t||"").length%16,i=t.length-n,a=[0,e],o=[0,e],r=[0,0],s=[0,0],f=[2277735313,289559509],m=[1291169091,658871167],g=0;g>>0).toString(16)).slice(-8)+("00000000"+(a[1]>>>0).toString(16)).slice(-8)+("00000000"+(o[0]>>>0).toString(16)).slice(-8)+("00000000"+(o[1]>>>0).toString(16)).slice(-8)},t.exports&&(e=t.exports=a),e.murmurHash3=a}()},function(t,e,n){var i=n(21);t.exports=function(t,e){if(!i(t))return t;var n,a;if(e&&"function"==typeof(n=t.toString)&&!i(a=n.call(t)))return a;if("function"==typeof(n=t.valueOf)&&!i(a=n.call(t)))return a;if(!e&&"function"==typeof(n=t.toString)&&!i(a=n.call(t)))return a;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var i=n(14),a=n(26),o=n(17),r=n(60),s=n(78),c=n(61),l=c.get,u=c.enforce,d=String(String).split("String");(t.exports=function(t,e,n,s){var c=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof e||o(n,"name")||a(n,"name",e),u(n).source=d.join("string"==typeof e?e:"")),t!==i?(c?!p&&t[e]&&(l=!0):delete t[e],l?t[e]=n:a(t,e,n)):l?t[e]=n:r(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s(this)}))},function(t,e,n){var i=n(62),a=n(63),o=i("keys");t.exports=function(t){return o[t]||(o[t]=a(t))}},function(t,e){t.exports=!1},function(t,e){t.exports={}},function(t,e,n){var i=n(81),a=n(14),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(i[t])||o(a[t]):i[t]&&i[t][e]||a[t]&&a[t][e]}},function(t,e,n){var i=n(65),a=Math.min;t.exports=function(t){return t>0?a(i(t),9007199254740991):0}},function(t,e){t.exports={}},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(37);e.arrays=i;var a=n(209);e.Bag=a.default;var o=n(210);e.BSTree=o.default;var r=n(102);e.BSTreeKV=r.default;var s=n(29);e.Dictionary=s.default;var c=n(104);e.Heap=c.default;var l=n(211);e.LinkedDictionary=l.default;var u=n(72);e.LinkedList=u.default;var d=n(212);e.MultiDictionary=d.default;var p=n(105);e.FactoryDictionary=p.default;var h=n(105);e.DefaultDictionary=h.default;var f=n(103);e.Queue=f.default;var m=n(213);e.PriorityQueue=m.default;var g=n(101);e.Set=g.default;var v=n(214);e.Stack=v.default;var y=n(215);e.MultiRootTree=y.default;var w=n(18);e.util=w},function(t,e){var n=location.origin+location.pathname,i=function(t){return void 0!=t&&""!=t&&a(document.cookie,t,";","")},a=function(t,e,n,i){if(""==t)return"";e+=i=""==i?"=":i;var a=t.indexOf(e);if(a<0)return"";a+=e.length;var o=t.indexOf(n,a);return o0&&!t.includes("?")?t+="?":a.length>0&&t.includes("?")&&(t+="&"),a.forEach((function(n,i){t+=n+"="+e[n],i0){var r=n.substring(0,a),s=n.substring(a+i.length);n=r+e[o]+s}return n},r=[0,6,77,81,73,115,100,112,3],s=[0,4,77,81,84,84,4],c=function(t,e){for(var n in this.type=t,e)e.hasOwnProperty(n)&&(this[n]=e[n])};function l(t,e){var n,i=e,a=t[e],o=a>>4,r=a&=15;e+=1;var s=0,l=1;do{if(e==t.length)return[null,i];s+=(127&(n=t[e++]))*l,l*=128}while(0!=(128&n));var u=e+s;if(u>t.length)return[null,i];var d=new c(o);switch(o){case 2:1&t[e++]&&(d.sessionPresent=!0),d.returnCode=t[e++];break;case 3:var h=r>>1&3,f=p(t,e),g=m(t,e+=2,f);e+=f,h>0&&(d.messageIdentifier=p(t,e),e+=2);var v=new Paho.MQTT.Message(t.subarray(e,u));1==(1&r)&&(v.retained=!0),8==(8&r)&&(v.duplicate=!0),v.qos=h,v.destinationName=g,d.payloadMessage=v;break;case 4:case 5:case 6:case 7:case 11:d.messageIdentifier=p(t,e);break;case 9:d.messageIdentifier=p(t,e),e+=2,d.returnCode=t.subarray(e,u)}return[d,u]}function u(t,e,n){return e[n++]=t>>8,e[n++]=t%256,n}function d(t,e,n,i){return f(t,n,i=u(e,n,i)),i+e}function p(t,e){return 256*t[e]+t[e+1]}function h(t){for(var e=0,n=0;n2047?(55296<=i&&i<=56319&&(n++,e++),e+=3):i>127?e+=2:e++}return e}function f(t,e,n){for(var a=n,r=0;r>6&31|192,e[a++]=63&s|128):s<=65535?(e[a++]=s>>12&15|224,e[a++]=s>>6&63|128,e[a++]=63&s|128):(e[a++]=s>>18&7|240,e[a++]=s>>12&63|128,e[a++]=s>>6&63|128,e[a++]=63&s|128)}return e}function m(t,e,n){for(var a,r="",s=e;s65535&&(a-=65536,r+=String.fromCharCode(55296+(a>>10)),a=56320+(1023&a)),r+=String.fromCharCode(a)}return r}c.prototype.encode=function(){var t=(15&this.type)<<4,e=0,n=new Array,i=0;switch(void 0!=this.messageIdentifier&&(e+=2),this.type){case 1:switch(this.mqttVersion){case 3:e+=r.length+3;break;case 4:e+=s.length+3}if(e+=h(this.clientId)+2,void 0!=this.willMessage){e+=h(this.willMessage.destinationName)+2;var a=this.willMessage.payloadBytes;a instanceof Uint8Array||(a=new Uint8Array(c)),e+=a.byteLength+2}void 0!=this.userName&&(e+=h(this.userName)+2),void 0!=this.password&&(e+=h(this.password)+2);break;case 8:t|=2;for(var o=0;o>=7)>0&&(i|=128),e[n++]=i}while(t>0&&n<4);return e}(e),p=l.length+1,f=new ArrayBuffer(e+p),m=new Uint8Array(f);if(m[0]=t,m.set(l,1),3==this.type)p=d(this.payloadMessage.destinationName,i,m,p);else if(1==this.type){switch(this.mqttVersion){case 3:m.set(r,p),p+=r.length;break;case 4:m.set(s,p),p+=s.length}var g=0;this.cleanSession&&(g=2),void 0!=this.willMessage&&(g|=4,g|=this.willMessage.qos<<3,this.willMessage.retained&&(g|=32)),void 0!=this.userName&&(g|=128),void 0!=this.password&&(g|=64),m[p++]=g,p=u(this.keepAliveInterval,m,p)}switch(void 0!=this.messageIdentifier&&(p=u(this.messageIdentifier,m,p)),this.type){case 1:p=d(this.clientId,h(this.clientId),m,p),void 0!=this.willMessage&&(p=d(this.willMessage.destinationName,h(this.willMessage.destinationName),m,p),p=u(a.byteLength,m,p),m.set(a,p),p+=a.byteLength),void 0!=this.userName&&(p=d(this.userName,h(this.userName),m,p)),void 0!=this.password&&(p=d(this.password,h(this.password),m,p));break;case 3:m.set(c,p);break;case 8:for(o=0;o0&&(this.timeout=setTimeout(r(this),this._keepAliveInterval))},this.cancel=function(){this._window.clearTimeout(this.timeout)}},v=function(t,e,n,i,a){this._window=e,n||(n=30),this.timeout=setTimeout(function(t,e,n){return function(){return t.apply(e,n)}}(i,t,a),1e3*n),this.cancel=function(){this._window.clearTimeout(this.timeout)}},y=function(e,n,a,r,s){if(!("WebSocket"in t)||null===t.WebSocket)throw new Error(o(i.UNSUPPORTED,["WebSocket"]));if(!("localStorage"in t)||null===t.localStorage)throw new Error(o(i.UNSUPPORTED,["localStorage"]));if(!("ArrayBuffer"in t)||null===t.ArrayBuffer)throw new Error(o(i.UNSUPPORTED,["ArrayBuffer"]));for(var c in this._trace("Paho.MQTT.Client",e,n,a,r,s),this.host=n,this.port=a,this.path=r,this.uri=e,this.clientId=s,this._localKey=n+":"+a+("/mqtt"!=r?":"+r:"")+":"+s+":",this._msg_queue=[],this._sentMessages={},this._receivedMessages={},this._notify_msg_sent={},this._message_identifier=1,this._sequence=0,localStorage)0!=c.indexOf("Sent:"+this._localKey)&&0!=c.indexOf("Received:"+this._localKey)||this.restore(c)};y.prototype.host,y.prototype.port,y.prototype.path,y.prototype.uri,y.prototype.clientId,y.prototype.socket,y.prototype.connected=!1,y.prototype.maxMessageIdentifier=65536,y.prototype.connectOptions,y.prototype.hostIndex,y.prototype.onConnectionLost,y.prototype.onMessageDelivered,y.prototype.onMessageArrived,y.prototype.traceFunction,y.prototype._msg_queue=null,y.prototype._connectTimeout,y.prototype.sendPinger=null,y.prototype.receivePinger=null,y.prototype.receiveBuffer=null,y.prototype._traceBuffer=null,y.prototype._MAX_TRACE_ENTRIES=100,y.prototype.connect=function(t){var e=this._traceMask(t,"password");if(this._trace("Client.connect",e,this.socket,this.connected),this.connected)throw new Error(o(i.INVALID_STATE,["already connected"]));if(this.socket)throw new Error(o(i.INVALID_STATE,["already connected"]));this.connectOptions=t,t.uris?(this.hostIndex=0,this._doConnect(t.uris[0])):this._doConnect(this.uri)},y.prototype.subscribe=function(t,e){if(this._trace("Client.subscribe",t,e),!this.connected)throw new Error(o(i.INVALID_STATE,["not connected"]));var n=new c(8);n.topics=[t],void 0!=e.qos?n.requestedQos=[e.qos]:n.requestedQos=[0],e.onSuccess&&(n.onSuccess=function(t){e.onSuccess({invocationContext:e.invocationContext,grantedQos:t})}),e.onFailure&&(n.onFailure=function(t){e.onFailure({invocationContext:e.invocationContext,errorCode:t})}),e.timeout&&(n.timeOut=new v(this,window,e.timeout,e.onFailure,[{invocationContext:e.invocationContext,errorCode:i.SUBSCRIBE_TIMEOUT.code,errorMessage:o(i.SUBSCRIBE_TIMEOUT)}])),this._requires_ack(n),this._schedule_message(n)},y.prototype.unsubscribe=function(t,e){if(this._trace("Client.unsubscribe",t,e),!this.connected)throw new Error(o(i.INVALID_STATE,["not connected"]));var n=new c(10);n.topics=[t],e.onSuccess&&(n.callback=function(){e.onSuccess({invocationContext:e.invocationContext})}),e.timeout&&(n.timeOut=new v(this,window,e.timeout,e.onFailure,[{invocationContext:e.invocationContext,errorCode:i.UNSUBSCRIBE_TIMEOUT.code,errorMessage:o(i.UNSUBSCRIBE_TIMEOUT)}])),this._requires_ack(n),this._schedule_message(n)},y.prototype.send=function(t){if(this._trace("Client.send",t),!this.connected)throw new Error(o(i.INVALID_STATE,["not connected"]));wireMessage=new c(3),wireMessage.payloadMessage=t,t.qos>0?this._requires_ack(wireMessage):this.onMessageDelivered&&(this._notify_msg_sent[wireMessage]=this.onMessageDelivered(wireMessage.payloadMessage)),this._schedule_message(wireMessage)},y.prototype.disconnect=function(){if(this._trace("Client.disconnect"),!this.socket)throw new Error(o(i.INVALID_STATE,["not connecting or connected"]));wireMessage=new c(14),this._notify_msg_sent[wireMessage]=n(this._disconnected,this),this._schedule_message(wireMessage)},y.prototype.getTraceLog=function(){if(null!==this._traceBuffer){for(var t in this._trace("Client.getTraceLog",new Date),this._trace("Client.getTraceLog in flight messages",this._sentMessages.length),this._sentMessages)this._trace("_sentMessages ",t,this._sentMessages[t]);for(var t in this._receivedMessages)this._trace("_receivedMessages ",t,this._receivedMessages[t]);return this._traceBuffer}},y.prototype.startTrace=function(){null===this._traceBuffer&&(this._traceBuffer=[]),this._trace("Client.startTrace",new Date,"@VERSION@")},y.prototype.stopTrace=function(){delete this._traceBuffer},y.prototype._doConnect=function(t){if(this.connectOptions.useSSL){var e=t.split(":");e[0]="wss",t=e.join(":")}this.connected=!1,this.connectOptions.mqttVersion<4?this.socket=new WebSocket(t,["mqttv3.1"]):this.socket=new WebSocket(t,["mqtt"]),this.socket.binaryType="arraybuffer",this.socket.onopen=n(this._on_socket_open,this),this.socket.onmessage=n(this._on_socket_message,this),this.socket.onerror=n(this._on_socket_error,this),this.socket.onclose=n(this._on_socket_close,this),this.sendPinger=new g(this,window,this.connectOptions.keepAliveInterval),this.receivePinger=new g(this,window,this.connectOptions.keepAliveInterval),this._connectTimeout=new v(this,window,this.connectOptions.timeout,this._disconnected,[i.CONNECT_TIMEOUT.code,o(i.CONNECT_TIMEOUT)])},y.prototype._schedule_message=function(t){this._msg_queue.push(t),this.connected&&this._process_queue()},y.prototype.store=function(t,e){var n={type:e.type,messageIdentifier:e.messageIdentifier,version:1};switch(e.type){case 3:e.pubRecReceived&&(n.pubRecReceived=!0),n.payloadMessage={};for(var a="",r=e.payloadMessage.payloadBytes,s=0;s=2;){var d=parseInt(r.substring(0,2),16);r=r.substring(2,r.length),l[u++]=d}var p=new Paho.MQTT.Message(l);p.qos=n.payloadMessage.qos,p.destinationName=n.payloadMessage.destinationName,n.payloadMessage.duplicate&&(p.duplicate=!0),n.payloadMessage.retained&&(p.retained=!0),a.payloadMessage=p;break;default:throw Error(o(i.INVALID_STORED_DATA,[t,e]))}0==t.indexOf("Sent:"+this._localKey)?(a.payloadMessage.duplicate=!0,this._sentMessages[a.messageIdentifier]=a):0==t.indexOf("Received:"+this._localKey)&&(this._receivedMessages[a.messageIdentifier]=a)},y.prototype._process_queue=function(){for(var t=null,e=this._msg_queue.reverse();t=e.pop();)this._socket_send(t),this._notify_msg_sent[t]&&(this._notify_msg_sent[t](),delete this._notify_msg_sent[t])},y.prototype._requires_ack=function(t){var e=Object.keys(this._sentMessages).length;if(e>this.maxMessageIdentifier)throw Error("Too many messages:"+e);for(;void 0!==this._sentMessages[this._message_identifier];)this._message_identifier++;t.messageIdentifier=this._message_identifier,this._sentMessages[t.messageIdentifier]=t,3===t.type&&this.store("Sent:",t),this._message_identifier===this.maxMessageIdentifier&&(this._message_identifier=1)},y.prototype._on_socket_open=function(){var t=new c(1,this.connectOptions);t.clientId=this.clientId,this._socket_send(t)},y.prototype._on_socket_message=function(t){this._trace("Client._on_socket_message",t.data),this.receivePinger.reset();for(var e=this._deframeMessages(t.data),n=0;n65535)throw new Error(o(i.INVALID_ARGUMENT,[r,"clientId"]));var h=new y(s,t,n,a,r);this._getHost=function(){return t},this._setHost=function(){throw new Error(o(i.UNSUPPORTED_OPERATION))},this._getPort=function(){return n},this._setPort=function(){throw new Error(o(i.UNSUPPORTED_OPERATION))},this._getPath=function(){return a},this._setPath=function(){throw new Error(o(i.UNSUPPORTED_OPERATION))},this._getURI=function(){return s},this._setURI=function(){throw new Error(o(i.UNSUPPORTED_OPERATION))},this._getClientId=function(){return h.clientId},this._setClientId=function(){throw new Error(o(i.UNSUPPORTED_OPERATION))},this._getOnConnectionLost=function(){return h.onConnectionLost},this._setOnConnectionLost=function(t){if("function"!==typeof t)throw new Error(o(i.INVALID_TYPE,[typeof t,"onConnectionLost"]));h.onConnectionLost=t},this._getOnMessageDelivered=function(){return h.onMessageDelivered},this._setOnMessageDelivered=function(t){if("function"!==typeof t)throw new Error(o(i.INVALID_TYPE,[typeof t,"onMessageDelivered"]));h.onMessageDelivered=t},this._getOnMessageArrived=function(){return h.onMessageArrived},this._setOnMessageArrived=function(t){if("function"!==typeof t)throw new Error(o(i.INVALID_TYPE,[typeof t,"onMessageArrived"]));h.onMessageArrived=t},this._getTrace=function(){return h.traceFunction},this._setTrace=function(t){if("function"!==typeof t)throw new Error(o(i.INVALID_TYPE,[typeof t,"onTrace"]));h.traceFunction=t},this.connect=function(t){if(e(t=t||{},{timeout:"number",userName:"string",password:"string",willMessage:"object",keepAliveInterval:"number",cleanSession:"boolean",useSSL:"boolean",invocationContext:"object",onSuccess:"function",onFailure:"function",hosts:"object",ports:"object",mqttVersion:"number"}),void 0===t.keepAliveInterval&&(t.keepAliveInterval=60),t.mqttVersion>4||t.mqttVersion<3)throw new Error(o(i.INVALID_ARGUMENT,[t.mqttVersion,"connectOptions.mqttVersion"]));if(void 0===t.mqttVersion?(t.mqttVersionExplicit=!1,t.mqttVersion=4):t.mqttVersionExplicit=!0,void 0===t.password&&void 0!==t.userName)throw new Error(o(i.INVALID_ARGUMENT,[t.password,"connectOptions.password"]));if(t.willMessage){if(!(t.willMessage instanceof _))throw new Error(o(i.INVALID_TYPE,[t.willMessage,"connectOptions.willMessage"]));if(t.willMessage.stringPayload,"undefined"===typeof t.willMessage.destinationName)throw new Error(o(i.INVALID_TYPE,[typeof t.willMessage.destinationName,"connectOptions.willMessage.destinationName"]))}if("undefined"===typeof t.cleanSession&&(t.cleanSession=!0),t.hosts){if(!(t.hosts instanceof Array))throw new Error(o(i.INVALID_ARGUMENT,[t.hosts,"connectOptions.hosts"]));if(t.hosts.length<1)throw new Error(o(i.INVALID_ARGUMENT,[t.hosts,"connectOptions.hosts"]));for(var n=!1,r=0;r=3&&(r.qos=n),arguments.length>=4&&(r.retained=a),h.send(r)},this.disconnect=function(){h.disconnect()},this.getTraceLog=function(){return h.getTraceLog()},this.startTrace=function(){h.startTrace()},this.stopTrace=function(){h.stopTrace()},this.isConnected=function(){return h.connected}};w.prototype={get host(){return this._getHost()},set host(t){this._setHost(t)},get port(){return this._getPort()},set port(t){this._setPort(t)},get path(){return this._getPath()},set path(t){this._setPath(t)},get clientId(){return this._getClientId()},set clientId(t){this._setClientId(t)},get onConnectionLost(){return this._getOnConnectionLost()},set onConnectionLost(t){this._setOnConnectionLost(t)},get onMessageDelivered(){return this._getOnMessageDelivered()},set onMessageDelivered(t){this._setOnMessageDelivered(t)},get onMessageArrived(){return this._getOnMessageArrived()},set onMessageArrived(t){this._setOnMessageArrived(t)},get trace(){return this._getTrace()},set trace(t){this._setTrace(t)}};var _=function(t){var e;if(!("string"===typeof t||t instanceof ArrayBuffer||t instanceof Int8Array||t instanceof Uint8Array||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array))throw o(i.INVALID_ARGUMENT,[t,"newPayload"]);e=t,this._getPayloadString=function(){return"string"===typeof e?e:m(e,0,e.length)},this._getPayloadBytes=function(){if("string"===typeof e){var t=new ArrayBuffer(h(e)),n=new Uint8Array(t);return f(e,n,0),n}return e};var n=void 0;this._getDestinationName=function(){return n},this._setDestinationName=function(t){if("string"!==typeof t)throw new Error(o(i.INVALID_ARGUMENT,[t,"newDestinationName"]));n=t};var a=0;this._getQos=function(){return a},this._setQos=function(t){if(0!==t&&1!==t&&2!==t)throw new Error("Invalid argument:"+t);a=t};var r=!1;this._getRetained=function(){return r},this._setRetained=function(t){if("boolean"!==typeof t)throw new Error(o(i.INVALID_ARGUMENT,[t,"newRetained"]));r=t};var s=!1;this._getDuplicate=function(){return s},this._setDuplicate=function(t){s=t}};return _.prototype={get payloadString(){return this._getPayloadString()},get payloadBytes(){return this._getPayloadBytes()},get destinationName(){return this._getDestinationName()},set destinationName(t){this._setDestinationName(t)},get qos(){return this._getQos()},set qos(t){this._setQos(t)},get retained(){return this._getRetained()},set retained(t){this._setRetained(t)},get duplicate(){return this._getDuplicate()},set duplicate(t){this._setDuplicate(t)}},{Client:w,Message:_}}(window),e.Paho=Paho},function(t,e,n){"use strict";n.r(e);var i=n(0),a=n.n(i);function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){for(var n=0;n-1)return this._evtMap[t].splice(n,1)[0]}e||this._evtMap[name]&&(this._evtMap[name]=[])}}]),t}(),m=function(t){function e(t){var n,i;return o(this,e),(n=!(i=u(e).call(this))||"object"!==c(i)&&"function"!==typeof i?l(this):i).options=t,n._triggeredConnected=!1,n._connectFailTimes=0,n._maxTryConnTimes=3,n._maxTrySubTimes=3,n._subList=[],n._reconnectDelay=1e3,function(t){for(var e=["host","port","clientId","keepAliveInterval"],n=0;n0&&void 0!==arguments[0]?arguments[0]:{},e="/mqtt",n=[];return Object.keys(t).forEach((function(e){n.push(e+"="+t[e])})),n.length>0?e+"?"+n.join("&"):e}(t.query),t.clientId),n.client.onConnectionLost=n._onConnectionLost.bind(l(n)),n.client.onMessageDelivered=n._onMessageDelivered.bind(l(n)),n.client.onMessageArrived=n._onMessageArrived.bind(l(n)),n.client.onConnected=n._onConnected.bind(l(n)),n._connect()),n}return function(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}}),e&&d(t,e)}(e,t),s(e,[{key:"_connect",value:function(){this.client.connect({useSSL:this.options.useSSL,onSuccess:this._onSuccess.bind(this),onFailure:this._onFailure.bind(this),keepAliveInterval:parseInt(this.options.keepAliveInterval)})}},{key:"_onConnectionLost",value:function(t){var e=this;this._connectFailTimes++,0!==t.errorCode&&this._connectFailTimes0?i:n)(t)}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){var i=n(20);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())}))},function(t,e,n){var i=n(58);t.exports=Array.isArray||function(t){return"Array"==i(t)}},function(t,e,n){var i={};i[n(15)("toStringTag")]="z",t.exports="[object z]"===String(i)},function(t,e,n){"use strict";var i=n(71),a=n(171);function o(t,e){return 55296===(64512&t.charCodeAt(e))&&(!(e<0||e+1>=t.length)&&56320===(64512&t.charCodeAt(e+1)))}function r(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function s(t){return 1===t.length?"0"+t:t}function c(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}e.inherits=a,e.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var n=[];if("string"===typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!==0&&(t="0"+t),a=0;a>6|192,n[i++]=63&r|128):o(t,a)?(r=65536+((1023&r)<<10)+(1023&t.charCodeAt(++a)),n[i++]=r>>18|240,n[i++]=r>>12&63|128,n[i++]=r>>6&63|128,n[i++]=63&r|128):(n[i++]=r>>12|224,n[i++]=r>>6&63|128,n[i++]=63&r|128)}else for(a=0;a>>0}return r},e.split32=function(t,e){for(var n=new Array(4*t.length),i=0,a=0;i>>24,n[a+1]=o>>>16&255,n[a+2]=o>>>8&255,n[a+3]=255&o):(n[a+3]=o>>>24,n[a+2]=o>>>16&255,n[a+1]=o>>>8&255,n[a]=255&o)}return n},e.rotr32=function(t,e){return t>>>e|t<<32-e},e.rotl32=function(t,e){return t<>>32-e},e.sum32=function(t,e){return t+e>>>0},e.sum32_3=function(t,e,n){return t+e+n>>>0},e.sum32_4=function(t,e,n,i){return t+e+n+i>>>0},e.sum32_5=function(t,e,n,i,a){return t+e+n+i+a>>>0},e.sum64=function(t,e,n,i){var a=t[e],o=i+t[e+1]>>>0,r=(o>>0,t[e+1]=o},e.sum64_hi=function(t,e,n,i){return(e+i>>>0>>0},e.sum64_lo=function(t,e,n,i){return e+i>>>0},e.sum64_4_hi=function(t,e,n,i,a,o,r,s){var c=0,l=e;return c+=(l=l+i>>>0)>>0)>>0)>>0},e.sum64_4_lo=function(t,e,n,i,a,o,r,s){return e+i+o+s>>>0},e.sum64_5_hi=function(t,e,n,i,a,o,r,s,c,l){var u=0,d=e;return u+=(d=d+i>>>0)>>0)>>0)>>0)>>0},e.sum64_5_lo=function(t,e,n,i,a,o,r,s,c,l){return e+i+o+s+l>>>0},e.rotr64_hi=function(t,e,n){return(e<<32-n|t>>>n)>>>0},e.rotr64_lo=function(t,e,n){return(t<<32-n|e>>>n)>>>0},e.shr64_hi=function(t,e,n){return t>>>n},e.shr64_lo=function(t,e,n){return(t<<32-n|e>>>n)>>>0}},function(t,e){function n(t,e){if(!t)throw new Error(e||"Assertion failed")}t.exports=n,n.equal=function(t,e,n){if(t!=e)throw new Error(n||"Assertion failed: "+t+" != "+e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=n(18),a=n(37),o=function(){function t(){this.firstNode=null,this.lastNode=null,this.nElements=0}return t.prototype.add=function(t,e){if(i.isUndefined(e)&&(e=this.nElements),e<0||e>this.nElements||i.isUndefined(t))return!1;var n=this.createNode(t);if(0===this.nElements||null===this.lastNode)this.firstNode=n,this.lastNode=n;else if(e===this.nElements)this.lastNode.next=n,this.lastNode=n;else if(0===e)n.next=this.firstNode,this.firstNode=n;else{var a=this.nodeAtIndex(e-1);if(null==a)return!1;n.next=a.next,a.next=n}return this.nElements++,!0},t.prototype.first=function(){if(null!==this.firstNode)return this.firstNode.element},t.prototype.last=function(){if(null!==this.lastNode)return this.lastNode.element},t.prototype.elementAtIndex=function(t){var e=this.nodeAtIndex(t);if(null!==e)return e.element},t.prototype.indexOf=function(t,e){var n=e||i.defaultEquals;if(i.isUndefined(t))return-1;for(var a=this.firstNode,o=0;null!==a;){if(n(a.element,t))return o;o++,a=a.next}return-1},t.prototype.contains=function(t,e){return this.indexOf(t,e)>=0},t.prototype.remove=function(t,e){var n=e||i.defaultEquals;if(this.nElements<1||i.isUndefined(t))return!1;for(var a=null,o=this.firstNode;null!==o;){if(n(o.element,t))return null==a?(this.firstNode=o.next,o===this.lastNode&&(this.lastNode=null)):o===this.lastNode?(this.lastNode=a,a.next=o.next,o.next=null):(a.next=o.next,o.next=null),this.nElements--,!0;a=o,o=o.next}return!1},t.prototype.clear=function(){this.firstNode=null,this.lastNode=null,this.nElements=0},t.prototype.equals=function(e,n){var a=n||i.defaultEquals;return e instanceof t&&(this.size()===e.size()&&this.equalsAux(this.firstNode,e.firstNode,a))},t.prototype.equalsAux=function(t,e,n){for(;null!==t&&null!==e;){if(!n(t.element,e.element))return!1;t=t.next,e=e.next}return!0},t.prototype.removeElementAtIndex=function(t){if(!(t<0||t>=this.nElements||null===this.firstNode||null===this.lastNode)){var e;if(1===this.nElements)e=this.firstNode.element,this.firstNode=null,this.lastNode=null;else{var n=this.nodeAtIndex(t-1);null===n?(e=this.firstNode.element,this.firstNode=this.firstNode.next):n.next===this.lastNode&&(e=this.lastNode.element,this.lastNode=n),null!==n&&null!==n.next&&(e=n.next.element,n.next=n.next.next)}return this.nElements--,e}},t.prototype.forEach=function(t){for(var e=this.firstNode;null!==e&&!1!==t(e.element);)e=e.next},t.prototype.reverse=function(){for(var t=null,e=this.firstNode,n=null;null!==e;)n=e.next,e.next=t,t=e,e=n;n=this.firstNode,this.firstNode=this.lastNode,this.lastNode=n},t.prototype.toArray=function(){for(var t=[],e=this.firstNode;null!==e;)t.push(e.element),e=e.next;return t},t.prototype.size=function(){return this.nElements},t.prototype.isEmpty=function(){return this.nElements<=0},t.prototype.toString=function(){return a.toString(this.toArray())},t.prototype.nodeAtIndex=function(t){if(t<0||t>=this.nElements)return null;if(t===this.nElements-1)return this.lastNode;for(var e=this.firstNode,n=0;n=this.config.random)&&(this.queue[t].push(e),this.queue[t])}},{key:"report",value:function(t){var e=this;Promise.all([this.getRequest(),this.postRequest()]).then((function(n){e.trigger("afterReport"),t&&t.call(e,n)}))}},{key:"getRequest",value:function(){var t=this;return new Promise((function(e){if(0===t.queue.get.length)e();else{var n=t._getParames("get"),i=t.getUrl+"?"+t.config.dataKey+"="+n,a=new window.Image;a.onload=function(){e(n)},a.src=i}}))}},{key:"postRequest",value:function(){var t=this;return new Promise((function(e){if(0===t.queue.post.length)e();else{var n=t._getParames("post"),i=new XMLHttpRequest;i.onreadystatechange=function(){4==i.readyState&&200==i.status&&e(n)},i.open("POST",t.postUrl,!0),i.setRequestHeader("Content-Type","application/json");var a={};a[t.config.dataKey]=n,i.send(JSON.stringify(a))}}))}},{key:"_getParames",value:function(t){var e=this.queue[t],n=this.config.mergeReport,i=n?e:[e.shift()];return n&&(this.queue[t]=[]),i.map((function(t){return a.a.serializeObj(t)})).join("|")}}]),e}(i.a);e.default=r},function(t,e,n){"use strict";var i=function(){function t(t,e){for(var n=0;nc;)i(s,n=e[c++])&&(~o(l,n)||l.push(n));return l}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var i=n(67);t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){var i,a=n(27),o=n(127),r=n(66),s=n(45),c=n(128),l=n(77),u=n(43),d=u("IE_PROTO"),p=function(){},h=function(t){return"