function debounce(t,e,i){var n;return function(){var r=this,o=arguments,s=i&&!n;clearTimeout(n),n=setTimeout(function(){n=null,i||t.apply(r,o)},e),s&&t.apply(r,o)}}function getCookie(t){for(var e=t+"=",i=document.cookie.split(";"),n=0;n0&&(t+="-overlay"),ga("send","event",t,e,i),o)return{c:t,a:e,l:i}}function modalClose(t){t="all"==t?$(".modal-overlay.active"):void 0!==t?t:$(".modal-overlay.active").not(".permalink"),$(".disable-during-modal").css({visibility:"visible"}),t.removeClass("active permalink"),t.attr("data-modaleventcategory",""),t.attr("data-modaleventaction",""),t.attr("data-modaleventlabel",""),"share"==t.attr("id")?$("#share").removeAttr("data-customshare-url data-customshare-title"):"finder"==t.attr("id")?setTimeout(function(){$(".finder-results-container, .finder-results, .finder-results-details").removeClass("active"),$("#finder-matches-list, .finder-results-details-info").empty()},550):"video"==t.attr("id")?setTimeout(function(){$("#video .container").empty()},350):"zoom"==t.attr("id")?setTimeout(function(){$("#zoom .modal-inner").empty()},350):"volunteer-orientations"==t.attr("id")&&setTimeout(function(){$(".checklist .unchecked-item").addClass("animated-checklist-item checked").removeClass("unchecked-item")},750),setTimeout(function(){t.removeClass("ready")},550)}function modalLaunch(t,e,i,n){t.hasClass("ready")||(modalClose(),t.addClass("ready"),void 0!==e&&t.attr("data-modaleventcategory",e),void 0!==i&&t.attr("data-modaleventaction",i),void 0!==n&&t.attr("data-modaleventlabel",n),setTimeout(function(){t.addClass("active")},50),setTimeout(function(){$(".disable-during-modal").css({visibility:"hidden"})},250))}function scrollToTarget(t,e,i){e=void 0!==e?e:1e3,i=void 0===i||i;var n=t.offset().top+$(".content-scrollable").scrollTop()-$("#wpadminbar").height()-$(".component-menu-drawer").height()+1;t.hasClass("accordion-trigger")&&t.click();var r=$(".content-scrollable");0==e?r.scrollTop(n):r.animate({scrollTop:n},e,"easeInOutQuint")}function sectionAccordionAncestryCheck(t){var e=t.closest(".accordion-item");return e.length>0&&!e.hasClass("active")}function setBreakpoint(){var t=window.getComputedStyle(document.head,null).getPropertyValue("font-family");breakpoint=void 0!=t?t:"desktop"}function cleanHTMLString(t,e){var i=stripTags(t,e);return i=i.replace(" "," "),i=i.replace(/[\n\r]/g,""),i=i.replace(/<\s*p.*?>/g,"

"),i=i.replace(/(

(?:\s)*<\/p>)+/g,""),i=i.replace(/(<\/p>(?:\s)*(?:)*(?:\s)*)+/g,"
")}function stripTags(t,e){e=(((e||"")+"").toLowerCase().match(/<[a-z][a-z0-9]*>/g)||[]).join("");var i=/<\/?([a-z][a-z0-9]*)\b[^>]*>/gi,n=/|<\?(?:php)?[\s\S]*?\?>/gi;return t.replace(n,"").replace(i,function(t,i){return e.indexOf("<"+i.toLowerCase()+">")>-1?t:""})}function getClosestFlickityIndex(t,e,i){var n=t+i;return Math.abs(n-e)confettiW+50||e.x<-50||e.y>confettiH+50)&&(t%5>0||t%2==0?particles[t]={x:Math.random()*confettiW,y:-10,r:e.r,d:e.d,color:e.color,tilt:Math.floor(10*Math.random())-10,tiltAngle:e.tiltAngle,tiltAngleIncremental:e.tiltAngleIncremental}:Math.sin(angle)>0?particles[t]={x:-5,y:Math.random()*confettiH,r:e.r,d:e.d,color:e.color,tilt:Math.floor(10*Math.random())-10,tiltAngleIncremental:e.tiltAngleIncremental}:particles[t]={x:confettiW+5,y:Math.random()*confettiH,r:e.r,d:e.d,color:e.color,tilt:Math.floor(10*Math.random())-10,tiltAngleIncremental:e.tiltAngleIncremental})}}function StartConfetti(){confettiMaxParticles="phone"==breakpoint?30:"tablet"==breakpoint?45:60,confettiW=window.innerWidth,confettiH=window.innerHeight,confettiCanvas.width=confettiW,confettiCanvas.height=confettiH,confettiHandler=setInterval(confettiDraw,15)}function StopConfetti(){clearTimeout(confettiHandler),void 0!=confettiCtx&&confettiCtx.clearRect(0,0,confettiW,confettiH)}function shareLink(t){var e=document.title,i=location.href,n=$("#share").attr("data-customshare-title"),r=$("#share").attr("data-customshare-url"),o=void 0!=n&&""!=n?n+" | "+site_base_title:e,s=void 0!=r&&""!=r?(r+"").indexOf("://")<0?site_base_url+r:r:i;switch(t){case"facebook":window.open("https://www.facebook.com/sharer.php?u="+encodeURIComponent(s)+"&t="+encodeURIComponent(o),"fbshare","toolbar=0,status=0,width=626,height=436");break;case"twitter":window.open("https://twitter.com/intent/tweet?text="+encodeURIComponent(o)+"+"+encodeURIComponent(s),"twshare","toolbar=0,status=0,width=550,height=420");break;case"email":window.location.href="mailto:?subject="+encodeURIComponent(o)+"&Body="+encodeURIComponent(s)}return captureAnalyticsEvent($("#share").attr("data-modaleventcategory"),$("#share").attr("data-modaleventaction")+"-"+t,$("#share").attr("data-modaleventlabel")),!1}!function(t,e){"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(t,e){function i(t){var e=!!t&&"length"in t&&t.length,i=ut.type(t);return"function"!==i&&!ut.isWindow(t)&&("array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t)}function n(t,e,i){if(ut.isFunction(e))return ut.grep(t,function(t,n){return!!e.call(t,n,t)!==i});if(e.nodeType)return ut.grep(t,function(t){return t===e!==i});if("string"==typeof e){if(_t.test(e))return ut.filter(e,t,i);e=ut.filter(e,t)}return ut.grep(t,function(t){return ut.inArray(t,e)>-1!==i})}function r(t,e){do{t=t[e]}while(t&&1!==t.nodeType);return t}function o(t){var e={};return ut.each(t.match(St)||[],function(t,i){e[i]=!0}),e}function s(){it.addEventListener?(it.removeEventListener("DOMContentLoaded",a),t.removeEventListener("load",a)):(it.detachEvent("onreadystatechange",a),t.detachEvent("onload",a))}function a(){(it.addEventListener||"load"===t.event.type||"complete"===it.readyState)&&(s(),ut.ready())}function l(t,e,i){if(void 0===i&&1===t.nodeType){var n="data-"+e.replace(Dt,"-$1").toLowerCase();if("string"==typeof(i=t.getAttribute(n))){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:Ot.test(i)?ut.parseJSON(i):i)}catch(t){}ut.data(t,e,i)}else i=void 0}return i}function c(t){var e;for(e in t)if(("data"!==e||!ut.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function d(t,e,i,n){if(Et(t)){var r,o,s=ut.expando,a=t.nodeType,l=a?ut.cache:t,c=a?t[s]:t[s]&&s;if(c&&l[c]&&(n||l[c].data)||void 0!==i||"string"!=typeof e)return c||(c=a?t[s]=et.pop()||ut.guid++:s),l[c]||(l[c]=a?{}:{toJSON:ut.noop}),"object"!=typeof e&&"function"!=typeof e||(n?l[c]=ut.extend(l[c],e):l[c].data=ut.extend(l[c].data,e)),o=l[c],n||(o.data||(o.data={}),o=o.data),void 0!==i&&(o[ut.camelCase(e)]=i),"string"==typeof e?null==(r=o[e])&&(r=o[ut.camelCase(e)]):r=o,r}}function u(t,e,i){if(Et(t)){var n,r,o=t.nodeType,s=o?ut.cache:t,a=o?t[ut.expando]:ut.expando;if(s[a]){if(e&&(n=i?s[a]:s[a].data)){r=(e=ut.isArray(e)?e.concat(ut.map(e,ut.camelCase)):e in n?[e]:(e=ut.camelCase(e))in n?[e]:e.split(" ")).length;for(;r--;)delete n[e[r]];if(i?!c(n):!ut.isEmptyObject(n))return}(i||(delete s[a].data,c(s[a])))&&(o?ut.cleanData([t],!0):dt.deleteExpando||s!=s.window?delete s[a]:s[a]=void 0)}}}function h(t,e,i,n){var r,o=1,s=20,a=n?function(){return n.cur()}:function(){return ut.css(t,e,"")},l=a(),c=i&&i[3]||(ut.cssNumber[e]?"":"px"),d=(ut.cssNumber[e]||"px"!==c&&+l)&&It.exec(ut.css(t,e));if(d&&d[3]!==c){c=c||d[3],i=i||[],d=+l||1;do{d/=o=o||".5",ut.style(t,e,d+c)}while(o!==(o=a()/l)&&1!==o&&--s)}return i&&(d=+d||+l||0,r=i[1]?d+(i[1]+1)*i[2]:+i[2],n&&(n.unit=c,n.start=d,n.end=r)),r}function p(t){var e=qt.split("|"),i=t.createDocumentFragment();if(i.createElement)for(;e.length;)i.createElement(e.pop());return i}function f(t,e){var i,n,r=0,o=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):void 0;if(!o)for(o=[],i=t.childNodes||t;null!=(n=i[r]);r++)!e||ut.nodeName(n,e)?o.push(n):ut.merge(o,f(n,e));return void 0===e||e&&ut.nodeName(t,e)?ut.merge([t],o):o}function m(t,e){for(var i,n=0;null!=(i=t[n]);n++)ut._data(i,"globalEval",!e||ut._data(e[n],"globalEval"))}function g(t){Nt.test(t.type)&&(t.defaultChecked=t.checked)}function v(t,e,i,n,r){for(var o,s,a,l,c,d,u,h=t.length,v=p(e),y=[],w=0;w"!==u[1]||Bt.test(s)?0:l:l.firstChild)&&s.childNodes.length;o--;)ut.nodeName(d=s.childNodes[o],"tbody")&&!d.childNodes.length&&s.removeChild(d);for(ut.merge(y,l.childNodes),l.textContent="";l.firstChild;)l.removeChild(l.firstChild);l=v.lastChild}else y.push(e.createTextNode(s));for(l&&v.removeChild(l),dt.appendChecked||ut.grep(f(y,"input"),g),w=0;s=y[w++];)if(n&&ut.inArray(s,n)>-1)r&&r.push(s);else if(a=ut.contains(s.ownerDocument,s),l=f(v.appendChild(s),"script"),a&&m(l),i)for(o=0;s=l[o++];)Ft.test(s.type||"")&&i.push(s);return l=null,v}function y(){return!0}function w(){return!1}function b(){try{return it.activeElement}catch(t){}}function _(t,e,i,n,r,o){var s,a;if("object"==typeof e){"string"!=typeof i&&(n=n||i,i=void 0);for(a in e)_(t,a,i,n,e[a],o);return t}if(null==n&&null==r?(r=i,n=i=void 0):null==r&&("string"==typeof i?(r=n,n=void 0):(r=n,n=i,i=void 0)),!1===r)r=w;else if(!r)return t;return 1===o&&(s=r,(r=function(t){return ut().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=ut.guid++)),t.each(function(){ut.event.add(this,e,r,n,i)})}function x(t,e){return ut.nodeName(t,"table")&&ut.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function T(t){return t.type=(null!==ut.find.attr(t,"type"))+"/"+t.type,t}function C(t){var e=ee.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function k(t,e){if(1===e.nodeType&&ut.hasData(t)){var i,n,r,o=ut._data(t),s=ut._data(e,o),a=o.events;if(a){delete s.handle,s.events={};for(i in a)for(n=0,r=a[i].length;n1&&"string"==typeof p&&!dt.checkClone&&te.test(p))return t.each(function(r){var o=t.eq(r);m&&(e[0]=p.call(this,r,o.html())),A(o,e,i,n)});if(u&&(c=v(e,t[0].ownerDocument,!1,t,n),r=c.firstChild,1===c.childNodes.length&&(c=r),r||n)){for(s=(a=ut.map(f(c,"script"),T)).length;d")).appendTo(e.documentElement))[0].contentWindow||re[0].contentDocument).document).write(),e.close(),i=E(t,e),re.detach()),oe[t]=i),i}function D(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}function L(t){if(t in be)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),i=we.length;i--;)if((t=we[i]+e)in be)return t}function I(t,e){for(var i,n,r,o=[],s=0,a=t.length;s=0&&i=0},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},isPlainObject:function(t){var e;if(!t||"object"!==ut.type(t)||t.nodeType||ut.isWindow(t))return!1;try{if(t.constructor&&!ct.call(t,"constructor")&&!ct.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}if(!dt.ownFirst)for(e in t)return ct.call(t,e);for(e in t);return void 0===e||ct.call(t,e)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?at[lt.call(t)]||"object":typeof t},globalEval:function(e){e&&ut.trim(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},camelCase:function(t){return t.replace(pt,"ms-").replace(ft,mt)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e){var n,r=0;if(i(t))for(n=t.length;rb.cacheLength&&delete t[e.shift()],t[i+" "]=n}var e=[];return t}function n(t){return t[N]=!0,t}function r(t){var e=O.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var i=t.split("|"),n=i.length;n--;)b.attrHandle[i[n]]=e}function s(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||U)-(~t.sourceIndex||U);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function a(t){return n(function(e){return e=+e,n(function(i,n){for(var r,o=t([],i.length,e),s=o.length;s--;)i[r=o[s]]&&(i[r]=!(n[r]=i[r]))})})}function l(t){return t&&void 0!==t.getElementsByTagName&&t}function c(){}function d(t){for(var e=0,i=t.length,n="";e1?function(e,i,n){for(var r=t.length;r--;)if(!t[r](e,i,n))return!1;return!0}:t[0]}function p(t,i,n){for(var r=0,o=i.length;r-1&&(n[c]=!(s[c]=u))}}else w=f(w===s?w.splice(g,w.length):w),o?o(null,s,w,l):G.apply(s,w)})}function g(t){for(var e,i,n,r=t.length,o=b.relative[t[0].type],s=o||b.relative[" "],a=o?1:0,l=u(function(t){return t===e},s,!0),c=u(function(t){return K(e,t)>-1},s,!0),p=[function(t,i,n){var r=!o&&(n||i!==S)||((e=i).nodeType?l(t,i,n):c(t,i,n));return e=null,r}];a1&&h(p),a>1&&d(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(ot,"$1"),i,a0,o=t.length>0,s=function(n,s,a,l,c){var d,u,h,p=0,m="0",g=n&&[],v=[],y=S,w=n||o&&b.find.TAG("*",c),_=F+=null==y?1:Math.random()||.1,x=w.length;for(c&&(S=s===O||s||c);m!==x&&null!=(d=w[m]);m++){if(o&&d){for(u=0,s||d.ownerDocument===O||(E(d),a=!L);h=t[u++];)if(h(d,s||O,a)){l.push(d);break}c&&(F=_)}r&&((d=!h&&d)&&p--,n&&g.push(d))}if(p+=m,r&&m!==p){for(u=0;h=i[u++];)h(g,v,s,a);if(n){if(p>0)for(;m--;)g[m]||v[m]||(v[m]=Y.call(l));v=f(v)}G.apply(l,v),c&&!n&&v.length>0&&p+i.length>1&&e.uniqueSort(l)}return c&&(F=_,S=y),g};return r?n(s):s}var y,w,b,_,x,T,C,k,S,A,P,E,O,D,L,I,z,j,$,N="sizzle"+1*new Date,M=t.document,F=0,R=0,q=i(),H=i(),W=i(),B=function(t,e){return t===e&&(P=!0),0},U=1<<31,Q={}.hasOwnProperty,X=[],Y=X.pop,V=X.push,G=X.push,Z=X.slice,K=function(t,e){for(var i=0,n=t.length;i+~]|"+tt+")"+tt+"*"),lt=new RegExp("="+tt+"*([^\\]'\"]*?)"+tt+"*\\]","g"),ct=new RegExp(nt),dt=new RegExp("^"+et+"$"),ut={ID:new RegExp("^#("+et+")"),CLASS:new RegExp("^\\.("+et+")"),TAG:new RegExp("^("+et+"|[*])"),ATTR:new RegExp("^"+it),PSEUDO:new RegExp("^"+nt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+tt+"*(even|odd|(([+-]|)(\\d*)n|)"+tt+"*(?:([+-]|)"+tt+"*(\\d+)|))"+tt+"*\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+tt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+tt+"*((?:-\\d)?\\d*)"+tt+"*\\)|)(?=[^-]|$)","i")},ht=/^(?:input|select|textarea|button)$/i,pt=/^h\d$/i,ft=/^[^{]+\{\s*\[native \w/,mt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,gt=/[+~]/,vt=/'|\\/g,yt=new RegExp("\\\\([\\da-f]{1,6}"+tt+"?|("+tt+")|.)","ig"),wt=function(t,e,i){var n="0x"+e-65536;return n!==n||i?e:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},bt=function(){E()};try{G.apply(X=Z.call(M.childNodes),M.childNodes),X[M.childNodes.length].nodeType}catch(t){G={apply:X.length?function(t,e){V.apply(t,Z.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}w=e.support={},x=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},E=e.setDocument=function(t){var e,i,n=t?t.ownerDocument||t:M;return n!==O&&9===n.nodeType&&n.documentElement?(O=n,D=O.documentElement,L=!x(O),(i=O.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",bt,!1):i.attachEvent&&i.attachEvent("onunload",bt)),w.attributes=r(function(t){return t.className="i",!t.getAttribute("className")}),w.getElementsByTagName=r(function(t){return t.appendChild(O.createComment("")),!t.getElementsByTagName("*").length}),w.getElementsByClassName=ft.test(O.getElementsByClassName),w.getById=r(function(t){return D.appendChild(t).id=N,!O.getElementsByName||!O.getElementsByName(N).length}),w.getById?(b.find.ID=function(t,e){if(void 0!==e.getElementById&&L){var i=e.getElementById(t);return i?[i]:[]}},b.filter.ID=function(t){var e=t.replace(yt,wt);return function(t){return t.getAttribute("id")===e}}):(delete b.find.ID,b.filter.ID=function(t){var e=t.replace(yt,wt);return function(t){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}}),b.find.TAG=w.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):w.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;i=o[r++];)1===i.nodeType&&n.push(i);return n}return o},b.find.CLASS=w.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&L)return e.getElementsByClassName(t)},z=[],I=[],(w.qsa=ft.test(O.querySelectorAll))&&(r(function(t){D.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&I.push("[*^$]="+tt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||I.push("\\["+tt+"*(?:value|"+J+")"),t.querySelectorAll("[id~="+N+"-]").length||I.push("~="),t.querySelectorAll(":checked").length||I.push(":checked"),t.querySelectorAll("a#"+N+"+*").length||I.push(".#.+[+~]")}),r(function(t){var e=O.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&I.push("name"+tt+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||I.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),I.push(",.*:")})),(w.matchesSelector=ft.test(j=D.matches||D.webkitMatchesSelector||D.mozMatchesSelector||D.oMatchesSelector||D.msMatchesSelector))&&r(function(t){w.disconnectedMatch=j.call(t,"div"),j.call(t,"[s!='']:x"),z.push("!=",nt)}),I=I.length&&new RegExp(I.join("|")),z=z.length&&new RegExp(z.join("|")),e=ft.test(D.compareDocumentPosition),$=e||ft.test(D.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},B=e?function(t,e){if(t===e)return P=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!w.sortDetached&&e.compareDocumentPosition(t)===i?t===O||t.ownerDocument===M&&$(M,t)?-1:e===O||e.ownerDocument===M&&$(M,e)?1:A?K(A,t)-K(A,e):0:4&i?-1:1)}:function(t,e){if(t===e)return P=!0,0;var i,n=0,r=t.parentNode,o=e.parentNode,a=[t],l=[e];if(!r||!o)return t===O?-1:e===O?1:r?-1:o?1:A?K(A,t)-K(A,e):0;if(r===o)return s(t,e);for(i=t;i=i.parentNode;)a.unshift(i);for(i=e;i=i.parentNode;)l.unshift(i);for(;a[n]===l[n];)n++;return n?s(a[n],l[n]):a[n]===M?-1:l[n]===M?1:0},O):O},e.matches=function(t,i){return e(t,null,null,i)},e.matchesSelector=function(t,i){if((t.ownerDocument||t)!==O&&E(t),i=i.replace(lt,"='$1']"),w.matchesSelector&&L&&!W[i+" "]&&(!z||!z.test(i))&&(!I||!I.test(i)))try{var n=j.call(t,i);if(n||w.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return e(i,O,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==O&&E(t),$(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==O&&E(t);var i=b.attrHandle[e.toLowerCase()],n=i&&Q.call(b.attrHandle,e.toLowerCase())?i(t,e,!L):void 0;return void 0!==n?n:w.attributes||!L?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,i=[],n=0,r=0;if(P=!w.detectDuplicates,A=!w.sortStable&&t.slice(0),t.sort(B),P){for(;e=t[r++];)e===t[r]&&(n=i.push(r));for(;n--;)t.splice(i[n],1)}return A=null,t},_=e.getText=function(t){var e,i="",n=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=_(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[n++];)i+=_(e);return i},(b=e.selectors={cacheLength:50,createPseudo:n,match:ut,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(yt,wt),t[3]=(t[3]||t[4]||t[5]||"").replace(yt,wt),"~="===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]||e.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]&&e.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return ut.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&ct.test(i)&&(e=T(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(yt,wt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=q[t+" "];return e||(e=new RegExp("(^|"+tt+")"+t+"("+tt+"|$)"))&&q(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(r){var o=e.attr(r,t);return null==o?"!="===i:!i||(o+="","="===i?o===n:"!="===i?o!==n:"^="===i?n&&0===o.indexOf(n):"*="===i?n&&o.indexOf(n)>-1:"$="===i?n&&o.slice(-n.length)===n:"~="===i?(" "+o.replace(rt," ")+" ").indexOf(n)>-1:"|="===i&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,i,n,r){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===n&&0===r?function(t){return!!t.parentNode}:function(e,i,l){var c,d,u,h,p,f,m=o!==s?"nextSibling":"previousSibling",g=e.parentNode,v=a&&e.nodeName.toLowerCase(),y=!l&&!a,w=!1;if(g){if(o){for(;m;){for(h=e;h=h[m];)if(a?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;f=m="only"===t&&!f&&"nextSibling"}return!0}if(f=[s?g.firstChild:g.lastChild],s&&y){for(w=(p=(c=(d=(u=(h=g)[N]||(h[N]={}))[h.uniqueID]||(u[h.uniqueID]={}))[t]||[])[0]===F&&c[1])&&c[2],h=p&&g.childNodes[p];h=++p&&h&&h[m]||(w=p=0)||f.pop();)if(1===h.nodeType&&++w&&h===e){d[t]=[F,p,w];break}}else if(y&&(w=p=(c=(d=(u=(h=e)[N]||(h[N]={}))[h.uniqueID]||(u[h.uniqueID]={}))[t]||[])[0]===F&&c[1]),!1===w)for(;(h=++p&&h&&h[m]||(w=p=0)||f.pop())&&((a?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++w||(y&&((d=(u=h[N]||(h[N]={}))[h.uniqueID]||(u[h.uniqueID]={}))[t]=[F,w]),h!==e)););return(w-=r)===n||w%n==0&&w/n>=0}}},PSEUDO:function(t,i){var r,o=b.pseudos[t]||b.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[N]?o(i):o.length>1?(r=[t,t,"",i],b.setFilters.hasOwnProperty(t.toLowerCase())?n(function(t,e){for(var n,r=o(t,i),s=r.length;s--;)t[n=K(t,r[s])]=!(e[n]=r[s])}):function(t){return o(t,0,r)}):o}},pseudos:{not:n(function(t){var e=[],i=[],r=C(t.replace(ot,"$1"));return r[N]?n(function(t,e,i,n){for(var o,s=r(t,null,n,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))}):function(t,n,o){return e[0]=t,r(e,null,o,i),e[0]=null,!i.pop()}}),has:n(function(t){return function(i){return e(t,i).length>0}}),contains:n(function(t){return t=t.replace(yt,wt),function(e){return(e.textContent||e.innerText||_(e)).indexOf(t)>-1}}),lang:n(function(t){return dt.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(yt,wt).toLowerCase(),function(e){var i;do{if(i=L?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(i=i.toLowerCase())===t||0===i.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===D},focus:function(t){return t===O.activeElement&&(!O.hasFocus||O.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!b.pseudos.empty(t)},header:function(t){return pt.test(t.nodeName)},input:function(t){return ht.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:a(function(){return[0]}),last:a(function(t,e){return[e-1]}),eq:a(function(t,e,i){return[i<0?i+e:i]}),even:a(function(t,e){for(var i=0;i=0;)t.push(n);return t}),gt:a(function(t,e,i){for(var n=i<0?i+e:i;++n2&&"ID"===(s=o[0]).type&&w.getById&&9===e.nodeType&&L&&b.relative[o[1].type]){if(!(e=(b.find.ID(s.matches[0].replace(yt,wt),e)||[])[0]))return i;u&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(r=ut.needsContext.test(t)?0:o.length;r--&&(s=o[r],!b.relative[a=s.type]);)if((c=b.find[a])&&(n=c(s.matches[0].replace(yt,wt),gt.test(o[0].type)&&l(e.parentNode)||e))){if(o.splice(r,1),!(t=n.length&&d(o)))return G.apply(i,n),i;break}}return(u||C(t,h))(n,e,!L,i,!e||gt.test(t)&&l(e.parentNode)||e),i},w.sortStable=N.split("").sort(B).join("")===N,w.detectDuplicates=!!P,E(),w.sortDetached=r(function(t){return 1&t.compareDocumentPosition(O.createElement("div"))}),r(function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,e,i){if(!i)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),w.attributes&&r(function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,e,i){if(!i&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),r(function(t){return null==t.getAttribute("disabled")})||o(J,function(t,e,i){var n;if(!i)return!0===t[e]?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null}),e}(t);ut.find=gt,ut.expr=gt.selectors,ut.expr[":"]=ut.expr.pseudos,ut.uniqueSort=ut.unique=gt.uniqueSort,ut.text=gt.getText,ut.isXMLDoc=gt.isXML,ut.contains=gt.contains;var vt=function(t,e,i){for(var n=[],r=void 0!==i;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&ut(t).is(i))break;n.push(t)}return n},yt=function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i},wt=ut.expr.match.needsContext,bt=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,_t=/^.[^:#\[\.,]*$/;ut.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?ut.find.matchesSelector(n,t)?[n]:[]:ut.find.matches(t,ut.grep(e,function(t){return 1===t.nodeType}))},ut.fn.extend({find:function(t){var e,i=[],n=this,r=n.length;if("string"!=typeof t)return this.pushStack(ut(t).filter(function(){for(e=0;e1?ut.unique(i):i),i.selector=this.selector?this.selector+" "+t:t,i},filter:function(t){return this.pushStack(n(this,t||[],!1))},not:function(t){return this.pushStack(n(this,t||[],!0))},is:function(t){return!!n(this,"string"==typeof t&&wt.test(t)?ut(t):t||[],!1).length}});var xt,Tt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(ut.fn.init=function(t,e,i){var n,r;if(!t)return this;if(i=i||xt,"string"==typeof t){if(!(n="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:Tt.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof ut?e[0]:e,ut.merge(this,ut.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:it,!0)),bt.test(n[1])&&ut.isPlainObject(e))for(n in e)ut.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}if((r=it.getElementById(n[2]))&&r.parentNode){if(r.id!==n[2])return xt.find(t);this.length=1,this[0]=r}return this.context=it,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):ut.isFunction(t)?void 0!==i.ready?i.ready(t):t(ut):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),ut.makeArray(t,this))}).prototype=ut.fn,xt=ut(it);var Ct=/^(?:parents|prev(?:Until|All))/,kt={children:!0,contents:!0,next:!0,prev:!0};ut.fn.extend({has:function(t){var e,i=ut(t,this),n=i.length;return this.filter(function(){for(e=0;e-1:1===i.nodeType&&ut.find.matchesSelector(i,t))){o.push(i);break}return this.pushStack(o.length>1?ut.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?ut.inArray(this[0],ut(t)):ut.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(ut.uniqueSort(ut.merge(this.get(),ut(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),ut.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return vt(t,"parentNode")},parentsUntil:function(t,e,i){return vt(t,"parentNode",i)},next:function(t){return r(t,"nextSibling")},prev:function(t){return r(t,"previousSibling")},nextAll:function(t){return vt(t,"nextSibling")},prevAll:function(t){return vt(t,"previousSibling")},nextUntil:function(t,e,i){return vt(t,"nextSibling",i)},prevUntil:function(t,e,i){return vt(t,"previousSibling",i)},siblings:function(t){return yt((t.parentNode||{}).firstChild,t)},children:function(t){return yt(t.firstChild)},contents:function(t){return ut.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:ut.merge([],t.childNodes)}},function(t,e){ut.fn[t]=function(i,n){var r=ut.map(this,e,i);return"Until"!==t.slice(-5)&&(n=i),n&&"string"==typeof n&&(r=ut.filter(n,r)),this.length>1&&(kt[t]||(r=ut.uniqueSort(r)),Ct.test(t)&&(r=r.reverse())),this.pushStack(r)}});var St=/\S+/g;ut.Callbacks=function(t){t="string"==typeof t?o(t):ut.extend({},t);var e,i,n,r,s=[],a=[],l=-1,c=function(){for(r=t.once,n=e=!0;a.length;l=-1)for(i=a.shift();++l-1;)s.splice(i,1),i<=l&&l--}),this},has:function(t){return t?ut.inArray(t,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return r=a=[],s=i="",this},disabled:function(){return!s},lock:function(){return r=!0,i||d.disable(),this},locked:function(){return!!r},fireWith:function(t,i){return r||(i=[t,(i=i||[]).slice?i.slice():i],a.push(i),e||c()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!n}};return d},ut.extend({Deferred:function(t){var e=[["resolve","done",ut.Callbacks("once memory"),"resolved"],["reject","fail",ut.Callbacks("once memory"),"rejected"],["notify","progress",ut.Callbacks("memory")]],i="pending",n={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return ut.Deferred(function(i){ut.each(e,function(e,o){var s=ut.isFunction(t[e])&&t[e];r[o[1]](function(){var t=s&&s.apply(this,arguments);t&&ut.isFunction(t.promise)?t.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[o[0]+"With"](this===n?i.promise():this,s?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?ut.extend(t,n):n}},r={};return n.pipe=n.then,ut.each(e,function(t,o){var s=o[2],a=o[3];n[o[1]]=s.add,a&&s.add(function(){i=a},e[1^t][2].disable,e[2][2].lock),r[o[0]]=function(){return r[o[0]+"With"](this===r?n:this,arguments),this},r[o[0]+"With"]=s.fireWith}),n.promise(r),t&&t.call(r,r),r},when:function(t){var e,i,n,r=0,o=nt.call(arguments),s=o.length,a=1!==s||t&&ut.isFunction(t.promise)?s:0,l=1===a?t:ut.Deferred(),c=function(t,i,n){return function(r){i[t]=this,n[t]=arguments.length>1?nt.call(arguments):r,n===e?l.notifyWith(i,n):--a||l.resolveWith(i,n)}};if(s>1)for(e=new Array(s),i=new Array(s),n=new Array(s);r0||(At.resolveWith(it,[ut]),ut.fn.triggerHandler&&(ut(it).triggerHandler("ready"),ut(it).off("ready"))))}}),ut.ready.promise=function(e){if(!At)if(At=ut.Deferred(),"complete"===it.readyState||"loading"!==it.readyState&&!it.documentElement.doScroll)t.setTimeout(ut.ready);else if(it.addEventListener)it.addEventListener("DOMContentLoaded",a),t.addEventListener("load",a);else{it.attachEvent("onreadystatechange",a),t.attachEvent("onload",a);var i=!1;try{i=null==t.frameElement&&it.documentElement}catch(t){}i&&i.doScroll&&function e(){if(!ut.isReady){try{i.doScroll("left")}catch(i){return t.setTimeout(e,50)}s(),ut.ready()}}()}return At.promise(e)},ut.ready.promise();var Pt;for(Pt in ut(dt))break;dt.ownFirst="0"===Pt,dt.inlineBlockNeedsLayout=!1,ut(function(){var t,e,i,n;(i=it.getElementsByTagName("body")[0])&&i.style&&(e=it.createElement("div"),(n=it.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",i.appendChild(n).appendChild(e),void 0!==e.style.zoom&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",dt.inlineBlockNeedsLayout=t=3===e.offsetWidth,t&&(i.style.zoom=1)),i.removeChild(n))}),function(){var t=it.createElement("div");dt.deleteExpando=!0;try{delete t.test}catch(t){dt.deleteExpando=!1}t=null}();var Et=function(t){var e=ut.noData[(t.nodeName+" ").toLowerCase()],i=+t.nodeType||1;return(1===i||9===i)&&(!e||!0!==e&&t.getAttribute("classid")===e)},Ot=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Dt=/([A-Z])/g;ut.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return!!(t=t.nodeType?ut.cache[t[ut.expando]]:t[ut.expando])&&!c(t)},data:function(t,e,i){return d(t,e,i)},removeData:function(t,e){return u(t,e)},_data:function(t,e,i){return d(t,e,i,!0)},_removeData:function(t,e){return u(t,e,!0)}}),ut.fn.extend({data:function(t,e){var i,n,r,o=this[0],s=o&&o.attributes;if(void 0===t){if(this.length&&(r=ut.data(o),1===o.nodeType&&!ut._data(o,"parsedAttrs"))){for(i=s.length;i--;)s[i]&&0===(n=s[i].name).indexOf("data-")&&l(o,n=ut.camelCase(n.slice(5)),r[n]);ut._data(o,"parsedAttrs",!0)}return r}return"object"==typeof t?this.each(function(){ut.data(this,t)}):arguments.length>1?this.each(function(){ut.data(this,t,e)}):o?l(o,t,ut.data(o,t)):void 0},removeData:function(t){return this.each(function(){ut.removeData(this,t)})}}),ut.extend({queue:function(t,e,i){var n;if(t)return e=(e||"fx")+"queue",n=ut._data(t,e),i&&(!n||ut.isArray(i)?n=ut._data(t,e,ut.makeArray(i)):n.push(i)),n||[]},dequeue:function(t,e){e=e||"fx";var i=ut.queue(t,e),n=i.length,r=i.shift(),o=ut._queueHooks(t,e);"inprogress"===r&&(r=i.shift(),n--),r&&("fx"===e&&i.unshift("inprogress"),delete o.stop,r.call(t,function(){ut.dequeue(t,e)},o)),!n&&o&&o.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return ut._data(t,i)||ut._data(t,i,{empty:ut.Callbacks("once memory").add(function(){ut._removeData(t,e+"queue"),ut._removeData(t,i)})})}}),ut.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.length
a",dt.leadingWhitespace=3===t.firstChild.nodeType,dt.tbody=!t.getElementsByTagName("tbody").length,dt.htmlSerialize=!!t.getElementsByTagName("link").length,dt.html5Clone="<:nav>"!==it.createElement("nav").cloneNode(!0).outerHTML,i.type="checkbox",i.checked=!0,e.appendChild(i),dt.appendChecked=i.checked,t.innerHTML="",dt.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,e.appendChild(t),(i=it.createElement("input")).setAttribute("type","radio"),i.setAttribute("checked","checked"),i.setAttribute("name","t"),t.appendChild(i),dt.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,dt.noCloneEvent=!!t.addEventListener,t[ut.expando]=1,dt.attributes=!t.getAttribute(ut.expando)}();var Ht={option:[1,""],legend:[1,"

","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:dt.htmlSerialize?[0,"",""]:[1,"X
","
"]};Ht.optgroup=Ht.option,Ht.tbody=Ht.tfoot=Ht.colgroup=Ht.caption=Ht.thead,Ht.th=Ht.td;var Wt=/<|&#?\w+;/,Bt=/-1&&(p=(f=p.split(".")).shift(),f.sort()),s=p.indexOf(":")<0&&"on"+p,e=e[ut.expando]?e:new ut.Event(p,"object"==typeof e&&e),e.isTrigger=r?2:3,e.namespace=f.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),i=null==i?[e]:ut.makeArray(i,[e]),c=ut.event.special[p]||{},r||!c.trigger||!1!==c.trigger.apply(n,i))){if(!r&&!c.noBubble&&!ut.isWindow(n)){for(l=c.delegateType||p,Yt.test(l+p)||(a=a.parentNode);a;a=a.parentNode)h.push(a),d=a;d===(n.ownerDocument||it)&&h.push(d.defaultView||d.parentWindow||t)}for(u=0;(a=h[u++])&&!e.isPropagationStopped();)e.type=u>1?l:c.bindType||p,(o=(ut._data(a,"events")||{})[e.type]&&ut._data(a,"handle"))&&o.apply(a,i),(o=s&&a[s])&&o.apply&&Et(a)&&(e.result=o.apply(a,i),!1===e.result&&e.preventDefault());if(e.type=p,!r&&!e.isDefaultPrevented()&&(!c._default||!1===c._default.apply(h.pop(),i))&&Et(n)&&s&&n[p]&&!ut.isWindow(n)){(d=n[s])&&(n[s]=null),ut.event.triggered=p;try{n[p]()}catch(t){}ut.event.triggered=void 0,d&&(n[s]=d)}return e.result}},dispatch:function(t){t=ut.event.fix(t);var e,i,n,r,o,s=[],a=nt.call(arguments),l=(ut._data(this,"events")||{})[t.type]||[],c=ut.event.special[t.type]||{};if(a[0]=t,t.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,t)){for(s=ut.event.handlers.call(this,t,l),e=0;(r=s[e++])&&!t.isPropagationStopped();)for(t.currentTarget=r.elem,i=0;(o=r.handlers[i++])&&!t.isImmediatePropagationStopped();)t.rnamespace&&!t.rnamespace.test(o.namespace)||(t.handleObj=o,t.data=o.data,void 0!==(n=((ut.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,a))&&!1===(t.result=n)&&(t.preventDefault(),t.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(t,e){var i,n,r,o,s=[],a=e.delegateCount,l=t.target;if(a&&l.nodeType&&("click"!==t.type||isNaN(t.button)||t.button<1))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==t.type)){for(n=[],i=0;i-1:ut.find(r,this,null,[l]).length),n[r]&&n.push(o);n.length&&s.push({elem:l,handlers:n})}return a]","i"),Kt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Jt=/\s*$/g,ne=p(it).appendChild(it.createElement("div"));ut.extend({htmlPrefilter:function(t){return t.replace(Kt,"<$1>")},clone:function(t,e,i){var n,r,o,s,a,l=ut.contains(t.ownerDocument,t);if(dt.html5Clone||ut.isXMLDoc(t)||!Zt.test("<"+t.nodeName+">")?o=t.cloneNode(!0):(ne.innerHTML=t.outerHTML,ne.removeChild(o=ne.firstChild)),!(dt.noCloneEvent&&dt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||ut.isXMLDoc(t)))for(n=f(o),a=f(t),s=0;null!=(r=a[s]);++s)n[s]&&S(r,n[s]);if(e)if(i)for(a=a||f(t),n=n||f(o),s=0;null!=(r=a[s]);s++)k(r,n[s]);else k(t,o);return(n=f(o,"script")).length>0&&m(n,!l&&f(t,"script")),n=a=r=null,o},cleanData:function(t,e){for(var i,n,r,o,s=0,a=ut.expando,l=ut.cache,c=dt.attributes,d=ut.event.special;null!=(i=t[s]);s++)if((e||Et(i))&&(r=i[a],o=r&&l[r])){if(o.events)for(n in o.events)d[n]?ut.event.remove(i,n):ut.removeEvent(i,n,o.handle);l[r]&&(delete l[r],c||void 0===i.removeAttribute?i[a]=void 0:i.removeAttribute(a),et.push(r))}}}),ut.fn.extend({domManip:A,detach:function(t){return P(this,t,!0)},remove:function(t){return P(this,t)},text:function(t){return $t(this,function(t){return void 0===t?ut.text(this):this.empty().append((this[0]&&this[0].ownerDocument||it).createTextNode(t))},null,t,arguments.length)},append:function(){return A(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||x(this,t).appendChild(t)})},prepend:function(){return A(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=x(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return A(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return A(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&ut.cleanData(f(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&ut.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return ut.clone(this,t,e)})},html:function(t){return $t(this,function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(Gt,""):void 0;if("string"==typeof t&&!Jt.test(t)&&(dt.htmlSerialize||!Zt.test(t))&&(dt.leadingWhitespace||!Rt.test(t))&&!Ht[(Mt.exec(t)||["",""])[1].toLowerCase()]){t=ut.htmlPrefilter(t);try{for(;it",c.childNodes[0].style.borderCollapse="separate",(e=c.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",(o=0===e[0].offsetHeight)&&(e[0].style.display="",e[1].style.display="none",o=0===e[0].offsetHeight)),u.removeChild(l)}var i,n,r,o,s,a,l=it.createElement("div"),c=it.createElement("div");c.style&&(c.style.cssText="float:left;opacity:.5",dt.opacity="0.5"===c.style.opacity,dt.cssFloat=!!c.style.cssFloat,c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",dt.clearCloneStyle="content-box"===c.style.backgroundClip,(l=it.createElement("div")).style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",c.innerHTML="",l.appendChild(c),dt.boxSizing=""===c.style.boxSizing||""===c.style.MozBoxSizing||""===c.style.WebkitBoxSizing,ut.extend(dt,{reliableHiddenOffsets:function(){return null==i&&e(),o},boxSizingReliable:function(){return null==i&&e(),r},pixelMarginRight:function(){return null==i&&e(),n},pixelPosition:function(){return null==i&&e(),i},reliableMarginRight:function(){return null==i&&e(),s},reliableMarginLeft:function(){return null==i&&e(),a}}))}();var de,ue,he=/^(top|right|bottom|left)$/;t.getComputedStyle?(de=function(e){var i=e.ownerDocument.defaultView;return i&&i.opener||(i=t),i.getComputedStyle(e)},ue=function(t,e,i){var n,r,o,s,a=t.style;return i=i||de(t),""!==(s=i?i.getPropertyValue(e)||i[e]:void 0)&&void 0!==s||ut.contains(t.ownerDocument,t)||(s=ut.style(t,e)),i&&!dt.pixelMarginRight()&&ae.test(s)&&se.test(e)&&(n=a.width,r=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=i.width,a.width=n,a.minWidth=r,a.maxWidth=o),void 0===s?s:s+""}):ce.currentStyle&&(de=function(t){return t.currentStyle},ue=function(t,e,i){var n,r,o,s,a=t.style;return i=i||de(t),null==(s=i?i[e]:void 0)&&a&&a[e]&&(s=a[e]),ae.test(s)&&!he.test(e)&&(n=a.left,(o=(r=t.runtimeStyle)&&r.left)&&(r.left=t.currentStyle.left),a.left="fontSize"===e?"1em":s,s=a.pixelLeft+"px",a.left=n,o&&(r.left=o)),void 0===s?s:s+""||"auto"});var pe=/alpha\([^)]*\)/i,fe=/opacity\s*=\s*([^)]*)/i,me=/^(none|table(?!-c[ea]).+)/,ge=new RegExp("^("+Lt+")(.*)$","i"),ve={position:"absolute",visibility:"hidden",display:"block"},ye={letterSpacing:"0",fontWeight:"400"},we=["Webkit","O","Moz","ms"],be=it.createElement("div").style;ut.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=ue(t,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:dt.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,s,a=ut.camelCase(e),l=t.style;if(e=ut.cssProps[a]||(ut.cssProps[a]=L(a)||a),s=ut.cssHooks[e]||ut.cssHooks[a],void 0===i)return s&&"get"in s&&void 0!==(r=s.get(t,!1,n))?r:l[e];if("string"==(o=typeof i)&&(r=It.exec(i))&&r[1]&&(i=h(t,e,r),o="number"),null!=i&&i===i&&("number"===o&&(i+=r&&r[3]||(ut.cssNumber[a]?"":"px")),dt.clearCloneStyle||""!==i||0!==e.indexOf("background")||(l[e]="inherit"),!(s&&"set"in s&&void 0===(i=s.set(t,i,n)))))try{l[e]=i}catch(t){}}},css:function(t,e,i,n){var r,o,s,a=ut.camelCase(e);return e=ut.cssProps[a]||(ut.cssProps[a]=L(a)||a),(s=ut.cssHooks[e]||ut.cssHooks[a])&&"get"in s&&(o=s.get(t,!0,i)),void 0===o&&(o=ue(t,e,n)),"normal"===o&&e in ye&&(o=ye[e]),""===i||i?(r=parseFloat(o),!0===i||isFinite(r)?r||0:o):o}}),ut.each(["height","width"],function(t,e){ut.cssHooks[e]={get:function(t,i,n){if(i)return me.test(ut.css(t,"display"))&&0===t.offsetWidth?le(t,ve,function(){return $(t,e,n)}):$(t,e,n)},set:function(t,i,n){var r=n&&de(t);return z(0,i,n?j(t,e,n,dt.boxSizing&&"border-box"===ut.css(t,"boxSizing",!1,r),r):0)}}}),dt.opacity||(ut.cssHooks.opacity={get:function(t,e){return fe.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var i=t.style,n=t.currentStyle,r=ut.isNumeric(e)?"alpha(opacity="+100*e+")":"",o=n&&n.filter||i.filter||"";i.zoom=1,(e>=1||""===e)&&""===ut.trim(o.replace(pe,""))&&i.removeAttribute&&(i.removeAttribute("filter"),""===e||n&&!n.filter)||(i.filter=pe.test(o)?o.replace(pe,r):o+" "+r)}}),ut.cssHooks.marginRight=D(dt.reliableMarginRight,function(t,e){if(e)return le(t,{display:"inline-block"},ue,[t,"marginRight"])}),ut.cssHooks.marginLeft=D(dt.reliableMarginLeft,function(t,e){if(e)return(parseFloat(ue(t,"marginLeft"))||(ut.contains(t.ownerDocument,t)?t.getBoundingClientRect().left-le(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}):0))+"px"}),ut.each({margin:"",padding:"",border:"Width"},function(t,e){ut.cssHooks[t+e]={expand:function(i){for(var n=0,r={},o="string"==typeof i?i.split(" "):[i];n<4;n++)r[t+zt[n]+e]=o[n]||o[n-2]||o[0];return r}},se.test(t)||(ut.cssHooks[t+e].set=z)}),ut.fn.extend({css:function(t,e){return $t(this,function(t,e,i){var n,r,o={},s=0;if(ut.isArray(e)){for(n=de(t),r=e.length;s1)},show:function(){return I(this,!0)},hide:function(){return I(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){jt(this)?ut(this).show():ut(this).hide()})}}),ut.Tween=N,N.prototype={constructor:N,init:function(t,e,i,n,r,o){this.elem=t,this.prop=i,this.easing=r||ut.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=o||(ut.cssNumber[i]?"":"px")},cur:function(){var t=N.propHooks[this.prop];return t&&t.get?t.get(this):N.propHooks._default.get(this)},run:function(t){var e,i=N.propHooks[this.prop];return this.options.duration?this.pos=e=ut.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):N.propHooks._default.set(this),this}},N.prototype.init.prototype=N.prototype,N.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=ut.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){ut.fx.step[t.prop]?ut.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[ut.cssProps[t.prop]]&&!ut.cssHooks[t.prop]?t.elem[t.prop]=t.now:ut.style(t.elem,t.prop,t.now+t.unit)}}},N.propHooks.scrollTop=N.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},ut.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},ut.fx=N.prototype.init,ut.fx.step={};var _e,xe,Te=/^(?:toggle|show|hide)$/,Ce=/queueHooks$/;ut.Animation=ut.extend(H,{tweeners:{"*":[function(t,e){var i=this.createTween(t,e);return h(i.elem,t,It.exec(e),i),i}]},tweener:function(t,e){ut.isFunction(t)?(e=t,t=["*"]):t=t.match(St);for(var i,n=0,r=t.length;n
a",t=i.getElementsByTagName("a")[0],e.setAttribute("type","checkbox"),i.appendChild(e),(t=i.getElementsByTagName("a")[0]).style.cssText="top:1px",dt.getSetAttribute="t"!==i.className,dt.style=/top/.test(t.getAttribute("style")),dt.hrefNormalized="/a"===t.getAttribute("href"),dt.checkOn=!!e.value,dt.optSelected=r.selected,dt.enctype=!!it.createElement("form").enctype,n.disabled=!0,dt.optDisabled=!r.disabled,(e=it.createElement("input")).setAttribute("value",""),dt.input=""===e.getAttribute("value"),e.value="t",e.setAttribute("type","radio"),dt.radioValue="t"===e.value}();var ke=/\r/g,Se=/[\x20\t\r\n\f]+/g;ut.fn.extend({val:function(t){var e,i,n,r=this[0];{if(arguments.length)return n=ut.isFunction(t),this.each(function(i){var r;1===this.nodeType&&(null==(r=n?t.call(this,i,ut(this).val()):t)?r="":"number"==typeof r?r+="":ut.isArray(r)&&(r=ut.map(r,function(t){return null==t?"":t+""})),(e=ut.valHooks[this.type]||ut.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))});if(r)return(e=ut.valHooks[r.type]||ut.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(i=e.get(r,"value"))?i:"string"==typeof(i=r.value)?i.replace(ke,""):null==i?"":i}}}),ut.extend({valHooks:{option:{get:function(t){var e=ut.find.attr(t,"value");return null!=e?e:ut.trim(ut.text(t)).replace(Se," ")}},select:{get:function(t){for(var e,i,n=t.options,r=t.selectedIndex,o="select-one"===t.type||r<0,s=o?null:[],a=o?r+1:n.length,l=r<0?a:o?r:0;l-1)try{n.selected=i=!0}catch(t){n.scrollHeight}else n.selected=!1;return i||(t.selectedIndex=-1),r}}}}),ut.each(["radio","checkbox"],function(){ut.valHooks[this]={set:function(t,e){if(ut.isArray(e))return t.checked=ut.inArray(ut(t).val(),e)>-1}},dt.checkOn||(ut.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var Ae,Pe,Ee=ut.expr.attrHandle,Oe=/^(?:checked|selected)$/i,De=dt.getSetAttribute,Le=dt.input;ut.fn.extend({attr:function(t,e){return $t(this,ut.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){ut.removeAttr(this,t)})}}),ut.extend({attr:function(t,e,i){var n,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?ut.prop(t,e,i):(1===o&&ut.isXMLDoc(t)||(e=e.toLowerCase(),r=ut.attrHooks[e]||(ut.expr.match.bool.test(e)?Pe:Ae)),void 0!==i?null===i?void ut.removeAttr(t,e):r&&"set"in r&&void 0!==(n=r.set(t,i,e))?n:(t.setAttribute(e,i+""),i):r&&"get"in r&&null!==(n=r.get(t,e))?n:null==(n=ut.find.attr(t,e))?void 0:n)},attrHooks:{type:{set:function(t,e){if(!dt.radioValue&&"radio"===e&&ut.nodeName(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},removeAttr:function(t,e){var i,n,r=0,o=e&&e.match(St);if(o&&1===t.nodeType)for(;i=o[r++];)n=ut.propFix[i]||i,ut.expr.match.bool.test(i)?Le&&De||!Oe.test(i)?t[n]=!1:t[ut.camelCase("default-"+i)]=t[n]=!1:ut.attr(t,i,""),t.removeAttribute(De?i:n)}}),Pe={set:function(t,e,i){return!1===e?ut.removeAttr(t,i):Le&&De||!Oe.test(i)?t.setAttribute(!De&&ut.propFix[i]||i,i):t[ut.camelCase("default-"+i)]=t[i]=!0,i}},ut.each(ut.expr.match.bool.source.match(/\w+/g),function(t,e){var i=Ee[e]||ut.find.attr;Le&&De||!Oe.test(e)?Ee[e]=function(t,e,n){var r,o;return n||(o=Ee[e],Ee[e]=r,r=null!=i(t,e,n)?e.toLowerCase():null,Ee[e]=o),r}:Ee[e]=function(t,e,i){if(!i)return t[ut.camelCase("default-"+e)]?e.toLowerCase():null}}),Le&&De||(ut.attrHooks.value={set:function(t,e,i){if(!ut.nodeName(t,"input"))return Ae&&Ae.set(t,e,i);t.defaultValue=e}}),De||(Ae={set:function(t,e,i){var n=t.getAttributeNode(i);if(n||t.setAttributeNode(n=t.ownerDocument.createAttribute(i)),n.value=e+="","value"===i||e===t.getAttribute(i))return e}},Ee.id=Ee.name=Ee.coords=function(t,e,i){var n;if(!i)return(n=t.getAttributeNode(e))&&""!==n.value?n.value:null},ut.valHooks.button={get:function(t,e){var i=t.getAttributeNode(e);if(i&&i.specified)return i.value},set:Ae.set},ut.attrHooks.contenteditable={set:function(t,e,i){Ae.set(t,""!==e&&e,i)}},ut.each(["width","height"],function(t,e){ut.attrHooks[e]={set:function(t,i){if(""===i)return t.setAttribute(e,"auto"),i}}})),dt.style||(ut.attrHooks.style={get:function(t){return t.style.cssText||void 0},set:function(t,e){return t.style.cssText=e+""}});var Ie=/^(?:input|select|textarea|button|object)$/i,ze=/^(?:a|area)$/i;ut.fn.extend({prop:function(t,e){return $t(this,ut.prop,t,e,arguments.length>1)},removeProp:function(t){return t=ut.propFix[t]||t,this.each(function(){try{this[t]=void 0,delete this[t]}catch(t){}})}}),ut.extend({prop:function(t,e,i){var n,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ut.isXMLDoc(t)||(e=ut.propFix[e]||e,r=ut.propHooks[e]),void 0!==i?r&&"set"in r&&void 0!==(n=r.set(t,i,e))?n:t[e]=i:r&&"get"in r&&null!==(n=r.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=ut.find.attr(t,"tabindex");return e?parseInt(e,10):Ie.test(t.nodeName)||ze.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),dt.hrefNormalized||ut.each(["href","src"],function(t,e){ut.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),dt.optSelected||(ut.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),ut.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ut.propFix[this.toLowerCase()]=this}),dt.enctype||(ut.propFix.enctype="encoding");var je=/[\t\r\n\f]/g;ut.fn.extend({addClass:function(t){var e,i,n,r,o,s,a,l=0;if(ut.isFunction(t))return this.each(function(e){ut(this).addClass(t.call(this,e,W(this)))});if("string"==typeof t&&t)for(e=t.match(St)||[];i=this[l++];)if(r=W(i),n=1===i.nodeType&&(" "+r+" ").replace(je," ")){for(s=0;o=e[s++];)n.indexOf(" "+o+" ")<0&&(n+=o+" ");r!==(a=ut.trim(n))&&ut.attr(i,"class",a)}return this},removeClass:function(t){var e,i,n,r,o,s,a,l=0;if(ut.isFunction(t))return this.each(function(e){ut(this).removeClass(t.call(this,e,W(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(St)||[];i=this[l++];)if(r=W(i),n=1===i.nodeType&&(" "+r+" ").replace(je," ")){for(s=0;o=e[s++];)for(;n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");r!==(a=ut.trim(n))&&ut.attr(i,"class",a)}return this},toggleClass:function(t,e){var i=typeof t;return"boolean"==typeof e&&"string"===i?e?this.addClass(t):this.removeClass(t):ut.isFunction(t)?this.each(function(i){ut(this).toggleClass(t.call(this,i,W(this),e),e)}):this.each(function(){var e,n,r,o;if("string"===i)for(n=0,r=ut(this),o=t.match(St)||[];e=o[n++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else void 0!==t&&"boolean"!==i||((e=W(this))&&ut._data(this,"__className__",e),ut.attr(this,"class",e||!1===t?"":ut._data(this,"__className__")||""))})},hasClass:function(t){var e,i,n=0;for(e=" "+t+" ";i=this[n++];)if(1===i.nodeType&&(" "+W(i)+" ").replace(je," ").indexOf(e)>-1)return!0;return!1}}),ut.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){ut.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}}),ut.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}});var $e=t.location,Ne=ut.now(),Me=/\?/,Fe=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;ut.parseJSON=function(e){if(t.JSON&&t.JSON.parse)return t.JSON.parse(e+"");var i,n=null,r=ut.trim(e+"");return r&&!ut.trim(r.replace(Fe,function(t,e,r,o){return i&&e&&(n=0),0===n?t:(i=r||e,n+=!o-!r,"")}))?Function("return "+r)():ut.error("Invalid JSON: "+e)},ut.parseXML=function(e){var i,n;if(!e||"string"!=typeof e)return null;try{t.DOMParser?(n=new t.DOMParser,i=n.parseFromString(e,"text/xml")):((i=new t.ActiveXObject("Microsoft.XMLDOM")).async="false",i.loadXML(e))}catch(t){i=void 0}return i&&i.documentElement&&!i.getElementsByTagName("parsererror").length||ut.error("Invalid XML: "+e),i};var Re=/#.*$/,qe=/([?&])_=[^&]*/,He=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,We=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Be=/^(?:GET|HEAD)$/,Ue=/^\/\//,Qe=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Xe={},Ye={},Ve="*/".concat("*"),Ge=$e.href,Ze=Qe.exec(Ge.toLowerCase())||[];ut.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ge,type:"GET",isLocal:We.test(Ze[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ve,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":ut.parseJSON,"text xml":ut.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Q(Q(t,ut.ajaxSettings),e):Q(ut.ajaxSettings,t)},ajaxPrefilter:B(Xe),ajaxTransport:B(Ye),ajax:function(e,i){function n(e,i,n,r){var o,u,y,w,_,T=i;2!==b&&(b=2,l&&t.clearTimeout(l),d=void 0,a=r||"",x.readyState=e>0?4:0,o=e>=200&&e<300||304===e,n&&(w=X(h,x,n)),w=Y(h,w,x,o),o?(h.ifModified&&((_=x.getResponseHeader("Last-Modified"))&&(ut.lastModified[s]=_),(_=x.getResponseHeader("etag"))&&(ut.etag[s]=_)),204===e||"HEAD"===h.type?T="nocontent":304===e?T="notmodified":(T=w.state,u=w.data,o=!(y=w.error))):(y=T,!e&&T||(T="error",e<0&&(e=0))),x.status=e,x.statusText=(i||T)+"",o?m.resolveWith(p,[u,T,x]):m.rejectWith(p,[x,T,y]),x.statusCode(v),v=void 0,c&&f.trigger(o?"ajaxSuccess":"ajaxError",[x,h,o?u:y]),g.fireWith(p,[x,T]),c&&(f.trigger("ajaxComplete",[x,h]),--ut.active||ut.event.trigger("ajaxStop")))}"object"==typeof e&&(i=e,e=void 0),i=i||{};var r,o,s,a,l,c,d,u,h=ut.ajaxSetup({},i),p=h.context||h,f=h.context&&(p.nodeType||p.jquery)?ut(p):ut.event,m=ut.Deferred(),g=ut.Callbacks("once memory"),v=h.statusCode||{},y={},w={},b=0,_="canceled",x={readyState:0,getResponseHeader:function(t){var e;if(2===b){if(!u)for(u={};e=He.exec(a);)u[e[1].toLowerCase()]=e[2];e=u[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(t,e){var i=t.toLowerCase();return b||(t=w[i]=w[i]||t,y[t]=e),this},overrideMimeType:function(t){return b||(h.mimeType=t),this},statusCode:function(t){var e;if(t)if(b<2)for(e in t)v[e]=[v[e],t[e]];else x.always(t[x.status]);return this},abort:function(t){var e=t||_;return d&&d.abort(e),n(0,e),this}};if(m.promise(x).complete=g.add,x.success=x.done,x.error=x.fail,h.url=((e||h.url||Ge)+"").replace(Re,"").replace(Ue,Ze[1]+"//"),h.type=i.method||i.type||h.method||h.type,h.dataTypes=ut.trim(h.dataType||"*").toLowerCase().match(St)||[""],null==h.crossDomain&&(r=Qe.exec(h.url.toLowerCase()),h.crossDomain=!(!r||r[1]===Ze[1]&&r[2]===Ze[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(Ze[3]||("http:"===Ze[1]?"80":"443")))),h.data&&h.processData&&"string"!=typeof h.data&&(h.data=ut.param(h.data,h.traditional)),U(Xe,h,i,x),2===b)return x;(c=ut.event&&h.global)&&0==ut.active++&&ut.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Be.test(h.type),s=h.url,h.hasContent||(h.data&&(s=h.url+=(Me.test(s)?"&":"?")+h.data,delete h.data),!1===h.cache&&(h.url=qe.test(s)?s.replace(qe,"$1_="+Ne++):s+(Me.test(s)?"&":"?")+"_="+Ne++)),h.ifModified&&(ut.lastModified[s]&&x.setRequestHeader("If-Modified-Since",ut.lastModified[s]),ut.etag[s]&&x.setRequestHeader("If-None-Match",ut.etag[s])),(h.data&&h.hasContent&&!1!==h.contentType||i.contentType)&&x.setRequestHeader("Content-Type",h.contentType),x.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Ve+"; q=0.01":""):h.accepts["*"]);for(o in h.headers)x.setRequestHeader(o,h.headers[o]);if(h.beforeSend&&(!1===h.beforeSend.call(p,x,h)||2===b))return x.abort();_="abort";for(o in{success:1,error:1,complete:1})x[o](h[o]);if(d=U(Ye,h,i,x)){if(x.readyState=1,c&&f.trigger("ajaxSend",[x,h]),2===b)return x;h.async&&h.timeout>0&&(l=t.setTimeout(function(){x.abort("timeout")},h.timeout));try{b=1,d.send(y,n)}catch(t){if(!(b<2))throw t;n(-1,t)}}else n(-1,"No Transport");return x},getJSON:function(t,e,i){return ut.get(t,e,i,"json")},getScript:function(t,e){return ut.get(t,void 0,e,"script")}}),ut.each(["get","post"],function(t,e){ut[e]=function(t,i,n,r){return ut.isFunction(i)&&(r=r||n,n=i,i=void 0),ut.ajax(ut.extend({url:t,type:e,dataType:r,data:i,success:n},ut.isPlainObject(t)&&t))}}),ut._evalUrl=function(t){return ut.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},ut.fn.extend({wrapAll:function(t){if(ut.isFunction(t))return this.each(function(e){ut(this).wrapAll(t.call(this,e))});if(this[0]){var e=ut(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(t){return ut.isFunction(t)?this.each(function(e){ut(this).wrapInner(t.call(this,e))}):this.each(function(){var e=ut(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)})},wrap:function(t){var e=ut.isFunction(t);return this.each(function(i){ut(this).wrapAll(e?t.call(this,i):t)})},unwrap:function(){return this.parent().each(function(){ut.nodeName(this,"body")||ut(this).replaceWith(this.childNodes)}).end()}}),ut.expr.filters.hidden=function(t){return dt.reliableHiddenOffsets()?t.offsetWidth<=0&&t.offsetHeight<=0&&!t.getClientRects().length:G(t)},ut.expr.filters.visible=function(t){return!ut.expr.filters.hidden(t)};var Ke=/%20/g,Je=/\[\]$/,ti=/\r?\n/g,ei=/^(?:submit|button|image|reset|file)$/i,ii=/^(?:input|select|textarea|keygen)/i;ut.param=function(t,e){var i,n=[],r=function(t,e){e=ut.isFunction(e)?e():null==e?"":e,n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=ut.ajaxSettings&&ut.ajaxSettings.traditional),ut.isArray(t)||t.jquery&&!ut.isPlainObject(t))ut.each(t,function(){r(this.name,this.value)});else for(i in t)Z(i,t[i],e,r);return n.join("&").replace(Ke,"+")},ut.fn.extend({serialize:function(){return ut.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=ut.prop(this,"elements");return t?ut.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!ut(this).is(":disabled")&&ii.test(this.nodeName)&&!ei.test(t)&&(this.checked||!Nt.test(t))}).map(function(t,e){var i=ut(this).val();return null==i?null:ut.isArray(i)?ut.map(i,function(t){return{name:e.name,value:t.replace(ti,"\r\n")}}):{name:e.name,value:i.replace(ti,"\r\n")}}).get()}}),ut.ajaxSettings.xhr=void 0!==t.ActiveXObject?function(){return this.isLocal?J():it.documentMode>8?K():/^(get|post|head|put|delete|options)$/i.test(this.type)&&K()||J()}:K;var ni=0,ri={},oi=ut.ajaxSettings.xhr();t.attachEvent&&t.attachEvent("onunload",function(){for(var t in ri)ri[t](void 0,!0)}),dt.cors=!!oi&&"withCredentials"in oi,(oi=dt.ajax=!!oi)&&ut.ajaxTransport(function(e){if(!e.crossDomain||dt.cors){var i;return{send:function(n,r){var o,s=e.xhr(),a=++ni;if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)s[o]=e.xhrFields[o];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(o in n)void 0!==n[o]&&s.setRequestHeader(o,n[o]+"");s.send(e.hasContent&&e.data||null),i=function(t,n){var o,l,c;if(i&&(n||4===s.readyState))if(delete ri[a],i=void 0,s.onreadystatechange=ut.noop,n)4!==s.readyState&&s.abort();else{c={},o=s.status,"string"==typeof s.responseText&&(c.text=s.responseText);try{l=s.statusText}catch(t){l=""}o||!e.isLocal||e.crossDomain?1223===o&&(o=204):o=c.text?200:404}c&&r(o,l,c,s.getAllResponseHeaders())},e.async?4===s.readyState?t.setTimeout(i):s.onreadystatechange=ri[a]=i:i()},abort:function(){i&&i(void 0,!0)}}}}),ut.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return ut.globalEval(t),t}}}),ut.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),ut.ajaxTransport("script",function(t){if(t.crossDomain){var e,i=it.head||ut("head")[0]||it.documentElement;return{send:function(n,r){(e=it.createElement("script")).async=!0,t.scriptCharset&&(e.charset=t.scriptCharset),e.src=t.url,e.onload=e.onreadystatechange=function(t,i){(i||!e.readyState||/loaded|complete/.test(e.readyState))&&(e.onload=e.onreadystatechange=null,e.parentNode&&e.parentNode.removeChild(e),e=null,i||r(200,"success"))},i.insertBefore(e,i.firstChild)},abort:function(){e&&e.onload(void 0,!0)}}}});var si=[],ai=/(=)\?(?=&|$)|\?\?/;ut.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=si.pop()||ut.expando+"_"+Ne++;return this[t]=!0,t}}),ut.ajaxPrefilter("json jsonp",function(e,i,n){var r,o,s,a=!1!==e.jsonp&&(ai.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&ai.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=ut.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(ai,"$1"+r):!1!==e.jsonp&&(e.url+=(Me.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||ut.error(r+" was not called"),s[0]},e.dataTypes[0]="json",o=t[r],t[r]=function(){s=arguments},n.always(function(){void 0===o?ut(t).removeProp(r):t[r]=o,e[r]&&(e.jsonpCallback=i.jsonpCallback,si.push(r)),s&&ut.isFunction(o)&&o(s[0]),s=o=void 0}),"script"}),ut.parseHTML=function(t,e,i){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(i=e,e=!1),e=e||it;var n=bt.exec(t),r=!i&&[];return n?[e.createElement(n[1])]:(n=v([t],e,r),r&&r.length&&ut(r).remove(),ut.merge([],n.childNodes))};var li=ut.fn.load;ut.fn.load=function(t,e,i){if("string"!=typeof t&&li)return li.apply(this,arguments);var n,r,o,s=this,a=t.indexOf(" ");return a>-1&&(n=ut.trim(t.slice(a,t.length)),t=t.slice(0,a)),ut.isFunction(e)?(i=e,e=void 0):e&&"object"==typeof e&&(r="POST"),s.length>0&&ut.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done(function(t){o=arguments,s.html(n?ut("
").append(ut.parseHTML(t)).find(n):t)}).always(i&&function(t,e){s.each(function(){i.apply(this,o||[t.responseText,e,t])})}),this},ut.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){ut.fn[e]=function(t){return this.on(e,t)}}),ut.expr.filters.animated=function(t){return ut.grep(ut.timers,function(e){return t===e.elem}).length},ut.offset={setOffset:function(t,e,i){var n,r,o,s,a,l,c=ut.css(t,"position"),d=ut(t),u={};"static"===c&&(t.style.position="relative"),a=d.offset(),o=ut.css(t,"top"),l=ut.css(t,"left"),("absolute"===c||"fixed"===c)&&ut.inArray("auto",[o,l])>-1?(s=(n=d.position()).top,r=n.left):(s=parseFloat(o)||0,r=parseFloat(l)||0),ut.isFunction(e)&&(e=e.call(t,i,ut.extend({},a))),null!=e.top&&(u.top=e.top-a.top+s),null!=e.left&&(u.left=e.left-a.left+r),"using"in e?e.using.call(t,u):d.css(u)}},ut.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ut.offset.setOffset(this,t,e)});var e,i,n={top:0,left:0},r=this[0],o=r&&r.ownerDocument;if(o)return e=o.documentElement,ut.contains(e,r)?(void 0!==r.getBoundingClientRect&&(n=r.getBoundingClientRect()),i=tt(o),{top:n.top+(i.pageYOffset||e.scrollTop)-(e.clientTop||0),left:n.left+(i.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):n},position:function(){if(this[0]){var t,e,i={top:0,left:0},n=this[0];return"fixed"===ut.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),ut.nodeName(t[0],"html")||(i=t.offset()),i.top+=ut.css(t[0],"borderTopWidth",!0),i.left+=ut.css(t[0],"borderLeftWidth",!0)),{top:e.top-i.top-ut.css(n,"marginTop",!0),left:e.left-i.left-ut.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&!ut.nodeName(t,"html")&&"static"===ut.css(t,"position");)t=t.offsetParent;return t||ce})}}),ut.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var i=/Y/.test(e);ut.fn[t]=function(n){return $t(this,function(t,n,r){var o=tt(t);if(void 0===r)return o?e in o?o[e]:o.document.documentElement[n]:t[n];o?o.scrollTo(i?ut(o).scrollLeft():r,i?r:ut(o).scrollTop()):t[n]=r},t,n,arguments.length,null)}}),ut.each(["top","left"],function(t,e){ut.cssHooks[e]=D(dt.pixelPosition,function(t,i){if(i)return i=ue(t,e),ae.test(i)?ut(t).position()[e]+"px":i})}),ut.each({Height:"height",Width:"width"},function(t,e){ut.each({padding:"inner"+t,content:e,"":"outer"+t},function(i,n){ut.fn[n]=function(n,r){var o=arguments.length&&(i||"boolean"!=typeof n),s=i||(!0===n||!0===r?"margin":"border");return $t(this,function(e,i,n){var r;return ut.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===n?ut.css(e,i,s):ut.style(e,i,n,s)},e,o?n:void 0,o,null)}})}),ut.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)}}),ut.fn.size=function(){return this.length},ut.fn.andSelf=ut.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return ut});var ci=t.jQuery,di=t.$;return ut.noConflict=function(e){return t.$===ut&&(t.$=di),e&&t.jQuery===ut&&(t.jQuery=ci),ut},e||(t.jQuery=t.$=ut),ut}),function(t){"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e)}):"object"==typeof module&&"object"==typeof module.exports?exports=t(require("jquery")):t(jQuery)}(function(t){function e(t){var e=7.5625,i=2.75;return t<1/i?e*t*t:t<2/i?e*(t-=1.5/i)*t+.75:t<2.5/i?e*(t-=2.25/i)*t+.9375:e*(t-=2.625/i)*t+.984375}t.easing.jswing=t.easing.swing;var i=Math.pow,n=Math.sqrt,r=Math.sin,o=Math.cos,s=Math.PI,a=1.70158,l=1.525*a,c=2*s/3,d=2*s/4.5;t.extend(t.easing,{def:"easeOutQuad",swing:function(e){return t.easing[t.easing.def](e)},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return 1-(1-t)*(1-t)},easeInOutQuad:function(t){return t<.5?2*t*t:1-i(-2*t+2,2)/2},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return 1-i(1-t,3)},easeInOutCubic:function(t){return t<.5?4*t*t*t:1-i(-2*t+2,3)/2},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return 1-i(1-t,4)},easeInOutQuart:function(t){return t<.5?8*t*t*t*t:1-i(-2*t+2,4)/2},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return 1-i(1-t,5)},easeInOutQuint:function(t){return t<.5?16*t*t*t*t*t:1-i(-2*t+2,5)/2},easeInSine:function(t){return 1-o(t*s/2)},easeOutSine:function(t){return r(t*s/2)},easeInOutSine:function(t){return-(o(s*t)-1)/2},easeInExpo:function(t){return 0===t?0:i(2,10*t-10)},easeOutExpo:function(t){return 1===t?1:1-i(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:t<.5?i(2,20*t-10)/2:(2-i(2,-20*t+10))/2},easeInCirc:function(t){return 1-n(1-i(t,2))},easeOutCirc:function(t){return n(1-i(t-1,2))},easeInOutCirc:function(t){return t<.5?(1-n(1-i(2*t,2)))/2:(n(1-i(-2*t+2,2))+1)/2},easeInElastic:function(t){return 0===t?0:1===t?1:-i(2,10*t-10)*r((10*t-10.75)*c)},easeOutElastic:function(t){return 0===t?0:1===t?1:i(2,-10*t)*r((10*t-.75)*c)+1},easeInOutElastic:function(t){return 0===t?0:1===t?1:t<.5?-i(2,20*t-10)*r((20*t-11.125)*d)/2:i(2,-20*t+10)*r((20*t-11.125)*d)/2+1},easeInBack:function(t){return 2.70158*t*t*t-a*t*t},easeOutBack:function(t){return 1+2.70158*i(t-1,3)+a*i(t-1,2)},easeInOutBack:function(t){return t<.5?i(2*t,2)*(7.189819*t-l)/2:(i(2*t-2,2)*((l+1)*(2*t-2)+l)+2)/2},easeInBounce:function(t){return 1-e(1-t)},easeOutBounce:e,easeInOutBounce:function(t){return t<.5?(1-e(1-2*t))/2:(1+e(2*t-1))/2}})}),function(t){function e(){}function i(t){function i(e){e.prototype.option||(e.prototype.option=function(e){t.isPlainObject(e)&&(this.options=t.extend(!0,this.options,e))})}function r(e,i){t.fn[e]=function(r){if("string"==typeof r){for(var s=n.call(arguments,1),a=0,l=this.length;a
",e.innerHTML=o;var h=document.getElementById("reply-title");for(h&&h.remove(),i=0;i0&&jQuery("input.heateor_ss_social_login_optin").prop("checked",!0),jQuery("input.heateor_ss_social_login_optin").click(function(){if(jQuery(this).is(":checked")){if(null==theChampGetCookie("heateorSsSLOptin")){var e=new Date;e.setTime(e.getTime()+31536e6),document.cookie="heateorSsSLOptin=1; expires="+e.toUTCString()+"; path=/"}}else document.cookie="heateorSsSLOptin=; expires=Fri, 02 Jan 1970 00:00:00 UTC; path=/"}),"undefined"!=typeof theChampFacebookCommentsOptinText&&(null!=heateorFcmGetCookie("heateorFcmOptin")&&jQuery("input.heateor_ss_fb_comments_optin").prop("checked",!0),jQuery("input.heateor_ss_fb_comments_optin").click(function(){if(jQuery(this).is(":checked")){if(heateorFcmOptin=1,null==heateorFcmGetCookie("heateorFcmOptin")){var e=new Date;e.setTime(e.getTime()+31536e6),document.cookie="heateorFcmOptin=1; expires="+e.toUTCString()+"; path=/"}}else heateorFcmOptin=0,document.cookie="heateorFcmOptin=; expires=Fri, 02 Jan 1970 00:00:00 UTC; path=/"})),"undefined"!=typeof theChampFacebookCommentsNotifierOptinText&&(null!=heateorFcnGetCookie("heateorFcnOptin")&&jQuery("input.heateor_ss_fb_comments_notifier_optin").prop("checked",!0),jQuery("input.heateor_ss_fb_comments_notifier_optin").click(function(){if(jQuery(this).is(":checked")){if(heateorFcnOptin=1,null==heateorFcnGetCookie("heateorFcnOptin")){var e=new Date;e.setTime(e.getTime()+31536e6),document.cookie="heateorFcnOptin=1; expires="+e.toUTCString()+"; path=/"}}else heateorFcnOptin=0,document.cookie="heateorFcnOptin=; expires=Fri, 02 Jan 1970 00:00:00 UTC; path=/"}))}}theChampLoadEvent(function(){theChampRenderFBCommenting()}); function heateorSsDetermineWhatsappShareAPI(a){if(a)return-1!=navigator.userAgent.indexOf("Mobi")?"api.whatsapp.com":"web.whatsapp.com";var p=jQuery("i.theChampWhatsappBackground a").attr("href");return void 0!==p?-1!=navigator.userAgent.indexOf("Mobi")?(jQuery("i.theChampWhatsappBackground a").attr("href",p.replace("web.whatsapp.com","api.whatsapp.com")),"api.whatsapp.com"):(jQuery("i.theChampWhatsappBackground a").attr("href",p.replace("api.whatsapp.com","web.whatsapp.com")),"web.whatsapp.com"):""} function theChampMoreSharingPopup(elem, postUrl, postTitle, twitterTitle){ var shareContainer=elem.parentElement.parentElement.parentElement; postUrl=encodeURIComponent(postUrl); concate=''; var theChampMoreSharingServices={ facebook: { title: "Facebook", locale: "en-US", redirect_url: "http://www.facebook.com/sharer.php?u=" + postUrl + "&t=" + postTitle + "&v=3", }, twitter: { title: "Twitter", locale: "en-US", redirect_url: "http://twitter.com/intent/tweet?text=" + (twitterTitle ? twitterTitle:postTitle) + " " + postUrl, }, linkedin: { title: "Linkedin", locale: "en-US", redirect_url: "http://www.linkedin.com/shareArticle?mini=true&url=" + postUrl + "&title=" + postTitle, }, pinterest: { title: "Pinterest", locale: "en-US", redirect_url: "https://pinterest.com/pin/create/button/?url=" + postUrl + "&media=${media_link}&description=" + postTitle, bookmarklet_url: "javascript:void((function(){var e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','//assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)})());" }, CopyLink: { title: "Copy Link", locale: "en-US", redirect_url: "", bookmarklet_url: "" }, Diaspora: { title: "Diaspora", locale: "en-US", redirect_url: "https://joindiaspora.com/bookmarklet?url=" + postUrl + "&title=" + postTitle + "&v=1" }, Douban: { title: "Douban", locale: "en-US", redirect_url: "https://www.douban.com/share/service?name="+postTitle+"&href="+postUrl+"&image=&updated=&bm=&url="+postUrl+"&title="+postTitle+"&sel=" }, Draugiem: { title: "Draugiem", locale: "en-US", redirect_url: "https://www.draugiem.lv/say/ext/add.php?link="+postUrl+"&title="+postTitle }, Facebook_Messenger: { title: "Facebook Messenger", locale: "en-US", redirect_url: heateorSsFbMessengerAPI.replace('%encoded_post_url%', postUrl) }, Google_Classroom: { title: "Google Classroom", locale: "en-US", redirect_url: "https://classroom.google.com/u/0/share?url="+postUrl }, Kik: { title: "Kik", locale: "en-US", redirect_url: "https://www.kik.com/send/article/?app_name=Share&text=&title="+postTitle+"&url="+postUrl }, Papaly: { title: "Papaly", locale: "en-US", redirect_url: "https://papaly.com/api/share.html?url="+postUrl+"&title="+postTitle }, Refind: { title: "Refind", locale: "en-US", redirect_url: "https://refind.com/?url="+postUrl }, Skype: { title: "Skype", locale: "en-US", redirect_url: "https://web.skype.com/share?url="+postUrl }, SMS: { title: "SMS", locale: "en-US", bookmarklet_url: "sms://?&body="+postTitle+" "+postUrl }, Trello: { title: "Trello", locale: "en-US", redirect_url: "https://trello.com/add-card?mode=popup&url="+postUrl+"&name="+postTitle+"&desc=" }, Viber: { title: "Viber", locale: "en-US", bookmarklet_url: "viber://forward?text="+postTitle+" "+postUrl }, Threema: { title: "Threema", locale: "en-US", bookmarklet_url: "threema://compose?text="+postTitle+" "+postUrl }, Telegram: { title: "Telegram", locale: "en-US", redirect_url: "https://telegram.me/share/url?url="+postUrl+"&text="+postTitle }, email: { title: "Email", locale: "en-US", redirect_url: "mailto:?subject=" + postTitle + "&body=Link: " + postUrl, }, reddit: { title: "Reddit", locale: "en-US", redirect_url: "http://reddit.com/submit?url=" + postUrl + "&title=" + postTitle, }, float_it: { title: "Float it", locale: "en-US", redirect_url: "http://www.designfloat.com/submit.php?url=" + postUrl + "&title=" + postTitle, }, google_mail: { title: "Google Gmail", locale: "en-US", redirect_url: "https://mail.google.com/mail/?ui=2&view=cm&fs=1&tf=1&su=" + postTitle + "&body=Link: " + postUrl, }, gentlereader: { title: "GentleReader", locale: "en-US", redirect_url: "https://app.gentlereader.com/bookmark?url=" + postUrl, }, google_bookmarks: { title: "Google Bookmarks", locale: "en-US", redirect_url: "http://www.google.com/bookmarks/mark?op=edit&bkmk=" + postUrl + "&title=" + postTitle, }, digg: { title: "Digg", locale: "en-US", redirect_url: "http://digg.com/submit?phase=2&url=" + postUrl + "&title=" + postTitle, }, printfriendly: { title: "PrintFriendly", locale: "en-US", redirect_url: "http://www.printfriendly.com/print?url=" + postUrl, }, print: { title: "Print", locale: "en-US", redirect_url: "http://www.printfriendly.com/print?url=" + postUrl, bookmarklet_url: "javascript:window.print();" }, tumblr: { title: "Tumblr", locale: "en-US", redirect_url: "https://www.tumblr.com/widgets/share/tool?posttype=link&canonicalUrl=" + postUrl + "&title=" + postTitle + "&caption=", bookmarklet_url: "javascript:var d=document,w=window,e=w.getSelection,k=d.getSelection,x=d.selection,s=(e?e():(k)?k():(x?x.createRange().text:0)),f='http://www.tumblr.com/share',l=d.location,e=encodeURIComponent,p='?v=3&u='+e(l.href) +'&t='+e(d.title) +'&s='+e(s),u=f+p;try{if(!/^(.*\\.)?tumblr[^.]*$/.test(l.host))throw(0);tstbklt();}catch(z){a=function(){if(!w.open(u,'t','toolbar=0,resizable=0,status=1,width=450,height=430'))l.href=u;};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else a();}void(0);" }, vk: { title: "Vkontakte", locale: "ru", redirect_url: "https://vk.com/share.php?url=" + postUrl + "&title=" + postTitle, }, evernote: { title: "Evernote", locale: "en-US", redirect_url: "https://www.evernote.com/clip.action?url=" + postUrl + "&title=" + postTitle, bookmarklet_url: "javascript:(function(){EN_CLIP_HOST='http://www.evernote.com';try{var x=document.createElement('SCRIPT');x.type='text/javascript';x.src=EN_CLIP_HOST+'/public/bookmarkClipper.js?'+(new Date().getTime()/100000);document.getElementsByTagName('head')[0].appendChild(x);}catch(e){location.href=EN_CLIP_HOST+'/clip.action?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);}})();" }, amazon_us_wish_list: { title: "Amazon Wish List", locale: "en-US", redirect_url: "http://www.amazon.com/wishlist/add?u=" + postUrl + "&t=" + postTitle, bookmarklet_url: "javascript:(function(){var w=window,l=w.location,d=w.document,s=d.createElement('script'),e=encodeURIComponent,x='undefined',u='http://www.amazon.com/gp/wishlist/add';if(typeof s!='object')l.href=u+'?u='+e(l)+'&t='+e(d.title);function g(){if(d.readyState&&d.readyState!='complete'){setTimeout(g,200);}else{if(typeof AUWLBook==x)s.setAttribute('src',u+'.js?loc='+e(l)),d.body.appendChild(s);function f(){(typeof AUWLBook==x)?setTimeout(f,200):AUWLBook.showPopover();}f();}}g();}())" }, wordpress_blog: { title: "WordPress", locale: "en-US", redirect_url: "http://www.addtoany.com/ext/wordpress/press_this?linkurl=" + postUrl + "&linkname=" + postTitle, }, whatsapp: { title: "Whatsapp", locale: "en-US", redirect_url: "https://" + heateorSsDetermineWhatsappShareAPI(true) + "/send?text=" + postTitle + " " + postUrl, }, diigo: { title: "Diigo", locale: "en-US", redirect_url: "http://www.diigo.com/post?url=" + postUrl + "&title=" + postTitle, }, yc_hacker_news: { title: "Hacker News", locale: "en-US", redirect_url: "http://news.ycombinator.com/submitlink?u=" + postUrl + "&t=" + postTitle, }, box_net: { title: "Box.net", locale: "en-US", redirect_url: "https://www.box.net/api/1.0/import?url=" + postUrl + "&name=" + postTitle + "&import_as=link", }, aol_mail: { title: "AOL Mail", locale: "en-US", redirect_url: "http://webmail.aol.com/25045/aol/en-us/Mail/compose-message.aspx?subject=" + postTitle + "&body=" + postUrl, }, yahoo_mail: { title: "Yahoo Mail", locale: "en-US", redirect_url: "http://compose.mail.yahoo.com/?Subject=" + postTitle + "&body=Link: " + postUrl, }, instapaper: { title: "Instapaper", locale: "en-US", redirect_url: "http://www.instapaper.com/edit?url=" + postUrl + "&title=" + postTitle, }, plurk: { title: "Plurk", locale: "en-US", redirect_url: "http://www.plurk.com/m?content=" + postUrl + "&qualifier=shares", }, wanelo: { title: "Wanelo", locale: "en-US", redirect_url: "http://wanelo.com/p/post?bookmarklet=&images%5B%5D=&url=" + postUrl + "&title=" + postTitle + "&price=&shop=", bookmarklet_url: "javascript:void ((function(url){if(!window.waneloBookmarklet){var productURL=encodeURIComponent(url),cacheBuster=Math.floor(Math.random()*1e3),element=document.createElement('script');element.setAttribute('src','//wanelo.com/bookmarklet/3/setup?*='+cacheBuster+'&url='+productURL),element.onload=init,element.setAttribute('type','text/javascript'),document.getElementsByTagName('head')[0].appendChild(element)}else init();function init(){window.waneloBookmarklet()}})(window.location.href))" }, aim: { title: "AIM", locale: "en-US", redirect_url: "http://share.aim.com/share/?url=" + postUrl + "&title=" + postTitle, }, viadeo: { title: "Viadeo", locale: "en-US", redirect_url: "http://www.viadeo.com/shareit/share/?url=" + postUrl + "&title=" + postTitle, }, pinboard_in: { title: "Pinboard", locale: "en-US", redirect_url: "http://pinboard.in/add?url=" + postUrl + "&title=" + postTitle, }, blogger_post: { title: "Blogger Post", locale: "en-US", redirect_url: "http://www.blogger.com/blog_this.pyra?t=&u=" + postUrl + "&l&n=" + postTitle, }, typepad_post: { title: "TypePad Post", locale: "en-US", redirect_url: "http://www.typepad.com/services/quickpost/post?v=2&qp_show=ac&qp_title=" + postTitle + "&qp_href=" + postUrl + "&qp_text=" + postTitle, }, buffer: { title: "Buffer", locale: "en-US", redirect_url: "http://bufferapp.com/add?url=" + postUrl + "&text=" + postTitle, }, flipboard: { title: "Flipboard", locale: "en-US", redirect_url: "https://share.flipboard.com/bookmarklet/popout?v=2&url=" + postUrl + "&title=" + postTitle, }, mail: { title: "Email", locale: "en-US", redirect_url: "mailto:?subject=" + postTitle + "&body=Link: " + postUrl, }, pocket: { title: "Pocket", locale: "en-US", redirect_url: "https://readitlaterlist.com/save?url=" + postUrl + "&title=" + postTitle, }, fark: { title: "Fark", locale: "en-US", redirect_url: "http://cgi.fark.com/cgi/fark/submit.pl?new_url=" + postUrl, }, fintel: { title: "Fintel", locale: "en-US", redirect_url: "https://fintel.io/submit?url=" + postUrl, }, yummly: { title: "Yummly", locale: "en-US", redirect_url: "http://www.yummly.com/urb/verify?url=" + postUrl + "&title=" + postTitle, }, app_net: { title: "App.net", locale: "en-US", redirect_url: "https://account.app.net/login/", }, balatarin: { title: "Balatarin", locale: "en-US", redirect_url: "https://www.balatarin.com/login", }, bibSonomy: { title: "BibSonomy", locale: "en-US", redirect_url: "http://www.bibsonomy.org/login", }, Bitty_Browser: { title: "Bitty Browser", locale: "en-US", redirect_url: "http://www.bitty.com/manual/?contenttype=&contentvalue=" + postUrl, }, Blinklist: { title: "Blinklist", locale: "en-US", redirect_url: "http://blinklist.com/blink?t=" + postTitle + "&d=&u=" + postUrl, }, BlogMarks: { title: "BlogMarks", locale: "en-US", redirect_url: "http://blogmarks.net/my/new.php?mini=1&simple=1&title=" + postTitle + "&url=" + postUrl, }, Bookmarks_fr: { title: "Bookmarks.fr", locale: "en-US", redirect_url: "http://www.bookmarks.fr/Connexion/?action=add&address=" + postUrl + "&title=" + postTitle, }, BuddyMarks: { title: "BuddyMarks", locale: "en-US", redirect_url: "http://buddymarks.com/login.php?bookmark_title=" + postTitle + "&bookmark_url=" + postUrl + "&bookmark_desc=&bookmark_tags=", }, Care2_news: { title: "Care2 News", locale: "en-US", redirect_url: "http://www.care2.com/passport/login.html?promoID=10&pg=http://www.care2.com/news/compose?sharehint=news&share[share_type]news&bookmarklet=Y&share[title]=" + postTitle + "&share[link_url]=" + postUrl + "&share[content]=", }, CiteULike: { title: "Cite U Like", locale: "en-US", redirect_url: "http://www.citeulike.org/posturl?url=" + postUrl + "&title=" + postTitle, }, Diary_Ru: { title: "Diary.Ru", locale: "en-US", redirect_url: "http://www.diary.ru/?newpost&title=" + postTitle + "&text=" + postUrl, }, dzone: { title: "DZone", locale: "en-US", redirect_url: "http://www.dzone.com/links/add.html?url=" + postUrl + "&title=" + postTitle, }, Folkd: { title: "Folkd", locale: "en-US", redirect_url: "http://www.folkd.com/page/social-bookmarking.html?addurl=" + postUrl, }, Hatena: { title: "Hatena", locale: "en-US", redirect_url: "http://b.hatena.ne.jp/bookmarklet?url=" + postUrl + "&btitle=" + postTitle, }, Jamespot: { title: "Jamespot", locale: "en-US", redirect_url: "//my.jamespot.com/", }, Kakao: { title: "Kakao", locale: "en-US", redirect_url: "https://story.kakao.com/share?url=" + postUrl, }, Kindle_It: { title: "Kindle_It", locale: "en-US", redirect_url: "//fivefilters.org/kindle-it/send.php?url=" + postUrl, }, Known: { title: "Known", locale: "en-US", redirect_url: "https://withknown.com/share/?url=" + postUrl + "&title=" + postTitle, }, Line: { title: "Line", locale: "en-US", redirect_url: "https://social-plugins.line.me/lineit/share?url=" + postUrl, }, LiveJournal: { title: "LiveJournal", locale: "en-US", redirect_url: "http://www.livejournal.com/update.bml?subject=" + postTitle + "&event=" + postUrl, }, Mail_Ru: { title: "Mail.Ru", locale: "en-US", redirect_url: "https://connect.mail.ru/share?share_url=" + postUrl, }, Mendeley: { title: "Mendeley", locale: "en-US", redirect_url: "https://www.mendeley.com/sign-in/", }, Meneame: { title: "Meneame", locale: "en-US", redirect_url: "https://www.meneame.net/submit.php?url=" + postUrl, }, MeWe: { title: "MeWe", locale: "en-US", redirect_url: "https://mewe.com/share?link=" + postUrl, }, Mix: { title: "Mix", locale: "en-US", redirect_url: "https://mix.com/mixit?url=" + postUrl, }, Mixi: { title: "Mixi", locale: "en-US", redirect_url: "https://mixi.jp/share.pl?mode=login&u=" + postUrl, }, MySpace: { title: "MySpace", locale: "en-US", redirect_url: "https://myspace.com/post?u=" + encodeURIComponent(postUrl) + "&t=" + postTitle + "&l=3&c=" + postTitle, }, Netvouz: { title: "Netvouz", locale: "en-US", redirect_url: "http://www.netvouz.com/action/submitBookmark?url=" + postUrl + "&title=" + postTitle + "&popup=no&description=", }, Odnoklassniki: { title: "Odnoklassniki", locale: "en-US", redirect_url: "https://connect.ok.ru/dk?cmd=WidgetSharePreview&st.cmd=WidgetSharePreview&st.shareUrl=" + postUrl + "&st.client_id=-1", }, Outlook_com: { title: "Outlook.com", locale: "en-US", redirect_url: "https://mail.live.com/default.aspx?rru=compose?subject=" + postTitle + "&body=" + postUrl + "&lc=1033&id=64855&mkt=en-us&cbcxt=mai", }, Protopage_Bookmarks: { title: "Protopage_Bookmarks", locale: "en-US", redirect_url: "http://www.protopage.com/add-button-site?url=" + postUrl + "&label=&type=page", }, Pusha: { title: "Pusha", locale: "en-US", redirect_url: "//www.pusha.se/posta?url=" + postUrl, }, Qzone: { title: "Qzone", locale: "en-US", redirect_url: "http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=" + postUrl, }, Rediff_MyPage: { title: "Rediff MyPage", locale: "en-US", redirect_url: "//share.rediff.com/bookmark/addbookmark?bookmarkurl=" + postUrl + "&title=" + postTitle, }, Renren: { title: "Renren", locale: "en-US", redirect_url: "//www.connect.renren.com/share/sharer?url=" + postUrl + "&title=" + postTitle, }, Sina_Weibo: { title: "Sina Weibo", locale: "en-US", redirect_url: "http://service.weibo.com/share/share.php?url=" + postUrl + "&title=" + postTitle, }, SiteJot: { title: "SiteJot", locale: "en-US", redirect_url: "http://www.sitejot.com/loginform.php?iSiteAdd=&iSiteDes=", }, Slashdot: { title: "Slashdot", locale: "en-US", redirect_url: "//slashdot.org/submission?url=" + postUrl, }, StockTwits: { title: "StockTwits", locale: "en-US", redirect_url: "https://stocktwits.com/widgets/share?body=" + postTitle + " " + postUrl, }, Svejo: { title: "Svejo", locale: "en-US", redirect_url: "https://svejo.net/story/submit_by_url?url=" + postUrl + "&title=" + postTitle + "&summary=", }, Symbaloo_Feeds: { title: "Symbaloo_Feeds", locale: "en-US", redirect_url: "//www.symbaloo.com/", }, Tuenti: { title: "Tuenti", locale: "en-US", redirect_url: "https://www.tuenti.com/share?p=b5dd6602&url=" + postUrl, }, Twiddla: { title: "Twiddla", locale: "en-US", redirect_url: "//www.twiddla.com/New.aspx?url=" + postUrl + "&title=" + postTitle, }, Webnews: { title: "Webnews", locale: "en-US", redirect_url: "//www.webnews.de/login", }, Wykop: { title: "Wykop", locale: "en-US", redirect_url: "//www.wykop.pl/dodaj?url=" + postUrl + "&title=" + postTitle, }, Xing: { title: "Xing", locale: "en-US", redirect_url: "https://www.xing.com/spi/shares/new?cb=0&url=" + postUrl, }, Yoolink: { title: "Yoolink", locale: "en-US", redirect_url: "//yoolink.to/addorshare?url_value=" + postUrl + "&title=" + postTitle, }} var theChampMoreSharingServicesHtml='
    '; for(var i in theChampMoreSharingServices){ var tempTitle=theChampCapitaliseFirstLetter(theChampMoreSharingServices[i].title.replace(/[_. ]/g, "")); theChampMoreSharingServicesHtml +='
  • ' + theChampMoreSharingServices[i].title + '
  • '; } theChampMoreSharingServicesHtml +=concate; var mainDiv=document.createElement('div'); mainDiv.innerHTML=theChampMoreSharingServicesHtml; mainDiv.setAttribute('id', 'the_champ_sharing_more_providers'); var bgDiv=document.createElement('div'); bgDiv.setAttribute('id', 'the_champ_popup_bg'); jQuery('body').append(mainDiv).append(bgDiv); document.getElementById('the_champ_popup_bg').onclick=document.getElementById('the_champ_sharing_popup_close').onclick=function(){ mainDiv.parentNode.removeChild(mainDiv); bgDiv.parentNode.removeChild(bgDiv); }} if(typeof theChampHorizontalSharingCountEnable=='undefined'){ var theChampHorizontalSharingCountEnable=0; } if(typeof theChampVerticalSharingCountEnable=='undefined'){ var theChampVerticalSharingCountEnable=0; } if(theChampHorizontalSharingCountEnable||theChampVerticalSharingCountEnable){ theChampLoadEvent( function(){ theChampCallAjax(function(){ theChampGetSharingCounts(); }); } ); } function theChampFilterSharing(val){ jQuery('ul.mini li a').each(function(){ if(jQuery(this).text().toLowerCase().indexOf(val.toLowerCase())!=-1){ jQuery(this).parent().css('display', 'block'); }else{ jQuery(this).parent().css('display', 'none'); }}); }; var heateorSsFacebookTargetUrls=[]; function theChampGetSharingCounts(){ var targetUrls=[]; jQuery('.the_champ_sharing_container').each(function(){ if(typeof jQuery(this).attr('super-socializer-no-counts')=='undefined'){ var currentTargetUrl=jQuery(this).attr('super-socializer-data-href'); if(currentTargetUrl!=null&&jQuery.inArray(currentTargetUrl, heateorSsUrlCountFetched)==-1){ targetUrls.push(currentTargetUrl); heateorSsUrlCountFetched.push(currentTargetUrl); }} }); if(targetUrls.length==0){ return; } jQuery.ajax({ type: 'GET', dataType: 'json', url: theChampSharingAjaxUrl, data: { action: 'the_champ_sharing_count', urls: targetUrls, }, success: function(data, textStatus, XMLHttpRequest){ if(data.status==1){ if(data.facebook){ heateorSsFacebookTargetUrls=data.facebook_urls; } for(var i in data.message){ var sharingContainers=jQuery("div[super-socializer-data-href='"+i+"']"); jQuery(sharingContainers).each(function(){ var totalCount=0; for(var j in data.message[i]){ var sharingCount=parseInt(data.message[i][j])||0; var targetElement=jQuery(this).find('.the_champ_'+j+'_count'); if(jQuery(targetElement).attr('ss_st_count')){ sharingCount=parseInt(sharingCount) + parseInt(jQuery(targetElement).attr('ss_st_count')); } totalCount +=parseInt(sharingCount); if(sharingCount < 1){ continue; } jQuery(targetElement).html(theChampCalculateApproxCount(sharingCount)).css({'visibility': 'visible', 'display': 'block'}); if(( typeof theChampReduceHorizontalSvgWidth!='undefined'&&jQuery(this).hasClass('the_champ_horizontal_sharing'))||(typeof theChampReduceVerticalSvgWidth!='undefined'&&jQuery(this).hasClass('the_champ_vertical_sharing'))){ jQuery(targetElement).parents('li').find('.theChampSharingSvg').css('float', 'left'); } if(( typeof theChampReduceHorizontalSvgHeight!='undefined'&&jQuery(this).hasClass('the_champ_horizontal_sharing'))||(typeof theChampReduceVerticalSvgHeight!='undefined'&&jQuery(this).hasClass('the_champ_vertical_sharing'))){ jQuery(targetElement).parents('li').find('.theChampSharingSvg').css('marginTop', '0'); }} var totalCountContainer=jQuery(this).find('.theChampTCBackground'); jQuery(totalCountContainer).each(function(){ var containerHeight=jQuery(this).css('height'); jQuery(this).html('
    ' + theChampCalculateApproxCount(totalCount) + '
    ' + (totalCount==0||totalCount > 1 ? heateorSsSharesText:heateorSsShareText) + '
    ').css('visibility', 'visible'); }); }); } if(heateorSsFacebookTargetUrls.length!=0){ theChampFetchFacebookShares(heateorSsFacebookTargetUrls); }} }}); } function theChampFetchFacebookShares(targetUrls){ var loopCounter=0; for(var i in targetUrls){ for(var j in targetUrls[i]){ loopCounter++; theChampFBShareJSONCall(targetUrls[i][j], loopCounter, targetUrls[0].length*targetUrls.length, targetUrls[0][j]); }} } function theChampFBShareJSONCall(targetUrl, loopCounter, targetUrlsLength, dataHref){ jQuery.getJSON('//graph.facebook.com/?id=' + targetUrl, function(data){ if(data.share&&data.share.share_count >=0){ var sharingContainers=jQuery("div[super-socializer-data-href='"+dataHref+"']"); jQuery(sharingContainers).each(function(){ var targetElement=jQuery(this).find('.the_champ_facebook_count'); var facebookBackground=jQuery(this).find('i.theChampFacebookBackground'); var sharingCount=parseInt(data.share.share_count); if(jQuery(targetElement).attr('ss_st_count')!==undefined){ sharingCount +=parseInt(jQuery(targetElement).attr('ss_st_count')); } if(sharingCount > 0){ if(typeof jQuery(facebookBackground).attr('heateor-ss-fb-shares')=='undefined'){ jQuery(targetElement).html(theChampCalculateApproxCount(sharingCount)).css({'visibility': 'visible', 'display': 'block'}); jQuery(facebookBackground).attr('heateor-ss-fb-shares', sharingCount); }else if(typeof jQuery(facebookBackground).attr('heateor-ss-fb-shares')!='undefined'){ var tempShareCount=parseInt(jQuery(facebookBackground).attr('heateor-ss-fb-shares')); jQuery(facebookBackground).attr('heateor-ss-fb-shares', sharingCount + tempShareCount); jQuery(targetElement).html(theChampCalculateApproxCount(sharingCount + tempShareCount)); } if(( typeof theChampReduceHorizontalSvgWidth!='undefined'&&jQuery(this).hasClass('the_champ_horizontal_sharing'))||(typeof theChampReduceVerticalSvgWidth!='undefined'&&jQuery(this).hasClass('the_champ_vertical_sharing'))){ jQuery(targetElement).parents('li').find('.theChampSharingSvg').css('float', 'left'); } if(( typeof theChampReduceHorizontalSvgHeight!='undefined'&&jQuery(this).hasClass('the_champ_horizontal_sharing'))||(typeof theChampReduceVerticalSvgHeight!='undefined'&&jQuery(this).hasClass('the_champ_vertical_sharing'))){ jQuery(targetElement).parents('li').find('.theChampSharingSvg').css('marginTop', '0'); } var totalCountContainer=jQuery(this).find('.theChampTCBackground'); jQuery(totalCountContainer).each(function(){ var totalShareCountElem=jQuery(this).find('.theChampTotalShareCount'); var totalShareCount=jQuery(totalShareCountElem).text(); var newTotalCount=theChampCalculateActualCount(totalShareCount) + sharingCount; jQuery(totalShareCountElem).text(theChampCalculateApproxCount(newTotalCount)); jQuery(this).find('.theChampTotalShareText').text(newTotalCount==0||newTotalCount > 1 ? heateorSsSharesText:heateorSsShareText); }); }}); } if(loopCounter==targetUrlsLength){ setTimeout(function(){ var facebookShares={}; for(var i in heateorSsFacebookTargetUrls[0]){ var sharingContainers=jQuery("div[super-socializer-data-href='"+heateorSsFacebookTargetUrls[0][i]+"']"); jQuery(sharingContainers).each(function(){ var facebookCountElement=jQuery(this).find('.the_champ_facebook_count'); var facebookCountElementBg=jQuery(this).find('i.theChampFacebookBackground'); var shareCountString=typeof jQuery(facebookCountElementBg).attr('heateor-ss-fb-shares')!='undefined' ? jQuery(facebookCountElementBg).attr('heateor-ss-fb-shares').trim():''; if(shareCountString!=''){ var shareCount=parseInt(theChampCalculateActualCount(shareCountString)); if(jQuery(facebookCountElement).attr('ss_st_count')!==undefined){ var startingCount=parseInt(jQuery(facebookCountElement).attr('ss_st_count').trim()); shareCount=Math.abs(shareCount - startingCount); } facebookShares[heateorSsFacebookTargetUrls[0][i]]=shareCount; return; }}); } if(!jQuery.isEmptyObject(facebookShares)){ theChampSaveFacebookShares(facebookShares); }}, 1000); }}); } function theChampSaveFacebookShares(facebookShares){ jQuery.ajax({ type: 'GET', dataType: 'json', url: theChampSharingAjaxUrl, data: { action: 'the_champ_save_facebook_shares', share_counts: facebookShares, }, success: function(data, textStatus, XMLHttpRequest){}}); } function theChampCalculateApproxCount(sharingCount){ if(sharingCount > 999&&sharingCount < 10000){ sharingCount=(Math.round(sharingCount/100))/10 + 'K'; }else if(sharingCount > 9999&&sharingCount < 100000){ sharingCount=(Math.round(sharingCount/100))/10 + 'K'; }else if(sharingCount > 99999&&sharingCount < 1000000){ sharingCount=(Math.round(sharingCount/100))/10 + 'K'; }else if(sharingCount > 999999){ sharingCount=(Math.round(sharingCount/100000))/10 + 'M'; } return sharingCount; } function theChampCalculateActualCount(sharingCount){ if(sharingCount.indexOf('K') > 0){ sharingCount=sharingCount.replace('K', '') * 1000; }else if(sharingCount.indexOf('M') > 0){ sharingCount=sharingCount.replace('M', '') * 1000000; } return parseInt(sharingCount); } function theChampCapitaliseFirstLetter(e){ return e.charAt(0).toUpperCase() + e.slice(1) } jQuery(function(){ var heateorSsWhatsappJSAPI=heateorSsDetermineWhatsappShareAPI(false); var classes=['the_champ_vertical_sharing', 'the_champ_vertical_counter']; for(var i=0; i < classes.length; i++){ if(jQuery('.' + classes[i]).length){ jQuery('.' + classes[i]).each(function(){ var verticalSharingHtml=jQuery(this).html(); if(jQuery(this).attr('style').indexOf('right') >=0){ var removeClass='theChampPushIn', margin='Right', alignment='right', addClass='theChampPullOut'; }else{ var removeClass='theChampPullOut', margin='Left', alignment='left', addClass='theChampPushIn'; } jQuery(this).html(verticalSharingHtml + '
    '); }); }} if(theChampMobileStickySharingEnabled==1){ if(jQuery('div.the_champ_vertical_sharing').length){ jQuery(document.body).append(""); }} var heateorSsClipboard=new Clipboard('.theChampCopyLinkBackground, .theChampCopyLinkShare, .theChampCopyLinkSvg', { text: function(trigger){ if(jQuery(trigger).hasClass('theChampCopyLinkShare')){ var element=trigger.parentElement.parentElement.parentElement.parentElement; var url=jQuery(element).attr("data-href")||""; }else if(jQuery(trigger).hasClass('theChampCopyLinkSvg')){ var element=trigger.parentElement.parentElement.parentElement.parentElement; var url=jQuery(element).attr("super-socializer-data-href")||""; if(jQuery(element).hasClass('the_champ_horizontal_sharing')&&typeof heateorSsHorSharingShortUrl!=undefined){ var url=heateorSsHorSharingShortUrl; }else if(jQuery(element).hasClass('the_champ_vertical_sharing')&&typeof heateorSsVerticalSharingShortUrl!=undefined){ var url=heateorSsVerticalSharingShortUrl; } if(!url){ var element=trigger.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement; var url=jQuery(element).attr("data-href")||""; }} return url; }}); heateorSsClipboard.on('success', function(e){ alert(heateorSsCopyLinkMessage); }); }); function theChampHideSharing(elem, removeClass, addClass, margin, alignment){ var animation={}, counter=jQuery(elem).parent().hasClass('the_champ_vertical_counter'), offset=parseInt(jQuery(elem).parent().css('width')) + 10 - (counter ? 16:0); var ssOffset=jQuery(elem).parent().attr('ss-offset'); if(ssOffset){ var savedOffset=parseInt(ssOffset); }else{ var savedOffset=(counter ? theChampCounterOffset:theChampSharingOffset); } if(jQuery(elem).attr('title')=='Hide'){ animation[alignment]="-=" + (offset + savedOffset); jQuery(elem).parent().animate(animation, 400, function(){ jQuery(elem).removeClass(removeClass).addClass(addClass).attr('title', 'Share'); if(counter){ var cssFloat=alignment=='left' ? 'right':'left'; jQuery(elem).css('float', cssFloat); }else{ jQuery(elem).css('margin' + margin, offset + 'px') }}); }else{ animation[alignment]="+=" + (offset + savedOffset); jQuery(elem).parent().animate(animation, 400, function(){ jQuery(elem).removeClass(addClass).addClass(removeClass).attr('title', 'Hide'); if(counter){ jQuery(elem).css('float', alignment); }else{ jQuery(elem).css('margin' + margin, '0px'); }}); }} !function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,e.Clipboard=t()}}(function(){var t,e,n;return function t(e,n,o){function i(a,c){if(!n[a]){if(!e[a]){var l="function"==typeof require&&require;if(!c&&l)return l(a,!0);if(r)return r(a,!0);var s=new Error("Cannot find module '"+a+"'");throw s.code="MODULE_NOT_FOUND",s}var u=n[a]={exports:{}};e[a][0].call(u.exports,function(t){var n=e[a][1][t];return i(n||t)},u,u.exports,t,e,n,o)}return n[a].exports}for(var r="function"==typeof require&&require,a=0;a0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function t(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function t(){var e=this,n="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[n?"right":"left"]="-9999px";var o=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=o+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,i.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function t(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function t(){this.selectedText=(0,i.default)(this.target),this.copyText()}},{key:"copyText",value:function t(){var e=void 0;try{e=document.execCommand (this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function t(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function t(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function t(){this.removeFake()}},{key:"action",set:function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function t(){return this._action}},{key:"target",set:function t(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":r(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function t(){return this._target}}]),t}();t.exports=c})},{select:5}],8:[function(e,n,o){!function(i,r){if("function"==typeof t&&t.amd)t(["module","./clipboard-action","tiny-emitter","good-listener"],r);else if(void 0!==o)r(n,e("./clipboard-action"),e("tiny-emitter"),e("good-listener"));else{var a={exports:{}};r(a,i.clipboardAction,i.tinyEmitter,i.goodListener),i.clipboard=a.exports}}(this,function(t,e,n,o){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function c(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function l(t,e){var n="data-clipboard-"+t;if(e.hasAttribute(n))return e.getAttribute(n)}var s=i(e),u=i(n),f=i(o),d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h=function(){function t(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===d(e.container)?e.container:document.body}},{key:"listenClick",value:function t(e){var n=this;this.listener=(0,f.default)(e,"click",function(t){return n.onClick(t)})}},{key:"onClick",value:function t(e){var n=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new s.default({action:this.action(n),target:this.target(n),text:this.text(n),container:this.container,trigger:n,emitter:this})}},{key:"defaultAction",value:function t(e){return l("action",e)}},{key:"defaultTarget",value:function t(e){var n=l("target",e);if(n)return document.querySelector(n)}},{key:"defaultText",value:function t(e){return l("text",e)}},{key:"destroy",value:function t(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],n="string"==typeof e?[e]:e,o=!!document.queryCommandSupported;return n.forEach(function(t){o=o&&!!document.queryCommandSupported(t)}),o}}]),e}(u.default);t.exports=p})},{"./clipboard-action":7,"good-listener":4,"tiny-emitter":6}]},{},[8])(8)}); !function(d,l){"use strict";var e=!1,o=!1;if(l.querySelector)if(d.addEventListener)e=!0;if(d.wp=d.wp||{},!d.wp.receiveEmbedMessage)if(d.wp.receiveEmbedMessage=function(e){var t=e.data;if(t)if(t.secret||t.message||t.value)if(!/[^a-zA-Z0-9]/.test(t.secret)){var r,a,i,s,n,o=l.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),c=l.querySelectorAll('blockquote[data-secret="'+t.secret+'"]');for(r=0;r