Team:SCUT/js/test

function revslider_showDoubleJqueryError(t){var e="Revolution Slider Error: You have some jquery.js library include that comes after the revolution files js include.";e+="
This includes make eliminates the revolution slider libraries, and make it not work.",e+="

To fix it you can:
    1. In the Slider Settings -> Troubleshooting set option: Put JS Includes To Body option to true.",e+="
    2. Find the double jquery.js include and remove it.",e=""+e+"",jQuery(t).show().html(e)}function createCookie(t,e,i){if(i){var n=new Date;n.setTime(n.getTime()+24*i*60*60*1e3);var s="; expires="+n.toGMTString()}else var s="";document.cookie=t+"="+e+s+"; path=/"}function readCookie(t){for(var e=t+"=",i=document.cookie.split(";"),n=0;n<i.length;n++){for(var s=i[n];" "==s.charAt(0);)s=s.substring(1,s.length);if(0==s.indexOf(e))return s.substring(e.length,s.length)}return null}function eraseCookie(t){createCookie(t,"",-1)}$(window).load(function(){$("#slides").slides({preload:!0,preloadImage:"images/nivo-preloader.gif",play:0,pause:0,effect:"fade",autoHeight:!0,effects:{navigation:"fade",pagination:"fade"},hoverPause:!0})});var api,api2;jQuery(document).ready(function(){api=jQuery(".fullwidthbanner").revolution({delay:9e3,startheight:450,startwidth:1120,hideThumbs:200,thumbWidth:100,thumbHeight:50,thumbAmount:5,navigationType:"bullet",navigationArrows:"verticalcentered",navigationStyle:"round",touchenabled:"on",onHoverStop:"on",navOffsetHorizontal:0,navOffsetVertical:0,stopAtSlide:-1,stopAfterLoops:-1,shadow:0,fullWidth:"on"}),api2=jQuery(".banner").revolution({delay:9e3,startheight:450,startwidth:1120,hideThumbs:200,thumbWidth:100,thumbHeight:50,thumbAmount:5,navigationType:"bullet",navigationArrows:"verticalcentered",navigationStyle:"round",touchenabled:"on",onHoverStop:"on",navOffsetHorizontal:0,navOffsetVertical:0,stopAtSlide:-1,stopAfterLoops:-1,shadow:0,fullWidth:"on"}),$(".blog-slides").slides({preload:!0,preloadImage:"images/nivo-preloader.gif",play:5e3,pause:2500,effect:"slide",autoHeight:!1,effects:{navigation:"fade",pagination:"fade"},hoverPause:!0}),$(".blog-slides .next, #slides .next, .post .next").hide(),$(".blog-slides .prev, #slides .prev, .post .prev").hide(),$(".blog-slides, #slides").hover(function(){$(".next").stop(!0,!0).fadeIn(),$(".prev").stop(!0,!0).fadeIn()},function(){$(".next").fadeOut(),$(".prev").fadeOut()}),$(".clients li").hover(function(){$(this).children("a").animate({opacity:"0.8"},{queue:!1,duration:200})},function(){$(this).children("a").animate({opacity:"0.4"},{queue:!1,duration:200})}),$("#testimonials").cycle({fx:"fade",timeout:4e3,speed:1e3}),$(".item-on-hover, .item-on-hover-white").hover(function(){$(this).animate({opacity:1},200),$(this).children(".hover-link, .hover-image, .hover-video").animate({opacity:1},200)},function(){$(this).animate({opacity:0},200),$(this).children(".hover-link, .hover-image, .hover-video").animate({opacity:0},200)}),$(".grid-item-on-hover").hover(function(){$(this).animate({opacity:.9},200)},function(){$(this).animate({opacity:0},200)});var t=$(".grid"),e=$("#masonry-blog"),i=$(".portfolio-gallery"),n=$(".gallery-page"),s=$(".four-columns, .three-columns, .two-columns");e.imagesLoaded(function(){e.isotope({itemSelector:".masonry-post",animationEngine:"jquery",gutterWidth:20})}),n.imagesLoaded(function(){n.isotope({itemSelector:"li",animationEngine:"jquery",gutterWidth:20})}),i.imagesLoaded(function(){i.isotope({itemSelector:"a",animationEngine:"jquery",gutterWidth:20})}),t.isotope({itemSelector:"li",animationEngine:"jquery",masonry:{columnWidth:5}}),s.isotope({itemSelector:"li",animationEngine:"jquery"});var a=$("#options .option-set"),o=a.find("a");o.click(function(){var e=$(this);if(e.hasClass("selected"))return!1;var i=e.parents(".option-set");i.find(".selected").removeClass("selected"),e.addClass("selected");var n={},a=i.attr("data-option-key"),o=e.attr("data-option-value");return o="false"===o?!1:o,n[a]=o,"layoutMode"===a&&"function"==typeof changeLayoutMode?changeLayoutMode(e,n):(t.isotope(n),s.isotope(n)),!1}),$("#mainnav").mobileMenu({defaultText:"Navigate to...",className:"select-menu",subMenuDash:"–"}),$("#portfolio-carousel, #homeblog-carousel, .post-thumbnail, .portfolio li").preloadify(),$("ul#mainnav").superfish({delay:100,autoArrows:!1,animation:{opacity:"show",opacity:"show"},speed:"fast"}),$("ul#mainnav li").css({overflow:"visible"}),$("ul#mainnav li ul li:last-child").addClass("nav-last-item"),$("ul#mainnav li ul li:first-child").addClass("nav-first-item");var r;$("#mainnav > li").each(function(){r=$(this),(r.find("> a.current").length||r.find("> ul > li > a.current").length)&&(r.addClass("current-item item-active"),$(this).prev().addClass("prev-item"))}),$("#mainnav > li").hover(function(){$(this).prev().addClass("previ-item")},function(){$(this).prev().removeClass("previ-item")}),$("#flickr").jflickrfeed({limit:10,qstrings:{id:"58842866@N08",tags:"architecture"},itemTemplate:'
  • <a href="Template:Image b"><img src="Template:Image s" alt="Template:Title" /></a>
  • '}),$(window).load(function(){function t(){e.width()/e.height()<n?i.removeClass().addClass("bgheight"):i.removeClass().addClass("bgwidth")}var e=$(window),i=$("#bg"),n=i.width()/i.height();e.resize(function(){t()}).trigger("resize")}),$("a[rel^='prettyPhoto']").prettyPhoto({animation_speed:"normal",theme:"light_square",slideshow:3e3,autoplay_slideshow:!1});var l=1e3;$("#top div").each(function(){$(this).css("zIndex",l),l-=10}),$("#homeblog-carousel").jcarousel({vertical:!1,rtl:!1,start:1,offset:1,scroll:1,animation:"normal",easing:"swing",auto:0}),document.documentElement.clientWidth<1e3?$("#portfolio-carousel").jcarousel({vertical:!1,rtl:!1,start:1,offset:1,scroll:1,animation:"normal",easing:"swing",auto:0}):$("#portfolio-carousel").jcarousel({vertical:!1,rtl:!1,start:1,offset:1,scroll:4,animation:"normal",easing:"swing",auto:0}),$(".home .top-shadow").hide().delay(1500).fadeIn(3e3),$(".home .bottom-shadow").hide().delay(1500).fadeIn(3e3),$(".tabs-wrapper").each(function(){$(this).find(".tab-content").hide(),$(this).find("ul.tabs li:first").addClass("active").show(),$(this).find(".tab-content:first").show()}),$("ul.tabs li").click(function(t){$(this).parents(".tabs-wrapper").find("ul.tabs li").removeClass("active"),$(this).addClass("active"),$(this).parents(".tabs-wrapper").find(".tab-content").hide();var e=$(this).find("a").attr("href");$("li.tab-item:first-child").css("background","none"),$(this).parents(".tabs-wrapper").find(e).fadeIn(),t.preventDefault()}),$("ul.tabs li a").click(function(t){t.preventDefault()}),$("li.tab-item:last-child").addClass("last-item"),$(".ac-btn").click(function(){$(".ac-btn").removeClass("on"),$(".ac-selected").slideUp("normal"),$(".ac-content").removeClass("ac-selected"),$(".ac-content").slideUp("normal"),1==$(this).next().is(":hidden")&&($(this).addClass("on"),$(this).next().slideDown("normal"))}),$(".ac-btn").mouseover(function(){$(this).addClass("over")}).mouseout(function(){$(this).removeClass("over")}),$(".ac-content").hide(),$("#toggle-view li").click(function(){var t=$(this).children("div.panel");t.is(":hidden")?(t.slideDown("200"),$(this).children("span").addClass("toggle-minus"),$(this).addClass("activated")):(t.slideUp("200"),$(this).children("span").removeClass("toggle-minus"),$(this).children("span").addClass("toggle-plus"),$(this).removeClass("activated"))}),$("#topfooter").append('
    '),$(".box-error").prepend(''),$(".box-notice").prepend(''),$(".box-success").prepend(''),$(".box-info").prepend(''),$(".check").prepend(''),$(".tick-list li").prepend(''),$(".play-list li").prepend(''),$(".star-list li").prepend(''),$(".arrow-list li").prepend(''),$("#audio_jplayer").jPlayer({ready:function(t){$(this).jPlayer("setMedia",{mp3:"media/audio.mp3",ogg:"media/audio.ogg"})},swfPath:"../../media",supplied:"mp3, ogg",wmode:"window"})});var Skills=new function(){var t=document.getElementById("skills"),e={photoshop:"90%",wordpress:"80%",jquery:"100%",illustrator:"40%",ajax:"55%"},i=function(){var i="";for(var n in e){var s=n,a=e[n];i+='
    ',i+='

    ',i+="

    "+s+"

    ",i+="
    "}$(t).html(i)},n=function(){var e=0;$("p[data-width]",t).each(function(){var t=$(this);t.queue("width",function(i){t.delay(e).animate({width:t.data("width")},600,"easeInOutExpo",i)}),t.dequeue("width"),e+=300})};this.init=function(){i(),setTimeout(function(){n()},500)}};Skills.init(),function(t){t.fn.hoverIntent=function(e,i){var n={sensitivity:7,interval:100,timeout:0};n=t.extend(n,i?{over:e,out:i}:e);var s,a,o,r,l=function(t){s=t.pageX,a=t.pageY},c=function(e,i){return i.hoverIntent_t=clearTimeout(i.hoverIntent_t),Math.abs(o-s)+Math.abs(r-a)<n.sensitivity?(t(i).unbind("mousemove",l),i.hoverIntent_s=1,n.over.apply(i,[e])):(o=s,r=a,i.hoverIntent_t=setTimeout(function(){c(e,i)},n.interval),void 0)},d=function(t,e){return e.hoverIntent_t=clearTimeout(e.hoverIntent_t),e.hoverIntent_s=0,n.out.apply(e,[t])},h=function(e){for(var i=("mouseover"==e.type?e.fromElement:e.toElement)||e.relatedTarget;i&&i!=this;)try{i=i.parentNode}catch(e){i=this}if(i==this)return!1;var s=jQuery.extend({},e),a=this;a.hoverIntent_t&&(a.hoverIntent_t=clearTimeout(a.hoverIntent_t)),"mouseover"==e.type?(o=s.pageX,r=s.pageY,t(a).bind("mousemove",l),1!=a.hoverIntent_s&&(a.hoverIntent_t=setTimeout(function(){c(s,a)},n.interval))):(t(a).unbind("mousemove",l),1==a.hoverIntent_s&&(a.hoverIntent_t=setTimeout(function(){d(s,a)},n.timeout)))};return this.mouseover(h).mouseout(h)}}(jQuery),function(t){"use strict";function e(i,n,s,a){function o(t){t.timeout&&(r.cycleTimeout=setTimeout(function(){e(i,t,0,!t.rev)},t.timeout))}if(!n.busy){var r=i[0].parentNode,l=i[n.currSlide],c=i[n.nextSlide];if(0!==r.cycleTimeout||s)if(s||!r.cyclePause){n.before.length&&t.each(n.before,function(t,e){e.apply(c,[l,c,n,a])});var d=function(){t.browser.msie&&this.style.removeAttribute("filter"),t.each(n.after,function(t,e){e.apply(c,[l,c,n,a])}),o(n)};n.nextSlide!=n.currSlide&&(n.busy=1,t.fn.cycle.custom(l,c,n,d));var h=n.nextSlide+1==i.length;n.nextSlide=h?0:n.nextSlide+1,n.currSlide=h?i.length-1:n.nextSlide-1}else o(n)}}function i(t,i,n){var s=t[0].parentNode,a=s.cycleTimeout;return a&&(clearTimeout(a),s.cycleTimeout=0),i.nextSlide=i.currSlide+n,i.nextSlide<0?i.nextSlide=t.length-1:i.nextSlide>=t.length&&(i.nextSlide=0),e(t,i,1,n>=0),!1}var n="Lite-1.6";t.fn.cycle=function(n){return this.each(function(){n=n||{},this.cycleTimeout&&clearTimeout(this.cycleTimeout),this.cycleTimeout=0,this.cyclePause=0;var s=t(this),a=n.slideExpr?t(n.slideExpr,this):s.children(),o=a.get();if(o.length<2)return void(window.console&&console.log("terminating; too few slides: "+o.length));var r=t.extend({},t.fn.cycle.defaults,n||{},t.metadata?s.metadata():t.meta?s.data():{}),l=t.isFunction(s.data)?s.data(r.metaAttr):null;l&&(r=t.extend(r,l)),r.before=r.before?[r.before]:[],r.after=r.after?[r.after]:[],r.after.unshift(function(){r.busy=0});var c=this.className;r.width=parseInt((c.match(/w:(\d+)/)||[])[1],10)||r.width,r.height=parseInt((c.match(/h:(\d+)/)||[])[1],10)||r.height,r.timeout=parseInt((c.match(/t:(\d+)/)||[])[1],10)||r.timeout,"static"==s.css("position")&&s.css("position","relative"),r.width&&s.width(r.width),r.height&&"auto"!=r.height&&s.height(r.height);var d=0;a.css({position:"absolute",top:0}).each(function(e){t(this).css("z-index",o.length-e)}),t(o[d]).css("opacity",1).show(),t.browser.msie&&o[d].style.removeAttribute("filter"),r.fit&&r.width&&a.width(r.width),r.fit&&r.height&&"auto"!=r.height&&a.height(r.height),r.pause&&s.hover(function(){this.cyclePause=1},function(){this.cyclePause=0});var h=t.fn.cycle.transitions[r.fx];if(h&&h(s,a,r),a.each(function(){var e=t(this);this.cycleH=r.fit&&r.height?r.height:e.height(),this.cycleW=r.fit&&r.width?r.width:e.width()}),r.cssFirst&&t(a[d]).css(r.cssFirst),r.timeout)for(r.speed.constructor==String&&(r.speed={slow:600,fast:200}[r.speed]||400),r.sync||(r.speed=r.speed/2);r.timeout-r.speed<250;)r.timeout+=r.speed;r.speedIn=r.speed,r.speedOut=r.speed,r.slideCount=o.length,r.currSlide=d,r.nextSlide=1;var u=a[d];r.before.length&&r.before[0].apply(u,[u,u,r,!0]),r.after.length>1&&r.after[1].apply(u,[u,u,r,!0]),r.click&&!r.next&&(r.next=r.click),r.next&&t(r.next).unbind("click.cycle").bind("click.cycle",function(){return i(o,r,r.rev?-1:1)}),r.prev&&t(r.prev).unbind("click.cycle").bind("click.cycle",function(){return i(o,r,r.rev?1:-1)}),r.timeout&&(this.cycleTimeout=setTimeout(function(){e(o,r,0,!r.rev)},r.timeout+(r.delay||0)))})},t.fn.cycle.custom=function(e,i,n,s){var a=t(e),o=t(i);o.css(n.cssBefore);var r=function(){o.animate(n.animIn,n.speedIn,n.easeIn,s)};a.animate(n.animOut,n.speedOut,n.easeOut,function(){a.css(n.cssAfter),n.sync||r()}),n.sync&&r()},t.fn.cycle.transitions={fade:function(t,e,i){e.not(":eq(0)").hide(),i.cssBefore={opacity:0,display:"block"},i.cssAfter={display:"none"},i.animOut={opacity:0},i.animIn={opacity:1}},fadeout:function(e,i,n){n.before.push(function(e,i,n,s){t(e).css("zIndex",n.slideCount+(s===!0?1:0)),t(i).css("zIndex",n.slideCount+(s===!0?0:1))}),i.not(":eq(0)").hide(),n.cssBefore={opacity:1,display:"block",zIndex:1},n.cssAfter={display:"none",zIndex:0},n.animOut={opacity:0},n.animIn={opacity:1}}},t.fn.cycle.ver=function(){return n},t.fn.cycle.defaults={animIn:{},animOut:{},fx:"fade",after:null,before:null,cssBefore:{},cssAfter:{},delay:0,fit:0,height:"auto",metaAttr:"cycle",next:null,pause:!1,prev:null,speed:1e3,slideExpr:null,sync:!0,timeout:4e3}}(jQuery)(function(t){t.fn.jflickrfeed=function(e,i){e=t.extend(!0,{flickrbase:"../../../api.flickr.com/services/feeds/default.htm",feedapi:"photos_public.gne",limit:20,qstrings:{lang:"en-us",format:"json",jsoncallback:"?"},cleanDescription:!0,useTemplate:!0,itemTemplate:"",itemCallback:function(){}},e);var n=e.flickrbase+e.feedapi+"?",s=!0;for(var a in e.qstrings)s||(n+="&"),n+=a+"="+e.qstrings[a],s=!1;return t(this).each(function(){var s=t(this),a=this;t.getJSON(n,function(n){t.each(n.items,function(t,i){if(t<e.limit){if(e.cleanDescription){var n=/

    (.*?)<\/p>/g,o=i.description;n.test(o)&&(i.description=o.match(n)[2],void 0!=i.description&&(i.description=i.description.replace("<p>","").replace("

    ","")))}if(i.image_s=i.media.m.replace("_m","_s"),i.image_t=i.media.m.replace("_m","_t"),i.image_m=i.media.m.replace("_m","_m"),i.image=i.media.m.replace("_m",""),i.image_b=i.media.m.replace("_m","_b"),delete i.media,e.useTemplate){var r=e.itemTemplate;for(var l in i){var c=new RegExp("Template:"+l+"","g");r=r.replace(c,i[l])}s.append(r)}e.itemCallback.call(a,i)}}),t.isFunction(i)&&i.call(a,n)})})}})(jQuery),function(t,e){function i(t){return O.isWindow(t)?t:9===t.nodeType?t.defaultView||t.parentWindow:!1}function n(t){if(!be[t]){var e=M.body,i=O("<"+t+">").appendTo(e),n=i.css("display");i.remove(),("none"===n||""===n)&&(me||(me=M.createElement("iframe"),me.frameBorder=me.width=me.height=0),e.appendChild(me),ge&&me.createElement||(ge=(me.contentWindow||me.contentDocument).document,ge.write(("CSS1Compat"===M.compatMode?"<!doctype html>":"")+""),ge.close()),i=ge.createElement(t),ge.body.appendChild(i),n=O.css(i,"display"),e.removeChild(me)),be[t]=n}return be[t]}function s(t,e){var i={};return O.each(xe.concat.apply([],xe.slice(0,e)),function(){i[this]=t}),i}function a(){ye=e}function o(){return setTimeout(a,0),ye=O.now()}function r(){try{return new t.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function l(){try{return new t.XMLHttpRequest}catch(e){}}function c(t,i){t.dataFilter&&(i=t.dataFilter(i,t.dataType));var n,s,a,o,r,l,c,d,h=t.dataTypes,u={},p=h.length,f=h[0];for(n=1;p>n;n++){if(1===n)for(s in t.converters)"string"==typeof s&&(u[s.toLowerCase()]=t.converters[s]);if(o=f,f=h[n],"*"===f)f=o;else if("*"!==o&&o!==f){if(r=o+" "+f,l=u[r]||u["* "+f],!l){d=e;for(c in u)if(a=c.split(" "),(a[0]===o||"*"===a[0])&&(d=u[a[1]+" "+f])){c=u[c],c===!0?l=d:d===!0&&(l=c);break}}!l&&!d&&O.error("No conversion from "+r.replace(" "," to ")),l!==!0&&(i=l?l(i):d(c(i)))}}return i}function d(t,i,n){var s,a,o,r,l=t.contents,c=t.dataTypes,d=t.responseFields;for(a in d)a in n&&(i[d[a]]=n[a]);for(;"*"===c[0];)c.shift(),s===e&&(s=t.mimeType||i.getResponseHeader("content-type"));if(s)for(a in l)if(l[a]&&l[a].test(s)){c.unshift(a);break}if(c[0]in n)o=c[0];else{for(a in n){if(!c[0]||t.converters[a+" "+c[0]]){o=a;break}r||(r=a)}o=o||r}return o?(o!==c[0]&&c.unshift(o),n[o]):void 0}function h(t,e,i,n){if(O.isArray(e))O.each(e,function(e,s){i||Ut.test(t)?n(t,s):h(t+"["+("object"==typeof s||O.isArray(s)?e:"")+"]",s,i,n)});else if(i||null==e||"object"!=typeof e)n(t,e);else for(var s in e)h(t+"["+s+"]",e[s],i,n)}function u(t,i){var n,s,a=O.ajaxSettings.flatOptions||{};for(n in i)i[n]!==e&&((a[n]?t:s||(s={}))[n]=i[n]);s&&O.extend(!0,t,s)}function p(t,i,n,s,a,o){a=a||i.dataTypes[0],o=o||{},o[a]=!0;for(var r,l=t[a],c=0,d=l?l.length:0,h=t===oe;d>c&&(h||!r);c++)r=l[c](i,n,s),"string"==typeof r&&(!h||o[r]?r=e:(i.dataTypes.unshift(r),r=p(t,i,n,s,r,o)));return(h||!r)&&!o["*"]&&(r=p(t,i,n,s,"*",o)),r}function f(t){return function(e,i){if("string"!=typeof e&&(i=e,e="*"),O.isFunction(i))for(var n,s,a,o=e.toLowerCase().split(ie),r=0,l=o.length;l>r;r++)n=o[r],a=/^\+/.test(n),a&&(n=n.substr(1)||"*"),s=t[n]=t[n]||[],s[a?"unshift":"push"](i)}}function m(t,e,i){var n="width"===e?t.offsetWidth:t.offsetHeight,s="width"===e?Ft:Bt,a=0,o=s.length;if(n>0){if("border"!==i)for(;o>a;a++)i||(n-=parseFloat(O.css(t,"padding"+s[a]))||0),"margin"===i?n+=parseFloat(O.css(t,i+s[a]))||0:n-=parseFloat(O.css(t,"border"+s[a]+"Width"))||0;return n+"px"}if(n=Nt(t,e,e),(0>n||null==n)&&(n=t.style[e]||0),n=parseFloat(n)||0,i)for(;o>a;a++)n+=parseFloat(O.css(t,"padding"+s[a]))||0,"padding"!==i&&(n+=parseFloat(O.css(t,"border"+s[a]+"Width"))||0),"margin"===i&&(n+=parseFloat(O.css(t,i+s[a]))||0);return n+"px"}function g(t,e){e.src?O.ajax({url:e.src,async:!1,dataType:"script"}):O.globalEval((e.text||e.textContent||e.innerHTML||"").replace(Tt,"/*$0*/")),e.parentNode&&e.parentNode.removeChild(e)}function v(t){var e=M.createElement("div");return Et.appendChild(e),e.innerHTML=t.outerHTML,e.firstChild}function y(t){var e=(t.nodeName||"").toLowerCase();"input"===e?b(t):"script"!==e&&"undefined"!=typeof t.getElementsByTagName&&O.grep(t.getElementsByTagName("input"),b)}function b(t){("checkbox"===t.type||"radio"===t.type)&&(t.defaultChecked=t.checked)}function w(t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName("*"):"undefined"!=typeof t.querySelectorAll?t.querySelectorAll("*"):[]}function _(t,e){var i;1===e.nodeType&&(e.clearAttributes&&e.clearAttributes(),e.mergeAttributes&&e.mergeAttributes(t),i=e.nodeName.toLowerCase(),"object"===i?e.outerHTML=t.outerHTML:"input"!==i||"checkbox"!==t.type&&"radio"!==t.type?"option"===i?e.selected=t.defaultSelected:("input"===i||"textarea"===i)&&(e.defaultValue=t.defaultValue):(t.checked&&(e.defaultChecked=e.checked=t.checked),e.value!==t.value&&(e.value=t.value)),e.removeAttribute(O.expando))}function x(t,e){if(1===e.nodeType&&O.hasData(t)){var i,n,s,a=O._data(t),o=O._data(e,a),r=a.events;if(r){delete o.handle,o.events={};for(i in r)for(n=0,s=r[i].length;s>n;n++)O.event.add(e,i+(r[i][n].namespace?".":"")+r[i][n].namespace,r[i][n],r[i][n].data)}o.data&&(o.data=O.extend({},o.data))}}function C(t,e){return O.nodeName(t,"table")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function j(t){var e=mt.split("|"),i=t.createDocumentFragment();if(i.createElement)for(;e.length;)i.createElement(e.pop());return i}function S(t,e,i){if(e=e||0,O.isFunction(e))return O.grep(t,function(t,n){var s=!!e.call(t,n,t);return s===i});if(e.nodeType)return O.grep(t,function(t,n){return t===e===i});if("string"==typeof e){var n=O.grep(t,function(t){return 1===t.nodeType});if(ht.test(e))return O.filter(e,n,!i);e=O.filter(e,n)}return O.grep(t,function(t,n){return O.inArray(t,e)>=0===i})}function k(t){return!t||!t.parentNode||11===t.parentNode.nodeType}function T(){return!0}function P(){return!1}function E(t,e,i){var n=e+"defer",s=e+"queue",a=e+"mark",o=O._data(t,n);o&&("queue"===i||!O._data(t,s))&&("mark"===i||!O._data(t,a))&&setTimeout(function(){!O._data(t,s)&&!O._data(t,a)&&(O.removeData(t,n,!0),o.fire())},0)}function N(t){for(var e in t)if(("data"!==e||!O.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function A(t,i,n){if(n===e&&1===t.nodeType){var s="data-"+i.replace(F,"-$1").toLowerCase();if(n=t.getAttribute(s),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:O.isNumeric(n)?parseFloat(n):H.test(n)?O.parseJSON(n):n}catch(a){}O.data(t,i,n)}else n=e}return n}function I(t){var e,i,n=z[t]={};for(t=t.split(/\s+/),e=0,i=t.length;i>e;e++)n[t[e]]=!0;return n}var M=t.document,L=t.navigator,q=t.location,O=function(){function i(){if(!r.isReady){try{M.documentElement.doScroll("left")}catch(t){return void setTimeout(i,1)}r.ready()}}var n,s,a,o,r=function(t,e){return new r.fn.init(t,e,n)},l=t.jQuery,c=t.$,d=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,h=/\S/,u=/^\s+/,p=/\s+$/,f=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,m=/^[\],:{}\s]*$/,g=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,v=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,y=/(?:^|:|,)(?:\s*\[)+/g,b=/(webkit)[ \/]([\w.]+)/,w=/(opera)(?:.*version)?[ \/]([\w.]+)/,_=/(msie) ([\w.]+)/,x=/(mozilla)(?:.*? rv:([\w.]+))?/,C=/-([a-z]|[0-9])/gi,j=/^-ms-/,S=function(t,e){return(e+"").toUpperCase()},k=L.userAgent,T=Object.prototype.toString,P=Object.prototype.hasOwnProperty,E=Array.prototype.push,N=Array.prototype.slice,A=String.prototype.trim,I=Array.prototype.indexOf,q={};return r.fn=r.prototype={constructor:r,init:function(t,i,n){var s,a,o,l;if(!t)return this;if(t.nodeType)return this.context=this[0]=t,this.length=1,this;if("body"===t&&!i&&M.body)return this.context=M,this[0]=M.body,this.selector=t,this.length=1,this;if("string"==typeof t){if(s="<"!==t.charAt(0)||">"!==t.charAt(t.length-1)||t.length<3?d.exec(t):[null,t,null],s&&(s[1]||!i)){if(s[1])return i=i instanceof r?i[0]:i,l=i?i.ownerDocument||i:M,o=f.exec(t),o?r.isPlainObject(i)?(t=[M.createElement(o[1])],r.fn.attr.call(t,i,!0)):t=[l.createElement(o[1])]:(o=r.buildFragment([s[1]],[l]),t=(o.cacheable?r.clone(o.fragment):o.fragment).childNodes),r.merge(this,t);if(a=M.getElementById(s[2]),a&&a.parentNode){if(a.id!==s[2])return n.find(t);this.length=1,this[0]=a}return this.context=M,this.selector=t,this}return!i||i.jquery?(i||n).find(t):this.constructor(i).find(t)}return r.isFunction(t)?n.ready(t):(t.selector!==e&&(this.selector=t.selector,this.context=t.context),r.makeArray(t,this))},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return N.call(this,0)},get:function(t){return null==t?this.toArray():0>t?this[this.length+t]:this[t]},pushStack:function(t,e,i){var n=this.constructor();return r.isArray(t)?E.apply(n,t):r.merge(n,t),n.prevObject=this,n.context=this.context,"find"===e?n.selector=this.selector+(this.selector?" ":"")+i:e&&(n.selector=this.selector+"."+e+"("+i+")"),n},each:function(t,e){return r.each(this,t,e)},ready:function(t){return r.bindReady(),a.add(t),this},eq:function(t){return t=+t,-1===t?this.slice(t):this.slice(t,t+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(N.apply(this,arguments),"slice",N.call(arguments).join(","))},map:function(t){return this.pushStack(r.map(this,function(e,i){return t.call(e,i,e)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},r.fn.init.prototype=r.fn,r.extend=r.fn.extend=function(){var t,i,n,s,a,o,l=arguments[0]||{},c=1,d=arguments.length,h=!1;for("boolean"==typeof l&&(h=l,l=arguments[1]||{},c=2),"object"!=typeof l&&!r.isFunction(l)&&(l={}),d===c&&(l=this,--c);d>c;c++)if(null!=(t=arguments[c]))for(i in t)n=l[i],s=t[i],l!==s&&(h&&s&&(r.isPlainObject(s)||(a=r.isArray(s)))?(a?(a=!1,o=n&&r.isArray(n)?n:[]):o=n&&r.isPlainObject(n)?n:{},l[i]=r.extend(h,o,s)):s!==e&&(l[i]=s));return l},r.extend({noConflict:function(e){return t.$===r&&(t.$=c),e&&t.jQuery===r&&(t.jQuery=l),r},isReady:!1,readyWait:1,holdReady:function(t){t?r.readyWait++:r.ready(!0)},ready:function(t){if(t===!0&&!--r.readyWait||t!==!0&&!r.isReady){if(!M.body)return setTimeout(r.ready,1);if(r.isReady=!0,t!==!0&&--r.readyWait>0)return;a.fireWith(M,[r]),r.fn.trigger&&r(M).trigger("ready").off("ready")}},bindReady:function(){if(!a){if(a=r.Callbacks("once memory"),"complete"===M.readyState)return setTimeout(r.ready,1);if(M.addEventListener)M.addEventListener("DOMContentLoaded",o,!1),t.addEventListener("load",r.ready,!1);else if(M.attachEvent){M.attachEvent("onreadystatechange",o),t.attachEvent("onload",r.ready);var e=!1;try{e=null==t.frameElement}catch(n){}M.documentElement.doScroll&&e&&i()}}},isFunction:function(t){return"function"===r.type(t)},isArray:Array.isArray||function(t){return"array"===r.type(t)},isWindow:function(t){return t&&"object"==typeof t&&"setInterval"in t},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},type:function(t){return null==t?String(t):q[T.call(t)]||"object"},isPlainObject:function(t){if(!t||"object"!==r.type(t)||t.nodeType||r.isWindow(t))return!1;try{if(t.constructor&&!P.call(t,"constructor")&&!P.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(i){return!1}var n;for(n in t);return n===e||P.call(t,n)},isEmptyObject:function(t){for(var e in t)return!1;return!0},error:function(t){throw new Error(t)},parseJSON:function(e){return"string"==typeof e&&e?(e=r.trim(e),t.JSON&&t.JSON.parse?t.JSON.parse(e):m.test(e.replace(g,"@").replace(v,"]").replace(y,""))?new Function("return "+e)():void r.error("Invalid JSON: "+e)):null},parseXML:function(i){var n,s;try{t.DOMParser?(s=new DOMParser,n=s.parseFromString(i,"text/xml")):(n=new ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(i))}catch(a){n=e}return(!n||!n.documentElement||n.getElementsByTagName("parsererror").length)&&r.error("Invalid XML: "+i),n},noop:function(){},globalEval:function(e){e&&h.test(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},camelCase:function(t){return t.replace(j,"ms-").replace(C,S)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toUpperCase()===e.toUpperCase()},each:function(t,i,n){var s,a=0,o=t.length,l=o===e||r.isFunction(t);if(n)if(l){for(s in t)if(i.apply(t[s],n)===!1)break}else for(;o>a&&i.apply(t[a++],n)!==!1;);else if(l){for(s in t)if(i.call(t[s],s,t[s])===!1)break}else for(;o>a&&i.call(t[a],a,t[a++])!==!1;);return t},trim:A?function(t){return null==t?"":A.call(t)}:function(t){return null==t?"":(t+"").replace(u,"").replace(p,"")},makeArray:function(t,e){var i=e||[];if(null!=t){var n=r.type(t);null==t.length||"string"===n||"function"===n||"regexp"===n||r.isWindow(t)?E.call(i,t):r.merge(i,t)}return i},inArray:function(t,e,i){var n;if(e){if(I)return I.call(e,t,i);for(n=e.length,i=i?0>i?Math.max(0,n+i):i:0;n>i;i++)if(i in e&&e[i]===t)return i}return-1},merge:function(t,i){var n=t.length,s=0;if("number"==typeof i.length)for(var a=i.length;a>s;s++)t[n++]=i[s];else for(;i[s]!==e;)t[n++]=i[s++];return t.length=n,t},grep:function(t,e,i){var n,s=[];i=!!i;for(var a=0,o=t.length;o>a;a++)n=!!e(t[a],a),i!==n&&s.push(t[a]);return s},map:function(t,i,n){var s,a,o=[],l=0,c=t.length,d=t instanceof r||c!==e&&"number"==typeof c&&(c>0&&t[0]&&t[c-1]||0===c||r.isArray(t));if(d)for(;c>l;l++)s=i(t[l],l,n),null!=s&&(o[o.length]=s);else for(a in t)s=i(t[a],a,n),null!=s&&(o[o.length]=s);return o.concat.apply([],o)},guid:1,proxy:function(t,i){if("string"==typeof i){var n=t[i];i=t,t=n}if(!r.isFunction(t))return e;var s=N.call(arguments,2),a=function(){return t.apply(i,s.concat(N.call(arguments)))};return a.guid=t.guid=t.guid||a.guid||r.guid++,a},access:function(t,i,n,s,a,o){var l=t.length;if("object"==typeof i){for(var c in i)r.access(t,c,i[c],s,a,n);return t}if(n!==e){s=!o&&s&&r.isFunction(n);for(var d=0;l>d;d++)a(t[d],i,s?n.call(t[d],d,a(t[d],i)):n,o);return t}return l?a(t[0],i):e},now:function(){return(new Date).getTime()},uaMatch:function(t){t=t.toLowerCase();var e=b.exec(t)||w.exec(t)||_.exec(t)||t.indexOf("compatible")<0&&x.exec(t)||[];return{browser:e[1]||"",version:e[2]||"0"}},sub:function(){function t(e,i){return new t.fn.init(e,i)}r.extend(!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=t,t.sub=this.sub,t.fn.init=function(i,n){return n&&n instanceof r&&!(n instanceof t)&&(n=t(n)),r.fn.init.call(this,i,n,e)},t.fn.init.prototype=t.fn;var e=t(M);return t},browser:{}}),r.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(t,e){q["[object "+e+"]"]=e.toLowerCase()}),s=r.uaMatch(k),s.browser&&(r.browser[s.browser]=!0,r.browser.version=s.version),r.browser.webkit&&(r.browser.safari=!0),h.test("�")&&(u=/^[\s\xA0]+/,p=/[\s\xA0]+$/),n=r(M),M.addEventListener?o=function(){M.removeEventListener("DOMContentLoaded",o,!1),r.ready()}:M.attachEvent&&(o=function(){"complete"===M.readyState&&(M.detachEvent("onreadystatechange",o),r.ready())}),r}(),z={};O.Callbacks=function(t){t=t?z[t]||I(t):{};var i,n,s,a,o,r=[],l=[],c=function(e){var i,n,s,a;for(i=0,n=e.length;n>i;i++)s=e[i],a=O.type(s),"array"===a?c(s):"function"===a&&(!t.unique||!h.has(s))&&r.push(s)},d=function(e,c){for(c=c||[],i=!t.memory||[e,c],n=!0,o=s||0,s=0,a=r.length;r&&a>o;o++)if(r[o].apply(e,c)===!1&&t.stopOnFalse){i=!0;break}n=!1,r&&(t.once?i===!0?h.disable():r=[]:l&&l.length&&(i=l.shift(),h.fireWith(i[0],i[1])))},h={add:function(){if(r){var t=r.length;c(arguments),n?a=r.length:i&&i!==!0&&(s=t,d(i[0],i[1]))}return this},remove:function(){if(r)for(var e=arguments,i=0,s=e.length;s>i;i++)for(var l=0;l=l&&(a--,o>=l&&o--),r.splice(l--,1),!t.unique));l++);return this},has:function(t){if(r)for(var e=0,i=r.length;i>e;e++)if(t===r[e])return!0;return!1},empty:function(){return r=[],this},disable:function(){return r=l=i=e,this},disabled:function(){return!r},lock:function(){return l=e,(!i||i===!0)&&h.disable(),this},locked:function(){return!l},fireWith:function(e,s){return l&&(n?t.once||l.push([e,s]):(!t.once||!i)&&d(e,s)),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!i}};return h};var $=[].slice;O.extend({Deferred:function(t){var e,i=O.Callbacks("once memory"),n=O.Callbacks("once memory"),s=O.Callbacks("memory"),a="pending",o={resolve:i,reject:n,notify:s},r={done:i.add,fail:n.add,progress:s.add,state:function(){return a},isResolved:i.fired,isRejected:n.fired,then:function(t,e,i){return l.done(t).fail(e).progress(i),this},always:function(){return l.done.apply(l,arguments).fail.apply(l,arguments),this},pipe:function(t,e,i){return O.Deferred(function(n){O.each({done:[t,"resolve"],fail:[e,"reject"],progress:[i,"notify"]},function(t,e){var i,s=e[0],a=e[1];O.isFunction(s)?l[t](function(){i=s.apply(this,arguments),i&&O.isFunction(i.promise)?i.promise().then(n.resolve,n.reject,n.notify):n[a+"With"](this===l?n:this,[i])}):l[t](n[a])})}).promise()},promise:function(t){if(null==t)t=r;else for(var e in r)t[e]=r[e];return t}},l=r.promise({});for(e in o)l[e]=o[e].fire,l[e+"With"]=o[e].fireWith;return l.done(function(){a="resolved"},n.disable,s.lock).fail(function(){a="rejected"},i.disable,s.lock),t&&t.call(l,l),l},when:function(t){function e(t){return function(e){o[t]=arguments.length>1?$.call(arguments,0):e,l.notifyWith(c,o)}}function i(t){return function(e){n[t]=arguments.length>1?$.call(arguments,0):e,--r||l.resolveWith(l,n)}}var n=$.call(arguments,0),s=0,a=n.length,o=Array(a),r=a,l=1>=a&&t&&O.isFunction(t.promise)?t:O.Deferred(),c=l.promise();if(a>1){for(;a>s;s++)n[s]&&n[s].promise&&O.isFunction(n[s].promise)?n[s].promise().then(i(s),l.reject,e(s)):--r; r||l.resolveWith(l,n)}else l!==t&&l.resolveWith(l,a?[t]:[]);return c}}),O.support=function(){var e,i,n,s,a,o,r,l,c,d,h,u,p=M.createElement("div");M.documentElement;if(p.setAttribute("className","t"),p.innerHTML="
    a",i=p.getElementsByTagName("*"),n=p.getElementsByTagName("a")[0],!i||!i.length||!n)return{};s=M.createElement("select"),a=s.appendChild(M.createElement("option")),o=p.getElementsByTagName("input")[0],e={leadingWhitespace:3===p.firstChild.nodeType,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(n.getAttribute("style")),hrefNormalized:"/a"===n.getAttribute("href"),opacity:/^0.55/.test(n.style.opacity),cssFloat:!!n.style.cssFloat,checkOn:"on"===o.value,optSelected:a.selected,getSetAttribute:"t"!==p.className,enctype:!!M.createElement("form").enctype,html5Clone:"<:nav>"!==M.createElement("nav").cloneNode(!0).outerHTML,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},o.checked=!0,e.noCloneChecked=o.cloneNode(!0).checked,s.disabled=!0,e.optDisabled=!a.disabled;try{delete p.test}catch(f){e.deleteExpando=!1}if(!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",function(){e.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick")),o=M.createElement("input"),o.value="t",o.setAttribute("type","radio"),e.radioValue="t"===o.value,o.setAttribute("checked","checked"),p.appendChild(o),l=M.createDocumentFragment(),l.appendChild(p.lastChild),e.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,e.appendChecked=o.checked,l.removeChild(o),l.appendChild(p),p.innerHTML="",t.getComputedStyle&&(r=M.createElement("div"),r.style.width="0",r.style.marginRight="0",p.style.width="2px",p.appendChild(r),e.reliableMarginRight=0===(parseInt((t.getComputedStyle(r,null)||{marginRight:0}).marginRight,10)||0)),p.attachEvent)for(h in{submit:1,change:1,focusin:1})d="on"+h,u=d in p,u||(p.setAttribute(d,"return;"),u="function"==typeof p[d]),e[h+"Bubbles"]=u;return l.removeChild(p),l=s=a=r=p=o=null,O(function(){var t,i,n,s,a,o,r,l,d,h,f=M.getElementsByTagName("body")[0];!f||(o=1,r="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",l="visibility:hidden;border:0;",d="style='"+r+"border:5px solid #000;padding:0;'",h="
    ",t=M.createElement("div"),t.style.cssText=l+"width:0;height:0;position:static;top:0;margin-top:"+o+"px",f.insertBefore(t,f.firstChild),p=M.createElement("div"),t.appendChild(p),p.innerHTML="
    t
    ",c=p.getElementsByTagName("td"),u=0===c[0].offsetHeight,c[0].style.display="",c[1].style.display="none",e.reliableHiddenOffsets=u&&0===c[0].offsetHeight,p.innerHTML="",p.style.width=p.style.paddingLeft="1px",O.boxModel=e.boxModel=2===p.offsetWidth,"undefined"!=typeof p.style.zoom&&(p.style.display="inline",p.style.zoom=1,e.inlineBlockNeedsLayout=2===p.offsetWidth,p.style.display="",p.innerHTML="
    ",e.shrinkWrapBlocks=2!==p.offsetWidth),p.style.cssText=r+l,p.innerHTML=h,i=p.firstChild,n=i.firstChild,s=i.nextSibling.firstChild.firstChild,a={doesNotAddBorder:5!==n.offsetTop,doesAddBorderForTableAndCells:5===s.offsetTop},n.style.position="fixed",n.style.top="20px",a.fixedPosition=20===n.offsetTop||15===n.offsetTop,n.style.position=n.style.top="",i.style.overflow="hidden",i.style.position="relative",a.subtractsBorderForOverflowNotVisible=-5===n.offsetTop,a.doesNotIncludeMarginInBodyOffset=f.offsetTop!==o,f.removeChild(t),p=t=null,O.extend(e,a))}),e}();var H=/^(?:\{.*\}|\[.*\])$/,F=/([A-Z])/g;O.extend({cache:{},uuid:0,expando:"jQuery"+(O.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(t){return t=t.nodeType?O.cache[t[O.expando]]:t[O.expando],!!t&&!N(t)},data:function(t,i,n,s){if(O.acceptData(t)){var a,o,r,l=O.expando,c="string"==typeof i,d=t.nodeType,h=d?O.cache:t,u=d?t[l]:t[l]&&l,p="events"===i;if((!u||!h[u]||!p&&!s&&!h[u].data)&&c&&n===e)return;return u||(d?t[l]=u=++O.uuid:u=l),h[u]||(h[u]={},d||(h[u].toJSON=O.noop)),("object"==typeof i||"function"==typeof i)&&(s?h[u]=O.extend(h[u],i):h[u].data=O.extend(h[u].data,i)),a=o=h[u],s||(o.data||(o.data={}),o=o.data),n!==e&&(o[O.camelCase(i)]=n),p&&!o[i]?a.events:(c?(r=o[i],null==r&&(r=o[O.camelCase(i)])):r=o,r)}},removeData:function(t,e,i){if(O.acceptData(t)){var n,s,a,o=O.expando,r=t.nodeType,l=r?O.cache:t,c=r?t[o]:o;if(!l[c])return;if(e&&(n=i?l[c]:l[c].data)){O.isArray(e)||(e in n?e=[e]:(e=O.camelCase(e),e=e in n?[e]:e.split(" ")));for(s=0,a=e.length;a>s;s++)delete n[e[s]];if(!(i?N:O.isEmptyObject)(n))return}if(!i&&(delete l[c].data,!N(l[c])))return;O.support.deleteExpando||!l.setInterval?delete l[c]:l[c]=null,r&&(O.support.deleteExpando?delete t[o]:t.removeAttribute?t.removeAttribute(o):t[o]=null)}},_data:function(t,e,i){return O.data(t,e,i,!0)},acceptData:function(t){if(t.nodeName){var e=O.noData[t.nodeName.toLowerCase()];if(e)return e!==!0&&t.getAttribute("classid")===e}return!0}}),O.fn.extend({data:function(t,i){var n,s,a,o=null;if("undefined"==typeof t){if(this.length&&(o=O.data(this[0]),1===this[0].nodeType&&!O._data(this[0],"parsedAttrs"))){s=this[0].attributes;for(var r=0,l=s.length;l>r;r++)a=s[r].name,0===a.indexOf("data-")&&(a=O.camelCase(a.substring(5)),A(this[0],a,o[a]));O._data(this[0],"parsedAttrs",!0)}return o}return"object"==typeof t?this.each(function(){O.data(this,t)}):(n=t.split("."),n[1]=n[1]?"."+n[1]:"",i===e?(o=this.triggerHandler("getData"+n[1]+"!",[n[0]]),o===e&&this.length&&(o=O.data(this[0],t),o=A(this[0],t,o)),o===e&&n[1]?this.data(n[0]):o):this.each(function(){var e=O(this),s=[n[0],i];e.triggerHandler("setData"+n[1]+"!",s),O.data(this,t,i),e.triggerHandler("changeData"+n[1]+"!",s)}))},removeData:function(t){return this.each(function(){O.removeData(this,t)})}}),O.extend({_mark:function(t,e){t&&(e=(e||"fx")+"mark",O._data(t,e,(O._data(t,e)||0)+1))},_unmark:function(t,e,i){if(t!==!0&&(i=e,e=t,t=!1),e){i=i||"fx";var n=i+"mark",s=t?0:(O._data(e,n)||1)-1;s?O._data(e,n,s):(O.removeData(e,n,!0),E(e,i,"mark"))}},queue:function(t,e,i){var n;return t?(e=(e||"fx")+"queue",n=O._data(t,e),i&&(!n||O.isArray(i)?n=O._data(t,e,O.makeArray(i)):n.push(i)),n||[]):void 0},dequeue:function(t,e){e=e||"fx";var i=O.queue(t,e),n=i.shift(),s={};"inprogress"===n&&(n=i.shift()),n&&("fx"===e&&i.unshift("inprogress"),O._data(t,e+".run",s),n.call(t,function(){O.dequeue(t,e)},s)),i.length||(O.removeData(t,e+"queue "+e+".run",!0),E(t,e,"queue"))}}),O.fn.extend({queue:function(t,i){return"string"!=typeof t&&(i=t,t="fx"),i===e?O.queue(this[0],t):this.each(function(){var e=O.queue(this,t,i);"fx"===t&&"inprogress"!==e[0]&&O.dequeue(this,t)})},dequeue:function(t){return this.each(function(){O.dequeue(this,t)})},delay:function(t,e){return t=O.fx?O.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,i){var n=setTimeout(e,t);i.stop=function(){clearTimeout(n)}})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,i){function n(){--l||a.resolveWith(o,[o])}"string"!=typeof t&&(i=t,t=e),t=t||"fx";for(var s,a=O.Deferred(),o=this,r=o.length,l=1,c=t+"defer",d=t+"queue",h=t+"mark";r--;)(s=O.data(o[r],c,e,!0)||(O.data(o[r],d,e,!0)||O.data(o[r],h,e,!0))&&O.data(o[r],c,O.Callbacks("once memory"),!0))&&(l++,s.add(n));return n(),a.promise()}});var B,D,R,W=/[\n\t\r]/g,U=/\s+/,V=/\r/g,Q=/^(?:button|input)$/i,X=/^(?:button|input|object|select|textarea)$/i,Y=/^a(?:rea)?$/i,G=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,J=O.support.getSetAttribute;O.fn.extend({attr:function(t,e){return O.access(this,t,e,!0,O.attr)},removeAttr:function(t){return this.each(function(){O.removeAttr(this,t)})},prop:function(t,e){return O.access(this,t,e,!0,O.prop)},removeProp:function(t){return t=O.propFix[t]||t,this.each(function(){try{this[t]=e,delete this[t]}catch(i){}})},addClass:function(t){var e,i,n,s,a,o,r;if(O.isFunction(t))return this.each(function(e){O(this).addClass(t.call(this,e,this.className))});if(t&&"string"==typeof t)for(e=t.split(U),i=0,n=this.length;n>i;i++)if(s=this[i],1===s.nodeType)if(s.className||1!==e.length){for(a=" "+s.className+" ",o=0,r=e.length;r>o;o++)~a.indexOf(" "+e[o]+" ")||(a+=e[o]+" ");s.className=O.trim(a)}else s.className=t;return this},removeClass:function(t){var i,n,s,a,o,r,l;if(O.isFunction(t))return this.each(function(e){O(this).removeClass(t.call(this,e,this.className))});if(t&&"string"==typeof t||t===e)for(i=(t||"").split(U),n=0,s=this.length;s>n;n++)if(a=this[n],1===a.nodeType&&a.className)if(t){for(o=(" "+a.className+" ").replace(W," "),r=0,l=i.length;l>r;r++)o=o.replace(" "+i[r]+" "," ");a.className=O.trim(o)}else a.className="";return this},toggleClass:function(t,e){var i=typeof t,n="boolean"==typeof e;return O.isFunction(t)?this.each(function(i){O(this).toggleClass(t.call(this,i,this.className,e),e)}):this.each(function(){if("string"===i)for(var s,a=0,o=O(this),r=e,l=t.split(U);s=l[a++];)r=n?r:!o.hasClass(s),o[r?"addClass":"removeClass"](s);else("undefined"===i||"boolean"===i)&&(this.className&&O._data(this,"__className__",this.className),this.className=this.className||t===!1?"":O._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",i=0,n=this.length;n>i;i++)if(1===this[i].nodeType&&(" "+this[i].className+" ").replace(W," ").indexOf(e)>-1)return!0;return!1},val:function(t){var i,n,s,a=this[0];return arguments.length?(s=O.isFunction(t),this.each(function(n){var a,o=O(this);1===this.nodeType&&(a=s?t.call(this,n,o.val()):t,null==a?a="":"number"==typeof a?a+="":O.isArray(a)&&(a=O.map(a,function(t){return null==t?"":t+""})),i=O.valHooks[this.nodeName.toLowerCase()]||O.valHooks[this.type],i&&"set"in i&&i.set(this,a,"value")!==e||(this.value=a))})):a?(i=O.valHooks[a.nodeName.toLowerCase()]||O.valHooks[a.type],i&&"get"in i&&(n=i.get(a,"value"))!==e?n:(n=a.value,"string"==typeof n?n.replace(V,""):null==n?"":n)):void 0}}),O.extend({valHooks:{option:{get:function(t){var e=t.attributes.value;return!e||e.specified?t.value:t.text}},select:{get:function(t){var e,i,n,s,a=t.selectedIndex,o=[],r=t.options,l="select-one"===t.type;if(0>a)return null;for(i=l?a:0,n=l?a+1:r.length;n>i;i++)if(s=r[i],s.selected&&(O.support.optDisabled?!s.disabled:null===s.getAttribute("disabled"))&&(!s.parentNode.disabled||!O.nodeName(s.parentNode,"optgroup"))){if(e=O(s).val(),l)return e;o.push(e)}return l&&!o.length&&r.length?O(r[a]).val():o},set:function(t,e){var i=O.makeArray(e);return O(t).find("option").each(function(){this.selected=O.inArray(O(this).val(),i)>=0}),i.length||(t.selectedIndex=-1),i}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(t,i,n,s){var a,o,r,l=t.nodeType;return t&&3!==l&&8!==l&&2!==l?s&&i in O.attrFn?O(t)[i](n):"undefined"==typeof t.getAttribute?O.prop(t,i,n):(r=1!==l||!O.isXMLDoc(t),r&&(i=i.toLowerCase(),o=O.attrHooks[i]||(G.test(i)?D:B)),n!==e?null===n?void O.removeAttr(t,i):o&&"set"in o&&r&&(a=o.set(t,n,i))!==e?a:(t.setAttribute(i,""+n),n):o&&"get"in o&&r&&null!==(a=o.get(t,i))?a:(a=t.getAttribute(i),null===a?e:a)):void 0},removeAttr:function(t,e){var i,n,s,a,o=0;if(e&&1===t.nodeType)for(n=e.toLowerCase().split(U),a=n.length;a>o;o++)s=n[o],s&&(i=O.propFix[s]||s,O.attr(t,s,""),t.removeAttribute(J?s:i),G.test(s)&&i in t&&(t[i]=!1))},attrHooks:{type:{set:function(t,e){if(Q.test(t.nodeName)&&t.parentNode)O.error("type property can't be changed");else if(!O.support.radioValue&&"radio"===e&&O.nodeName(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}},value:{get:function(t,e){return B&&O.nodeName(t,"button")?B.get(t,e):e in t?t.value:null},set:function(t,e,i){return B&&O.nodeName(t,"button")?B.set(t,e,i):void(t.value=e)}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(t,i,n){var s,a,o,r=t.nodeType;return t&&3!==r&&8!==r&&2!==r?(o=1!==r||!O.isXMLDoc(t),o&&(i=O.propFix[i]||i,a=O.propHooks[i]),n!==e?a&&"set"in a&&(s=a.set(t,n,i))!==e?s:t[i]=n:a&&"get"in a&&null!==(s=a.get(t,i))?s:t[i]):void 0},propHooks:{tabIndex:{get:function(t){var i=t.getAttributeNode("tabindex");return i&&i.specified?parseInt(i.value,10):X.test(t.nodeName)||Y.test(t.nodeName)&&t.href?0:e}}}}),O.attrHooks.tabindex=O.propHooks.tabIndex,D={get:function(t,i){var n,s=O.prop(t,i);return s===!0||"boolean"!=typeof s&&(n=t.getAttributeNode(i))&&n.nodeValue!==!1?i.toLowerCase():e},set:function(t,e,i){var n;return e===!1?O.removeAttr(t,i):(n=O.propFix[i]||i,n in t&&(t[n]=!0),t.setAttribute(i,i.toLowerCase())),i}},J||(R={name:!0,id:!0},B=O.valHooks.button={get:function(t,i){var n;return n=t.getAttributeNode(i),n&&(R[i]?""!==n.nodeValue:n.specified)?n.nodeValue:e},set:function(t,e,i){var n=t.getAttributeNode(i);return n||(n=M.createAttribute(i),t.setAttributeNode(n)),n.nodeValue=e+""}},O.attrHooks.tabindex.set=B.set,O.each(["width","height"],function(t,e){O.attrHooks[e]=O.extend(O.attrHooks[e],{set:function(t,i){return""===i?(t.setAttribute(e,"auto"),i):void 0}})}),O.attrHooks.contenteditable={get:B.get,set:function(t,e,i){""===e&&(e="false"),B.set(t,e,i)}}),O.support.hrefNormalized||O.each(["href","src","width","height"],function(t,i){O.attrHooks[i]=O.extend(O.attrHooks[i],{get:function(t){var n=t.getAttribute(i,2);return null===n?e:n}})}),O.support.style||(O.attrHooks.style={get:function(t){return t.style.cssText.toLowerCase()||e},set:function(t,e){return t.style.cssText=""+e}}),O.support.optSelected||(O.propHooks.selected=O.extend(O.propHooks.selected,{get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}})),O.support.enctype||(O.propFix.enctype="encoding"),O.support.checkOn||O.each(["radio","checkbox"],function(){O.valHooks[this]={get:function(t){return null===t.getAttribute("value")?"on":t.value}}}),O.each(["radio","checkbox"],function(){O.valHooks[this]=O.extend(O.valHooks[this],{set:function(t,e){return O.isArray(e)?t.checked=O.inArray(O(t).val(),e)>=0:void 0}})});var K=/^(?:textarea|input|select)$/i,Z=/^([^\.]*)?(?:\.(.+))?$/,tt=/\bhover(\.\S+)?\b/,et=/^key/,it=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,st=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,at=function(t){var e=st.exec(t);return e&&(e[1]=(e[1]||"").toLowerCase(),e[3]=e[3]&&new RegExp("(?:^|\\s)"+e[3]+"(?:\\s|$)")),e},ot=function(t,e){var i=t.attributes||{};return(!e[1]||t.nodeName.toLowerCase()===e[1])&&(!e[2]||(i.id||{}).value===e[2])&&(!e[3]||e[3].test((i["class"]||{}).value))},rt=function(t){return O.event.special.hover?t:t.replace(tt,"mouseenter$1 mouseleave$1")};O.event={add:function(t,i,n,s,a){var o,r,l,c,d,h,u,p,f,m,g;if(3!==t.nodeType&&8!==t.nodeType&&i&&n&&(o=O._data(t))){for(n.handler&&(f=n,n=f.handler),n.guid||(n.guid=O.guid++),l=o.events,l||(o.events=l={}),r=o.handle,r||(o.handle=r=function(t){return"undefined"==typeof O||t&&O.event.triggered===t.type?e:O.event.dispatch.apply(r.elem,arguments)},r.elem=t),i=O.trim(rt(i)).split(" "),c=0;c=0&&(g=g.slice(0,-1),r=!0),g.indexOf(".")>=0&&(v=g.split("."),g=v.shift(),v.sort()),(!s||O.event.customEvent[g])&&!O.event.global[g])return;if(i="object"==typeof i?i[O.expando]?i:new O.Event(g,i):new O.Event(g),i.type=g,i.isTrigger=!0,i.exclusive=r,i.namespace=v.join("."),i.namespace_re=i.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,h=g.indexOf(":")<0?"on"+g:"",!s){o=O.cache;for(l in o)o[l].events&&o[l].events[g]&&O.event.trigger(i,n,o[l].handle.elem,!0);return}if(i.result=e,i.target||(i.target=s),n=null!=n?O.makeArray(n):[],n.unshift(i),u=O.event.special[g]||{},u.trigger&&u.trigger.apply(s,n)===!1)return;if(f=[[s,u.bindType||g]],!a&&!u.noBubble&&!O.isWindow(s)){for(m=u.delegateType||g,c=nt.test(m+g)?s:s.parentNode,d=null;c;c=c.parentNode)f.push([c,m]),d=c;d&&d===s.ownerDocument&&f.push([d.defaultView||d.parentWindow||t,m])}for(l=0;ln;n++)h=p[n],u=h.selector,l[u]===e&&(l[u]=h.quick?ot(a,h.quick):o.is(u)),l[u]&&d.push(h);d.length&&v.push({elem:a,matches:d})}for(p.length>f&&v.push({elem:this,matches:p.slice(f)}),n=0;n0?this.on(e,null,t,i):this.trigger(e)},O.attrFn&&(O.attrFn[e]=!0),et.test(e)&&(O.event.fixHooks[e]=O.event.keyHooks),it.test(e)&&(O.event.fixHooks[e]=O.event.mouseHooks)}),function(){function t(t,e,i,n,a,o){for(var r=0,l=n.length;l>r;r++){var c=n[r];if(c){var d=!1;for(c=c[t];c;){if(c[s]===i){d=n[c.sizset];break}if(1===c.nodeType)if(o||(c[s]=i,c.sizset=r),"string"!=typeof e){if(c===e){d=!0;break}}else if(u.filter(e,[c]).length>0){d=c;break}c=c[t]}n[r]=d}}}function i(t,e,i,n,a,o){for(var r=0,l=n.length;l>r;r++){var c=n[r];if(c){var d=!1;for(c=c[t];c;){if(c[s]===i){d=n[c.sizset];break}if(1===c.nodeType&&!o&&(c[s]=i,c.sizset=r),c.nodeName.toLowerCase()===e){d=c;break}c=c[t]}n[r]=d}}}var n=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,s="sizcache"+(Math.random()+"").replace(".",""),a=0,o=Object.prototype.toString,r=!1,l=!0,c=/\\/g,d=/\r\n/g,h=/\W/;[0,0].sort(function(){return l=!1,0});var u=function(t,e,i,s){i=i||[],e=e||M;var a=e;if(1!==e.nodeType&&9!==e.nodeType)return[];if(!t||"string"!=typeof t)return i;var r,l,c,d,h,p,g,v,b=!0,w=u.isXML(e),_=[],C=t;do if(n.exec(""),r=n.exec(C),r&&(C=r[3],_.push(r[1]),r[2])){d=r[3];break}while(r);if(_.length>1&&m.exec(t))if(2===_.length&&f.relative[_[0]])l=x(_[0]+_[1],e,s);else for(l=f.relative[_[0]]?[e]:u(_.shift(),e);_.length;)t=_.shift(),f.relative[t]&&(t+=_.shift()),l=x(t,l,s);else if(!s&&_.length>1&&9===e.nodeType&&!w&&f.match.ID.test(_[0])&&!f.match.ID.test(_[_.length-1])&&(h=u.find(_.shift(),e,w),e=h.expr?u.filter(h.expr,h.set)[0]:h.set[0]),e)for(h=s?{expr:_.pop(),set:y(s)}:u.find(_.pop(),1!==_.length||"~"!==_[0]&&"+"!==_[0]||!e.parentNode?e:e.parentNode,w),l=h.expr?u.filter(h.expr,h.set):h.set,_.length>0?c=y(l):b=!1;_.length;)p=_.pop(),g=p,f.relative[p]?g=_.pop():p="",null==g&&(g=e),f.relative[p](c,g,w);else c=_=[];if(c||(c=l),c||u.error(p||t),"[object Array]"===o.call(c))if(b)if(e&&1===e.nodeType)for(v=0;null!=c[v];v++)c[v]&&(c[v]===!0||1===c[v].nodeType&&u.contains(e,c[v]))&&i.push(l[v]);else for(v=0;null!=c[v];v++)c[v]&&1===c[v].nodeType&&i.push(l[v]);else i.push.apply(i,c);else y(c,i);return d&&(u(d,a,i,s),u.uniqueSort(i)),i};u.uniqueSort=function(t){if(w&&(r=l,t.sort(w),r))for(var e=1;e0},u.find=function(t,e,i){var n,s,a,o,r,l;if(!t)return[];for(s=0,a=f.order.length;a>s;s++)if(r=f.order[s],(o=f.leftMatch[r].exec(t))&&(l=o[1],o.splice(1,1),"\\"!==l.substr(l.length-1)&&(o[1]=(o[1]||"").replace(c,""),n=f.find[r](o,e,i),null!=n))){t=t.replace(f.match[r],"");break}return n||(n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName("*"):[]),{set:n,expr:t}},u.filter=function(t,i,n,s){for(var a,o,r,l,c,d,h,p,m,g=t,v=[],y=i,b=i&&i[0]&&u.isXML(i[0]);t&&i.length;){for(r in f.filter)if(null!=(a=f.leftMatch[r].exec(t))&&a[2]){if(d=f.filter[r],h=a[1],o=!1,a.splice(1,1),"\\"===h.substr(h.length-1))continue;if(y===v&&(v=[]),f.preFilter[r])if(a=f.preFilter[r](a,y,n,v,s,b)){if(a===!0)continue}else o=l=!0;if(a)for(p=0;null!=(c=y[p]);p++)c&&(l=d(c,a,p,y),m=s^l,n&&null!=l?m?o=!0:y[p]=!1:m&&(v.push(c),o=!0));if(l!==e){if(n||(y=v),t=t.replace(f.match[r],""),!o)return[];break}}if(t===g){if(null!=o)break;u.error(t)}g=t}return y},u.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)};var p=u.getText=function(t){var e,i,n=t.nodeType,s="";if(n){if(1===n||9===n){if("string"==typeof t.textContent)return t.textContent;if("string"==typeof t.innerText)return t.innerText.replace(d,"");for(t=t.firstChild;t;t=t.nextSibling)s+=p(t)}else if(3===n||4===n)return t.nodeValue}else for(e=0;i=t[e];e++)8!==i.nodeType&&(s+=p(i));return s},f=u.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(t){return t.getAttribute("href")},type:function(t){return t.getAttribute("type")}},relative:{"+":function(t,e){var i="string"==typeof e,n=i&&!h.test(e),s=i&&!n;n&&(e=e.toLowerCase());for(var a,o=0,r=t.length;r>o;o++)if(a=t[o]){for(;(a=a.previousSibling)&&1!==a.nodeType;);t[o]=s||a&&a.nodeName.toLowerCase()===e?a||!1:a===e}s&&u.filter(e,t,!0)},">":function(t,e){var i,n="string"==typeof e,s=0,a=t.length;if(n&&!h.test(e)){for(e=e.toLowerCase();a>s;s++)if(i=t[s]){var o=i.parentNode;t[s]=o.nodeName.toLowerCase()===e?o:!1}}else{for(;a>s;s++)i=t[s],i&&(t[s]=n?i.parentNode:i.parentNode===e);n&&u.filter(e,t,!0)}},"":function(e,n,s){var o,r=a++,l=t;"string"==typeof n&&!h.test(n)&&(n=n.toLowerCase(),o=n,l=i),l("parentNode",n,r,e,o,s)},"~":function(e,n,s){var o,r=a++,l=t;"string"==typeof n&&!h.test(n)&&(n=n.toLowerCase(),o=n,l=i),l("previousSibling",n,r,e,o,s)}},find:{ID:function(t,e,i){if("undefined"!=typeof e.getElementById&&!i){var n=e.getElementById(t[1]);return n&&n.parentNode?[n]:[]}},NAME:function(t,e){if("undefined"!=typeof e.getElementsByName){for(var i=[],n=e.getElementsByName(t[1]),s=0,a=n.length;a>s;s++)n[s].getAttribute("name")===t[1]&&i.push(n[s]);return 0===i.length?null:i; }},TAG:function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t[1]):void 0}},preFilter:{CLASS:function(t,e,i,n,s,a){if(t=" "+t[1].replace(c,"")+" ",a)return t;for(var o,r=0;null!=(o=e[r]);r++)o&&(s^(o.className&&(" "+o.className+" ").replace(/[\t\n\r]/g," ").indexOf(t)>=0)?i||n.push(o):i&&(e[r]=!1));return!1},ID:function(t){return t[1].replace(c,"")},TAG:function(t,e){return t[1].replace(c,"").toLowerCase()},CHILD:function(t){if("nth"===t[1]){t[2]||u.error(t[0]),t[2]=t[2].replace(/^\+|\s*/g,"");var e=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec("even"===t[2]&&"2n"||"odd"===t[2]&&"2n+1"||!/\D/.test(t[2])&&"0n+"+t[2]||t[2]);t[2]=e[1]+(e[2]||1)-0,t[3]=e[3]-0}else t[2]&&u.error(t[0]);return t[0]=a++,t},ATTR:function(t,e,i,n,s,a){var o=t[1]=t[1].replace(c,"");return!a&&f.attrMap[o]&&(t[1]=f.attrMap[o]),t[4]=(t[4]||t[5]||"").replace(c,""),"~="===t[2]&&(t[4]=" "+t[4]+" "),t},PSEUDO:function(t,e,i,s,a){if("not"===t[1]){if(!((n.exec(t[3])||"").length>1||/^\w/.test(t[3]))){var o=u.filter(t[3],e,i,!0^a);return i||s.push.apply(s,o),!1}t[3]=u(t[3],null,null,e)}else if(f.match.POS.test(t[0])||f.match.CHILD.test(t[0]))return!0;return t},POS:function(t){return t.unshift(!0),t}},filters:{enabled:function(t){return t.disabled===!1&&"hidden"!==t.type},disabled:function(t){return t.disabled===!0},checked:function(t){return t.checked===!0},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},parent:function(t){return!!t.firstChild},empty:function(t){return!t.firstChild},has:function(t,e,i){return!!u(i[3],t).length},header:function(t){return/h\d/i.test(t.nodeName)},text:function(t){var e=t.getAttribute("type"),i=t.type;return"input"===t.nodeName.toLowerCase()&&"text"===i&&(e===i||null===e)},radio:function(t){return"input"===t.nodeName.toLowerCase()&&"radio"===t.type},checkbox:function(t){return"input"===t.nodeName.toLowerCase()&&"checkbox"===t.type},file:function(t){return"input"===t.nodeName.toLowerCase()&&"file"===t.type},password:function(t){return"input"===t.nodeName.toLowerCase()&&"password"===t.type},submit:function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&"submit"===t.type},image:function(t){return"input"===t.nodeName.toLowerCase()&&"image"===t.type},reset:function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&"reset"===t.type},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},input:function(t){return/input|select|textarea|button/i.test(t.nodeName)},focus:function(t){return t===t.ownerDocument.activeElement}},setFilters:{first:function(t,e){return 0===e},last:function(t,e,i,n){return e===n.length-1},even:function(t,e){return e%2===0},odd:function(t,e){return e%2===1},lt:function(t,e,i){return ei[3]-0},nth:function(t,e,i){return i[3]-0===e},eq:function(t,e,i){return i[3]-0===e}},filter:{PSEUDO:function(t,e,i,n){var s=e[1],a=f.filters[s];if(a)return a(t,i,e,n);if("contains"===s)return(t.textContent||t.innerText||p([t])||"").indexOf(e[3])>=0;if("not"===s){for(var o=e[3],r=0,l=o.length;l>r;r++)if(o[r]===t)return!1;return!0}u.error(s)},CHILD:function(t,e){var i,n,a,o,r,l,c=e[1],d=t;switch(c){case"only":case"first":for(;d=d.previousSibling;)if(1===d.nodeType)return!1;if("first"===c)return!0;d=t;case"last":for(;d=d.nextSibling;)if(1===d.nodeType)return!1;return!0;case"nth":if(i=e[2],n=e[3],1===i&&0===n)return!0;if(a=e[0],o=t.parentNode,o&&(o[s]!==a||!t.nodeIndex)){for(r=0,d=o.firstChild;d;d=d.nextSibling)1===d.nodeType&&(d.nodeIndex=++r);o[s]=a}return l=t.nodeIndex-n,0===i?0===l:l%i===0&&l/i>=0}},ID:function(t,e){return 1===t.nodeType&&t.getAttribute("id")===e},TAG:function(t,e){return"*"===e&&1===t.nodeType||!!t.nodeName&&t.nodeName.toLowerCase()===e},CLASS:function(t,e){return(" "+(t.className||t.getAttribute("class"))+" ").indexOf(e)>-1},ATTR:function(t,e){var i=e[1],n=u.attr?u.attr(t,i):f.attrHandle[i]?f.attrHandle[i](t):null!=t[i]?t[i]:t.getAttribute(i),s=n+"",a=e[2],o=e[4];return null==n?"!="===a:!a&&u.attr?null!=n:"="===a?s===o:"*="===a?s.indexOf(o)>=0:"~="===a?(" "+s+" ").indexOf(o)>=0:o?"!="===a?s!==o:"^="===a?0===s.indexOf(o):"$="===a?s.substr(s.length-o.length)===o:"|="===a?s===o||s.substr(0,o.length+1)===o+"-":!1:s&&n!==!1},POS:function(t,e,i,n){var s=e[2],a=f.setFilters[s];return a?a(t,i,e,n):void 0}}},m=f.match.POS,g=function(t,e){return"\\"+(e-0+1)};for(var v in f.match)f.match[v]=new RegExp(f.match[v].source+/(?![^\[]*\])(?![^\(]*\))/.source),f.leftMatch[v]=new RegExp(/(^(?:.|\r|\n)*?)/.source+f.match[v].source.replace(/\\(\d+)/g,g));var y=function(t,e){return t=Array.prototype.slice.call(t,0),e?(e.push.apply(e,t),e):t};try{Array.prototype.slice.call(M.documentElement.childNodes,0)[0].nodeType}catch(b){y=function(t,e){var i=0,n=e||[];if("[object Array]"===o.call(t))Array.prototype.push.apply(n,t);else if("number"==typeof t.length)for(var s=t.length;s>i;i++)n.push(t[i]);else for(;t[i];i++)n.push(t[i]);return n}}var w,_;M.documentElement.compareDocumentPosition?w=function(t,e){return t===e?(r=!0,0):t.compareDocumentPosition&&e.compareDocumentPosition?4&t.compareDocumentPosition(e)?-1:1:t.compareDocumentPosition?-1:1}:(w=function(t,e){if(t===e)return r=!0,0;if(t.sourceIndex&&e.sourceIndex)return t.sourceIndex-e.sourceIndex;var i,n,s=[],a=[],o=t.parentNode,l=e.parentNode,c=o;if(o===l)return _(t,e);if(!o)return-1;if(!l)return 1;for(;c;)s.unshift(c),c=c.parentNode;for(c=l;c;)a.unshift(c),c=c.parentNode;i=s.length,n=a.length;for(var d=0;i>d&&n>d;d++)if(s[d]!==a[d])return _(s[d],a[d]);return d===i?_(t,a[d],-1):_(s[d],e,1)},_=function(t,e,i){if(t===e)return i;for(var n=t.nextSibling;n;){if(n===e)return-1;n=n.nextSibling}return 1}),function(){var t=M.createElement("div"),i="script"+(new Date).getTime(),n=M.documentElement;t.innerHTML="",n.insertBefore(t,n.firstChild),M.getElementById(i)&&(f.find.ID=function(t,i,n){if("undefined"!=typeof i.getElementById&&!n){var s=i.getElementById(t[1]);return s?s.id===t[1]||"undefined"!=typeof s.getAttributeNode&&s.getAttributeNode("id").nodeValue===t[1]?[s]:e:[]}},f.filter.ID=function(t,e){var i="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return 1===t.nodeType&&i&&i.nodeValue===e}),n.removeChild(t),n=t=null}(),function(){var t=M.createElement("div");t.appendChild(M.createComment("")),t.getElementsByTagName("*").length>0&&(f.find.TAG=function(t,e){var i=e.getElementsByTagName(t[1]);if("*"===t[1]){for(var n=[],s=0;i[s];s++)1===i[s].nodeType&&n.push(i[s]);i=n}return i}),t.innerHTML="",t.firstChild&&"undefined"!=typeof t.firstChild.getAttribute&&"#"!==t.firstChild.getAttribute("href")&&(f.attrHandle.href=function(t){return t.getAttribute("href",2)}),t=null}(),M.querySelectorAll&&function(){var t=u,e=M.createElement("div"),i="__sizzle__";if(e.innerHTML="

    ",!e.querySelectorAll||0!==e.querySelectorAll(".TEST").length){u=function(e,n,s,a){if(n=n||M,!a&&!u.isXML(n)){var o=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(e);if(o&&(1===n.nodeType||9===n.nodeType)){if(o[1])return y(n.getElementsByTagName(e),s);if(o[2]&&f.find.CLASS&&n.getElementsByClassName)return y(n.getElementsByClassName(o[2]),s)}if(9===n.nodeType){if("body"===e&&n.body)return y([n.body],s);if(o&&o[3]){var r=n.getElementById(o[3]);if(!r||!r.parentNode)return y([],s);if(r.id===o[3])return y([r],s)}try{return y(n.querySelectorAll(e),s)}catch(l){}}else if(1===n.nodeType&&"object"!==n.nodeName.toLowerCase()){var c=n,d=n.getAttribute("id"),h=d||i,p=n.parentNode,m=/^\s*[+~]/.test(e);d?h=h.replace(/'/g,"\\$&"):n.setAttribute("id",h),m&&p&&(n=n.parentNode);try{if(!m||p)return y(n.querySelectorAll("[id='"+h+"'] "+e),s)}catch(g){}finally{d||c.removeAttribute("id")}}}return t(e,n,s,a)};for(var n in t)u[n]=t[n];e=null}}(),function(){var t=M.documentElement,e=t.matchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||t.msMatchesSelector;if(e){var i=!e.call(M.createElement("div"),"div"),n=!1;try{e.call(M.documentElement,"[test!='']:sizzle")}catch(s){n=!0}u.matchesSelector=function(t,s){if(s=s.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']"),!u.isXML(t))try{if(n||!f.match.PSEUDO.test(s)&&!/!=/.test(s)){var a=e.call(t,s);if(a||!i||t.document&&11!==t.document.nodeType)return a}}catch(o){}return u(s,null,null,[t]).length>0}}}(),function(){var t=M.createElement("div");if(t.innerHTML="
    ",t.getElementsByClassName&&0!==t.getElementsByClassName("e").length){if(t.lastChild.className="e",1===t.getElementsByClassName("e").length)return;f.order.splice(1,0,"CLASS"),f.find.CLASS=function(t,e,i){return"undefined"==typeof e.getElementsByClassName||i?void 0:e.getElementsByClassName(t[1])},t=null}}(),M.documentElement.contains?u.contains=function(t,e){return t!==e&&(t.contains?t.contains(e):!0)}:M.documentElement.compareDocumentPosition?u.contains=function(t,e){return!!(16&t.compareDocumentPosition(e))}:u.contains=function(){return!1},u.isXML=function(t){var e=(t?t.ownerDocument||t:0).documentElement;return e?"HTML"!==e.nodeName:!1};var x=function(t,e,i){for(var n,s=[],a="",o=e.nodeType?[e]:e;n=f.match.PSEUDO.exec(t);)a+=n[0],t=t.replace(f.match.PSEUDO,"");t=f.relative[t]?t+"*":t;for(var r=0,l=o.length;l>r;r++)u(t,o[r],s,i);return u.filter(a,s)};u.attr=O.attr,u.selectors.attrMap={},O.find=u,O.expr=u.selectors,O.expr[":"]=O.expr.filters,O.unique=u.uniqueSort,O.text=u.getText,O.isXMLDoc=u.isXML,O.contains=u.contains}();var lt=/Until$/,ct=/^(?:parents|prevUntil|prevAll)/,dt=/,/,ht=/^.[^:#\[\.,]*$/,ut=Array.prototype.slice,pt=O.expr.match.POS,ft={children:!0,contents:!0,next:!0,prev:!0};O.fn.extend({find:function(t){var e,i,n=this;if("string"!=typeof t)return O(t).filter(function(){for(e=0,i=n.length;i>e;e++)if(O.contains(n[e],this))return!0});var s,a,o,r=this.pushStack("","find",t);for(e=0,i=this.length;i>e;e++)if(s=r.length,O.find(t,this[e],r),e>0)for(a=s;ao;o++)if(r[o]===r[a]){r.splice(a--,1);break}return r},has:function(t){var e=O(t);return this.filter(function(){for(var t=0,i=e.length;i>t;t++)if(O.contains(this,e[t]))return!0})},not:function(t){return this.pushStack(S(this,t,!1),"not",t)},filter:function(t){return this.pushStack(S(this,t,!0),"filter",t)},is:function(t){return!!t&&("string"==typeof t?pt.test(t)?O(t,this.context).index(this[0])>=0:O.filter(t,this).length>0:this.filter(t).length>0)},closest:function(t,e){var i,n,s=[],a=this[0];if(O.isArray(t)){for(var o=1;a&&a.ownerDocument&&a!==e;){for(i=0;ii;i++)for(a=this[i];a;){if(r?r.index(a)>-1:O.find.matchesSelector(a,t)){s.push(a);break}if(a=a.parentNode,!a||!a.ownerDocument||a===e||11===a.nodeType)break}return s=s.length>1?O.unique(s):s,this.pushStack(s,"closest",t)},index:function(t){return t?"string"==typeof t?O.inArray(this[0],O(t)):O.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(t,e){var i="string"==typeof t?O(t,e):O.makeArray(t&&t.nodeType?[t]:t),n=O.merge(this.get(),i);return this.pushStack(k(i[0])||k(n[0])?n:O.unique(n))},andSelf:function(){return this.add(this.prevObject)}}),O.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return O.dir(t,"parentNode")},parentsUntil:function(t,e,i){return O.dir(t,"parentNode",i)},next:function(t){return O.nth(t,2,"nextSibling")},prev:function(t){return O.nth(t,2,"previousSibling")},nextAll:function(t){return O.dir(t,"nextSibling")},prevAll:function(t){return O.dir(t,"previousSibling")},nextUntil:function(t,e,i){return O.dir(t,"nextSibling",i)},prevUntil:function(t,e,i){return O.dir(t,"previousSibling",i)},siblings:function(t){return O.sibling(t.parentNode.firstChild,t)},children:function(t){return O.sibling(t.firstChild)},contents:function(t){return O.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:O.makeArray(t.childNodes)}},function(t,e){O.fn[t]=function(i,n){var s=O.map(this,e,i);return lt.test(t)||(n=i),n&&"string"==typeof n&&(s=O.filter(n,s)),s=this.length>1&&!ft[t]?O.unique(s):s,(this.length>1||dt.test(n))&&ct.test(t)&&(s=s.reverse()),this.pushStack(s,t,ut.call(arguments).join(","))}}),O.extend({filter:function(t,e,i){return i&&(t=":not("+t+")"),1===e.length?O.find.matchesSelector(e[0],t)?[e[0]]:[]:O.find.matches(t,e)},dir:function(t,i,n){for(var s=[],a=t[i];a&&9!==a.nodeType&&(n===e||1!==a.nodeType||!O(a).is(n));)1===a.nodeType&&s.push(a),a=a[i];return s},nth:function(t,e,i,n){e=e||1;for(var s=0;t&&(1!==t.nodeType||++s!==e);t=t[i]);return t},sibling:function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}});var mt="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:\d+|null)"/g,vt=/^\s+/,yt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,wt=/",""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_default:[0,"",""]},Et=j(M);Pt.optgroup=Pt.option,Pt.tbody=Pt.tfoot=Pt.colgroup=Pt.caption=Pt.thead,Pt.th=Pt.td,O.support.htmlSerialize||(Pt._default=[1,"div
    ","
    "]),O.fn.extend({text:function(t){return O.isFunction(t)?this.each(function(e){var i=O(this);i.text(t.call(this,e,i.text()))}):"object"!=typeof t&&t!==e?this.empty().append((this[0]&&this[0].ownerDocument||M).createTextNode(t)):O.text(this)},wrapAll:function(t){if(O.isFunction(t))return this.each(function(e){O(this).wrapAll(t.call(this,e))});if(this[0]){var e=O(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 O.isFunction(t)?this.each(function(e){O(this).wrapInner(t.call(this,e))}):this.each(function(){var e=O(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)})},wrap:function(t){var e=O.isFunction(t);return this.each(function(i){O(this).wrapAll(e?t.call(this,i):t)})},unwrap:function(){return this.parent().each(function(){O.nodeName(this,"body")||O(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(t){1===this.nodeType&&this.appendChild(t)})},prepend:function(){return this.domManip(arguments,!0,function(t){1===this.nodeType&&this.insertBefore(t,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(t){this.parentNode.insertBefore(t,this)});if(arguments.length){var t=O.clean(arguments);return t.push.apply(t,this.toArray()),this.pushStack(t,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(t){this.parentNode.insertBefore(t,this.nextSibling)});if(arguments.length){var t=this.pushStack(this,"after",arguments);return t.push.apply(t,O.clean(arguments)),t}},remove:function(t,e){for(var i,n=0;null!=(i=this[n]);n++)(!t||O.filter(t,[i]).length)&&(!e&&1===i.nodeType&&(O.cleanData(i.getElementsByTagName("*")),O.cleanData([i])),i.parentNode&&i.parentNode.removeChild(i));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)for(1===t.nodeType&&O.cleanData(t.getElementsByTagName("*"));t.firstChild;)t.removeChild(t.firstChild);return this},clone:function(t,e){return t=null==t?!1:t,e=null==e?t:e,this.map(function(){return O.clone(this,t,e)})},html:function(t){if(t===e)return this[0]&&1===this[0].nodeType?this[0].innerHTML.replace(gt,""):null;if("string"!=typeof t||xt.test(t)||!O.support.leadingWhitespace&&vt.test(t)||Pt[(bt.exec(t)||["",""])[1].toLowerCase()])O.isFunction(t)?this.each(function(e){var i=O(this);i.html(t.call(this,e,i.html()))}):this.empty().append(t);else{t=t.replace(yt,"<$1>");try{for(var i=0,n=this.length;n>i;i++)1===this[i].nodeType&&(O.cleanData(this[i].getElementsByTagName("*")),this[i].innerHTML=t)}catch(s){this.empty().append(t)}}return this},replaceWith:function(t){return this[0]&&this[0].parentNode?O.isFunction(t)?this.each(function(e){var i=O(this),n=i.html();i.replaceWith(t.call(this,e,n))}):("string"!=typeof t&&(t=O(t).detach()),this.each(function(){var e=this.nextSibling,i=this.parentNode;O(this).remove(),e?O(e).before(t):O(i).append(t)})):this.length?this.pushStack(O(O.isFunction(t)?t():t),"replaceWith",t):this},detach:function(t){return this.remove(t,!0)},domManip:function(t,i,n){var s,a,o,r,l=t[0],c=[];if(!O.support.checkClone&&3===arguments.length&&"string"==typeof l&&St.test(l))return this.each(function(){O(this).domManip(t,i,n,!0)});if(O.isFunction(l))return this.each(function(s){var a=O(this);t[0]=l.call(this,s,i?a.html():e),a.domManip(t,i,n)});if(this[0]){if(r=l&&l.parentNode,s=O.support.parentNode&&r&&11===r.nodeType&&r.childNodes.length===this.length?{fragment:r}:O.buildFragment(t,this,c),o=s.fragment,a=1===o.childNodes.length?o=o.firstChild:o.firstChild,a){i=i&&O.nodeName(a,"tr");for(var d=0,h=this.length,u=h-1;h>d;d++)n.call(i?C(this[d],a):this[d],s.cacheable||h>1&&u>d?O.clone(o,!0,!0):o)}c.length&&O.each(c,g)}return this}}),O.buildFragment=function(t,e,i){var n,s,a,o,r=t[0];return e&&e[0]&&(o=e[0].ownerDocument||e[0]),o.createDocumentFragment||(o=M),1===t.length&&"string"==typeof r&&r.length<512&&o===M&&"<"===r.charAt(0)&&!Ct.test(r)&&(O.support.checkClone||!St.test(r))&&(O.support.html5Clone||!jt.test(r))&&(s=!0,a=O.fragments[r],a&&1!==a&&(n=a)),n||(n=o.createDocumentFragment(),O.clean(t,o,n,i)),s&&(O.fragments[r]=a?n:1),{fragment:n,cacheable:s}},O.fragments={},O.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){O.fn[t]=function(i){var n=[],s=O(i),a=1===this.length&&this[0].parentNode;if(a&&11===a.nodeType&&1===a.childNodes.length&&1===s.length)return s[e](this[0]),this;for(var o=0,r=s.length;r>o;o++){var l=(o>0?this.clone(!0):this).get();O(s[o])[e](l),n=n.concat(l)}return this.pushStack(n,t,s.selector)}}),O.extend({clone:function(t,e,i){var n,s,a,o=O.support.html5Clone||!jt.test("<"+t.nodeName)?t.cloneNode(!0):v(t);if(!(O.support.noCloneEvent&&O.support.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||O.isXMLDoc(t)))for(_(t,o),n=w(t),s=w(o),a=0;n[a];++a)s[a]&&_(n[a],s[a]);if(e&&(x(t,o),i))for(n=w(t),s=w(o),a=0;n[a];++a)x(n[a],s[a]);return n=s=null,o},clean:function(t,e,i,n){var s;e=e||M,"undefined"==typeof e.createElement&&(e=e.ownerDocument||e[0]&&e[0].ownerDocument||M);for(var a,o,r=[],l=0;null!=(o=t[l]);l++)if("number"==typeof o&&(o+=""),o){if("string"==typeof o)if(_t.test(o)){o=o.replace(yt,"<$1>");var c=(bt.exec(o)||["",""])[1].toLowerCase(),d=Pt[c]||Pt._default,h=d[0],u=e.createElement("div");for(e===M?Et.appendChild(u):j(e).appendChild(u),u.innerHTML=d[1]+o+d[2];h--;)u=u.lastChild;if(!O.support.tbody){var p=wt.test(o),f="table"!==c||p?""!==d[1]||p?[]:u.childNodes:u.firstChild&&u.firstChild.childNodes;for(a=f.length-1;a>=0;--a)O.nodeName(f[a],"tbody")&&!f[a].childNodes.length&&f[a].parentNode.removeChild(f[a])}!O.support.leadingWhitespace&&vt.test(o)&&u.insertBefore(e.createTextNode(vt.exec(o)[0]),u.firstChild),o=u.childNodes}else o=e.createTextNode(o);var m;if(!O.support.appendChecked)if(o[0]&&"number"==typeof(m=o.length))for(a=0;m>a;a++)y(o[a]);else y(o);o.nodeType?r.push(o):r=O.merge(r,o)}if(i)for(s=function(t){return!t.type||kt.test(t.type)},l=0;r[l];l++)if(!n||!O.nodeName(r[l],"script")||r[l].type&&"text/javascript"!==r[l].type.toLowerCase()){if(1===r[l].nodeType){var g=O.grep(r[l].getElementsByTagName("script"),s);r.splice.apply(r,[l+1,0].concat(g))}i.appendChild(r[l])}else n.push(r[l].parentNode?r[l].parentNode.removeChild(r[l]):r[l]);return r},cleanData:function(t){for(var e,i,n,s=O.cache,a=O.event.special,o=O.support.deleteExpando,r=0;null!=(n=t[r]);r++)if((!n.nodeName||!O.noData[n.nodeName.toLowerCase()])&&(i=n[O.expando])){if(e=s[i],e&&e.events){for(var l in e.events)a[l]?O.event.remove(n,l):O.removeEvent(n,l,e.handle);e.handle&&(e.handle.elem=null)}o?delete n[O.expando]:n.removeAttribute&&n.removeAttribute(O.expando),delete s[i]}}});var Nt,At,It,Mt=/alpha\([^)]*\)/i,Lt=/opacity=([^)]*)/,qt=/([A-Z]|^ms)/g,Ot=/^-?\d+(?:px)?$/i,zt=/^-?\d/,$t=/^([\-+])=([\-+.\de]+)/,Ht={position:"absolute",visibility:"hidden",display:"block"},Ft=["Left","Right"],Bt=["Top","Bottom"];O.fn.css=function(t,i){return 2===arguments.length&&i===e?this:O.access(this,t,i,!0,function(t,i,n){return n!==e?O.style(t,i,n):O.css(t,i)})},O.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=Nt(t,"opacity","opacity");return""===i?"1":i}return t.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":O.support.cssFloat?"cssFloat":"styleFloat"},style:function(t,i,n,s){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var a,o,r=O.camelCase(i),l=t.style,c=O.cssHooks[r];if(i=O.cssProps[r]||r,n===e)return c&&"get"in c&&(a=c.get(t,!1,s))!==e?a:l[i];if(o=typeof n,"string"===o&&(a=$t.exec(n))&&(n=+(a[1]+1)*+a[2]+parseFloat(O.css(t,i)),o="number"),null==n||"number"===o&&isNaN(n))return;if("number"===o&&!O.cssNumber[r]&&(n+="px"),!(c&&"set"in c&&(n=c.set(t,n))===e))try{l[i]=n}catch(d){}}},css:function(t,i,n){var s,a;return i=O.camelCase(i),a=O.cssHooks[i],i=O.cssProps[i]||i,"cssFloat"===i&&(i="float"),a&&"get"in a&&(s=a.get(t,!0,n))!==e?s:Nt?Nt(t,i):void 0},swap:function(t,e,i){var n={};for(var s in e)n[s]=t.style[s],t.style[s]=e[s];i.call(t);for(s in e)t.style[s]=n[s]}}),O.curCSS=O.css,O.each(["height","width"],function(t,e){O.cssHooks[e]={get:function(t,i,n){var s;return i?0!==t.offsetWidth?m(t,e,n):(O.swap(t,Ht,function(){s=m(t,e,n)}),s):void 0},set:function(t,e){return Ot.test(e)?(e=parseFloat(e),e>=0?e+"px":void 0):e}}}),O.support.opacity||(O.cssHooks.opacity={get:function(t,e){return Lt.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100+"":e?"1":""},set:function(t,e){var i=t.style,n=t.currentStyle,s=O.isNumeric(e)?"alpha(opacity="+100*e+")":"",a=n&&n.filter||i.filter||"";i.zoom=1,e>=1&&""===O.trim(a.replace(Mt,""))&&(i.removeAttribute("filter"),n&&!n.filter)||(i.filter=Mt.test(a)?a.replace(Mt,s):a+" "+s)}}),O(function(){O.support.reliableMarginRight||(O.cssHooks.marginRight={get:function(t,e){var i;return O.swap(t,{display:"inline-block"},function(){i=e?Nt(t,"margin-right","marginRight"):t.style.marginRight}),i}})}),M.defaultView&&M.defaultView.getComputedStyle&&(At=function(t,e){var i,n,s;return e=e.replace(qt,"-$1").toLowerCase(),(n=t.ownerDocument.defaultView)&&(s=n.getComputedStyle(t,null))&&(i=s.getPropertyValue(e),""===i&&!O.contains(t.ownerDocument.documentElement,t)&&(i=O.style(t,e))),i}),M.documentElement.currentStyle&&(It=function(t,e){var i,n,s,a=t.currentStyle&&t.currentStyle[e],o=t.style;return null===a&&o&&(s=o[e])&&(a=s),!Ot.test(a)&&zt.test(a)&&(i=o.left,n=t.runtimeStyle&&t.runtimeStyle.left,n&&(t.runtimeStyle.left=t.currentStyle.left),o.left="fontSize"===e?"1em":a||0,a=o.pixelLeft+"px",o.left=i,n&&(t.runtimeStyle.left=n)),""===a?"auto":a}),Nt=At||It,O.expr&&O.expr.filters&&(O.expr.filters.hidden=function(t){var e=t.offsetWidth,i=t.offsetHeight;return 0===e&&0===i||!O.support.reliableHiddenOffsets&&"none"===(t.style&&t.style.display||O.css(t,"display"))},O.expr.filters.visible=function(t){return!O.expr.filters.hidden(t)});var Dt,Rt,Wt=/%20/g,Ut=/\[\]$/,Vt=/\r?\n/g,Qt=/#.*$/,Xt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Yt=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Gt=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,Jt=/^(?:GET|HEAD)$/,Kt=/^\/\//,Zt=/\?/,te=/)<[^<]*)*<\/script>/gi,ee=/^(?:select|textarea)/i,ie=/\s+/,ne=/([?&])_=[^&]*/,se=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,ae=O.fn.load,oe={},re={},le=["*/"]+["*"];try{Dt=q.href}catch(ce){Dt=M.createElement("a"),Dt.href="",Dt=Dt.href}Rt=se.exec(Dt.toLowerCase())||[],O.fn.extend({load:function(t,i,n){if("string"!=typeof t&&ae)return ae.apply(this,arguments);if(!this.length)return this;var s=t.indexOf(" ");if(s>=0){var a=t.slice(s,t.length);t=t.slice(0,s)}var o="GET";i&&(O.isFunction(i)?(n=i,i=e):"object"==typeof i&&(i=O.param(i,O.ajaxSettings.traditional),o="POST"));var r=this;return O.ajax({url:t,type:o,dataType:"html",data:i,complete:function(t,e,i){i=t.responseText,t.isResolved()&&(t.done(function(t){i=t}),r.html(a?O("
    ").append(i.replace(te,"")).find(a):i)),n&&r.each(n,[i,e,t])}}),this},serialize:function(){return O.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?O.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ee.test(this.nodeName)||Yt.test(this.type))}).map(function(t,e){var i=O(this).val();return null==i?null:O.isArray(i)?O.map(i,function(t,i){return{name:e.name,value:t.replace(Vt,"\r\n")}}):{name:e.name,value:i.replace(Vt,"\r\n")}}).get()}}),O.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(t,e){O.fn[e]=function(t){return this.on(e,t)}}),O.each(["get","post"],function(t,i){O[i]=function(t,n,s,a){return O.isFunction(n)&&(a=a||s,s=n,n=e),O.ajax({type:i,url:t,data:n,success:s,dataType:a})}}),O.extend({getScript:function(t,i){return O.get(t,e,i,"script")},getJSON:function(t,e,i){return O.get(t,e,i,"json")},ajaxSetup:function(t,e){return e?u(t,O.ajaxSettings):(e=t,t=O.ajaxSettings),u(t,e),t},ajaxSettings:{url:Dt,isLocal:Gt.test(Rt[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":le},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":t.String,"text html":!0,"text json":O.parseJSON,"text xml":O.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:f(oe),ajaxTransport:f(re),ajax:function(t,i){function n(t,i,n,o){if(2!==C){C=2,l&&clearTimeout(l),r=e,a=o||"",j.readyState=t>0?4:0;var h,p,f,_,x,S=i,k=n?d(m,j,n):e;if(t>=200&&300>t||304===t)if(m.ifModified&&((_=j.getResponseHeader("Last-Modified"))&&(O.lastModified[s]=_),(x=j.getResponseHeader("Etag"))&&(O.etag[s]=x)),304===t)S="notmodified",h=!0;else try{p=c(m,k),S="success",h=!0}catch(T){S="parsererror",f=T}else f=S,(!S||t)&&(S="error",0>t&&(t=0));j.status=t,j.statusText=""+(i||S),h?y.resolveWith(g,[p,S,j]):y.rejectWith(g,[j,S,f]),j.statusCode(w),w=e,u&&v.trigger("ajax"+(h?"Success":"Error"),[j,m,h?p:f]),b.fireWith(g,[j,S]),u&&(v.trigger("ajaxComplete",[j,m]),--O.active||O.event.trigger("ajaxStop"))}}"object"==typeof t&&(i=t,t=e),i=i||{};var s,a,o,r,l,h,u,f,m=O.ajaxSetup({},i),g=m.context||m,v=g!==m&&(g.nodeType||g instanceof O)?O(g):O.event,y=O.Deferred(),b=O.Callbacks("once memory"),w=m.statusCode||{},_={},x={},C=0,j={readyState:0,setRequestHeader:function(t,e){if(!C){var i=t.toLowerCase();t=x[i]=x[i]||t,_[t]=e}return this},getAllResponseHeaders:function(){return 2===C?a:null},getResponseHeader:function(t){var i;if(2===C){if(!o)for(o={};i=Xt.exec(a);)o[i[1].toLowerCase()]=i[2];i=o[t.toLowerCase()]}return i===e?null:i},overrideMimeType:function(t){return C||(m.mimeType=t),this},abort:function(t){return t=t||"abort",r&&r.abort(t),n(0,t),this}};if(y.promise(j),j.success=j.done,j.error=j.fail,j.complete=b.add,j.statusCode=function(t){if(t){var e;if(2>C)for(e in t)w[e]=[w[e],t[e]];else e=t[j.status],j.then(e,e)}return this},m.url=((t||m.url)+"").replace(Qt,"").replace(Kt,Rt[1]+"//"),m.dataTypes=O.trim(m.dataType||"*").toLowerCase().split(ie),null==m.crossDomain&&(h=se.exec(m.url.toLowerCase()),m.crossDomain=!(!h||h[1]==Rt[1]&&h[2]==Rt[2]&&(h[3]||("http:"===h[1]?80:443))==(Rt[3]||("http:"===Rt[1]?80:443)))),m.data&&m.processData&&"string"!=typeof m.data&&(m.data=O.param(m.data,m.traditional)),p(oe,m,i,j),2===C)return!1;if(u=m.global,m.type=m.type.toUpperCase(),m.hasContent=!Jt.test(m.type),u&&0===O.active++&&O.event.trigger("ajaxStart"),!m.hasContent&&(m.data&&(m.url+=(Zt.test(m.url)?"&":"?")+m.data,delete m.data),s=m.url,m.cache===!1)){var S=O.now(),k=m.url.replace(ne,"$1_="+S);m.url=k+(k===m.url?(Zt.test(m.url)?"&":"?")+"_="+S:"")}(m.data&&m.hasContent&&m.contentType!==!1||i.contentType)&&j.setRequestHeader("Content-Type",m.contentType),m.ifModified&&(s=s||m.url,O.lastModified[s]&&j.setRequestHeader("If-Modified-Since",O.lastModified[s]),O.etag[s]&&j.setRequestHeader("If-None-Match",O.etag[s])),j.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+le+"; q=0.01":""):m.accepts["*"]);for(f in m.headers)j.setRequestHeader(f,m.headers[f]);if(m.beforeSend&&(m.beforeSend.call(g,j,m)===!1||2===C))return j.abort(),!1;for(f in{success:1,error:1,complete:1})j[f](m[f]);if(r=p(re,m,i,j)){j.readyState=1,u&&v.trigger("ajaxSend",[j,m]),m.async&&m.timeout>0&&(l=setTimeout(function(){j.abort("timeout")},m.timeout));try{C=1,r.send(_,n)}catch(T){if(!(2>C))throw T;n(-1,T)}}else n(-1,"No Transport");return j},param:function(t,i){var n=[],s=function(t,e){e=O.isFunction(e)?e():e,n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(i===e&&(i=O.ajaxSettings.traditional),O.isArray(t)||t.jquery&&!O.isPlainObject(t))O.each(t,function(){s(this.name,this.value)});else for(var a in t)h(a,t[a],i,s);return n.join("&").replace(Wt,"+")}}),O.extend({active:0,lastModified:{},etag:{}});var de=O.now(),he=/(\=)\?(&|$)|\?\?/i;O.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return O.expando+"_"+de++}}),O.ajaxPrefilter("json jsonp",function(e,i,n){var s="application/x-www-form-urlencoded"===e.contentType&&"string"==typeof e.data;if("jsonp"===e.dataTypes[0]||e.jsonp!==!1&&(he.test(e.url)||s&&he.test(e.data))){var a,o=e.jsonpCallback=O.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,r=t[o],l=e.url,c=e.data,d="$1"+o+"$2";return e.jsonp!==!1&&(l=l.replace(he,d),e.url===l&&(s&&(c=c.replace(he,d)),e.data===c&&(l+=(/\?/.test(l)?"&":"?")+e.jsonp+"="+o))),e.url=l,e.data=c,t[o]=function(t){a=[t]},n.always(function(){t[o]=r,a&&O.isFunction(r)&&t[o](a[0])}),e.converters["script json"]=function(){return a||O.error(o+" was not called"),a[0]},e.dataTypes[0]="json","script"}}),O.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(t){return O.globalEval(t),t}}}),O.ajaxPrefilter("script",function(t){t.cache===e&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),O.ajaxTransport("script",function(t){if(t.crossDomain){var i,n=M.head||M.getElementsByTagName("head")[0]||M.documentElement;return{send:function(s,a){i=M.createElement("script"),i.async="async",t.scriptCharset&&(i.charset=t.scriptCharset),i.src=t.url,i.onload=i.onreadystatechange=function(t,s){(s||!i.readyState||/loaded|complete/.test(i.readyState))&&(i.onload=i.onreadystatechange=null,n&&i.parentNode&&n.removeChild(i),i=e,s||a(200,"success"))},n.insertBefore(i,n.firstChild)},abort:function(){i&&i.onload(0,1)}}}});var ue,pe=t.ActiveXObject?function(){for(var t in ue)ue[t](0,1)}:!1,fe=0;O.ajaxSettings.xhr=t.ActiveXObject?function(){return!this.isLocal&&l()||r()}:l,function(t){O.extend(O.support,{ajax:!!t,cors:!!t&&"withCredentials"in t})}(O.ajaxSettings.xhr()),O.support.ajax&&O.ajaxTransport(function(i){if(!i.crossDomain||O.support.cors){var n;return{send:function(s,a){ var o,r,l=i.xhr();if(i.username?l.open(i.type,i.url,i.async,i.username,i.password):l.open(i.type,i.url,i.async),i.xhrFields)for(r in i.xhrFields)l[r]=i.xhrFields[r];i.mimeType&&l.overrideMimeType&&l.overrideMimeType(i.mimeType),!i.crossDomain&&!s["X-Requested-With"]&&(s["X-Requested-With"]="XMLHttpRequest");try{for(r in s)l.setRequestHeader(r,s[r])}catch(c){}l.send(i.hasContent&&i.data||null),n=function(t,s){var r,c,d,h,u;try{if(n&&(s||4===l.readyState))if(n=e,o&&(l.onreadystatechange=O.noop,pe&&delete ue[o]),s)4!==l.readyState&&l.abort();else{r=l.status,d=l.getAllResponseHeaders(),h={},u=l.responseXML,u&&u.documentElement&&(h.xml=u),h.text=l.responseText;try{c=l.statusText}catch(p){c=""}r||!i.isLocal||i.crossDomain?1223===r&&(r=204):r=h.text?200:404}}catch(f){s||a(-1,f)}h&&a(r,c,h,d)},i.async&&4!==l.readyState?(o=++fe,pe&&(ue||(ue={},O(t).unload(pe)),ue[o]=n),l.onreadystatechange=n):n()},abort:function(){n&&n(0,1)}}}});var me,ge,ve,ye,be={},we=/^(?:toggle|show|hide)$/,_e=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,xe=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];O.fn.extend({show:function(t,e,i){var a,o;if(t||0===t)return this.animate(s("show",3),t,e,i);for(var r=0,l=this.length;l>r;r++)a=this[r],a.style&&(o=a.style.display,!O._data(a,"olddisplay")&&"none"===o&&(o=a.style.display=""),""===o&&"none"===O.css(a,"display")&&O._data(a,"olddisplay",n(a.nodeName)));for(r=0;l>r;r++)a=this[r],a.style&&(o=a.style.display,(""===o||"none"===o)&&(a.style.display=O._data(a,"olddisplay")||""));return this},hide:function(t,e,i){if(t||0===t)return this.animate(s("hide",3),t,e,i);for(var n,a,o=0,r=this.length;r>o;o++)n=this[o],n.style&&(a=O.css(n,"display"),"none"!==a&&!O._data(n,"olddisplay")&&O._data(n,"olddisplay",a));for(o=0;r>o;o++)this[o].style&&(this[o].style.display="none");return this},_toggle:O.fn.toggle,toggle:function(t,e,i){var n="boolean"==typeof t;return O.isFunction(t)&&O.isFunction(e)?this._toggle.apply(this,arguments):null==t||n?this.each(function(){var e=n?t:O(this).is(":hidden");O(this)[e?"show":"hide"]()}):this.animate(s("toggle",3),t,e,i),this},fadeTo:function(t,e,i,n){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(t,e,i,s){function a(){o.queue===!1&&O._mark(this);var e,i,s,a,r,l,c,d,h,u=O.extend({},o),p=1===this.nodeType,f=p&&O(this).is(":hidden");u.animatedProperties={};for(s in t){if(e=O.camelCase(s),s!==e&&(t[e]=t[s],delete t[s]),i=t[e],O.isArray(i)?(u.animatedProperties[e]=i[1],i=t[e]=i[0]):u.animatedProperties[e]=u.specialEasing&&u.specialEasing[e]||u.easing||"swing","hide"===i&&f||"show"===i&&!f)return u.complete.call(this);p&&("height"===e||"width"===e)&&(u.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],"inline"===O.css(this,"display")&&"none"===O.css(this,"float")&&(O.support.inlineBlockNeedsLayout&&"inline"!==n(this.nodeName)?this.style.zoom=1:this.style.display="inline-block"))}null!=u.overflow&&(this.style.overflow="hidden");for(s in t)a=new O.fx(this,u,s),i=t[s],we.test(i)?(h=O._data(this,"toggle"+s)||("toggle"===i?f?"show":"hide":0),h?(O._data(this,"toggle"+s,"show"===h?"hide":"show"),a[h]()):a[i]()):(r=_e.exec(i),l=a.cur(),r?(c=parseFloat(r[2]),d=r[3]||(O.cssNumber[s]?"":"px"),"px"!==d&&(O.style(this,s,(c||1)+d),l=(c||1)/a.cur()*l,O.style(this,s,l+d)),r[1]&&(c=("-="===r[1]?-1:1)*c+l),a.custom(l,c,d)):a.custom(l,i,""));return!0}var o=O.speed(e,i,s);return O.isEmptyObject(t)?this.each(o.complete,[!1]):(t=O.extend({},t),o.queue===!1?this.each(a):this.queue(o.queue,a))},stop:function(t,i,n){return"string"!=typeof t&&(n=i,i=t,t=e),i&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){function e(t,e,i){var s=e[i];O.removeData(t,i,!0),s.stop(n)}var i,s=!1,a=O.timers,o=O._data(this);if(n||O._unmark(!0,this),null==t)for(i in o)o[i]&&o[i].stop&&i.indexOf(".run")===i.length-4&&e(this,o,i);else o[i=t+".run"]&&o[i].stop&&e(this,o,i);for(i=a.length;i--;)a[i].elem===this&&(null==t||a[i].queue===t)&&(n?a[i](!0):a[i].saveState(),s=!0,a.splice(i,1));(!n||!s)&&O.dequeue(this,t)})}}),O.each({slideDown:s("show",1),slideUp:s("hide",1),slideToggle:s("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){O.fn[t]=function(t,i,n){return this.animate(e,t,i,n)}}),O.extend({speed:function(t,e,i){var n=t&&"object"==typeof t?O.extend({},t):{complete:i||!i&&e||O.isFunction(t)&&t,duration:t,easing:i&&e||e&&!O.isFunction(e)&&e};return n.duration=O.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in O.fx.speeds?O.fx.speeds[n.duration]:O.fx.speeds._default,(null==n.queue||n.queue===!0)&&(n.queue="fx"),n.old=n.complete,n.complete=function(t){O.isFunction(n.old)&&n.old.call(this),n.queue?O.dequeue(this,n.queue):t!==!1&&O._unmark(this)},n},easing:{linear:function(t,e,i,n){return i+n*t},swing:function(t,e,i,n){return(-Math.cos(t*Math.PI)/2+.5)*n+i}},timers:[],fx:function(t,e,i){this.options=e,this.elem=t,this.prop=i,e.orig=e.orig||{}}}),O.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(O.fx.step[this.prop]||O.fx.step._default)(this)},cur:function(){if(null!=this.elem[this.prop]&&(!this.elem.style||null==this.elem.style[this.prop]))return this.elem[this.prop];var t,e=O.css(this.elem,this.prop);return isNaN(t=parseFloat(e))?e&&"auto"!==e?e:0:t},custom:function(t,i,n){function s(t){return a.step(t)}var a=this,r=O.fx;this.startTime=ye||o(),this.end=i,this.now=this.start=t,this.pos=this.state=0,this.unit=n||this.unit||(O.cssNumber[this.prop]?"":"px"),s.queue=this.options.queue,s.elem=this.elem,s.saveState=function(){a.options.hide&&O._data(a.elem,"fxshow"+a.prop)===e&&O._data(a.elem,"fxshow"+a.prop,a.start)},s()&&O.timers.push(s)&&!ve&&(ve=setInterval(r.tick,r.interval))},show:function(){var t=O._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=t||O.style(this.elem,this.prop),this.options.show=!0,t!==e?this.custom(this.cur(),t):this.custom("width"===this.prop||"height"===this.prop?1:0,this.cur()),O(this.elem).show()},hide:function(){this.options.orig[this.prop]=O._data(this.elem,"fxshow"+this.prop)||O.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(t){var e,i,n,s=ye||o(),a=!0,r=this.elem,l=this.options;if(t||s>=l.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),l.animatedProperties[this.prop]=!0;for(e in l.animatedProperties)l.animatedProperties[e]!==!0&&(a=!1);if(a){if(null!=l.overflow&&!O.support.shrinkWrapBlocks&&O.each(["","X","Y"],function(t,e){r.style["overflow"+e]=l.overflow[t]}),l.hide&&O(r).hide(),l.hide||l.show)for(e in l.animatedProperties)O.style(r,e,l.orig[e]),O.removeData(r,"fxshow"+e,!0),O.removeData(r,"toggle"+e,!0);n=l.complete,n&&(l.complete=!1,n.call(r))}return!1}return l.duration==1/0?this.now=s:(i=s-this.startTime,this.state=i/l.duration,this.pos=O.easing[l.animatedProperties[this.prop]](this.state,i,0,1,l.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update(),!0}},O.extend(O.fx,{tick:function(){for(var t,e=O.timers,i=0;i-1,h={},u={};d?(u=o.position(),s=u.top,a=u.left):(s=parseFloat(l)||0,a=parseFloat(c)||0),O.isFunction(e)&&(e=e.call(t,i,r)),null!=e.top&&(h.top=e.top-r.top+s),null!=e.left&&(h.left=e.left-r.left+a),"using"in e?e.using.call(t,h):o.css(h)}},O.fn.extend({position:function(){if(!this[0])return null;var t=this[0],e=this.offsetParent(),i=this.offset(),n=je.test(e[0].nodeName)?{top:0,left:0}:e.offset();return i.top-=parseFloat(O.css(t,"marginTop"))||0,i.left-=parseFloat(O.css(t,"marginLeft"))||0,n.top+=parseFloat(O.css(e[0],"borderTopWidth"))||0,n.left+=parseFloat(O.css(e[0],"borderLeftWidth"))||0,{top:i.top-n.top,left:i.left-n.left}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||M.body;t&&!je.test(t.nodeName)&&"static"===O.css(t,"position");)t=t.offsetParent;return t})}}),O.each(["Left","Top"],function(t,n){var s="scroll"+n;O.fn[s]=function(n){var a,o;return n===e?(a=this[0])?(o=i(a),o?"pageXOffset"in o?o[t?"pageYOffset":"pageXOffset"]:O.support.boxModel&&o.document.documentElement[s]||o.document.body[s]:a[s]):null:this.each(function(){o=i(this),o?o.scrollTo(t?O(o).scrollLeft():n,t?n:O(o).scrollTop()):this[s]=n})}}),O.each(["Height","Width"],function(t,i){var n=i.toLowerCase();O.fn["inner"+i]=function(){var t=this[0];return t?t.style?parseFloat(O.css(t,n,"padding")):this[n]():null},O.fn["outer"+i]=function(t){var e=this[0];return e?e.style?parseFloat(O.css(e,n,t?"margin":"border")):this[n]():null},O.fn[n]=function(t){var s=this[0];if(!s)return null==t?null:this;if(O.isFunction(t))return this.each(function(e){var i=O(this);i[n](t.call(this,e,i[n]()))});if(O.isWindow(s)){var a=s.document.documentElement["client"+i],o=s.document.body;return"CSS1Compat"===s.document.compatMode&&a||o&&o["client"+i]||a}if(9===s.nodeType)return Math.max(s.documentElement["client"+i],s.body["scroll"+i],s.documentElement["scroll"+i],s.body["offset"+i],s.documentElement["offset"+i]);if(t===e){var r=O.css(s,n),l=parseFloat(r);return O.isNumeric(l)?l:r}return this.css(n,"string"==typeof t?t:t+"px")}}),t.jQuery=t.$=O,"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return O})}(window),jQuery(document).ready(function(){$("#cform").submit(function(){var t=$(this).attr("action");return $("#message").slideUp(750,function(){$("#message").hide(),$("#submit").after('').attr("disabled","disabled"),$.post(t,{name:$("#name").val(),email:$("#email").val(),subject:$("#subject").val(),comments:$("#comments").val()},function(t){document.getElementById("message").innerHTML=t,$("#message").slideDown("slow"),$("#cform img.contact-loader").fadeOut("slow",function(){$(this).remove()}),$("#submit").removeAttr("disabled"),null!=t.match("success")&&$("#cform").slideUp("slow")})}),!1})}),function(t,e,i){function n(t){return t}function s(t){return decodeURIComponent(t.replace(a," "))}var a=/\+/g,o=t.cookie=function(a,r,l){if(r!==i){if(l=t.extend({},o.defaults,l),null===r&&(l.expires=-1),"number"==typeof l.expires){var c=l.expires,d=l.expires=new Date;d.setDate(d.getDate()+c)}return r=o.json?JSON.stringify(r):String(r),e.cookie=[encodeURIComponent(a),"=",o.raw?r:encodeURIComponent(r),l.expires?"; expires="+l.expires.toUTCString():"",l.path?"; path="+l.path:"",l.domain?"; domain="+l.domain:"",l.secure?"; secure":""].join("")}for(var h=o.raw?n:s,u=e.cookie.split("; "),p=0,f=u.length;f>p;p++){var m=u[p].split("=");if(h(m.shift())===a){var g=h(m.join("="));return o.json?JSON.parse(g):g}}return null};o.defaults={},t.removeCookie=function(e,i){return null!==t.cookie(e)?(t.cookie(e,null,i),!0):!1}}(jQuery,document),function(t,e,i){"use strict";var n,s=t.document,a=t.Modernizr,o=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},r="Moz Webkit O Ms".split(" "),l=function(t){var e,i=s.documentElement.style;if("string"==typeof i[t])return t;t=o(t);for(var n=0,a=r.length;a>n;n++)if(e=r[n]+t,"string"==typeof i[e])return e},c=l("transform"),d=l("transitionProperty"),h={csstransforms:function(){return!!c},csstransforms3d:function(){var t=!!l("perspective");if(t){var i=" -o- -moz- -ms- -webkit- -khtml- ".split(" "),n="@media ("+i.join("transform-3d),(")+"modernizr)",s=e("").appendTo("head"),a=e('
    ').appendTo("html");t=3===a.height(),a.remove(),s.remove()}return t},csstransitions:function(){return!!d}};if(a)for(n in h)a.hasOwnProperty(n)||a.addTest(n,h[n]);else{a=t.Modernizr={_version:"1.6ish: miniModernizr for Isotope"};var u,p=" ";for(n in h)u=h[n](),a[n]=u,p+=" "+(u?"":"no-")+n;e("html").addClass(p)}if(a.csstransforms){var f=a.csstransforms3d?{translate:function(t){return"translate3d("+t[0]+"px, "+t[1]+"px, 0) "},scale:function(t){return"scale3d("+t+", "+t+", 1) "}}:{translate:function(t){return"translate("+t[0]+"px, "+t[1]+"px) "},scale:function(t){return"scale("+t+") "}},m=function(t,i,n){var s,a,o=e.data(t,"isoTransform")||{},r={},l={};r[i]=n,e.extend(o,r);for(s in o)a=o[s],l[s]=f[s](a);var d=l.translate||"",h=l.scale||"",u=d+h;e.data(t,"isoTransform",o),t.style[c]=u};e.cssNumber.scale=!0,e.cssHooks.scale={set:function(t,e){m(t,"scale",e)},get:function(t,i){var n=e.data(t,"isoTransform");return n&&n.scale?n.scale:1}},e.fx.step.scale=function(t){e.cssHooks.scale.set(t.elem,t.now+t.unit)},e.cssNumber.translate=!0,e.cssHooks.translate={set:function(t,e){m(t,"translate",e)},get:function(t,i){var n=e.data(t,"isoTransform");return n&&n.translate?n.translate:[0,0]}}}var g,v;a.csstransitions&&(g={WebkitTransitionProperty:"webkitTransitionEnd",MozTransitionProperty:"transitionend",OTransitionProperty:"oTransitionEnd otransitionend",transitionProperty:"transitionend"}[d],v=l("transitionDuration"));var y,b=e.event;b.special.smartresize={setup:function(){e(this).bind("resize",b.special.smartresize.handler)},teardown:function(){e(this).unbind("resize",b.special.smartresize.handler)},handler:function(t,e){var i=this,n=arguments;t.type="smartresize",y&&clearTimeout(y),y=setTimeout(function(){jQuery.event.handle.apply(i,n)},"execAsap"===e?0:100)}},e.fn.smartresize=function(t){return t?this.bind("smartresize",t):this.trigger("smartresize",["execAsap"])},e.Isotope=function(t,i,n){this.element=e(i),this._create(t),this._init(n)};var w=["width","height"],_=e(t);e.Isotope.settings={resizable:!0,layoutMode:"masonry",containerClass:"isotope",itemClass:"isotope-item",hiddenClass:"isotope-hidden",hiddenStyle:{opacity:0,scale:.001},visibleStyle:{opacity:1,scale:1},containerStyle:{position:"relative",overflow:"hidden"},animationEngine:"best-available",animationOptions:{queue:!1,duration:800},sortBy:"original-order",sortAscending:!0,resizesContainer:!0,transformsEnabled:!0,itemPositionDataEnabled:!1},e.Isotope.prototype={_create:function(t){this.options=e.extend({},e.Isotope.settings,t),this.styleQueue=[],this.elemCount=0;var i=this.element[0].style;this.originalStyle={};var n=w.slice(0);for(var s in this.options.containerStyle)n.push(s);for(var a=0,o=n.length;o>a;a++)s=n[a],this.originalStyle[s]=i[s]||"";this.element.css(this.options.containerStyle),this._updateAnimationEngine(),this._updateUsingTransforms();var r={"original-order":function(t,e){return e.elemCount++,e.elemCount},random:function(){return Math.random()}};this.options.getSortData=e.extend(this.options.getSortData,r),this.reloadItems(),this.offset={left:parseInt(this.element.css("padding-left")||0,10),top:parseInt(this.element.css("padding-top")||0,10)};var l=this;setTimeout(function(){l.element.addClass(l.options.containerClass)},0),this.options.resizable&&_.bind("smartresize.isotope",function(){l.resize()}),this.element.delegate("."+this.options.hiddenClass,"click",function(){return!1})},_getAtoms:function(t){var e=this.options.itemSelector,i=e?t.filter(e).add(t.find(e)):t,n={position:"absolute"};return i=i.filter(function(t,e){return 1===e.nodeType}),this.usingTransforms&&(n.left=0,n.top=0),i.css(n).addClass(this.options.itemClass),this.updateSortData(i,!0),i},_init:function(t){this.$filteredAtoms=this._filter(this.$allAtoms),this._sort(),this.reLayout(t)},option:function(t){if(e.isPlainObject(t)){this.options=e.extend(!0,this.options,t);var i;for(var n in t)i="_update"+o(n),this[i]&&this[i]()}},_updateAnimationEngine:function(){var t,e=this.options.animationEngine.toLowerCase().replace(/[ _\-]/g,"");switch(e){case"css":case"none":t=!1;break;case"jquery":t=!0;break;default:t=!a.csstransitions}this.isUsingJQueryAnimation=t,this._updateUsingTransforms()},_updateTransformsEnabled:function(){this._updateUsingTransforms()},_updateUsingTransforms:function(){var t=this.usingTransforms=this.options.transformsEnabled&&a.csstransforms&&a.csstransitions&&!this.isUsingJQueryAnimation;t||(delete this.options.hiddenStyle.scale,delete this.options.visibleStyle.scale),this.getPositionStyles=t?this._translate:this._positionAbs},_filter:function(t){var e=""===this.options.filter?"*":this.options.filter;if(!e)return t;var i=this.options.hiddenClass,n="."+i,s=t.filter(n),a=s;if("*"!==e){a=s.filter(e);var o=t.not(n).not(e).addClass(i);this.styleQueue.push({$el:o,style:this.options.hiddenStyle})}return this.styleQueue.push({$el:a,style:this.options.visibleStyle}),a.removeClass(i),t.filter(e)},updateSortData:function(t,i){var n,s,a=this,o=this.options.getSortData;t.each(function(){n=e(this),s={};for(var t in o)i||"original-order"!==t?s[t]=o[t](n,a):s[t]=e.data(this,"isotope-sort-data")[t];e.data(this,"isotope-sort-data",s)})},_sort:function(){var t=this.options.sortBy,e=this._getSorter,i=this.options.sortAscending?1:-1,n=function(n,s){var a=e(n,t),o=e(s,t);return a===o&&"original-order"!==t&&(a=e(n,"original-order"),o=e(s,"original-order")),(a>o?1:o>a?-1:0)*i};this.$filteredAtoms.sort(n)},_getSorter:function(t,i){return e.data(t,"isotope-sort-data")[i]},_translate:function(t,e){return{translate:[t,e]}},_positionAbs:function(t,e){return{left:t,top:e}},_pushPosition:function(t,e,i){e=Math.round(e+this.offset.left),i=Math.round(i+this.offset.top);var n=this.getPositionStyles(e,i);this.styleQueue.push({$el:t,style:n}),this.options.itemPositionDataEnabled&&t.data("isotope-item-position",{x:e,y:i})},layout:function(t,e){var i=this.options.layoutMode;if(this["_"+i+"Layout"](t),this.options.resizesContainer){var n=this["_"+i+"GetContainerSize"]();this.styleQueue.push({$el:this.element,style:n})}this._processStyleQueue(t,e),this.isLaidOut=!0},_processStyleQueue:function(t,i){var n,s,o,r,l=this.isLaidOut&&this.isUsingJQueryAnimation?"animate":"css",c=this.options.animationOptions,d=this.options.onLayout;if(s=function(t,e){e.$el[l](e.style,c)},this._isInserting&&this.isUsingJQueryAnimation)s=function(t,e){n=e.$el.hasClass("no-transition")?"css":l,e.$el[n](e.style,c)};else if(i||d||c.complete){var h=!1,u=[i,d,c.complete],p=this;if(o=!0,r=function(){if(!h){for(var e,i=0,n=u.length;n>i;i++)e=u[i],"function"==typeof e&&e.call(p.element,t,p);h=!0}},this.isUsingJQueryAnimation&&"animate"===l)c.complete=r,o=!1;else if(a.csstransitions){for(var f,m=0,y=this.styleQueue[0],b=y&&y.$el;!b||!b.length;){if(f=this.styleQueue[m++],!f)return;b=f.$el}var w=parseFloat(getComputedStyle(b[0])[v]);w>0&&(s=function(t,e){e.$el[l](e.style,c).one(g,r)},o=!1)}}e.each(this.styleQueue,s),o&&r(),this.styleQueue=[]},resize:function(){this["_"+this.options.layoutMode+"ResizeChanged"]()&&this.reLayout()},reLayout:function(t){this["_"+this.options.layoutMode+"Reset"](),this.layout(this.$filteredAtoms,t)},addItems:function(t,e){var i=this._getAtoms(t);this.$allAtoms=this.$allAtoms.add(i),e&&e(i)},insert:function(t,e){this.element.append(t);var i=this;this.addItems(t,function(t){var n=i._filter(t);i._addHideAppended(n),i._sort(),i.reLayout(),i._revealAppended(n,e)})},appended:function(t,e){var i=this;this.addItems(t,function(t){i._addHideAppended(t),i.layout(t),i._revealAppended(t,e)})},_addHideAppended:function(t){this.$filteredAtoms=this.$filteredAtoms.add(t),t.addClass("no-transition"),this._isInserting=!0,this.styleQueue.push({$el:t,style:this.options.hiddenStyle})},_revealAppended:function(t,e){var i=this;setTimeout(function(){t.removeClass("no-transition"),i.styleQueue.push({$el:t,style:i.options.visibleStyle}),i._isInserting=!1,i._processStyleQueue(t,e)},10)},reloadItems:function(){this.$allAtoms=this._getAtoms(this.element.children())},remove:function(t,e){this.$allAtoms=this.$allAtoms.not(t),this.$filteredAtoms=this.$filteredAtoms.not(t);var i=this,n=function(){t.remove(),e&&e.call(i.element)};t.filter(":not(."+this.options.hiddenClass+")").length?(this.styleQueue.push({$el:t,style:this.options.hiddenStyle}),this._sort(),this.reLayout(n)):n()},shuffle:function(t){this.updateSortData(this.$allAtoms),this.options.sortBy="random",this._sort(),this.reLayout(t)},destroy:function(){var t=this.usingTransforms,e=this.options;this.$allAtoms.removeClass(e.hiddenClass+" "+e.itemClass).each(function(){var e=this.style;e.position="",e.top="",e.left="",e.opacity="",t&&(e[c]="")});var i=this.element[0].style;for(var n in this.originalStyle)i[n]=this.originalStyle[n];this.element.unbind(".isotope").undelegate("."+e.hiddenClass,"click").removeClass(e.containerClass).removeData("isotope"),_.unbind(".isotope")},_getSegments:function(t){var e,i=this.options.layoutMode,n=t?"rowHeight":"columnWidth",s=t?"height":"width",a=t?"rows":"cols",r=this.element[s](),l=this.options[i]&&this.options[i][n]||this.$filteredAtoms["outer"+o(s)](!0)||r;e=Math.floor(r/l),e=Math.max(e,1),this[i][a]=e,this[i][n]=l},_checkIfSegmentsChanged:function(t){var e=this.options.layoutMode,i=t?"rows":"cols",n=this[e][i];return this._getSegments(t),this[e][i]!==n},_masonryReset:function(){this.masonry={},this._getSegments();var t=this.masonry.cols;for(this.masonry.colYs=[];t--;)this.masonry.colYs.push(0)},_masonryLayout:function(t){var i=this,n=i.masonry;t.each(function(){var t=e(this),s=Math.ceil(t.outerWidth(!0)/n.columnWidth);if(s=Math.min(s,n.cols),1===s)i._masonryPlaceBrick(t,n.colYs);else{var a,o,r=n.cols+1-s,l=[];for(o=0;r>o;o++)a=n.colYs.slice(o,o+s),l[o]=Math.max.apply(Math,a);i._masonryPlaceBrick(t,l)}})},_masonryPlaceBrick:function(t,e){for(var i=Math.min.apply(Math,e),n=0,s=0,a=e.length;a>s;s++)if(e[s]===i){n=s;break}var o=this.masonry.columnWidth*n,r=i;this._pushPosition(t,o,r);var l=i+t.outerHeight(!0),c=this.masonry.cols+1-a;for(s=0;c>s;s++)this.masonry.colYs[n+s]=l},_masonryGetContainerSize:function(){var t=Math.max.apply(Math,this.masonry.colYs);return{height:t}},_masonryResizeChanged:function(){return this._checkIfSegmentsChanged()},_fitRowsReset:function(){this.fitRows={x:0,y:0,height:0}},_fitRowsLayout:function(t){var i=this,n=this.element.width(),s=this.fitRows;t.each(function(){var t=e(this),a=t.outerWidth(!0),o=t.outerHeight(!0);0!==s.x&&a+s.x>n&&(s.x=0,s.y=s.height),i._pushPosition(t,s.x,s.y),s.height=Math.max(s.y+o,s.height),s.x+=a})},_fitRowsGetContainerSize:function(){return{height:this.fitRows.height}},_fitRowsResizeChanged:function(){return!0},_cellsByRowReset:function(){this.cellsByRow={index:0},this._getSegments(),this._getSegments(!0)},_cellsByRowLayout:function(t){var i=this,n=this.cellsByRow;t.each(function(){var t=e(this),s=n.index%n.cols,a=Math.floor(n.index/n.cols),o=(s+.5)*n.columnWidth-t.outerWidth(!0)/2,r=(a+.5)*n.rowHeight-t.outerHeight(!0)/2;i._pushPosition(t,o,r),n.index++})},_cellsByRowGetContainerSize:function(){return{height:Math.ceil(this.$filteredAtoms.length/this.cellsByRow.cols)*this.cellsByRow.rowHeight+this.offset.top}},_cellsByRowResizeChanged:function(){return this._checkIfSegmentsChanged()},_straightDownReset:function(){this.straightDown={y:0}},_straightDownLayout:function(t){var i=this;t.each(function(t){var n=e(this);i._pushPosition(n,0,i.straightDown.y),i.straightDown.y+=n.outerHeight(!0)})},_straightDownGetContainerSize:function(){return{height:this.straightDown.y}},_straightDownResizeChanged:function(){return!0},_masonryHorizontalReset:function(){this.masonryHorizontal={},this._getSegments(!0);var t=this.masonryHorizontal.rows;for(this.masonryHorizontal.rowXs=[];t--;)this.masonryHorizontal.rowXs.push(0)},_masonryHorizontalLayout:function(t){var i=this,n=i.masonryHorizontal;t.each(function(){var t=e(this),s=Math.ceil(t.outerHeight(!0)/n.rowHeight);if(s=Math.min(s,n.rows),1===s)i._masonryHorizontalPlaceBrick(t,n.rowXs);else{var a,o,r=n.rows+1-s,l=[];for(o=0;r>o;o++)a=n.rowXs.slice(o,o+s),l[o]=Math.max.apply(Math,a);i._masonryHorizontalPlaceBrick(t,l)}})},_masonryHorizontalPlaceBrick:function(t,e){for(var i=Math.min.apply(Math,e),n=0,s=0,a=e.length;a>s;s++)if(e[s]===i){n=s;break}var o=i,r=this.masonryHorizontal.rowHeight*n;this._pushPosition(t,o,r);var l=i+t.outerWidth(!0),c=this.masonryHorizontal.rows+1-a;for(s=0;c>s;s++)this.masonryHorizontal.rowXs[n+s]=l},_masonryHorizontalGetContainerSize:function(){var t=Math.max.apply(Math,this.masonryHorizontal.rowXs);return{width:t}},_masonryHorizontalResizeChanged:function(){return this._checkIfSegmentsChanged(!0)},_fitColumnsReset:function(){this.fitColumns={x:0,y:0,width:0}},_fitColumnsLayout:function(t){var i=this,n=this.element.height(),s=this.fitColumns;t.each(function(){var t=e(this),a=t.outerWidth(!0),o=t.outerHeight(!0);0!==s.y&&o+s.y>n&&(s.x=s.width,s.y=0),i._pushPosition(t,s.x,s.y),s.width=Math.max(s.x+a,s.width),s.y+=o})},_fitColumnsGetContainerSize:function(){return{width:this.fitColumns.width}},_fitColumnsResizeChanged:function(){return!0},_cellsByColumnReset:function(){this.cellsByColumn={index:0},this._getSegments(),this._getSegments(!0)},_cellsByColumnLayout:function(t){var i=this,n=this.cellsByColumn;t.each(function(){var t=e(this),s=Math.floor(n.index/n.rows),a=n.index%n.rows,o=(s+.5)*n.columnWidth-t.outerWidth(!0)/2,r=(a+.5)*n.rowHeight-t.outerHeight(!0)/2;i._pushPosition(t,o,r),n.index++})},_cellsByColumnGetContainerSize:function(){return{width:Math.ceil(this.$filteredAtoms.length/this.cellsByColumn.rows)*this.cellsByColumn.columnWidth}},_cellsByColumnResizeChanged:function(){return this._checkIfSegmentsChanged(!0)},_straightAcrossReset:function(){this.straightAcross={x:0}},_straightAcrossLayout:function(t){var i=this;t.each(function(t){var n=e(this);i._pushPosition(n,i.straightAcross.x,0),i.straightAcross.x+=n.outerWidth(!0)})},_straightAcrossGetContainerSize:function(){return{width:this.straightAcross.x}},_straightAcrossResizeChanged:function(){return!0}},e.fn.imagesLoaded=function(t){function i(){t.call(s,a)}function n(t){var s=t.target;s.src!==r&&-1===e.inArray(s,l)&&(l.push(s),--o<=0&&(setTimeout(i),a.unbind(".imagesLoaded",n)))}var s=this,a=s.find("img").add(s.filter("img")),o=a.length,r="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",l=[];return o||i(),a.bind("load.imagesLoaded error.imagesLoaded",n).each(function(){var t=this.src;this.src=r,this.src=t}),s};var x=function(e){t.console&&t.console.error(e)};e.fn.isotope=function(t,i){if("string"==typeof t){var n=Array.prototype.slice.call(arguments,1);this.each(function(){var i=e.data(this,"isotope");return i?e.isFunction(i[t])&&"_"!==t.charAt(0)?void i[t].apply(i,n):void x("no such method '"+t+"' for isotope instance"):void x("cannot call methods on isotope prior to initialization; attempted to call method '"+t+"'")})}else this.each(function(){var n=e.data(this,"isotope");n?(n.option(t),n._init(i)):e.data(this,"isotope",new e.Isotope(t,this,i))});return this}}(window,jQuery),function(t){var e={vertical:!1,rtl:!1,start:1,offset:1,size:null,scroll:4,visible:null,animation:"normal",easing:"swing",auto:0,wrap:null,initCallback:null,setupCallback:null,reloadCallback:null,itemLoadCallback:null,itemFirstInCallback:null,itemFirstOutCallback:null,itemLastInCallback:null,itemLastOutCallback:null,itemVisibleInCallback:null,itemVisibleOutCallback:null,animationStepCallback:null,buttonNextHTML:"
    ",buttonPrevHTML:"
    ",buttonNextEvent:"click",buttonPrevEvent:"click",buttonNextCallback:null,buttonPrevCallback:null,itemFallbackDimension:null},i=!1;t(window).bind("load.jcarousel",function(){i=!0}),t.jcarousel=function(n,s){this.options=t.extend({},e,s||{}),this.locked=!1,this.autoStopped=!1,this.container=null,this.clip=null,this.list=null,this.buttonNext=null,this.buttonPrev=null,this.buttonNextState=null,this.buttonPrevState=null,s&&void 0!==s.rtl||(this.options.rtl="rtl"==(t(n).attr("dir")||t("html").attr("dir")||"").toLowerCase()),this.wh=this.options.vertical?"height":"width",this.lt=this.options.vertical?"top":this.options.rtl?"right":"left";for(var a="",o=n.className.split(" "),r=0;r
    ").parent()),0===this.container.size()&&(this.container=this.clip.wrap("
    ").parent()),""!==a&&-1==this.container.parent()[0].className.indexOf("jcarousel-skin")&&this.container.wrap('
    '),this.buttonPrev=t(".jcarousel-prev",this.container),0===this.buttonPrev.size()&&null!==this.options.buttonPrevHTML&&(this.buttonPrev=t(this.options.buttonPrevHTML).appendTo(this.container)),this.buttonPrev.addClass(this.className("jcarousel-prev")),this.buttonNext=t(".jcarousel-next",this.container),0===this.buttonNext.size()&&null!==this.options.buttonNextHTML&&(this.buttonNext=t(this.options.buttonNextHTML).appendTo(this.container)),this.buttonNext.addClass(this.className("jcarousel-next")),this.clip.addClass(this.className("jcarousel-clip")).css({position:"relative"}),this.list.addClass(this.className("jcarousel-list")).css({overflow:"hidden",position:"relative",top:0,margin:0,padding:0}).css(this.options.rtl?"right":"left",0),this.container.addClass(this.className("jcarousel-container")).css({position:"relative"}),!this.options.vertical&&this.options.rtl&&this.container.addClass("jcarousel-direction-rtl").attr("dir","rtl"); var l=null!==this.options.visible?Math.ceil(this.clipping()/this.options.visible):null,c=this.list.children("li"),d=this;if(c.size()>0){var h=0,u=this.options.offset;c.each(function(){d.format(this,u++),h+=d.dimension(this,l)}),this.list.css(this.wh,h+100+"px"),s&&void 0!==s.size||(this.options.size=c.size())}this.container.css("display","block"),this.buttonNext.css("display","block"),this.buttonPrev.css("display","block"),this.funcNext=function(){d.next()},this.funcPrev=function(){d.prev()},this.funcResize=function(){d.resizeTimer&&clearTimeout(d.resizeTimer),d.resizeTimer=setTimeout(function(){d.reload()},100)},null!==this.options.initCallback&&this.options.initCallback(this,"init"),!i&&t.browser.safari?(this.buttons(!1,!1),t(window).bind("load.jcarousel",function(){d.setup()})):this.setup()};var n=t.jcarousel;n.fn=n.prototype={jcarousel:"0.2.8"},n.fn.extend=n.extend=t.extend,n.fn.extend({setup:function(){if(this.first=null,this.last=null,this.prevFirst=null,this.prevLast=null,this.animating=!1,this.timer=null,this.resizeTimer=null,this.tail=null,this.inTail=!1,!this.locked){this.list.css(this.lt,this.pos(this.options.offset)+"px");var e=this.pos(this.options.start,!0);this.prevFirst=this.prevLast=null,this.animate(e,!1),t(window).unbind("resize.jcarousel",this.funcResize).bind("resize.jcarousel",this.funcResize),null!==this.options.setupCallback&&this.options.setupCallback(this)}},reset:function(){this.list.empty(),this.list.css(this.lt,"0px"),this.list.css(this.wh,"10px"),null!==this.options.initCallback&&this.options.initCallback(this,"reset"),this.setup()},reload:function(){if(null!==this.tail&&this.inTail&&this.list.css(this.lt,n.intval(this.list.css(this.lt))+this.tail),this.tail=null,this.inTail=!1,null!==this.options.reloadCallback&&this.options.reloadCallback(this),null!==this.options.visible){var t=this,e=Math.ceil(this.clipping()/this.options.visible),i=0,s=0;this.list.children("li").each(function(n){i+=t.dimension(this,e),n+1this.options.size&&(e=this.options.size);for(var i=t;e>=i;i++){var n=this.get(i);if(!n.length||n.hasClass("jcarousel-item-placeholder"))return!1}return!0},get:function(e){return t(">.jcarousel-item-"+e,this.list)},add:function(e,i){var s=this.get(e),a=0,o=t(i);if(0===s.length){var r,l=n.intval(e);for(s=this.create(e);;)if(r=this.get(--l),0>=l||r.length){0>=l?this.list.prepend(s):r.after(s);break}}else a=this.dimension(s);"LI"==o.get(0).nodeName.toUpperCase()?(s.replaceWith(o),s=o):s.empty().append(i),this.format(s.removeClass(this.className("jcarousel-item-placeholder")),e);var c=null!==this.options.visible?Math.ceil(this.clipping()/this.options.visible):null,d=this.dimension(s,c)-a;return e>0&&e=this.first&&t<=this.last)){var i=this.dimension(e);tt?1:this.options.size&&t>this.options.size?this.options.size:t);for(var s,a=this.first>t,o="circular"!=this.options.wrap&&this.first<=1?1:this.first,r=a?this.get(o):this.get(this.last),l=a?o:o-1,c=null,d=0,h=!1,u=0;a?--l>=t:++l=l||l>this.options.size)&&(s=this.get(this.index(l)),s.length&&(c=this.add(l,s.clone(!0))))),r=c,u=this.dimension(c),h&&(d+=u),null!==this.first&&("circular"==this.options.wrap||l>=1&&(null===this.options.size||l<=this.options.size))&&(i=a?i+u:i-u);var p=this.clipping(),f=[],m=0,g=0;for(r=this.get(t-1),l=t;++m;){if(c=this.get(l),h=!c.length,0===c.length&&(c=this.create(l).addClass(this.className("jcarousel-item-placeholder")),0===r.length?this.list.prepend(c):r[a?"before":"after"](c),null!==this.first&&"circular"==this.options.wrap&&null!==this.options.size&&(0>=l||l>this.options.size)&&(s=this.get(this.index(l)),s.length&&(c=this.add(l,s.clone(!0))))),r=c,u=this.dimension(c),0===u)throw new Error("jCarousel: No width/height set for items. This will cause an infinite loop. Aborting...");if("circular"!=this.options.wrap&&null!==this.options.size&&l>this.options.size?f.push(c):h&&(d+=u),g+=u,g>=p)break;l++}for(var v=0;v0&&(this.list.css(this.wh,this.dimension(this.list)+d+"px"),a&&(i-=d,this.list.css(this.lt,n.intval(this.list.css(this.lt))-d+"px")));var y=t+m-1;if("circular"!=this.options.wrap&&this.options.size&&y>this.options.size&&(y=this.options.size),l>y)for(m=0,l=y,g=0;++m&&(c=this.get(l--),c.length)&&(g+=this.dimension(c),!(g>=p)););var b=y-m+1;if("circular"!=this.options.wrap&&1>b&&(b=1),this.inTail&&a&&(i+=this.tail,this.inTail=!1),this.tail=null,"circular"!=this.options.wrap&&y==this.options.size&&y-m+1>=1){var w=n.intval(this.get(y).css(this.options.vertical?"marginBottom":"marginRight"));g-w>p&&(this.tail=g-p-w)}for(e&&t===this.options.size&&this.tail&&(i-=this.tail,this.inTail=!0);t-->b;)i+=this.dimension(this.get(t));return this.prevFirst=this.first,this.prevLast=this.last,this.first=b,this.last=y,i},animate:function(e,i){if(!this.locked&&!this.animating){this.animating=!0;var n=this,s=function(){if(n.animating=!1,0===e&&n.list.css(n.lt,0),!n.autoStopped&&("circular"==n.options.wrap||"both"==n.options.wrap||"last"==n.options.wrap||null===n.options.size||n.last=n.first&&t<=n.last||!(1>t||t>n.options.size)||n.remove(t)};if(this.notify("onBeforeAnimation"),this.options.animation&&i!==!1){var a=this.options.vertical?{top:e}:this.options.rtl?{right:e}:{left:e},o={duration:this.options.animation,easing:this.options.easing,complete:s};t.isFunction(this.options.animationStepCallback)&&(o.step=this.options.animationStepCallback),this.list.animate(a,o)}else this.list.css(this.lt,e+"px"),s()}},startAuto:function(t){if(void 0!==t&&(this.options.auto=t),0===this.options.auto)return this.stopAuto();if(null===this.timer){this.autoStopped=!1;var e=this;this.timer=window.setTimeout(function(){e.next()},1e3*this.options.auto)}},stopAuto:function(){this.pauseAuto(),this.autoStopped=!0},pauseAuto:function(){null!==this.timer&&(window.clearTimeout(this.timer),this.timer=null)},buttons:function(t,e){null==t&&(t=!this.locked&&0!==this.options.size&&(this.options.wrap&&"first"!=this.options.wrap||null===this.options.size||this.last=this.options.size)||(t=null!==this.tail&&!this.inTail)),null==e&&(e=!this.locked&&0!==this.options.size&&(this.options.wrap&&"last"!=this.options.wrap||this.first>1),this.locked||this.options.wrap&&"last"!=this.options.wrap||null===this.options.size||1!=this.first||(e=null!==this.tail&&this.inTail));var i=this;this.buttonNext.size()>0?(this.buttonNext.unbind(this.options.buttonNextEvent+".jcarousel",this.funcNext),t&&this.buttonNext.bind(this.options.buttonNextEvent+".jcarousel",this.funcNext),this.buttonNext[t?"removeClass":"addClass"](this.className("jcarousel-next-disabled")).attr("disabled",t?!1:!0),null!==this.options.buttonNextCallback&&this.buttonNext.data("jcarouselstate")!=t&&this.buttonNext.each(function(){i.options.buttonNextCallback(i,this,t)}).data("jcarouselstate",t)):null!==this.options.buttonNextCallback&&this.buttonNextState!=t&&this.options.buttonNextCallback(i,null,t),this.buttonPrev.size()>0?(this.buttonPrev.unbind(this.options.buttonPrevEvent+".jcarousel",this.funcPrev),e&&this.buttonPrev.bind(this.options.buttonPrevEvent+".jcarousel",this.funcPrev),this.buttonPrev[e?"removeClass":"addClass"](this.className("jcarousel-prev-disabled")).attr("disabled",e?!1:!0),null!==this.options.buttonPrevCallback&&this.buttonPrev.data("jcarouselstate")!=e&&this.buttonPrev.each(function(){i.options.buttonPrevCallback(i,this,e)}).data("jcarouselstate",e)):null!==this.options.buttonPrevCallback&&this.buttonPrevState!=e&&this.options.buttonPrevCallback(i,null,e),this.buttonNextState=t,this.buttonPrevState=e},notify:function(t){var e=null===this.prevFirst?"init":this.prevFirst=h;h++)null===h||h>=o&&r>=h||d(h)}}},create:function(t){return this.format("
  • ",t)},format:function(e,i){e=t(e);for(var n=e.get(0).className.split(" "),s=0;sn?"0"+n:n,e=t.jPlayer.timeFormat.padMin&&10>e?"0"+e:e,i=t.jPlayer.timeFormat.padSec&&10>i?"0"+i:i;return(t.jPlayer.timeFormat.showHour?n+t.jPlayer.timeFormat.sepHour:"")+(t.jPlayer.timeFormat.showMin?e+t.jPlayer.timeFormat.sepMin:"")+(t.jPlayer.timeFormat.showSec?i+t.jPlayer.timeFormat.sepSec:"")},t.jPlayer.uaBrowser=function(t){var t=t.toLowerCase(),e=/(opera)(?:.*version)?[ \/]([\w.]+)/,i=/(msie) ([\w.]+)/,n=/(mozilla)(?:.*? rv:([\w.]+))?/,t=/(webkit)[ \/]([\w.]+)/.exec(t)||e.exec(t)||i.exec(t)||0>t.indexOf("compatible")&&n.exec(t)||[];return{browser:t[1]||"",version:t[2]||"0"}},t.jPlayer.uaPlatform=function(t){var e=t.toLowerCase(),i=/(android)/,n=/(mobile)/,t=/(ipad|iphone|ipod|android|blackberry|playbook|windows ce|webos)/.exec(e)||[],e=/(ipad|playbook)/.exec(e)||!n.exec(e)&&i.exec(e)||[];return t[1]&&(t[1]=t[1].replace(/\s/g,"_")),{platform:t[1]||"",tablet:e[1]||""}},t.jPlayer.browser={},t.jPlayer.platform={};var i=t.jPlayer.uaBrowser(navigator.userAgent);i.browser&&(t.jPlayer.browser[i.browser]=!0,t.jPlayer.browser.version=i.version),i=t.jPlayer.uaPlatform(navigator.userAgent),i.platform&&(t.jPlayer.platform[i.platform]=!0,t.jPlayer.platform.mobile=!i.tablet,t.jPlayer.platform.tablet=!!i.tablet),t.jPlayer.prototype={count:0,version:{script:"2.2.0",needFlash:"2.2.0",flash:"unknown"},options:{swfPath:"js",solution:"html, flash",supplied:"mp3",preload:"metadata",volume:.8,muted:!1,wmode:"opaque",backgroundColor:"#000000",cssSelectorAncestor:"#jp_container_1",cssSelector:{videoPlay:".jp-video-play",play:".jp-play",pause:".jp-pause",stop:".jp-stop",seekBar:".jp-seek-bar",playBar:".jp-play-bar",mute:".jp-mute",unmute:".jp-unmute",volumeBar:".jp-volume-bar",volumeBarValue:".jp-volume-bar-value",volumeMax:".jp-volume-max",currentTime:".jp-current-time",duration:".jp-duration",fullScreen:".jp-full-screen",restoreScreen:".jp-restore-screen",repeat:".jp-repeat",repeatOff:".jp-repeat-off",gui:".jp-gui",noSolution:".jp-no-solution"},fullScreen:!1,autohide:{restored:!1,full:!0,fadeIn:200,fadeOut:600,hold:1e3},loop:!1,repeat:function(e){e.jPlayer.options.loop?t(this).unbind(".jPlayerRepeat").bind(t.jPlayer.event.ended+".jPlayer.jPlayerRepeat",function(){t(this).jPlayer("play")}):t(this).unbind(".jPlayerRepeat")},nativeVideoControls:{},noFullScreen:{msie:/msie [0-6]/,ipad:/ipad.*?os [0-4]/,iphone:/iphone/,ipod:/ipod/,android_pad:/android [0-3](?!.*?mobile)/,android_phone:/android.*?mobile/,blackberry:/blackberry/,windows_ce:/windows ce/,webos:/webos/},noVolume:{ipad:/ipad/,iphone:/iphone/,ipod:/ipod/,android_pad:/android(?!.*?mobile)/,android_phone:/android.*?mobile/,blackberry:/blackberry/,windows_ce:/windows ce/,webos:/webos/,playbook:/playbook/},verticalVolume:!1,idPrefix:"jp",noConflict:"jQuery",emulateHtml:!1,errorAlerts:!1,warningAlerts:!1},optionsAudio:{size:{width:"0px",height:"0px",cssClass:""},sizeFull:{width:"0px",height:"0px",cssClass:""}},optionsVideo:{size:{width:"480px",height:"270px",cssClass:"jp-video-270p"},sizeFull:{width:"100%",height:"100%",cssClass:"jp-video-full"}},instances:{},status:{src:"",media:{},paused:!0,format:{},formatType:"",waitForPlay:!0,waitForLoad:!0,srcSet:!1,video:!1,seekPercent:0,currentPercentRelative:0,currentPercentAbsolute:0,currentTime:0,duration:0,readyState:0,networkState:0,playbackRate:1,ended:0},internal:{ready:!1},solution:{html:!0,flash:!0},format:{mp3:{codec:'audio/mpeg; codecs="mp3"',flashCanPlay:!0,media:"audio"},m4a:{codec:'audio/mp4; codecs="mp4a.40.2"',flashCanPlay:!0,media:"audio"},oga:{codec:'audio/ogg; codecs="vorbis"',flashCanPlay:!1,media:"audio"},wav:{codec:'audio/wav; codecs="1"',flashCanPlay:!1,media:"audio"},webma:{codec:'audio/webm; codecs="vorbis"',flashCanPlay:!1,media:"audio"},fla:{codec:"audio/x-flv",flashCanPlay:!0,media:"audio"},rtmpa:{codec:'audio/rtmp; codecs="rtmp"',flashCanPlay:!0,media:"audio"},m4v:{codec:'video/mp4; codecs="avc1.42E01E, mp4a.40.2"',flashCanPlay:!0,media:"video"},ogv:{codec:'video/ogg; codecs="theora, vorbis"',flashCanPlay:!1,media:"video"},webmv:{codec:'video/webm; codecs="vorbis, vp8"',flashCanPlay:!1,media:"video"},flv:{codec:"video/x-flv",flashCanPlay:!0,media:"video"},rtmpv:{codec:'video/rtmp; codecs="rtmp"',flashCanPlay:!0,media:"video"}},_init:function(){var i=this;if(this.element.empty(),this.status=t.extend({},this.status),this.internal=t.extend({},this.internal),this.internal.domNode=this.element.get(0),this.formats=[],this.solutions=[],this.require={},this.htmlElement={},this.html={},this.html.audio={},this.html.video={},this.flash={},this.css={},this.css.cs={},this.css.jq={},this.ancestorJq=[],this.options.volume=this._limitValue(this.options.volume,0,1),t.each(this.options.supplied.toLowerCase().split(","),function(e,n){var s=n.replace(/^\s+|\s+$/g,"");if(i.format[s]){var a=!1;t.each(i.formats,function(t,e){return s===e?(a=!0,!1):void 0}),a||i.formats.push(s)}}),t.each(this.options.solution.toLowerCase().split(","),function(e,n){var s=n.replace(/^\s+|\s+$/g,"");if(i.solution[s]){var a=!1;t.each(i.solutions,function(t,e){return s===e?(a=!0,!1):void 0}),a||i.solutions.push(s)}}),this.internal.instance="jp_"+this.count,this.instances[this.internal.instance]=this.element,this.element.attr("id")||this.element.attr("id",this.options.idPrefix+"_jplayer_"+this.count),this.internal.self=t.extend({},{id:this.element.attr("id"),jq:this.element}),this.internal.audio=t.extend({},{id:this.options.idPrefix+"_audio_"+this.count,jq:e}),this.internal.video=t.extend({},{id:this.options.idPrefix+"_video_"+this.count,jq:e}),this.internal.flash=t.extend({},{id:this.options.idPrefix+"_flash_"+this.count,jq:e,swf:this.options.swfPath+(".swf"!==this.options.swfPath.toLowerCase().slice(-4)?(this.options.swfPath&&"/"!==this.options.swfPath.slice(-1)?"../../default.htm":"")+"Jplayer.swf":"")}),this.internal.poster=t.extend({},{id:this.options.idPrefix+"_poster_"+this.count,jq:e}),t.each(t.jPlayer.event,function(t,n){i.options[t]!==e&&(i.element.bind(n+".jPlayer",i.options[t]),i.options[t]=e)}),this.require.audio=!1,this.require.video=!1,t.each(this.formats,function(t,e){i.require[i.format[e].media]=!0}),this.options=this.require.video?t.extend(!0,{},this.optionsVideo,this.options):t.extend(!0,{},this.optionsAudio,this.options),this._setSize(),this.status.nativeVideoControls=this._uaBlocklist(this.options.nativeVideoControls),this.status.noFullScreen=this._uaBlocklist(this.options.noFullScreen),this.status.noVolume=this._uaBlocklist(this.options.noVolume),this._restrictNativeVideoControls(),this.htmlElement.poster=document.createElement("img"),this.htmlElement.poster.id=this.internal.poster.id,this.htmlElement.poster.onload=function(){(!i.status.video||i.status.waitForPlay)&&i.internal.poster.jq.show()},this.element.append(this.htmlElement.poster),this.internal.poster.jq=t("#"+this.internal.poster.id),this.internal.poster.jq.css({width:this.status.width,height:this.status.height}),this.internal.poster.jq.hide(),this.internal.poster.jq.bind("click.jPlayer",function(){i._trigger(t.jPlayer.event.click)}),this.html.audio.available=!1,this.require.audio&&(this.htmlElement.audio=document.createElement("audio"),this.htmlElement.audio.id=this.internal.audio.id,this.html.audio.available=!!this.htmlElement.audio.canPlayType&&this._testCanPlayType(this.htmlElement.audio)),this.html.video.available=!1,this.require.video&&(this.htmlElement.video=document.createElement("video"),this.htmlElement.video.id=this.internal.video.id,this.html.video.available=!!this.htmlElement.video.canPlayType&&this._testCanPlayType(this.htmlElement.video)),this.flash.available=this._checkForFlash(10),this.html.canPlay={},this.flash.canPlay={},t.each(this.formats,function(t,e){i.html.canPlay[e]=i.html[i.format[e].media].available&&""!==i.htmlElement[i.format[e].media].canPlayType(i.format[e].codec),i.flash.canPlay[e]=i.format[e].flashCanPlay&&i.flash.available}),this.html.desired=!1,this.flash.desired=!1,t.each(this.solutions,function(e,n){if(0===e)i[n].desired=!0;else{var s=!1,a=!1;t.each(i.formats,function(t,e){i[i.solutions[0]].canPlay[e]&&("video"===i.format[e].media?a=!0:s=!0)}),i[n].desired=i.require.audio&&!s||i.require.video&&!a}}),this.html.support={},this.flash.support={},t.each(this.formats,function(t,e){i.html.support[e]=i.html.canPlay[e]&&i.html.desired,i.flash.support[e]=i.flash.canPlay[e]&&i.flash.desired}),this.html.used=!1,this.flash.used=!1,t.each(this.solutions,function(e,n){t.each(i.formats,function(t,e){return i[n].support[e]?(i[n].used=!0,!1):void 0})}),this._resetActive(),this._resetGate(),this._cssSelectorAncestor(this.options.cssSelectorAncestor),this.html.used||this.flash.used?this.css.jq.noSolution.length&&this.css.jq.noSolution.hide():(this._error({type:t.jPlayer.error.NO_SOLUTION,context:"{solution:'"+this.options.solution+"', supplied:'"+this.options.supplied+"'}",message:t.jPlayer.errorMsg.NO_SOLUTION,hint:t.jPlayer.errorHint.NO_SOLUTION}),this.css.jq.noSolution.length&&this.css.jq.noSolution.show()),this.flash.used){var n,s="jQuery="+encodeURI(this.options.noConflict)+"&id="+encodeURI(this.internal.self.id)+"&vol="+this.options.volume+"&muted="+this.options.muted;if(t.jPlayer.browser.msie&&Number(t.jPlayer.browser.version)<=8){s=['','','','',''],n=document.createElement('');for(var a=0;a0?100*i/this.status.duration:0,"object"==typeof t.seekable&&t.seekable.length>0?(s=this.status.duration>0?100*t.seekable.end(t.seekable.length-1)/this.status.duration:100,a=this.status.duration>0?100*t.currentTime/t.seekable.end(t.seekable.length-1):0):(s=100,a=n),e&&(n=a=i=0),this.status.seekPercent=s,this.status.currentPercentRelative=a,this.status.currentPercentAbsolute=n,this.status.currentTime=i,this.status.readyState=t.readyState,this.status.networkState=t.networkState,this.status.playbackRate=t.playbackRate,this.status.ended=t.ended},_resetStatus:function(){this.status=t.extend({},this.status,t.jPlayer.prototype.status)},_trigger:function(e,i,n){e=t.Event(e),e.jPlayer={},e.jPlayer.version=t.extend({},this.version),e.jPlayer.options=t.extend(!0,{},this.options),e.jPlayer.status=t.extend(!0,{},this.status),e.jPlayer.html=t.extend(!0,{},this.html),e.jPlayer.flash=t.extend(!0,{},this.flash),i&&(e.jPlayer.error=t.extend({},i)),n&&(e.jPlayer.warning=t.extend({},n)),this.element.trigger(e)},jPlayerFlashEvent:function(e,i){if(e===t.jPlayer.event.ready)if(this.internal.ready){if(this.flash.gate){if(this.status.srcSet){var n=this.status.currentTime,s=this.status.paused;this.setMedia(this.status.media),n>0&&(s?this.pause(n):this.play(n))}this._trigger(t.jPlayer.event.flashreset)}}else this.internal.ready=!0,this.internal.flash.jq.css({width:"0px",height:"0px"}),this.version.flash=i.version,this.version.needFlash!==this.version.flash&&this._error({type:t.jPlayer.error.VERSION,context:this.version.flash,message:t.jPlayer.errorMsg.VERSION+this.version.flash,hint:t.jPlayer.errorHint.VERSION}),this._trigger(t.jPlayer.event.repeat),this._trigger(e);if(this.flash.gate)switch(e){case t.jPlayer.event.progress:this._getFlashStatus(i),this._updateInterface(),this._trigger(e);break;case t.jPlayer.event.timeupdate:this._getFlashStatus(i),this._updateInterface(),this._trigger(e);break;case t.jPlayer.event.play:this._seeked(), this._updateButtons(!0),this._trigger(e);break;case t.jPlayer.event.pause:this._updateButtons(!1),this._trigger(e);break;case t.jPlayer.event.ended:this._updateButtons(!1),this._trigger(e);break;case t.jPlayer.event.click:this._trigger(e);break;case t.jPlayer.event.error:this.status.waitForLoad=!0,this.status.waitForPlay=!0,this.status.video&&this.internal.flash.jq.css({width:"0px",height:"0px"}),this._validString(this.status.media.poster)&&this.internal.poster.jq.show(),this.css.jq.videoPlay.length&&this.status.video&&this.css.jq.videoPlay.show(),this.status.video?this._flash_setVideo(this.status.media):this._flash_setAudio(this.status.media),this._updateButtons(!1),this._error({type:t.jPlayer.error.URL,context:i.src,message:t.jPlayer.errorMsg.URL,hint:t.jPlayer.errorHint.URL});break;case t.jPlayer.event.seeking:this._seeking(),this._trigger(e);break;case t.jPlayer.event.seeked:this._seeked(),this._trigger(e);break;case t.jPlayer.event.ready:break;default:this._trigger(e)}return!1},_getFlashStatus:function(t){this.status.seekPercent=t.seekPercent,this.status.currentPercentRelative=t.currentPercentRelative,this.status.currentPercentAbsolute=t.currentPercentAbsolute,this.status.currentTime=t.currentTime,this.status.duration=t.duration,this.status.readyState=4,this.status.networkState=0,this.status.playbackRate=1,this.status.ended=!1},_updateButtons:function(t){t!==e&&(this.status.paused=!t,this.css.jq.play.length&&this.css.jq.pause.length&&(t?(this.css.jq.play.hide(),this.css.jq.pause.show()):(this.css.jq.play.show(),this.css.jq.pause.hide()))),this.css.jq.restoreScreen.length&&this.css.jq.fullScreen.length&&(this.status.noFullScreen?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.hide()):this.options.fullScreen?(this.css.jq.fullScreen.hide(),this.css.jq.restoreScreen.show()):(this.css.jq.fullScreen.show(),this.css.jq.restoreScreen.hide())),this.css.jq.repeat.length&&this.css.jq.repeatOff.length&&(this.options.loop?(this.css.jq.repeat.hide(),this.css.jq.repeatOff.show()):(this.css.jq.repeat.show(),this.css.jq.repeatOff.hide()))},_updateInterface:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.width(this.status.seekPercent+"%"),this.css.jq.playBar.length&&this.css.jq.playBar.width(this.status.currentPercentRelative+"%"),this.css.jq.currentTime.length&&this.css.jq.currentTime.text(t.jPlayer.convertTime(this.status.currentTime)),this.css.jq.duration.length&&this.css.jq.duration.text(t.jPlayer.convertTime(this.status.duration))},_seeking:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.addClass("jp-seeking-bg")},_seeked:function(){this.css.jq.seekBar.length&&this.css.jq.seekBar.removeClass("jp-seeking-bg")},_resetGate:function(){this.html.audio.gate=!1,this.html.video.gate=!1,this.flash.gate=!1},_resetActive:function(){this.html.active=!1,this.flash.active=!1},setMedia:function(e){var i=this,n=!1,s=this.status.media.poster!==e.poster;this._resetMedia(),this._resetGate(),this._resetActive(),t.each(this.formats,function(s,a){var o="video"===i.format[a].media;return t.each(i.solutions,function(t,s){if(i[s].support[a]&&i._validString(e[a])){var r="html"===s;return o?(r?(i.html.video.gate=!0,i._html_setVideo(e),i.html.active=!0):(i.flash.gate=!0,i._flash_setVideo(e),i.flash.active=!0),i.css.jq.videoPlay.length&&i.css.jq.videoPlay.show(),i.status.video=!0):(r?(i.html.audio.gate=!0,i._html_setAudio(e),i.html.active=!0):(i.flash.gate=!0,i._flash_setAudio(e),i.flash.active=!0),i.css.jq.videoPlay.length&&i.css.jq.videoPlay.hide(),i.status.video=!1),n=!0,!1}}),n?!1:void 0}),n?(this.status.nativeVideoControls&&this.html.video.gate||!this._validString(e.poster)||(s?this.htmlElement.poster.src=e.poster:this.internal.poster.jq.show()),this.status.srcSet=!0,this.status.media=t.extend({},e),this._updateButtons(!1),this._updateInterface()):this._error({type:t.jPlayer.error.NO_SUPPORT,context:"{supplied:'"+this.options.supplied+"'}",message:t.jPlayer.errorMsg.NO_SUPPORT,hint:t.jPlayer.errorHint.NO_SUPPORT})},_resetMedia:function(){this._resetStatus(),this._updateButtons(!1),this._updateInterface(),this._seeked(),this.internal.poster.jq.hide(),clearTimeout(this.internal.htmlDlyCmdId),this.html.active?this._html_resetMedia():this.flash.active&&this._flash_resetMedia()},clearMedia:function(){this._resetMedia(),this.html.active?this._html_clearMedia():this.flash.active&&this._flash_clearMedia(),this._resetGate(),this._resetActive()},load:function(){this.status.srcSet?this.html.active?this._html_load():this.flash.active&&this._flash_load():this._urlNotSetError("load")},play:function(t){t="number"==typeof t?t:NaN,this.status.srcSet?this.html.active?this._html_play(t):this.flash.active&&this._flash_play(t):this._urlNotSetError("play")},videoPlay:function(){this.play()},pause:function(t){t="number"==typeof t?t:NaN,this.status.srcSet?this.html.active?this._html_pause(t):this.flash.active&&this._flash_pause(t):this._urlNotSetError("pause")},pauseOthers:function(){var e=this;t.each(this.instances,function(t,i){e.element!==i&&i.data("jPlayer").status.srcSet&&i.jPlayer("pause")})},stop:function(){this.status.srcSet?this.html.active?this._html_pause(0):this.flash.active&&this._flash_pause(0):this._urlNotSetError("stop")},playHead:function(t){t=this._limitValue(t,0,100),this.status.srcSet?this.html.active?this._html_playHead(t):this.flash.active&&this._flash_playHead(t):this._urlNotSetError("playHead")},_muted:function(e){this.options.muted=e,this.html.used&&this._html_mute(e),this.flash.used&&this._flash_mute(e),this.html.video.gate||this.html.audio.gate||(this._updateMute(e),this._updateVolume(this.options.volume),this._trigger(t.jPlayer.event.volumechange))},mute:function(t){t=t===e?!0:!!t,this._muted(t)},unmute:function(t){t=t===e?!0:!!t,this._muted(!t)},_updateMute:function(t){t===e&&(t=this.options.muted),this.css.jq.mute.length&&this.css.jq.unmute.length&&(this.status.noVolume?(this.css.jq.mute.hide(),this.css.jq.unmute.hide()):t?(this.css.jq.mute.hide(),this.css.jq.unmute.show()):(this.css.jq.mute.show(),this.css.jq.unmute.hide()))},volume:function(e){e=this._limitValue(e,0,1),this.options.volume=e,this.html.used&&this._html_volume(e),this.flash.used&&this._flash_volume(e),this.html.video.gate||this.html.audio.gate||(this._updateVolume(e),this._trigger(t.jPlayer.event.volumechange))},volumeBar:function(t){if(this.css.jq.volumeBar.length){var e=this.css.jq.volumeBar.offset(),i=t.pageX-e.left,n=this.css.jq.volumeBar.width(),t=this.css.jq.volumeBar.height()-t.pageY+e.top,e=this.css.jq.volumeBar.height();this.options.verticalVolume?this.volume(t/e):this.volume(i/n)}this.options.muted&&this._muted(!1)},volumeBarValue:function(t){this.volumeBar(t)},_updateVolume:function(t){t===e&&(t=this.options.volume),t=this.options.muted?0:t,this.status.noVolume?(this.css.jq.volumeBar.length&&this.css.jq.volumeBar.hide(),this.css.jq.volumeBarValue.length&&this.css.jq.volumeBarValue.hide(),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.hide()):(this.css.jq.volumeBar.length&&this.css.jq.volumeBar.show(),this.css.jq.volumeBarValue.length&&(this.css.jq.volumeBarValue.show(),this.css.jq.volumeBarValue[this.options.verticalVolume?"height":"width"](100*t+"%")),this.css.jq.volumeMax.length&&this.css.jq.volumeMax.show())},volumeMax:function(){this.volume(1),this.options.muted&&this._muted(!1)},_cssSelectorAncestor:function(e){var i=this;this.options.cssSelectorAncestor=e,this._removeUiClass(),this.ancestorJq=e?t(e):[],e&&1!==this.ancestorJq.length&&this._warning({type:t.jPlayer.warning.CSS_SELECTOR_COUNT,context:e,message:t.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.ancestorJq.length+" found for cssSelectorAncestor.",hint:t.jPlayer.warningHint.CSS_SELECTOR_COUNT}),this._addUiClass(),t.each(this.options.cssSelector,function(t,e){i._cssSelector(t,e)})},_cssSelector:function(e,i){var n=this;"string"==typeof i?t.jPlayer.prototype.options.cssSelector[e]?(this.css.jq[e]&&this.css.jq[e].length&&this.css.jq[e].unbind(".jPlayer"),this.options.cssSelector[e]=i,this.css.cs[e]=this.options.cssSelectorAncestor+" "+i,this.css.jq[e]=i?t(this.css.cs[e]):[],this.css.jq[e].length&&this.css.jq[e].bind("click.jPlayer",function(i){return n[e](i),t(this).blur(),!1}),i&&1!==this.css.jq[e].length&&this._warning({type:t.jPlayer.warning.CSS_SELECTOR_COUNT,context:this.css.cs[e],message:t.jPlayer.warningMsg.CSS_SELECTOR_COUNT+this.css.jq[e].length+" found for "+e+" method.",hint:t.jPlayer.warningHint.CSS_SELECTOR_COUNT})):this._warning({type:t.jPlayer.warning.CSS_SELECTOR_METHOD,context:e,message:t.jPlayer.warningMsg.CSS_SELECTOR_METHOD,hint:t.jPlayer.warningHint.CSS_SELECTOR_METHOD}):this._warning({type:t.jPlayer.warning.CSS_SELECTOR_STRING,context:i,message:t.jPlayer.warningMsg.CSS_SELECTOR_STRING,hint:t.jPlayer.warningHint.CSS_SELECTOR_STRING})},seekBar:function(t){if(this.css.jq.seekBar){var e=this.css.jq.seekBar.offset(),t=t.pageX-e.left,e=this.css.jq.seekBar.width();this.playHead(100*t/e)}},playBar:function(t){this.seekBar(t)},repeat:function(){this._loop(!0)},repeatOff:function(){this._loop(!1)},_loop:function(e){this.options.loop!==e&&(this.options.loop=e,this._updateButtons(),this._trigger(t.jPlayer.event.repeat))},currentTime:function(){},duration:function(){},gui:function(){},noSolution:function(){},option:function(i,n){var s=i;if(0===arguments.length)return t.extend(!0,{},this.options);if("string"==typeof i){var a=i.split(".");if(n===e){for(var s=t.extend(!0,{},this.options),o=0;o0?this._html_load():clearTimeout(this.internal.htmlDlyCmdId),this.htmlElement.media.pause(),!isNaN(t))try{this.htmlElement.media.currentTime=t}catch(i){return void(this.internal.htmlDlyCmdId=setTimeout(function(){e.pause(t)},100))}t>0&&this._html_checkWaitForPlay()},_html_playHead:function(t){var e=this;this._html_load();try{if("object"==typeof this.htmlElement.media.seekable&&this.htmlElement.media.seekable.length>0)this.htmlElement.media.currentTime=t*this.htmlElement.media.seekable.end(this.htmlElement.media.seekable.length-1)/100;else{if(!(this.htmlElement.media.duration>0)||isNaN(this.htmlElement.media.duration))throw"e";this.htmlElement.media.currentTime=t*this.htmlElement.media.duration/100}}catch(i){return void(this.internal.htmlDlyCmdId=setTimeout(function(){e.playHead(t)},100))}this.status.waitForLoad||this._html_checkWaitForPlay()},_html_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.video.jq.css({width:this.status.width,height:this.status.height})))},_html_volume:function(t){this.html.audio.available&&(this.htmlElement.audio.volume=t),this.html.video.available&&(this.htmlElement.video.volume=t)},_html_mute:function(t){this.html.audio.available&&(this.htmlElement.audio.muted=t),this.html.video.available&&(this.htmlElement.video.muted=t)},_flash_setAudio:function(e){var i=this;try{t.each(this.formats,function(t,n){if(i.flash.support[n]&&e[n]){switch(n){case"m4a":case"fla":i._getMovie().fl_setAudio_m4a(e[n]);break;case"mp3":i._getMovie().fl_setAudio_mp3(e[n]);break;case"rtmpa":i._getMovie().fl_setAudio_rtmp(e[n])}return i.status.src=e[n],i.status.format[n]=!0,i.status.formatType=n,!1}}),"auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(n){this._flashError(n)}},_flash_setVideo:function(e){var i=this;try{t.each(this.formats,function(t,n){if(i.flash.support[n]&&e[n]){switch(n){case"m4v":case"flv":i._getMovie().fl_setVideo_m4v(e[n]);break;case"rtmpv":i._getMovie().fl_setVideo_rtmp(e[n])}return i.status.src=e[n],i.status.format[n]=!0,i.status.formatType=n,!1}}),"auto"===this.options.preload&&(this._flash_load(),this.status.waitForLoad=!1)}catch(n){this._flashError(n)}},_flash_resetMedia:function(){this.internal.flash.jq.css({width:"0px",height:"0px"}),this._flash_pause(NaN)},_flash_clearMedia:function(){try{this._getMovie().fl_clearMedia()}catch(t){this._flashError(t)}},_flash_load:function(){try{this._getMovie().fl_load()}catch(t){this._flashError(t)}this.status.waitForLoad=!1},_flash_play:function(t){try{this._getMovie().fl_play(t)}catch(e){this._flashError(e)}this.status.waitForLoad=!1,this._flash_checkWaitForPlay()},_flash_pause:function(t){try{this._getMovie().fl_pause(t)}catch(e){this._flashError(e)}t>0&&(this.status.waitForLoad=!1,this._flash_checkWaitForPlay())},_flash_playHead:function(t){try{this._getMovie().fl_play_head(t)}catch(e){this._flashError(e)}this.status.waitForLoad||this._flash_checkWaitForPlay()},_flash_checkWaitForPlay:function(){this.status.waitForPlay&&(this.status.waitForPlay=!1,this.css.jq.videoPlay.length&&this.css.jq.videoPlay.hide(),this.status.video&&(this.internal.poster.jq.hide(),this.internal.flash.jq.css({width:this.status.width,height:this.status.height})))},_flash_volume:function(t){try{this._getMovie().fl_volume(t)}catch(e){this._flashError(e)}},_flash_mute:function(t){try{this._getMovie().fl_mute(t)}catch(e){this._flashError(e)}},_getMovie:function(){return document[this.internal.flash.id]},_checkForFlash:function(t){var e,i=!1;if(window.ActiveXObject)try{new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+t),i=!0}catch(n){}else navigator.plugins&&navigator.mimeTypes.length>0&&(e=navigator.plugins["Shockwave Flash"])&&navigator.plugins["Shockwave Flash"].description.replace(/.*\s(\d+\.\d+).*/,"$1")>=t&&(i=!0);return i},_validString:function(t){return t&&"string"==typeof t},_limitValue:function(t,e,i){return e>t?e:t>i?i:t},_urlNotSetError:function(e){this._error({type:t.jPlayer.error.URL_NOT_SET,context:e,message:t.jPlayer.errorMsg.URL_NOT_SET,hint:t.jPlayer.errorHint.URL_NOT_SET})},_flashError:function(e){var i;i=this.internal.ready?"FLASH_DISABLED":"FLASH",this._error({type:t.jPlayer.error[i],context:this.internal.flash.swf,message:t.jPlayer.errorMsg[i]+e.message,hint:t.jPlayer.errorHint[i]}),this.internal.flash.jq.css({width:"1px",height:"1px"})},_error:function(e){this._trigger(t.jPlayer.event.error,e),this.options.errorAlerts&&this._alert("Error!"+(e.message?"\n\n"+e.message:"")+(e.hint?"\n\n"+e.hint:"")+"\n\nContext: "+e.context)},_warning:function(i){this._trigger(t.jPlayer.event.warning,e,i),this.options.warningAlerts&&this._alert("Warning!"+(i.message?"\n\n"+i.message:"")+(i.hint?"\n\n"+i.hint:"")+"\n\nContext: "+i.context)},_alert:function(t){alert("jPlayer "+this.version.script+" : id='"+this.internal.self.id+"' : "+t)},_emulateHtmlBridge:function(){var e=this;t.each(t.jPlayer.emulateMethods.split(/\s+/g),function(t,i){e.internal.domNode[i]=function(t){e[i](t)}}),t.each(t.jPlayer.event,function(i,n){var s=!0;t.each(t.jPlayer.reservedEvent.split(/\s+/g),function(t,e){return e===i?s=!1:void 0}),s&&e.element.bind(n+".jPlayer.jPlayerHtml",function(){e._emulateHtmlUpdate();var t=document.createEvent("Event");t.initEvent(i,!1,!0),e.internal.domNode.dispatchEvent(t)})})},_emulateHtmlUpdate:function(){var e=this;t.each(t.jPlayer.emulateStatus.split(/\s+/g),function(t,i){e.internal.domNode[i]=e.status[i]}),t.each(t.jPlayer.emulateOptions.split(/\s+/g),function(t,i){e.internal.domNode[i]=e.options[i]})},_destroyHtmlBridge:function(){var e=this;this.element.unbind(".jPlayerHtml"),t.each((t.jPlayer.emulateMethods+" "+t.jPlayer.emulateStatus+" "+t.jPlayer.emulateOptions).split(/\s+/g),function(t,i){delete e.internal.domNode[i]})}},t.jPlayer.error={FLASH:"e_flash",FLASH_DISABLED:"e_flash_disabled",NO_SOLUTION:"e_no_solution",NO_SUPPORT:"e_no_support",URL:"e_url",URL_NOT_SET:"e_url_not_set",VERSION:"e_version"},t.jPlayer.errorMsg={FLASH:"jPlayer's Flash fallback is not configured correctly, or a command was issued before the jPlayer Ready event. Details: ",FLASH_DISABLED:"jPlayer's Flash fallback has been disabled by the browser due to the CSS rules you have used. Details: ",NO_SOLUTION:"No solution can be found by jPlayer in this browser. Neither HTML nor Flash can be used.",NO_SUPPORT:"It is not possible to play any media format provided in setMedia() on this browser using your current options.",URL:"Media URL could not be loaded.",URL_NOT_SET:"Attempt to issue media playback commands, while no media url is set.",VERSION:"jPlayer "+t.jPlayer.prototype.version.script+" needs Jplayer.swf version "+t.jPlayer.prototype.version.needFlash+" but found "},t.jPlayer.errorHint={FLASH:"Check your swfPath option and that Jplayer.swf is there.",FLASH_DISABLED:"Check that you have not display:none; the jPlayer entity or any ancestor.",NO_SOLUTION:"Review the jPlayer options: support and supplied.",NO_SUPPORT:"Video or audio formats defined in the supplied option are missing.",URL:"Check media URL is valid.",URL_NOT_SET:"Use setMedia() to set the media URL.",VERSION:"Update jPlayer files."},t.jPlayer.warning={CSS_SELECTOR_COUNT:"e_css_selector_count",CSS_SELECTOR_METHOD:"e_css_selector_method",CSS_SELECTOR_STRING:"e_css_selector_string",OPTION_KEY:"e_option_key"},t.jPlayer.warningMsg={CSS_SELECTOR_COUNT:"The number of css selectors found did not equal one: ",CSS_SELECTOR_METHOD:"The methodName given in jPlayer('cssSelector') is not a valid jPlayer method.",CSS_SELECTOR_STRING:"The methodCssSelector given in jPlayer('cssSelector') is not a String or is empty.",OPTION_KEY:"The option requested in jPlayer('option') is undefined."},t.jPlayer.warningHint={CSS_SELECTOR_COUNT:"Check your css selector and the ancestor.",CSS_SELECTOR_METHOD:"Check your method name.",CSS_SELECTOR_STRING:"Check your css selector is a string.",OPTION_KEY:"Check your option name."}})(jQuery),function(t){t.fn.mobileMenu=function(e){var i={defaultText:"Navigate to...",className:"select-menu",subMenuClass:"sub-menu",subMenuDash:"–"},n=t.extend(i,e),s=t(this);return this.each(function(){s.find("ul").addClass(n.subMenuClass),t("