-
Notifications
You must be signed in to change notification settings - Fork 540
/
heatmap.min.js
5 lines (5 loc) · 145 KB
/
heatmap.min.js
1
2
3
4
5
!function(){var e,t=function(e){function t(e,t,n){n=n||se;var r,i,o=n.createElement("script");if(o.text=e,t)for(r in le)i=t[r]||t.getAttribute&&t.getAttribute(r),i&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function n(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?Z[ee.call(e)]||"object":typeof e}function r(e){var t=!!e&&"length"in e&&e.length,r=n(e);return!oe(e)&&!ae(e)&&("array"===r||0===t||"number"==typeof t&&t>0&&t-1 in e)}function i(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function o(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}function a(e,t,n){return oe(t)?pe.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?pe.grep(e,function(e){return e===t!==n}):"string"!=typeof t?pe.grep(e,function(e){return Q.call(t,e)>-1!==n}):pe.filter(t,e,n)}function s(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function l(e){var t={};return pe.each(e.match(Se)||[],function(e,n){t[n]=!0}),t}function u(e){return e}function c(e){throw e}function p(e,t,n,r){var i;try{e&&oe(i=e.promise)?i.call(e).done(t).fail(n):e&&oe(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}function d(){se.removeEventListener("DOMContentLoaded",d),e.removeEventListener("load",d),pe.ready()}function f(e,t){return t.toUpperCase()}function h(e){return e.replace(Me,"ms-").replace(Be,f)}function g(){this.expando=pe.expando+g.uid++}function v(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Oe.test(e)?JSON.parse(e):e)}function m(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Re,"-$&").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n=v(n)}catch(i){}He.set(e,t,n)}else n=void 0;return n}function y(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return pe.css(e,t,"")},l=s(),u=n&&n[3]||(pe.cssNumber[t]?"":"px"),c=e.nodeType&&(pe.cssNumber[t]||"px"!==u&&+l)&&qe.exec(pe.css(e,t));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;a--;)pe.style(e,t,c+u),(1-o)*(1-(o=s()/l||.5))<=0&&(a=0),c/=o;c=2*c,pe.style(e,t,c+u),n=n||[]}return n&&(c=+c||+l||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=c,r.end=i)),i}function x(e){var t,n=e.ownerDocument,r=e.nodeName,i=Xe[r];return i?i:(t=n.body.appendChild(n.createElement(r)),i=pe.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),Xe[r]=i,i)}function b(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)r=e[o],r.style&&(n=r.style.display,t?("none"===n&&(i[o]=Fe.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&$e(r)&&(i[o]=x(r))):"none"!==n&&(i[o]="none",Fe.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}function w(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&i(e,t)?pe.merge([e],n):n}function _(e,t){for(var n=0,r=e.length;n<r;n++)Fe.set(e[n],"globalEval",!t||Fe.get(t[n],"globalEval"))}function k(e,t,r,i,o){for(var a,s,l,u,c,p,d=t.createDocumentFragment(),f=[],h=0,g=e.length;h<g;h++)if(a=e[h],a||0===a)if("object"===n(a))pe.merge(f,a.nodeType?[a]:a);else if(Qe.test(a)){for(s=s||d.appendChild(t.createElement("div")),l=(Ge.exec(a)||["",""])[1].toLowerCase(),u=Ke[l]||Ke._default,s.innerHTML=u[1]+pe.htmlPrefilter(a)+u[2],p=u[0];p--;)s=s.lastChild;pe.merge(f,s.childNodes),s=d.firstChild,s.textContent=""}else f.push(t.createTextNode(a));for(d.textContent="",h=0;a=f[h++];)if(i&&pe.inArray(a,i)>-1)o&&o.push(a);else if(c=We(a),s=w(d.appendChild(a),"script"),c&&_(s),r)for(p=0;a=s[p++];)Ye.test(a.type||"")&&r.push(a);return d}function C(){return!0}function T(){return!1}function A(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)A(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),i===!1)i=T;else if(!i)return e;return 1===o&&(a=i,i=function(e){return pe().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=pe.guid++)),e.each(function(){pe.event.add(this,t,i,r,n)})}function E(e,t,n){return n?(Fe.set(e,t,!1),void pe.event.add(e,t,{namespace:!1,handler:function(e){var n,r=Fe.get(this,t);if(1&e.isTrigger&&this[t]){if(r)(pe.event.special[t]||{}).delegateType&&e.stopPropagation();else if(r=G.call(arguments),Fe.set(this,t,r),this[t](),n=Fe.get(this,t),Fe.set(this,t,!1),r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(Fe.set(this,t,pe.event.trigger(r[0],r.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=C)}})):void(void 0===Fe.get(e,t)&&pe.event.add(e,t,C))}function D(e,t){return i(e,"table")&&i(11!==t.nodeType?t:t.firstChild,"tr")?pe(e).children("tbody")[0]||e:e}function S(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function L(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function N(e,t){var n,r,i,o,a,s,l;if(1===t.nodeType){if(Fe.hasData(e)&&(o=Fe.get(e),l=o.events)){Fe.remove(t,"handle events");for(i in l)for(n=0,r=l[i].length;n<r;n++)pe.event.add(t,i,l[i][n])}He.hasData(e)&&(a=He.access(e),s=pe.extend({},a),He.set(t,s))}}function P(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Je.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function M(e,n,r,i){n=Y(n);var o,a,s,l,u,c,p=0,d=e.length,f=d-1,h=n[0],g=oe(h);if(g||d>1&&"string"==typeof h&&!ie.checkClone&&tt.test(h))return e.each(function(t){var o=e.eq(t);g&&(n[0]=h.call(this,t,o.html())),M(o,n,r,i)});if(d&&(o=k(n,e[0].ownerDocument,!1,e,i),a=o.firstChild,1===o.childNodes.length&&(o=a),a||i)){for(s=pe.map(w(o,"script"),S),l=s.length;p<d;p++)u=o,p!==f&&(u=pe.clone(u,!0,!0),l&&pe.merge(s,w(u,"script"))),r.call(e[p],u,p);if(l)for(c=s[s.length-1].ownerDocument,pe.map(s,L),p=0;p<l;p++)u=s[p],Ye.test(u.type||"")&&!Fe.access(u,"globalEval")&&pe.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?pe._evalUrl&&!u.noModule&&pe._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},c):t(u.textContent.replace(nt,""),u,c))}return e}function B(e,t,n){for(var r,i=t?pe.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||pe.cleanData(w(r)),r.parentNode&&(n&&We(r)&&_(w(r,"script")),r.parentNode.removeChild(r));return e}function I(e,t,n){var r,i,o,a,s=it.test(t),l=e.style;return n=n||ot(e),n&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(ve,"$1")||void 0),""!==a||We(e)||(a=pe.style(e,t)),!ie.pixelBoxStyles()&&rt.test(a)&&st.test(t)&&(r=l.width,i=l.minWidth,o=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=n.width,l.width=r,l.minWidth=i,l.maxWidth=o)),void 0!==a?a+"":a}function F(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function H(e){for(var t=e[0].toUpperCase()+e.slice(1),n=lt.length;n--;)if(e=lt[n]+t,e in ut)return e}function O(e){var t=pe.cssProps[e]||ct[e];return t?t:e in ut?e:ct[e]=H(e)||e}function R(e,t,n){var r=qe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function j(e,t,n,r,i,o){var a="width"===t?1:0,s=0,l=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=pe.css(e,n+Ue[a],!0,i)),r?("content"===n&&(l-=pe.css(e,"padding"+Ue[a],!0,i)),"margin"!==n&&(l-=pe.css(e,"border"+Ue[a]+"Width",!0,i))):(l+=pe.css(e,"padding"+Ue[a],!0,i),"padding"!==n?l+=pe.css(e,"border"+Ue[a]+"Width",!0,i):s+=pe.css(e,"border"+Ue[a]+"Width",!0,i));return!r&&o>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-s-.5))||0),l+u}function q(e,t,n){var r=ot(e),o=!ie.boxSizingReliable()||n,a=o&&"border-box"===pe.css(e,"boxSizing",!1,r),s=a,l=I(e,t,r),u="offset"+t[0].toUpperCase()+t.slice(1);if(rt.test(l)){if(!n)return l;l="auto"}return(!ie.boxSizingReliable()&&a||!ie.reliableTrDimensions()&&i(e,"tr")||"auto"===l||!parseFloat(l)&&"inline"===pe.css(e,"display",!1,r))&&e.getClientRects().length&&(a="border-box"===pe.css(e,"boxSizing",!1,r),s=u in e,s&&(l=e[u])),l=parseFloat(l)||0,l+j(e,t,n||(a?"border":"content"),s,r,l)+"px"}function U(e){var t=e.match(Se)||[];return t.join(" ")}function z(e){return e.getAttribute&&e.getAttribute("class")||""}function W(e){return Array.isArray(e)?e:"string"==typeof e?e.match(Se)||[]:[]}function V(e,t,r,i){var o;if(Array.isArray(t))pe.each(t,function(t,n){r||wt.test(e)?i(e,n):V(e+"["+("object"==typeof n&&null!=n?t:"")+"]",n,r,i)});else if(r||"object"!==n(t))i(e,t);else for(o in t)V(e+"["+o+"]",t[o],r,i)}var $=function(){function e(){return n=(9301*n+49297)%233280,n/233280}var t=new Date,n=t.getTime();return Math.ceil(1e5*e())/1e5},X=[],J=Object.getPrototypeOf,G=X.slice,Y=X.flat?function(e){return X.flat.call(e)}:function(e){return X.concat.apply([],e)},K=X.push,Q=X.indexOf,Z={},ee=Z.toString,te=Z.hasOwnProperty,ne=te.toString,re=ne.call(Object),ie={},oe=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},ae=function(e){return null!=e&&e===e.window},se=e.document,le={type:!0,src:!0,nonce:!0,noModule:!0},ue="3.7.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/animatedSelector,-effects/Tween",ce=/HTML$/i,pe=function(e,t){return new pe.fn.init(e,t)};pe.fn=pe.prototype={jquery:ue,constructor:pe,length:0,toArray:function(){return G.call(this)},get:function(e){return null==e?G.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=pe.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return pe.each(this,e)},map:function(e){return this.pushStack(pe.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(G.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(pe.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(pe.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:K,sort:X.sort,splice:X.splice},pe.extend=pe.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||oe(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(u&&r&&(pe.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||pe.isPlainObject(n)?n:{},i=!1,a[t]=pe.extend(u,o,r)):void 0!==r&&(a[t]=r));return a},pe.extend({expando:"jQuery"+(ue+$()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==ee.call(e))&&(!(t=J(e))||(n=te.call(t,"constructor")&&t.constructor,"function"==typeof n&&ne.call(n)===re))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,n,r){t(e,{nonce:n&&n.nonce},r)},each:function(e,t){var n,i=0;if(r(e))for(n=e.length;i<n&&t.call(e[i],i,e[i])!==!1;i++);else for(i in e)if(t.call(e[i],i,e[i])===!1)break;return e},text:function(e){var t,n="",r=0,i=e.nodeType;if(!i)for(;t=e[r++];)n+=pe.text(t);return 1===i||11===i?e.textContent:9===i?e.documentElement.textContent:3===i||4===i?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(r(Object(e))?pe.merge(n,"string"==typeof e?[e]:e):K.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:Q.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!ce.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r,i=[],o=0,a=e.length,s=!n;o<a;o++)r=!t(e[o],o),r!==s&&i.push(e[o]);return i},map:function(e,t,n){var i,o,a=0,s=[];if(r(e))for(i=e.length;a<i;a++)o=t(e[a],a,n),null!=o&&s.push(o);else for(a in e)o=t(e[a],a,n),null!=o&&s.push(o);return Y(s)},guid:1,support:ie}),"function"==typeof Symbol&&(pe.fn[Symbol.iterator]=X[Symbol.iterator]),pe.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){Z["[object "+t+"]"]=t.toLowerCase()});var de=X.pop,fe=X.sort,he=X.splice,ge="[\\x20\\t\\r\\n\\f]",ve=new RegExp("^"+ge+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ge+"+$","g");pe.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var me=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;pe.escapeSelector=function(e){return(e+"").replace(me,o)};var ye=se,xe=K;!function(){function t(){try{return L.activeElement}catch(e){}}function n(e,t,r,i){var o,a,s,l,u,c,f,v=t&&t.ownerDocument,m=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==m&&9!==m&&11!==m)return r;if(!i&&(d(t),t=t||L,P)){if(11!==m&&(u=ue.exec(e)))if(o=u[1]){if(9===m){if(!(s=t.getElementById(o)))return r;if(s.id===o)return I.call(r,s),r}else if(v&&(s=v.getElementById(o))&&n.contains(t,s)&&s.id===o)return I.call(r,s),r}else{if(u[2])return I.apply(r,t.getElementsByTagName(e)),r;if((o=u[3])&&t.getElementsByClassName)return I.apply(r,t.getElementsByClassName(o)),r}if(!(U[e+" "]||M&&M.test(e))){if(f=e,v=t,1===m&&(ne.test(e)||ee.test(e))){for(v=ce.test(e)&&p(t.parentNode)||t,v==t&&ie.scope||((l=t.getAttribute("id"))?l=pe.escapeSelector(l):t.setAttribute("id",l=F)),c=h(e),a=c.length;a--;)c[a]=(l?"#"+l:":scope")+" "+g(c[a]);f=c.join(",")}try{return I.apply(r,v.querySelectorAll(f)),r}catch(y){U(e,!0)}finally{l===F&&t.removeAttribute("id")}}}return C(e.replace(ve,"$1"),t,r,i)}function r(){function e(n,r){return t.push(n+" ")>A.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function o(e){return e[F]=!0,e}function a(e){var t=L.createElement("fieldset");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function s(e){return function(t){return i(t,"input")&&t.type===e}}function l(e){return function(t){return(i(t,"input")||i(t,"button"))&&t.type===e}}function u(e){return function(t){return"form"in t?t.parentNode&&t.disabled===!1?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&_e(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function c(e){return o(function(t){return t=+t,o(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function p(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function d(e){var t,r=e?e.ownerDocument||e:ye;return r!=L&&9===r.nodeType&&r.documentElement?(L=r,N=L.documentElement,P=!pe.isXMLDoc(L),B=N.matches||N.webkitMatchesSelector||N.msMatchesSelector,N.msMatchesSelector&&ye!=L&&(t=L.defaultView)&&t.top!==t&&t.addEventListener("unload",we),ie.getById=a(function(e){return N.appendChild(e).id=pe.expando,!L.getElementsByName||!L.getElementsByName(pe.expando).length}),ie.disconnectedMatch=a(function(e){return B.call(e,"*")}),ie.scope=a(function(){return L.querySelectorAll(":scope")}),ie.cssHas=a(function(){try{return L.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),ie.getById?(A.filter.ID=function(e){var t=e.replace(me,be);return function(e){return e.getAttribute("id")===t}},A.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&P){var n=t.getElementById(e);return n?[n]:[]}}):(A.filter.ID=function(e){var t=e.replace(me,be);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},A.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&P){var n,r,i,o=t.getElementById(e);if(o){if(n=o.getAttributeNode("id"),n&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if(n=o.getAttributeNode("id"),n&&n.value===e)return[o]}return[]}}),A.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},A.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&P)return t.getElementsByClassName(e)},M=[],a(function(e){var t;N.appendChild(e).innerHTML="<a id='"+F+"' href='' disabled='disabled'></a><select id='"+F+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||M.push("\\["+ge+"*(?:value|"+W+")"),e.querySelectorAll("[id~="+F+"-]").length||M.push("~="),e.querySelectorAll("a#"+F+"+*").length||M.push(".#.+[+~]"),e.querySelectorAll(":checked").length||M.push(":checked"),t=L.createElement("input"),t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),N.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&M.push(":enabled",":disabled"),t=L.createElement("input"),t.setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||M.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),ie.cssHas||M.push(":has"),M=M.length&&new RegExp(M.join("|")),z=function(e,t){if(e===t)return S=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r?r:(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&r||!ie.sortDetached&&t.compareDocumentPosition(e)===r?e===L||e.ownerDocument==ye&&n.contains(ye,e)?-1:t===L||t.ownerDocument==ye&&n.contains(ye,t)?1:D?Q.call(D,e)-Q.call(D,t):0:4&r?-1:1)},L):L}function f(){}function h(e,t){var r,i,o,a,s,l,u,c=j[e+" "];if(c)return t?0:c.slice(0);for(s=e,l=[],u=A.preFilter;s;){r&&!(i=Z.exec(s))||(i&&(s=s.slice(i[0].length)||s),l.push(o=[])),r=!1,(i=ee.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(ve," ")}),s=s.slice(r.length));for(a in A.filter)!(i=ae[a].exec(s))||u[a]&&!(i=u[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return t?s.length:s?n.error(e):j(e,l).slice(0)}function g(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function v(e,t,n){var r=t.dir,o=t.next,a=o||r,s=n&&"parentNode"===a,l=O++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||s)return e(t,n,i);return!1}:function(t,n,u){var c,p,d=[H,l];if(u){for(;t=t[r];)if((1===t.nodeType||s)&&e(t,n,u))return!0}else for(;t=t[r];)if(1===t.nodeType||s)if(p=t[F]||(t[F]={}),o&&i(t,o))t=t[r]||t;else{if((c=p[a])&&c[0]===H&&c[1]===l)return d[2]=c[2];if(p[a]=d,d[2]=e(t,n,u))return!0}return!1}}function m(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function y(e,t,r){for(var i=0,o=t.length;i<o;i++)n(e,t[i],r);return r}function x(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,u=null!=t;s<l;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),u&&t.push(s)));return a}function b(e,t,n,r,i,a){return r&&!r[F]&&(r=b(r)),i&&!i[F]&&(i=b(i,a)),o(function(o,a,s,l){var u,c,p,d,f=[],h=[],g=a.length,v=o||y(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?v:x(v,f,e,s,l);if(n?(d=i||(o?e:g||r)?[]:a,n(m,d,s,l)):d=m,r)for(u=x(d,h),r(u,[],s,l),c=u.length;c--;)(p=u[c])&&(d[h[c]]=!(m[h[c]]=p));if(o){if(i||e){if(i){for(u=[],c=d.length;c--;)(p=d[c])&&u.push(m[c]=p);i(null,d=[],u,l)}for(c=d.length;c--;)(p=d[c])&&(u=i?Q.call(o,p):f[c])>-1&&(o[u]=!(a[u]=p))}}else d=x(d===a?d.splice(g,d.length):d),i?i(null,a,d,l):I.apply(a,d)})}function w(e){for(var t,n,r,i=e.length,o=A.relative[e[0].type],a=o||A.relative[" "],s=o?1:0,l=v(function(e){return e===t},a,!0),u=v(function(e){return Q.call(t,e)>-1},a,!0),c=[function(e,n,r){var i=!o&&(r||n!=E)||((t=n).nodeType?l(e,n,r):u(e,n,r));return t=null,i}];s<i;s++)if(n=A.relative[e[s].type])c=[v(m(c),n)];else{if(n=A.filter[e[s].type].apply(null,e[s].matches),n[F]){for(r=++s;r<i&&!A.relative[e[r].type];r++);return b(s>1&&m(c),s>1&&g(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ve,"$1"),n,s<r&&w(e.slice(s,r)),r<i&&w(e=e.slice(r)),r<i&&g(e))}c.push(n)}return m(c)}function _(e,t){var n=t.length>0,r=e.length>0,i=function(i,o,a,s,l){var u,c,p,f=0,h="0",g=i&&[],v=[],m=E,y=i||r&&A.find.TAG("*",l),b=H+=null==m?1:$()||.1,w=y.length;for(l&&(E=o==L||o||l);h!==w&&null!=(u=y[h]);h++){if(r&&u){for(c=0,o||u.ownerDocument==L||(d(u),a=!P);p=e[c++];)if(p(u,o||L,a)){I.call(s,u);break}l&&(H=b)}n&&((u=!p&&u)&&f--,i&&g.push(u))}if(f+=h,n&&h!==f){for(c=0;p=t[c++];)p(g,v,o,a);if(i){if(f>0)for(;h--;)g[h]||v[h]||(v[h]=de.call(s));v=x(v)}I.apply(s,v),l&&!i&&v.length>0&&f+t.length>1&&pe.uniqueSort(s)}return l&&(H=b,E=m),g};return n?o(i):i}function k(e,t){var n,r=[],i=[],o=q[e+" "];if(!o){for(t||(t=h(e)),n=t.length;n--;)o=w(t[n]),o[F]?r.push(o):i.push(o);o=q(e,_(i,r)),o.selector=e}return o}function C(e,t,n,r){var i,o,a,s,l,u="function"==typeof e&&e,c=!r&&h(e=u.selector||e);if(n=n||[],1===c.length){if(o=c[0]=c[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&9===t.nodeType&&P&&A.relative[o[1].type]){if(t=(A.find.ID(a.matches[0].replace(me,be),t)||[])[0],!t)return n;u&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=ae.needsContext.test(e)?0:o.length;i--&&(a=o[i],!A.relative[s=a.type]);)if((l=A.find[s])&&(r=l(a.matches[0].replace(me,be),ce.test(o[0].type)&&p(t.parentNode)||t))){if(o.splice(i,1),e=r.length&&g(o),!e)return I.apply(n,r),n;break}}return(u||k(e,c))(r,t,!P,n,!t||ce.test(e)&&p(t.parentNode)||t),n}var T,A,E,D,S,L,N,P,M,B,I=xe,F=pe.expando,H=0,O=0,R=r(),j=r(),q=r(),U=r(),z=function(e,t){return e===t&&(S=!0),0},W="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",V="(?:\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",J="\\["+ge+"*("+V+")(?:"+ge+"*([*^$|!~]?=)"+ge+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+V+"))|)"+ge+"*\\]",Y=":("+V+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+J+")*)|.*)\\)|)",K=new RegExp(ge+"+","g"),Z=new RegExp("^"+ge+"*,"+ge+"*"),ee=new RegExp("^"+ge+"*([>+~]|"+ge+")"+ge+"*"),ne=new RegExp(ge+"|>"),re=new RegExp(Y),oe=new RegExp("^"+V+"$"),ae={ID:new RegExp("^#("+V+")"),CLASS:new RegExp("^\\.("+V+")"),TAG:new RegExp("^("+V+"|[*])"),ATTR:new RegExp("^"+J),PSEUDO:new RegExp("^"+Y),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+W+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},se=/^(?:input|select|textarea|button)$/i,le=/^h\d$/i,ue=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ce=/[+~]/,me=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),be=function(e,t){var n="0x"+e.slice(1)-65536;return t?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},we=function(){d()},_e=v(function(e){return e.disabled===!0&&i(e,"fieldset")},{dir:"parentNode",next:"legend"});try{I.apply(X=G.call(ye.childNodes),ye.childNodes),X[ye.childNodes.length].nodeType}catch(ke){I={apply:function(e,t){xe.apply(e,G.call(t))},call:function(e){xe.apply(e,G.call(arguments,1))}}}n.matches=function(e,t){return n(e,null,null,t)},n.matchesSelector=function(e,t){if(d(e),P&&!U[t+" "]&&(!M||!M.test(t)))try{var r=B.call(e,t);if(r||ie.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(i){U(t,!0)}return n(t,L,null,[e]).length>0},n.contains=function(e,t){return(e.ownerDocument||e)!=L&&d(e),pe.contains(e,t)},n.attr=function(e,t){(e.ownerDocument||e)!=L&&d(e);var n=A.attrHandle[t.toLowerCase()],r=n&&te.call(A.attrHandle,t.toLowerCase())?n(e,t,!P):void 0;return void 0!==r?r:e.getAttribute(t)},n.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},pe.uniqueSort=function(e){var t,n=[],r=0,i=0;if(S=!ie.sortStable,D=!ie.sortStable&&G.call(e,0),fe.call(e,z),S){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)he.call(e,n[r],1)}return D=null,e},pe.fn.uniqueSort=function(){return this.pushStack(pe.uniqueSort(G.apply(this)))},A=pe.expr={cacheLength:50,createPseudo:o,match:ae,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(me,be),e[3]=(e[3]||e[4]||e[5]||"").replace(me,be),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||n.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&n.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return ae.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&re.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(me,be).toLowerCase();return"*"===e?function(){return!0}:function(e){return i(e,t)}},CLASS:function(e){var t=R[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&R(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,r){return function(i){var o=n.attr(i,e);return null==o?"!="===t:!t||(o+="","="===t?o===r:"!="===t?o!==r:"^="===t?r&&0===o.indexOf(r):"*="===t?r&&o.indexOf(r)>-1:"$="===t?r&&o.slice(-r.length)===r:"~="===t?(" "+o.replace(K," ")+" ").indexOf(r)>-1:"|="===t&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,o){var a="nth"!==e.slice(0,3),s="last"!==e.slice(-4),l="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,u){var c,p,d,f,h,g=a!==s?"nextSibling":"previousSibling",v=t.parentNode,m=l&&t.nodeName.toLowerCase(),y=!u&&!l,x=!1;if(v){if(a){for(;g;){for(d=t;d=d[g];)if(l?i(d,m):1===d.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[s?v.firstChild:v.lastChild],s&&y){for(p=v[F]||(v[F]={}),c=p[e]||[],f=c[0]===H&&c[1],x=f&&c[2],d=f&&v.childNodes[f];d=++f&&d&&d[g]||(x=f=0)||h.pop();)if(1===d.nodeType&&++x&&d===t){p[e]=[H,f,x];break}}else if(y&&(p=t[F]||(t[F]={}),c=p[e]||[],f=c[0]===H&&c[1],x=f),x===!1)for(;(d=++f&&d&&d[g]||(x=f=0)||h.pop())&&((l?!i(d,m):1!==d.nodeType)||!++x||(y&&(p=d[F]||(d[F]={}),p[e]=[H,x]),d!==t)););return x-=o,x===r||x%r===0&&x/r>=0}}},PSEUDO:function(e,t){var r,i=A.pseudos[e]||A.setFilters[e.toLowerCase()]||n.error("unsupported pseudo: "+e);return i[F]?i(t):i.length>1?(r=[e,e,"",t],A.setFilters.hasOwnProperty(e.toLowerCase())?o(function(e,n){for(var r,o=i(e,t),a=o.length;a--;)r=Q.call(e,o[a]),e[r]=!(n[r]=o[a])}):function(e){return i(e,0,r)}):i}},pseudos:{not:o(function(e){var t=[],n=[],r=k(e.replace(ve,"$1"));return r[F]?o(function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:o(function(e){return function(t){return n(e,t).length>0}}),contains:o(function(e){return e=e.replace(me,be),function(t){return(t.textContent||pe.text(t)).indexOf(e)>-1}}),lang:o(function(e){return oe.test(e||"")||n.error("unsupported lang: "+e),e=e.replace(me,be).toLowerCase(),function(t){var n;do if(n=P?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===N},focus:function(e){return e===t()&&L.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:u(!1),disabled:u(!0),checked:function(e){return i(e,"input")&&!!e.checked||i(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!A.pseudos.empty(e)},header:function(e){return le.test(e.nodeName)},input:function(e){return se.test(e.nodeName)},button:function(e){return i(e,"input")&&"button"===e.type||i(e,"button")},text:function(e){var t;return i(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:c(function(){return[0]}),last:c(function(e,t){return[t-1]}),eq:c(function(e,t,n){return[n<0?n+t:n]}),even:c(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:c(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:c(function(e,t,n){var r;for(r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e}),gt:c(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},A.pseudos.nth=A.pseudos.eq;for(T in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})A.pseudos[T]=s(T);for(T in{submit:!0,reset:!0})A.pseudos[T]=l(T);f.prototype=A.filters=A.pseudos,A.setFilters=new f,ie.sortStable=F.split("").sort(z).join("")===F,d(),ie.sortDetached=a(function(e){return 1&e.compareDocumentPosition(L.createElement("fieldset"))}),pe.find=n,pe.expr[":"]=pe.expr.pseudos,pe.unique=pe.uniqueSort,n.compile=k,n.select=C,n.setDocument=d,n.tokenize=h,n.escape=pe.escapeSelector,n.getText=pe.text,n.isXML=pe.isXMLDoc,n.selectors=pe.expr,n.support=pe.support,n.uniqueSort=pe.uniqueSort}();var be=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&pe(e).is(n))break;r.push(e)}return r},we=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},_e=pe.expr.match.needsContext,ke=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;pe.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?pe.find.matchesSelector(r,e)?[r]:[]:pe.find.matches(e,pe.grep(t,function(e){return 1===e.nodeType}))},pe.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(pe(e).filter(function(){for(t=0;t<r;t++)if(pe.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)pe.find(e,i[t],n);return r>1?pe.uniqueSort(n):n},filter:function(e){return this.pushStack(a(this,e||[],!1))},not:function(e){return this.pushStack(a(this,e||[],!0))},is:function(e){return!!a(this,"string"==typeof e&&_e.test(e)?pe(e):e||[],!1).length}});var Ce,Te=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Ae=pe.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||Ce,"string"==typeof e){if(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Te.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof pe?t[0]:t,pe.merge(this,pe.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:se,!0)),ke.test(r[1])&&pe.isPlainObject(t))for(r in t)oe(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return i=se.getElementById(r[2]),i&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):oe(e)?void 0!==n.ready?n.ready(e):e(pe):pe.makeArray(e,this)};Ae.prototype=pe.fn,Ce=pe(se);var Ee=/^(?:parents|prev(?:Until|All))/,De={children:!0,contents:!0,next:!0,prev:!0};pe.fn.extend({has:function(e){var t=pe(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(pe.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&pe(e);if(!_e.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&pe.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?pe.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?Q.call(pe(e),this[0]):Q.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(pe.uniqueSort(pe.merge(this.get(),pe(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),pe.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return be(e,"parentNode")},parentsUntil:function(e,t,n){return be(e,"parentNode",n)},next:function(e){return s(e,"nextSibling")},prev:function(e){return s(e,"previousSibling")},nextAll:function(e){return be(e,"nextSibling")},prevAll:function(e){return be(e,"previousSibling")},nextUntil:function(e,t,n){return be(e,"nextSibling",n)},prevUntil:function(e,t,n){return be(e,"previousSibling",n)},siblings:function(e){return we((e.parentNode||{}).firstChild,e);
},children:function(e){return we(e.firstChild)},contents:function(e){return null!=e.contentDocument&&J(e.contentDocument)?e.contentDocument:(i(e,"template")&&(e=e.content||e),pe.merge([],e.childNodes))}},function(e,t){pe.fn[e]=function(n,r){var i=pe.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=pe.filter(r,i)),this.length>1&&(De[e]||pe.uniqueSort(i),Ee.test(e)&&i.reverse()),this.pushStack(i)}});var Se=/[^\x20\t\r\n\f]+/g;pe.Callbacks=function(e){e="string"==typeof e?l(e):pe.extend({},e);var t,r,i,o,a=[],s=[],u=-1,c=function(){for(o=o||e.once,i=t=!0;s.length;u=-1)for(r=s.shift();++u<a.length;)a[u].apply(r[0],r[1])===!1&&e.stopOnFalse&&(u=a.length,r=!1);e.memory||(r=!1),t=!1,o&&(a=r?[]:"")},p={add:function(){return a&&(r&&!t&&(u=a.length-1,s.push(r)),function i(t){pe.each(t,function(t,r){oe(r)?e.unique&&p.has(r)||a.push(r):r&&r.length&&"string"!==n(r)&&i(r)})}(arguments),r&&!t&&c()),this},remove:function(){return pe.each(arguments,function(e,t){for(var n;(n=pe.inArray(t,a,n))>-1;)a.splice(n,1),n<=u&&u--}),this},has:function(e){return e?pe.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return o=s=[],a=r="",this},disabled:function(){return!a},lock:function(){return o=s=[],r||t||(a=r=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=n||[],n=[e,n.slice?n.slice():n],s.push(n),t||c()),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},pe.extend({Deferred:function(t){var n=[["notify","progress",pe.Callbacks("memory"),pe.Callbacks("memory"),2],["resolve","done",pe.Callbacks("once memory"),pe.Callbacks("once memory"),0,"resolved"],["reject","fail",pe.Callbacks("once memory"),pe.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},"catch":function(e){return i.then(null,e)},pipe:function(){var e=arguments;return pe.Deferred(function(t){pe.each(n,function(n,r){var i=oe(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&oe(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){function o(t,n,r,i){return function(){var s=this,l=arguments,p=function(){var e,p;if(!(t<a)){if(e=r.apply(s,l),e===n.promise())throw new TypeError("Thenable self-resolution");p=e&&("object"==typeof e||"function"==typeof e)&&e.then,oe(p)?i?p.call(e,o(a,n,u,i),o(a,n,c,i)):(a++,p.call(e,o(a,n,u,i),o(a,n,c,i),o(a,n,u,n.notifyWith))):(r!==u&&(s=void 0,l=[e]),(i||n.resolveWith)(s,l))}},d=i?p:function(){try{p()}catch(e){pe.Deferred.exceptionHook&&pe.Deferred.exceptionHook(e,d.error),t+1>=a&&(r!==c&&(s=void 0,l=[e]),n.rejectWith(s,l))}};t?d():(pe.Deferred.getErrorHook?d.error=pe.Deferred.getErrorHook():pe.Deferred.getStackHook&&(d.error=pe.Deferred.getStackHook()),e.setTimeout(d))}}var a=0;return pe.Deferred(function(e){n[0][3].add(o(0,e,oe(i)?i:u,e.notifyWith)),n[1][3].add(o(0,e,oe(t)?t:u)),n[2][3].add(o(0,e,oe(r)?r:c))}).promise()},promise:function(e){return null!=e?pe.extend(e,i):i}},o={};return pe.each(n,function(e,t){var a=t[2],s=t[5];i[t[1]]=a.add,s&&a.add(function(){r=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=G.call(arguments),o=pe.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?G.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(p(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||oe(i[n]&&i[n].then)))return o.then();for(;n--;)p(i[n],a(n),o.reject);return o.promise()}});var Le=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;pe.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&Le.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},pe.readyException=function(t){e.setTimeout(function(){throw t})};var Ne=pe.Deferred();pe.fn.ready=function(e){return Ne.then(e)["catch"](function(e){pe.readyException(e)}),this},pe.extend({isReady:!1,readyWait:1,ready:function(e){(e===!0?--pe.readyWait:pe.isReady)||(pe.isReady=!0,e!==!0&&--pe.readyWait>0||Ne.resolveWith(se,[pe]))}}),pe.ready.then=Ne.then,"complete"===se.readyState||"loading"!==se.readyState&&!se.documentElement.doScroll?e.setTimeout(pe.ready):(se.addEventListener("DOMContentLoaded",d),e.addEventListener("load",d));var Pe=function(e,t,r,i,o,a,s){var l=0,u=e.length,c=null==r;if("object"===n(r)){o=!0;for(l in r)Pe(e,t,l,r[l],!0,a,s)}else if(void 0!==i&&(o=!0,oe(i)||(s=!0),c&&(s?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(pe(e),n)})),t))for(;l<u;l++)t(e[l],r,s?i:i.call(e[l],l,t(e[l],r)));return o?e:c?t.call(e):u?t(e[0],r):a},Me=/^-ms-/,Be=/-([a-z])/g,Ie=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};g.uid=1,g.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Ie(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[h(t)]=n;else for(r in t)i[h(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][h(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){Array.isArray(t)?t=t.map(h):(t=h(t),t=t in r?[t]:t.match(Se)||[]),n=t.length;for(;n--;)delete r[t[n]]}(void 0===t||pe.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!pe.isEmptyObject(t)}};var Fe=new g,He=new g,Oe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Re=/[A-Z]/g;pe.extend({hasData:function(e){return He.hasData(e)||Fe.hasData(e)},data:function(e,t,n){return He.access(e,t,n)},removeData:function(e,t){He.remove(e,t)},_data:function(e,t,n){return Fe.access(e,t,n)},_removeData:function(e,t){Fe.remove(e,t)}}),pe.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=He.get(o),1===o.nodeType&&!Fe.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=h(r.slice(5)),m(o,r,i[r])));Fe.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){He.set(this,e)}):Pe(this,function(t){var n;if(o&&void 0===t){if(n=He.get(o,e),void 0!==n)return n;if(n=m(o,e),void 0!==n)return n}else this.each(function(){He.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){He.remove(this,e)})}}),pe.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Fe.get(e,t),n&&(!r||Array.isArray(n)?r=Fe.access(e,t,pe.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=pe.queue(e,t),r=n.length,i=n.shift(),o=pe._queueHooks(e,t),a=function(){pe.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Fe.get(e,n)||Fe.access(e,n,{empty:pe.Callbacks("once memory").add(function(){Fe.remove(e,[t+"queue",n])})})}}),pe.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?pe.queue(this[0],e):void 0===t?this:this.each(function(){var n=pe.queue(this,e,t);pe._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&pe.dequeue(this,e)})},dequeue:function(e){return this.each(function(){pe.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=pe.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)n=Fe.get(o[a],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var je=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,qe=new RegExp("^(?:([+-])=|)("+je+")([a-z%]*)$","i"),Ue=["Top","Right","Bottom","Left"],ze=se.documentElement,We=function(e){return pe.contains(e.ownerDocument,e)},Ve={composed:!0};ze.getRootNode&&(We=function(e){return pe.contains(e.ownerDocument,e)||e.getRootNode(Ve)===e.ownerDocument});var $e=function(e,t){return e=t||e,"none"===e.style.display||""===e.style.display&&We(e)&&"none"===pe.css(e,"display")},Xe={};pe.fn.extend({show:function(){return b(this,!0)},hide:function(){return b(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){$e(this)?pe(this).show():pe(this).hide()})}});var Je=/^(?:checkbox|radio)$/i,Ge=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ye=/^$|^module$|\/(?:java|ecma)script/i;!function(){var e=se.createDocumentFragment(),t=e.appendChild(se.createElement("div")),n=se.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),ie.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",ie.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,t.innerHTML="<option></option>",ie.option=!!t.lastChild}();var Ke={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Ke.tbody=Ke.tfoot=Ke.colgroup=Ke.caption=Ke.thead,Ke.th=Ke.td,ie.option||(Ke.optgroup=Ke.option=[1,"<select multiple='multiple'>","</select>"]);var Qe=/<|&#?\w+;/,Ze=/^([^.]*)(?:\.(.+)|)/;pe.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,u,c,p,d,f,h,g,v=Fe.get(e);if(Ie(e))for(n.handler&&(o=n,n=o.handler,i=o.selector),i&&pe.find.matchesSelector(ze,i),n.guid||(n.guid=pe.guid++),(l=v.events)||(l=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(t){return"undefined"!=typeof pe&&pe.event.triggered!==t.type?pe.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Se)||[""],u=t.length;u--;)s=Ze.exec(t[u])||[],f=g=s[1],h=(s[2]||"").split(".").sort(),f&&(p=pe.event.special[f]||{},f=(i?p.delegateType:p.bindType)||f,p=pe.event.special[f]||{},c=pe.extend({type:f,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&pe.expr.match.needsContext.test(i),namespace:h.join(".")},o),(d=l[f])||(d=l[f]=[],d.delegateCount=0,p.setup&&p.setup.call(e,r,h,a)!==!1||e.addEventListener&&e.addEventListener(f,a)),p.add&&(p.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),pe.event.global[f]=!0)},remove:function(e,t,n,r,i){var o,a,s,l,u,c,p,d,f,h,g,v=Fe.hasData(e)&&Fe.get(e);if(v&&(l=v.events)){for(t=(t||"").match(Se)||[""],u=t.length;u--;)if(s=Ze.exec(t[u])||[],f=g=s[1],h=(s[2]||"").split(".").sort(),f){for(p=pe.event.special[f]||{},f=(r?p.delegateType:p.bindType)||f,d=l[f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)c=d[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,p.remove&&p.remove.call(e,c));a&&!d.length&&(p.teardown&&p.teardown.call(e,h,v.handle)!==!1||pe.removeEvent(e,f,v.handle),delete l[f])}else for(f in l)pe.event.remove(e,f+t[u],n,r,!0);pe.isEmptyObject(l)&&Fe.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),l=pe.event.fix(e),u=(Fe.get(this,"events")||Object.create(null))[l.type]||[],c=pe.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,l)!==!1){for(a=pe.event.handlers.call(this,l,u),t=0;(i=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&o.namespace!==!1&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,r=((pe.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s),void 0!==r&&(l.result=r)===!1&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,r,i,o,a,s=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||u.disabled!==!0)){for(o=[],a={},n=0;n<l;n++)r=t[n],i=r.selector+" ",void 0===a[i]&&(a[i]=r.needsContext?pe(i,this).index(u)>-1:pe.find(i,this,null,[u]).length),a[i]&&o.push(r);o.length&&s.push({elem:u,handlers:o})}return u=this,l<t.length&&s.push({elem:u,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(pe.Event.prototype,e,{enumerable:!0,configurable:!0,get:oe(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[pe.expando]?e:new pe.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Je.test(t.type)&&t.click&&i(t,"input")&&E(t,"click",!0),!1},trigger:function(e){var t=this||e;return Je.test(t.type)&&t.click&&i(t,"input")&&E(t,"click"),!0},_default:function(e){var t=e.target;return Je.test(t.type)&&t.click&&i(t,"input")&&Fe.get(t,"click")||i(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},pe.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},pe.Event=function(e,t){return this instanceof pe.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?C:T,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&pe.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),void(this[pe.expando]=!0)):new pe.Event(e,t)},pe.Event.prototype={constructor:pe.Event,isDefaultPrevented:T,isPropagationStopped:T,isImmediatePropagationStopped:T,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=C,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=C,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=C,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},pe.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},pe.event.addProp),pe.each({focus:"focusin",blur:"focusout"},function(e,t){function n(e){if(se.documentMode){var n=Fe.get(this,"handle"),r=pe.event.fix(e);r.type="focusin"===e.type?"focus":"blur",r.isSimulated=!0,n(e),r.target===r.currentTarget&&n(r)}else pe.event.simulate(t,e.target,pe.event.fix(e))}pe.event.special[e]={setup:function(){var r;return E(this,e,!0),!!se.documentMode&&(r=Fe.get(this,t),r||this.addEventListener(t,n),Fe.set(this,t,(r||0)+1),void 0)},trigger:function(){return E(this,e),!0},teardown:function(){var e;return!!se.documentMode&&(e=Fe.get(this,t)-1,void(e?Fe.set(this,t,e):(this.removeEventListener(t,n),Fe.remove(this,t))))},_default:function(t){return Fe.get(t.target,e)},delegateType:t},pe.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=se.documentMode?this:r,o=Fe.get(i,t);o||(se.documentMode?this.addEventListener(t,n):r.addEventListener(e,n,!0)),Fe.set(i,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=se.documentMode?this:r,o=Fe.get(i,t)-1;o?Fe.set(i,t,o):(se.documentMode?this.removeEventListener(t,n):r.removeEventListener(e,n,!0),Fe.remove(i,t))}}}),pe.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){pe.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||pe.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),pe.fn.extend({on:function(e,t,n,r){return A(this,e,t,n,r)},one:function(e,t,n,r){return A(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,pe(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return t!==!1&&"function"!=typeof t||(n=t,t=void 0),n===!1&&(n=T),this.each(function(){pe.event.remove(this,e,n,t)})}});var et=/<script|<style|<link/i,tt=/checked\s*(?:[^=]|=\s*.checked.)/i,nt=/^\s*<!\[CDATA\[|\]\]>\s*$/g;pe.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),l=We(e);if(!(ie.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||pe.isXMLDoc(e)))for(a=w(s),o=w(e),r=0,i=o.length;r<i;r++)P(o[r],a[r]);if(t)if(n)for(o=o||w(e),a=a||w(s),r=0,i=o.length;r<i;r++)N(o[r],a[r]);else N(e,s);return a=w(s,"script"),a.length>0&&_(a,!l&&w(e,"script")),s},cleanData:function(e){for(var t,n,r,i=pe.event.special,o=0;void 0!==(n=e[o]);o++)if(Ie(n)){if(t=n[Fe.expando]){if(t.events)for(r in t.events)i[r]?pe.event.remove(n,r):pe.removeEvent(n,r,t.handle);n[Fe.expando]=void 0}n[He.expando]&&(n[He.expando]=void 0)}}}),pe.fn.extend({detach:function(e){return B(this,e,!0)},remove:function(e){return B(this,e)},text:function(e){return Pe(this,function(e){return void 0===e?pe.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return M(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=D(this,e);t.appendChild(e)}})},prepend:function(){return M(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=D(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return M(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return M(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(pe.cleanData(w(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return pe.clone(this,e,t)})},html:function(e){return Pe(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!et.test(e)&&!Ke[(Ge.exec(e)||["",""])[1].toLowerCase()]){e=pe.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(pe.cleanData(w(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return M(this,arguments,function(t){var n=this.parentNode;pe.inArray(this,e)<0&&(pe.cleanData(w(this)),n&&n.replaceChild(t,this))},e)}}),pe.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){pe.fn[e]=function(e){for(var n,r=[],i=pe(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),pe(i[a])[t](n),K.apply(r,n.get());return this.pushStack(r)}});var rt=new RegExp("^("+je+")(?!px)[a-z%]+$","i"),it=/^--/,ot=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},at=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];r=n.call(e);for(i in t)e.style[i]=o[i];return r},st=new RegExp(Ue.join("|"),"i");!function(){function t(){if(c){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ze.appendChild(u).appendChild(c);var t=e.getComputedStyle(c);r="1%"!==t.top,l=12===n(t.marginLeft),c.style.right="60%",a=36===n(t.right),i=36===n(t.width),c.style.position="absolute",o=12===n(c.offsetWidth/3),ze.removeChild(u),c=null}}function n(e){return Math.round(parseFloat(e))}var r,i,o,a,s,l,u=se.createElement("div"),c=se.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",ie.clearCloneStyle="content-box"===c.style.backgroundClip,pe.extend(ie,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,n,r,i;return null==s&&(t=se.createElement("table"),n=se.createElement("tr"),r=se.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",n.style.cssText="box-sizing:content-box;border:1px solid",n.style.height="1px",r.style.height="9px",r.style.display="block",ze.appendChild(t).appendChild(n).appendChild(r),i=e.getComputedStyle(n),s=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===n.offsetHeight,ze.removeChild(t)),s}}))}();var lt=["Webkit","Moz","ms"],ut=se.createElement("div").style,ct={},pt=/^(none|table(?!-c[ea]).+)/,dt={position:"absolute",visibility:"hidden",display:"block"},ft={letterSpacing:"0",fontWeight:"400"};pe.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=I(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=h(t),l=it.test(t),u=e.style;return l||(t=O(s)),a=pe.cssHooks[t]||pe.cssHooks[s],void 0===n?a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:u[t]:(o=typeof n,"string"===o&&(i=qe.exec(n))&&i[1]&&(n=y(e,t,i),o="number"),null!=n&&n===n&&("number"!==o||l||(n+=i&&i[3]||(pe.cssNumber[s]?"":"px")),ie.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(l?u.setProperty(t,n):u[t]=n)),void 0)}},css:function(e,t,n,r){var i,o,a,s=h(t),l=it.test(t);return l||(t=O(s)),a=pe.cssHooks[t]||pe.cssHooks[s],a&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=I(e,t,r)),"normal"===i&&t in ft&&(i=ft[t]),""===n||n?(o=parseFloat(i),n===!0||isFinite(o)?o||0:i):i}}),pe.each(["height","width"],function(e,t){pe.cssHooks[t]={get:function(e,n,r){if(n)return!pt.test(pe.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?q(e,t,r):at(e,dt,function(){return q(e,t,r)})},set:function(e,n,r){var i,o=ot(e),a=!ie.scrollboxSize()&&"absolute"===o.position,s=a||r,l=s&&"border-box"===pe.css(e,"boxSizing",!1,o),u=r?j(e,t,r,l,o):0;return l&&a&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-j(e,t,"border",!1,o)-.5)),u&&(i=qe.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=pe.css(e,t)),R(e,n,u)}}}),pe.cssHooks.marginLeft=F(ie.reliableMarginLeft,function(e,t){if(t)return(parseFloat(I(e,"marginLeft"))||e.getBoundingClientRect().left-at(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),pe.each({margin:"",padding:"",border:"Width"},function(e,t){pe.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+Ue[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(pe.cssHooks[e+t].set=R)}),pe.fn.extend({css:function(e,t){return Pe(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=ot(e),i=t.length;a<i;a++)o[t[a]]=pe.css(e,t[a],!1,r);return o}return void 0!==n?pe.style(e,t,n):pe.css(e,t)},e,t,arguments.length>1)}}),pe.fn.delay=function(t,n){return t=pe.fx?pe.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}})},function(){var e=se.createElement("input"),t=se.createElement("select"),n=t.appendChild(se.createElement("option"));e.type="checkbox",ie.checkOn=""!==e.value,ie.optSelected=n.selected,e=se.createElement("input"),e.value="t",e.type="radio",ie.radioValue="t"===e.value}();var ht,gt=pe.expr.attrHandle;pe.fn.extend({attr:function(e,t){return Pe(this,pe.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){pe.removeAttr(this,e)})}}),pe.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?pe.prop(e,t,n):(1===o&&pe.isXMLDoc(e)||(i=pe.attrHooks[t.toLowerCase()]||(pe.expr.match.bool.test(t)?ht:void 0)),void 0!==n?null===n?void pe.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:(r=pe.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!ie.radioValue&&"radio"===t&&i(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(Se);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),ht={set:function(e,t,n){return t===!1?pe.removeAttr(e,n):e.setAttribute(n,n),n}},pe.each(pe.expr.match.bool.source.match(/\w+/g),function(e,t){var n=gt[t]||pe.find.attr;gt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=gt[a],gt[a]=i,i=null!=n(e,t,r)?a:null,gt[a]=o),i}});var vt=/^(?:input|select|textarea|button)$/i,mt=/^(?:a|area)$/i;pe.fn.extend({prop:function(e,t){return Pe(this,pe.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[pe.propFix[e]||e]})}}),pe.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&pe.isXMLDoc(e)||(t=pe.propFix[t]||t,i=pe.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=pe.find.attr(e,"tabindex");return t?parseInt(t,10):vt.test(e.nodeName)||mt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),ie.optSelected||(pe.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),pe.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){pe.propFix[this.toLowerCase()]=this}),pe.fn.extend({addClass:function(e){var t,n,r,i,o,a;return oe(e)?this.each(function(t){pe(this).addClass(e.call(this,t,z(this)))}):(t=W(e),t.length?this.each(function(){if(r=z(this),n=1===this.nodeType&&" "+U(r)+" "){for(o=0;o<t.length;o++)i=t[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");a=U(n),r!==a&&this.setAttribute("class",a)}}):this)},removeClass:function(e){var t,n,r,i,o,a;return oe(e)?this.each(function(t){pe(this).removeClass(e.call(this,t,z(this)))}):arguments.length?(t=W(e),t.length?this.each(function(){if(r=z(this),n=1===this.nodeType&&" "+U(r)+" "){for(o=0;o<t.length;o++)for(i=t[o];n.indexOf(" "+i+" ")>-1;)n=n.replace(" "+i+" "," ");a=U(n),r!==a&&this.setAttribute("class",a)}}):this):this.attr("class","")},toggleClass:function(e,t){var n,r,i,o,a=typeof e,s="string"===a||Array.isArray(e);return oe(e)?this.each(function(n){pe(this).toggleClass(e.call(this,n,z(this),t),t)}):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=W(e),this.each(function(){if(s)for(o=pe(this),i=0;i<n.length;i++)r=n[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==e&&"boolean"!==a||(r=z(this),r&&Fe.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||e===!1?"":Fe.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+U(z(n))+" ").indexOf(t)>-1)return!0;return!1}});var yt=/\r/g;pe.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=oe(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,pe(this).val()):e,null==i?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=pe.map(i,function(e){return null==e?"":e+""})),t=pe.valHooks[this.type]||pe.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return t=pe.valHooks[i.type]||pe.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(yt,""):null==n?"":n)}}}),pe.extend({valHooks:{option:{get:function(e){var t=pe.find.attr(e,"value");return null!=t?t:U(pe.text(e))}},select:{get:function(e){var t,n,r,o=e.options,a=e.selectedIndex,s="select-one"===e.type,l=s?null:[],u=s?a+1:o.length;for(r=a<0?u:s?a:0;r<u;r++)if(n=o[r],(n.selected||r===a)&&!n.disabled&&(!n.parentNode.disabled||!i(n.parentNode,"optgroup"))){if(t=pe(n).val(),s)return t;l.push(t)}return l},set:function(e,t){for(var n,r,i=e.options,o=pe.makeArray(t),a=i.length;a--;)r=i[a],(r.selected=pe.inArray(pe.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),pe.each(["radio","checkbox"],function(){pe.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=pe.inArray(pe(e).val(),t)>-1}},ie.checkOn||(pe.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),pe.parseXML=function(t){var n,r;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(i){}return r=n&&n.getElementsByTagName("parsererror")[0],n&&!r||pe.error("Invalid XML: "+(r?pe.map(r.childNodes,function(e){return e.textContent}).join("\n"):t)),n};var xt=/^(?:focusinfocus|focusoutblur)$/,bt=function(e){e.stopPropagation()};pe.extend(pe.event,{trigger:function(t,n,r,i){var o,a,s,l,u,c,p,d,f=[r||se],h=te.call(t,"type")?t.type:t,g=te.call(t,"namespace")?t.namespace.split("."):[];if(a=d=s=r=r||se,3!==r.nodeType&&8!==r.nodeType&&!xt.test(h+pe.event.triggered)&&(h.indexOf(".")>-1&&(g=h.split("."),h=g.shift(),g.sort()),u=h.indexOf(":")<0&&"on"+h,t=t[pe.expando]?t:new pe.Event(h,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=g.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:pe.makeArray(n,[t]),p=pe.event.special[h]||{},i||!p.trigger||p.trigger.apply(r,n)!==!1)){if(!i&&!p.noBubble&&!ae(r)){for(l=p.delegateType||h,xt.test(l+h)||(a=a.parentNode);a;a=a.parentNode)f.push(a),s=a;s===(r.ownerDocument||se)&&f.push(s.defaultView||s.parentWindow||e)}for(o=0;(a=f[o++])&&!t.isPropagationStopped();)d=a,t.type=o>1?l:p.bindType||h,c=(Fe.get(a,"events")||Object.create(null))[t.type]&&Fe.get(a,"handle"),c&&c.apply(a,n),c=u&&a[u],c&&c.apply&&Ie(a)&&(t.result=c.apply(a,n),t.result===!1&&t.preventDefault());return t.type=h,i||t.isDefaultPrevented()||p._default&&p._default.apply(f.pop(),n)!==!1||!Ie(r)||u&&oe(r[h])&&!ae(r)&&(s=r[u],s&&(r[u]=null),pe.event.triggered=h,t.isPropagationStopped()&&d.addEventListener(h,bt),r[h](),t.isPropagationStopped()&&d.removeEventListener(h,bt),pe.event.triggered=void 0,s&&(r[u]=s)),t.result}},simulate:function(e,t,n){var r=pe.extend(new pe.Event,n,{type:e,isSimulated:!0});pe.event.trigger(r,null,t)}}),pe.fn.extend({trigger:function(e,t){return this.each(function(){pe.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return pe.event.trigger(e,t,n,!0)}});var wt=/\[\]$/,_t=/\r?\n/g,kt=/^(?:submit|button|image|reset|file)$/i,Ct=/^(?:input|select|textarea|keygen)/i;pe.param=function(e,t){var n,r=[],i=function(e,t){var n=oe(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";
if(Array.isArray(e)||e.jquery&&!pe.isPlainObject(e))pe.each(e,function(){i(this.name,this.value)});else for(n in e)V(n,e[n],t,i);return r.join("&")},pe.fn.extend({serialize:function(){return pe.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=pe.prop(this,"elements");return e?pe.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!pe(this).is(":disabled")&&Ct.test(this.nodeName)&&!kt.test(e)&&(this.checked||!Je.test(e))}).map(function(e,t){var n=pe(this).val();return null==n?null:Array.isArray(n)?pe.map(n,function(e){return{name:t.name,value:e.replace(_t,"\r\n")}}):{name:t.name,value:n.replace(_t,"\r\n")}}).get()}}),pe.fn.extend({wrapAll:function(e){var t;return this[0]&&(oe(e)&&(e=e.call(this[0])),t=pe(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return oe(e)?this.each(function(t){pe(this).wrapInner(e.call(this,t))}):this.each(function(){var t=pe(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=oe(e);return this.each(function(n){pe(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){pe(this).replaceWith(this.childNodes)}),this}}),pe.expr.pseudos.hidden=function(e){return!pe.expr.pseudos.visible(e)},pe.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},ie.createHTMLDocument=function(){var e=se.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),pe.parseHTML=function(e,t,n){if("string"!=typeof e)return[];"boolean"==typeof t&&(n=t,t=!1);var r,i,o;return t||(ie.createHTMLDocument?(t=se.implementation.createHTMLDocument(""),r=t.createElement("base"),r.href=se.location.href,t.head.appendChild(r)):t=se),i=ke.exec(e),o=!n&&[],i?[t.createElement(i[1])]:(i=k([e],t,o),o&&o.length&&pe(o).remove(),pe.merge([],i.childNodes))},pe.offset={setOffset:function(e,t,n){var r,i,o,a,s,l,u,c=pe.css(e,"position"),p=pe(e),d={};"static"===c&&(e.style.position="relative"),s=p.offset(),o=pe.css(e,"top"),l=pe.css(e,"left"),u=("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1,u?(r=p.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(l)||0),oe(t)&&(t=t.call(e,n,pe.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):p.css(d)}},pe.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){pe.offset.setOffset(this,e,t)});var t,n,r=this[0];if(r)return r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===pe.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===pe.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&(i=pe(e).offset(),i.top+=pe.css(e,"borderTopWidth",!0),i.left+=pe.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-pe.css(r,"marginTop",!0),left:t.left-i.left-pe.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===pe.css(e,"position");)e=e.offsetParent;return e||ze})}}),pe.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;pe.fn[e]=function(r){return Pe(this,function(e,r,i){var o;return ae(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i?o?o[t]:e[r]:void(o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i)},e,r,arguments.length)}}),pe.each(["top","left"],function(e,t){pe.cssHooks[t]=F(ie.pixelPosition,function(e,n){if(n)return n=I(e,t),rt.test(n)?pe(e).position()[t]+"px":n})}),pe.each({Height:"height",Width:"width"},function(e,t){pe.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){pe.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(i===!0||o===!0?"margin":"border");return Pe(this,function(t,n,i){var o;return ae(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?pe.css(t,n,s):pe.style(t,n,i,s)},t,a?i:void 0,a)}})}),pe.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),pe.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){pe.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}});var Tt=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;return pe.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),oe(e))return r=G.call(arguments,2),i=function(){return e.apply(t||this,r.concat(G.call(arguments)))},i.guid=e.guid=e.guid||pe.guid++,i},pe.holdReady=function(e){e?pe.readyWait++:pe.ready(!0)},pe.isArray=Array.isArray,pe.parseJSON=JSON.parse,pe.nodeName=i,pe.isFunction=oe,pe.isWindow=ae,pe.camelCase=h,pe.type=n,pe.now=Date.now,pe.isNumeric=function(e){var t=pe.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},pe.trim=function(e){return null==e?"":(e+"").replace(Tt,"$1")},pe}(window);!function(){function t(e){this.mode=c.MODE_8BIT_BYTE,this.data=e,this.parsedData=[];for(var t=0,n=this.data.length;t<n;t++){var r=[],i=this.data.charCodeAt(t);i>65536?(r[0]=240|(1835008&i)>>>18,r[1]=128|(258048&i)>>>12,r[2]=128|(4032&i)>>>6,r[3]=128|63&i):i>2048?(r[0]=224|(61440&i)>>>12,r[1]=128|(4032&i)>>>6,r[2]=128|63&i):i>128?(r[0]=192|(1984&i)>>>6,r[1]=128|63&i):r[0]=i,this.parsedData.push(r)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function n(e,t){this.typeNumber=e,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}function r(e,t){if(void 0==e.length)throw new Error(e.length+"/"+t);for(var n=0;n<e.length&&0==e[n];)n++;this.num=new Array(e.length-n+t);for(var r=0;r<e.length-n;r++)this.num[r]=e[r+n]}function i(e,t){this.totalCount=e,this.dataCount=t}function o(){this.buffer=[],this.length=0}function a(){return"undefined"!=typeof CanvasRenderingContext2D}function s(){var e=!1,t=navigator.userAgent;if(/android/i.test(t)){e=!0;var n=t.toString().match(/android ([0-9]\.[0-9])/i);n&&n[1]&&(e=parseFloat(n[1]))}return e}function l(e,t){for(var n=1,r=u(e),i=0,o=v.length;i<=o;i++){var a=0;switch(t){case p.L:a=v[i][0];break;case p.M:a=v[i][1];break;case p.Q:a=v[i][2];break;case p.H:a=v[i][3]}if(r<=a)break;n++}if(n>v.length)throw new Error("Too long data");return n}function u(e){var t=encodeURI(e).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return t.length+(t.length!=e?3:0)}t.prototype={getLength:function(e){return this.parsedData.length},write:function(e){for(var t=0,n=this.parsedData.length;t<n;t++)e.put(this.parsedData[t],8)}},n.prototype={addData:function(e){var n=new t(e);this.dataList.push(n),this.dataCache=null},isDark:function(e,t){if(e<0||this.moduleCount<=e||t<0||this.moduleCount<=t)throw new Error(e+","+t);return this.modules[e][t]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(e,t){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++){this.modules[r]=new Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++)this.modules[r][i]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(e,t),this.typeNumber>=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=n.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,t)},setupPositionProbePattern:function(e,t){for(var n=-1;n<=7;n++)if(!(e+n<=-1||this.moduleCount<=e+n))for(var r=-1;r<=7;r++)t+r<=-1||this.moduleCount<=t+r||(0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4?this.modules[e+n][t+r]=!0:this.modules[e+n][t+r]=!1)},getBestMaskPattern:function(){for(var e=0,t=0,n=0;n<8;n++){this.makeImpl(!0,n);var r=f.getLostPoint(this);(0==n||e>r)&&(e=r,t=n)}return t},createMovieClip:function(e,t,n){var r=e.createEmptyMovieClip(t,n),i=1;this.make();for(var o=0;o<this.modules.length;o++)for(var a=o*i,s=0;s<this.modules[o].length;s++){var l=s*i,u=this.modules[o][s];u&&(r.beginFill(0,100),r.moveTo(l,a),r.lineTo(l+i,a),r.lineTo(l+i,a+i),r.lineTo(l,a+i),r.endFill())}return r},setupTimingPattern:function(){for(var e=8;e<this.moduleCount-8;e++)null==this.modules[e][6]&&(this.modules[e][6]=e%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},setupPositionAdjustPattern:function(){for(var e=f.getPatternPosition(this.typeNumber),t=0;t<e.length;t++)for(var n=0;n<e.length;n++){var r=e[t],i=e[n];if(null==this.modules[r][i])for(var o=-2;o<=2;o++)for(var a=-2;a<=2;a++)o==-2||2==o||a==-2||2==a||0==o&&0==a?this.modules[r+o][i+a]=!0:this.modules[r+o][i+a]=!1}},setupTypeNumber:function(e){for(var t=f.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var r=!e&&1==(t>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=r}for(var n=0;n<18;n++){var r=!e&&1==(t>>n&1);this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=r}},setupTypeInfo:function(e,t){for(var n=this.errorCorrectLevel<<3|t,r=f.getBCHTypeInfo(n),i=0;i<15;i++){var o=!e&&1==(r>>i&1);i<6?this.modules[i][8]=o:i<8?this.modules[i+1][8]=o:this.modules[this.moduleCount-15+i][8]=o}for(var i=0;i<15;i++){var o=!e&&1==(r>>i&1);i<8?this.modules[8][this.moduleCount-i-1]=o:i<9?this.modules[8][15-i-1+1]=o:this.modules[8][15-i-1]=o}this.modules[this.moduleCount-8][8]=!e},mapData:function(e,t){for(var n=-1,r=this.moduleCount-1,i=7,o=0,a=this.moduleCount-1;a>0;a-=2)for(6==a&&a--;;){for(var s=0;s<2;s++)if(null==this.modules[r][a-s]){var l=!1;o<e.length&&(l=1==(e[o]>>>i&1));var u=f.getMask(t,r,a-s);u&&(l=!l),this.modules[r][a-s]=l,i--,i==-1&&(o++,i=7)}if(r+=n,r<0||this.moduleCount<=r){r-=n,n=-n;break}}}},n.PAD0=236,n.PAD1=17,n.createData=function(e,t,r){for(var a=i.getRSBlocks(e,t),s=new o,l=0;l<r.length;l++){var u=r[l];s.put(u.mode,4),s.put(u.getLength(),f.getLengthInBits(u.mode,e)),u.write(s)}for(var c=0,l=0;l<a.length;l++)c+=a[l].dataCount;if(s.getLengthInBits()>8*c)throw new Error("code length overflow. ("+s.getLengthInBits()+">"+8*c+")");for(s.getLengthInBits()+4<=8*c&&s.put(0,4);s.getLengthInBits()%8!=0;)s.putBit(!1);for(;;){if(s.getLengthInBits()>=8*c)break;if(s.put(n.PAD0,8),s.getLengthInBits()>=8*c)break;s.put(n.PAD1,8)}return n.createBytes(s,a)},n.createBytes=function(e,t){for(var n=0,i=0,o=0,a=new Array(t.length),s=new Array(t.length),l=0;l<t.length;l++){var u=t[l].dataCount,c=t[l].totalCount-u;i=Math.max(i,u),o=Math.max(o,c),a[l]=new Array(u);for(var p=0;p<a[l].length;p++)a[l][p]=255&e.buffer[p+n];n+=u;var d=f.getErrorCorrectPolynomial(c),h=new r(a[l],d.getLength()-1),g=h.mod(d);s[l]=new Array(d.getLength()-1);for(var p=0;p<s[l].length;p++){var v=p+g.getLength()-s[l].length;s[l][p]=v>=0?g.get(v):0}}for(var m=0,p=0;p<t.length;p++)m+=t[p].totalCount;for(var y=new Array(m),x=0,p=0;p<i;p++)for(var l=0;l<t.length;l++)p<a[l].length&&(y[x++]=a[l][p]);for(var p=0;p<o;p++)for(var l=0;l<t.length;l++)p<s[l].length&&(y[x++]=s[l][p]);return y};for(var c={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},p={L:1,M:0,Q:3,H:2},d={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},f={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(e){for(var t=e<<10;f.getBCHDigit(t)-f.getBCHDigit(f.G15)>=0;)t^=f.G15<<f.getBCHDigit(t)-f.getBCHDigit(f.G15);return(e<<10|t)^f.G15_MASK},getBCHTypeNumber:function(e){for(var t=e<<12;f.getBCHDigit(t)-f.getBCHDigit(f.G18)>=0;)t^=f.G18<<f.getBCHDigit(t)-f.getBCHDigit(f.G18);return e<<12|t},getBCHDigit:function(e){for(var t=0;0!=e;)t++,e>>>=1;return t},getPatternPosition:function(e){return f.PATTERN_POSITION_TABLE[e-1]},getMask:function(e,t,n){switch(e){case d.PATTERN000:return(t+n)%2==0;case d.PATTERN001:return t%2==0;case d.PATTERN010:return n%3==0;case d.PATTERN011:return(t+n)%3==0;case d.PATTERN100:return(Math.floor(t/2)+Math.floor(n/3))%2==0;case d.PATTERN101:return t*n%2+t*n%3==0;case d.PATTERN110:return(t*n%2+t*n%3)%2==0;case d.PATTERN111:return(t*n%3+(t+n)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}},getErrorCorrectPolynomial:function(e){for(var t=new r([1],0),n=0;n<e;n++)t=t.multiply(new r([1,h.gexp(n)],0));return t},getLengthInBits:function(e,t){if(1<=t&&t<10)switch(e){case c.MODE_NUMBER:return 10;case c.MODE_ALPHA_NUM:return 9;case c.MODE_8BIT_BYTE:return 8;case c.MODE_KANJI:return 8;default:throw new Error("mode:"+e)}else if(t<27)switch(e){case c.MODE_NUMBER:return 12;case c.MODE_ALPHA_NUM:return 11;case c.MODE_8BIT_BYTE:return 16;case c.MODE_KANJI:return 10;default:throw new Error("mode:"+e)}else{if(!(t<41))throw new Error("type:"+t);switch(e){case c.MODE_NUMBER:return 14;case c.MODE_ALPHA_NUM:return 13;case c.MODE_8BIT_BYTE:return 16;case c.MODE_KANJI:return 12;default:throw new Error("mode:"+e)}}},getLostPoint:function(e){for(var t=e.getModuleCount(),n=0,r=0;r<t;r++)for(var i=0;i<t;i++){for(var o=0,a=e.isDark(r,i),s=-1;s<=1;s++)if(!(r+s<0||t<=r+s))for(var l=-1;l<=1;l++)i+l<0||t<=i+l||0==s&&0==l||a==e.isDark(r+s,i+l)&&o++;o>5&&(n+=3+o-5)}for(var r=0;r<t-1;r++)for(var i=0;i<t-1;i++){var u=0;e.isDark(r,i)&&u++,e.isDark(r+1,i)&&u++,e.isDark(r,i+1)&&u++,e.isDark(r+1,i+1)&&u++,0!=u&&4!=u||(n+=3)}for(var r=0;r<t;r++)for(var i=0;i<t-6;i++)e.isDark(r,i)&&!e.isDark(r,i+1)&&e.isDark(r,i+2)&&e.isDark(r,i+3)&&e.isDark(r,i+4)&&!e.isDark(r,i+5)&&e.isDark(r,i+6)&&(n+=40);for(var i=0;i<t;i++)for(var r=0;r<t-6;r++)e.isDark(r,i)&&!e.isDark(r+1,i)&&e.isDark(r+2,i)&&e.isDark(r+3,i)&&e.isDark(r+4,i)&&!e.isDark(r+5,i)&&e.isDark(r+6,i)&&(n+=40);for(var c=0,i=0;i<t;i++)for(var r=0;r<t;r++)e.isDark(r,i)&&c++;var p=Math.abs(100*c/t/t-50)/5;return n+=10*p}},h={glog:function(e){if(e<1)throw new Error("glog("+e+")");return h.LOG_TABLE[e]},gexp:function(e){for(;e<0;)e+=255;for(;e>=256;)e-=255;return h.EXP_TABLE[e]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},g=0;g<8;g++)h.EXP_TABLE[g]=1<<g;for(var g=8;g<256;g++)h.EXP_TABLE[g]=h.EXP_TABLE[g-4]^h.EXP_TABLE[g-5]^h.EXP_TABLE[g-6]^h.EXP_TABLE[g-8];for(var g=0;g<255;g++)h.LOG_TABLE[h.EXP_TABLE[g]]=g;r.prototype={get:function(e){return this.num[e]},getLength:function(){return this.num.length},multiply:function(e){for(var t=new Array(this.getLength()+e.getLength()-1),n=0;n<this.getLength();n++)for(var i=0;i<e.getLength();i++)t[n+i]^=h.gexp(h.glog(this.get(n))+h.glog(e.get(i)));return new r(t,0)},mod:function(e){if(this.getLength()-e.getLength()<0)return this;for(var t=h.glog(this.get(0))-h.glog(e.get(0)),n=new Array(this.getLength()),i=0;i<this.getLength();i++)n[i]=this.get(i);for(var i=0;i<e.getLength();i++)n[i]^=h.gexp(h.glog(e.get(i))+t);return new r(n,0).mod(e)}},i.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],i.getRSBlocks=function(e,t){var n=i.getRsBlockTable(e,t);if(void 0==n)throw new Error("bad rs block @ typeNumber:"+e+"/errorCorrectLevel:"+t);for(var r=n.length/3,o=[],a=0;a<r;a++)for(var s=n[3*a+0],l=n[3*a+1],u=n[3*a+2],c=0;c<s;c++)o.push(new i(l,u));return o},i.getRsBlockTable=function(e,t){switch(t){case p.L:return i.RS_BLOCK_TABLE[4*(e-1)+0];case p.M:return i.RS_BLOCK_TABLE[4*(e-1)+1];case p.Q:return i.RS_BLOCK_TABLE[4*(e-1)+2];case p.H:return i.RS_BLOCK_TABLE[4*(e-1)+3];default:return}},o.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var n=0;n<t;n++)this.putBit(1==(e>>>t-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var v=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]],m=function(){var e=function(e,t){this._el=e,this._htOption=t};return e.prototype.draw=function(e){function t(e,t){var n=document.createElementNS("http://www.w3.org/2000/svg",e);for(var r in t)t.hasOwnProperty(r)&&n.setAttribute(r,t[r]);return n}var n=this._htOption,r=this._el,i=e.getModuleCount();Math.floor(n.width/i),Math.floor(n.height/i);this.clear();var o=t("svg",{viewBox:"0 0 "+String(i)+" "+String(i),width:"100%",height:"100%",fill:n.colorLight});o.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),r.appendChild(o),o.appendChild(t("rect",{fill:n.colorLight,width:"100%",height:"100%"})),o.appendChild(t("rect",{fill:n.colorDark,width:"1",height:"1",id:"template"}));for(var a=0;a<i;a++)for(var s=0;s<i;s++)if(e.isDark(a,s)){var l=t("use",{x:String(s),y:String(a)});l.setAttributeNS("http://www.w3.org/1999/xlink","href","#template"),o.appendChild(l)}},e.prototype.clear=function(){for(;this._el.hasChildNodes();)this._el.removeChild(this._el.lastChild)},e}(),y="svg"===document.documentElement.tagName.toLowerCase(),x=y?m:a()?function(){function e(){this._elImage.src=this._elCanvas.toDataURL("image/png"),this._elImage.style.display="block",this._elCanvas.style.display="none"}function t(e,t){var n=this;if(n._fFail=t,n._fSuccess=e,null===n._bSupportDataURI){var r=document.createElement("img"),i=function(){n._bSupportDataURI=!1,n._fFail&&n._fFail.call(n)},o=function(){n._bSupportDataURI=!0,n._fSuccess&&n._fSuccess.call(n)};return r.onabort=i,r.onerror=i,r.onload=o,void(r.src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==")}n._bSupportDataURI===!0&&n._fSuccess?n._fSuccess.call(n):n._bSupportDataURI===!1&&n._fFail&&n._fFail.call(n)}if(this._android&&this._android<=2.1){var n=1/window.devicePixelRatio,r=CanvasRenderingContext2D.prototype.drawImage;CanvasRenderingContext2D.prototype.drawImage=function(e,t,i,o,a,s,l,u,c){if("nodeName"in e&&/img/i.test(e.nodeName))for(var p=arguments.length-1;p>=1;p--)arguments[p]=arguments[p]*n;else"undefined"==typeof u&&(arguments[1]*=n,arguments[2]*=n,arguments[3]*=n,arguments[4]*=n);r.apply(this,arguments)}}var i=function(e,t){this._bIsPainted=!1,this._android=s(),this._htOption=t,this._elCanvas=document.createElement("canvas"),this._elCanvas.width=t.width,this._elCanvas.height=t.height,e.appendChild(this._elCanvas),this._el=e,this._oContext=this._elCanvas.getContext("2d"),this._bIsPainted=!1,this._elImage=document.createElement("img"),this._elImage.alt="Scan me!",this._elImage.style.display="none",this._el.appendChild(this._elImage),this._bSupportDataURI=null};return i.prototype.draw=function(e){var t=this._elImage,n=this._oContext,r=this._htOption,i=e.getModuleCount(),o=r.width/i,a=r.height/i,s=Math.round(o),l=Math.round(a);t.style.display="none",this.clear();for(var u=0;u<i;u++)for(var c=0;c<i;c++){var p=e.isDark(u,c),d=c*o,f=u*a;n.strokeStyle=p?r.colorDark:r.colorLight,n.lineWidth=1,n.fillStyle=p?r.colorDark:r.colorLight,n.fillRect(d,f,o,a),n.strokeRect(Math.floor(d)+.5,Math.floor(f)+.5,s,l),n.strokeRect(Math.ceil(d)-.5,Math.ceil(f)-.5,s,l)}this._bIsPainted=!0},i.prototype.makeImage=function(){this._bIsPainted&&t.call(this,e)},i.prototype.isPainted=function(){return this._bIsPainted},i.prototype.clear=function(){this._oContext.clearRect(0,0,this._elCanvas.width,this._elCanvas.height),this._bIsPainted=!1},i.prototype.round=function(e){return e?Math.floor(1e3*e)/1e3:e},i}():function(){var e=function(e,t){this._el=e,this._htOption=t};return e.prototype.draw=function(e){for(var t=this._htOption,n=this._el,r=e.getModuleCount(),i=Math.floor(t.width/r),o=Math.floor(t.height/r),a=['<table style="border:0;border-collapse:collapse;">'],s=0;s<r;s++){a.push("<tr>");for(var l=0;l<r;l++)a.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:'+i+"px;height:"+o+"px;background-color:"+(e.isDark(s,l)?t.colorDark:t.colorLight)+';"></td>');a.push("</tr>")}a.push("</table>"),n.innerHTML=a.join("");var u=n.childNodes[0],c=(t.width-u.offsetWidth)/2,p=(t.height-u.offsetHeight)/2;c>0&&p>0&&(u.style.margin=p+"px "+c+"px")},e.prototype.clear=function(){this._el.innerHTML=""},e}();return e=function(e,t){if(this._htOption={width:256,height:256,typeNumber:4,colorDark:"#000000",colorLight:"#ffffff",correctLevel:p.H},"string"==typeof t&&(t={text:t}),t)for(var n in t)this._htOption[n]=t[n];"string"==typeof e&&(e=document.getElementById(e)),this._htOption.useSVG&&(x=m),this._android=s(),this._el=e,this._oQRCode=null,this._oDrawing=new x(this._el,this._htOption),this._htOption.text&&this.makeCode(this._htOption.text)},e.prototype.makeCode=function(e){this._oQRCode=new n(l(e,this._htOption.correctLevel),this._htOption.correctLevel),this._oQRCode.addData(e),this._oQRCode.make(),this._el.title=e,this._oDrawing.draw(this._oQRCode),this.makeImage()},e.prototype.makeImage=function(){"function"==typeof this._oDrawing.makeImage&&(!this._android||this._android>=3)&&this._oDrawing.makeImage()},e.prototype.clear=function(){this._oDrawing.clear()},e.CorrectLevel=p,e}();var n=e;!function(){function e(){i.logger&&i.logger.msg.apply(i.logger,arguments).level("warn").log()}function r(){i.logger&&i.logger.msg.apply(i.logger,arguments).level("error").log()}var i=null,o=null,a="",s={0:["\u70b9\u51fb\u56fe","Click Map"],1:["\u89e6\u8fbe\u7387\u56fe","Scroll Map"],2:["\u6e32\u67d3\u65b9\u5f0f\u4e00","Plan 1"],3:["\u6e32\u67d3\u65b9\u5f0f\u4e8c","Plan 2"],4:['<div style="z-index:99999;border-bottom: 1px solid #272727;height:1px;width:100%;position: absolute;top:{{top}}px;text-align:center;"><span style="font-size:12px;height:26px;line-height: 26px;background:#000;color:#eee;border-radius: 2px;left:50%;margin-left:-65px;position: absolute;top:-13px;padding: 0 5px;">{{percent}}\u7684\u7528\u6237\u6d4f\u89c8\u5230\u8fd9\u91cc</span></div>','<div style="z-index:99999;border-bottom: 1px solid #272727;height:1px;width:100%;position: absolute;top:{{top}}px;text-align:center;"><span style="font-size:12px;height:26px;line-height: 26px;background:#000;color:#eee;border-radius: 2px;left:50%;margin-left:-65px;position: absolute;top:-13px;padding: 0 5px;">{{percent}} users scrolled to this line</span></div>'],5:['<div style="height:39px;line-height:39px;padding:3px 15px 9px"><div class="sa-sdk-heatmap-toolbar-selectmap" id="chooseType" style="position:relative;width:70px;float:left" title="\u9009\u62e9\u67e5\u770b\u7c7b\u578b"><div style="cursor:pointer"><span>\u70b9\u51fb\u56fe</span> <svg style="position:absolute;top:9px" width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="icon" transform="translate(-199.000000, -18.000000)" fill="#99A9BF"><polygon id="Triangle-1-Copy-29" transform="translate(209.000000, 28.000000) scale(1, -1) translate(-209.000000, -28.000000) " points="209 26 213 30 205 30"></polygon></g></g></svg></div><ul style="display:none;list-style:none;margin:0;padding:0;width:100px"><li data-state="1">\u70b9\u51fb\u56fe</li><li data-state="2">\u89e6\u8fbe\u7387\u56fe</li></ul></div><div class="sa-sdk-heatmap-toolbar-selectmap" id="chooseVersion" style="display:none;position:relative;width:70px;float:left" title="\u6309\u94ae\u6570\u636e\u6e32\u67d3\u5f02\u5e38\u7684\u65f6\u5019\uff0c\u53ef\u4ee5\u5207\u6362\u70b9\u51fb\u56fe\u6e32\u67d3\u65b9\u5f0f\u5c1d\u8bd5"><div style="cursor:pointer"><span>\u6e32\u67d3\u65b9\u5f0f\u4e00</span> <svg style="position:absolute;top:9px" width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="icon" transform="translate(-199.000000, -18.000000)" fill="#99A9BF"><polygon id="Triangle-1-Copy-29" transform="translate(209.000000, 28.000000) scale(1, -1) translate(-209.000000, -28.000000) " points="209 26 213 30 205 30"></polygon></g></g></svg></div><ul style="display:none;list-style:none;margin:0;padding:0;width:100px"><li data-state="1">\u6e32\u67d3\u65b9\u5f0f\u4e00</li><li data-state="2">\u6e32\u67d3\u65b9\u5f0f\u4e8c</li></ul></div><div id="sa_sdk_heatmap_toolbar_close" style="float:right;position:relative;width:30px;height:100%;cursor:pointer" title="\u6536\u8d77\u6253\u5f00"><svg style="position:absolute;top:9px;right:0" width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-129.000000, -260.000000)" fill-rule="nonzero" fill="#99A9BF"><polygon points="132.110192 274.35347 130.5 272.842901 138.860144 265 147.23 272.842902 145.619784 274.35347 138.864999 268.016603"></polygon></g></g></svg></div><div style="float:right;padding:0 10px;width:1px;color:#99A9BF">|</div><div id="sa_sdk_heatmap_toolbar_refresh" style="float:right;position:relative;cursor:pointer;width:30px;height:100%" title="\u5237\u65b0\u6570\u636e"><svg style="position:absolute;top:9px;left:5px" width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g><g><path d="M18.1201298,5.45190941 L15.7071603,6.65839414 C14.3331082,3.91029003 11.3336531,2.11731966 7.94879319,2.56975143 C4.59744671,3.02218321 1.91636953,5.78704405 1.54772141,9.13839053 C1.04501944,13.6627083 4.58068998,17.5 9.00446733,17.5 C12.1882465,17.5 14.8693237,15.5227056 15.9585113,12.7243313 L14.098514,12.1043322 L14.0817572,12.1043322 C13.1098668,14.433518 10.5796002,15.9416239 7.7979826,15.3551383 C5.73690451,14.9194632 4.06123127,13.24379 3.62555623,11.1659552 C2.88826001,7.61352789 5.56933719,4.48001893 9.00446733,4.48001893 C11.1660858,4.48001893 13.0093264,5.72001713 13.9141899,7.52974422 L11.4006801,8.80325589 C11.3336531,8.83676935 11.3336531,8.95406648 11.4174368,8.97082321 L16.4612132,10.6297397 C16.5114834,10.6464964 16.5617536,10.612983 16.5785104,10.5627128 L18.2374269,5.51893634 C18.2876971,5.48542287 18.2039134,5.41839594 18.1201298,5.45190941 L18.1201298,5.45190941 Z" fill="#99A9BF"></path><rect x="0" y="0" width="20" height="20"></rect></g></g></g></svg></div><div style="float:right;padding:0 10px;width:1px;color:#99A9BF">|</div><div id="sa_sdk_heatmap_toolbar_share" style="float:right;position:relative;width:30px;height:100%;cursor:pointer" title="\u6253\u5f00\u5206\u4eab"><svg style="position:absolute;top:11px; left: 5px;" width="14px" height="15px" viewBox="0 0 14 15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-42.000000, -62.000000)"><g transform="translate(39.000000, 60.000000)"><rect x="0" y="0" width="20" height="20"></rect><path d="M12.9177778,12.725 L7.76833333,9.72777778 C7.80444444,9.56166667 7.83333333,9.39555556 7.83333333,9.22222222 C7.83333333,9.04888889 7.80444444,8.88277778 7.76833333,8.71666667 L12.86,5.74833333 C13.25,6.10944444 13.7627778,6.33333333 14.3333333,6.33333333 C15.5322222,6.33333333 16.5,5.36555556 16.5,4.16666667 C16.5,2.96777778 15.5322222,2 14.3333333,2 C13.1344444,2 12.1666667,2.96777778 12.1666667,4.16666667 C12.1666667,4.34 12.1955556,4.50611111 12.2316667,4.67222222 L7.14,7.64055556 C6.75,7.27944444 6.23722222,7.05555556 5.66666667,7.05555556 C4.46777778,7.05555556 3.5,8.02333333 3.5,9.22222222 C3.5,10.4211111 4.46777778,11.3888889 5.66666667,11.3888889 C6.23722222,11.3888889 6.75,11.165 7.14,10.8038889 L12.2822222,13.8083333 C12.2461111,13.96 12.2244444,14.1188889 12.2244444,14.2777778 C12.2244444,15.4405556 13.1705556,16.3866667 14.3333333,16.3866667 C15.4961111,16.3866667 16.4422222,15.4405556 16.4422222,14.2777778 C16.4422222,13.115 15.4961111,12.1688889 14.3333333,12.1688889 C13.7844444,12.1688889 13.2933333,12.3855556 12.9177778,12.725 Z" id="Shape" fill="#99A9BF"></path></g></g></g></svg></div><div style="float:right;padding:0 10px;width:1px;color:#99A9BF">|</div><div id="sa_sdk_heatmap_toolbar_filter" style="float:right;position:relative;cursor:pointer;width:30px;height:100%;" title="\u7b5b\u9009"><svg style="position: absolute; top: 11px; left: 5px;" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="17px" height="15px" viewBox="0 0 17 15" version="1.1"><g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="\u64cd\u4f5c\u680f" transform="translate(-1068.000000, -341.000000)" fill="#99A9BF" fill-rule="nonzero"><g id="screen" transform="translate(1068.000000, 341.000000)"><polygon id="\u8def\u5f84" points="9.13824444 13.2863778 9.13824444 6.65411111 12.5159778 2.08801111 4.52081111 2.08801111 7.8378 6.56684444 7.8378 12.6447111 6.23534444 11.8541778 6.23534444 7.20851111 0.8 0.4 16.2 0.4 10.7646556 7.2299 10.7646556 14.0888889 9.13824444 13.2863778"/></g></g></g></svg></div></div>','<div style="height:39px;line-height:39px;padding:3px 15px 9px"><div class="sa-sdk-heatmap-toolbar-selectmap" id="chooseType" style="position:relative;width:80px;float:left" title="SelectViewMode"><div style="cursor:pointer"><span>Click Map</span> <svg style="position:absolute;top:9px" width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="icon" transform="translate(-199.000000, -18.000000)" fill="#99A9BF"><polygon id="Triangle-1-Copy-29" transform="translate(209.000000, 28.000000) scale(1, -1) translate(-209.000000, -28.000000) " points="209 26 213 30 205 30"></polygon></g></g></svg></div><ul style="display:none;list-style:none;margin:0;padding:0;width:100px"><li data-state="1">Click Map</li><li data-state="2">Scroll Map</li></ul></div><div class="sa-sdk-heatmap-toolbar-selectmap" id="chooseVersion" style="display:none;position:relative;width:70px;float:left" title="Toggle Click Map Display Mode"><div style="cursor:pointer"><span>Plan 1</span> <svg style="position:absolute;top:9px" width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="icon" transform="translate(-199.000000, -18.000000)" fill="#99A9BF"><polygon id="Triangle-1-Copy-29" transform="translate(209.000000, 28.000000) scale(1, -1) translate(-209.000000, -28.000000) " points="209 26 213 30 205 30"></polygon></g></g></svg></div><ul style="display:none;list-style:none;margin:0;padding:0;width:100px"><li data-state="1">Plan 1</li><li data-state="2">Plan 2</li></ul></div><div id="sa_sdk_heatmap_toolbar_close" style="float:right;position:relative;width:30px;height:100%;cursor:pointer" title="Close Tab"><svg style="position:absolute;top:9px;right:0" width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-129.000000, -260.000000)" fill-rule="nonzero" fill="#99A9BF"><polygon points="132.110192 274.35347 130.5 272.842901 138.860144 265 147.23 272.842902 145.619784 274.35347 138.864999 268.016603"></polygon></g></g></svg></div><div style="float:right;padding:0 10px;width:1px;color:#99A9BF">|</div><div id="sa_sdk_heatmap_toolbar_refresh" style="float:right;position:relative;cursor:pointer;width:30px;height:100%" title="\u5237\u65b0\u6570\u636e"><svg style="position:absolute;top:9px;left:5px" width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g><g><path d="M18.1201298,5.45190941 L15.7071603,6.65839414 C14.3331082,3.91029003 11.3336531,2.11731966 7.94879319,2.56975143 C4.59744671,3.02218321 1.91636953,5.78704405 1.54772141,9.13839053 C1.04501944,13.6627083 4.58068998,17.5 9.00446733,17.5 C12.1882465,17.5 14.8693237,15.5227056 15.9585113,12.7243313 L14.098514,12.1043322 L14.0817572,12.1043322 C13.1098668,14.433518 10.5796002,15.9416239 7.7979826,15.3551383 C5.73690451,14.9194632 4.06123127,13.24379 3.62555623,11.1659552 C2.88826001,7.61352789 5.56933719,4.48001893 9.00446733,4.48001893 C11.1660858,4.48001893 13.0093264,5.72001713 13.9141899,7.52974422 L11.4006801,8.80325589 C11.3336531,8.83676935 11.3336531,8.95406648 11.4174368,8.97082321 L16.4612132,10.6297397 C16.5114834,10.6464964 16.5617536,10.612983 16.5785104,10.5627128 L18.2374269,5.51893634 C18.2876971,5.48542287 18.2039134,5.41839594 18.1201298,5.45190941 L18.1201298,5.45190941 Z" fill="#99A9BF"></path><rect x="0" y="0" width="20" height="20"></rect></g></g></g></svg></div><div style="float:right;padding:0 10px;width:1px;color:#99A9BF">|</div><div id="sa_sdk_heatmap_toolbar_share" style="float:right;position:relative;width:30px;height:100%;cursor:pointer" title="share"><svg style="position:absolute;top:11px; left: 5px;" width="14px" height="15px" viewBox="0 0 14 15" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-42.000000, -62.000000)"><g transform="translate(39.000000, 60.000000)"><rect x="0" y="0" width="20" height="20"></rect><path d="M12.9177778,12.725 L7.76833333,9.72777778 C7.80444444,9.56166667 7.83333333,9.39555556 7.83333333,9.22222222 C7.83333333,9.04888889 7.80444444,8.88277778 7.76833333,8.71666667 L12.86,5.74833333 C13.25,6.10944444 13.7627778,6.33333333 14.3333333,6.33333333 C15.5322222,6.33333333 16.5,5.36555556 16.5,4.16666667 C16.5,2.96777778 15.5322222,2 14.3333333,2 C13.1344444,2 12.1666667,2.96777778 12.1666667,4.16666667 C12.1666667,4.34 12.1955556,4.50611111 12.2316667,4.67222222 L7.14,7.64055556 C6.75,7.27944444 6.23722222,7.05555556 5.66666667,7.05555556 C4.46777778,7.05555556 3.5,8.02333333 3.5,9.22222222 C3.5,10.4211111 4.46777778,11.3888889 5.66666667,11.3888889 C6.23722222,11.3888889 6.75,11.165 7.14,10.8038889 L12.2822222,13.8083333 C12.2461111,13.96 12.2244444,14.1188889 12.2244444,14.2777778 C12.2244444,15.4405556 13.1705556,16.3866667 14.3333333,16.3866667 C15.4961111,16.3866667 16.4422222,15.4405556 16.4422222,14.2777778 C16.4422222,13.115 15.4961111,12.1688889 14.3333333,12.1688889 C13.7844444,12.1688889 13.2933333,12.3855556 12.9177778,12.725 Z" id="Shape" fill="#99A9BF"></path></g></g></g></svg></div><div style="float:right;padding:0 10px;width:1px;color:#99A9BF">|</div><div id="sa_sdk_heatmap_toolbar_filter" style="float:right;position:relative;cursor:pointer;width:30px;height:100%;" title="\u7b5b\u9009"><svg style="position: absolute; top: 11px; left: 5px;" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="17px" height="15px" viewBox="0 0 17 15" version="1.1"><g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="\u64cd\u4f5c\u680f" transform="translate(-1068.000000, -341.000000)" fill="#99A9BF" fill-rule="nonzero"><g id="screen" transform="translate(1068.000000, 341.000000)"><polygon id="\u8def\u5f84" points="9.13824444 13.2863778 9.13824444 6.65411111 12.5159778 2.08801111 4.52081111 2.08801111 7.8378 6.56684444 7.8378 12.6447111 6.23534444 11.8541778 6.23534444 7.20851111 0.8 0.4 16.2 0.4 10.7646556 7.2299 10.7646556 14.0888889 9.13824444 13.2863778"/></g></g></g></svg></div></div>'],
6:['<div style="z-index:999999;width:260px;height:260px;position:fixed;right:2px;top:55px;background:#FFF;box-shadow:0 2px 9px 3px rgba(168,173,178,.39);border-radius:3px;"><div style="height:44px;line-height:44px;border-bottom:1px solid #E9F0F7;text-align:center;color:#475669;font-size:14px;position:relative;">\u5206\u4eab\u94fe\u63a5<span style="position:absolute;top:4px;color:#99A9BF;cursor:pointer;right:4px"><svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g><g transform="translate(-1.000000, -1.000000)"><polygon fill="#99A9BF" transform="translate(11.106602, 11.106602) rotate(-45.000000) translate(-11.106602, -11.106602) " points="12.3566017 12.3566017 12.3566017 18.6066017 9.85660172 18.6066017 9.85660172 12.3566017 3.60660172 12.3566017 3.60660172 9.85660172 9.85660172 9.85660172 9.85660172 3.60660172 12.3566017 3.60660172 12.3566017 9.85660172 18.6066017 9.85660172 18.6066017 12.3566017"></polygon><rect x="1" y="1" width="20" height="20"></rect></g></g></g></svg></span></div><div style="width:128px;height:128px;margin-left:66px;margin-top:16px"></div><div style="margin:20px"><input style="font-size:14px;outline:none;color:#475669;width:92%;border:1px solid #D3DCE6;border-radius:3px;height:32px;line-height:32px;padding:0 10px;" type="text" value=""></div></div>','<div style="z-index:999999;width:260px;height:260px;position:fixed;right:2px;top:55px;background:#FFF;box-shadow:0 2px 9px 3px rgba(168,173,178,.39);border-radius:3px;"><div style="height:44px;line-height:44px;border-bottom:1px solid #E9F0F7;text-align:center;color:#475669;font-size:14px;position:relative;">Share Link<span style="position:absolute;top:4px;color:#99A9BF;cursor:pointer;right:4px"><svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g><g transform="translate(-1.000000, -1.000000)"><polygon fill="#99A9BF" transform="translate(11.106602, 11.106602) rotate(-45.000000) translate(-11.106602, -11.106602) " points="12.3566017 12.3566017 12.3566017 18.6066017 9.85660172 18.6066017 9.85660172 12.3566017 3.60660172 12.3566017 3.60660172 9.85660172 9.85660172 9.85660172 9.85660172 3.60660172 12.3566017 3.60660172 12.3566017 9.85660172 18.6066017 9.85660172 18.6066017 12.3566017"></polygon><rect x="1" y="1" width="20" height="20"></rect></g></g></g></svg></span></div><div style="width:128px;height:128px;margin-left:66px;margin-top:16px"></div><div style="margin:20px"><input style="font-size:14px;outline:none;color:#475669;width:92%;border:1px solid #D3DCE6;border-radius:3px;height:32px;line-height:32px;padding:0 10px;" type="text" value=""></div></div>'],7:["\u7b5b\u9009\u5c55\u793a\u5143\u7d20","filter element"],8:['<p style="margin: 0; line-height: 78px; padding-left: 20px; font-size:14px; font-family:PingFangSC-Regular,PingFang SC; font-weight:400; color:rgba(71,86,105,1);">\u70b9\u51fb\u6570 <select name="filter_type"><option value="gt" selected>></option><option value="lt"><</option><option value="between">\u5728\u533a\u95f4</option></select><input type="text" name="filterValue"><span class="filter_between_span" style="display:none;"><input type="text" name="filterValueStart" style="margin-right: 5px;">\u81f3<input type="text" name="filterValueEnd" style="margin-left: 5px;"></span> \u7684\u5143\u7d20</p>','<p style="margin: 0; line-height: 78px; padding-left: 20px; font-size:14px; font-family:PingFangSC-Regular,PingFang SC; font-weight:400; color:rgba(71,86,105,1);">Click Count <select name="filter_type"><option value="gt" selected>></option><option value="lt"><</option><option value="between">Between</option></select><input type="text" name="filterValue"><span class="filter_between_span" style="display:none;"><input type="text" name="filterValueStart" style="margin-right: 5px;">to<input type="text" name="filterValueEnd" style="margin-left: 5px;"></span></p>'],9:['<div class="sa-sdk-heatmap-filterflyout-submitbtn" style="display: inline-block; float: right; width:56px; height:28px; background:rgba(4,203,148,1); border-radius:3px; font-size:13px; font-family:PingFangSC-Medium,PingFang SC; font-weight:500; color:rgba(255,255,255,1); text-align: center; line-height: 28px; cursor: pointer;">\u786e\u5b9a</div><a class="sa-sdk-heatmap-filterflyout-cancelbtn" href="#" style="float: right; display: inline-block; line-height: 28px; margin-right: 6px; font-size:13px; font-family:PingFangSC-Regular,PingFang SC; font-weight:400; color:rgba(71,86,105,1); text-decoration: none;">\u53d6\u6d88</a>','<div class="sa-sdk-heatmap-filterflyout-submitbtn" style="display: inline-block; float: right; width:56px; height:28px; background:rgba(4,203,148,1); border-radius:3px; font-size:13px; font-family:PingFangSC-Medium,PingFang SC; font-weight:500; color:rgba(255,255,255,1); text-align: center; line-height: 28px; cursor: pointer;">Confirm</div><a class="sa-sdk-heatmap-filterflyout-cancelbtn" href="#" style="float: right; display: inline-block; line-height: 28px; margin-right: 6px; font-size:13px; font-family:PingFangSC-Regular,PingFang SC; font-weight:400; color:rgba(71,86,105,1); text-decoration: none;">Cancel</a>'],10:["\u5f53\u524d\u9875\u9762\u5728\u6240\u9009\u65f6\u95f4\u6bb5\u5185\u6682\u65f6\u6ca1\u6709\u70b9\u51fb\u6570\u636e","no data"],11:["\u8bf7\u6c42\u6570\u636e\u5f02\u5e38","request data fail"],12:["\u5237\u65b0\u6570\u636e\u6210\u529f","update data success"],13:["\u7f3a\u5c11 web_url","web_url error"],14:["\u5143\u7d20\u7c7b\u540d\u9519\u8bef\uff01","selector class error\uff01"],15:["\u70b9\u51fb\u7387\u8ba1\u7b97\u5931\u8d25\uff0c\u6ca1\u6709\u5f00\u542fautoTrack!","SDK need enable autoTrack!"],16:["\u70b9\u51fb\u6b21\u6570 ","Click Count "],17:["\r\n\u70b9\u51fb\u6982\u7387 ","\r\n CTR "],18:["\r\n\u70b9\u51fb\u5360\u6bd4 ","\r\n Click Percent "],19:["\r\n\u5386\u53f2\u6570\u636e ","\r\n History Data "],20:['<div style="padding: 8px;"><div style="color: #CACACA">\u5f53\u524d\u5185\u5bb9\uff1a</div><div style="white-space:nowrap;overflow:hidden;text-overflow:ellipsis;">{{data_current_content}}</div></div><div style="background: #444; height:1px;"></div><div style="padding: 8px;"><table style="width:100%;color:#fff;font-size:13px;background:#333;border:1px solid #333;"><tr><td>\u70b9\u51fb\u6b21\u6570: </td><td style="text-align:right;">{{value_fix}}\u6b21</td></tr><tr><td style="cursor:pointer;" title="\u70b9\u51fb\u6b21\u6570/\u5f53\u524d\u9875\u9762\u7684\u6d4f\u89c8\u6b21\u6570"><span style="float:left;">\u70b9\u51fb\u7387</span><span style="float:left;margin-left:3px;padding:1px;"><svg width="12px" height="12px" viewBox="0 0 12 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-1803.000000, -158.000000)" fill="#979797"><g transform="translate(1737.000000, 84.000000)"><path d="M71,74 C68.24,74 66,76.24 66,79 C66,81.76 68.24,84 71,84 C73.76,84 76,81.76 76,79 C76,76.24 73.76,74 71,74 L71,74 Z M71.5,82.5 L70.5,82.5 L70.5,81.5 L71.5,81.5 L71.5,82.5 L71.5,82.5 Z M72.535,78.625 L72.085,79.085 C71.725,79.45 71.5,79.75 71.5,80.5 L70.5,80.5 L70.5,80.25 C70.5,79.7 70.725,79.2 71.085,78.835 L71.705,78.205 C71.89,78.025 72,77.775 72,77.5 C72,76.95 71.55,76.5 71,76.5 C70.45,76.5 70,76.95 70,77.5 L69,77.5 C69,76.395 69.895,75.5 71,75.5 C72.105,75.5 73,76.395 73,77.5 C73,77.94 72.82,78.34 72.535,78.625 L72.535,78.625 Z" id="prompt"></path></g></g></g></svg></span></td><td style="text-align:right;">{{data_click_percent}}</td></tr><tr><td style="cursor:pointer;" title="\u70b9\u51fb\u6b21\u6570/\u5f53\u524d\u9875\u9762\u7684\u70b9\u51fb\u603b\u6b21\u6570"><span style="float:left;">\u70b9\u51fb\u5360\u6bd4</span> <span style="padding:1px;float:left;margin-left:3px;"><svg width="12px" height="12px" viewBox="0 0 12 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-1803.000000, -158.000000)" fill="#979797"><g transform="translate(1737.000000, 84.000000)"><path d="M71,74 C68.24,74 66,76.24 66,79 C66,81.76 68.24,84 71,84 C73.76,84 76,81.76 76,79 C76,76.24 73.76,74 71,74 L71,74 Z M71.5,82.5 L70.5,82.5 L70.5,81.5 L71.5,81.5 L71.5,82.5 L71.5,82.5 Z M72.535,78.625 L72.085,79.085 C71.725,79.45 71.5,79.75 71.5,80.5 L70.5,80.5 L70.5,80.25 C70.5,79.7 70.725,79.2 71.085,78.835 L71.705,78.205 C71.89,78.025 72,77.775 72,77.5 C72,76.95 71.55,76.5 71,76.5 C70.45,76.5 70,76.95 70,77.5 L69,77.5 C69,76.395 69.895,75.5 71,75.5 C72.105,75.5 73,76.395 73,77.5 C73,77.94 72.82,78.34 72.535,78.625 L72.535,78.625 Z" id="prompt"></path></g></g></g></svg></span></td><td style="text-align:right;">{{data_page_percent}}</td></tr></table></div><div style="background: #444; height:1px;"></div><div style="padding: 8px;"><div style="color: #CACACA;">\u5386\u53f2\u5185\u5bb9\uff1a</div><div style="white-space:nowrap;overflow:hidden;text-overflow:ellipsis;">{{data_top_value}}</div></div><div style="background: #444; height:1px;"></div><div style="padding: 6px 8px;"><a style="color:#2a90e2;text-decoration: none;" href="{{data_user_link}}" target="_blank">\u67e5\u770b\u7528\u6237\u5217\u8868</a ></div>','<div style="padding: 8px;"><div style="color: #CACACA"> Content\uff1a </div><div style="white-space:nowrap;overflow:hidden;text-overflow:ellipsis;">{{data_current_content}}</div></div><div style="background: #444; height:1px;"></div><div style="padding: 8px;"><table style="width:100%;color:#fff;font-size:13px;background:#333;border:1px solid #333;"><tr><td>Click Count: </td><td style="text-align:right;">{{value_fix}}</td></tr><tr><td style="cursor:pointer;" title="Click Count/Page View"><span style="float:left;">CTR</span><span style="float:left;margin-left:3px;padding:1px;"><svg width="12px" height="12px" viewBox="0 0 12 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-1803.000000, -158.000000)" fill="#979797"><g transform="translate(1737.000000, 84.000000)"><path d="M71,74 C68.24,74 66,76.24 66,79 C66,81.76 68.24,84 71,84 C73.76,84 76,81.76 76,79 C76,76.24 73.76,74 71,74 L71,74 Z M71.5,82.5 L70.5,82.5 L70.5,81.5 L71.5,81.5 L71.5,82.5 L71.5,82.5 Z M72.535,78.625 L72.085,79.085 C71.725,79.45 71.5,79.75 71.5,80.5 L70.5,80.5 L70.5,80.25 C70.5,79.7 70.725,79.2 71.085,78.835 L71.705,78.205 C71.89,78.025 72,77.775 72,77.5 C72,76.95 71.55,76.5 71,76.5 C70.45,76.5 70,76.95 70,77.5 L69,77.5 C69,76.395 69.895,75.5 71,75.5 C72.105,75.5 73,76.395 73,77.5 C73,77.94 72.82,78.34 72.535,78.625 L72.535,78.625 Z" id="prompt"></path></g></g></g></svg></span></td><td style="text-align:right;">{{data_click_percent}}</td></tr><tr><td style="cursor:pointer;" title="Click Count/Current Page Click Total"><span style="float:left;">Click Percent</span> <span style="padding:1px;float:left;margin-left:3px;"><svg width="12px" height="12px" viewBox="0 0 12 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-1803.000000, -158.000000)" fill="#979797"><g transform="translate(1737.000000, 84.000000)"><path d="M71,74 C68.24,74 66,76.24 66,79 C66,81.76 68.24,84 71,84 C73.76,84 76,81.76 76,79 C76,76.24 73.76,74 71,74 L71,74 Z M71.5,82.5 L70.5,82.5 L70.5,81.5 L71.5,81.5 L71.5,82.5 L71.5,82.5 Z M72.535,78.625 L72.085,79.085 C71.725,79.45 71.5,79.75 71.5,80.5 L70.5,80.5 L70.5,80.25 C70.5,79.7 70.725,79.2 71.085,78.835 L71.705,78.205 C71.89,78.025 72,77.775 72,77.5 C72,76.95 71.55,76.5 71,76.5 C70.45,76.5 70,76.95 70,77.5 L69,77.5 C69,76.395 69.895,75.5 71,75.5 C72.105,75.5 73,76.395 73,77.5 C73,77.94 72.82,78.34 72.535,78.625 L72.535,78.625 Z" id="prompt"></path></g></g></g></svg></span></td><td style="text-align:right;">{{data_page_percent}}</td></tr></table></div><div style="background: #444; height:1px;"></div><div style="padding: 8px;"><div style="color: #CACACA;">History Content\uff1a</div><div style="white-space:nowrap;overflow:hidden;text-overflow:ellipsis;">{{data_top_value}}</div></div><div style="background: #444; height:1px;"></div><div style="padding: 6px 8px;"><a style="color:#2a90e2;text-decoration: none;" href="{{data_user_link}}" target="_blank">view user list</a ></div>'],21:["AJAX \u8bf7\u6c42\u5931\u8d25\uff0c\u8bf7\u67e5\u770b\u795e\u7b56\u5206\u6790\u8de8\u57df\u8f6c\u53d1\u914d\u7f6e","AJAX Request Failed,please check crossdomain"],22:["\u7531\u4e8e\u6570\u636e\u91cf\u8f83\u5927\uff0c\u8bf7\u6c42\u8017\u65f6\u8f83\u957f\uff0c\u8bf7\u7ee7\u7eed\u7b49\u5f85","Large amount of data, please be patient"],23:["JSONP \u70b9\u51fb\u6570\u636e\u89e3\u6790\u5f02\u5e38","JSONP Parsing data error"],24:["\u89e3\u6790\u6570\u636e\u5f02\u5e38","Parsing data error"],25:["\u83b7\u53d6\u6570\u636e\u5931\u8d25","Failed to retrieve data"],26:["JSONP \u6570\u636e\u7ed3\u6784\u5f02\u5e38","JSONP Parsing data error"],27:["\u83b7\u53d6\u6570\u636e\u5f02\u5e38","Failed to retrieve data"],28:["JSONP \u8bf7\u6c42\u8d85\u65f6\uff0c\u8bf7\u5c1d\u8bd5\u5237\u65b0\u9875\u9762","JSONP Request timed out"],29:["\u8be5\u9875\u9762\u534f\u8bae\u4e3a https \uff0c\u8bf7\u4f7f\u7528 https \u7684\u795e\u7b56\u540e\u53f0\u67e5\u770b\u70ed\u529b\u56fe","Current page is https \uff0cplease use https SA"],30:['<div>\u540e\u53f0 JSONP \u5730\u5740\u4e0d\u901a\uff0c\u53ef\u80fd\u539f\u56e0\u5982\u4e0b\uff1a</div><div style="font-size:15px;margin-top:10px;text-align:left;display:inline-block"><div>1. \u68c0\u67e5\u795e\u7b56\u5206\u6790\u7248\u672c\u662f\u5426\u4f4e\u4e8e v2.2.0\uff0c\u5982\u679c\u4f4e\u4e8e\u6b64\u7248\u672c\u8bf7\u8054\u7cfb\u503c\u73ed\u540c\u5b66\u5347\u7ea7\u7248\u672c</div><div style="margin-top:5px">2. \u795e\u7b56\u5206\u6790\u540e\u53f0\u4e0d\u5141\u8bb8\u8bbf\u95ee\uff0c\u8bf7\u8d35\u53f8\u7814\u53d1\u53c2\u8003\u5f53\u524d\u9875\u9762\u7684\u63a7\u5236\u53f0\u62a5\u9519\uff0c\u53bb\u5bf9\u5e94\u7684\u540e\u53f0\u914d\u7f6e\u89e3\u51b3</div></div>',"<div>JSONP Failed</div>"],31:["\u8bf7\u66f4\u65b0\u5230\u6700\u65b0\u7248\u6d4f\u89c8\u5668,\u5efa\u8bae\u7528 chrome \u6216\u8005 firefox ","Browser version is too low , please use chrome or firefox"],32:["\u83b7\u53d6 web_url \u8d85\u65f6","Get web_url timeout"],33:["\u9009\u62e9\u5668\u9519\u8bef","Selector error"],34:["\u9519\u8bef","Error"],35:["\u6709\u6548\u7684\u89e6\u53d1\u7528\u6237\u6570\u5c11\u4e8e 2 \u4eba","The number of effective trigger users is less than 2."],36:["\u672a\u53d6\u5230\u6570\u636e","Failed to get data"],37:["\u8f93\u5165\u7684\u6570\u503c\u4e0d\u5408\u6cd5\uff0c\u8bf7\u8f93\u5165\u5927\u4e8e\u7b49\u4e8e 0 \u7684\u6574\u6570","input numbers greater than or equal to 0"],38:["\u533a\u95f4\u5de6\u4fa7\u7684\u6570\u5b57\u5927\u4e8e\u53f3\u4fa7\u7684\u6570\u5b57\uff0c\u65e0\u6cd5\u7b5b\u9009\uff0c\u8bf7\u4fee\u6539\u6570\u503c","The number on the left side of the interval is greater than the number on the right side"],39:["\u6ca1\u6709\u503c","no value"],40:["\u6ca1\u6709\u503c","no value"],41:["\u7f3a\u5c11 web_url","missing web_url"]},l=null,u=function(e){var t={"zh-ch":0,"en-us":1};if(!o.isNumber(l)){var n=o.localStorage.get("web_sdk_heatmap_language");l=o.isString(i.para.heatmap.language)&&i.para.heatmap.language in t?t[i.para.heatmap.language]:o.isString(n)?n in t?t[n]:1:0}return s[String(e)][l]},c={originalHeatData:null,ajaxHeatData:null,heatDataElement:[],heatMapList:[],heatMode:1,getCurrentUrl:function(){var e=o.urlParse(location.href),n={};return n["sa-request-url"]=sessionStorage.getItem("sensors_heatmap_url"),n["sa-request-url"]=n["sa-request-url"]?encodeURIComponent(n["sa-request-url"]):"",n["sa-request-id"]=sessionStorage.getItem("sensors_heatmap_id"),n["sa-request-type"]=sessionStorage.getItem("sensors_heatmap_type")||"1",t.each(n,function(e,t){t||delete n[e]}),e.addQueryString(n),e.getUrl()},setHeatState:function(e,t,n,r){if(r)"1"===t?this.setClickMap(e,n):"2"===t?this.setScrollMap(e,n):"3"===t&&this.setNoticeMap(e,n);else{var a=i._.urlParse(location.href);if(!e)return!1;t||(t=1);var s={"sa-request-id":e,"sa-request-type":t,"sa-request-url":sessionStorage&&sessionStorage.getItem?sessionStorage.getItem("sensors_heatmap_url")||"":""};try{var l={};o.isJSONString(window.name)?(l=JSON.parse(window.name),window.name=JSON.stringify(o.extend(l,s))):""==window.name&&(window.name=JSON.stringify(s))}catch(u){}1==this.requestType?(a.addQueryString(s),location.href=encodeURI(a.getUrl())):(sessionStorage&&sessionStorage.setItem&&sessionStorage.setItem("sensors_heatmap_type",t),location.reload())}},setDropDown:function(e,n,r){function o(){var e=null,n=!1;return t(window).on("scroll.v2",function(){n||(t("#heatMapContainer").html(""),n=!0),clearTimeout(e),e=setTimeout(function(){c.refreshHeatData(c.heatMode),n=!1},i.para.heatmap.renderRefreshTime||1e3)}),t(window).on("resize.v2",function(){n||(t("#heatMapContainer").html(""),n=!0),clearTimeout(e),e=setTimeout(function(){c.refreshHeatData(c.heatMode),n=!1},i.para.heatmap.renderRefreshTime||1e3)}),function(){t(window).off("scroll.v2"),t(window).off("resize.v2"),e&&(clearTimeout(e),e=null,n=!1)}}function a(e){function n(t,n){r=t,e.click(t,n),"type"==i?h.text(l[r]):"version"==i&&h.text(p[r])}var r=e.init(),i=e.name,a=e.id,s=t(a+">div"),f=t(a+">ul"),h=s.find("span:first");s.on("click",function(e){e.preventDefault(),e.stopPropagation(),t(a+">ul:visible").is(":visible")?f.hide():(t(".sa-sdk-heatmap-toolbar-selectmap ul").css("display","none"),f.css("display","block"),t(document).on("click.sa-jssdk-dropdown",function(){f.hide(),t(document).off("click.sa-jssdk-dropdown")}))}),f.on("click","li",function(){var e=t(this).attr("data-state");r!==e&&n(e)}),e.init&&n(r,!0),"version"===i&&t(document).on("keypress",function(e){d&&(d(),d=null),114==e.keyCode&&c.refreshHeatData(c.heatMode),122==e.keyCode&&(t("#chooseVersion").find("span:first").text(u(2)),c.refreshHeatData(1),r="1"),120==e.keyCode&&(t("#chooseVersion").find("span:first").text(u(3)),c.refreshHeatData(2),d=o(),r="2")})}n=n||"1";var s="1"===n?"1":"0",l={1:u(0),2:u(1)},p={1:u(2),2:u(3)},d=null,f=this;a({init:function(){return n},id:"#chooseType",name:"type",click:function(n,i){f.setHeatState(e,n,r,i),t("#sa_sdk_heatmap_toolbar_filter").toggle("1"==n)}}),"1"===n&&a({init:function(){return t("#chooseVersion").css("display","block"),s},name:"version",id:"#chooseVersion",click:function(e,t){t||(d&&(d(),d=null),"1"===e?c.refreshHeatData(1):"2"===e&&(c.refreshHeatData(2),d=o()))}})},setScrollMap:function(e,n){var a=this;if("string"==typeof e&&i.para.web_url){var s=new o.urlParse(i.para.web_url);s._values.Path="/api/scroll_heat_map/report/"+e;var l=new o.urlParse(i.para.web_url);l._values.Path="/api/scroll_heat_map/report/"+e,l.addQueryString({pathUrl:encodeURIComponent(n)});var c=l.getUrl(),d=new o.urlParse(i.para.web_url);d._values.Path="/api/v2/sa/scroll_heat_maps/report/jsonp/"+e;var f=new o.urlParse(i.para.web_url);f._values.Path="/api/v2/sa/scroll_heat_maps/report/jsonp/"+e,f.addQueryString({pathUrl:encodeURIComponent(n)});var h=f.getUrl(),g=function(e){function n(n){var r=parseInt((n.pageY+15)/10),i=0;i=r<=e.detail.length&&e.detail[r]?Math.floor(e.detail[r]/e.total*100*100)/100:0,c&&c.remove(),c=t(l.replace("{{top}}",n.pageY+15).replace("{{percent}}",i+"%")),t(document.body).append(c)}if("object"!=typeof e||!o.isArray(e.result)||0===e.result.length)return a.showErrorInfo(2,{error:u(36)}),!1;if(e.detail=e.result||[],!e.total||0===e.total||"number"!=typeof e.total||e.total<2)return a.showErrorInfo(2,{error:u(35)}),!1;e.origin_total=e.total,e.total=e.result[0],e.percent={};var r={setData:function(e,t,n){e=String(e),this.data[e]=this.data[e]||{},this.data[e][t]=n},data:{},getData:function(){var e={},t=[],n=null;for(var r in this.data){t=[];for(var i in this.data[r])t.push([i,this.data[r][i]]);this.data[r]=t,n=this.data[r].sort(function(e,t){return Math.abs(e[0]-Number(r))-Math.abs(t[0]-Number(r))})[0],e[n[0]]=n[1]}return e}};o.each(e.result,function(t,n){t/e.total==1?e.percent[100]=10*(n+1):t/e.total>.7&&t/e.total<.8?r.setData(75,parseInt(t/e.total*100),10*(n+1)):t/e.total>.45&&t/e.total<.55?r.setData(50,parseInt(t/e.total*100),10*(n+1)):t/e.total>.2&&t/e.total<.3&&r.setData(25,parseInt(t/e.total*100),10*(n+1))}),o.extend(e.percent,r.getData());var i='<div style="border-bottom: 1px dashed #4C4C4D;height:1px;width:100%;position: absolute;top:{{top}}px;"><span style="font-size:12px;position:absolute;padding:0 12px;top:-24px;height:26px;line-height: 26px;left:0;background:#000;color:#eee;border-radius: 2px;">{{percent}}</span></div>';for(var s in e.percent)t(document.body).append(t(i.replace("{{top}}",e.percent[s]-2).replace("{{percent}}",s+"%")));var l=u(4),c=null;t(document).on("mousemove",o.throttle(n,150))},v=function(e){o.isObject(e)&&e.error?a.showErrorInfo(2,{error:e.error}):a.showErrorInfo(2,{error:"server error"}),sessionStorage.removeItem("sensors_heatmap_id")};n?this.requestType=3:this.requestType=1,p.getServerData.start({url:{ajax:3===this.requestType?c:s.getUrl(),jsonp:3===this.requestType?h:d.getUrl()},success:g,error:v})}else r(u(41))},setNoticeMap:function(){},setContainer:function(e){if(!e)return!1;if(e.classList.add("saContainer"),e&&e.children)for(var t=e.children,n=0;n<t.length;n++)this.setContainer(t[n])},setToolbar:function(e,r,i){function o(e,n,r){for(var i=function(t){var i=Number(n),o=Number(r);return"gt"===e?t>i:"lt"===e?t<i:t>Math.min(i,o)&&t<Math.max(i,o)},o=t.extend(!0,{},s.processOriginalHeatData2()),l=o.rows,u=[],c=0,p=l.length;c<p;c++)i(l[c].values[0][0])&&u.push(l[c]);o.rows=u,s.ajaxHeatData=o,a()}function a(){var e=""+c.heatMode;"1"===e?c.refreshHeatData(1):"2"===e&&c.refreshHeatData(2)}var s=this,l=document.createElement("div");l.setAttribute("style","height:50px !important;z-index:9999999;background:#272727;width:100%;position:fixed;top:0;left:0; font-size:14px;color:#EFF2F7;margin:0;clear: both;"),l.innerHTML=u(5),document.body.appendChild(l),this.setContainer(l),this.setDropDown(e,r,i);var p=t('<div id="sa_sdk_heatmap_toolbar_corner" style="cursor:pointer;display:none;position: fixed;z-index:999999;top:0;right:10px;padding:3px 8px 0;background:#000;"></div>');p.html('<svg width="20px" height="20px" viewBox="0 0 20 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-360.000000, -119.000000)" fill-rule="nonzero" fill="#C0CCDA"><polygon transform="translate(370.365000, 129.117652) scale(1, -1) translate(-370.365000, -129.117652) " points="364.4177 133.235303 363 131.905316 370.360724 125 377.73 131.905317 376.312279 133.235302 370.364999 127.655981"></polygon></g></g></svg>'),t(document.body).append(p),this.setContainer(p[0]),t(l).on("click","#sa_sdk_heatmap_toolbar_refresh",function(){"1"===r||null===r?(s.refreshHeatData(c.heatMode),s.showErrorInfo(5)):location.reload()});var d=this.getCurrentUrl(),f=function(){var e=t(u(6));t(document.body).append(e);var r=e.find("div:eq(1)")[0];return e.find("input").val(d),e.find("span").on("click",function(){e.css("display","none")}),new n(r,{text:d,width:128,height:128,colorDark:"#000000",colorLight:"#ffffff",correctLevel:n.CorrectLevel.L}),e.css("top",t(l).height()+1),f=function(){return e},e};t(l).on("click","#sa_sdk_heatmap_toolbar_share",function(){var e=f();e.css("display","block"),s.setContainer(e[0]),setTimeout(function(){e.find("input").focus(),e.find("input").select()},1)});var h='<div id="sa_sdk_heatmap_filterFlyout" style="z-index: 999999; position: fixed; right: 2px; top: 51px; width:432.5px; height: 171px; background:rgba(255,255,255,1);box-shadow:0px 2px 9px 3px; rgba(10,10,10,0.39); border-radius:3px;"><form>';h+='<div style="height: 45px; text-align: center; line-height: 45px; font-size:14px; font-family:PingFangSC-Medium,PingFang SC; font-weight:500; color:rgba(32,45,61,1); border-bottom: 1px solid #E9F0F7;">',h+=u(7),h+="</div>",h+='<div style="height: 78px; border-bottom: 1px solid #E9F0F7;">',h+=u(8),h+="</div>",h+='<div style="height: 47px; overflow: hidden; padding: 10px 15px; box-sizing: border-box;">',h+=u(9),h+="</div>",h+="</form></div>",t(l).on("click","#sa_sdk_heatmap_toolbar_filter",function(e){e.stopPropagation(),t("#sa_sdk_heatmap_filterFlyout").length?t("#sa_sdk_heatmap_filterFlyout").toggle():(t(document.body).append(h),s.setContainer(t("#sa_sdk_heatmap_filterFlyout")[0]))}),t(document.body).on("change",'#sa_sdk_heatmap_filterFlyout select[name="filter_type"]',function(){var e=t(this).val(),n=t('#sa_sdk_heatmap_filterFlyout input[name="filterValue"]'),r=t("#sa_sdk_heatmap_filterFlyout .filter_between_span");"between"===e?(n.hide(),r.show()):(n.show(),r.hide())}),t(document.body).on("click","#sa_sdk_heatmap_filterFlyout .sa-sdk-heatmap-filterflyout-cancelbtn",function(){t("#sa_sdk_heatmap_filterFlyout").hide(),t("#sa_sdk_heatmap_filterFlyout form")[0].reset();var e=t('#sa_sdk_heatmap_filterFlyout input[name="filterValue"]'),n=t("#sa_sdk_heatmap_filterFlyout .filter_between_span");e.show(),n.hide();var r=t.extend(!0,{},s.originalHeatData);return s.ajaxHeatData=r,a(),!1}),t(document.body).on("click","#sa_sdk_heatmap_filterFlyout .sa-sdk-heatmap-filterflyout-submitbtn",function(){var e=t('#sa_sdk_heatmap_filterFlyout select[name="filter_type"]').val(),n=t('#sa_sdk_heatmap_filterFlyout input[name="filterValue"]'),r=t('#sa_sdk_heatmap_filterFlyout input[name="filterValueStart"]'),i=t('#sa_sdk_heatmap_filterFlyout input[name="filterValueEnd"]'),a=function(e){if(!t.isNumeric(e))return!1;var n=Number(e);return Math.floor(n)===n&&n>=0},l=u(37),c=u(38);if("between"===e){if(!a(r.val()))return void s.showErrorInfo(2,{error:l});if(!a(i.val()))return void s.showErrorInfo(2,{error:l});if(Number(r.val())>Number(i.val()))return void s.showErrorInfo(2,{error:c});o(e,r.val(),i.val())}else{if(!a(n.val()))return void s.showErrorInfo(2,{error:l});o(e,n.val())}}),t("#sa_sdk_heatmap_toolbar_filter").on("mouseenter",function(){t('#sa_sdk_heatmap_toolbar_filter g[fill^="#"]').attr("fill","#559FF0")}).on("mouseleave",function(){t('#sa_sdk_heatmap_toolbar_filter g[fill^="#"]').attr("fill","#99A9BF")}),t("#sa_sdk_heatmap_toolbar_share").on("mouseenter",function(){t("#sa_sdk_heatmap_toolbar_share path").attr("fill","#559FF0")}).on("mouseleave",function(){t("#sa_sdk_heatmap_toolbar_share path").attr("fill","#99A9BF")}),t("#sa_sdk_heatmap_toolbar_refresh").on("mouseenter",function(){t("#sa_sdk_heatmap_toolbar_refresh path").attr("fill","#559FF0")}).on("mouseleave",function(){t("#sa_sdk_heatmap_toolbar_refresh path").attr("fill","#99A9BF")}),t("#sa_sdk_heatmap_toolbar_close").on("mouseenter",function(){t("#sa_sdk_heatmap_toolbar_close g").eq(1).attr("fill","#559FF0")}).on("mouseleave",function(){t("#sa_sdk_heatmap_toolbar_close g").eq(1).attr("fill","#99A9BF")}),t("#sa_sdk_heatmap_toolbar_corner").on("mouseenter",function(){t("#sa_sdk_heatmap_toolbar_corner g").eq(1).attr("fill","#559FF0")}).on("mouseleave",function(){t("#sa_sdk_heatmap_toolbar_corner g").eq(1).attr("fill","#99A9BF")}),t(l).on("click","#sa_sdk_heatmap_toolbar_close",function(){t(l).hide(0),t("#sa_sdk_heatmap_toolbar_corner").show(0)}),t("#sa_sdk_heatmap_toolbar_corner").on("click",function(){t("#sa_sdk_heatmap_toolbar_corner").hide(0),t(l).show(0)})},showErrorInfo:function(e,t){var n=document.createElement("div");n.setAttribute("style","background:#e55b41;border:none;border-radius:4px;color:#fff;font-size:18px;left:50%;margin-left:-300px;padding:12px;position: fixed;top:60px;text-align: center;width:600px;z-index:999999;"),1===e?n.innerHTML=u(10):2===e?t.error?n.innerText=t.error:n.innerHTML=u(11):3===e?n.innerHTML=u(10):4===e?t.error?n.innerText=t.error:n.innerHTML=u(11):5===e&&(n.style.backgroundColor="#13CE66",n.innerHTML=u(12)),document.body.appendChild(n),setTimeout(function(){document.body.removeChild(n)},5e3)},requestType:1,getHeatType:function(){},setClickMap:function(e,n){var a=this;if("string"==typeof e&&i.para.web_url){var s=new o.urlParse(i.para.web_url);s._values.Path="/api/heat_map/report/"+e;var l=new o.urlParse(i.para.web_url);l._values.Path="/api/heat_map/report/path/"+e;var c=l.getUrl();c=c.indexOf("?")===-1?c+"?pathUrl="+encodeURIComponent(n):c+"&pathUrl="+encodeURIComponent(n);var d=new o.urlParse(i.para.web_url);d._values.Path="/api/v2/sa/heat_maps/report/jsonp/"+e;var f=new o.urlParse(i.para.web_url);f._values.Path="/api/v2/sa/heat_maps/report/path/jsonp/"+e;var h=f.getUrl();h=h.indexOf("?")===-1?h+"?pathUrl="+encodeURIComponent(n):h+"&pathUrl="+encodeURIComponent(n),t("body").append('<div id="heatMapContainer"></div>'),n?this.requestType=3:this.requestType=1,p.getServerData.start({url:{ajax:3===this.requestType?c:s.getUrl(),jsonp:3===this.requestType?h:d.getUrl()},success:function(e){a.originalHeatData=a.processOriginalHeatData(e),a.bindEffect(),a.calculateHeatData(e)},error:function(e){a.showErrorInfo(2,e),sessionStorage.removeItem("sensors_heatmap_id")}})}else r(u(13))},processOriginalHeatData:function(e){var n=t.extend(!0,{},e);return t.each(n.rows,function(e,t){try{var n=o.querySelectorAll(t.by_values[0]);n.length&&(t.ele=n[0])}catch(i){r(u(14),i)}}),n},processOriginalHeatData2:function(){var e=this.originalHeatData,n=t.extend(!0,{},e),r=[],i=[],o=e.rows.slice();return t.each(o,function(e,n){if(!n.ele)return!0;var o=t.inArray(n.ele,i);o===-1?(i.push(n.ele),r.push(t.extend(!0,{},n))):r[o].values[0][0]+=n.values[0][0]}),n.rows=r,n},calculateHeatData:function(e){e=t.extend(!0,{},e),this.ajaxHeatData=e;var n=this;if(!o.isObject(e)||!o.isArray(e.rows)||!o.isObject(e.rows[0]))return n.showErrorInfo(n.requestType),!1;if(!e.page_view||0===Number(e.page_view))return n.showErrorInfo(2,{error:u(15)}),!1;var r=parseInt(e.page_view,10),a=e.heat_map_id.replace(/[<>"']/g,"");e=e.rows;var s=0,l=[],c=[],p=[];if(o.each(e,function(e){var t=null;e.by_values[0]&&(t=o.querySelectorAll(e.by_values[0])[0])&&(l.push(e),p.push(t))}),l.length>1)for(var d=0;d<p.length;d++)for(var f=d+1;f<p.length;f++)if(p[d]===p[f]){l[f].values[0][0]+=l[d].values[0][0],l[d].values[0][0]=0,l[d].by_values="";break}o.each(l,function(e){e.by_values[0]&&o.querySelectorAll(e.by_values[0])[0]&&c.push(e)}),c=o.filter(c,function(e){return e}),0===c.length&&n.showErrorInfo(n.requestType),e=c,o.each(e,function(e){e.value_fix=Number(e.values[0][0])||0,s+=e.value_fix}),n.data_render=e,o.each(e,function(e,t){if(e.by_values[0]){e.data_page_percent=Number(e.value_fix/s*100).toFixed(2)+"%",e.data_click_percent=Number(e.value_fix/r*100).toFixed(2)+"%",e.data_click=Number(e.value_fix/r),e.data_page=Number(e.value_fix/s);var l=new o.urlParse(i.para.web_url);l._values.Path="/web-click/users",3===n.requestType?e.data_user_link=l.getUrl()+"#heat_map_id="+a+"&detail=true&element_selector="+encodeURIComponent(e.by_values[0])+"&page_url="+encodeURIComponent(location.href):e.data_user_link=l.getUrl()+"#heat_map_id="+a+"&detail=true&element_selector="+encodeURIComponent(e.by_values[0]),"null"===String(e.top_values[0])?e.data_top_value=u(40):e.data_top_value=String(e.top_values[0]).replace(/[<>]/g,"");var c=o.querySelectorAll(e.by_values[0]);"object"==typeof c&&c.length>0&&setTimeout(function(){n.renderHeatData(c,e,t)},100)}})},heatData:function(e){for(var t=[.005,.01,.025,.05,.1,.5],n=0;n<t.length;n++)if(e<t[n])return n;return 6},heatDataTitle:function(e){return u(16)+e.value_fix+u(17)+e.data_click_percent+u(18)+e.data_page_percent+u(19)+String(e.top_values[0]).slice(0,30)},renderHeatData:function(e,n,r){var i=o.ry(e[0]),a=null,s=i.ele.tagName.toLowerCase();if(1==this.heatMode){if("input"===s||"textarea"===s||"img"===s||"svg"===s){i.attr("data-heat-place",String(r));var l=t(e[0]).width();a=i.wrap("span"),"number"==typeof l&&(a.ele.style.width=l),a.ele.style.display="inline-block","svg"===s&&(a.ele.style.minWidth="300px")}else a=i;this.heatDataElement.push(i),t(a.ele).data("clickdata",t.extend(!0,{},n)),a.attr("data-heat-place",String(r)).attr("sa-click-area",this.heatData(n.data_click)).attr("data-click",n.data_click_percent),"inline"===a.getStyle("display")&&(e[0].style.display="inline-block",t(e[0]).attr("sa-heatmap-inlineBlock",""))}else if(2===this.heatMode){var u,c,p,d;if(t(e[0]).is(":visible")&&"0"!==String(t(e[0]).css("opacity"))&&("a"===s&&"inline"===t(e[0]).css("display")?e[0].children[0]?(u=t(e[0].children[0]).outerWidth(),c=t(e[0].children[0]).outerHeight(),p=t(e[0]).children()[0].getBoundingClientRect().left,d=t(e[0]).children()[0].getBoundingClientRect().top):(t(e[0]).css("display","inline-block"),u=t(e[0]).outerWidth(),c=t(e[0]).outerHeight(),p=t(e[0]).offset().left-t(window).scrollLeft(),d=t(e[0]).offset().top-t(window).scrollTop(),t(e[0]).css("display","inline")):(u=t(e[0]).outerWidth(),c=t(e[0]).outerHeight(),p=t(e[0]).offset().left-t(window).scrollLeft(),d=t(e[0]).offset().top-t(window).scrollTop()),t(i.ele).attr("sa-click-area-v2",""),t(i.ele).data("clickdata",t.extend(!0,{},n)),c&&u)){var f={width:u,height:c,left:p,top:d,position:"fixed","z-index":999998,"pointer-events":"none"},h=t("<div sa-click-area></div>");h.css(f),h.attr("data-click",n.data_click_percent),h.attr("sa-click-area",this.heatData(n.data_click)),h.attr("selector",e[0]),h.attr("data-heat-place",String(r)),t("#heatMapContainer").append(h),this.setContainer(t("#heatMapContainer")[0])}}},refreshHeatData:function(e){1==this.heatMode&&(o.each(this.heatDataElement,function(e){var n=e.ele.tagName.toLowerCase();if("input"===n||"textarea"===n||"img"===n||"svg"===n){var r=e.parent();r&&"span"===r.ele.tagName.toLowerCase()&&!o.isUndefined(t(r.ele).attr("sa-click-area"))&&t(e.ele).unwrap()}else t(e.ele).removeAttr("sa-click-area")}),t("[sa-heatmap-inlineBlock]").css("display","inline"),t("[sa-heatmap-inlineBlock]").removeAttr("sa-heatmap-inlineBlock"),this.heatDataElement=[]),2==this.heatMode&&(this.heatDataElement=[],
t("[sa-click-area-v2]").removeAttr("sa-click-area-v2"),t("#heatMapContainer").html("")),this.heatMode=e,this.calculateHeatData(this.ajaxHeatData)},refreshScrollData:function(){},is_fix_state:null,showEffectBox:function(e,t,n){if("fixslidedown"===this.is_fix_state)t.style.position="fixed",t.style.left="auto",t.style.right=0,t.style.top=0,n&&(t.className="sa-heat-box-effect-2017314");else if("notfix"===this.is_fix_state){var r=p.getBrowserWidth(),i=p.getBrowserHeight(),a=e.target,s=o.ry(a).offset(),l=o.ry(a).getSize(),u=s.left+l.width+2,c=s.top+1;r<u+220&&(u=s.left-220,s.left<220&&(u=e.pageX));var d=267,f=a.getBoundingClientRect().top;f<0&&(c=e.pageY),i&&f+d>i&&(c=s.top+l.height-d),t.style.position="absolute",t.style.left=u+"px",t.style.top=c+"px"}"block"!==t.style.display&&(t.style.display="block")},bindEffect:function(){function e(e){for(var n=e.target,a=e.currentTarget,f=t(n).data("clickdata");!f&&n.parentNode&&(n=n.parentNode,f=t(n).data("clickdata"),n!==a););if(!f)return!1;var h,g=o.isObject(i.para.heatmap)?i.para.heatmap.setContent:null;g&&"function"==typeof g?(h=g(n),h=h&&"string"==typeof h?o.trim(h):""):h=o.trim(n.textContent),h&&(h=h.replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255)),f.data_current_content=h||u(39),l=s.replace(/\{\{[^\{\{]+\}\}/g,function(e){if(e=e.slice(2,-2),"string"==typeof e&&"object"==typeof f)return f[e]}),d.innerHTML=l,r.showEffectBox(e,p,c),r.setContainer(p)}function n(t){var n=t.target;h&&clearTimeout(h),h=setTimeout(function(){n===g&&e(t)},f)}var r=this,a=!1,s=u(20),l="",c=!0,p=document.createElement("div");document.body.appendChild(p),p.setAttribute("style",'border-radius:3px;display:none;border:1px solid #000;position: fixed; right:0; top:0; background: #333;line-height:24px;font-size:13px;width:220px;height:265px;color: #fff;font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;box-shadow: 0 2px 4px rgba(0,0,0,0.24);z-index:999999;'),p.innerHTML='<div id="sa_heat_float_right_box_content" style="clear:both;"></div>';var d=document.getElementById("sa_heat_float_right_box_content");o.addEvent(p,"mouseleave",function(){"notfix"===r.is_fix_state&&(a=!1,p.style.display="none")}),o.addEvent(p,"mouseenter",function(){"notfix"===r.is_fix_state&&(a=!0)}),o.addEvent(p,"animationend",function(){p.className=""}),this.is_fix_state="notfix";var f=600,h=null,g=null;/iPhone|Android/i.test(navigator.userAgent)?t(document).on("mouseover","[sa-click-area],[sa-click-area-v2]",function(e){var i=e.target;g=i,t(i).on("mouseleave",function(){"notfix"===r.is_fix_state&&setTimeout(function(){a||(a=!1,p.style.display="none")},f)}),n(e)}):t(document).on("mouseover","[sa-click-area],[sa-click-area-v2]",function(e){var t=e.target;g=t,n(e)})},setCssStyle:function(){var e='.saContainer{margin:0;padding:0;font-size:13px;}[sa-click-area] video{visibility:hidden;}.sa-sdk-heatmap-toolbar-selectmap ul{position:absolute;top:40px;left:0;background:#fff;box-shadow:1px 1px 1px rgba(200,200,200,.6);border-radius:3px;}.sa-sdk-heatmap-toolbar-selectmap ul li{cursor:pointer;height:32px;color:#475669;line-height:32px;padding-left:8px}.sa-sdk-heatmap-toolbar-selectmap ul li:hover{background:#00cd90;color:#fff;}.sa-sdk-heatmap-toolbar-selectmap ul li a{text-decoration:none}.sa-heat-box-head-2017322{border-bottom:1px solid rgba(0, 0, 0, .06);cursor:move;height:30px;background:#e1e1e1;color:#999;clear:both}.sa-heat-box-effect-2017314{animation-duration:.5s;animation-fill-mode:both;animation-iteration-count:1;animation-name:sa-heat-box-effect-2017314}@keyframes "sa-heat-box-effect-2017314"{0%{opacity:.6;}to{opacity:1;}} [sa-click-area]{position:relative} [sa-click-area]:before{pointer-events:none;cursor:pointer;content:"";width:100%;position:absolute;left:0;top:0;bottom:0}[sa-click-area="0"]:before{background:hsla(60, 98%, 80%, .75);box-shadow:0 0 0 2px #fefe9b inset}img[sa-click-area="0"]{border:2px solid #fefe9b}[sa-click-area="0"]:hover:before,input[sa-click-area="0"],textarea[sa-click-area="0"]{background:hsla(60, 98%, 80%, .85)}[sa-click-area="1"]:before{background:rgba(255, 236, 142, .75);box-shadow:0 0 0 2px #ffec8e inset}img[sa-click-area="1"]{border:2px solid #ffec8e}[sa-click-area="1"]:hover:before,input[sa-click-area="1"],textarea[sa-click-area="1"]{background:rgba(255, 236, 142, .85)}[sa-click-area="2"]:before{background:rgba(255, 188, 113, .75);box-shadow:0 0 0 2px #ffbc71 inset}img[sa-click-area="2"]{border:2px solid #ffbc71}[sa-click-area="2"]:hover:before,input[sa-click-area="2"],textarea[sa-click-area="2"]{background:rgba(255, 188, 113, .85)}[sa-click-area="3"]:before{background:rgba(255, 120, 82, .75);box-shadow:0 0 0 2px #ff7852 inset}img[sa-click-area="3"]{border:2px solid #ff7852}[sa-click-area="3"]:hover:before,input[sa-click-area="3"],textarea[sa-click-area="3"]{background:rgba(255, 120, 82, .85)}[sa-click-area="4"]:before{background:rgba(255, 65, 90, .75);box-shadow:0 0 0 2px #ff415a inset}img[sa-click-area="4"]{border:2px solid #ff415a}[sa-click-area="4"]:hover:before,input[sa-click-area="4"],textarea[sa-click-area="4"]{background:rgba(255, 65, 90, .85)}[sa-click-area="5"]:before{background:rgba(199, 0, 18, .75);box-shadow:0 0 0 2px #c70012 inset}img[sa-click-area="5"]{border:2px solid #c70012}[sa-click-area="5"]:hover:before,input[sa-click-area="5"],textarea[sa-click-area="5"]{background:rgba(199, 0, 18, .85)}[sa-click-area="6"]:before{background:rgba(127, 0, 79, .75);box-shadow:0 0 0 3px #7f004f inset}img[sa-click-area="6"]{border:2px solid #7f004f}[sa-click-area="6"]:hover:before,input[sa-click-area="6"],textarea[sa-click-area="6"]{background:rgba(127, 0, 79, .85)}[sa-click-area] [sa-click-area]:before{background:0 0 !important}[sa-click-area]:after{pointer-events:none;height:14px;line-height:14px;margin:-7px 0 0 -28px;width:80px;color:#fff;content:attr(data-click);font-size:14px;font-weight:700;left:50%;line-height:1em;position:absolute;text-align:center;text-indent:0;text-shadow:1px 1px 2px #000;top:50%;z-index:10}';e+="#sa_heat_float_right_box_content table td { color: #fff !important; font-size: 13px !important; background: #333 !important;}",e+="#sa_sdk_heatmap_filterFlyout select {padding-left: 10px;width: 82px; height: 32px;background:rgba(255,255,255,1); border-radius:3px; border:1px solid rgba(211,220,230,1); margin-right: 10px; margin-left: 10px; outline: none;}",e+="#sa_sdk_heatmap_filterFlyout select:hover {border:1px solid rgba(4,203,148,1);}",e+="#sa_sdk_heatmap_filterFlyout select:active, #sa_sdk_heatmap_filterFlyout select:focus {border:2px solid rgba(4,203,148,0.2);}",e+="#sa_sdk_heatmap_filterFlyout input {outline:none;box-sizing: border-box; width:77px; height:32px; background:rgba(255,255,255,1); border-radius:3px; border:1px solid rgba(211,220,230,1); padding-left:10px; padding-right:10px;}",e+="#sa_sdk_heatmap_filterFlyout input:hover {border:1px solid rgba(4,203,148,1);}",e+="#sa_sdk_heatmap_filterFlyout input:active #sa_sdk_heatmap_filterFlyout input:focus {border:2px solid rgba(4,203,148,0.2);}";var t=document.createElement("style");t.type="text/css";try{t.appendChild(document.createTextNode(e))}catch(n){t.styleSheet.cssText=e}document.getElementsByTagName("head")[0].appendChild(t)}},p={jsonp_timer:null,getServerData:{ajax:function(t){o.ajax({url:t.url.ajax,type:"POST",cors:!0,header:{cors:"true"},success:function(e){t.success(e)},error:function(n){o.isObject(n)&&n.error?t.error(n):e(u(21),n)},timeout:i.para.heatmap.request_timeout||1e4})},start:function(e){a&&o.isString(a)?this.jsonp(e):this.ajax(e)},jsonp:function(e){var t=function(t){e.success(t)},n=o.isFunction(e.error)?e.error:function(){},a=e.timeout||i.para.heatmap.request_timeout||1e4,s=this;null!==this.jsonp_timer&&clearTimeout(this.jsonp_timer),this.jsonp_timer=setTimeout(function(){n({error:u(22)})},a),o.jsonp({url:e.url.jsonp,callbackName:"saJSSDKHeatRender",success:function(e){null!==s.jsonp_timer&&clearTimeout(s.jsonp_timer),e&&o.isObject(e)&&e.is_success?o.isObject(e.data)?t(e.data):(n({error:u(23)}),r(u(24),e)):e&&o.isObject(e)&&e.is_success===!1?(n({error:e.error_msg}),r(u(25),e.error_msg)):(n({error:u(26)}),r(u(27),e))},error:function(t){null!==s.jsonp_timer&&clearTimeout(s.jsonp_timer),n("timeout"===t?{error:u(28)}:"https:"===o.URL(location.href).protocol&&"http:"===o.URL(e.url.jsonp).protocol?{error:u(29)}:{error:u(30)})}})}},getScrollHeight:function(){var e=parseInt(document.body.scrollHeight,10);return isNaN(e)?0:e},getBrowserWidth:function(){var e=window.innerWidth||document.body.clientWidth;return isNaN(e)?0:parseInt(e,10)},getBrowserHeight:function(){var e=window.innerHeight||document.body.clientHeight;return isNaN(e)?0:parseInt(e,10)},sendIframeData:function(){var e=this;o.bindReady(function(){if(window&&window.parent&&window.parent.window&&window!==window.parent.window){var t=e.getScrollHeight();window.parent.window.postMessage({method:"setHeight",params:{height:t>600?t:600}},i.para.web_url),window.parent.window.postMessage({method:"setUrl",params:{request_type:sessionStorage.getItem("sensors_heatmap_type")||"1",url:o.getURL()}},i.para.web_url)}})},prepare:function(e,t,n){function r(){setTimeout(function(){c.setToolbar(e,t,n),s.sendIframeData()},o.isObject(i.para.heatmap)&&i.para.heatmap.loadTimeout?i.para.heatmap.loadTimeout:2500)}var s=this;if(!document.querySelectorAll)return alert(u(31)),!1;i.errorMsg&&c.showErrorInfo(2,{error:i.errorMsg}),a=i.para.web_url;var l=i.para.web_url||null;return!l&&o.sessionStorage.isSupport()&&sessionStorage.getItem&&sessionStorage.getItem("sensors_heatmap_url")&&(l=sessionStorage.getItem("sensors_heatmap_url")||null),c.setCssStyle(),l?(i.para.web_url=l,sessionStorage.setItem("sensors_heatmap_url",l),r(),void 0):(c.showErrorInfo(2,{error:u(32)}),!1)}};window.sa_jssdk_heatmap_render=function(e,t,n,a){i=e,i.heatmap_version="1.27.1",o=i._,o.querySelectorAll=function(e){if("string"!=typeof e)return r(u(33),e),[];var t=e.split(" ");1===t.length?/^#\d+/.test(t[0])&&(e="#"+o.strToUnicode(t[0].slice(1))):/^#\d+/.test(t[0])&&(t[0]="#"+o.strToUnicode(t[0].slice(1)),e=t.join(" "));try{return document.querySelectorAll(e)}catch(n){return r(u(34),e),[]}},p.prepare(t,n,a)}}()}();