!function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(C,t){"use strict";var e=[],T=C.document,i=Object.getPrototypeOf,a=e.slice,g=e.concat,l=e.push,o=e.indexOf,n={},r=n.toString,h=n.hasOwnProperty,s=h.toString,c=s.call(Object),_={};function m(t,e){var n=(e=e||T).createElement("script");n.text=t,e.head.appendChild(n).parentNode.removeChild(n)}function u(t,e){return e.toUpperCase()}var p="99.9.9",$=function(t,e){return new $.fn.init(t,e)},f=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,d=/^-ms-/,v=/-([a-z])/g;function y(t){var e=!!t&&"length"in t&&t.length,n=$.type(t);return"function"!==n&&!$.isWindow(t)&&("array"===n||0===e||"number"==typeof e&&0>10|55296,1023&i|56320)}function o(){x()}var t,d,w,r,s,h,f,g,b,l,c,x,C,a,T,_,u,m,v,$="sizzle"+1*new Date,y=n.document,E=0,i=0,k=st(),O=st(),S=st(),D=function(t,e){return t===e&&(c=!0),0},A={}.hasOwnProperty,e=[],N=e.pop,j=e.push,P=e.push,I=e.slice,L=function(t,e){for(var n=0,i=t.length;n+~]|"+z+")"+z+"*"),G=new RegExp("="+z+"*([^\\]'\"]*?)"+z+"*\\]","g"),U=new RegExp(M),V=new RegExp("^"+F+"$"),Y={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+H),PSEUDO:new RegExp("^"+M),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+z+"*(even|odd|(([+-]|)(\\d*)n|)"+z+"*(?:([+-]|)"+z+"*(\\d+)|))"+z+"*\\)|)","i"),bool:new RegExp("^(?:"+q+")$","i"),needsContext:new RegExp("^"+z+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+z+"*((?:-\\d)?\\d*)"+z+"*\\)|)(?=[^-]|$)","i")},Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\([\\da-f]{1,6}"+z+"?|("+z+")|.)","ig"),nt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,it=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},ot=vt(function(t){return!0===t.disabled},{dir:"parentNode",next:"legend"});try{P.apply(e=I.call(y.childNodes),y.childNodes),e[y.childNodes.length].nodeType}catch(t){P={apply:e.length?function(t,e){j.apply(t,I.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function rt(t,e,n,i){var o,r,s,a,l,c,u,p=e&&e.ownerDocument,f=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==f&&9!==f&&11!==f)return n;if(!i&&((e?e.ownerDocument||e:y)!==C&&x(e),e=e||C,T)){if(11!==f&&(l=Z.exec(t)))if(o=l[1]){if(9===f){if(!(s=e.getElementById(o)))return n;if(s.id===o)return n.push(s),n}else if(p&&(s=p.getElementById(o))&&v(e,s)&&s.id===o)return n.push(s),n}else{if(l[2])return P.apply(n,e.getElementsByTagName(t)),n;if((o=l[3])&&d.getElementsByClassName&&e.getElementsByClassName)return P.apply(n,e.getElementsByClassName(o)),n}if(d.qsa&&!S[t+" "]&&(!_||!_.test(t))){if(1!==f)p=e,u=t;else if("object"!==e.nodeName.toLowerCase()){for((a=e.getAttribute("id"))?a=a.replace(nt,it):e.setAttribute("id",a=$),r=(c=h(t)).length;r--;)c[r]="#"+a+" "+mt(c[r]);u=c.join(","),p=tt.test(t)&>(e.parentNode)||e}if(u)try{return P.apply(n,p.querySelectorAll(u)),n}catch(t){}finally{a===$&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,i)}function st(){var i=[];return function t(e,n){return i.push(e+" ")>w.cacheLength&&delete t[i.shift()],t[e+" "]=n}}function at(t){return t[$]=!0,t}function lt(t){var e=C.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ct(t,e){for(var n=t.split("|"),i=n.length;i--;)w.attrHandle[n[i]]=e}function ut(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function pt(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ft(n){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===n}}function dt(e){return function(t){return"label"in t&&t.disabled===e||"form"in t&&t.disabled===e||"form"in t&&!1===t.disabled&&(t.isDisabled===e||t.isDisabled!==!e&&("label"in t||!ot(t))!==e)}}function ht(s){return at(function(r){return r=+r,at(function(t,e){for(var n,i=s([],t.length,r),o=i.length;o--;)t[n=i[o]]&&(t[n]=!(e[n]=t[n]))})})}function gt(t){return t&&void 0!==t.getElementsByTagName&&t}for(t in d=rt.support={},s=rt.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},x=rt.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:y;return i!==C&&9===i.nodeType&&i.documentElement&&(a=(C=i).documentElement,T=!s(C),y!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",o,!1):n.attachEvent&&n.attachEvent("onunload",o)),d.attributes=lt(function(t){return t.className="i",!t.getAttribute("className")}),d.getElementsByTagName=lt(function(t){return t.appendChild(C.createComment("")),!t.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=lt(function(t){return a.appendChild(t).id=$,!C.getElementsByName||!C.getElementsByName($).length}),d.getById?(w.find.ID=function(t,e){if(void 0!==e.getElementById&&T){var n=e.getElementById(t);return n?[n]:[]}},w.filter.ID=function(t){var e=t.replace(et,p);return function(t){return t.getAttribute("id")===e}}):(delete w.find.ID,w.filter.ID=function(t){var n=t.replace(et,p);return function(t){var e=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return e&&e.value===n}}),w.find.TAG=d.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):d.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],o=0,r=e.getElementsByTagName(t);if("*"!==t)return r;for(;n=r[o++];)1===n.nodeType&&i.push(n);return i},w.find.CLASS=d.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&T)return e.getElementsByClassName(t)},u=[],_=[],(d.qsa=K.test(C.querySelectorAll))&&(lt(function(t){a.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&_.push("[*^$]="+z+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||_.push("\\["+z+"*(?:value|"+q+")"),t.querySelectorAll("[id~="+$+"-]").length||_.push("~="),t.querySelectorAll(":checked").length||_.push(":checked"),t.querySelectorAll("a#"+$+"+*").length||_.push(".#.+[+~]")}),lt(function(t){t.innerHTML="";var e=C.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&_.push("name"+z+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&_.push(":enabled",":disabled"),a.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&_.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),_.push(",.*:")})),(d.matchesSelector=K.test(m=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&<(function(t){d.disconnectedMatch=m.call(t,"*"),m.call(t,"[s!='']:x"),u.push("!=",M)}),_=_.length&&new RegExp(_.join("|")),u=u.length&&new RegExp(u.join("|")),e=K.test(a.compareDocumentPosition),v=e||K.test(a.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},D=e?function(t,e){if(t===e)return c=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!d.sortDetached&&e.compareDocumentPosition(t)===n?t===C||t.ownerDocument===y&&v(y,t)?-1:e===C||e.ownerDocument===y&&v(y,e)?1:l?L(l,t)-L(l,e):0:4&n?-1:1)}:function(t,e){if(t===e)return c=!0,0;var n,i=0,o=t.parentNode,r=e.parentNode,s=[t],a=[e];if(!o||!r)return t===C?-1:e===C?1:o?-1:r?1:l?L(l,t)-L(l,e):0;if(o===r)return ut(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)a.unshift(n);for(;s[i]===a[i];)i++;return i?ut(s[i],a[i]):s[i]===y?-1:a[i]===y?1:0}),C},rt.matches=function(t,e){return rt(t,null,null,e)},rt.matchesSelector=function(t,e){if((t.ownerDocument||t)!==C&&x(t),e=e.replace(G,"='$1']"),d.matchesSelector&&T&&!S[e+" "]&&(!u||!u.test(e))&&(!_||!_.test(e)))try{var n=m.call(t,e);if(n||d.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,p),t[3]=(t[3]||t[4]||t[5]||"").replace(et,p),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||rt.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&rt.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return Y.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&U.test(n)&&(e=h(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,p).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=k[t+" "];return e||(e=new RegExp("(^|"+z+")"+t+"("+z+"|$)"))&&k(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(n,i,o){return function(t){var e=rt.attr(t,n);return null==e?"!="===i:!i||(e+="","="===i?e===o:"!="===i?e!==o:"^="===i?o&&0===e.indexOf(o):"*="===i?o&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,O=/^.[^:#\[\.,]*$/;function S(t,n,i){if($.isFunction(n))return $.grep(t,function(t,e){return!!n.call(t,e,t)!==i});if(n.nodeType)return $.grep(t,function(t){return t===n!==i});if("string"==typeof n){if(O.test(n))return $.filter(n,t,i);n=$.filter(n,t)}return $.grep(t,function(t){return-1)[^>]*|#([\w-]+))$/;($.fn.init=function(t,e,n){var i,o;if(!t)return this;if(n=n||D,"string"!=typeof t)return t.nodeType?(this[0]=t,this.length=1,this):$.isFunction(t)?void 0!==n.ready?n.ready(t):t($):$.makeArray(t,this);if(!(i="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:A.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof $?e[0]:e,$.merge(this,$.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:T,!0)),k.test(i[1])&&$.isPlainObject(e))for(i in e)$.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(o=T.getElementById(i[2]))&&(this[0]=o,this.length=1),this}).prototype=$.fn,D=$(T);var N=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function P(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}$.fn.extend({has:function(t){var e=$(t,this),n=e.length;return this.filter(function(){for(var t=0;t\x20\t\r\n\f]+)/i,st=/^$|\/(?:java|ecma)script/i,at={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function lt(t,e){var n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&$.nodeName(t,e)?$.merge([t],n):n}function ct(t,e){for(var n=0,i=t.length;nx",_.noCloneChecked=!!ut.cloneNode(!0).lastChild.defaultValue;var ht=T.documentElement,gt=/^key/,_t=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,mt=/^([^.]*)(?:\.(.+)|)/;function vt(){return!0}function yt(){return!1}function wt(){try{return T.activeElement}catch(t){}}function bt(t,e,n,i,o,r){var s,a;if("object"==typeof e){for(a in"string"!=typeof n&&(i=i||n,n=void 0),e)bt(t,a,n,i,e[a],r);return t}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=yt;else if(!o)return t;return 1===r&&(s=o,(o=function(t){return $().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=$.guid++)),t.each(function(){$.event.add(this,e,o,i,n)})}$.event={global:{},add:function(e,t,n,i,o){var r,s,a,l,c,u,p,f,d,h,g,_=X.get(e);if(_)for(n.handler&&(n=(r=n).handler,o=r.selector),o&&$.find.matchesSelector(ht,o),n.guid||(n.guid=$.guid++),(l=_.events)||(l=_.events={}),(s=_.handle)||(s=_.handle=function(t){return void 0!==$&&$.event.triggered!==t.type?$.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(I)||[""]).length;c--;)d=g=(a=mt.exec(t[c])||[])[1],h=(a[2]||"").split(".").sort(),d&&(p=$.event.special[d]||{},d=(o?p.delegateType:p.bindType)||d,p=$.event.special[d]||{},u=$.extend({type:d,origType:g,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&$.expr.match.needsContext.test(o),namespace:h.join(".")},r),(f=l[d])||((f=l[d]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(e,i,h,s)||e.addEventListener&&e.addEventListener(d,s)),p.add&&(p.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,u):f.push(u),$.event.global[d]=!0)},remove:function(t,e,n,i,o){var r,s,a,l,c,u,p,f,d,h,g,_=X.hasData(t)&&X.get(t);if(_&&(l=_.events)){for(c=(e=(e||"").match(I)||[""]).length;c--;)if(d=g=(a=mt.exec(e[c])||[])[1],h=(a[2]||"").split(".").sort(),d){for(p=$.event.special[d]||{},f=l[d=(i?p.delegateType:p.bindType)||d]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=f.length;r--;)u=f[r],!o&&g!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(f.splice(r,1),u.selector&&f.delegateCount--,p.remove&&p.remove.call(t,u));s&&!f.length&&(p.teardown&&!1!==p.teardown.call(t,h,_.handle)||$.removeEvent(t,d,_.handle),delete l[d])}else for(d in l)$.event.remove(t,d+e[c],n,i,!0);$.isEmptyObject(l)&&X.remove(t,"handle events")}},dispatch:function(t){var e,n,i,o,r,s,a=$.event.fix(t),l=new Array(arguments.length),c=(X.get(this,"events")||{})[a.type]||[],u=$.event.special[a.type]||{};for(l[0]=a,e=1;e\x20\t\r\n\f]*)[^>]*)\/>/gi,Ct=/\s*$/g;function kt(t,e){return $.nodeName(t,"table")&&$.nodeName(11!==e.nodeType?e:e.firstChild,"tr")&&t.getElementsByTagName("tbody")[0]||t}function Ot(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function St(t){var e=$t.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function Dt(t,e){var n,i,o,r,s,a,l,c;if(1===e.nodeType){if(X.hasData(t)&&(r=X.access(t),s=X.set(e,r),c=r.events))for(o in delete s.handle,s.events={},c)for(n=0,i=c[o].length;n")},clone:function(t,e,n){var i,o,r,s,a,l,c,u=t.cloneNode(!0),p=$.contains(t.ownerDocument,t);if(!(_.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||$.isXMLDoc(t)))for(s=lt(u),i=0,o=(r=lt(t)).length;i").prop({charset:n.scriptCharset,src:n.url}).on("load error",o=function(t){i.remove(),o=null,t&&e("error"===t.type?404:200,t.type)}),T.head.appendChild(i[0])},abort:function(){o&&o()}}});var We,Xe=[],Ge=/(=)\?(?=&|$)|\?\?/;function Ue(t){return $.isWindow(t)?t:9===t.nodeType&&t.defaultView}$.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Xe.pop()||$.expando+"_"+xe++;return this[t]=!0,t}}),$.ajaxPrefilter("json jsonp",function(t,e,n){var i,o,r,s=!1!==t.jsonp&&(Ge.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ge.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=$.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Ge,"$1"+i):!1!==t.jsonp&&(t.url+=(Ce.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return r||$.error(i+" was not called"),r[0]},t.dataTypes[0]="json",o=C[i],C[i]=function(){r=arguments},n.always(function(){void 0===o?$(C).removeProp(i):C[i]=o,t[i]&&(t.jsonpCallback=e.jsonpCallback,Xe.push(i)),r&&$.isFunction(o)&&o(r[0]),r=o=void 0}),"script"}),_.createHTMLDocument=((We=T.implementation.createHTMLDocument("").body).innerHTML="
",2===We.childNodes.length),$.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(_.createHTMLDocument?((i=(e=T.implementation.createHTMLDocument("")).createElement("base")).href=T.location.href,e.head.appendChild(i)):e=T),r=!n&&[],(o=k.exec(t))?[e.createElement(o[1])]:(o=dt([t],e,r),r&&r.length&&$(r).remove(),$.merge([],o.childNodes)));var i,o,r},$.fn.load=function(t,e,n){var i,o,r,s=this,a=t.indexOf(" ");return-1").append($.parseHTML(t)).find(i):t)}).always(n&&function(t,e){s.each(function(){n.apply(this,r||[t.responseText,e,t])})}),this},$.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){$.fn[e]=function(t){return this.on(e,t)}}),$.expr.pseudos.animated=function(e){return $.grep($.timers,function(t){return e===t.elem}).length},$.offset={setOffset:function(t,e,n){var i,o,r,s,a,l,c=$.css(t,"position"),u=$(t),p={};"static"===c&&(t.style.position="relative"),a=u.offset(),r=$.css(t,"top"),l=$.css(t,"left"),o=("absolute"===c||"fixed"===c)&&-1<(r+l).indexOf("auto")?(s=(i=u.position()).top,i.left):(s=parseFloat(r)||0,parseFloat(l)||0),$.isFunction(e)&&(e=e.call(t,n,$.extend({},a))),null!=e.top&&(p.top=e.top-a.top+s),null!=e.left&&(p.left=e.left-a.left+o),"using"in e?e.using.call(t,p):u.css(p)}},$.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){$.offset.setOffset(this,e,t)});var t,n,i,o,r=this[0];return r?r.getClientRects().length?(i=r.getBoundingClientRect()).width||i.height?(n=Ue(o=r.ownerDocument),t=o.documentElement,{top:i.top+n.pageYOffset-t.clientTop,left:i.left+n.pageXOffset-t.clientLeft}):i:{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n=this[0],i={top:0,left:0};return"fixed"===$.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),$.nodeName(t[0],"html")||(i=t.offset()),i={top:i.top+$.css(t[0],"borderTopWidth",!0),left:i.left+$.css(t[0],"borderLeftWidth",!0)}),{top:e.top-i.top-$.css(n,"marginTop",!0),left:e.left-i.left-$.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===$.css(t,"position");)t=t.offsetParent;return t||ht})}}),$.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,o){var r="pageYOffset"===o;$.fn[e]=function(t){return B(this,function(t,e,n){var i=Ue(t);if(void 0===n)return i?i[o]:t[e];i?i.scrollTo(r?i.pageXOffset:n,r?n:i.pageYOffset):t[e]=n},e,t,arguments.length)}}),$.each(["top","left"],function(t,n){$.cssHooks[n]=Wt(_.pixelPosition,function(t,e){if(e)return e=Bt(t,n),Ht.test(e)?$(t).position()[n]+"px":e})}),$.each({Height:"height",Width:"width"},function(s,a){$.each({padding:"inner"+s,content:a,"":"outer"+s},function(i,r){$.fn[r]=function(t,e){var n=arguments.length&&(i||"boolean"!=typeof t),o=i||(!0===t||!0===e?"margin":"border");return B(this,function(t,e,n){var i;return $.isWindow(t)?0===r.indexOf("outer")?t["inner"+s]:t.document.documentElement["client"+s]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+s],i["scroll"+s],t.body["offset"+s],i["offset"+s],i["client"+s])):void 0===n?$.css(t,e,o):$.style(t,e,n,o)},a,n?t:void 0,n)}})}),$.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}}),$.parseJSON=JSON.parse,"function"==typeof define&&define.amd&&define("jquery",[],function(){return $});var Ve=C.jQuery,Ye=C.$;return $.noConflict=function(t){return C.$===$&&(C.$=Ye),t&&C.jQuery===$&&(C.jQuery=Ve),$},t||(C.jQuery=C.$=$),$}),function(t,e){"function"==typeof define&&define.amd?define(["jquery"],function(t){return e(t)}):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(0,function(k){function e(t){this.$container,this.constraints=null,this.__$tooltip,this.__init(t)}function r(n,i){var o=!0;return k.each(n,function(t,e){return void 0===i[t]||n[t]!==i[t]?o=!1:void 0}),o}function u(t){var e=t.attr("id"),n=e?O.window.document.getElementById(e):null;return n?n===t[0]:k.contains(O.window.document.body,t[0])}function t(){this.__$emitterPrivate=k({}),this.__$emitterPublic=k({}),this.__instancesLatestArr=[],this.__plugins={},this._env=O}var p={animation:"fade",animationDuration:350,content:null,contentAsHTML:!1,contentCloning:!1,debug:!0,delay:300,delayTouch:[300,500],functionInit:null,functionBefore:null,functionReady:null,functionAfter:null,functionFormat:null,IEmin:6,interactive:!1,multiple:!1,parent:null,plugins:["sideTip"],repositionOnScroll:!1,restoration:"none",selfDestruction:!0,theme:[],timer:0,trackerInterval:500,trackOrigin:!1,trackTooltip:!1,trigger:"hover",triggerClose:{click:!1,mouseleave:!1,originClick:!1,scroll:!1,tap:!1,touchleave:!1},triggerOpen:{click:!1,mouseenter:!1,tap:!1,touchstart:!1},updateAnimation:"rotate",zIndex:9999999},o="undefined"!=typeof window?window:null,O={hasTouchCapability:!(!o||!("ontouchstart"in o||o.DocumentTouch&&o.document instanceof o.DocumentTouch||o.navigator.maxTouchPoints)),hasTransitions:function(){if(!o)return!1;var t=(o.document.body||o.document.documentElement).style,e="transition",n=["Moz","Webkit","Khtml","O","ms"];if("string"==typeof t[e])return!0;e=e.charAt(0).toUpperCase()+e.substr(1);for(var i=0;i=n.__options.IEmin){var i=null;if(void 0===n._$origin.data("tooltipster-initialTitle")&&(void 0===(i=n._$origin.attr("title"))&&(i=null),n._$origin.data("tooltipster-initialTitle",i)),null!==n.__options.content)n.__contentSet(n.__options.content);else{var o,r=n._$origin.attr("data-tooltip-content");r&&(o=k(r)),o&&o[0]?n.__contentSet(o.first()):n.__contentSet(i)}n._$origin.removeAttr("title").addClass("tooltipstered"),n.__prepareOrigin(),n.__prepareGC(),k.each(n.__options.plugins,function(t,e){n._plug(e)}),O.hasTouchCapability&&k(O.window.document.body).on("touchmove."+n.__namespace+"-triggerOpen",function(t){n._touchRecordEvent(t)}),n._on("created",function(){n.__prepareTooltip()})._on("repositioned",function(t){n.__lastPosition=t.position})}else n.__options.disabled=!0},__contentInsert:function(){var t=this,e=t._$tooltip.find(".tooltipster-content"),n=t.__Content;return t._trigger({type:"format",content:t.__Content,format:function(t){n=t}}),t.__options.functionFormat&&(n=t.__options.functionFormat.call(t,t,{origin:t._$origin[0]},t.__Content)),"string"!=typeof n||t.__options.contentAsHTML?e.empty().append(n):e.text(n),t},__contentSet:function(t){return t instanceof k&&this.__options.contentCloning&&(t=t.clone(!0)),this.__Content=t,this._trigger({type:"updated",content:t}),this},__destroyError:function(){throw new Error("This tooltip has been destroyed and cannot execute your method call.")},__geometry:function(){var t=this,e=t._$origin,n=t._$origin.is("area");if(n){var i=t._$origin.parent().attr("name");e=k('img[usemap="#'+i+'"]')}var o=e[0].getBoundingClientRect(),r=k(O.window.document),s=k(O.window),a=e,l={available:{document:null,window:null},document:{size:{height:r.height(),width:r.width()}},window:{scroll:{left:O.window.scrollX||O.window.document.documentElement.scrollLeft,top:O.window.scrollY||O.window.document.documentElement.scrollTop},size:{height:s.height(),width:s.width()}},origin:{fixedLineage:!1,offset:{},size:{height:o.bottom-o.top,width:o.right-o.left},usemapImage:n?e[0]:null,windowOffset:{bottom:o.bottom,left:o.left,right:o.right,top:o.top}}};if(n){var c=t._$origin.attr("shape"),u=t._$origin.attr("coords");if(u&&(u=u.split(","),k.map(u,function(t,e){u[e]=parseInt(t)})),"default"!=c)switch(c){case"circle":var p=u[0],f=u[1],d=u[2],h=f-d,g=p-d;l.origin.size.height=2*d,l.origin.size.width=l.origin.size.height,l.origin.windowOffset.left+=g,l.origin.windowOffset.top+=h;break;case"rect":var _=u[0],m=u[1],v=u[2],y=u[3];l.origin.size.height=y-m,l.origin.size.width=v-_,l.origin.windowOffset.left+=_,l.origin.windowOffset.top+=m;break;case"poly":for(var w=0,b=0,x=0,C=0,T="even",$=0;$r.right))return!(a=!0);if("visible"!=o&&(s.origin.windowOffset.topr.bottom))return!(a=!0)}return"fixed"!=n.css("position")&&void 0}),a)e._$tooltip.css("visibility","hidden");else if(e._$tooltip.css("visibility","visible"),e.__options.repositionOnScroll)e.reposition(t);else{var n=s.origin.offset.left-e.__Geometry.origin.offset.left,i=s.origin.offset.top-e.__Geometry.origin.offset.top;e._$tooltip.css({left:e.__lastPosition.coord.left+n,top:e.__lastPosition.coord.top+i})}}e._trigger({type:"scroll",event:t,geo:s})}return e},__stateSet:function(t){return this.__state=t,this._trigger({type:"state",state:t}),this},__timeoutsClear:function(){return clearTimeout(this.__timeouts.open),this.__timeouts.open=null,k.each(this.__timeouts.close,function(t,e){clearTimeout(e)}),this.__timeouts.close=[],this},__trackerStart:function(){var i=this,o=i._$tooltip.find(".tooltipster-content");return i.__options.trackTooltip&&(i.__contentBcr=o[0].getBoundingClientRect()),i.__tracker=setInterval(function(){if(u(i._$origin)&&u(i._$tooltip)){if(i.__options.trackOrigin){var t=i.__geometry(),e=!1;r(t.origin.size,i.__Geometry.origin.size)&&(i.__Geometry.origin.fixedLineage?r(t.origin.windowOffset,i.__Geometry.origin.windowOffset)&&(e=!0):r(t.origin.offset,i.__Geometry.origin.offset)&&(e=!0)),e||(i.__options.triggerClose.mouseleave?i._close():i.reposition())}if(i.__options.trackTooltip){var n=o[0].getBoundingClientRect();n.height===i.__contentBcr.height&&n.width===i.__contentBcr.width||(i.reposition(),i.__contentBcr=n)}}else i._close()},i.__options.trackerInterval),i},_close:function(n,t,e){var i=this,o=!0;if(i._trigger({type:"close",event:n,stop:function(){o=!1}}),o||e){t&&i.__callbacks.close.push(t),i.__callbacks.open=[],i.__timeoutsClear();function r(){k.each(i.__callbacks.close,function(t,e){e.call(i,i,{event:n,origin:i._$origin[0]})}),i.__callbacks.close=[]}if("closed"!=i.__state){var s=!0,a=(new Date).getTime()+i.__options.animationDuration[1];if("disappearing"==i.__state&&a>i.__closingTime&&0").append(n.__Content).html()),e&&n._$origin.attr("title",e),n._$origin.removeClass("tooltipstered"),n._$origin.removeData("tooltipster-ns").removeData("tooltipster-initialTitle")}else t=k.grep(t,function(t,e){return t!==n.__namespace}),n._$origin.data("tooltipster-ns",t);n._trigger("destroyed"),n._off(),n.off(),n.__Content=null,n.__$emitterPrivate=null,n.__$emitterPublic=null,n.__options.parent=null,n._$origin=null,n._$tooltip=null,k.tooltipster.__instancesLatestArr=k.grep(k.tooltipster.__instancesLatestArr,function(t,e){return n!==t}),clearInterval(n.__garbageCollector)}return n},disable:function(){return this.__destroyed?this.__destroyError():(this._close(),this.__enabled=!1),this},elementOrigin:function(){return this.__destroyed?void this.__destroyError():this._$origin[0]},elementTooltip:function(){return this._$tooltip?this._$tooltip[0]:null},enable:function(){return this.__enabled=!0,this},hide:function(t){return this.close(t)},instance:function(){return this},off:function(){return this.__destroyed||this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},open:function(t){return this.__destroyed?this.__destroyError():this._open(null,t),this},option:function(t,e){return void 0===e?this.__options[t]:(this.__destroyed?this.__destroyError():(this.__options[t]=e,this.__optionsFormat(),0<=k.inArray(t,["trigger","triggerClose","triggerOpen"])&&this.__prepareOrigin(),"selfDestruction"===t&&this.__prepareGC()),this)},reposition:function(t,e){var n=this;return n.__destroyed?n.__destroyError():"closed"!=n.__state&&u(n._$origin)&&(e||u(n._$tooltip))&&(e||n._$tooltip.detach(),n.__Geometry=n.__geometry(),n._trigger({type:"reposition",event:t,helper:{geo:n.__Geometry}})),n},show:function(t){return this.open(t)},status:function(){return{destroyed:this.__destroyed,enabled:this.__enabled,open:"closed"!==this.__state,state:this.__state}},triggerHandler:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},k.fn.tooltipster=function(){var o=Array.prototype.slice.apply(arguments),i="You are using a single HTML element as content for several tooltips. You probably want to set the contentCloning option to TRUE.";if(0===this.length)return this;if("string"==typeof o[0]){var r="#*$~&";return this.each(function(){var t=k(this).data("tooltipster-ns"),e=t?k(this).data(t[0]):null;if(!e)throw new Error("You called Tooltipster's \""+o[0]+'" method on an uninitialized element');if("function"!=typeof e[o[0]])throw new Error('Unknown method "'+o[0]+'"');1').append(this.__$tooltip).appendTo(O.window.document.body)},__forceRedraw:function(){var t=this.__$tooltip.parent();this.__$tooltip.detach(),this.__$tooltip.appendTo(t)},constrain:function(t,e){return this.constraints={width:t,height:e},this.__$tooltip.css({display:"block",height:"",overflow:"auto",width:t}),this},destroy:function(){this.__$tooltip.detach().find(".tooltipster-content").css({display:"",overflow:""}),this.$container.remove()},free:function(){return this.constraints=null,this.__$tooltip.css({display:"",height:"",overflow:"visible",width:""}),this},measure:function(){this.__forceRedraw();var t=this.__$tooltip[0].getBoundingClientRect(),e={size:{height:t.height||t.bottom-t.top,width:t.width||t.right-t.left}};if(this.constraints){var n=this.__$tooltip.find(".tooltipster-content"),i=this.__$tooltip.outerHeight(),o=n[0].getBoundingClientRect(),r={height:i<=this.constraints.height,width:t.width<=this.constraints.width&&o.width>=n[0].scrollWidth-1};e.fits=r.height&&r.width}return O.IE&&O.IE<=11&&e.size.width!==O.window.document.documentElement.clientWidth&&(e.size.width=Math.ceil(e.size.width)+1),e}};var n=navigator.userAgent.toLowerCase();-1!=n.indexOf("msie")?O.IE=parseInt(n.split("msie")[1]):-1!==n.toLowerCase().indexOf("trident")&&-1!==n.indexOf(" rv:11")?O.IE=11:-1!=n.toLowerCase().indexOf("edge/")&&(O.IE=parseInt(n.toLowerCase().split("edge/")[1]));var i="tooltipster.sideTip";return k.tooltipster._plugin({name:i,instance:{__defaults:function(){return{arrow:!0,distance:6,functionPosition:null,maxWidth:null,minIntersection:16,minWidth:0,position:null,side:"top",viewportAware:!0}},__init:function(t){var e=this;e.__instance=t,e.__namespace="tooltipster-sideTip-"+Math.round(1e6*Math.random()),e.__previousState="closed",e.__options,e.__optionsFormat(),e.__instance._on("state."+e.__namespace,function(t){"closed"==t.state?e.__close():"appearing"==t.state&&"closed"==e.__previousState&&e.__create(),e.__previousState=t.state}),e.__instance._on("options."+e.__namespace,function(){e.__optionsFormat()}),e.__instance._on("reposition."+e.__namespace,function(t){e.__reposition(t.event,t.helper)})},__close:function(){this.__instance.content()instanceof k&&this.__instance.content().detach(),this.__instance._$tooltip.remove(),this.__instance._$tooltip=null},__create:function(){var t=k('
');this.__options.arrow||t.find(".tooltipster-box").css("margin",0).end().find(".tooltipster-arrow").hide(),this.__options.minWidth&&t.css("min-width",this.__options.minWidth+"px"),this.__options.maxWidth&&t.css("max-width",this.__options.maxWidth+"px"),this.__instance._$tooltip=t,this.__instance._trigger("created")},__destroy:function(){this.__instance._off("."+self.__namespace)},__optionsFormat:function(){var t=this;if(t.__options=t.__instance._optionsExtract(i,t.__defaults()),t.__options.position&&(t.__options.side=t.__options.position),"object"!=typeof t.__options.distance&&(t.__options.distance=[t.__options.distance]),t.__options.distance.length<4&&(void 0===t.__options.distance[1]&&(t.__options.distance[1]=t.__options.distance[0]),void 0===t.__options.distance[2]&&(t.__options.distance[2]=t.__options.distance[0]),void 0===t.__options.distance[3]&&(t.__options.distance[3]=t.__options.distance[1]),t.__options.distance={top:t.__options.distance[0],right:t.__options.distance[1],bottom:t.__options.distance[2],left:t.__options.distance[3]}),"string"==typeof t.__options.side){t.__options.side=[t.__options.side,{top:"bottom",right:"left",bottom:"top",left:"right"}[t.__options.side]],"left"==t.__options.side[0]||"right"==t.__options.side[0]?t.__options.side.push("top","bottom"):t.__options.side.push("right","left")}6===k.tooltipster._env.IE&&!0!==t.__options.arrow&&(t.__options.arrow=!1)},__reposition:function(l,c){var e,u=this,p=u.__targetFind(c),f=[];u.__instance._$tooltip.detach();var n=u.__instance._$tooltip.clone(),d=k.tooltipster._getRuler(n),h=!1,t=u.__instance.option("animation");switch(t&&n.removeClass("tooltipster-"+t),k.each(["window","document"],function(t,o){var r=null;if(u.__instance._trigger({container:o,helper:c,satisfied:h,takeTest:function(t){r=t},results:f,type:"positionTest"}),1==r||0!=r&&0==h&&("window"!=o||u.__options.viewportAware))for(t=0;t=n.outerSize.width&&c.geo.available[o][a].height>=n.outerSize.height?n.fits=!0:n.fits=!1:n.fits=i.fits,"window"==o&&(n.fits?n.whole="top"==a||"bottom"==a?c.geo.origin.windowOffset.right>=u.__options.minIntersection&&c.geo.window.size.width-c.geo.origin.windowOffset.left>=u.__options.minIntersection:c.geo.origin.windowOffset.bottom>=u.__options.minIntersection&&c.geo.window.size.height-c.geo.origin.windowOffset.top>=u.__options.minIntersection:n.whole=!1),f.push(n),n.whole)h=!0;else if("natural"==n.mode&&(n.fits||n.size.width<=c.geo.available[o][a].width))return!1}})}}),u.__instance._trigger({edit:function(t){f=t},event:l,helper:c,results:f,type:"positionTested"}),f.sort(function(t,e){return t.whole&&!e.whole?-1:!t.whole&&e.whole?1:t.whole&&e.whole?(n=u.__options.side.indexOf(t.side))<(i=u.__options.side.indexOf(e.side))?-1:ic.geo.window.size.width-e.size.width&&(c.geo.origin.windowOffset.left+this.__options.minIntersection<=c.geo.window.size.width?e.coord.left=c.geo.window.size.width-e.size.width:e.coord.left=c.geo.origin.windowOffset.left+this.__options.minIntersection+1-e.size.width):e.coord.top<0?0<=c.geo.origin.windowOffset.bottom-this.__options.minIntersection?e.coord.top=0:e.coord.top=c.geo.origin.windowOffset.bottom-this.__options.minIntersection-1:e.coord.top>c.geo.window.size.height-e.size.height&&(c.geo.origin.windowOffset.top+this.__options.minIntersection<=c.geo.window.size.height?e.coord.top=c.geo.window.size.height-e.size.height:e.coord.top=c.geo.origin.windowOffset.top+this.__options.minIntersection+1-e.size.height):(e.coord.left>c.geo.window.size.width-e.size.width&&(e.coord.left=c.geo.window.size.width-e.size.width),e.coord.left<0&&(e.coord.left=0)),u.__sideChange(n,e.side),c.tooltipClone=n[0],c.tooltipParent=u.__instance.option("parent").parent[0],c.mode=e.mode,c.whole=e.whole,c.origin=u.__instance._$origin[0],c.tooltip=u.__instance._$tooltip[0],delete e.container,delete e.fits,delete e.mode,delete e.outerSize,delete e.whole,e.distance=e.distance.horizontal||e.distance.vertical;var i,o,r,s=k.extend(!0,{},e);if(u.__instance._trigger({edit:function(t){e=t},event:l,helper:c,position:s,type:"position"}),u.__options.functionPosition){var a=u.__options.functionPosition.call(u,u.__instance,c,s);a&&(e=a)}d.destroy(),o="top"==e.side||"bottom"==e.side?(i={prop:"left",val:e.target-e.coord.left},e.size.width-this.__options.minIntersection):(i={prop:"top",val:e.target-e.coord.top},e.size.height-this.__options.minIntersection),i.valo&&(i.val=o),r=c.geo.origin.fixedLineage?c.geo.origin.windowOffset:{left:c.geo.origin.windowOffset.left+c.geo.window.scroll.left,top:c.geo.origin.windowOffset.top+c.geo.window.scroll.top},e.coord={left:r.left+(e.coord.left-c.geo.origin.windowOffset.left),top:r.top+(e.coord.top-c.geo.origin.windowOffset.top)},u.__sideChange(u.__instance._$tooltip,e.side),c.geo.origin.fixedLineage?u.__instance._$tooltip.css("position","fixed"):u.__instance._$tooltip.css("position",""),u.__instance._$tooltip.css({left:e.coord.left,top:e.coord.top,height:e.size.height,width:e.size.width}).find(".tooltipster-arrow").css({left:"",top:""}).css(i.prop,i.val),u.__instance._$tooltip.appendTo(u.__instance.option("parent")),u.__instance._trigger({type:"repositioned",event:l,position:e})},__sideChange:function(t,e){t.removeClass("tooltipster-bottom").removeClass("tooltipster-left").removeClass("tooltipster-right").removeClass("tooltipster-top").addClass("tooltipster-"+e)},__targetFind:function(t){var e={},n=this.__instance._$origin[0].getClientRects();1'):$("#currentThumb").html('Screenshot '+t+''),!1})},initHistoryPage=function(){"Android"===getMobileOperatingSystem()&&($(".jq_2013_ios").hide(),$(".jq_2013_Android").show())},initDownloadButtons=function(){var t=getMobileOperatingSystem();"Android"===t?($(".downloadButtons .dwnldBtnAmazon").show(),$(".downloadButtons .dwnldBtnAmazon").show()):"iOS"===t?($(".downloadButtons .dwnldBtniOS").show(),$(".downloadButtons2 .dwnldBtniOS").show()):"Mac"===t?($(".downloadButtons .dwnldBtnMac").show(),$(".downloadButtons2 .dwnldBtnMac").show()):($(".downloadButtons .dwnldBtnPC").show(),$(".downloadButtons2 .dwnldBtnPC").show()),$(".downloadButtons .dwnldBtnOnline").show(),$(".downloadButtons2 .dwnldBtnOnline").show()},initToolTips=function(){var t=getMobileOperatingSystem();"PC"!==t&&"Mac"!==t||$(".tooltip").tooltipster({maxWidth:600})},$(document).ready(function(){initScheenshotsPage(),initHistoryPage(),initDownloadButtons(),initToolTips(),$(".header .mob-menu-link").click(function(){return $(".header .mob-menu").toggle(),!1}),$(".dwnldBtnPC, .pc-download-link").click(function(){}),$(".dwnldBtnMac, .mac-download-link").click(function(){}),$(".dwnldBtniOS, .ios-download-link").click(function(){}),$(".online-play-link").click(function(){})});var getMobileOperatingSystem=function(){var t=navigator.userAgent||navigator.vendor||window.opera;return t.match(/iPad/i)||t.match(/iPhone/i)||t.match(/iPod/i)?"iOS":t.match(/Android/i)?"Android":t.match(/Mac/i)?"Mac":"PC"};