PageSourceSearch

https://waynemcgregor.com/ui/js/min/main-min.js?1790362338

js waynemcgregor.com collected 2026-09-25 18:52:25 UTC 584,562 bytes, 44 lines download raw bytes

1function hiya(){}function onYouTubePlayerAPIReady(){mejs.YouTubeApi.iFrameReady()}function onYouTubePlayerReady(t){mejs.YouTubeApi.flashReady(t)}function doScroll(){var t=window.innerHeight?window.innerHeight:$(window).height();site.scrollTop>=t-60&&$(".Slideshow").length?$(".Site-head").addClass("Site-head--black"):$(".Site-head").removeClass("Site-head--black"),$("body.contact").length||(site.scrollTop>10?$(".Site-foot").addClass("black"):$(".Site-foot").removeClass("black"));var e=site.scrollTop+site.windowHeight,i=site.$html.height()-105;if(e>i){var n=e-i;$(".Site-foot .before,.Site-foot .after").css({bottom:n+18})}else $(".Site-foot .before,.Site-foot .after").css({bottom:18})}function cleverHeader(){headerHeight=$(".Navigation").outerHeight(),console.log(headerHeight),$header=$(".Site-head"),$footer=$(".Site-foot"),$headerClone=$header.clone(),$headerClone.addClass("Mask-black black cloned"),$("html").hasClass("Site--mobile")?$headerClone.find(".Logo").css("bottom",100):$headerClone.find(".Logo").css("bottom",headerHeight-115),$(".Site-page").prepend($headerClone),$header.height(headerHeight+50),$headerClone.height(0);var t=$header.find(".Navigation").clone(!0),e=$header.find(".Logo").clone(),i=$header.find(".Social").clone();t.addClass("invisible"),e.addClass("invisible"),i.addClass("invisible"),$(".Site-page").prepend(t,e,i),$(".Site-head .before, .Site-head .after").css("bottom",headerHeight+20),$(".Navigation-toggle").css("bottom",headerHeight-10),t.find("a").hover(function(){var t=$(this).attr("href");$('.Site-head a[href="'+t+'"]').addClass("over")},function(){var t=$(this).attr("href");$('.Site-head a[href="'+t+'"]').removeClass("over")}),i.find("a").hover(function(){var t=$(this).attr("href");$('.Site-head a[href="'+t+'"]').addClass("over")},function(){var t=$(this).attr("href");$('.Site-head a[href="'+t+'"]').removeClass("over")}),site.on("resize",function(){var t=window.innerHeight?window.innerHeight:$(window).height();$(".Site-head").css("bottom",t-headerHeight-50)})}function init(){}function ready(){if($(".Slideshow video").length?site.$html.addClass("has-Video"):site.$html.removeClass("has-Video"),$(".chosen").chosen({disable_search:!0}),$(".Content--grey").length?site.$html.addClass("Site--grey"):site.$html.removeClass("Site--grey"),$(".Content--black").length?site.$html.addClass("Site--black"):site.$html.removeClass("Site--black"),$(".Content--down").click(function(){var t=$(this).next(".Content");if(t.length){var e=t.offset().top;site.scrollTo(e)}}),site.$html.addClass("Site--loaded"),$("#calendar").DataTable({paging:!1,searching:!1,info:!1,ordering:!1}),$("#calendar th").click(function(){$("#calendar tr.info").remove(),$("#calendar tr").removeClass("open"),$("#calendar tr").removeClass("open-next"),$("#calendar tr").removeClass("open-prev")}),$("#calendar tbody tr").click(function(){if($(this).hasClass("open"))$(this).next(".info").remove(),$(this).prev().removeClass("open-prev"),$(this).next().removeClass("open-next"),$(this).removeClass("open");else{var t=$(this).data("desc"),e=$('<tr class="info"><td valign="top" colspan="2" class="image"><img src="'+$(this).data("image")+'"/></td><td colspan="3" class="text">'+t+"</td><td></td><td></td></tr>");$(this).prev().addClass("open-prev"),$(this).next().addClass("open-next"),e.hide(),$(this).addClass("open").after(e),e.slideDown()}}).hover(function(){$(this).addClass("over")},function(){$(this).removeClass("over")}),site.trigger("resize"),$(".Slideshow").length){site.$html.addClass("Site--slideshow"),site.$html.removeClass("Site--no-slideshow"),$(".Slideshow").royalSlider({arrowsNav:!0,arrowsNavAutoHide:!1,fadeinLoadedSlide:!1,allowCSS3:!1,imageAlignCenter:!0,imageScaleMode:!0,imageScaleMode:"fill",navigateByClick:!1,sliderDrag:!1,keyboardNavEnabled:!0,slidesSpacing:0,loop:!0,globalCaption:!0,autoPlay:{enabled:!0,delay:5e3,pauseOnHover:!1}}),siteScrolled=0;var t=$(".Slideshow").data("royalSlider");t.ev.on("rsSlideClick",function(t,e){$(".Slideshow").hasClass("left")?$(".Slideshow").data("royalSlider").prev():$(".Slideshow").hasClass("right")?$(".Slideshow").data("royalSlider").next():$(".Slideshow").hasClass("down")&&site.scrollTo(site.windowHeight)}),t.ev.on("rsAfterSlideChange",function(e){if($(".Slideshow video").length){$(".Slideshow video").data("me").pause();var i=t.currSlide.holder;i.find("video")&&i.find("video").data("me").play()}});
1var e=$(".Slideshow").next(),i=e.find(".Content-title");if(i.length){var n=i.clone(),s=$(".Slideshow").next().data("title");""!=s&&n.html(s),n.addClass("scroller").removeClass("lower"),e.prepend(n),n.click(function(){site.scrollTo(site.windowHeight)})}$(".Site-head.cloned").show()}else site.$html.removeClass("Site--slideshow"),$(".Content--grey").length||$(".Content--black").length?(site.$html.removeClass("Site--no-slideshow"),$(".Site-head.cloned").hide()):(site.$html.addClass("Site--no-slideshow"),$(".Site-head").addClass("black")),$(".Site-head:not(.cloned)").removeClass("black");$(".scroller.manual").click(function(){var t=$(this).parent();site.scrollTo(t.offset().top)});var r=$(".Slideshow .rsSlide:first");r.find("video").length?loadVideo(r.find("video")):$(".Site-head:not(.cloned)").removeClass("black"),$(".Video-pop-close").click(function(){site.$html.removeClass("when-Video-is-active"),$(".Video-pop .Video-pop-video").html("")}),$(".videoEmbed").each(function(){var t=$(this).find(".Poster"),e=$(".Video-pop .Video-pop-video"),i=$(this).find(".Player"),n=$(this).find(".Poster img"),s=i.data("embedtype"),r=i.data("video");t.click(function(){var i=t.width()/t.height(),n=site.windowWidth-80,o=n/i;if("vimeo"==s){var a=r.split("/").pop(),l="/actions/archive/vimeo";$.post(l,{videoId:a},function(t){var i=$.parseJSON(t),s=i.video.width/i.video.height,r=n/s,o=$('<iframe src="//player.vimeo.com/video/'+a+'?autoplay=1" width="'+n+'" height="'+r+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen data-width="'+i.video.width+'" data-height="'+i.video.height+'"></iframe>');e.append(o),site.$html.addClass("when-Video-is-active"),size_videos()})}else{var a=r.split("v=")[1],u=a.indexOf("&");-1!=u&&(a=a.substring(0,u));var l="/actions/archive/youtube";$.post(l,{videoId:a},function(t){var i=$.parseJSON(t);console.log(i);var s=i.width/i.height,r=n/s,o=$('<iframe width="'+n+'" height="'+r+'" src="https://www.youtube.com/embed/'+a+'?autoplay=1" frameborder="0" allowfullscreen data-width="'+i.width+'" data-height="'+i.height+'"></iframe>');e.append(o),site.$html.addClass("when-Video-is-active"),size_videos()})}})}),$(".Filters-container p.title").click(function(){$(".Filters-container").toggleClass("open")}),myTransitionDuration=0;var o=$(".ui-masonry").isotope({itemSelector:".ui-masonry-item",layoutMode:"masonry",masonry:{gutterWidth:10},transitionDuration:0});$(".Filters:not(.nomasonry) > .Filters-container > ul > li").each(function(){var t=$(this),e=t.find("> a"),i=t.find("ul");e.click(function(t){t.preventDefault(),$(this).hasClass("open")?($(this).removeClass("open"),i.slideUp(300),e.text(e.data("text"))):($(".Filters .Filters-container > ul > li > a").removeClass("open"),$(".Filters .Filters-container > ul > li ul").slideUp(300),i.slideDown(300),$(this).addClass("open"),e.text(e.data("alt")))}),t.find(".cancel").click(function(t){t.preventDefault(),$(".Filters:not(.nomasonry) > .Filters-container > ul > li").each(function(){$(this).removeClass("active");var t=$(this).find("> a");t.text(t.data("text"))}),myTransitionDuration="0.4s",o.isotope({filter:"*"}),setTimeout(function(){myTransitionDuration=0},700)}),t.find("li a").click(function(n){n.preventDefault();var s=$(this).data("cat");s&&(myTransitionDuration="0.4s",o.isotope({filter:".cat-"+s}),$(".Filters:not(.nomasonry) > .Filters-container > ul > li").each(function(){$(this).removeClass("active");var t=$(this).find("> a");t.text(t.data("text"))}),t.addClass("active"),e.text($(this).text()),e.removeClass("open"),i.slideUp(300),setTimeout(function(){myTransitionDuration=0},700))})}),$(".Filters.nomasonry .Filters-container > ul > li").each(function(){var t=$(this).find("> a"),e=$(this).find("ul");t.click(function(i){i.preventDefault(),$(this).hasClass("open")?($(this).removeClass("open"),e.slideUp(300),t.text(t.data("text"))):($(".Filters .Filters-container > ul > li > a").removeClass("open"),$(".Filters .Filters-container > ul > li ul").slideUp(300),e.slideDown(300),$(this).addClass("open"),t.text(t.data("alt")))})}),$(".Filters.nomasonry span.cancel").click(function(){document.location=$(this).data("uri")}
1),$(".Filters:not(.nomasonry) form span.cancel").click(function(){document.location=$(this).data("uri")}),$(".Navigation-item--redirectToFirstChild:not(.handled)").each(function(){$(this).addClass("handled"),$(this).find("ul").length&&$(this).find("a").first().unbind("click").click(function(t){t.preventDefault(),$(".Navigation-item").removeClass("is-active");var e=$(this).parent().data("class");$(e).addClass("is-active")})})}function size_videos(){$("iframe").each(function(){var t=$(this).parent().width(),e=$(this).parent().height(),i=$(this).data("width")/$(this).data("height"),n=$(this).parent().width(),s=n/i;s>e&&(s=e,n=s*i);var r=(e-s)/2;r>0&&$(this).css("margin-top",r),$(this).width(n).height(s)})}function loadVideo(t){var e=t;e.appendTo(t),e.css({opacity:0}),e.mediaelementplayer({features:[],success:function(i,n){site.resize(),t.data("media-element",i),t.addClass("playing"),i.addEventListener("canplay",function(t){i.setMuted(soundMuted),i.play(),e.animate({opacity:1},function(){}),setTimeout(function(){$(".Site-head:not(.cloned)").removeClass("black")},0),e.data("me",i),$(".Volume").unbind("click").click(function(){soundMuted=!soundMuted,i.setMuted(soundMuted),$(this).toggleClass("is-active")})},!1)}})}!function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function i(t){var e=t.length,i=rt.type(t);return"function"!==i&&!rt.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===i||0===e||"number"==typeof e&&e>0&&e-1 in t))}function n(t,e,i){if(rt.isFunction(e))return rt.grep(t,function(t,n){return!!e.call(t,n,t)!==i});if(e.nodeType)return rt.grep(t,function(t){return t===e!==i});if("string"==typeof e){if(pt.test(e))return rt.filter(e,t,i);e=rt.filter(e,t)}return rt.grep(t,function(t){return rt.inArray(t,e)>=0!==i})}function s(t,e){do{t=t[e]}while(t&&1!==t.nodeType);return t}function r(t){var e=bt[t]={};return rt.each(t.match(yt)||[],function(t,i){e[i]=!0}),e}function o(){mt.addEventListener?(mt.removeEventListener("DOMContentLoaded",a,!1),t.removeEventListener("load",a,!1)):(mt.detachEvent("onreadystatechange",a),t.detachEvent("onload",a))}function a(){(mt.addEventListener||"load"===event.type||"complete"===mt.readyState)&&(o(),rt.ready())}function l(t,e,i){if(void 0===i&&1===t.nodeType){var n="data-"+e.replace(Ct,"-$1").toLowerCase();if("string"==typeof(i=t.getAttribute(n))){try{i="true"===i||"false"!==i&&("null"===i?null:+i+""===i?+i:Tt.test(i)?rt.parseJSON(i):i)}catch(t){}rt.data(t,e,i)}else i=void 0}return i}function u(t){var e;for(e in t)if(("data"!==e||!rt.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function c(t,e,i,n){if(rt.acceptData(t)){var s,r,o=rt.expando,a=t.nodeType,l=a?rt.cache:t,u=a?t[o]:t[o]&&o;if(u&&l[u]&&(n||l[u].data)||void 0!==i||"string"!=typeof e)return u||(u=a?t[o]=Q.pop()||rt.guid++:o),l[u]||(l[u]=a?{}:{toJSON:rt.noop}),("object"==typeof e||"function"==typeof e)&&(n?l[u]=rt.extend(l[u],e):l[u].data=rt.extend(l[u].data,e)),r=l[u],n||(r.data||(r.data={}),r=r.data),void 0!==i&&(r[rt.camelCase(e)]=i),"string"==typeof e?null==(s=r[e])&&(s=r[rt.camelCase(e)]):s=r,s}}function h(t,e,i){if(rt.acceptData(t)){var n,s,r=t.nodeType,o=r?rt.cache:t,a=r?t[rt.expando]:rt.expando;if(o[a]){if(e&&(n=i?o[a]:o[a].data)){rt.isArray(e)?e=e.concat(rt.map(e,rt.camelCase)):e in n?e=[e]:(e=rt.camelCase(e),e=e in n?[e]:e.split(" ")),s=e.length;for(;s--;)delete n[e[s]];if(i?!u(n):!rt.isEmptyObject(n))return}(i||(delete o[a].data,u(o[a])))&&(r?rt.cleanData([t],!0):nt.deleteExpando||o!=o.window?delete o[a]:o[a]=null)}}}function d(){return!0}function p(){return!1}function f(){try{return mt.activeElement}catch(t){}}function m(t){var e=Rt.split("|"),i=t.createDocumentFragment();if(i.createElement)for(;e.length;)i.createElement(e.pop());return i}function g(t,e){var i,n,s=0,r=typeof t.getElementsByTagName!==xt?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!==xt?t.querySelectorAll(e||"*"):void 0;if(!r)for(r=[],i=t.childNodes||t;null!=(n=i[s]);s++)!e||rt.nodeName(n,e)?r.push(n):rt.merge(r,g(n,e));return void 0===e||e&&rt.nodeName(t,e)?rt.merge([t],r):r}function v(t){It.test(t.type)&&(t.defaultChecked=t.checked)}function _(t,e){return rt.nodeName(t,"table")&&rt.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function y(t){return t.type=(null!==rt.find.attr(t,"type"))+"/"+t.type,t}function b(t){var e=Vt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function w(t,e){for(var i,n=0;null!=(i=t[n]);n++)rt._data(i,"globalEval",!e||rt._data(e[n],"globalEval"))}function x(t,e){if(1===e.nodeType&&rt.hasData(t)){var i,n,s,r=rt._data(t),o=rt._data(e,r),a=r.events;if(a){delete o.handle,o.events={};for(i in a)for(n=0,s=a[i].length;s>n;n++)rt.event.add(e,i,a[i][n])}o.data&&(o.data=rt.extend({},o.data))}}function S(t,e){var i,n,s;if(1===e.nodeType){if(i=e.nodeName.toLowerCase(),!nt.noCloneEvent&&e[rt.expando]){s=rt._data(e);for(n in s.events)rt.removeEvent(e,n,s.handle);e.removeAttribute(rt.expando)}"script"===i&&e.text!==t.text?(y(e).text=t.text,b(e)):"object"===i?(e.parentNode&&(e.outerHTML=t.outerHTML),nt.html5Clone&&t.innerHTML&&!rt.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===i&&It.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===i?e.defaultSelected=e.selected=t.defaultSelected:("input"===i||"textarea"===i)&&(e.defaultValue=t.defaultValue)}}function T(e,i){var n,s=rt(i.createElement(e)).appendTo(i.body),r=t.getDefaultComputedStyle&&(n=t.getDefaultComputedStyle(s[0]))?n.display:rt.css(s[0],"display");return s.detach(),r}function C(t){var e=mt,i=Zt[t];
vendor: 5,038 bytes, line 1
1return i||(i=T(t,e),"none"!==i&&i||(Jt=(Jt||rt("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=(Jt[0].contentWindow||Jt[0].contentDocument).document,e.write(),e.close(),i=T(t,e),Jt.detach()),Zt[t]=i),i}function k(t,e){return{get:function(){var i=t();if(null!=i)return i?void delete this.get:(this.get=e).apply(this,arguments)}}}function P(t,e){if(e in t)return e;for(var i=e.charAt(0).toUpperCase()+e.slice(1),n=e,s=he.length;s--;)if((e=he[s]+i)in t)return e;return n}function D(t,e){for(var i,n,s,r=[],o=0,a=t.length;a>o;o++)n=t[o],n.style&&(r[o]=rt._data(n,"olddisplay"),i=n.style.display,e?(r[o]||"none"!==i||(n.style.display=""),""===n.style.display&&Dt(n)&&(r[o]=rt._data(n,"olddisplay",C(n.nodeName)))):(s=Dt(n),(i&&"none"!==i||!s)&&rt._data(n,"olddisplay",s?i:rt.css(n,"display"))));for(o=0;a>o;o++)n=t[o],n.style&&(e&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=e?r[o]||"":"none"));return t}function j(t,e,i){var n=ae.exec(e);return n?Math.max(0,n[1]-(i||0))+(n[2]||"px"):e}function I(t,e,i,n,s){for(var r=i===(n?"border":"content")?4:"width"===e?1:0,o=0;4>r;r+=2)"margin"===i&&(o+=rt.css(t,i+Pt[r],!0,s)),n?("content"===i&&(o-=rt.css(t,"padding"+Pt[r],!0,s)),"margin"!==i&&(o-=rt.css(t,"border"+Pt[r]+"Width",!0,s))):(o+=rt.css(t,"padding"+Pt[r],!0,s),"padding"!==i&&(o+=rt.css(t,"border"+Pt[r]+"Width",!0,s)));return o}function E(t,e,i){var n=!0,s="width"===e?t.offsetWidth:t.offsetHeight,r=ee(t),o=nt.boxSizing&&"border-box"===rt.css(t,"boxSizing",!1,r);if(0>=s||null==s){if(s=ie(t,e,r),(0>s||null==s)&&(s=t.style[e]),te.test(s))return s;n=o&&(nt.boxSizingReliable()||s===t.style[e]),s=parseFloat(s)||0}return s+I(t,e,i||(o?"border":"content"),n,r)+"px"}function A(t,e,i,n,s){return new A.prototype.init(t,e,i,n,s)}function M(){return setTimeout(function(){de=void 0}),de=rt.now()}function L(t,e){var i,n={height:t},s=0;for(e=e?1:0;4>s;s+=2-e)i=Pt[s],n["margin"+i]=n["padding"+i]=t;return e&&(n.opacity=n.width=t),n}function R(t,e,i){for(var n,s=(_e[e]||[]).concat(_e["*"]),r=0,o=s.length;o>r;r++)if(n=s[r].call(i,e,t))return n}function F(t,e,i){var n,s,r,o,a,l,u,c,h=this,d={},p=t.style,f=t.nodeType&&Dt(t),m=rt._data(t,"fxshow");i.queue||(a=rt._queueHooks(t,"fx"),null==a.unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,h.always(function(){h.always(function(){a.unqueued--,rt.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(i.overflow=[p.overflow,p.overflowX,p.overflowY],u=rt.css(t,"display"),"inline"===(c="none"===u?rt._data(t,"olddisplay")||C(t.nodeName):u)&&"none"===rt.css(t,"float")&&(nt.inlineBlockNeedsLayout&&"inline"!==C(t.nodeName)?p.zoom=1:p.display="inline-block")),i.overflow&&(p.overflow="hidden",nt.shrinkWrapBlocks()||h.always(function(){p.overflow=i.overflow[0],p.overflowX=i.overflow[1],p.overflowY=i.overflow[2]}));for(n in e)if(s=e[n],fe.exec(s)){if(delete e[n],r=r||"toggle"===s,s===(f?"hide":"show")){if("show"!==s||!m||void 0===m[n])continue;f=!0}d[n]=m&&m[n]||rt.style(t,n)}else u=void 0;if(rt.isEmptyObject(d))"inline"===("none"===u?C(t.nodeName):u)&&(p.display=u);else{m?"hidden"in m&&(f=m.hidden):m=rt._data(t,"fxshow",{}),r&&(m.hidden=!f),f?rt(t).show():h.done(function(){rt(t).hide()}),h.done(function(){var e;rt._removeData(t,"fxshow");for(e in d)rt.style(t,e,d[e])});for(n in d)o=R(f?m[n]:0,n,h),n in m||(m[n]=o.start,f&&(o.end=o.start,o.start="width"===n||"height"===n?1:0))}}function N(t,e){var i,n,s,r,o;for(i in t)if(n=rt.camelCase(i),s=e[n],r=t[i],rt.isArray(r)&&(s=r[1],r=t[i]=r[0]),i!==n&&(t[n]=r,delete t[i]),(o=rt.cssHooks[n])&&"expand"in o){r=o.expand(r),delete t[n];for(i in r)i in t||(t[i]=r[i],e[i]=s)}else e[n]=s}function O(t,e,i){var n,s,r=0,o=ve.length,a=rt.Deferred().always(function(){delete l.elem}),l=function(){if(s)return!1;for(var e=de||M(),i=Math.max(0,u.startTime+u.duration-e),n=i/u.duration||0,r=1-n,o=0,l=u.tweens.length;l>o;o++)u.tweens[o].run(r);return a.notifyWith(t,[u,r,i]),1>r&&l?i:(a.resolveWith(t,[u]),!1)},u=a.promise({elem:t,props:rt.extend({},e),opts:rt.extend(!0,{specialEasing:{}},i),originalProperties:e,originalOptions:i,startTime:de||M(),duration:i.duration,tweens:[],createTween:function(e,i){var n=rt.Tween(t,u.opts,e,i,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(n),n},stop:function(e){var i=0,n=e?u.tweens.length:0;if(s)return this;for(s=!0;n>i;i++)u.tweens[i].run(1);return e?a.resolveWith(t,[u,e]):a.rejectWith(t,[u,e]),this}}),c=u.props;for(N(c,u.opts.specialEasing);o>r;r++)if(n=ve[r].call(u,t,c,u.opts))return n;return rt.map(c,R,u),rt.isFunction(u.opts.start)&&u.opts.start.call(t,u),rt.fx.timer(rt.extend(l,{elem:t,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function z(t){return function(e,i){"string"!=typeof e&&(i=e,e="*");var n,s=0,r=e.toLowerCase().match(yt)||[];if(rt.isFunction(i))for(;n=r[s++];)"+"===n.charAt(0)?(n=n.slice(1)||"*",(t[n]=t[n]||[]).unshift(i)):(t[n]=t[n]||[]).push(i)}}
vendor: 1,387 bytes, line 1
1function H(t,e,i,n){function s(a){var l;return r[a]=!0,rt.each(t[a]||[],function(t,a){var u=a(e,i,n);return"string"!=typeof u||o||r[u]?o?!(l=u):void 0:(e.dataTypes.unshift(u),s(u),!1)}),l}var r={},o=t===Be;return s(e.dataTypes[0])||!r["*"]&&s("*")}function B(t,e){var i,n,s=rt.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((s[n]?t:i||(i={}))[n]=e[n]);return i&&rt.extend(!0,t,i),t}function W(t,e,i){for(var n,s,r,o,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===s&&(s=t.mimeType||e.getResponseHeader("Content-Type"));if(s)for(o in a)if(a[o]&&a[o].test(s)){l.unshift(o);break}if(l[0]in i)r=l[0];else{for(o in i){if(!l[0]||t.converters[o+" "+l[0]]){r=o;break}n||(n=o)}r=r||n}return r?(r!==l[0]&&l.unshift(r),i[r]):void 0}function q(t,e,i,n){var s,r,o,a,l,u={},c=t.dataTypes.slice();if(c[1])for(o in t.converters)u[o.toLowerCase()]=t.converters[o];for(r=c.shift();r;)if(t.responseFields[r]&&(i[t.responseFields[r]]=e),!l&&n&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=c.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(o=u[l+" "+r]||u["* "+r]))for(s in u)if(a=s.split(" "),a[1]===r&&(o=u[l+" "+a[0]]||u["* "+a[0]])){!0===o?o=u[s]:!0!==u[s]&&(r=a[0],c.unshift(a[1]));break}if(!0!==o)if(o&&t.throws)e=o(e);else try{e=o(e)}catch(t){return{state:"parsererror",error:o?t:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}function U(t,e,i,n){var s;
vendor: 4,987 bytes, line 1
1if(rt.isArray(e))rt.each(e,function(e,s){i||Ue.test(t)?n(t,s):U(t+"["+("object"==typeof s?e:"")+"]",s,i,n)});else if(i||"object"!==rt.type(e))n(t,e);else for(s in e)U(t+"["+s+"]",e[s],i,n)}function V(){try{return new t.XMLHttpRequest}catch(t){}}function X(){try{return new t.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function Y(t){return rt.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}var Q=[],G=Q.slice,J=Q.concat,Z=Q.push,K=Q.indexOf,tt={},et=tt.toString,it=tt.hasOwnProperty,nt={},st="1.11.1",rt=function(t,e){return new rt.fn.init(t,e)},ot=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,at=/^-ms-/,lt=/-([\da-z])/gi,ut=function(t,e){return e.toUpperCase()};rt.fn=rt.prototype={jquery:st,constructor:rt,selector:"",length:0,toArray:function(){return G.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:G.call(this)},pushStack:function(t){var e=rt.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return rt.each(this,t,e)},map:function(t){return this.pushStack(rt.map(this,function(e,i){return t.call(e,i,e)}))},slice:function(){return this.pushStack(G.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,i=+t+(0>t?e:0);return this.pushStack(i>=0&&e>i?[this[i]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:Z,sort:Q.sort,splice:Q.splice},rt.extend=rt.fn.extend=function(){var t,e,i,n,s,r,o=arguments[0]||{},a=1,l=arguments.length,u=!1;for("boolean"==typeof o&&(u=o,o=arguments[a]||{},a++),"object"==typeof o||rt.isFunction(o)||(o={}),a===l&&(o=this,a--);l>a;a++)if(null!=(s=arguments[a]))for(n in s)t=o[n],i=s[n],o!==i&&(u&&i&&(rt.isPlainObject(i)||(e=rt.isArray(i)))?(e?(e=!1,r=t&&rt.isArray(t)?t:[]):r=t&&rt.isPlainObject(t)?t:{},o[n]=rt.extend(u,r,i)):void 0!==i&&(o[n]=i));return o},rt.extend({expando:"jQuery"+(st+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===rt.type(t)},isArray:Array.isArray||function(t){return"array"===rt.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!rt.isArray(t)&&t-parseFloat(t)>=0},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},isPlainObject:function(t){var e;if(!t||"object"!==rt.type(t)||t.nodeType||rt.isWindow(t))return!1;try{if(t.constructor&&!it.call(t,"constructor")&&!it.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}if(nt.ownLast)for(e in t)return it.call(t,e);for(e in t);return void 0===e||it.call(t,e)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?tt[et.call(t)]||"object":typeof t},globalEval:function(e){e&&rt.trim(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},camelCase:function(t){return t.replace(at,"ms-").replace(lt,ut)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,n){var s,r=0,o=t.length,a=i(t);if(n){if(a)for(;o>r&&!1!==(s=e.apply(t[r],n));r++);else for(r in t)if(!1===(s=e.apply(t[r],n)))break}else if(a)for(;o>r&&!1!==(s=e.call(t[r],r,t[r]));r++);else for(r in t)if(!1===(s=e.call(t[r],r,t[r])))break;return t},trim:function(t){return null==t?"":(t+"").replace(ot,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(i(Object(t))?rt.merge(n,"string"==typeof t?[t]:t):Z.call(n,t)),n},inArray:function(t,e,i){var n;if(e){if(K)return K.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,e){for(var i=+e.length,n=0,s=t.length;i>n;)t[s++]=e[n++];if(i!==i)for(;void 0!==e[n];)t[s++]=e[n++];return t.length=s,t},grep:function(t,e,i){for(var n,s=[],r=0,o=t.length,a=!i;o>r;r++)(n=!e(t[r],r))!==a&&s.push(t[r]);return s},map:function(t,e,n){var s,r=0,o=t.length,a=i(t),l=[];if(a)for(;o>r;r++)null!=(s=e(t[r],r,n))&&l.push(s);else for(r in t)null!=(s=e(t[r],r,n))&&l.push(s);return J.apply([],l)},guid:1,proxy:function(t,e){var i,n,s;return"string"==typeof e&&(s=t[e],e=t,t=s),rt.isFunction(t)?(i=G.call(arguments,2),n=function(){return t.apply(e||this,i.concat(G.call(arguments)))},n.guid=t.guid=t.guid||rt.guid++,n):void 0},now:function(){return+new Date},support:nt}),rt.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){tt["[object "+e+"]"]=e.toLowerCase()});var ct=function(t){function e(t,e,i,n){var s,r,o,a,l,u,h,p,f,m;if((e?e.ownerDocument||e:H)!==A&&E(e),e=e||A,i=i||[],!t||"string"!=typeof t)return i;if(1!==(a=e.nodeType)&&9!==a)return[];if(L&&!n){if(s=_t.exec(t))if(o=s[1]){if(9===a){if(!(r=e.getElementById(o))||!r.parentNode)return i;if(r.id===o)return i.push(r),i}else if(e.ownerDocument&&(r=e.ownerDocument.getElementById(o))&&O(e,r)&&r.id===o)return i.push(r),i}else{if(s[2])return tt.apply(i,e.getElementsByTagName(t)),i;if((o=s[3])&&w.getElementsByClassName&&e.getElementsByClassName)return tt.apply(i,e.getElementsByClassName(o)),i}
vendor: 5,274 bytes, line 1
1if(w.qsa&&(!R||!R.test(t))){if(p=h=z,f=e,m=9===a&&t,1===a&&"object"!==e.nodeName.toLowerCase()){for(u=C(t),(h=e.getAttribute("id"))?p=h.replace(bt,"\\$&"):e.setAttribute("id",p),p="[id='"+p+"'] ",l=u.length;l--;)u[l]=p+d(u[l]);f=yt.test(t)&&c(e.parentNode)||e,m=u.join(",")}if(m)try{return tt.apply(i,f.querySelectorAll(m)),i}catch(t){}finally{h||e.removeAttribute("id")}}}return P(t.replace(ut,"$1"),e,i,n)}function i(){function t(i,n){return e.push(i+" ")>x.cacheLength&&delete t[e.shift()],t[i+" "]=n}var e=[];return t}function n(t){return t[z]=!0,t}function s(t){var e=A.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function r(t,e){for(var i=t.split("|"),n=t.length;n--;)x.attrHandle[i[n]]=e}function o(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||Q)-(~t.sourceIndex||Q);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function a(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function l(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function u(t){return n(function(e){return e=+e,n(function(i,n){for(var s,r=t([],i.length,e),o=r.length;o--;)i[s=r[o]]&&(i[s]=!(n[s]=i[s]))})})}function c(t){return t&&typeof t.getElementsByTagName!==Y&&t}function h(){}function d(t){for(var e=0,i=t.length,n="";i>e;e++)n+=t[e].value;return n}function p(t,e,i){var n=e.dir,s=i&&"parentNode"===n,r=W++;return e.first?function(e,i,r){for(;e=e[n];)if(1===e.nodeType||s)return t(e,i,r)}:function(e,i,o){var a,l,u=[B,r];if(o){for(;e=e[n];)if((1===e.nodeType||s)&&t(e,i,o))return!0}else for(;e=e[n];)if(1===e.nodeType||s){if(l=e[z]||(e[z]={}),(a=l[n])&&a[0]===B&&a[1]===r)return u[2]=a[2];if(l[n]=u,u[2]=t(e,i,o))return!0}}}function f(t){return t.length>1?function(e,i,n){for(var s=t.length;s--;)if(!t[s](e,i,n))return!1;return!0}:t[0]}function m(t,i,n){for(var s=0,r=i.length;r>s;s++)e(t,i[s],n);return n}function g(t,e,i,n,s){for(var r,o=[],a=0,l=t.length,u=null!=e;l>a;a++)(r=t[a])&&(!i||i(r,n,s))&&(o.push(r),u&&e.push(a));return o}function v(t,e,i,s,r,o){return s&&!s[z]&&(s=v(s)),r&&!r[z]&&(r=v(r,o)),n(function(n,o,a,l){var u,c,h,d=[],p=[],f=o.length,v=n||m(e||"*",a.nodeType?[a]:a,[]),_=!t||!n&&e?v:g(v,d,t,a,l),y=i?r||(n?t:f||s)?[]:o:_;if(i&&i(_,y,a,l),s)for(u=g(y,p),s(u,[],a,l),c=u.length;c--;)(h=u[c])&&(y[p[c]]=!(_[p[c]]=h));if(n){if(r||t){if(r){for(u=[],c=y.length;c--;)(h=y[c])&&u.push(_[c]=h);r(null,y=[],u,l)}for(c=y.length;c--;)(h=y[c])&&(u=r?it.call(n,h):d[c])>-1&&(n[u]=!(o[u]=h))}}else y=g(y===o?y.splice(f,y.length):y),r?r(null,o,y,l):tt.apply(o,y)})}function _(t){for(var e,i,n,s=t.length,r=x.relative[t[0].type],o=r||x.relative[" "],a=r?1:0,l=p(function(t){return t===e},o,!0),u=p(function(t){return it.call(e,t)>-1},o,!0),c=[function(t,i,n){return!r&&(n||i!==D)||((e=i).nodeType?l(t,i,n):u(t,i,n))}];s>a;a++)if(i=x.relative[t[a].type])c=[p(f(c),i)];else{if(i=x.filter[t[a].type].apply(null,t[a].matches),i[z]){for(n=++a;s>n&&!x.relative[t[n].type];n++);return v(a>1&&f(c),a>1&&d(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(ut,"$1"),i,n>a&&_(t.slice(a,n)),s>n&&_(t=t.slice(n)),s>n&&d(t))}c.push(i)}return f(c)}function y(t,i){var s=i.length>0,r=t.length>0,o=function(n,o,a,l,u){var c,h,d,p=0,f="0",m=n&&[],v=[],_=D,y=n||r&&x.find.TAG("*",u),b=B+=null==_?1:Math.random()||.1,w=y.length;for(u&&(D=o!==A&&o);f!==w&&null!=(c=y[f]);f++){if(r&&c){for(h=0;d=t[h++];)if(d(c,o,a)){l.push(c);break}u&&(B=b)}s&&((c=!d&&c)&&p--,n&&m.push(c))}if(p+=f,s&&f!==p){for(h=0;d=i[h++];)d(m,v,o,a);if(n){if(p>0)for(;f--;)m[f]||v[f]||(v[f]=Z.call(l));v=g(v)}tt.apply(l,v),u&&!n&&v.length>0&&p+i.length>1&&e.uniqueSort(l)}return u&&(B=b,D=_),m};return s?n(o):o}var b,w,x,S,T,C,k,P,D,j,I,E,A,M,L,R,F,N,O,z="sizzle"+-new Date,H=t.document,B=0,W=0,q=i(),U=i(),V=i(),X=function(t,e){return t===e&&(I=!0),0},Y="undefined",Q=1<<31,G={}.hasOwnProperty,J=[],Z=J.pop,K=J.push,tt=J.push,et=J.slice,it=J.indexOf||function(t){for(var e=0,i=this.length;i>e;e++)if(this[e]===t)return e;return-1},nt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",st="[\\x20\\t\\r\\n\\f]",rt="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ot=rt.replace("w","w#"),at="\\["+st+"*("+rt+")(?:"+st+"*([*^$|!~]?=)"+st+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ot+"))|)"+st+"*\\]",lt=":("+rt+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+at+")*)|.*)\\)|)",ut=new RegExp("^"+st+"+|((?:^|[^\\\\])(?:\\\\.)*)"+st+"+$","g"),ct=new RegExp("^"+st+"*,"+st+"*"),ht=new RegExp("^"+st+"*([>+~]|"+st+")"+st+"*"),dt=new RegExp("="+st+"*([^\\]'\"]*?)"+st+"*\\]","g"),pt=new RegExp(lt),ft=new RegExp("^"+ot+"$"),mt={ID:new RegExp("^#("+rt+")"),CLASS:new RegExp("^\\.("+rt+")"),TAG:new RegExp("^("+rt.replace("w","w*")+")"),ATTR:new RegExp("^"+at),PSEUDO:new RegExp("^"+lt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+st+"*(even|odd|(([+-]|)(\\d*)n|)"+st+"*(?:([+-]|)"+st+"*(\\d+)|))"+st+"*\\)|)","i"),bool:new RegExp("^(?:"+nt+")$","i"),needsContext:new RegExp("^"+st+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+st+"*((?:-\\d)?\\d*)"+st+"*\\)|)(?=[^-]|$)","i")}
vendor: 5,225 bytes, lines 1-2
1,gt=/^(?:input|select|textarea|button)$/i,vt=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_t=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yt=/[+~]/,bt=/'|\\/g,wt=new RegExp("\\\\([\\da-f]{1,6}"+st+"?|("+st+")|.)","ig"),xt=function(t,e,i){var n="0x"+e-65536;return n!==n||i?e:0>n?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)};try{tt.apply(J=et.call(H.childNodes),H.childNodes),J[H.childNodes.length].nodeType}catch(t){tt={apply:J.length?function(t,e){K.apply(t,et.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}w=e.support={},T=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},E=e.setDocument=function(t){var e,i=t?t.ownerDocument||t:H,n=i.defaultView;return i!==A&&9===i.nodeType&&i.documentElement?(A=i,M=i.documentElement,L=!T(i),n&&n!==n.top&&(n.addEventListener?n.addEventListener("unload",function(){E()},!1):n.attachEvent&&n.attachEvent("onunload",function(){
2E()})),w.attributes=s(function(t){return t.className="i",!t.getAttribute("className")}),w.getElementsByTagName=s(function(t){return t.appendChild(i.createComment("")),!t.getElementsByTagName("*").length}),w.getElementsByClassName=$.test(i.getElementsByClassName)&&s(function(t){return t.innerHTML="<div class='a'></div><div class='a i'></div>",t.firstChild.className="i",2===t.getElementsByClassName("i").length}),w.getById=s(function(t){return M.appendChild(t).id=z,!i.getElementsByName||!i.getElementsByName(z).length}),w.getById?(x.find.ID=function(t,e){if(typeof e.getElementById!==Y&&L){var i=e.getElementById(t);return i&&i.parentNode?[i]:[]}},x.filter.ID=function(t){var e=t.replace(wt,xt);return function(t){return t.getAttribute("id")===e}}):(delete x.find.ID,x.filter.ID=function(t){var e=t.replace(wt,xt);return function(t){var i=typeof t.getAttributeNode!==Y&&t.getAttributeNode("id");return i&&i.value===e}}),x.find.TAG=w.getElementsByTagName?function(t,e){return typeof e.getElementsByTagName!==Y?e.getElementsByTagName(t):void 0}:function(t,e){var i,n=[],s=0,r=e.getElementsByTagName(t);if("*"===t){for(;i=r[s++];)1===i.nodeType&&n.push(i);return n}return r},x.find.CLASS=w.getElementsByClassName&&function(t,e){return typeof e.getElementsByClassName!==Y&&L?e.getElementsByClassName(t):void 0},F=[],R=[],(w.qsa=$.test(i.querySelectorAll))&&(s(function(t){t.innerHTML="<select msallowclip=''><option selected=''></option></select>",t.querySelectorAll("[msallowclip^='']").length&&R.push("[*^$]="+st+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||R.push("\\["+st+"*(?:value|"+nt+")"),t.querySelectorAll(":checked").length||R.push(":checked")}),s(function(t){var e=i.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&R.push("name"+st+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||R.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),R.push(",.*:")})),(w.matchesSelector=$.test(N=M.matches||M.webkitMatchesSelector||M.mozMatchesSelector||M.oMatchesSelector||M.msMatchesSelector))&&s(function(t){w.disconnectedMatch=N.call(t,"div"),N.call(t,"[s!='']:x"),F.push("!=",lt)}),R=R.length&&new RegExp(R.join("|")),F=F.length&&new RegExp(F.join("|")),e=$.test(M.compareDocumentPosition),O=e||$.test(M.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},X=e?function(t,e){if(t===e)return I=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!w.sortDetached&&e.compareDocumentPosition(t)===n?t===i||t.ownerDocument===H&&O(H,t)?-1:e===i||e.ownerDocument===H&&O(H,e)?1:j?it.call(j,t)-it.call(j,e):0:4&n?-1:1)}:function(t,e){if(t===e)return I=!0,0;var n,s=0,r=t.parentNode,a=e.parentNode,l=[t],u=[e];if(!r||!a)return t===i?-1:e===i?1:r?-1:a?1:j?it.call(j,t)-it.call(j,e):0;if(r===a)return o(t,e);for(n=t;n=n.parentNode;)l.unshift(n);for(n=e;n=n.parentNode;)u.unshift(n);for(;l[s]===u[s];)s++;return s?o(l[s],u[s]):l[s]===H?-1:u[s]===H?1:0},i):A},e.matches=function(t,i){return e(t,null,null,i)},e.matchesSelector=function(t,i){if((t.ownerDocument||t)!==A&&E(t),i=i.replace(dt,"='$1']"),!(!w.matchesSelector||!L||F&&F.test(i)||R&&R.test(i)))try{var n=N.call(t,i);if(n||w.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return e(i,A,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==A&&E(t),O(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==A&&E(t);var i=x.attrHandle[e.toLowerCase()],n=i&&G.call(x.attrHandle,e.toLowerCase())?i(t,e,!L):void 0;return void 0!==n?n:w.attributes||!L?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,i=[],n=0,s=0;if(I=!w.detectDuplicates,j=!w.sortStable&&t.slice(0),t.sort(X),I){for(;e=t[s++];)e===t[s]&&(n=i.push(s));for(;n--;)t.splice(i[n],1)}return j=null,t},S=e.getText=function(t){var e,i="",n=0,s=t.nodeType;
vendor: 4,177 bytes, line 2
2if(s){if(1===s||9===s||11===s){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=S(t)}else if(3===s||4===s)return t.nodeValue}else for(;e=t[n++];)i+=S(e);return i},x=e.selectors={cacheLength:50,createPseudo:n,match:mt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(wt,xt),t[3]=(t[3]||t[4]||t[5]||"").replace(wt,xt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return mt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&pt.test(i)&&(e=C(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(wt,xt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=q[t+" "];return e||(e=new RegExp("(^|"+st+")"+t+"("+st+"|$)"))&&q(t,function(t){return e.test("string"==typeof t.className&&t.className||typeof t.getAttribute!==Y&&t.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(s){var r=e.attr(s,t);return null==r?"!="===i:!i||(r+="","="===i?r===n:"!="===i?r!==n:"^="===i?n&&0===r.indexOf(n):"*="===i?n&&r.indexOf(n)>-1:"$="===i?n&&r.slice(-n.length)===n:"~="===i?(" "+r+" ").indexOf(n)>-1:"|="===i&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,i,n,s){var r="nth"!==t.slice(0,3),o="last"!==t.slice(-4),a="of-type"===e;return 1===n&&0===s?function(t){return!!t.parentNode}:function(e,i,l){var u,c,h,d,p,f,m=r!==o?"nextSibling":"previousSibling",g=e.parentNode,v=a&&e.nodeName.toLowerCase(),_=!l&&!a;if(g){if(r){for(;m;){for(h=e;h=h[m];)if(a?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;f=m="only"===t&&!f&&"nextSibling"}return!0}if(f=[o?g.firstChild:g.lastChild],o&&_){for(c=g[z]||(g[z]={}),u=c[t]||[],p=u[0]===B&&u[1],d=u[0]===B&&u[2],h=p&&g.childNodes[p];h=++p&&h&&h[m]||(d=p=0)||f.pop();)if(1===h.nodeType&&++d&&h===e){c[t]=[B,p,d];break}}else if(_&&(u=(e[z]||(e[z]={}))[t])&&u[0]===B)d=u[1];else for(;(h=++p&&h&&h[m]||(d=p=0)||f.pop())&&((a?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++d||(_&&((h[z]||(h[z]={}))[t]=[B,d]),h!==e)););return(d-=s)===n||d%n==0&&d/n>=0}}},PSEUDO:function(t,i){var s,r=x.pseudos[t]||x.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return r[z]?r(i):r.length>1?(s=[t,t,"",i],x.setFilters.hasOwnProperty(t.toLowerCase())?n(function(t,e){for(var n,s=r(t,i),o=s.length;o--;)n=it.call(t,s[o]),t[n]=!(e[n]=s[o])}):function(t){return r(t,0,s)}):r}},pseudos:{not:n(function(t){var e=[],i=[],s=k(t.replace(ut,"$1"));return s[z]?n(function(t,e,i,n){for(var r,o=s(t,null,n,[]),a=t.length;a--;)(r=o[a])&&(t[a]=!(e[a]=r))}):function(t,n,r){return e[0]=t,s(e,null,r,i),!i.pop()}}),has:n(function(t){return function(i){return e(t,i).length>0}}),contains:n(function(t){return function(e){return(e.textContent||e.innerText||S(e)).indexOf(t)>-1}}),lang:n(function(t){return ft.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(wt,xt).toLowerCase(),function(e){var i;do{if(i=L?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(i=i.toLowerCase())===t||0===i.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===M},focus:function(t){return t===A.activeElement&&(!A.hasFocus||A.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!x.pseudos.empty(t)}
vendor: 13,659 bytes, line 2
2,header:function(t){return vt.test(t.nodeName)},input:function(t){return gt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:u(function(){return[0]}),last:u(function(t,e){return[e-1]}),eq:u(function(t,e,i){return[0>i?i+e:i]}),even:u(function(t,e){for(var i=0;e>i;i+=2)t.push(i);return t}),odd:u(function(t,e){for(var i=1;e>i;i+=2)t.push(i);return t}),lt:u(function(t,e,i){for(var n=0>i?i+e:i;--n>=0;)t.push(n);return t}),gt:u(function(t,e,i){for(var n=0>i?i+e:i;++n<e;)t.push(n);return t})}},x.pseudos.nth=x.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[b]=a(b);for(b in{submit:!0,reset:!0})x.pseudos[b]=l(b);return h.prototype=x.filters=x.pseudos,x.setFilters=new h,C=e.tokenize=function(t,i){var n,s,r,o,a,l,u,c=U[t+" "];if(c)return i?0:c.slice(0);for(a=t,l=[],u=x.preFilter;a;){(!n||(s=ct.exec(a)))&&(s&&(a=a.slice(s[0].length)||a),l.push(r=[])),n=!1,(s=ht.exec(a))&&(n=s.shift(),r.push({value:n,type:s[0].replace(ut," ")}),a=a.slice(n.length));for(o in x.filter)!(s=mt[o].exec(a))||u[o]&&!(s=u[o](s))||(n=s.shift(),r.push({value:n,type:o,matches:s}),a=a.slice(n.length));if(!n)break}return i?a.length:a?e.error(t):U(t,l).slice(0)},k=e.compile=function(t,e){var i,n=[],s=[],r=V[t+" "];if(!r){for(e||(e=C(t)),i=e.length;i--;)r=_(e[i]),r[z]?n.push(r):s.push(r);r=V(t,y(s,n)),r.selector=t}return r},P=e.select=function(t,e,i,n){var s,r,o,a,l,u="function"==typeof t&&t,h=!n&&C(t=u.selector||t);if(i=i||[],1===h.length){if(r=h[0]=h[0].slice(0),r.length>2&&"ID"===(o=r[0]).type&&w.getById&&9===e.nodeType&&L&&x.relative[r[1].type]){if(!(e=(x.find.ID(o.matches[0].replace(wt,xt),e)||[])[0]))return i;u&&(e=e.parentNode),t=t.slice(r.shift().value.length)}for(s=mt.needsContext.test(t)?0:r.length;s--&&(o=r[s],!x.relative[a=o.type]);)if((l=x.find[a])&&(n=l(o.matches[0].replace(wt,xt),yt.test(r[0].type)&&c(e.parentNode)||e))){if(r.splice(s,1),!(t=n.length&&d(r)))return tt.apply(i,n),i;break}}return(u||k(t,h))(n,e,!L,i,yt.test(t)&&c(e.parentNode)||e),i},w.sortStable=z.split("").sort(X).join("")===z,w.detectDuplicates=!!I,E(),w.sortDetached=s(function(t){return 1&t.compareDocumentPosition(A.createElement("div"))}),s(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||r("type|href|height|width",function(t,e,i){return i?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),w.attributes&&s(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||r("value",function(t,e,i){return i||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),s(function(t){return null==t.getAttribute("disabled")})||r(nt,function(t,e,i){var n;return i?void 0:!0===t[e]?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null}),e}(t);rt.find=ct,rt.expr=ct.selectors,rt.expr[":"]=rt.expr.pseudos,rt.unique=ct.uniqueSort,rt.text=ct.getText,rt.isXMLDoc=ct.isXML,rt.contains=ct.contains;var ht=rt.expr.match.needsContext,dt=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,pt=/^.[^:#\[\.,]*$/;rt.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?rt.find.matchesSelector(n,t)?[n]:[]:rt.find.matches(t,rt.grep(e,function(t){return 1===t.nodeType}))},rt.fn.extend({find:function(t){var e,i=[],n=this,s=n.length;if("string"!=typeof t)return this.pushStack(rt(t).filter(function(){for(e=0;s>e;e++)if(rt.contains(n[e],this))return!0}));for(e=0;s>e;e++)rt.find(t,n[e],i);return i=this.pushStack(s>1?rt.unique(i):i),i.selector=this.selector?this.selector+" "+t:t,i},filter:function(t){return this.pushStack(n(this,t||[],!1))},not:function(t){return this.pushStack(n(this,t||[],!0))},is:function(t){return!!n(this,"string"==typeof t&&ht.test(t)?rt(t):t||[],!1).length}});var ft,mt=t.document,gt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(rt.fn.init=function(t,e){var i,n;if(!t)return this;if("string"==typeof t){if(!(i="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:gt.exec(t))||!i[1]&&e)return!e||e.jquery?(e||ft).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof rt?e[0]:e,rt.merge(this,rt.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:mt,!0)),dt.test(i[1])&&rt.isPlainObject(e))for(i in e)rt.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}if((n=mt.getElementById(i[2]))&&n.parentNode){if(n.id!==i[2])return ft.find(t);this.length=1,this[0]=n}return this.context=mt,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):rt.isFunction(t)?void 0!==ft.ready?ft.ready(t):t(rt):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),rt.makeArray(t,this))}).prototype=rt.fn,ft=rt(mt);var vt=/^(?:parents|prev(?:Until|All))/,_t={children:!0,contents:!0,next:!0,prev:!0};rt.extend({dir:function(t,e,i){for(var n=[],s=t[e];s&&9!==s.nodeType&&(void 0===i||1!==s.nodeType||!rt(s).is(i));)1===s.nodeType&&n.push(s),s=s[e];return n},sibling:function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}}),rt.fn.extend({has:function(t){var e,i=rt(t,this),n=i.length;return this.filter(function(){for(e=0;n>e;e++)if(rt.contains(this,i[e]))return!0})},closest:function(t,e){for(var i,n=0,s=this.length,r=[],o=ht.test(t)||"string"!=typeof t?rt(t,e||this.context):0;s>n;n++)for(i=this[n];i&&i!==e;i=i.parentNode)if(i.nodeType<11&&(o?o.index(i)>-1:1===i.nodeType&&rt.find.matchesSelector(i,t))){r.push(i);break}return this.pushStack(r.length>1?rt.unique(r):r)},index:function(t){return t?"string"==typeof t?rt.inArray(this[0],rt(t)):rt.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(rt.unique(rt.merge(this.get(),rt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),rt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return rt.dir(t,"parentNode")},parentsUntil:function(t,e,i){return rt.dir(t,"parentNode",i)},next:function(t){return s(t,"nextSibling")},prev:function(t){return s(t,"previousSibling")},nextAll:function(t){return rt.dir(t,"nextSibling")},prevAll:function(t){return rt.dir(t,"previousSibling")},nextUntil:function(t,e,i){return rt.dir(t,"nextSibling",i)},prevUntil:function(t,e,i){return rt.dir(t,"previousSibling",i)},siblings:function(t){return rt.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return rt.sibling(t.firstChild)},contents:function(t){return rt.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:rt.merge([],t.childNodes)}},function(t,e){rt.fn[t]=function(i,n){var s=rt.map(this,e,i);return"Until"!==t.slice(-5)&&(n=i),n&&"string"==typeof n&&(s=rt.filter(n,s)),this.length>1&&(_t[t]||(s=rt.unique(s)),vt.test(t)&&(s=s.reverse())),this.pushStack(s)}});var yt=/\S+/g,bt={};rt.Callbacks=function(t){t="string"==typeof t?bt[t]||r(t):rt.extend({},t);var e,i,n,s,o,a,l=[],u=!t.once&&[],c=function(r){for(i=t.memory&&r,n=!0,o=a||0,a=0,s=l.length,e=!0;l&&s>o;o++)if(!1===l[o].apply(r[0],r[1])&&t.stopOnFalse){i=!1;break}e=!1,l&&(u?u.length&&c(u.shift()):i?l=[]:h.disable())},h={add:function(){if(l){var n=l.length;!function e(i){rt.each(i,function(i,n){var s=rt.type(n);"function"===s?t.unique&&h.has(n)||l.push(n):n&&n.length&&"string"!==s&&e(n)})}(arguments),e?s=l.length:i&&(a=n,c(i))}return this},remove:function(){return l&&rt.each(arguments,function(t,i){for(var n;(n=rt.inArray(i,l,n))>-1;)l.splice(n,1),e&&(s>=n&&s--,o>=n&&o--)}),this},has:function(t){return t?rt.inArray(t,l)>-1:!(!l||!l.length)},empty:function(){return l=[],s=0,this},disable:function(){return l=u=i=void 0,this},disabled:function(){return!l},lock:function(){return u=void 0,i||h.disable(),this},locked:function(){return!u},fireWith:function(t,i){return!l||n&&!u||(i=i||[],i=[t,i.slice?i.slice():i],e?u.push(i):c(i)),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!n}};return h},rt.extend({Deferred:function(t){var e=[["resolve","done",rt.Callbacks("once memory"),"resolved"],["reject","fail",rt.Callbacks("once memory"),"rejected"],["notify","progress",rt.Callbacks("memory")]],i="pending",n={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},then:function(){var t=arguments;return rt.Deferred(function(i){rt.each(e,function(e,r){var o=rt.isFunction(t[e])&&t[e];s[r[1]](function(){var t=o&&o.apply(this,arguments);t&&rt.isFunction(t.promise)?t.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[r[0]+"With"](this===n?i.promise():this,o?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?rt.extend(t,n):n}},s={};return n.pipe=n.then,rt.each(e,function(t,r){var o=r[2],a=r[3];n[r[1]]=o.add,a&&o.add(function(){i=a},e[1^t][2].disable,e[2][2].lock),s[r[0]]=function(){return s[r[0]+"With"](this===s?n:this,arguments),this},s[r[0]+"With"]=o.fireWith}),n.promise(s),t&&t.call(s,s),s},when:function(t){var e=0,i=G.call(arguments),n=i.length,s=1!==n||t&&rt.isFunction(t.promise)?n:0,r=1===s?t:rt.Deferred(),o=function(t,e,i){return function(n){e[t]=this,i[t]=arguments.length>1?G.call(arguments):n,i===a?r.notifyWith(e,i):--s||r.resolveWith(e,i)}},a,l,u;if(n>1)for(a=new Array(n),l=new Array(n),u=new Array(n);n>e;e++)i[e]&&rt.isFunction(i[e].promise)?i[e].promise().done(o(e,u,i)).fail(r.reject).progress(o(e,l,a)):--s;return s||r.resolveWith(u,i),r.promise()}});var wt;rt.fn.ready=function(t){return rt.ready.promise().done(t),this},rt.extend({isReady:!1,readyWait:1,holdReady:function(t){t?rt.readyWait++:rt.ready(!0)},ready:function(t){if(!0===t?!--rt.readyWait:!rt.isReady){if(!mt.body)return setTimeout(rt.ready);rt.isReady=!0,!0!==t&&--rt.readyWait>0||(wt.resolveWith(mt,[rt]),rt.fn.triggerHandler&&(rt(mt).triggerHandler("ready"),rt(mt).off("ready")))}}}),rt.ready.promise=function(e){if(!wt)if(wt=rt.Deferred(),"complete"===mt.readyState)setTimeout(rt.ready);else if(mt.addEventListener)mt.addEventListener("DOMContentLoaded",a,!1),t.addEventListener("load",a,!1);else{mt.attachEvent("onreadystatechange",a),t.attachEvent("onload",a);var i=!1;try{i=null==t.frameElement&&mt.documentElement}catch(t){}i&&i.doScroll&&function t(){if(!rt.isReady){try{i.doScroll("left")}catch(e){return setTimeout(t,50)}o(),rt.ready()}}()}return wt.promise(e)};var xt="undefined",St;for(St in rt(nt))break;nt.ownLast="0"!==St,nt.inlineBlockNeedsLayout=!1,rt(function(){var t,e,i,n;(i=mt.getElementsByTagName("body")[0])&&i.style&&(e=mt.createElement("div"),n=mt.createElement("div"),n.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",i.appendChild(n).appendChild(e),typeof e.style.zoom!==xt&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",nt.inlineBlockNeedsLayout=t=3===e.offsetWidth,t&&(i.style.zoom=1)),i.removeChild(n))}),function(){var t=mt.createElement("div");if(null==nt.deleteExpando){nt.deleteExpando=!0;try{delete t.test}catch(t){nt.deleteExpando=!1}}t=null}(),rt.acceptData=function(t){var e=rt.noData[(t.nodeName+" ").toLowerCase()],i=+t.nodeType||1;return(1===i||9===i)&&(!e||!0!==e&&t.getAttribute("classid")===e)};var Tt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ct=/([A-Z])/g;rt.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return!!(t=t.nodeType?rt.cache[t[rt.expando]]:t[rt.expando])&&!u(t)},data:function(t,e,i){return c(t,e,i)},removeData:function(t,e){return h(t,e)},_data:function(t,e,i){return c(t,e,i,!0)},_removeData:function(t,e){return h(t,e,!0)}}),rt.fn.extend({data:function(t,e){var i,n,s,r=this[0],o=r&&r.attributes;if(void 0===t){if(this.length&&(s=rt.data(r),1===r.nodeType&&!rt._data(r,"parsedAttrs"))){for(i=o.length;i--;)o[i]&&(n=o[i].name,0===n.indexOf("data-")&&(n=rt.camelCase(n.slice(5)),l(r,n,s[n])));rt._data(r,"parsedAttrs",!0)}return s}return"object"==typeof t?this.each(function(){rt.data(this,t)}):arguments.length>1?this.each(function(){rt.data(this,t,e)}):r?l(r,t,rt.data(r,t)):void 0},removeData:function(t){return this.each(function(){rt.removeData(this,t)})}}),rt.extend({queue:function(t,e,i){var n;return t?(e=(e||"fx")+"queue",n=rt._data(t,e),i&&(!n||rt.isArray(i)?n=rt._data(t,e,rt.makeArray(i)):n.push(i)),n||[]):void 0},dequeue:function(t,e){e=e||"fx";var i=rt.queue(t,e),n=i.length,s=i.shift(),r=rt._queueHooks(t,e),o=function(){rt.dequeue(t,e)};"inprogress"===s&&(s=i.shift(),n--),s&&("fx"===e&&i.unshift("inprogress"),delete r.stop,s.call(t,o,r)),!n&&r&&r.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return rt._data(t,i)||rt._data(t,i,{empty:rt.Callbacks("once memory").add(function(){rt._removeData(t,e+"queue"),rt._removeData(t,i)})})}}),rt.fn.extend({queue:function(t,e){var i=2;return"string"!=typeof t&&(e=t,t="fx",i--),arguments.length<i?rt.queue(this[0],t):void 0===e?this:this.each(function(){var i=rt.queue(this,t,e);rt._queueHooks(this,t),"fx"===t&&"inprogress"!==i[0]&&rt.dequeue(this,t)})},dequeue:function(t){return this.each(function(){rt.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var i,n=1,s=rt.Deferred(),r=this,o=this.length,a=function(){--n||s.resolveWith(r,[r])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";o--;)(i=rt._data(r[o],t+"queueHooks"))&&i.empty&&(n++,i.empty.add(a));return a(),s.promise(e)}});var kt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Pt=["Top","Right","Bottom","Left"],Dt=function(t,e){return t=e||t,"none"===rt.css(t,"display")||!rt.contains(t.ownerDocument,t)}
vendor: 6,486 bytes, line 2
2,jt=rt.access=function(t,e,i,n,s,r,o){var a=0,l=t.length,u=null==i;if("object"===rt.type(i)){s=!0;for(a in i)rt.access(t,e,a,i[a],!0,r,o)}else if(void 0!==n&&(s=!0,rt.isFunction(n)||(o=!0),u&&(o?(e.call(t,n),e=null):(u=e,e=function(t,e,i){return u.call(rt(t),i)})),e))for(;l>a;a++)e(t[a],i,o?n:n.call(t[a],a,e(t[a],i)));return s?t:u?e.call(t):l?e(t[0],i):r},It=/^(?:checkbox|radio)$/i;!function(){var t=mt.createElement("input"),e=mt.createElement("div"),i=mt.createDocumentFragment();if(e.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",nt.leadingWhitespace=3===e.firstChild.nodeType,nt.tbody=!e.getElementsByTagName("tbody").length,nt.htmlSerialize=!!e.getElementsByTagName("link").length,nt.html5Clone="<:nav></:nav>"!==mt.createElement("nav").cloneNode(!0).outerHTML,t.type="checkbox",t.checked=!0,i.appendChild(t),nt.appendChecked=t.checked,e.innerHTML="<textarea>x</textarea>",nt.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,i.appendChild(e),e.innerHTML="<input type='radio' checked='checked' name='t'/>",nt.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,nt.noCloneEvent=!0,e.attachEvent&&(e.attachEvent("onclick",function(){nt.noCloneEvent=!1}),e.cloneNode(!0).click()),null==nt.deleteExpando){nt.deleteExpando=!0;try{delete e.test}catch(t){nt.deleteExpando=!1}}}(),function(){var e,i,n=mt.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})i="on"+e,(nt[e+"Bubbles"]=i in t)||(n.setAttribute(i,"t"),nt[e+"Bubbles"]=!1===n.attributes[i].expando);n=null}();var Et=/^(?:input|select|textarea)$/i,At=/^key/,Mt=/^(?:mouse|pointer|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,Lt=/^([^.]*)(?:\.(.+)|)$/;rt.event={global:{},add:function(t,e,i,n,s){var r,o,a,l,u,c,h,d,p,f,m,g=rt._data(t);if(g){for(i.handler&&(l=i,i=l.handler,s=l.selector),i.guid||(i.guid=rt.guid++),(o=g.events)||(o=g.events={}),(c=g.handle)||(c=g.handle=function(t){return typeof rt===xt||t&&rt.event.triggered===t.type?void 0:rt.event.dispatch.apply(c.elem,arguments)},c.elem=t),e=(e||"").match(yt)||[""],a=e.length;a--;)r=Lt.exec(e[a])||[],p=m=r[1],f=(r[2]||"").split(".").sort(),p&&(u=rt.event.special[p]||{},p=(s?u.delegateType:u.bindType)||p,u=rt.event.special[p]||{},h=rt.extend({type:p,origType:m,data:n,handler:i,guid:i.guid,selector:s,needsContext:s&&rt.expr.match.needsContext.test(s),namespace:f.join(".")},l),(d=o[p])||(d=o[p]=[],d.delegateCount=0,u.setup&&!1!==u.setup.call(t,n,f,c)||(t.addEventListener?t.addEventListener(p,c,!1):t.attachEvent&&t.attachEvent("on"+p,c))),u.add&&(u.add.call(t,h),h.handler.guid||(h.handler.guid=i.guid)),s?d.splice(d.delegateCount++,0,h):d.push(h),rt.event.global[p]=!0);t=null}},remove:function(t,e,i,n,s){var r,o,a,l,u,c,h,d,p,f,m,g=rt.hasData(t)&&rt._data(t);if(g&&(c=g.events)){for(e=(e||"").match(yt)||[""],u=e.length;u--;)if(a=Lt.exec(e[u])||[],p=m=a[1],f=(a[2]||"").split(".").sort(),p){for(h=rt.event.special[p]||{},p=(n?h.delegateType:h.bindType)||p,d=c[p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=r=d.length;r--;)o=d[r],!s&&m!==o.origType||i&&i.guid!==o.guid||a&&!a.test(o.namespace)||n&&n!==o.selector&&("**"!==n||!o.selector)||(d.splice(r,1),o.selector&&d.delegateCount--,h.remove&&h.remove.call(t,o));l&&!d.length&&(h.teardown&&!1!==h.teardown.call(t,f,g.handle)||rt.removeEvent(t,p,g.handle),delete c[p])}else for(p in c)rt.event.remove(t,p+e[u],i,n,!0);rt.isEmptyObject(c)&&(delete g.handle,rt._removeData(t,"events"))}},trigger:function(e,i,n,s){var r,o,a,l,u,c,h,d=[n||mt],p=it.call(e,"type")?e.type:e,f=it.call(e,"namespace")?e.namespace.split("."):[];if(a=c=n=n||mt,3!==n.nodeType&&8!==n.nodeType&&!$.test(p+rt.event.triggered)&&(p.indexOf(".")>=0&&(f=p.split("."),p=f.shift(),f.sort()),o=p.indexOf(":")<0&&"on"+p,e=e[rt.expando]?e:new rt.Event(p,"object"==typeof e&&e),e.isTrigger=s?2:3,e.namespace=f.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),i=null==i?[e]:rt.makeArray(i,[e]),u=rt.event.special[p]||{},s||!u.trigger||!1!==u.trigger.apply(n,i))){if(!s&&!u.noBubble&&!rt.isWindow(n)){for(l=u.delegateType||p,$.test(l+p)||(a=a.parentNode);a;a=a.parentNode)d.push(a),c=a;c===(n.ownerDocument||mt)&&d.push(c.defaultView||c.parentWindow||t)}for(h=0;(a=d[h++])&&!e.isPropagationStopped();)e.type=h>1?l:u.bindType||p,r=(rt._data(a,"events")||{})[e.type]&&rt._data(a,"handle"),r&&r.apply(a,i),(r=o&&a[o])&&r.apply&&rt.acceptData(a)&&(e.result=r.apply(a,i),!1===e.result&&e.preventDefault());if(e.type=p,!s&&!e.isDefaultPrevented()&&(!u._default||!1===u._default.apply(d.pop(),i))&&rt.acceptData(n)&&o&&n[p]&&!rt.isWindow(n)){c=n[o],c&&(n[o]=null),rt.event.triggered=p;try{n[p]()}catch(t){}rt.event.triggered=void 0,c&&(n[o]=c)}return e.result}},dispatch:function(t){t=rt.event.fix(t);var e,i,n,s,r,o=[],a=G.call(arguments),l=(rt._data(this,"events")||{})[t.type]||[],u=rt.event.special[t.type]||{};if(a[0]=t,t.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,t)){for(o=rt.event.handlers.call(this,t,l),e=0;(s=o[e++])&&!t.isPropagationStopped();)for(t.currentTarget=s.elem,r=0;(n=s.handlers[r++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(n.namespace))&&(t.handleObj=n,t.data=n.data,void 0!==(i=((rt.event.special[n.origType]||{}).handle||n.handler).apply(s.elem,a))&&!1===(t.result=i)&&(t.preventDefault(),t.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,t),t.result}},handlers:function(t,e){var i,n,s,r,o=[],a=e.delegateCount,l=t.target;if(a&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==t.type)){for(s=[],r=0;a>r;r++)n=e[r],i=n.selector+" ",void 0===s[i]&&(s[i]=n.needsContext?rt(i,this).index(l)>=0:rt.find(i,this,null,[l]).length),s[i]&&s.push(n);s.length&&o.push({elem:l,handlers:s})}return a<e.length&&o.push({elem:this,handlers:e.slice(a)}),o},fix:function(t){if(t[rt.expando])return t;var e,i,n,s=t.type,r=t,o=this.fixHooks[s];for(o||(this.fixHooks[s]=o=Mt.test(s)?this.mouseHooks:At.test(s)?this.keyHooks:{}),n=o.props?this.props.concat(o.props):this.props,t=new rt.Event(r),e=n.length;e--;)i=n[e],t[i]=r[i];return t.target||(t.target=r.srcElement||mt),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,o.filter?o.filter(t,r):t},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{}
vendor: 12,058 bytes, lines 2-3
2,keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var i,n,s,r=e.button,o=e.fromElement;return null==t.pageX&&null!=e.clientX&&(n=t.target.ownerDocument||mt,s=n.documentElement,i=n.body,t.pageX=e.clientX+(s&&s.scrollLeft||i&&i.scrollLeft||0)-(s&&s.clientLeft||i&&i.clientLeft||0),t.pageY=e.clientY+(s&&s.scrollTop||i&&i.scrollTop||0)-(s&&s.clientTop||i&&i.clientTop||0)),!t.relatedTarget&&o&&(t.relatedTarget=o===t.target?e.toElement:o),t.which||void 0===r||(t.which=1&r?1:2&r?3:4&r?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==f()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){return this===f()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return rt.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(t){return rt.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,i,n){var s=rt.extend(new rt.Event,i,{type:t,isSimulated:!0,originalEvent:{}});n?rt.event.trigger(s,null,e):rt.event.dispatch.call(e,s),s.isDefaultPrevented()&&i.preventDefault()}},rt.removeEvent=mt.removeEventListener?function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i,!1)}:function(t,e,i){var n="on"+e;t.detachEvent&&(typeof t[n]===xt&&(t[n]=null),t.detachEvent(n,i))},rt.Event=function(t,e){return this instanceof rt.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?d:p):this.type=t,e&&rt.extend(this,e),this.timeStamp=t&&t.timeStamp||rt.now(),void(this[rt.expando]=!0)):new rt.Event(t,e)},rt.Event.prototype={isDefaultPrevented:p,isPropagationStopped:p,isImmediatePropagationStopped:p,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=d,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=d,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=d,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}},rt.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){rt.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,n=this,s=t.relatedTarget,r=t.handleObj;return(!s||s!==n&&!rt.contains(n,s))&&(t.type=r.origType,i=r.handler.apply(this,arguments),t.type=e),i}}}),nt.submitBubbles||(rt.event.special.submit={setup:function(){return!rt.nodeName(this,"form")&&void rt.event.add(this,"click._submit keypress._submit",function(t){var e=t.target,i=rt.nodeName(e,"input")||rt.nodeName(e,"button")?e.form:void 0;i&&!rt._data(i,"submitBubbles")&&(rt.event.add(i,"submit._submit",function(t){t._submit_bubble=!0}),rt._data(i,"submitBubbles",!0))})},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,
3this.parentNode&&!t.isTrigger&&rt.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){return!rt.nodeName(this,"form")&&void rt.event.remove(this,"._submit")}}),nt.changeBubbles||(rt.event.special.change={setup:function(){return Et.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(rt.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),rt.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),rt.event.simulate("change",this,t,!0)})),!1):void rt.event.add(this,"beforeactivate._change",function(t){var e=t.target;Et.test(e.nodeName)&&!rt._data(e,"changeBubbles")&&(rt.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||rt.event.simulate("change",this.parentNode,t,!0)}),rt._data(e,"changeBubbles",!0))})},handle:function(t){var e=t.target;return this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type?t.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return rt.event.remove(this,"._change"),!Et.test(this.nodeName)}}),nt.focusinBubbles||rt.each({focus:"focusin",blur:"focusout"},function(t,e){var i=function(t){rt.event.simulate(e,t.target,rt.event.fix(t),!0)};rt.event.special[e]={setup:function(){var n=this.ownerDocument||this,s=rt._data(n,e);s||n.addEventListener(t,i,!0),rt._data(n,e,(s||0)+1)},teardown:function(){var n=this.ownerDocument||this,s=rt._data(n,e)-1;s?rt._data(n,e,s):(n.removeEventListener(t,i,!0),rt._removeData(n,e))}}}),rt.fn.extend({on:function(t,e,i,n,s){var r,o;if("object"==typeof t){"string"!=typeof e&&(i=i||e,e=void 0);for(r in t)this.on(r,e,i,t[r],s);return this}if(null==i&&null==n?(n=e,i=e=void 0):null==n&&("string"==typeof e?(n=i,i=void 0):(n=i,i=e,e=void 0)),!1===n)n=p;else if(!n)return this;return 1===s&&(o=n,n=function(t){return rt().off(t),o.apply(this,arguments)},n.guid=o.guid||(o.guid=rt.guid++)),this.each(function(){rt.event.add(this,t,n,i,e)})},one:function(t,e,i,n){return this.on(t,e,i,n,1)},off:function(t,e,i){var n,s;if(t&&t.preventDefault&&t.handleObj)return n=t.handleObj,rt(t.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof t){for(s in t)this.off(s,e,t[s]);return this}return(!1===e||"function"==typeof e)&&(i=e,e=void 0),!1===i&&(i=p),this.each(function(){rt.event.remove(this,t,i,e)})},trigger:function(t,e){return this.each(function(){rt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];return i?rt.event.trigger(t,e,i,!0):void 0}});var Rt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Ft=/ jQuery\d+="(?:null|\d+)"/g,Nt=new RegExp("<(?:"+Rt+")[\\s/>]","i"),Ot=/^\s+/,zt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,$t=/<([\w:]+)/,Ht=/<tbody/i,Bt=/<|&#?\w+;/,Wt=/<(?:script|style|link)/i,qt=/checked\s*(?:[^=]|=\s*.checked.)/i,Ut=/^$|\/(?:java|ecma)script/i,Vt=/^true\/(.*)/,Xt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Yt={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:nt.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},Qt=m(mt),Gt=Qt.appendChild(mt.createElement("div"));Yt.optgroup=Yt.option,Yt.tbody=Yt.tfoot=Yt.colgroup=Yt.caption=Yt.thead,Yt.th=Yt.td,rt.extend({clone:function(t,e,i){var n,s,r,o,a,l=rt.contains(t.ownerDocument,t);if(nt.html5Clone||rt.isXMLDoc(t)||!Nt.test("<"+t.nodeName+">")?r=t.cloneNode(!0):(Gt.innerHTML=t.outerHTML,Gt.removeChild(r=Gt.firstChild)),!(nt.noCloneEvent&&nt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||rt.isXMLDoc(t)))for(n=g(r),a=g(t),o=0;null!=(s=a[o]);++o)n[o]&&S(s,n[o]);if(e)if(i)for(a=a||g(t),n=n||g(r),o=0;null!=(s=a[o]);o++)x(s,n[o]);else x(t,r);return n=g(r,"script"),n.length>0&&w(n,!l&&g(t,"script")),n=a=s=null,r},buildFragment:function(t,e,i,n){for(var s,r,o,a,l,u,c,h=t.length,d=m(e),p=[],f=0;h>f;f++)if((r=t[f])||0===r)if("object"===rt.type(r))rt.merge(p,r.nodeType?[r]:r);else if(Bt.test(r)){for(a=a||d.appendChild(e.createElement("div")),l=($t.exec(r)||["",""])[1].toLowerCase(),c=Yt[l]||Yt._default,a.innerHTML=c[1]+r.replace(zt,"<$1></$2>")+c[2],s=c[0];s--;)a=a.lastChild;if(!nt.leadingWhitespace&&Ot.test(r)&&p.push(e.createTextNode(Ot.exec(r)[0])),!nt.tbody)for(r="table"!==l||Ht.test(r)?"<table>"!==c[1]||Ht.test(r)?0:a:a.firstChild,s=r&&r.childNodes.length;s--;)rt.nodeName(u=r.childNodes[s],"tbody")&&!u.childNodes.length&&r.removeChild(u);for(rt.merge(p,a.childNodes),a.textContent="";a.firstChild;)a.removeChild(a.firstChild);a=d.lastChild}else p.push(e.createTextNode(r));for(a&&d.removeChild(a),nt.appendChecked||rt.grep(g(p,"input"),v),f=0;r=p[f++];)if((!n||-1===rt.inArray(r,n))&&(o=rt.contains(r.ownerDocument,r),a=g(d.appendChild(r),"script"),o&&w(a),i))for(s=0;r=a[s++];)Ut.test(r.type||"")&&i.push(r);return a=null,d},cleanData:function(t,e){for(var i,n,s,r,o=0,a=rt.expando,l=rt.cache,u=nt.deleteExpando,c=rt.event.special;null!=(i=t[o]);o++)if((e||rt.acceptData(i))&&(s=i[a],r=s&&l[s])){if(r.events)for(n in r.events)c[n]?rt.event.remove(i,n):rt.removeEvent(i,n,r.handle);l[s]&&(delete l[s],u?delete i[a]:typeof i.removeAttribute!==xt?i.removeAttribute(a):i[a]=null,Q.push(s))}}}),rt.fn.extend({text:function(t){return jt(this,function(t){return void 0===t?rt.text(this):this.empty().append((this[0]&&this[0].ownerDocument||mt).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){_(this,t).appendChild(t)}})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=_(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var i,n=t?rt.filter(t,this):this,s=0;null!=(i=n[s]);s++)e||1!==i.nodeType||rt.cleanData(g(i)),i.parentNode&&(e&&rt.contains(i.ownerDocument,i)&&w(g(i,"script")),i.parentNode.removeChild(i));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&rt.cleanData(g(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&rt.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return rt.clone(this,t,e)})},html:function(t){return jt(this,function(t){var e=this[0]||{},i=0,n=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(Ft,""):void 0;if(!("string"!=typeof t||Wt.test(t)||!nt.htmlSerialize&&Nt.test(t)||!nt.leadingWhitespace&&Ot.test(t)||Yt[($t.exec(t)||["",""])[1].toLowerCase()])){t=t.replace(zt,"<$1></$2>");try{for(;n>i;i++)e=this[i]||{},1===e.nodeType&&(rt.cleanData(g(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,rt.cleanData(g(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(t,e){t=J.apply([],t);var i,n,s,r,o,a,l=0,u=this.length,c=this,h=u-1,d=t[0],p=rt.isFunction(d);if(p||u>1&&"string"==typeof d&&!nt.checkClone&&qt.test(d))return this.each(function(i){var n=c.eq(i);p&&(t[0]=d.call(this,i,n.html())),n.domManip(t,e)});if(u&&(a=rt.buildFragment(t,this[0].ownerDocument,!1,this),i=a.firstChild,1===a.childNodes.length&&(a=i),i)){for(r=rt.map(g(a,"script"),y),s=r.length;u>l;l++)n=a,l!==h&&(n=rt.clone(n,!0,!0),s&&rt.merge(r,g(n,"script"))),e.call(this[l],n,l);if(s)for(o=r[r.length-1].ownerDocument,rt.map(r,b),l=0;s>l;l++)n=r[l],Ut.test(n.type||"")&&!rt._data(n,"globalEval")&&rt.contains(o,n)&&(n.src?rt._evalUrl&&rt._evalUrl(n.src):rt.globalEval((n.text||n.textContent||n.innerHTML||"").replace(Xt,"")));a=i=null}return this}}),rt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){rt.fn[t]=function(t){for(var i,n=0,s=[],r=rt(t),o=r.length-1;o>=n;n++)i=n===o?this:this.clone(!0),rt(r[n])[e](i),Z.apply(s,i.get());return this.pushStack(s)}});var Jt,Zt={};!function(){var t;
vendor: 6,076 bytes, line 3
3nt.shrinkWrapBlocks=function(){if(null!=t)return t;t=!1;var e,i,n;return i=mt.getElementsByTagName("body")[0],i&&i.style?(e=mt.createElement("div"),n=mt.createElement("div"),n.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",i.appendChild(n).appendChild(e),typeof e.style.zoom!==xt&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild(mt.createElement("div")).style.width="5px",t=3!==e.offsetWidth),i.removeChild(n),t):void 0}}();var Kt=/^margin/,te=new RegExp("^("+kt+")(?!px)[a-z%]+$","i"),ee,ie,ne=/^(top|right|bottom|left)$/;t.getComputedStyle?(ee=function(t){return t.ownerDocument.defaultView.getComputedStyle(t,null)},ie=function(t,e,i){var n,s,r,o,a=t.style;return i=i||ee(t),o=i?i.getPropertyValue(e)||i[e]:void 0,i&&(""!==o||rt.contains(t.ownerDocument,t)||(o=rt.style(t,e)),te.test(o)&&Kt.test(e)&&(n=a.width,s=a.minWidth,r=a.maxWidth,a.minWidth=a.maxWidth=a.width=o,o=i.width,a.width=n,a.minWidth=s,a.maxWidth=r)),void 0===o?o:o+""}):mt.documentElement.currentStyle&&(ee=function(t){return t.currentStyle},ie=function(t,e,i){var n,s,r,o,a=t.style;return i=i||ee(t),o=i?i[e]:void 0,null==o&&a&&a[e]&&(o=a[e]),te.test(o)&&!ne.test(e)&&(n=a.left,s=t.runtimeStyle,r=s&&s.left,r&&(s.left=t.currentStyle.left),a.left="fontSize"===e?"1em":o,o=a.pixelLeft+"px",a.left=n,r&&(s.left=r)),void 0===o?o:o+""||"auto"}),!function(){function e(){var e,i,n,s;(i=mt.getElementsByTagName("body")[0])&&i.style&&(e=mt.createElement("div"),n=mt.createElement("div"),n.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",i.appendChild(n).appendChild(e),e.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",r=o=!1,l=!0,t.getComputedStyle&&(r="1%"!==(t.getComputedStyle(e,null)||{}).top,o="4px"===(t.getComputedStyle(e,null)||{width:"4px"}).width,s=e.appendChild(mt.createElement("div")),s.style.cssText=e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",s.style.marginRight=s.style.width="0",e.style.width="1px",l=!parseFloat((t.getComputedStyle(s,null)||{}).marginRight)),e.innerHTML="<table><tr><td></td><td>t</td></tr></table>",s=e.getElementsByTagName("td"),s[0].style.cssText="margin:0;border:0;padding:0;display:none",a=0===s[0].offsetHeight,a&&(s[0].style.display="",s[1].style.display="none",a=0===s[0].offsetHeight),i.removeChild(n))}var i,n,s,r,o,a,l;i=mt.createElement("div"),i.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",s=i.getElementsByTagName("a")[0],(n=s&&s.style)&&(n.cssText="float:left;opacity:.5",nt.opacity="0.5"===n.opacity,nt.cssFloat=!!n.cssFloat,i.style.backgroundClip="content-box",i.cloneNode(!0).style.backgroundClip="",nt.clearCloneStyle="content-box"===i.style.backgroundClip,nt.boxSizing=""===n.boxSizing||""===n.MozBoxSizing||""===n.WebkitBoxSizing,rt.extend(nt,{reliableHiddenOffsets:function(){return null==a&&e(),a},boxSizingReliable:function(){return null==o&&e(),o},pixelPosition:function(){return null==r&&e(),r},reliableMarginRight:function(){return null==l&&e(),l}}))}(),rt.swap=function(t,e,i,n){var s,r,o={};for(r in e)o[r]=t.style[r],t.style[r]=e[r];s=i.apply(t,n||[]);for(r in e)t.style[r]=o[r];return s};var se=/alpha\([^)]*\)/i,re=/opacity\s*=\s*([^)]*)/,oe=/^(none|table(?!-c[ea]).+)/,ae=new RegExp("^("+kt+")(.*)$","i"),le=new RegExp("^([+-])=("+kt+")","i"),ue={position:"absolute",visibility:"hidden",display:"block"},ce={letterSpacing:"0",fontWeight:"400"},he=["Webkit","O","Moz","ms"];rt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=ie(t,"opacity");return""===i?"1":i}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:nt.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var s,r,o,a=rt.camelCase(e),l=t.style;if(e=rt.cssProps[a]||(rt.cssProps[a]=P(l,a)),o=rt.cssHooks[e]||rt.cssHooks[a],void 0===i)return o&&"get"in o&&void 0!==(s=o.get(t,!1,n))?s:l[e];if(r=typeof i,"string"===r&&(s=le.exec(i))&&(i=(s[1]+1)*s[2]+parseFloat(rt.css(t,e)),r="number"),null!=i&&i===i&&("number"!==r||rt.cssNumber[a]||(i+="px"),nt.clearCloneStyle||""!==i||0!==e.indexOf("background")||(l[e]="inherit"),!(o&&"set"in o&&void 0===(i=o.set(t,i,n)))))try{l[e]=i}catch(t){}}},css:function(t,e,i,n){var s,r,o,a=rt.camelCase(e);return e=rt.cssProps[a]||(rt.cssProps[a]=P(t.style,a)),o=rt.cssHooks[e]||rt.cssHooks[a],o&&"get"in o&&(r=o.get(t,!0,i)),void 0===r&&(r=ie(t,e,n)),"normal"===r&&e in ce&&(r=ce[e]),""===i||i?(s=parseFloat(r),!0===i||rt.isNumeric(s)?s||0:r):r}}),rt.each(["height","width"],function(t,e){rt.cssHooks[e]={get:function(t,i,n){return i?oe.test(rt.css(t,"display"))&&0===t.offsetWidth?rt.swap(t,ue,function(){return E(t,e,n)}):E(t,e,n):void 0},set:function(t,i,n){var s=n&&ee(t);return j(t,i,n?I(t,e,n,nt.boxSizing&&"border-box"===rt.css(t,"boxSizing",!1,s),s):0)}}}),nt.opacity||(rt.cssHooks.opacity={get:function(t,e){return re.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var i=t.style,n=t.currentStyle,s=rt.isNumeric(e)?"alpha(opacity="+100*e+")":"",r=n&&n.filter||i.filter||"";i.zoom=1,(e>=1||""===e)&&""===rt.trim(r.replace(se,""))&&i.removeAttribute&&(i.removeAttribute("filter"),""===e||n&&!n.filter)||(i.filter=se.test(r)?r.replace(se,s):r+" "+s)}}),rt.cssHooks.marginRight=k(nt.reliableMarginRight,function(t,e){return e?rt.swap(t,{display:"inline-block"},ie,[t,"marginRight"]):void 0}),rt.each({margin:"",padding:"",border:"Width"},function(t,e){rt.cssHooks[t+e]={expand:function(i){for(var n=0,s={},r="string"==typeof i?i.split(" "):[i];4>n;n++)s[t+Pt[n]+e]=r[n]||r[n-2]||r[0];return s}},Kt.test(t)||(rt.cssHooks[t+e].set=j)}
vendor: 5,237 bytes, line 3
3),rt.fn.extend({css:function(t,e){return jt(this,function(t,e,i){var n,s,r={},o=0;if(rt.isArray(e)){for(n=ee(t),s=e.length;s>o;o++)r[e[o]]=rt.css(t,e[o],!1,n);return r}return void 0!==i?rt.style(t,e,i):rt.css(t,e)},t,e,arguments.length>1)},show:function(){return D(this,!0)},hide:function(){return D(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Dt(this)?rt(this).show():rt(this).hide()})}}),rt.Tween=A,A.prototype={constructor:A,init:function(t,e,i,n,s,r){this.elem=t,this.prop=i,this.easing=s||"swing",this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=r||(rt.cssNumber[i]?"":"px")},cur:function(){var t=A.propHooks[this.prop];return t&&t.get?t.get(this):A.propHooks._default.get(this)},run:function(t){var e,i=A.propHooks[this.prop];return this.pos=e=this.options.duration?rt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):A.propHooks._default.set(this),this}},A.prototype.init.prototype=A.prototype,A.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=rt.css(t.elem,t.prop,""),e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){rt.fx.step[t.prop]?rt.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[rt.cssProps[t.prop]]||rt.cssHooks[t.prop])?rt.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},A.propHooks.scrollTop=A.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},rt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},rt.fx=A.prototype.init,rt.fx.step={};var de,pe,fe=/^(?:toggle|show|hide)$/,me=new RegExp("^(?:([+-])=|)("+kt+")([a-z%]*)$","i"),ge=/queueHooks$/,ve=[F],_e={"*":[function(t,e){var i=this.createTween(t,e),n=i.cur(),s=me.exec(e),r=s&&s[3]||(rt.cssNumber[t]?"":"px"),o=(rt.cssNumber[t]||"px"!==r&&+n)&&me.exec(rt.css(i.elem,t)),a=1,l=20;if(o&&o[3]!==r){r=r||o[3],s=s||[],o=+n||1;do{a=a||".5",o/=a,rt.style(i.elem,t,o+r)}while(a!==(a=i.cur()/n)&&1!==a&&--l)}return s&&(o=i.start=+o||+n||0,i.unit=r,i.end=s[1]?o+(s[1]+1)*s[2]:+s[2]),i}]};rt.Animation=rt.extend(O,{tweener:function(t,e){rt.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var i,n=0,s=t.length;s>n;n++)i=t[n],_e[i]=_e[i]||[],_e[i].unshift(e)},prefilter:function(t,e){e?ve.unshift(t):ve.push(t)}}),rt.speed=function(t,e,i){var n=t&&"object"==typeof t?rt.extend({},t):{complete:i||!i&&e||rt.isFunction(t)&&t,duration:t,easing:i&&e||e&&!rt.isFunction(e)&&e};return n.duration=rt.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in rt.fx.speeds?rt.fx.speeds[n.duration]:rt.fx.speeds._default,(null==n.queue||!0===n.queue)&&(n.queue="fx"),n.old=n.complete,n.complete=function(){rt.isFunction(n.old)&&n.old.call(this),n.queue&&rt.dequeue(this,n.queue)},n},rt.fn.extend({fadeTo:function(t,e,i,n){return this.filter(Dt).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(t,e,i,n){var s=rt.isEmptyObject(t),r=rt.speed(e,i,n),o=function(){var e=O(this,rt.extend({},t),r);(s||rt._data(this,"finish"))&&e.stop(!0)};return o.finish=o,s||!1===r.queue?this.each(o):this.queue(r.queue,o)},stop:function(t,e,i){var n=function(t){var e=t.stop;delete t.stop,e(i)};return"string"!=typeof t&&(i=e,e=t,t=void 0),e&&!1!==t&&this.queue(t||"fx",[]),this.each(function(){var e=!0,s=null!=t&&t+"queueHooks",r=rt.timers,o=rt._data(this);if(s)o[s]&&o[s].stop&&n(o[s]);else for(s in o)o[s]&&o[s].stop&&ge.test(s)&&n(o[s]);for(s=r.length;s--;)r[s].elem!==this||null!=t&&r[s].queue!==t||(r[s].anim.stop(i),e=!1,r.splice(s,1));(e||!i)&&rt.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,i=rt._data(this),n=i[t+"queue"],s=i[t+"queueHooks"],r=rt.timers,o=n?n.length:0;for(i.finish=!0,rt.queue(this,t,[]),s&&s.stop&&s.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===t&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;o>e;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete i.finish})}}),rt.each(["toggle","show","hide"],function(t,e){var i=rt.fn[e];rt.fn[e]=function(t,n,s){return null==t||"boolean"==typeof t?i.apply(this,arguments):this.animate(L(e,!0),t,n,s)}}),rt.each({slideDown:L("show"),slideUp:L("hide"),slideToggle:L("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){rt.fn[t]=function(t,i,n){return this.animate(e,t,i,n)}}),rt.timers=[],rt.fx.tick=function(){var t,e=rt.timers,i=0;for(de=rt.now();i<e.length;i++)(t=e[i])()||e[i]!==t||e.splice(i--,1);e.length||rt.fx.stop(),de=void 0},rt.fx.timer=function(t){rt.timers.push(t),t()?rt.fx.start():rt.timers.pop()},rt.fx.interval=13,rt.fx.start=function(){pe||(pe=setInterval(rt.fx.tick,rt.fx.interval))},rt.fx.stop=function(){clearInterval(pe),pe=null},rt.fx.speeds={slow:600,fast:200,_default:400},rt.fn.delay=function(t,e){return t=rt.fx?rt.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,i){var n=setTimeout(e,t);i.stop=function(){clearTimeout(n)}})},function(){var t,e,i,n,s;e=mt.createElement("div"),e.setAttribute("className","t"),e.innerHTML="  <link/><table></table><a href='/a'>a</a>
3<input type='checkbox'/>",n=e.getElementsByTagName("a")[0],i=mt.createElement("select"),s=i.appendChild(mt.createElement("option")),t=e.getElementsByTagName("input")[0],n.style.cssText="top:1px",nt.getSetAttribute="t"!==e.className,nt.style=/top/.test(n.getAttribute("style")),nt.hrefNormalized="/a"===n.getAttribute("href"),nt.checkOn=!!t.value,nt.optSelected=s.selected,nt.enctype=!!mt.createElement("form").enctype,i.disabled=!0,nt.optDisabled=!s.disabled,t=mt.createElement("input"),t.setAttribute("value",""),nt.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),nt.radioValue="t"===t.value}();var ye=/\r/g;rt.fn.extend({val:function(t){var e,i,n,s=this[0];return arguments.length?(n=rt.isFunction(t),this.each(function(i){var s;1===this.nodeType&&(s=n?t.call(this,i,rt(this).val()):t,null==s?s="":"number"==typeof s?s+="":rt.isArray(s)&&(s=rt.map(s,function(t){return null==t?"":t+""})),(e=rt.valHooks[this.type]||rt.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,s,"value")||(this.value=s))})):s?(e=rt.valHooks[s.type]||rt.valHooks[s.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(i=e.get(s,"value"))?i:(i=s.value,"string"==typeof i?i.replace(ye,""):null==i?"":i)):void 0}}),rt.extend({valHooks:{option:{get:function(t){var e=rt.find.attr(t,"value");return null!=e?e:rt.trim(rt.text(t))}},select:{get:function(t){for(var e,i,n=t.options,s=t.selectedIndex,r="select-one"===t.type||0>s,o=r?null:[],a=r?s+1:n.length,l=0>s?a:r?s:0;a>l;l++)if(i=n[l],!(!i.selected&&l!==s||(nt.optDisabled?i.disabled:null!==i.getAttribute("disabled"))||i.parentNode.disabled&&rt.nodeName(i.parentNode,"optgroup"))){if(e=rt(i).val(),r)return e;o.push(e)}return o},set:function(t,e){for(var i,n,s=t.options,r=rt.makeArray(e),o=s.length;o--;)if(n=s[o],rt.inArray(rt.valHooks.option.get(n),r)>=0)try{n.selected=i=!0}catch(t){n.scrollHeight}else n.selected=!1;return i||(t.selectedIndex=-1),s}}}}),rt.each(["radio","checkbox"],function(){rt.valHooks[this]={set:function(t,e){return rt.isArray(e)?t.checked=rt.inArray(rt(t).val(),e)>=0:void 0}},nt.checkOn||(rt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var be,we,xe=rt.expr.attrHandle,Se=/^(?:checked|selected)$/i,Te=nt.getSetAttribute,Ce=nt.input;rt.fn.extend({attr:function(t,e){return jt(this,rt.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){rt.removeAttr(this,t)})}}),rt.extend({attr:function(t,e,i){var n,s,r=t.nodeType;if(t&&3!==r&&8!==r&&2!==r)return typeof t.getAttribute===xt?rt.prop(t,e,i):(1===r&&rt.isXMLDoc(t)||(e=e.toLowerCase(),n=rt.attrHooks[e]||(rt.expr.match.bool.test(e)?we:be)),void 0===i?n&&"get"in n&&null!==(s=n.get(t,e))?s:(s=rt.find.attr(t,e),null==s?void 0:s):null!==i?n&&"set"in n&&void 0!==(s=n.set(t,i,e))?s:(t.setAttribute(e,i+""),i):void rt.removeAttr(t,e))},removeAttr:function(t,e){var i,n,s=0,r=e&&e.match(yt);if(r&&1===t.nodeType)for(;i=r[s++];)n=rt.propFix[i]||i,rt.expr.match.bool.test(i)?Ce&&Te||!Se.test(i)?t[n]=!1:t[rt.camelCase("default-"+i)]=t[n]=!1:rt.attr(t,i,""),t.removeAttribute(Te?i:n)},attrHooks:{type:{set:function(t,e){if(!nt.radioValue&&"radio"===e&&rt.nodeName(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}}}),we={set:function(t,e,i){return!1===e?rt.removeAttr(t,i):Ce&&Te||!Se.test(i)?t.setAttribute(!Te&&rt.propFix[i]||i,i):t[rt.camelCase("default-"+i)]=t[i]=!0,i}},rt.each(rt.expr.match.bool.source.match(/\w+/g),function(t,e){var i=xe[e]||rt.find.attr;xe[e]=Ce&&Te||!Se.test(e)?function(t,e,n){var s,r;return n||(r=xe[e],xe[e]=s,s=null!=i(t,e,n)?e.toLowerCase():null,xe[e]=r),s}:function(t,e,i){return i?void 0:t[rt.camelCase("default-"+e)]?e.toLowerCase():null}}),Ce&&Te||(rt.attrHooks.value={set:function(t,e,i){return rt.nodeName(t,"input")?void(t.defaultValue=e):be&&be.set(t,e,i)}}),Te||(be={set:function(t,e,i){var n=t.getAttributeNode(i);return n||t.setAttributeNode(n=t.ownerDocument.createAttribute(i)),n.value=e+="","value"===i||e===t.getAttribute(i)?e:void 0}},xe.id=xe.name=xe.coords=function(t,e,i){var n;return i?void 0:(n=t.getAttributeNode(e))&&""!==n.value?n.value:null},rt.valHooks.button={get:function(t,e){var i=t.getAttributeNode(e);return i&&i.specified?i.value:void 0},set:be.set}
vendor: 4,164 bytes, line 3
3,rt.attrHooks.contenteditable={set:function(t,e,i){be.set(t,""!==e&&e,i)}},rt.each(["width","height"],function(t,e){rt.attrHooks[e]={set:function(t,i){return""===i?(t.setAttribute(e,"auto"),i):void 0}}})),nt.style||(rt.attrHooks.style={get:function(t){return t.style.cssText||void 0},set:function(t,e){return t.style.cssText=e+""}});var ke=/^(?:input|select|textarea|button|object)$/i,Pe=/^(?:a|area)$/i;rt.fn.extend({prop:function(t,e){return jt(this,rt.prop,t,e,arguments.length>1)},removeProp:function(t){return t=rt.propFix[t]||t,this.each(function(){try{this[t]=void 0,delete this[t]}catch(t){}})}}),rt.extend({propFix:{for:"htmlFor",class:"className"},prop:function(t,e,i){var n,s,r,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return r=1!==o||!rt.isXMLDoc(t),r&&(e=rt.propFix[e]||e,s=rt.propHooks[e]),void 0!==i?s&&"set"in s&&void 0!==(n=s.set(t,i,e))?n:t[e]=i:s&&"get"in s&&null!==(n=s.get(t,e))?n:t[e]},propHooks:{tabIndex:{get:function(t){var e=rt.find.attr(t,"tabindex");return e?parseInt(e,10):ke.test(t.nodeName)||Pe.test(t.nodeName)&&t.href?0:-1}}}}),nt.hrefNormalized||rt.each(["href","src"],function(t,e){rt.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),nt.optSelected||(rt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}}),rt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){rt.propFix[this.toLowerCase()]=this}),nt.enctype||(rt.propFix.enctype="encoding");var De=/[\t\r\n\f]/g;rt.fn.extend({addClass:function(t){var e,i,n,s,r,o,a=0,l=this.length,u="string"==typeof t&&t;if(rt.isFunction(t))return this.each(function(e){rt(this).addClass(t.call(this,e,this.className))});if(u)for(e=(t||"").match(yt)||[];l>a;a++)if(i=this[a],n=1===i.nodeType&&(i.className?(" "+i.className+" ").replace(De," "):" ")){for(r=0;s=e[r++];)n.indexOf(" "+s+" ")<0&&(n+=s+" ");o=rt.trim(n),i.className!==o&&(i.className=o)}return this},removeClass:function(t){var e,i,n,s,r,o,a=0,l=this.length,u=0===arguments.length||"string"==typeof t&&t;if(rt.isFunction(t))return this.each(function(e){rt(this).removeClass(t.call(this,e,this.className))});if(u)for(e=(t||"").match(yt)||[];l>a;a++)if(i=this[a],n=1===i.nodeType&&(i.className?(" "+i.className+" ").replace(De," "):"")){for(r=0;s=e[r++];)for(;n.indexOf(" "+s+" ")>=0;)n=n.replace(" "+s+" "," ");o=t?rt.trim(n):"",i.className!==o&&(i.className=o)}return this},toggleClass:function(t,e){var i=typeof t;return"boolean"==typeof e&&"string"===i?e?this.addClass(t):this.removeClass(t):this.each(rt.isFunction(t)?function(i){rt(this).toggleClass(t.call(this,i,this.className,e),e)}:function(){if("string"===i)for(var e,n=0,s=rt(this),r=t.match(yt)||[];e=r[n++];)s.hasClass(e)?s.removeClass(e):s.addClass(e);else(i===xt||"boolean"===i)&&(this.className&&rt._data(this,"__className__",this.className),this.className=this.className||!1===t?"":rt._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(De," ").indexOf(e)>=0)return!0;return!1}}),rt.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){rt.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}}),rt.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)}});var je=rt.now(),Ie=/\?/,Ee=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;rt.parseJSON=function(e){if(t.JSON&&t.JSON.parse)return t.JSON.parse(e+"");var i,n=null,s=rt.trim(e+"");return s&&!rt.trim(s.replace(Ee,function(t,e,s,r){return i&&e&&(n=0),0===n?t:(i=s||e,
vendor: 10,134 bytes, lines 3-4
3n+=!r-!s,"")}))?Function("return "+s)():rt.error("Invalid JSON: "+e)},rt.parseXML=function(e){var i,n;if(!e||"string"!=typeof e)return null;try{t.DOMParser?(n=new DOMParser,i=n.parseFromString(e,"text/xml")):(i=new ActiveXObject("Microsoft.XMLDOM"),i.async="false",i.loadXML(e))}catch(t){i=void 0}return i&&i.documentElement&&!i.getElementsByTagName("parsererror").length||rt.error("Invalid XML: "+e),i};var Ae,Me,Le=/#.*$/,Re=/([?&])_=[^&]*/,Fe=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Ne=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Oe=/^(?:GET|HEAD)$/,ze=/^\/\//,$e=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,He={},Be={},We="*/".concat("*");try{Me=location.href}catch(t){Me=mt.createElement("a"),Me.href="",Me=Me.href}Ae=$e.exec(Me.toLowerCase())||[],rt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Me,type:"GET",isLocal:Ne.test(Ae[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":We,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":rt.parseJSON,"text xml":rt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?B(B(t,rt.ajaxSettings),e):B(rt.ajaxSettings,t)},ajaxPrefilter:z(He),ajaxTransport:z(Be),ajax:function(t,e){function i(t,e,i,n){var s,c,v,_,b,x=e;2!==y&&(y=2,a&&clearTimeout(a),u=void 0,o=n||"",w.readyState=t>0?4:0,s=t>=200&&300>t||304===t,i&&(_=W(h,w,i)),_=q(h,_,w,s),s?(h.ifModified&&(b=w.getResponseHeader("Last-Modified"),b&&(rt.lastModified[r]=b),(b=w.getResponseHeader("etag"))&&(rt.etag[r]=b)),204===t||"HEAD"===h.type?x="nocontent":304===t?x="notmodified":(x=_.state,c=_.data,v=_.error,s=!v)):(v=x,(t||!x)&&(x="error",0>t&&(t=0))),w.status=t,w.statusText=(e||x)+"",s?f.resolveWith(d,[c,x,w]):f.rejectWith(d,[w,x,v]),w.statusCode(g),g=void 0,l&&p.trigger(s?"ajaxSuccess":"ajaxError",[w,h,s?c:v]),m.fireWith(d,[w,x]),l&&(p.trigger("ajaxComplete",[w,h]),--rt.active||rt.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,s,r,o,a,l,u,c,h=rt.ajaxSetup({},e),d=h.context||h,p=h.context&&(d.nodeType||d.jquery)?rt(d):rt.event,f=rt.Deferred(),m=rt.Callbacks("once memory"),g=h.statusCode||{},v={},_={},y=0,b="canceled",w={readyState:0,getResponseHeader:function(t){var e;if(2===y){if(!c)for(c={};e=Fe.exec(o);)c[e[1].toLowerCase()]=e[2];e=c[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===y?o:null},setRequestHeader:function(t,e){var i=t.toLowerCase();return y||(t=_[i]=_[i]||t,v[t]=e),this},overrideMimeType:function(t){return y||(h.mimeType=t),this},statusCode:function(t){var e;if(t)if(2>y)for(e in t)g[e]=[g[e],t[e]];else w.always(t[w.status]);return this},abort:function(t){var e=t||b;return u&&u.abort(e),i(0,e),this}};if(f.promise(w).complete=m.add,w.success=w.done,w.error=w.fail,h.url=((t||h.url||Me)+"").replace(Le,"").replace(ze,Ae[1]+"//"),h.type=e.method||e.type||h.method||h.type,h.dataTypes=rt.trim(h.dataType||"*").toLowerCase().match(yt)||[""],null==h.crossDomain&&(n=$e.exec(h.url.toLowerCase()),h.crossDomain=!(!n||n[1]===Ae[1]&&n[2]===Ae[2]&&(n[3]||("http:"===n[1]?"80":"443"))===(Ae[3]||("http:"===Ae[1]?"80":"443")))),h.data&&h.processData&&"string"!=typeof h.data&&(h.data=rt.param(h.data,h.traditional)),H(He,h,e,w),2===y)return w;l=h.global,l&&0==rt.active++&&rt.event.trigger("ajaxStart"),
4h.type=h.type.toUpperCase(),h.hasContent=!Oe.test(h.type),r=h.url,h.hasContent||(h.data&&(r=h.url+=(Ie.test(r)?"&":"?")+h.data,delete h.data),!1===h.cache&&(h.url=Re.test(r)?r.replace(Re,"$1_="+je++):r+(Ie.test(r)?"&":"?")+"_="+je++)),h.ifModified&&(rt.lastModified[r]&&w.setRequestHeader("If-Modified-Since",rt.lastModified[r]),rt.etag[r]&&w.setRequestHeader("If-None-Match",rt.etag[r])),(h.data&&h.hasContent&&!1!==h.contentType||e.contentType)&&w.setRequestHeader("Content-Type",h.contentType),w.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+We+"; q=0.01":""):h.accepts["*"]);for(s in h.headers)w.setRequestHeader(s,h.headers[s]);if(h.beforeSend&&(!1===h.beforeSend.call(d,w,h)||2===y))return w.abort();b="abort";for(s in{success:1,error:1,complete:1})w[s](h[s]);if(u=H(Be,h,e,w)){w.readyState=1,l&&p.trigger("ajaxSend",[w,h]),h.async&&h.timeout>0&&(a=setTimeout(function(){w.abort("timeout")},h.timeout));try{y=1,u.send(v,i)}catch(t){if(!(2>y))throw t;i(-1,t)}}else i(-1,"No Transport");return w},getJSON:function(t,e,i){return rt.get(t,e,i,"json")},getScript:function(t,e){return rt.get(t,void 0,e,"script")}}),rt.each(["get","post"],function(t,e){rt[e]=function(t,i,n,s){return rt.isFunction(i)&&(s=s||n,n=i,i=void 0),rt.ajax({url:t,type:e,dataType:s,data:i,success:n})}}),rt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){rt.fn[e]=function(t){return this.on(e,t)}}),rt._evalUrl=function(t){return rt.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},rt.fn.extend({wrapAll:function(t){if(rt.isFunction(t))return this.each(function(e){rt(this).wrapAll(t.call(this,e))});if(this[0]){var e=rt(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 this.each(rt.isFunction(t)?function(e){rt(this).wrapInner(t.call(this,e))}:function(){var e=rt(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)})},wrap:function(t){var e=rt.isFunction(t);return this.each(function(i){rt(this).wrapAll(e?t.call(this,i):t)})},unwrap:function(){return this.parent().each(function(){rt.nodeName(this,"body")||rt(this).replaceWith(this.childNodes)}).end()}}),rt.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!nt.reliableHiddenOffsets()&&"none"===(t.style&&t.style.display||rt.css(t,"display"))},rt.expr.filters.visible=function(t){return!rt.expr.filters.hidden(t)};var qe=/%20/g,Ue=/\[\]$/,Ve=/\r?\n/g,Xe=/^(?:submit|button|image|reset|file)$/i,Ye=/^(?:input|select|textarea|keygen)/i;rt.param=function(t,e){var i,n=[],s=function(t,e){e=rt.isFunction(e)?e():null==e?"":e,n[n.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=rt.ajaxSettings&&rt.ajaxSettings.traditional),rt.isArray(t)||t.jquery&&!rt.isPlainObject(t))rt.each(t,function(){s(this.name,this.value)});else for(i in t)U(i,t[i],e,s);return n.join("&").replace(qe,"+")},rt.fn.extend({serialize:function(){return rt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=rt.prop(this,"elements");return t?rt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!rt(this).is(":disabled")&&Ye.test(this.nodeName)&&!Xe.test(t)&&(this.checked||!It.test(t))}).map(function(t,e){var i=rt(this).val();return null==i?null:rt.isArray(i)?rt.map(i,function(t){return{name:e.name,value:t.replace(Ve,"\r\n")}}):{name:e.name,value:i.replace(Ve,"\r\n")}}).get()}}),rt.ajaxSettings.xhr=void 0!==t.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&V()||X()}:V;var Qe=0,Ge={},Je=rt.ajaxSettings.xhr();t.ActiveXObject&&rt(t).on("unload",function(){for(var t in Ge)Ge[t](void 0,!0)}),nt.cors=!!Je&&"withCredentials"in Je,(Je=nt.ajax=!!Je)&&rt.ajaxTransport(function(t){if(!t.crossDomain||nt.cors){var e;return{send:function(i,n){var s,r=t.xhr(),o=++Qe;if(r.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)r[s]=t.xhrFields[s];t.mimeType&&r.overrideMimeType&&r.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(s in i)void 0!==i[s]&&r.setRequestHeader(s,i[s]+"");r.send(t.hasContent&&t.data||null),e=function(i,s){var a,l,u;if(e&&(s||4===r.readyState))if(delete Ge[o],e=void 0,r.onreadystatechange=rt.noop,s)4!==r.readyState&&r.abort();else{u={},a=r.status,"string"==typeof r.responseText&&(u.text=r.responseText);try{l=r.statusText}catch(t){l=""}a||!t.isLocal||t.crossDomain?1223===a&&(a=204):a=u.text?200:404}u&&n(a,l,u,r.getAllResponseHeaders())},t.async?4===r.readyState?setTimeout(e):r.onreadystatechange=Ge[o]=e:e()},abort:function(){e&&e(void 0,!0)}}}}),rt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return rt.globalEval(t),t}}}),rt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),rt.ajaxTransport("script",function(t){if(t.crossDomain){var e,i=mt.head||rt("head")[0]||mt.documentElement;return{send:function(n,s){e=mt.createElement("script"),e.async=!0,t.scriptCharset&&(e.charset=t.scriptCharset),e.src=t.url,e.onload=e.onreadystatechange=function(t,i){(i||!e.readyState||/loaded|complete/.test(e.readyState))&&(e.onload=e.onreadystatechange=null,e.parentNode&&e.parentNode.removeChild(e),e=null,i||s(200,"success"))},i.insertBefore(e,i.firstChild)},abort:function(){e&&e.onload(void 0,!0)}}}});var Ze=[],Ke=/(=)\?(?=&|$)|\?\?/;rt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ze.pop()||rt.expando+"_"+je++;return this[t]=!0,t}}),rt.ajaxPrefilter("json jsonp",function(e,i,n){var s,r,o,a=!1!==e.jsonp&&(Ke.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ke.test(e.data)&&"data");return a||"jsonp"===e.dataTypes[0]?(s=e.jsonpCallback=rt.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ke,"$1"+s):!1!==e.jsonp&&(e.url+=(Ie.test(e.url)?"&":"?")+e.jsonp+"="+s),e.converters["script json"]=function(){return o||rt.error(s+" was not called"),o[0]},e.dataTypes[0]="json",r=t[s],t[s]=function(){o=arguments},n.always(function(){t[s]=r,e[s]&&(e.jsonpCallback=i.jsonpCallback,Ze.push(s)),o&&rt.isFunction(r)&&r(o[0]),o=r=void 0}),"script"):void 0}
vendor: 4,084 bytes, lines 4-12
4),rt.parseHTML=function(t,e,i){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(i=e,e=!1),e=e||mt;var n=dt.exec(t),s=!i&&[];return n?[e.createElement(n[1])]:(n=rt.buildFragment([t],e,s),s&&s.length&&rt(s).remove(),rt.merge([],n.childNodes))};var ti=rt.fn.load;rt.fn.load=function(t,e,i){if("string"!=typeof t&&ti)return ti.apply(this,arguments);var n,s,r,o=this,a=t.indexOf(" ");return a>=0&&(n=rt.trim(t.slice(a,t.length)),t=t.slice(0,a)),rt.isFunction(e)?(i=e,e=void 0):e&&"object"==typeof e&&(r="POST"),o.length>0&&rt.ajax({url:t,type:r,dataType:"html",data:e}).done(function(t){s=arguments,o.html(n?rt("<div>").append(rt.parseHTML(t)).find(n):t)}).complete(i&&function(t,e){o.each(i,s||[t.responseText,e,t])}),this},rt.expr.filters.animated=function(t){return rt.grep(rt.timers,function(e){return t===e.elem}).length};var ei=t.document.documentElement;rt.offset={setOffset:function(t,e,i){var n,s,r,o,a,l,u,c=rt.css(t,"position"),h=rt(t),d={};"static"===c&&(t.style.position="relative"),a=h.offset(),r=rt.css(t,"top"),l=rt.css(t,"left"),u=("absolute"===c||"fixed"===c)&&rt.inArray("auto",[r,l])>-1,u?(n=h.position(),o=n.top,s=n.left):(o=parseFloat(r)||0,s=parseFloat(l)||0),rt.isFunction(e)&&(e=e.call(t,i,a)),null!=e.top&&(d.top=e.top-a.top+o),null!=e.left&&(d.left=e.left-a.left+s),"using"in e?e.using.call(t,d):h.css(d)}},rt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){rt.offset.setOffset(this,t,e)});var e,i,n={top:0,left:0},s=this[0],r=s&&s.ownerDocument;return r?(e=r.documentElement,rt.contains(e,s)?(typeof s.getBoundingClientRect!==xt&&(n=s.getBoundingClientRect()),i=Y(r),{top:n.top+(i.pageYOffset||e.scrollTop)-(e.clientTop||0),left:n.left+(i.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):n):void 0},position:function(){if(this[0]){var t,e,i={top:0,left:0},n=this[0];return"fixed"===rt.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),rt.nodeName(t[0],"html")||(i=t.offset()),i.top+=rt.css(t[0],"borderTopWidth",!0),i.left+=rt.css(t[0],"borderLeftWidth",!0)),{top:e.top-i.top-rt.css(n,"marginTop",!0),left:e.left-i.left-rt.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||ei;t&&!rt.nodeName(t,"html")&&"static"===rt.css(t,"position");)t=t.offsetParent;return t||ei})}}),rt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var i=/Y/.test(e);rt.fn[t]=function(n){return jt(this,function(t,n,s){var r=Y(t);return void 0===s?r?e in r?r[e]:r.document.documentElement[n]:t[n]:void(r?r.scrollTo(i?rt(r).scrollLeft():s,i?s:rt(r).scrollTop()):t[n]=s)},t,n,arguments.length,null)}}),rt.each(["top","left"],function(t,e){rt.cssHooks[e]=k(nt.pixelPosition,function(t,i){return i?(i=ie(t,e),te.test(i)?rt(t).position()[e]+"px":i):void 0})}),rt.each({Height:"height",Width:"width"},function(t,e){rt.each({padding:"inner"+t,content:e,"":"outer"+t},function(i,n){rt.fn[n]=function(n,s){var r=arguments.length&&(i||"boolean"!=typeof n),o=i||(!0===n||!0===s?"margin":"border");return jt(this,function(e,i,n){var s;return rt.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(s=e.documentElement,Math.max(e.body["scroll"+t],s["scroll"+t],e.body["offset"+t],s["offset"+t],s["client"+t])):void 0===n?rt.css(e,i,o):rt.style(e,i,n,o)},e,r?n:void 0,r,null)}})}),rt.fn.size=function(){return this.length},rt.fn.andSelf=rt.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return rt});var ii=t.jQuery,ni=t.$;return rt.noConflict=function(e){return t.$===rt&&(t.$=ni),e&&t.jQuery===rt&&(t.jQuery=ii),rt},typeof e===xt&&(t.jQuery=t.$=rt),rt});/*!
5 * VERSION: 1.15.0
6 * DATE: 2014-12-03
7 * UPDATES AND DOCS AT: http://www.greensock.com
8 * 
9 * Includes all of the following: TweenLite, TweenMax, TimelineLite, TimelineMax, EasePack, CSSPlugin, RoundPropsPlugin, BezierPlugin, AttrPlugin, DirectionalRotationPlugin
10 *
11 * @license Copyright (c) 2008-2014, GreenSock. All rights reserved.
12 * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for
13 * Club GreenSock members, the software agreement that was issued with your membership.
14 * 
15 * @author: Jack Doyle, [email protected]
16 **/
17var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var n=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},s=function(t,e,n){i.call(this,t,e,n),this._cycle=0,this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._dirty=!0,this.render=s.prototype.render},r=1e-10,o=i._internals,a=o.isSelector,l=o.isArray,u=s.prototype=i.to({},.1,{}),c=[];s.version="1.15.0",u.constructor=s,u.kill()._gc=!1,s.killTweensOf=s.killDelayedCallsTo=i.killTweensOf,s.getTweensOf=i.getTweensOf,s.lagSmoothing=i.lagSmoothing,s.ticker=i.ticker,s.render=i.render,u.invalidate=function(){return this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),i.prototype.invalidate.call(this)},u.updateTo=function(t,e){var n,s=this.ratio,r=this.vars.immediateRender||t.immediateRender;e&&this._startTime<this._timeline._time&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay));for(n in t)this.vars[n]=t[n];if(this._initted||r)if(e)this._initted=!1,r&&this.render(0,!0,!0);else if(this._gc&&this._enabled(!0,!1),this._notifyPluginsOfEnabled&&this._firstPT&&i._onPluginEvent("_onDisable",this),this._time/this._duration>.998){var o=this._time;this.render(0,!0,!1),this._initted=!1,this.render(o,!0,!1)}else if(this._time>0||r){this._initted=!1,this._init();for(var a,l=1/(1-s),u=this._firstPT;u;)a=u.s+u.c,u.c*=l,u.s=a-u.c,u=u._next}return this},u.render=function(t,e,i){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var n,s,a,l,u,h,d,p,f=this._dirty?this.totalDuration():this._totalDuration,m=this._time,g=this._totalTime,v=this._cycle,_=this._duration,y=this._rawPrevTime;if(t>=f?(this._totalTime=f,this._cycle=this._repeat,this._yoyo&&0!=(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=_,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(n=!0,s="onComplete"),0===_&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(0===t||0>y||y===r)&&y!==t&&(i=!0,y>r&&(s="onReverseComplete")),this._rawPrevTime=p=!e||t||y===t?t:r)):1e-7>t?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==g||0===_&&y>0&&y!==r)&&(s="onReverseComplete",n=this._reversed),0>t&&(this._active=!1,0===_&&(this._initted||!this.vars.lazy||i)&&(y>=0&&(i=!0),this._rawPrevTime=p=!e||t||y===t?t:r)),this._initted||(i=!0)):(this._totalTime=this._time=t,0!==this._repeat&&(l=_+this._repeatDelay,this._cycle=this._totalTime/l>>0,0!==this._cycle&&this._cycle===this._totalTime/l&&this._cycle--,this._time=this._totalTime-this._cycle*l,this._yoyo&&0!=(1&this._cycle)&&(this._time=_-this._time),this._time>_?this._time=_:0>this._time&&(this._time=0)),this._easeType?(u=this._time/_,h=this._easeType,d=this._easePower,(1===h||3===h&&u>=.5)&&(u=1-u),3===h&&(u*=2),1===d?u*=u:2===d?u*=u*u:3===d?u*=u*u*u:4===d&&(u*=u*u*u*u),this.ratio=1===h?1-u:2===h?u:.5>this._time/_?u/2:1-u/2):this.ratio=this._ease.getRatio(this._time/_)),m===this._time&&!i&&v===this._cycle)return void(g!==this._totalTime&&this._onUpdate&&(e||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||c)));if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=m,this._totalTime=g,this._rawPrevTime=y,this._cycle=v,o.lazyTweens.push(this),void(this._lazy=[t,e]);this._time&&!n?this.ratio=this._ease.getRatio(this._time/_):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==m&&t>=0&&(this._active=!0),0===g&&(2===this._initted&&t>0&&this._init(),this._startAt&&(t>=0?this._startAt.render(t,e,i):s||(s="_dummyGS")),this.vars.onStart&&(0!==this._totalTime||0===_)&&(e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||c))),a=this._firstPT;a;)a.f?a.t[a.p](a.c*this.ratio+a.s):a.t[a.p]=a.c*this.ratio+a.s,a=a._next;this._onUpdate&&(0>t&&this._startAt&&this._startTime&&this._startAt.render(t,e,i),e||(this._totalTime!==g||n)&&this._onUpdate.apply(this.vars.onUp
vendor: 4,703 bytes, line 17
17dateScope||this,this.vars.onUpdateParams||c)),this._cycle!==v&&(e||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||c)),s&&(!this._gc||i)&&(0>t&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(t,e,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[s]&&this.vars[s].apply(this.vars[s+"Scope"]||this,this.vars[s+"Params"]||c),0===_&&this._rawPrevTime===r&&p!==r&&(this._rawPrevTime=0))},s.to=function(t,e,i){return new s(t,e,i)},s.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new s(t,e,i)},s.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new s(t,e,n)},s.staggerTo=s.allTo=function(t,e,r,o,u,h,d){o=o||0;var p,f,m,g,v=r.delay||0,_=[],y=function(){r.onComplete&&r.onComplete.apply(r.onCompleteScope||this,arguments),u.apply(d||this,h||c)};for(l(t)||("string"==typeof t&&(t=i.selector(t)||t),a(t)&&(t=n(t))),t=t||[],0>o&&(t=n(t),t.reverse(),o*=-1),p=t.length-1,m=0;p>=m;m++){f={};for(g in r)f[g]=r[g];f.delay=v,m===p&&u&&(f.onComplete=y),_[m]=new s(t[m],e,f),v+=o}return _},s.staggerFrom=s.allFrom=function(t,e,i,n,r,o,a){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,s.staggerTo(t,e,i,n,r,o,a)},s.staggerFromTo=s.allFromTo=function(t,e,i,n,r,o,a,l){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,s.staggerTo(t,e,n,r,o,a,l)},s.delayedCall=function(t,e,i,n,r){return new s(e,0,{delay:t,onComplete:e,onCompleteParams:i,onCompleteScope:n,onReverseComplete:e,onReverseCompleteParams:i,onReverseCompleteScope:n,immediateRender:!1,useFrames:r,overwrite:0})},s.set=function(t,e){return new s(t,0,e)},s.isTweening=function(t){return i.getTweensOf(t,!0).length>0};var h=function(t,e){for(var n=[],s=0,r=t._first;r;)r instanceof i?n[s++]=r:(e&&(n[s++]=r),n=n.concat(h(r,e)),s=n.length),r=r._next;return n},d=s.getAllTweens=function(e){return h(t._rootTimeline,e).concat(h(t._rootFramesTimeline,e))};s.killAll=function(t,i,n,s){null==i&&(i=!0),null==n&&(n=!0);var r,o,a,l=d(0!=s),u=l.length,c=i&&n&&s;for(a=0;u>a;a++)o=l[a],(c||o instanceof e||(r=o.target===o.vars.onComplete)&&n||i&&!r)&&(t?o.totalTime(o._reversed?0:o.totalDuration()):o._enabled(!1,!1))},s.killChildTweensOf=function(t,e){if(null!=t){var r,u,c,h,d,p=o.tweenLookup;if("string"==typeof t&&(t=i.selector(t)||t),a(t)&&(t=n(t)),l(t))for(h=t.length;--h>-1;)s.killChildTweensOf(t[h],e);else{r=[];for(c in p)for(u=p[c].target.parentNode;u;)u===t&&(r=r.concat(p[c].tweens)),u=u.parentNode;for(d=r.length,h=0;d>h;h++)e&&r[h].totalTime(r[h].totalDuration()),r[h]._enabled(!1,!1)}}};var p=function(t,i,n,s){i=!1!==i,n=!1!==n,s=!1!==s;for(var r,o,a=d(s),l=i&&n&&s,u=a.length;--u>-1;)o=a[u],(l||o instanceof e||(r=o.target===o.vars.onComplete)&&n||i&&!r)&&o.paused(t)};return s.pauseAll=function(t,e,i){p(!0,t,e,i)},s.resumeAll=function(t,e,i){p(!1,t,e,i)},s.globalTimeScale=function(e){var n=t._rootTimeline,s=i.ticker.time;return arguments.length?(e=e||r,n._startTime=s-(s-n._startTime)*n._timeScale/e,n=t._rootFramesTimeline,s=i.ticker.frame,n._startTime=s-(s-n._startTime)*n._timeScale/e,n._timeScale=t._rootTimeline._timeScale=e,e):n._timeScale},u.progress=function(t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),!1):this._time/this.duration()},u.totalProgress=function(t){return arguments.length?this.totalTime(this.totalDuration()*t,!1):this._totalTime/this.totalDuration()},u.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},u.duration=function(e){return arguments.length?t.prototype.duration.call(this,e):this._duration},u.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},u.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},u.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},u.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},s},!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,
17i){var n=function(t){e.call(this,t),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var i,n,s=this.vars;for(n in s)i=s[n],a(i)&&-1!==i.join("").indexOf("{self}")&&(s[n]=this._swapSelfInParams(i));a(s.tweens)&&this.add(s.tweens,0,s.align,s.stagger)},s=1e-10,r=i._internals,o=r.isSelector,a=r.isArray,l=r.lazyTweens,u=r.lazyRender,c=[],h=_gsScope._gsDefine.globals,d=function(t){var e,i={};for(e in t)i[e]=t[e];return i},p=function(t,e,i,n){var s=t._timeline,r=s._totalTime;!e&&this._forcingPlayhead||s._rawPrevTime===t._startTime||(s.pause(t._startTime),e&&e.apply(n||s,i||c),this._forcingPlayhead&&s.seek(r))},f=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},m=n.prototype=new e;return n.version="1.15.0",m.constructor=n,m.kill()._gc=m._forcingPlayhead=!1,m.to=function(t,e,n,s){var r=n.repeat&&h.TweenMax||i;return e?this.add(new r(t,e,n),s):this.set(t,n,s)},m.from=function(t,e,n,s){return this.add((n.repeat&&h.TweenMax||i).from(t,e,n),s)},m.fromTo=function(t,e,n,s,r){var o=s.repeat&&h.TweenMax||i;return e?this.add(o.fromTo(t,e,n,s),r):this.set(t,s,r)},m.staggerTo=function(t,e,s,r,a,l,u,c){var h,p=new n({onComplete:l,onCompleteParams:u,onCompleteScope:c,smoothChildTiming:this.smoothChildTiming});for("string"==typeof t&&(t=i.selector(t)||t),t=t||[],o(t)&&(t=f(t)),r=r||0,0>r&&(t=f(t),t.reverse(),r*=-1),h=0;t.length>h;h++)s.startAt&&(s.startAt=d(s.startAt)),p.to(t[h],e,d(s),h*r);return this.add(p,a)},m.staggerFrom=function(t,e,i,n,s,r,o,a){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,n,s,r,o,a)},m.staggerFromTo=function(t,e,i,n,s,r,o,a,l){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,n,s,r,o,a,l)},m.call=function(t,e,n,s){return this.add(i.delayedCall(0,t,e,n),s)},m.set=function(t,e,n){return n=this._parseTimeOrLabel(n,0,!0),null==e.immediateRender&&(e.immediateRender=n===this._time&&!this._paused),this.add(new i(t,0,e),n)},n.exportRoot=function(t,e){t=t||{},null==t.smoothChildTiming&&(t.smoothChildTiming=!0);var s,r,o=new n(t),a=o._timeline;for(null==e&&(e=!0),a._remove(o,!0),o._startTime=0,o._rawPrevTime=o._time=o._totalTime=a._time,s=a._first;s;)r=s._next,e&&s instanceof i&&s.target===s.vars.onComplete||o.add(s,s._startTime-s._delay),s=r;return a.add(o,0),o},m.add=function(s,r,o,l){var u,c,h,d,p,f;if("number"!=typeof r&&(r=this._parseTimeOrLabel(r,0,!0,s)),!(s instanceof t)){if(s instanceof Array||s&&s.push&&a(s)){for(o=o||"normal",l=l||0,u=r,c=s.length,h=0;c>h;h++)a(d=s[h])&&(d=new n({tweens:d})),this.add(d,u),"string"!=typeof d&&"function"!=typeof d&&("sequence"===o?u=d._startTime+d.totalDuration()/d._timeScale:"start"===o&&(d._startTime-=d.delay())),u+=l;return this._uncache(!0)}if("string"==typeof s)return this.addLabel(s,r);if("function"!=typeof s)throw"Cannot add "+s+" into the timeline; it is not a tween, timeline, function, or string.";s=i.delayedCall(0,s)}if(e.prototype.add.call(this,s,r),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(p=this,f=p.rawTime()>s._startTime;p._timeline;)f&&p._timeline.smoothChildTiming?p.totalTime(p._totalTime,!0):p._gc&&p._enabled(!0,!1),p=p._timeline;return this},m.remove=function(e){if(e instanceof t)return this._remove(e,!1);if(e instanceof Array||e&&e.push&&a(e)){for(var i=e.length;--i>-1;)this.remove(e[i]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},m._remove=function(t,i){e.prototype._remove.call(this,t,i);var n=this._last;return n?this._time>n._startTime+n._totalDuration/n._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},m.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},m.insert=m.insertMultiple=function(t,e,i,n){return this.add(t,e||0,i,n)},m.appendMultiple=function(t,e,i,n){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,n)},m.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},m.addPause=function(t,e,n,s){var r=i.delayedCall(0,p,["{self}",e,n,s],this);return r.data="isPause",this.add(r,t)},m.removeLabel=function(t){return delete this._labels[t],this},m.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},m._parseTimeOrLabel=function(e,i,n,s){var r;if(s instanceof t&&s.timeline===this)this.remove(s);else if(s&&(s instanceof Array||s.push&&a(s)))for(r=s.length;--r>-1;)s[r]instanceof t&&s[r].timeline===this&&this.remove(s[r]);if("string"==typeof i)return this._parseTimeOrLabel(i,n&&"number"==typeof e&&null==this._labels[i]?e-this.duration():0,n);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=this.duration());else{if(-1===(r=e.indexOf("=")))return null==this._labels[e]?n?this._labels[e]=this.duration()+i:i:this._labels[e]+i;i=parseInt(e.charAt(r-1)+"1",10)*Number(e.substr(r+1)),e=r>1?this._parseTimeOrLabel(e.substr(0,r-1),0,n):this.duration()}return Number(e)+i},m.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},m.stop=function(){return this.paused(!0)},m.gotoAndPlay=function(t,e){return this.play(t,e)},m.gotoAndStop=function(t,e){return this.pause(t,e)}
17,m.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var n,r,o,a,h,d=this._dirty?this.totalDuration():this._totalDuration,p=this._time,f=this._startTime,m=this._timeScale,g=this._paused;if(t>=d?(this._totalTime=this._time=d,this._reversed||this._hasPausedChild()||(r=!0,a="onComplete",0===this._duration&&(0===t||0>this._rawPrevTime||this._rawPrevTime===s)&&this._rawPrevTime!==t&&this._first&&(h=!0,this._rawPrevTime>s&&(a="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:s,t=d+1e-4):1e-7>t?(this._totalTime=this._time=0,(0!==p||0===this._duration&&this._rawPrevTime!==s&&(this._rawPrevTime>0||0>t&&this._rawPrevTime>=0))&&(a="onReverseComplete",r=this._reversed),0>t?(this._active=!1,this._rawPrevTime>=0&&this._first&&(h=!0),this._rawPrevTime=t):(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:s,t=0,this._initted||(h=!0))):this._totalTime=this._time=this._rawPrevTime=t,this._time!==p&&this._first||i||h){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==p&&t>0&&(this._active=!0),0===p&&this.vars.onStart&&0!==this._time&&(e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||c)),this._time>=p)for(n=this._first;n&&(o=n._next,!this._paused||g);)(n._active||n._startTime<=this._time&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=o;else for(n=this._last;n&&(o=n._prev,!this._paused||g);)(n._active||p>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=o;this._onUpdate&&(e||(l.length&&u(),this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||c))),a&&(this._gc||(f===this._startTime||m!==this._timeScale)&&(0===this._time||d>=this.totalDuration())&&(r&&(l.length&&u(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this.vars[a].apply(this.vars[a+"Scope"]||this,this.vars[a+"Params"]||c)))}},m._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof n&&t._hasPausedChild())return!0;t=t._next}return!1},m.getChildren=function(t,e,n,s){s=s||-9999999999;for(var r=[],o=this._first,a=0;o;)s>o._startTime||(o instanceof i?!1!==e&&(r[a++]=o):(!1!==n&&(r[a++]=o),!1!==t&&(r=r.concat(o.getChildren(!0,e,n)),a=r.length))),o=o._next;return r},m.getTweensOf=function(t,e){var n,s,r=this._gc,o=[],a=0;for(r&&this._enabled(!0,!0),n=i.getTweensOf(t),s=n.length;--s>-1;)(n[s].timeline===this||e&&this._contains(n[s]))&&(o[a++]=n[s]);return r&&this._enabled(!1,!0),o},m.recent=function(){return this._recent},m._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},m.shiftChildren=function(t,e,i){i=i||0;for(var n,s=this._first,r=this._labels;s;)s._startTime>=i&&(s._startTime+=t),s=s._next;if(e)for(n in r)r[n]>=i&&(r[n]+=t);return this._uncache(!0)},m._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),n=i.length,s=!1;--n>-1;)i[n]._kill(t,e)&&(s=!0);return s},m.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)}
17,m.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},m._enabled=function(t,i){if(t===this._gc)for(var n=this._first;n;)n._enabled(t,!0),n=n._next;return e.prototype._enabled.call(this,t,i)},m.totalTime=function(){this._forcingPlayhead=!0;var e=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,e},m.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},m.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,n=0,s=this._last,r=999999999999;s;)e=s._prev,s._dirty&&s.totalDuration(),s._startTime>r&&this._sortChildren&&!s._paused?this.add(s,s._startTime-s._delay):r=s._startTime,0>s._startTime&&!s._paused&&(n-=s._startTime,this._timeline.smoothChildTiming&&(this._startTime+=s._startTime/this._timeScale),this.shiftChildren(-s._startTime,!1,-9999999999),r=0),i=s._startTime+s._totalDuration/s._timeScale,i>n&&(n=i),s=e;this._duration=this._totalDuration=n,this._dirty=!1}return this._totalDuration}return 0!==this.totalDuration()&&0!==t&&this.timeScale(this._totalDuration/t),this},m.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},m.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},n},!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(t,e,i){var n=function(e){t.call(this,e),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!0===this.vars.yoyo,this._dirty=!0},s=1e-10,r=[],o=e._internals,a=o.lazyTweens,l=o.lazyRender,u=new i(null,null,1,0),c=n.prototype=new t;return c.constructor=n,c.kill()._gc=!1,n.version="1.15.0",c.invalidate=function(){return this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),t.prototype.invalidate.call(this)},c.addCallback=function(t,i,n,s){return this.add(e.delayedCall(0,t,n,s),i)},c.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),n=i.length,s=this._parseTimeOrLabel(e);--n>-1;)i[n]._startTime===s&&i[n]._enabled(!1,!1);return this},c.tweenTo=function(t,i){i=i||{};var n,s,o,a={ease:u,overwrite:i.delay?2:1,useFrames:this.usesFrames(),immediateRender:!1};for(s in i)a[s]=i[s];return a.time=this._parseTimeOrLabel(t),n=Math.abs(Number(a.time)-this._time)/this._timeScale||.001,o=new e(this,n,a),a.onStart=function(){o.target.paused(!0),o.vars.time!==o.target.time()&&n===o.duration()&&o.duration(Math.abs(o.vars.time-o.target.time())/o.target._timeScale),i.onStart&&i.onStart.apply(i.onStartScope||o,i.onStartParams||r)},o},c.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],onCompleteScope:this},i.immediateRender=!1!==i.immediateRender;var n=this.tweenTo(e,i);return n.duration(Math.abs(n.vars.time-t)/this._timeScale||.001)},c.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var n,o,u,c,h,d,p=this._dirty?this.totalDuration():this._totalDuration,f=this._duration,m=this._time,g=this._totalTime,v=this._startTime,_=this._timeScale,y=this._rawPrevTime,b=this._paused,w=this._cycle;if(t>=p?(this._locked||(this._totalTime=p,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(o=!0,c="onComplete",0===this._duration&&(0===t||0>y||y===s)&&y!==t&&this._first&&(h=!0,y>s&&(c="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:s,this._yoyo&&0!=(1&this._cycle)?this._time=t=0:(this._time=f,t=f+1e-4)):1e-7>t?(this._locked||(this._totalTime=this._cycle=0),this._time=0,(0!==m||0===f&&y!==s&&(y>0||0>t&&y>=0)&&!this._locked)&&(c="onReverseComplete",o=this._reversed),0>t?(this._active=!1,y>=0&&this._first&&(h=!0),this._rawPrevTime=t):(this._rawPrevTime=f||!e||t||this._rawPrevTime===t?t:s,t=0,this._initted||(h=!0))):(0===f&&0>y&&(h=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(d=f+this._repeatDelay,this._cycle=this._totalTime/d>>0,0!==this._cycle&&this._cycle===this._totalTime/d&&this._cycle--,this._time=this._totalTime-this._cycle*d,this._yoyo&&0!=(1&this._cycle)&&(this._time=f-this._time),this._time>f?(this._time=f,t=f+1e-4):0>this._time?this._time=t=0:t=this._time))),this._cycle!==w&&!this._locked){var x=this._yoyo&&0!=(1&w),S=x===(this._yoyo&&0!=(1&this._cycle)),T=this._totalTime,C=this._cycle,k=this._rawPrevTime,P=this._time;if(this._totalTime=w*f,w>this._cycle?x=!x:this._totalTime+=f,this._time=m,this._rawPrevTime=0===f?y-1e-4:y,this._cycle=w,this._locked=!0,m=x?0:f,this.render(m,e,0===f),e||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||r),S&&(m=x?f+1e-4:-1e-4,this.render(m,!0,!1)),this._locked=!1,this._paused&&!b)return;this._time=P,this._totalTime=T,this._cycle=C,this._rawPrevTime=k}if(!(this._time!==m&&this._first||i||h))return void(g!==this._totalTime&&this._onUpdate&&(e||this._onUpdate.apply(this.vars.onUp
vendor: 14,220 bytes, lines 17-18
17dateScope||this,this.vars.onUpdateParams||r)));if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==g&&t>0&&(this._active=!0),0===g&&this.vars.onStart&&0!==this._totalTime&&(e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||r)),this._time>=m)for(n=this._first;n&&(u=n._next,!this._paused||b);)(n._active||n._startTime<=this._time&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=u;else for(n=this._last;n&&(u=n._prev,!this._paused||b);)(n._active||m>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=u;this._onUpdate&&(e||(a.length&&l(),this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||r))),c&&(this._locked||this._gc||(v===this._startTime||_!==this._timeScale)&&(0===this._time||p>=this.totalDuration())&&(o&&(a.length&&l(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[c]&&this.vars[c].apply(this.vars[c+"Scope"]||this,this.vars[c+"Params"]||r)))},c.getActive=function(t,e,i){null==t&&(t=!0),null==e&&(e=!0),null==i&&(i=!1);var n,s,r=[],o=this.getChildren(t,e,i),a=0,l=o.length;for(n=0;l>n;n++)s=o[n],s.isActive()&&(r[a++]=s);return r},c.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e,i=this.getLabelsArray(),n=i.length;for(e=0;n>e;e++)if(i[e].time>t)return i[e].name;return null},c.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;--i>-1;)if(t>e[i].time)return e[i].name;return null},c.getLabelsArray=function(){var t,e=[],i=0;for(t in this._labels)e[i++]={time:this._labels[t],name:t};return e.sort(function(t,e){return t.time-e.time}),e},c.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()},c.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},c.totalDuration=function(e){return arguments.length?-1===this._repeat?this:this.duration((e-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(t.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},c.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},c.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},c.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},c.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},c.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},n},!0),function(){var t=180/Math.PI,e=[],i=[],n=[],s={},r=_gsScope._gsDefine.globals,o=function(t,e,i,n){this.a=t,this.b=e,this.c=i,this.d=n,this.da=n-t,this.ca=i-t,this.ba=e-t},a=",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",l=function(t,e,i,n){var s={a:t},r={},o={},a={c:n},l=(t+e)/2,u=(e+i)/2,c=(i+n)/2,h=(l+u)/2,d=(u+c)/2,p=(d-h)/8;return s.b=l+(t-l)/4,r.b=h+p,s.c=r.a=(s.b+r.b)/2,r.c=o.a=(h+d)/2,o.b=d-p,a.b=c+(n-c)/4,o.c=a.a=(o.b+a.b)/2,[s,r,o,a]},u=function(t,s,r,o,a){var u,c,h,d,p,f,m,g,v,_,y,b,w,x=t.length-1,S=0,T=t[0].a;for(u=0;x>u;u++)p=t[S],c=p.a,h=p.d,d=t[S+1].d,a?(y=e[u],b=i[u],w=.25*(b+y)*s/(o?.5:n[u]||.5),f=h-(h-c)*(o?.5*s:0!==y?w/y:0),m=h+(d-h)*(o?.5*s:0!==b?w/b:0),g=h-(f+((m-f)*(3*y/(y+b)+.5)/4||0))):(f=h-.5*(h-c)*s,m=h+.5*(d-h)*s,g=h-(f+m)/2),f+=g,m+=g,p.c=v=f,p.b=0!==u?T:T=p.a+.6*(p.c-p.a),p.da=h-c,p.ca=v-c,p.ba=T-c,r?(_=l(c,T,v,h),t.splice(S,1,_[0],_[1],_[2],_[3]),S+=4):S++,T=m;p=t[S],p.b=T,p.c=T+.4*(p.d-T),p.da=p.d-p.a,p.ca=p.c-p.a,p.ba=T-p.a,r&&(_=l(p.a,T,p.c,p.d),t.splice(S,1,_[0],_[1],_[2],_[3]))},c=function(t,n,s,r){var a,l,u,c,h,d,p=[];if(r)for(t=[r].concat(t),l=t.length;--l>-1;)"string"==typeof(d=t[l][n])&&"="===d.charAt(1)&&(t[l][n]=r[n]+Number(d.charAt(0)+d.substr(2)));if(0>(a=t.length-2))return p[0]=new o(t[0][n],0,0,t[-1>a?0:1][n]),p;for(l=0;a>l;l++)u=t[l][n],c=t[l+1][n],p[l]=new o(u,0,0,c),s&&(h=t[l+2][n],e[l]=(e[l]||0)+(c-u)*(c-u),i[l]=(i[l]||0)+(h-c)*(h-c));return p[l]=new o(t[l][n],0,0,t[l+1][n]),p},h=function(t,r,o,l,h,d){var p,f,m,g,v,_,y,b,w={},x=[],S=d||t[0];h="string"==typeof h?","+h+",":a,null==r&&(r=1);for(f in t[0])x.push(f);if(t.length>1){for(b=t[t.length-1],y=!0,p=x.length;--p>-1;)if(f=x[p],Math.abs(S[f]-b[f])>.05){y=!1;break}y&&(t=t.concat(),d&&t.unshift(d),t.push(t[1]),d=t[t.length-3])}for(e.length=i.length=n.length=0,p=x.length;--p>-1;)f=x[p],s[f]=-1!==h.indexOf(","+f+","),w[f]=c(t,f,s[f],d);for(p=e.length;--p>-1;)e[p]=Math.sqrt(e[p]),i[p]=Math.sqrt(i[p]);if(!l){for(p=x.length;--p>-1;)if(s[f])for(m=w[x[p]],_=m.length-1,g=0;_>g;g++)v=m[g+1].da/i[g]+m[g].da/e[g],n[g]=(n[g]||0)+v*v;for(p=n.length;--p>-1;)n[p]=Math.sqrt(n[p])}for(p=x.length,g=o?4:1;--p>-1;)f=x[p],m=w[f],u(m,r,o,l,s[f]),y&&(m.splice(0,g),m.splice(m.length-g,g));return w},d=function(t,e,i){e=e||"soft";var n,s,r,a,l,u,c,h,d,p,f,m={},g="cubic"===e?3:2,v="soft"===e,_=[];if(v&&i&&(t=[i].concat(t)),null==t||g+1>t.length)throw"invalid Bezier data";for(d in t[0])_.push(d);for(u=_.length;--u>-1;){for(d=_[u],m[d]=l=[],p=0,h=t.length,c=0;h>c;c++)n=null==i?t[c][d]:"string"==typeof(f=t[c][d])&&"="===f.charAt(1)?i[d]+Number(f.charAt(0)+f.substr(2)):Number(f),v&&c>1&&h-1>c&&(l[p++]=(n+l[p-2])/2),l[p++]=n;for(h=p-g+1,p=0,c=0;h>c;c+=g)n=l[c],s=l[c+1],r=l[c+2],a=2===g?0:l[c+3],l[p++]=f=3===g?new o(n,s,r,a):new o(n,(2*s+n)/3,(2*s+r)/3,r);l.length=p}return m},p=function(t,e,i){for(var n,s,r,o,a,l,u,c,h,d,p,f=1/i,m=t.length;--m>-1;)for(d=t[m],r=d.a,o=d.d-r,a=d.c-r,l=d.b-r,n=s=0,c=1;i>=c;c++)u=f*c,h=1-u,n=s-(s=(u*u*o+3*h*(u*a+h*l))*u),p=m*i+c-1,e[p]=(e[p]||0)+n*n},f=function(t,e){e=e>>0||6;var i,n,s,r,o=[],a=[],l=0,u=0,c=e-1,h=[],d=[];for(i in t)p(t[i],o,e);for(s=o.length,n=0;s>n;n++)l+=Math.sqrt(o[n]),r=n%e,d[r]=l,r===c&&(u+=l,r=n/e>>0,h[r]=d,a[r]=u,l=0,d=[]);return{length:u,lengths:a,segments:h}},m=_gsScope._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.4",API:2,global:!0,init:function(t,e,i){this._target=t,e instanceof Array&&(e={values:e}),this._func={},this._round={},this._props=[],this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution,10);var n,s,r,o,a,l=e.values||[],u={},c=l[0],p=e.autoRotate||i.vars.orientToBezier;this._autoRotate=p?p instanceof Array?p:[["x","y","rotation",!0===p?0:Number(p)||0]]:null;for(n in c)this._props.push(n);for(r=this._props.length;--r>-1;)n=this._props[r],this._overwriteProps.push(n),s=this._func[n]="function"==typeof t[n],u[n]=s?t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]():parseFloat(t[n]),a||u[n]!==l[0][n]&&(a=u);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?h(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,a):d(l,e.type,u),this._segCount=this._beziers[n].length,this._timeRes){var m=f(this._beziers,this._timeRes);this._length=m.length,this._lengths=m.lengths,this._segments=m.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(p=this._autoRotate)for(this._initialRotations=[],p[0]instanceof Array||(this._autoRotate=p=[p]),r=p.length;--r>-1;){for(o=0;3>o;o++)n=p[r][o],this._func[n]="function"==typeof t[n]&&t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)];n=p[r][2],this._initialRotations[r]=this._func[n]?this._func[n].call(this._target):this._target[n]}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(e){var i,n,s,r,o,a,l,u,c,h,d=this._segCount,p=this._func,f=this._target,m=e!==this._startRatio;if(this._timeRes){if(c=this._lengths,h=this._curSeg,e*=this._length,s=this._li,e>this._l2&&d-1>s){for(u=d-1;u>s&&e>=(this._l2=c[++s]););this._l1=c[s-1],this._li=s,this._curSeg=h=this._segments[s],this._s2=h[this._s1=this._si=0]}else if(this._l1>e&&s>0){for(;s>0&&(this._l1=c[--s])>=e;);0===s&&this._l1>e?this._l1=0:s++,this._l2=c[s],this._li=s,this._curSeg=h=this._segments[s],this._s1=h[(this._si=h.length-1)-1]||0,this._s2=h[this._si]}if(i=s,
18e-=this._l1,s=this._si,e>this._s2&&h.length-1>s){for(u=h.length-1;u>s&&e>=(this._s2=h[++s]););this._s1=h[s-1],this._si=s}else if(this._s1>e&&s>0){for(;s>0&&(this._s1=h[--s])>=e;);0===s&&this._s1>e?this._s1=0:s++,this._s2=h[s],this._si=s}a=(s+(e-this._s1)/(this._s2-this._s1))*this._prec}else i=0>e?0:e>=1?d-1:d*e>>0,a=(e-i*(1/d))*d;for(n=1-a,s=this._props.length;--s>-1;)r=this._props[s],o=this._beziers[r][i],l=(a*a*o.da+3*n*(a*o.ca+n*o.ba))*a+o.a,this._round[r]&&(l=Math.round(l)),p[r]?f[r](l):f[r]=l;if(this._autoRotate){var g,v,_,y,b,w,x,S=this._autoRotate;for(s=S.length;--s>-1;)r=S[s][2],w=S[s][3]||0,x=!0===S[s][4]?1:t,o=this._beziers[S[s][0]],g=this._beziers[S[s][1]],o&&g&&(o=o[i],g=g[i],v=o.a+(o.b-o.a)*a,y=o.b+(o.c-o.b)*a,v+=(y-v)*a,y+=(o.c+(o.d-o.c)*a-y)*a,_=g.a+(g.b-g.a)*a,b=g.b+(g.c-g.b)*a,_+=(b-_)*a,b+=(g.c+(g.d-g.c)*a-b)*a,l=m?Math.atan2(b-_,y-v)*x+w:this._initialRotations[s],p[r]?f[r](l):f[r]=l)}}}),g=m.prototype;m.bezierThrough=h,m.cubicToQuadratic=l,m._autoCSS=!0,m.quadraticToCubic=function(t,e,i){return new o(t,(2*e+t)/3,(2*e+i)/3,i)},m._cssRegister=function(){var t=r.CSSPlugin;if(t){var e=t._internals,i=e._parseToProxy,n=e._setPluginRatio,s=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,r,o,a,l){e instanceof Array&&(e={values:e}),l=new m;var u,c,h,d=e.values,p=d.length-1,f=[],g={};if(0>p)return a;for(u=0;p>=u;u++)h=i(t,d[u],o,a,l,p!==u),f[u]=h.end;for(c in e)g[c]=e[c];return g.values=f,a=new s(t,"bezier",0,0,h.pt,2),a.data=h,a.plugin=l,a.setRatio=n,0===g.autoRotate&&(g.autoRotate=!0),!g.autoRotate||g.autoRotate instanceof Array||(u=!0===g.autoRotate?0:Number(g.autoRotate),g.autoRotate=null!=h.end.left?[["left","top","rotation",u,!1]]:null!=h.end.x&&[["x","y","rotation",u,!1]]),g.autoRotate&&(o._transform||o._enableTransforms(!1),h.autoRotate=o._target._gsTransform),l._onInitTween(h.proxy,g,o._tween),a}})}},g._roundProps=function(t,e){for(var i=this._overwriteProps,n=i.length;--n>-1;)(t[i[n]]||t.bezier||t.bezierThrough)&&(this._round[i[n]]=e)},g._kill=function(t){var e,i,n=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=n.length;--i>-1;)n[i]===e&&n.splice(i,1);return this._super._kill.call(this,t)}}(),_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(t,e){var i,n,s,r,o=function(){t.call(this,"css"),this._overwriteProps.length=0,this.setRatio=o.prototype.setRatio},a=_gsScope._gsDefine.globals,l={},u=o.prototype=new t("css");u.constructor=o,o.version="1.15.0",o.API=2,o.defaultTransformPerspective=0,o.defaultSkewType="compensated",u="px",o.suffixMap={top:u,right:u,bottom:u,left:u,width:u,height:u,fontSize:u,padding:u,margin:u,perspective:u,lineHeight:""};var c,h,d,p,f,m,g=/(?:\d|\-\d|\.\d|\-\.\d)+/g,v=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,_=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,y=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,b=/(?:\d|\-|\+|=|#|\.)*/g,w=/opacity *= *([^)]*)/i,x=/opacity:([^;]*)/i,S=/alpha\(opacity *=.+?\)/i,T=/^(rgb|hsl)/,C=/([A-Z])/g,k=/-([a-z])/gi,P=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,D=function(t,e){return e.toUpperCase()},j=/(?:Left|Right|Width)/i,I=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,E=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,A=/,(?=[^\)]*(?:\(|$))/gi,M=Math.PI/180,L=180/Math.PI,R={},F=document,N=function(t){return F.createElementNS?F.createElementNS("http://www.w3.org/1999/xhtml",t):F.createElement(t)},O=N("div"),z=N("img"),H=o._internals={_specialProps:l},B=navigator.userAgent,W=function(){var t=B.indexOf("Android"),e=N("a");return d=-1!==B.indexOf("Safari")&&-1===B.indexOf("Chrome")&&(-1===t||Number(B.substr(t+8,1))>3),f=d&&6>Number(B.substr(B.indexOf("Version/")+8,1)),p=-1!==B.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(B)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(B))&&(m=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),q=function(t){return w.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},U=function(t){window.console&&console.log(t)},V="",X="",Y=function(t,e){e=e||O;var i,n,s=e.style;if(void 0!==s[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],n=5;--n>-1&&void 0===s[i[n]+t];);return n>=0?(X=3===n?"ms":i[n],V="-"+X.toLowerCase()+"-",X+t):null},Q=F.defaultView?F.defaultView.getComputedStyle:function(){},G=o.getStyle=function(t,e,i,n,s){var r;return W||"opacity"!==e?(!n&&t.style[e]?r=t.style[e]:(i=i||Q(t))?r=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(C,"-$1").toLowerCase()):t.currentStyle&&(r=t.currentStyle[e]),null==s||r&&"none"!==r&&"auto"!==r&&"auto auto"!==r?r:s):q(t)},$=H.convertToPixels=function(t,i,n,s,r){if("px"===s||!s)return n;if("auto"===s||!n)return 0;var a,l,u,c=j.test(i),h=t,d=O.style,p=0>n;if(p&&(n=-n),"%"===s&&-1!==i.indexOf("border"))a=n/100*(c?t.clientWidth:t.clientHeight);else{if(d.cssText="border:0 solid red;position:"+G(t,"position")+";line-height:0;","%"!==s&&h.appendChild)d[c?"borderLeftWidth":"borderTopWidth"]=n+s;else{if(h=t.parentNode||F.body,l=h._gsCache,u=e.ticker.frame,l&&c&&l.time===u)return l.width*n/100;d[c?"width":"height"]=n+s}h.appendChild(O),a=parseFloat(O[c?"offsetWidth":"offsetHeight"]),h.removeChild(O),c&&"%"===s&&!1!==o.cacheWidths&&(l=h._gsCache=h._gsCache||{},l.time=u,l.width=a/n*100),0!==a||r||(a=$(t,i,n,s,!0))}return p?-a:a}
18,J=H.calculateOffset=function(t,e,i){if("absolute"!==G(t,"position",i))return 0;var n="left"===e?"Left":"Top",s=G(t,"margin"+n,i);return t["offset"+n]-($(t,e,parseFloat(s),s.replace(b,""))||0)},Z=function(t,e){var i,n,s={};if(e=e||Q(t,null))if(i=e.length)for(;--i>-1;)s[e[i].replace(k,D)]=e.getPropertyValue(e[i]);else for(i in e)s[i]=e[i];else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===s[i]&&(s[i.replace(k,D)]=e[i]);return W||(s.opacity=q(t)),n=At(t,e,!1),s.rotation=n.rotation,s.skewX=n.skewX,s.scaleX=n.scaleX,s.scaleY=n.scaleY,s.x=n.x,s.y=n.y,Ct&&(s.z=n.z,s.rotationX=n.rotationX,s.rotationY=n.rotationY,s.scaleZ=n.scaleZ),s.filters&&delete s.filters,s},K=function(t,e,i,n,s){var r,o,a,l={},u=t.style;for(o in i)"cssText"!==o&&"length"!==o&&isNaN(o)&&(e[o]!==(r=i[o])||s&&s[o])&&-1===o.indexOf("Origin")&&("number"==typeof r||"string"==typeof r)&&(l[o]="auto"!==r||"left"!==o&&"top"!==o?""!==r&&"auto"!==r&&"none"!==r||"string"!=typeof e[o]||""===e[o].replace(y,"")?r:0:J(t,o),void 0!==u[o]&&(a=new pt(u,o,u[o],a)));if(n)for(o in n)"className"!==o&&(l[o]=n[o]);return{difs:l,firstMPT:a}},tt={width:["Left","Right"],height:["Top","Bottom"]},et=["marginLeft","marginRight","marginTop","marginBottom"],it=function(t,e,i){var n=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),s=tt[e],r=s.length;for(i=i||Q(t,null);--r>-1;)n-=parseFloat(G(t,"padding"+s[r],i,!0))||0,n-=parseFloat(G(t,"border"+s[r]+"Width",i,!0))||0;return n},nt=function(t,e){(null==t||""===t||"auto"===t||"auto auto"===t)&&(t="0 0");var i=t.split(" "),n=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":i[0],s=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":i[1];return null==s?s="0":"center"===s&&(s="50%"),("center"===n||isNaN(parseFloat(n))&&-1===(n+"").indexOf("="))&&(n="50%"),e&&(e.oxp=-1!==n.indexOf("%"),e.oyp=-1!==s.indexOf("%"),e.oxr="="===n.charAt(1),e.oyr="="===s.charAt(1),e.ox=parseFloat(n.replace(y,"")),e.oy=parseFloat(s.replace(y,""))),n+" "+s+(i.length>2?" "+i[2]:"")},st=function(t,e){return"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)},rt=function(t,e){return null==t?e:"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)},ot=function(t,e,i,n){var s,r,o,a,l=1e-6;return null==t?a=e:"number"==typeof t?a=t:(s=360,r=t.split("_"),o=Number(r[0].replace(y,""))*(-1===t.indexOf("rad")?1:L)-("="===t.charAt(1)?0:e),r.length&&(n&&(n[i]=e+o),-1!==t.indexOf("short")&&(o%=s)!==o%(s/2)&&(o=0>o?o+s:o-s),-1!==t.indexOf("_cw")&&0>o?o=(o+9999999999*s)%s-(0|o/s)*s:-1!==t.indexOf("ccw")&&o>0&&(o=(o-9999999999*s)%s-(0|o/s)*s)),a=e+o),l>a&&a>-l&&(a=0),a},at={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},lt=function(t,e,i){return t=0>t?t+1:t>1?t-1:t,0|255*(1>6*t?e+6*(i-e)*t:.5>t?i:2>3*t?e+6*(i-e)*(2/3-t):e)+.5},ut=o.parseColor=function(t){var e,i,n,s,r,o;return t&&""!==t?"number"==typeof t?[t>>16,255&t>>8,255&t]:(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),at[t]?at[t]:"#"===t.charAt(0)?(4===t.length&&(e=t.charAt(1),i=t.charAt(2),n=t.charAt(3),t="#"+e+e+i+i+n+n),t=parseInt(t.substr(1),16),[t>>16,255&t>>8,255&t]):"hsl"===t.substr(0,3)?(t=t.match(g),s=Number(t[0])%360/360,r=Number(t[1])/100,o=Number(t[2])/100,i=.5>=o?o*(r+1):o+r-o*r,e=2*o-i,t.length>3&&(t[3]=Number(t[3])),t[0]=lt(s+1/3,e,i),t[1]=lt(s,e,i),t[2]=lt(s-1/3,e,i),t):(t=t.match(g)||at.transparent,t[0]=Number(t[0]),t[1]=Number(t[1]),t[2]=Number(t[2]),t.length>3&&(t[3]=Number(t[3])),t)):at.black},ct="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#.+?\\b";for(u in at)ct+="|"+u+"\\b";ct=RegExp(ct+")","gi");var ht=function(t,e,i,n){if(null==t)return function(t){return t};var s,r=e?(t.match(ct)||[""])[0]:"",o=t.split(r).join("").match(_)||[],a=t.substr(0,t.indexOf(o[0])),l=")"===t.charAt(t.length-1)?")":"",u=-1!==t.indexOf(" ")?" ":",",c=o.length,h=c>0?o[0].replace(g,""):"";return c?s=e?function(t){var e,d,p,f;if("number"==typeof t)t+=h;else if(n&&A.test(t)){for(f=t.replace(A,"|").split("|"),p=0;f.length>p;p++)f[p]=s(f[p]);return f.join(",")}if(e=(t.match(ct)||[r])[0],d=t.split(e).join("").match(_)||[],p=d.length,c>p--)for(;c>++p;)d[p]=i?d[0|(p-1)/2]:o[p];return a+d.join(u)+u+e+l+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,r,d;if("number"==typeof t)t+=h;else if(n&&A.test(t)){for(r=t.replace(A,"|").split("|"),d=0;r.length>d;d++)r[d]=s(r[d]);return r.join(",")}if(e=t.match(_)||[],d=e.length,c>d--)for(;c>++d;)e[d]=i?e[0|(d-1)/2]:o[d];return a+e.join(u)+l}:function(t){return t}},dt=function(t){return t=t.split(","),function(e,i,n,s,r,o,a){var l,u=(i+"").split(" ");for(a={},l=0;4>l;l++)a[t[l]]=u[l]=u[l]||u[(l-1)/2>>0];return s.parse(e,a,r,o)}},pt=(H._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,n,s,r=this.data,o=r.proxy,a=r.firstMPT,l=1e-6;a;)e=o[a.v],a.r?e=Math.round(e):l>e&&e>-l&&(e=0),a.t[a.p]=e,a=a._next;if(r.autoRotate&&(r.autoRotate.rotation=o.rotation),1===t)for(a=r.firstMPT;a;){if(i=a.t,i.type){if(1===i.type){for(s=i.xs0+i.s+i.xs1,n=1;i.l>n;n++)s+=i["xn"+n]+i["xs"+(n+1)];i.e=s}}else i.e=i.s+i.xs0;a=a._next}}
18,function(t,e,i,n,s){this.t=t,this.p=e,this.v=i,this.r=s,n&&(n._prev=this,this._next=n)}),ft=(H._parseToProxy=function(t,e,i,n,s,r){var o,a,l,u,c,h=n,d={},p={},f=i._transform,m=R;for(i._transform=null,R=e,n=c=i.parse(t,e,n,s),R=m,r&&(i._transform=f,h&&(h._prev=null,h._prev&&(h._prev._next=null)));n&&n!==h;){if(1>=n.type&&(a=n.p,p[a]=n.s+n.c,d[a]=n.s,r||(u=new pt(n,"s",a,u,n.r),n.c=0),1===n.type))for(o=n.l;--o>0;)l="xn"+o,a=n.p+"_"+l,p[a]=n.data[l],d[a]=n[l],r||(u=new pt(n,l,a,u,n.rxp[l]));n=n._next}return{proxy:d,end:p,firstMPT:u,pt:c}},H.CSSPropTween=function(t,e,n,s,o,a,l,u,c,h,d){this.t=t,this.p=e,this.s=n,this.c=s,this.n=l||e,t instanceof ft||r.push(this.n),this.r=u,this.type=a||0,c&&(this.pr=c,i=!0),this.b=void 0===h?n:h,this.e=void 0===d?n+s:d,o&&(this._next=o,o._prev=this)}),mt=o.parseComplex=function(t,e,i,n,s,r,o,a,l,u){i=i||r||"",o=new ft(t,e,0,0,o,u?2:1,null,!1,a,i,n),n+="";var h,d,p,f,m,_,y,b,w,x,S,C,k=i.split(", ").join(",").split(" "),P=n.split(", ").join(",").split(" "),D=k.length,j=!1!==c;for((-1!==n.indexOf(",")||-1!==i.indexOf(","))&&(k=k.join(" ").replace(A,", ").split(" "),P=P.join(" ").replace(A,", ").split(" "),D=k.length),D!==P.length&&(k=(r||"").split(" "),D=k.length),o.plugin=l,o.setRatio=u,h=0;D>h;h++)if(f=k[h],m=P[h],(b=parseFloat(f))||0===b)o.appendXtra("",b,st(m,b),m.replace(v,""),j&&-1!==m.indexOf("px"),!0);else if(s&&("#"===f.charAt(0)||at[f]||T.test(f)))C=","===m.charAt(m.length-1)?"),":")",f=ut(f),m=ut(m),w=f.length+m.length>6,w&&!W&&0===m[3]?(o["xs"+o.l]+=o.l?" transparent":"transparent",o.e=o.e.split(P[h]).join("transparent")):(W||(w=!1),o.appendXtra(w?"rgba(":"rgb(",f[0],m[0]-f[0],",",!0,!0).appendXtra("",f[1],m[1]-f[1],",",!0).appendXtra("",f[2],m[2]-f[2],w?",":C,!0),w&&(f=4>f.length?1:f[3],o.appendXtra("",f,(4>m.length?1:m[3])-f,C,!1)));else if(_=f.match(g)){if(!(y=m.match(v))||y.length!==_.length)return o;for(p=0,d=0;_.length>d;d++)S=_[d],x=f.indexOf(S,p),o.appendXtra(f.substr(p,x-p),Number(S),st(y[d],S),"",j&&"px"===f.substr(x+S.length,2),0===d),p=x+S.length;o["xs"+o.l]+=f.substr(p)}else o["xs"+o.l]+=o.l?" "+f:f;if(-1!==n.indexOf("=")&&o.data){for(C=o.xs0+o.data.s,h=1;o.l>h;h++)C+=o["xs"+h]+o.data["xn"+h];o.e=C+o["xs"+h]}return o.l||(o.type=-1,o.xs0=o.e),o.xfirst||o},gt=9;for(u=ft.prototype,u.l=u.pr=0;--gt>0;)u["xn"+gt]=0,u["xs"+gt]="";u.xs0="",u._next=u._prev=u.xfirst=u.data=u.plugin=u.setRatio=u.rxp=null,u.appendXtra=function(t,e,i,n,s,r){var o=this,a=o.l;return o["xs"+a]+=r&&a?" "+t:t||"",i||0===a||o.plugin?(o.l++,o.type=o.setRatio?2:1,o["xs"+o.l]=n||"",a>0?(o.data["xn"+a]=e+i,o.rxp["xn"+a]=s,o["xn"+a]=e,o.plugin||(o.xfirst=new ft(o,"xn"+a,e,i,o.xfirst||o,0,o.n,s,o.pr),o.xfirst.xs0=0),o):(o.data={s:e+i},o.rxp={},o.s=e,o.c=i,o.r=s,o)):(o["xs"+a]+=e+(n||""),o)};var vt=function(t,e){e=e||{},this.p=e.prefix?Y(t)||t:t,l[t]=l[this.p]=this,this.format=e.formatter||ht(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.pr=e.priority||0},_t=H._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var n,s,r=t.split(","),o=e.defaultValue;for(i=i||[o],n=0;r.length>n;n++)e.prefix=0===n&&e.prefix,e.defaultValue=i[n]||o,s=new vt(r[n],e)},yt=function(t){if(!l[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";_t(t,{parser:function(t,i,n,s,r,o,u){var c=a.com.greensock.plugins[e];return c?(c._cssRegister(),l[n].parse(t,i,n,s,r,o,u)):(U("Error: "+e+" js file not loaded."),r)}})}};u=vt.prototype,u.parseComplex=function(t,e,i,n,s,r){var o,a,l,u,c,h,d=this.keyword;if(this.multi&&(A.test(i)||A.test(e)?(a=e.replace(A,"|").split("|"),l=i.replace(A,"|").split("|")):d&&(a=[e],l=[i])),l){for(u=l.length>a.length?l.length:a.length,o=0;u>o;o++)e=a[o]=a[o]||this.dflt,i=l[o]=l[o]||this.dflt,d&&(c=e.indexOf(d),h=i.indexOf(d),c!==h&&(i=-1===h?l:a,i[o]+=" "+d));e=a.join(", "),i=l.join(", ")}return mt(t,this.p,e,i,this.clrs,this.dflt,n,this.pr,s,r)},u.parse=function(t,e,i,n,r,o){return this.parseComplex(t.style,this.format(G(t,this.p,s,!1,this.dflt)),this.format(e),r,o)}
18,o.registerSpecialProp=function(t,e,i){_t(t,{parser:function(t,n,s,r,o,a){var l=new ft(t,s,0,0,o,2,s,!1,i);return l.plugin=a,l.setRatio=e(t,n,r._tween,s),l},priority:i})};var bt,wt="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),xt=Y("transform"),St=V+"transform",Tt=Y("transformOrigin"),Ct=null!==Y("perspective"),kt=H.Transform=function(){this.perspective=parseFloat(o.defaultTransformPerspective)||0,this.force3D=!(!1===o.defaultForce3D||!Ct)&&(o.defaultForce3D||"auto")},Pt=window.SVGElement,Dt=function(t,e,i){var n,s=F.createElementNS("http://www.w3.org/2000/svg",t),r=/([a-z])([A-Z])/g;for(n in i)s.setAttributeNS(null,n.replace(r,"$1-$2").toLowerCase(),i[n]);return e.appendChild(s),s},jt=document.documentElement,It=function(){var t,e,i,n=m||/Android/i.test(B)&&!window.chrome;return F.createElementNS&&!n&&(t=Dt("svg",jt),e=Dt("rect",t,{width:100,height:50,x:100}),i=e.getBoundingClientRect().width,e.style[Tt]="50% 50%",e.style[xt]="scaleX(0.5)",n=i===e.getBoundingClientRect().width,jt.removeChild(t)),n}(),Et=function(t,e,i){var n=t.getBBox();e=nt(e).split(" "),i.xOrigin=(-1!==e[0].indexOf("%")?parseFloat(e[0])/100*n.width:parseFloat(e[0]))+n.x,i.yOrigin=(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*n.height:parseFloat(e[1]))+n.y},At=H.getTransform=function(t,e,i,n){if(t._gsTransform&&i&&!n)return t._gsTransform;var r,a,l,u,c,h,d,p,f,m,g=i?t._gsTransform||new kt:new kt,v=0>g.scaleX,_=2e-5,y=1e5,b=Ct?parseFloat(G(t,Tt,e,!1,"0 0 0").split(" ")[2])||g.zOrigin||0:0,w=parseFloat(o.defaultTransformPerspective)||0;if(xt?a=G(t,St,e,!0):t.currentStyle&&(a=t.currentStyle.filter.match(I),a=a&&4===a.length?[a[0].substr(4),Number(a[2].substr(4)),Number(a[1].substr(4)),a[3].substr(4),g.x||0,g.y||0].join(","):""),r=!a||"none"===a||"matrix(1, 0, 0, 1, 0, 0)"===a,g.svg=!!(Pt&&"function"==typeof t.getBBox&&t.getCTM&&(!t.parentNode||t.parentNode.getBBox&&t.parentNode.getCTM)),g.svg&&(Et(t,G(t,Tt,s,!1,"50% 50%")+"",g),bt=o.useSVGTransformAttr||It,l=t.getAttribute("transform"),r&&l&&-1!==l.indexOf("matrix")&&(a=l,r=0)),!r){for(l=(a||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[],u=l.length;--u>-1;)c=Number(l[u]),l[u]=(h=c-(c|=0))?(0|h*y+(0>h?-.5:.5))/y+c:c;if(16===l.length){var x=l[8],S=l[9],T=l[10],C=l[12],k=l[13],P=l[14];g.zOrigin&&(P=-g.zOrigin,C=x*P-l[12],k=S*P-l[13],P=T*P+g.zOrigin-l[14]);var D,j,E,A,M,R=l[0],F=l[1],N=l[2],O=l[3],z=l[4],H=l[5],B=l[6],W=l[7],q=l[11],U=Math.atan2(F,H);g.rotation=U*L,U&&(A=Math.cos(-U),M=Math.sin(-U),R=R*A+z*M,j=F*A+H*M,H=F*-M+H*A,B=N*-M+B*A,F=j),U=Math.atan2(x,R),g.rotationY=U*L,U&&(A=Math.cos(-U),M=Math.sin(-U),D=R*A-x*M,j=F*A-S*M,E=N*A-T*M,S=F*M+S*A,T=N*M+T*A,q=O*M+q*A,R=D,F=j,N=E),U=Math.atan2(B,T),g.rotationX=U*L,U&&(A=Math.cos(-U),M=Math.sin(-U),D=z*A+x*M,j=H*A+S*M,E=B*A+T*M,x=z*-M+x*A,S=H*-M+S*A,T=B*-M+T*A,q=W*-M+q*A,z=D,H=j,B=E),g.scaleX=(0|Math.sqrt(R*R+F*F)*y+.5)/y,g.scaleY=(0|Math.sqrt(H*H+S*S)*y+.5)/y,g.scaleZ=(0|Math.sqrt(B*B+T*T)*y+.5)/y,g.skewX=0,g.perspective=q?1/(0>q?-q:q):0,g.x=C,g.y=k,g.z=P}else if(!(Ct&&!n&&l.length&&g.x===l[4]&&g.y===l[5]&&(g.rotationX||g.rotationY)||void 0!==g.x&&"none"===G(t,"display",e))){var V=l.length>=6,X=V?l[0]:1,Y=l[1]||0,Q=l[2]||0,$=V?l[3]:1;g.x=l[4]||0,g.y=l[5]||0,d=Math.sqrt(X*X+Y*Y),p=Math.sqrt($*$+Q*Q),f=X||Y?Math.atan2(Y,X)*L:g.rotation||0,m=Q||$?Math.atan2(Q,$)*L+f:g.skewX||0,Math.abs(m)>90&&270>Math.abs(m)&&(v?(d*=-1,m+=0>=f?180:-180,f+=0>=f?180:-180):(p*=-1,m+=0>=m?180:-180)),g.scaleX=d,g.scaleY=p,g.rotation=f,g.skewX=m,Ct&&(g.rotationX=g.rotationY=g.z=0,g.perspective=w,g.scaleZ=1)}g.zOrigin=b;for(u in g)_>g[u]&&g[u]>-_&&(g[u]=0)}return i&&(t._gsTransform=g),g},Mt=function(t){var e,i,n=this.data,s=-n.rotation*M,r=s+n.skewX*M,o=1e5,a=(0|Math.cos(s)*n.scaleX*o)/o,l=(0|Math.sin(s)*n.scaleX*o)/o,u=(0|Math.sin(r)*-n.scaleY*o)/o,c=(0|Math.cos(r)*n.scaleY*o)/o,h=this.t.style,d=this.t.currentStyle;if(d){i=l,l=-u,u=-i,e=d.filter,h.filter="";var p,f,g=this.t.offsetWidth,v=this.t.offsetHeight,_="absolute"!==d.position,y="progid:DXImageTransform.Microsoft.Matrix(M11="+a+", M12="+l+", M21="+u+", M22="+c,x=n.x+g*n.xPercent/100,S=n.y+v*n.yPercent/100;if(null!=n.ox&&(p=(n.oxp?.01*g*n.ox:n.ox)-g/2,f=(n.oyp?.01*v*n.oy:n.oy)-v/2,x+=p-(p*a+f*l),S+=f-(p*u+f*c)),_?(p=g/2,f=v/2,y+=", Dx="+(p-(p*a+f*l)+x)+", Dy="+(f-(p*u+f*c)+S)+")"):y+=", sizingMethod='auto expand')",h.filter=-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?e.replace(E,y):y+" "+e,(0===t||1===t)&&1===a&&0===l&&0===u&&1===c&&(_&&-1===y.indexOf("Dx=0, Dy=0")||w.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&h.removeAttribute("filter")),!_){var T,C,k,P=8>m?1:-1;for(p=n.ieOffsetX||0,f=n.ieOffsetY||0,n.ieOffsetX=Math.round((g-((0>a?-a:a)*g+(0>l?-l:l)*v))/2+x),n.ieOffsetY=Math.round((v-((0>c?-c:c)*v+(0>u?-u:u)*g))/2+S),gt=0;4>gt;gt++)C=et[gt],T=d[C],i=-1!==T.indexOf("px")?parseFloat(T):$(this.t,C,parseFloat(T),T.replace(b,""))||0,k=i!==n[C]?2>gt?-n.ieOffsetX:-n.ieOffsetY:2>gt?p-n.ieOffsetX:f-n.ieOffsetY,h[C]=(n[C]=Math.round(i-k*(0===gt||2===gt?1:P)))+"px"}}},Lt=H.set3DTransformRatio=function(t){var e,i,n,s,r,o,a,l,u,c,h,d,f,m,g,v,_,y,b,w,x,S,T,C,k,P=this.data,D=this.t.style,j=P.rotation*M,I=P.scaleX,E=P.scaleY,A=P.scaleZ,L=P.x,R=P.y,F=P.z,N=P.perspective;if(!(1!==t&&0!==t||"auto"!==P.force3D||P.rotationY||P.rotationX||1!==A||N||F))return void Rt.call(this,t);if(p){var O=1e-4;O>I&&I>-O&&(I=A=2e-5),O>E&&E>-O&&(E=A=2e-5),!N||P.z||P.rotationX||P.rotationY||(N=0)}if(j||P.skewX)y=Math.cos(j),b=Math.sin(j),e=y,r=b,P.skewX&&(j-=P.skewX*M,y=Math.cos(j),b=Math.sin(j),"simple"===P.skewType&&(w=Math.tan(P.skewX*M),w=Math.sqrt(1+w*w),y*=w,b*=w)),i=-b,o=y;else{if(!(P.rotationY||P.rotationX||1!==A||N||P.svg))return void(D[xt]=(P.xPercent||P.yPercent?"translate("+P.xPercent+"%,"+P.yPercent+"%) translate3d(":"translate3d(")+L+"px,"+R+"px,"+F+"px)"+(1!==I||1!==E?" scale("+I+","+E+")":""));e=o=1,i=r=0}h=1,n=s=a=l=u=c=d=f=m=0,g=N?-1/N:0,v=P.zOrigin,_=1e5,k=",",j=P.rotationY*M,j&&(y=Math.cos(j),b=Math.sin(j),u=h*-b,f=g*-b,n=e*b,a=r*b,h*=y,g*=y,e*=y,r*=y),j=P.rotationX*M,j&&(y=Math.cos(j),b=Math.sin(j),w=i*y+n*b,x=o*y+a*b,S=c*y+h*b,T=m*y+g*b,n=i*-b+n*y,a=o*-b+a*y,h=c*-b+h*y,g=m*-b+g*y,i=w,o=x,c=S,m=T),1!==A&&(n*=A,a*=A,h*=A,g*=A),1!==E&&(i*=E,o*=E,c*=E,m*=E),1!==I&&(e*=I,r*=I,u*=I,f*=I),v&&(d-=v,s=n*d,l=a*d,d=h*d+v),P.svg&&(s+=P.xOrigin-(P.xOrigin*e+P.yOrigin*i),l+=P.yOrigin-(P.xOrigin*r+P.yOrigin*o)),s=(w=(s+=L)-(s|=0))?(0|w*_+(0>w?-.5:.5))/_+s:s,l=(w=(l+=R)-(l|=0))?(0|w*_+(0>w?-.5:.5))/_+l:l,d=(w=(d+=F)-(d|=0))?(0|w*_+(0>w?-.5:.5))/_+d:d,C=P.xPercent||P.yPercent?"translate("+P.xPercent+"%,"+P.yPercent+"%) matrix3d(":"matrix3d(",C+=(0|e*_)/_+k+(0|r*_)/_+k+(0|u*_)/_,C+=k+(0|f*_)/_+k+(0|i*_)/_+k+(0|o*_)/_,C+=k+(0|c*_)/_+k+(0|m*_)/_+k+(0|n*_)/_,C+=k+(0|a*_)/_+k+(0|h*_)/_+k+(0|g*_)/_,C+=k+s+k+l+k+d+k+(N?1+-d/N:1)+")",D[xt]=C},Rt=H.set2DTransformRatio=function(t){var e,i,n,s,r,o,a,l,u,c,h,d=this.data,p=this.t,f=p.style,m=d.x,g=d.y;return!(d.rotationX||d.rotationY||d.z||!0===d.force3D||"auto"===d.force3D&&1!==t&&0!==t)||d.svg&&bt||!Ct?(s=d.scaleX,r=d.scaleY,void(d.rotation||d.skewX||d.svg?(e=d.rotation*M,i=e-d.skewX*M,n=1e5,o=Math.cos(e)*s,a=Math.sin(e)*s,l=Math.sin(i)*-r,u=Math.cos(i)*r,d.svg&&(m+=d.xOrigin-(d.xOrigin*o+d.yOrigin*l),g+=d.yOrigin-(d.xOrigin*a+d.yOrigin*u),h=1e-6,h>m&&m>
18-h&&(m=0),h>g&&g>-h&&(g=0)),c=(0|o*n)/n+","+(0|a*n)/n+","+(0|l*n)/n+","+(0|u*n)/n+","+m+","+g+")",d.svg&&bt?p.setAttribute("transform","matrix("+c):f[xt]=(d.xPercent||d.yPercent?"translate("+d.xPercent+"%,"+d.yPercent+"%) matrix(":"matrix(")+c):f[xt]=(d.xPercent||d.yPercent?"translate("+d.xPercent+"%,"+d.yPercent+"%) matrix(":"matrix(")+s+",0,0,"+r+","+m+","+g+")")):(this.setRatio=Lt,void Lt.call(this,t))};u=kt.prototype,u.x=u.y=u.z=u.skewX=u.skewY=u.rotation=u.rotationX=u.rotationY=u.zOrigin=u.xPercent=u.yPercent=0,u.scaleX=u.scaleY=u.scaleZ=1,_t("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent",{parser:function(t,e,i,n,r,a,l){if(n._lastParsedTransform===l)return r;n._lastParsedTransform=l;var u,c,h,d,p,f,m,g=n._transform=At(t,s,!0,l.parseTransform),v=t.style,_=1e-6,y=wt.length,b=l,w={};if("string"==typeof b.transform&&xt)h=O.style,h[xt]=b.transform,h.display="block",h.position="absolute",F.body.appendChild(O),u=At(O,null,!1),F.body.removeChild(O);else if("object"==typeof b){if(u={scaleX:rt(null!=b.scaleX?b.scaleX:b.scale,g.scaleX),scaleY:rt(null!=b.scaleY?b.scaleY:b.scale,g.scaleY),scaleZ:rt(b.scaleZ,g.scaleZ),x:rt(b.x,g.x),y:rt(b.y,g.y),z:rt(b.z,g.z),xPercent:rt(b.xPercent,g.xPercent),yPercent:rt(b.yPercent,g.yPercent),perspective:rt(b.transformPerspective,g.perspective)},null!=(m=b.directionalRotation))if("object"==typeof m)for(h in m)b[h]=m[h];else b.rotation=m;"string"==typeof b.x&&-1!==b.x.indexOf("%")&&(u.x=0,u.xPercent=rt(b.x,g.xPercent)),"string"==typeof b.y&&-1!==b.y.indexOf("%")&&(u.y=0,u.yPercent=rt(b.y,g.yPercent)),u.rotation=ot("rotation"in b?b.rotation:"shortRotation"in b?b.shortRotation+"_short":"rotationZ"in b?b.rotationZ:g.rotation,g.rotation,"rotation",w),Ct&&(u.rotationX=ot("rotationX"in b?b.rotationX:"shortRotationX"in b?b.shortRotationX+"_short":g.rotationX||0,g.rotationX,"rotationX",w),u.rotationY=ot("rotationY"in b?b.rotationY:"shortRotationY"in b?b.shortRotationY+"_short":g.rotationY||0,g.rotationY,"rotationY",w)),u.skewX=null==b.skewX?g.skewX:ot(b.skewX,g.skewX),u.skewY=null==b.skewY?g.skewY:ot(b.skewY,g.skewY),(c=u.skewY-g.skewY)&&(u.skewX+=c,u.rotation+=c)}for(Ct&&null!=b.force3D&&(g.force3D=b.force3D,f=!0),g.skewType=b.skewType||g.skewType||o.defaultSkewType,(p=g.force3D||g.z||g.rotationX||g.rotationY||u.z||u.rotationX||u.rotationY||u.perspective)||null==b.scale||(u.scaleZ=1);--y>-1;)i=wt[y],((d=u[i]-g[i])>_||-_>d||null!=b[i]||null!=R[i])&&(f=!0,r=new ft(g,i,g[i],d,r),i in w&&(r.e=w[i]),r.xs0=0,r.plugin=a,n._overwriteProps.push(r.n));return d=b.transformOrigin,d&&g.svg&&(Et(t,d,u),r=new ft(g,"xOrigin",g.xOrigin,u.xOrigin-g.xOrigin,r,-1,"transformOrigin"),r.b=g.xOrigin,r.e=r.xs0=u.xOrigin,r=new ft(g,"yOrigin",g.yOrigin,u.yOrigin-g.yOrigin,r,-1,"transformOrigin"),r.b=g.yOrigin,r.e=r.xs0=u.yOrigin,d="0px 0px"),(d||Ct&&p&&g.zOrigin)&&(xt?(f=!0,i=Tt,d=(d||G(t,i,s,!1,"50% 50%"))+"",r=new ft(v,i,0,0,r,-1,"transformOrigin"),r.b=v[i],r.plugin=a,Ct?(h=g.zOrigin,d=d.split(" "),g.zOrigin=(d.length>2&&(0===h||"0px"!==d[2])?parseFloat(d[2]):h)||0,r.xs0=r.e=d[0]+" "+(d[1]||"50%")+" 0px",r=new ft(g,"zOrigin",0,0,r,-1,r.n),r.b=h,r.xs0=r.e=g.zOrigin):r.xs0=r.e=d):nt(d+"",g)),f&&(n._transformType=g.svg&&bt||!p&&3!==this._transformType?2:3),r},prefix:!0}),_t("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),_t("borderRadius",{defaultValue:"0px",parser:function(t,e,i,r,o){e=this.format(e);var a,l,u,c,h,d,p,f,m,g,v,_,y,b,w,x,S=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],T=t.style;for(m=parseFloat(t.offsetWidth),g=parseFloat(t.offsetHeight),a=e.split(" "),l=0;S.length>l;l++)this.p.indexOf("border")&&(S[l]=Y(S[l])),h=c=G(t,S[l],s,!1,"0px"),-1!==h.indexOf(" ")&&(c=h.split(" "),h=c[0],c=c[1]),d=u=a[l],p=parseFloat(h),_=h.substr((p+"").length),y="="===d.charAt(1),y?(f=parseInt(d.charAt(0)+"1",10),d=d.substr(2),f*=parseFloat(d),v=d.substr((f+"").length-(0>f?1:0))||""):(f=parseFloat(d),v=d.substr((f+"").length)),""===v&&(v=n[i]||_),v!==_&&(b=$(t,"borderLeft",p,_),w=$(t,"borderTop",p,_),"%"===v?(h=b/m*100+"%",c=w/g*100+"%"):"em"===v?(x=$(t,"borderLeft",1,"em"),h=b/x+"em",c=w/x+"em"):(h=b+"px",c=w+"px"),y&&(d=parseFloat(h)+f+v,u=parseFloat(c)+f+v)),o=mt(T,S[l],h+" "+c,d+" "+u,!1,"0px",o);return o},prefix:!0,formatter:ht("0px 0px 0px 0px",!1,!0)}),_t("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,
vendor: 6,096 bytes, lines 18-19
18i,n,r,o){var a,l,u,c,h,d,p="background-position",f=s||Q(t,null),g=this.format((f?m?f.getPropertyValue(p+"-x")+" "+f.getPropertyValue(p+"-y"):f.getPropertyValue(p):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),v=this.format(e);if(-1!==g.indexOf("%")!=(-1!==v.indexOf("%"))&&(d=G(t,"backgroundImage").replace(P,""))&&"none"!==d){for(a=g.split(" "),l=v.split(" "),z.setAttribute("src",d),u=2;--u>-1;)g=a[u],(c=-1!==g.indexOf("%"))!==(-1!==l[u].indexOf("%"))&&(h=0===u?t.offsetWidth-z.width:t.offsetHeight-z.height,a[u]=c?parseFloat(g)/100*h+"px":parseFloat(g)/h*100+"%");g=a.join(" ")}return this.parseComplex(t.style,g,v,r,o)},formatter:nt}),_t("backgroundSize",{defaultValue:"0 0",formatter:nt}),_t("perspective",{defaultValue:"0px",prefix:!0}),_t("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),_t("transformStyle",{prefix:!0}),_t("backfaceVisibility",{prefix:!0}),_t("userSelect",{prefix:!0}),_t("margin",{parser:dt("marginTop,marginRight,marginBottom,marginLeft")}),_t("padding",{parser:dt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),_t("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,n,r,o){var a,l,u;return 9>m?(l=t.currentStyle,u=8>m?" ":",",a="rect("+l.clipTop+u+l.clipRight+u+l.clipBottom+u+l.clipLeft+")",e=this.format(e).split(",").join(u)):(a=this.format(G(t,this.p,s,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,a,e,r,o)}}),_t("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),_t("autoRound,strictUnits",{parser:function(t,e,i,n,s){return s}}),_t("border",{defaultValue:"0px solid #000",parser:function(t,e,i,n,r,o){return this.parseComplex(t.style,this.format(G(t,"borderTopWidth",s,!1,"0px")+" "+G(t,"borderTopStyle",s,!1,"solid")+" "+G(t,"borderTopColor",s,!1,"#000")),this.format(e),r,o)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(ct)||["#000"])[0]}}),_t("borderWidth",{parser:dt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),_t("float,cssFloat,styleFloat",{parser:function(t,e,i,n,s){var r=t.style,o="cssFloat"in r?"cssFloat":"styleFloat";return new ft(r,o,0,0,s,-1,i,!1,0,r[o],e)}});var Ft=function(t){var e,i=this.t,n=i.filter||G(this.data,"filter")||"",s=0|this.s+this.c*t;100===s&&(-1===n.indexOf("atrix(")&&-1===n.indexOf("radient(")&&-1===n.indexOf("oader(")?(i.removeAttribute("filter"),e=!G(this.data,"filter")):(i.filter=n.replace(S,""),e=!0)),e||(this.xn1&&(i.filter=n=n||"alpha(opacity="+s+")"),-1===n.indexOf("pacity")?0===s&&this.xn1||(i.filter=n+" alpha(opacity="+s+")"):i.filter=n.replace(w,"opacity="+s))};_t("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,n,r,o){var a=parseFloat(G(t,"opacity",s,!1,"1")),l=t.style,u="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+a),u&&1===a&&"hidden"===G(t,"visibility",s)&&0!==e&&(a=0),W?r=new ft(l,"opacity",a,e-a,r):(r=new ft(l,"opacity",100*a,100*(e-a),r),r.xn1=u?1:0,l.zoom=1,r.type=2,r.b="alpha(opacity="+r.s+")",r.e="alpha(opacity="+(r.s+r.c)+")",r.data=t,r.plugin=o,r.setRatio=Ft),u&&(r=new ft(l,"visibility",0,0,r,-1,null,!1,0,0!==a?"inherit":"hidden",0===e?"hidden":"inherit"),r.xs0="inherit",n._overwriteProps.push(r.n),n._overwriteProps.push(i)),r}});var Nt=function(t,e){e&&(t.removeProperty?("ms"===e.substr(0,2)&&(e="M"+e.substr(1)),t.removeProperty(e.replace(C,"-$1").toLowerCase())):t.removeAttribute(e))},Ot=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:Nt(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};_t("className",{parser:function(t,e,n,r,o,a,l){var u,c,h,d,p,f=t.getAttribute("class")||"",m=t.style.cssText;if(o=r._classNamePT=new ft(t,n,0,0,o,2),o.setRatio=Ot,o.pr=-11,i=!0,o.b=f,c=Z(t,s),h=t._gsClassPT){for(d={},p=h.data;p;)d[p.p]=1,p=p._next;h.setRatio(1)}return t._gsClassPT=o,o.e="="!==e.charAt(1)?e:f.replace(RegExp("\\s*\\b"+e.substr(2)+"\\b"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),r._tween._duration&&(t.setAttribute("class",o.e),u=K(t,c,Z(t),l,d),t.setAttribute("class",f),o.data=u.firstMPT,t.style.cssText=m,o=o.xfirst=r.parse(t,u.difs,o,a)),o}});var zt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,n,s,r=this.t.style,o=l.transform.parse;if("all"===this.e)r.cssText="",s=!0;else for(e=this.e.split(" ").join("").split(","),n=e.length;--n>-1;)i=e[n],l[i]&&(l[i].parse===o?s=!0:i="transformOrigin"===i?Tt:l[i].p),Nt(r,i);s&&(Nt(r,xt),this.t._gsTransform&&delete this.t._gsTransform)}};for(_t("clearProps",{parser:function(t,e,n,s,r){return r=new ft(t,n,0,0,r,2),r.setRatio=zt,r.e=e,r.pr=-10,r.data=s._tween,i=!0,r}}),u="bezier,throwProps,physicsProps,physics2D".split(","),gt=u.length;gt--;)yt(u[gt]);u=o.prototype,u._firstPT=u._lastParsedTransform=u._transform=null,u._onInitTween=function(t,e,a){if(!t.nodeType)return!1;this._target=t,this._tween=a,this._vars=e,c=e.autoRound,i=!1,
19n=e.suffixMap||o.suffixMap,s=Q(t,""),r=this._overwriteProps;var l,u,p,m,g,v,_,y,b,w=t.style;if(h&&""===w.zIndex&&("auto"===(l=G(t,"zIndex",s))||""===l)&&this._addLazySet(w,"zIndex",0),"string"==typeof e&&(m=w.cssText,l=Z(t,s),w.cssText=m+";"+e,l=K(t,l,Z(t)).difs,!W&&x.test(e)&&(l.opacity=parseFloat(RegExp.$1)),e=l,w.cssText=m),this._firstPT=u=this.parse(t,e,null),this._transformType){for(b=3===this._transformType,xt?d&&(h=!0,""===w.zIndex&&("auto"===(_=G(t,"zIndex",s))||""===_)&&this._addLazySet(w,"zIndex",0),f&&this._addLazySet(w,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(b?"visible":"hidden"))):w.zoom=1,p=u;p&&p._next;)p=p._next;y=new ft(t,"transform",0,0,null,2),this._linkCSSP(y,null,p),y.setRatio=b&&Ct?Lt:xt?Rt:Mt,y.data=this._transform||At(t,s,!0),r.pop()}if(i){for(;u;){for(v=u._next,p=m;p&&p.pr>u.pr;)p=p._next;(u._prev=p?p._prev:g)?u._prev._next=u:m=u,(u._next=p)?p._prev=u:g=u,u=v}this._firstPT=m}return!0}
19,u.parse=function(t,e,i,r){var o,a,u,h,d,p,f,m,g,v,_=t.style;for(o in e)p=e[o],a=l[o],a?i=a.parse(t,p,o,this,i,r,e):(d=G(t,o,s)+"",g="string"==typeof p,"color"===o||"fill"===o||"stroke"===o||-1!==o.indexOf("Color")||g&&T.test(p)?(g||(p=ut(p),p=(p.length>3?"rgba(":"rgb(")+p.join(",")+")"),i=mt(_,o,d,p,!0,"transparent",i,0,r)):!g||-1===p.indexOf(" ")&&-1===p.indexOf(",")?(u=parseFloat(d),f=u||0===u?d.substr((u+"").length):"",(""===d||"auto"===d)&&("width"===o||"height"===o?(u=it(t,o,s),f="px"):"left"===o||"top"===o?(u=J(t,o,s),f="px"):(u="opacity"!==o?0:1,f="")),v=g&&"="===p.charAt(1),v?(h=parseInt(p.charAt(0)+"1",10),p=p.substr(2),h*=parseFloat(p),m=p.replace(b,"")):(h=parseFloat(p),m=g?p.substr((h+"").length)||"":""),""===m&&(m=o in n?n[o]:f),p=h||0===h?(v?h+u:h)+m:e[o],f!==m&&""!==m&&(h||0===h)&&u&&(u=$(t,o,u,f),"%"===m?(u/=$(t,o,100,"%")/100,!0!==e.strictUnits&&(d=u+"%")):"em"===m?u/=$(t,o,1,"em"):"px"!==m&&(h=$(t,o,h,m),m="px"),v&&(h||0===h)&&(p=h+u+m)),v&&(h+=u),!u&&0!==u||!h&&0!==h?void 0!==_[o]&&(p||"NaN"!=p+""&&null!=p)?(i=new ft(_,o,h||u||0,0,i,-1,o,!1,0,d,p),i.xs0="none"!==p||"display"!==o&&-1===o.indexOf("Style")?p:d):U("invalid "+o+" tween value: "+e[o]):(i=new ft(_,o,u,h-u,i,0,o,!1!==c&&("px"===m||"zIndex"===o),0,d,p),i.xs0=m)):i=mt(_,o,d,p,!0,null,i,0,r)),r&&i&&!i.plugin&&(i.plugin=r);return i},u.setRatio=function(t){var e,i,n,s=this._firstPT,r=1e-6;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;s;){if(e=s.c*t+s.s,s.r?e=Math.round(e):r>e&&e>-r&&(e=0),s.type)if(1===s.type)if(2===(n=s.l))s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2;else if(3===n)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3;else if(4===n)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3+s.xn3+s.xs4;else if(5===n)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3+s.xn3+s.xs4+s.xn4+s.xs5;else{for(i=s.xs0+e+s.xs1,n=1;s.l>n;n++)i+=s["xn"+n]+s["xs"+(n+1)];s.t[s.p]=i}else-1===s.type?s.t[s.p]=s.xs0:s.setRatio&&s.setRatio(t);else s.t[s.p]=e+s.xs0;s=s._next}else for(;s;)2!==s.type?s.t[s.p]=s.b:s.setRatio(t),s=s._next;else for(;s;)2!==s.type?s.t[s.p]=s.e:s.setRatio(t),s=s._next},u._enableTransforms=function(t){this._transform=this._transform||At(this._target,s,!0),this._transformType=this._transform.svg&&bt||!t&&3!==this._transformType?2:3};var $t=function(){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};u._addLazySet=function(t,e,i){var n=this._firstPT=new ft(t,e,0,0,this._firstPT,2);n.e=i,n.setRatio=$t,n.data=this},u._linkCSSP=function(t,e,i,n){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,n=!0),i?i._next=t:n||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},u._kill=function(e){var i,n,s,r=e;if(e.autoAlpha||e.alpha){r={};for(n in e)r[n]=e[n];r.opacity=1,r.autoAlpha&&(r.visibility=1)}return e.className&&(i=this._classNamePT)&&(s=i.xfirst,s&&s._prev?this._linkCSSP(s._prev,i._next,s._prev._prev):s===this._firstPT&&(this._firstPT=i._next),i._next&&this._linkCSSP(i._next,i._next._next,s._prev),this._classNamePT=null),t.prototype._kill.call(this,r)};var Ht=function(t,e,i){var n,s,r,o;
19if(t.slice)for(s=t.length;--s>-1;)Ht(t[s],e,i);else for(n=t.childNodes,s=n.length;--s>-1;)r=n[s],o=r.type,r.style&&(e.push(Z(r)),i&&i.push(r)),1!==o&&9!==o&&11!==o||!r.childNodes.length||Ht(r,e,i)};return o.cascadeTo=function(t,i,n){var s,r,o,a=e.to(t,i,n),l=[a],u=[],c=[],h=[],d=e._internals.reservedProps;for(t=a._targets||a.target,Ht(t,u,h),a.render(i,!0),Ht(t,c),a.render(0,!0),a._enabled(!0),s=h.length;--s>-1;)if(r=K(h[s],u[s],c[s]),r.firstMPT){r=r.difs;for(o in n)d[o]&&(r[o]=n[o]);l.push(e.to(h[s],i,r))}return l},t.activate([o]),o},!0),function(){var t=_gsScope._gsDefine.plugin({propName:"roundProps",priority:-1,API:2,init:function(t,e,i){return this._tween=i,!0}}),e=t.prototype;e._onInitAllProps=function(){for(var t,e,i,n=this._tween,s=n.vars.roundProps instanceof Array?n.vars.roundProps:n.vars.roundProps.split(","),r=s.length,o={},a=n._propLookup.roundProps;--r>-1;)o[s[r]]=1;for(r=s.length;--r>-1;)for(t=s[r],e=n._firstPT;e;)i=e._next,e.pg?e.t._roundProps(o,!0):e.n===t&&(this._add(e.t,t,e.s,e.c),i&&(i._prev=e._prev),e._prev?e._prev._next=i:n._firstPT===e&&(n._firstPT=i),e._next=e._prev=null,n._propLookup[t]=a),e=i;return!1},e._add=function(t,e,i,n){this._addTween(t,e,i,i+n,e,!0),this._overwriteProps.push(e)}}(),_gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.3.3",init:function(t,e){var i,n,s;if("function"!=typeof t.setAttribute)return!1;this._target=t,this._proxy={},this._start={},this._end={};for(i in e)this._start[i]=this._proxy[i]=n=t.getAttribute(i),s=this._addTween(this._proxy,i,parseFloat(n),e[i],i),this._end[i]=s?s.s+s.c:e[i],this._overwriteProps.push(i);return!0},set:function(t){this._super.setRatio.call(this,t);for(var e,i=this._overwriteProps,n=i.length,s=1===t?this._end:t?this._proxy:this._start;--n>-1;)e=i[n],this._target.setAttribute(e,s[e]+"")}}),_gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.2.1",API:2,init:function(t,e){"object"!=typeof e&&(e={rotation:e}),this.finals={};var i,n,s,r,o,a,l=!0===e.useRadians?2*Math.PI:360,u=1e-6;for(i in e)"useRadians"!==i&&(a=(e[i]+"").split("_"),n=a[0],s=parseFloat("function"!=typeof t[i]?t[i]:t[i.indexOf("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3)]()),r=this.finals[i]="string"==typeof n&&"="===n.charAt(1)?s+parseInt(n.charAt(0)+"1",10)*Number(n.substr(2)):Number(n)||0,o=r-s,a.length&&(n=a.join("_"),-1!==n.indexOf("short")&&(o%=l)!==o%(l/2)&&(o=0>o?o+l:o-l),-1!==n.indexOf("_cw")&&0>o?o=(o+9999999999*l)%l-(0|o/l)*l:-1!==n.indexOf("ccw")&&o>0&&(o=(o-9999999999*l)%l-(0|o/l)*l)),(o>u||-u>o)&&(this._addTween(t,i,s,s+o,i),this._overwriteProps.push(i)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else for(e=this._firstPT;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}})._autoCSS=!0,_gsScope._gsDefine("easing.Back",["easing.Ease"],function(t){var e,i,n,s=_gsScope.GreenSockGlobals||_gsScope,r=s.com.greensock,o=2*Math.PI,a=Math.PI/2,l=r._class,u=function(e,i){var n=l("easing."+e,function(){},!0),s=n.prototype=new t;return s.constructor=n,s.getRatio=i,n},c=t.register||function(){},h=function(t,e,i,n){var s=l("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new n},!0);return c(s,t),s},d=function(t,e,i){this.t=t,this.v=e,i&&(this.next=i,i.prev=this,this.c=i.v-e,this.gap=i.t-t)},p=function(e,i){var n=l("easing."+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),s=n.prototype=new t;return s.constructor=n,s.getRatio=i,s.config=function(t){return new n(t)},n},f=h("Back",p("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),p("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),p("BackInOut",function(t){return 1>(t*=2)?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),m=l("easing.SlowMo",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===i},!0),g=m.prototype=new t;return g.constructor=m,g.getRatio=function(t){var e=t+(.5-t)*this._p;return this._p1>t?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e}
19,m.ease=new m(.7,.7),g.config=m.config=function(t,e,i){return new m(t,e,i)},e=l("easing.SteppedEase",function(t){t=t||1,this._p1=1/t,this._p2=t+1},!0),g=e.prototype=new t,g.constructor=e,g.getRatio=function(t){return 0>t?t=0:t>=1&&(t=.999999999),(this._p2*t>>0)*this._p1},g.config=e.config=function(t){return new e(t)},i=l("easing.RoughEase",function(e){e=e||{};for(var i,n,s,r,o,a,l=e.taper||"none",u=[],c=0,h=0|(e.points||20),p=h,f=!1!==e.randomize,m=!0===e.clamp,g=e.template instanceof t?e.template:null,v="number"==typeof e.strength?.4*e.strength:.4;--p>-1;)i=f?Math.random():1/h*p,n=g?g.getRatio(i):i,"none"===l?s=v:"out"===l?(r=1-i,s=r*r*v):"in"===l?s=i*i*v:.5>i?(r=2*i,s=.5*r*r*v):(r=2*(1-i),s=.5*r*r*v),f?n+=Math.random()*s-.5*s:p%2?n+=.5*s:n-=.5*s,m&&(n>1?n=1:0>n&&(n=0)),u[c++]={x:i,y:n};for(u.sort(function(t,e){return t.x-e.x}),a=new d(1,1,null),p=h;--p>-1;)o=u[p],a=new d(o.x,o.y,a);this._prev=new d(0,0,0!==a.t?a:a.next)},!0),g=i.prototype=new t,g.constructor=i,g.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&e.t>=t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},g.config=function(t){return new i(t)},i.ease=new i,h("Bounce",u("BounceOut",function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),u("BounceIn",function(t){return 1/2.75>(t=1-t)?1-7.5625*t*t:2/2.75>t?1-(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),u("BounceInOut",function(t){var e=.5>t;return t=e?1-2*t:2*t-1,t=1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),h("Circ",u("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),u("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),u("CircInOut",function(t){return 1>(t*=2)?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),n=function(e,i,n){var s=l("easing."+e,function(t,e){this._p1=t||1,this._p2=e||n,this._p3=this._p2/o*(Math.asin(1/this._p1)||0)},!0),r=s.prototype=new t;return r.constructor=s,r.getRatio=i,r.config=function(t,e){return new s(t,e)},s},h("Elastic",n("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*o/this._p2)+1},.3),n("ElasticIn",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*o/this._p2)},.3),n("ElasticInOut",function(t){return 1>(t*=2)?-.5*this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*o/this._p2):.5*this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*o/this._p2)+1},.45)),h("Expo",u("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),u("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),u("ExpoInOut",function(t){return 1>(t*=2)?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),h("Sine",u("SineOut",function(t){return Math.sin(t*a)}),u("SineIn",function(t){return 1-Math.cos(t*a)}),u("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),l("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),c(s.SlowMo,"SlowMo","ease,"),c(i,"RoughEase","ease,"),c(e,"SteppedEase","ease,"),f},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t,e){"use strict";var i=t.GreenSockGlobals=t.GreenSockGlobals||t;if(!i.TweenLite){var n,s,r,o,a,l=function(t){var e,n=t.split("."),s=i;for(e=0;
vendor: 5,906 bytes, line 19
19n.length>e;e++)s[n[e]]=s=s[n[e]]||{};return s},u=l("com.greensock"),c=1e-10,h=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},d=function(){},p=function(){var t=Object.prototype.toString,e=t.call([]);return function(i){return null!=i&&(i instanceof Array||"object"==typeof i&&!!i.push&&t.call(i)===e)}}(),f={},m=function(n,s,r,o){this.sc=f[n]?f[n].sc:[],f[n]=this,this.gsClass=null,this.func=r;var a=[];this.check=function(u){for(var c,h,d,p,g=s.length,v=g;--g>-1;)(c=f[s[g]]||new m(s[g],[])).gsClass?(a[g]=c.gsClass,v--):u&&c.sc.push(this);if(0===v&&r)for(h=("com.greensock."+n).split("."),d=h.pop(),p=l(h.join("."))[d]=this.gsClass=r.apply(r,a),o&&(i[d]=p,"function"==typeof define&&define.amd?define((t.GreenSockAMDPath?t.GreenSockAMDPath+"/":"")+n.split(".").pop(),[],function(){return p}):n===e&&"undefined"!=typeof module&&module.exports&&(module.exports=p)),g=0;this.sc.length>g;g++)this.sc[g].check()},this.check(!0)},g=t._gsDefine=function(t,e,i,n){return new m(t,e,i,n)},v=u._class=function(t,e,i){return e=e||function(){},g(t,[],function(){return e},i),e};g.globals=i;var _=[0,0,1,1],y=[],b=v("easing.Ease",function(t,e,i,n){this._func=t,this._type=i||0,this._power=n||0,this._params=e?_.concat(e):_},!0),w=b.map={},x=b.register=function(t,e,i,n){for(var s,r,o,a,l=e.split(","),c=l.length,h=(i||"easeIn,easeOut,easeInOut").split(",");--c>-1;)for(r=l[c],s=n?v("easing."+r,null,!0):u.easing[r]||{},o=h.length;--o>-1;)a=h[o],w[r+"."+a]=w[a+r]=s[a]=t.getRatio?t:t[a]||new t};for(r=b.prototype,r._calcEnd=!1,r.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,n=1===e?1-t:2===e?t:.5>t?2*t:2*(1-t);return 1===i?n*=n:2===i?n*=n*n:3===i?n*=n*n*n:4===i&&(n*=n*n*n*n),1===e?1-n:2===e?n:.5>t?n/2:1-n/2},n=["Linear","Quad","Cubic","Quart","Quint,Strong"],s=n.length;--s>-1;)r=n[s]+",Power"+s,x(new b(null,null,1,s),r,"easeOut",!0),x(new b(null,null,2,s),r,"easeIn"+(0===s?",easeNone":"")),x(new b(null,null,3,s),r,"easeInOut");w.linear=u.easing.Linear.easeIn,w.swing=u.easing.Quad.easeInOut;var S=v("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});r=S.prototype,r.addEventListener=function(t,e,i,n,s){s=s||0;var r,l,u=this._listeners[t],c=0;for(null==u&&(this._listeners[t]=u=[]),l=u.length;--l>-1;)r=u[l],r.c===e&&r.s===i?u.splice(l,1):0===c&&s>r.pr&&(c=l+1);u.splice(c,0,{c:e,s:i,up:n,pr:s}),this!==o||a||o.wake()},r.removeEventListener=function(t,e){var i,n=this._listeners[t];if(n)for(i=n.length;--i>-1;)if(n[i].c===e)return void n.splice(i,1)},r.dispatchEvent=function(t){var e,i,n,s=this._listeners[t];if(s)for(e=s.length,i=this._eventTarget;--e>-1;)(n=s[e])&&(n.up?n.c.call(n.s||i,{type:t,target:i}):n.c.call(n.s||i))};var T=t.requestAnimationFrame,C=t.cancelAnimationFrame,k=Date.now||function(){return(new Date).getTime()},P=k();for(n=["ms","moz","webkit","o"],s=n.length;--s>-1&&!T;)T=t[n[s]+"RequestAnimationFrame"],C=t[n[s]+"CancelAnimationFrame"]||t[n[s]+"CancelRequestAnimationFrame"];v("Ticker",function(t,e){var i,n,s,r,l,u=this,h=k(),p=!1!==e&&T,f=500,m=33,g="tick",v=function(t){var e,o,a=k()-P;a>f&&(h+=a-m),P+=a,u.time=(P-h)/1e3,e=u.time-l,(!i||e>0||!0===t)&&(u.frame++,l+=e+(e>=r?.004:r-e),o=!0),!0!==t&&(s=n(v)),o&&u.dispatchEvent(g)};S.call(u),u.time=u.frame=0,u.tick=function(){v(!0)},u.lagSmoothing=function(t,e){f=t||1/c,m=Math.min(e,f,0)},u.sleep=function(){null!=s&&(p&&C?C(s):clearTimeout(s),n=d,s=null,u===o&&(a=!1))},u.wake=function(){null!==s?u.sleep():u.frame>10&&(P=k()-f+5),n=0===i?d:p&&T?T:function(t){return setTimeout(t,0|1e3*(l-u.time)+1)},u===o&&(a=!0),v(2)},u.fps=function(t){return arguments.length?(i=t,r=1/(i||60),l=this.time+r,void u.wake()):i},u.useRAF=function(t){return arguments.length?(u.sleep(),p=t,void u.fps(i)):p},u.fps(t),setTimeout(function(){p&&(!s||5>u.frame)&&u.useRAF(!1)},1500)}),r=u.Ticker.prototype=new u.events.EventDispatcher,r.constructor=u.Ticker;var D=v("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!0===e.immediateRender,this.data=e.data,this._reversed=!0===e.reversed,q){a||o.wake();var i=this.vars.useFrames?W:q;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});o=D.ticker=new u.Ticker,r=D.prototype,r._dirty=r._gc=r._initted=r._paused=!1,r._totalTime=r._time=0,r._rawPrevTime=-1,r._next=r._last=r._onUpdate=r._timeline=r.timeline=null,r._paused=!1;var j=function(){a&&k()-P>2e3&&o.wake(),setTimeout(j,2e3)};j(),r.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},r.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},r.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},r.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},r.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},r.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},r.render=function(){},r.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},r.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime())>=i&&i+this.totalDuration()/this._timeScale>t},r._enabled=function(t,e){return a||o.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},r._kill=function(){return this._enabled(!1,!1)},r.kill=function(t,e){return this._kill(t,e),this},r._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},r._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();--e>-1;)"{self}"===t[e]&&(i[e]=this);return i}
vendor: 4,121 bytes, line 19
19,r.eventCallback=function(t,e,i,n){if("on"===(t||"").substr(0,2)){var s=this.vars;if(1===arguments.length)return s[t];null==e?delete s[t]:(s[t]=e,s[t+"Params"]=p(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,s[t+"Scope"]=n),"onUpdate"===t&&(this._onUpdate=e)}return this},r.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},r.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},r.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},r.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},r.totalTime=function(t,e,i){if(a||o.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>t&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,s=this._timeline;if(t>n&&!i&&(t=n),this._startTime=(this._paused?this._pauseTime:s._time)-(this._reversed?n-t:t)/this._timeScale,s._dirty||this._uncache(!1),s._timeline)for(;s._timeline;)s._timeline._time!==(s._startTime+s._totalTime)/s._timeScale&&s.totalTime(s._totalTime,!0),s=s._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==t||0===this._duration)&&(this.render(t,e,!1),L.length&&U())}return this},r.progress=r.totalProgress=function(t,e){return arguments.length?this.totalTime(this.duration()*t,e):this._time/this.duration()},r.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},r.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},r.timeScale=function(t){if(!arguments.length)return this._timeScale;if(t=t||c,this._timeline&&this._timeline.smoothChildTiming){var e=this._pauseTime,i=e||0===e?e:this._timeline.totalTime();this._startTime=i-(i-this._startTime)*this._timeScale/t}return this._timeScale=t,this._uncache(!1)},r.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},r.paused=function(t){if(!arguments.length)return this._paused;if(t!=this._paused&&this._timeline){a||t||o.wake();var e=this._timeline,i=e.rawTime(),n=i-this._pauseTime;!t&&e.smoothChildTiming&&(this._startTime+=n,this._uncache(!1)),this._pauseTime=t?i:null,this._paused=t,this._active=this.isActive(),!t&&0!==n&&this._initted&&this.duration()&&this.render(e.smoothChildTiming?this._totalTime:(i-this._startTime)/this._timeScale,!0,!0)}return this._gc&&!t&&this._enabled(!0,!1),this};var I=v("core.SimpleTimeline",function(t){D.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});r=I.prototype=new D,r.constructor=I,r.kill()._gc=!1,r._first=r._last=r._recent=null,r._sortChildren=!1,r.add=r.insert=function(t,e){var i,n;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=t._startTime+(this.rawTime()-t._startTime)/t._timeScale),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),i=this._last,this._sortChildren)for(n=t._startTime;i&&i._startTime>n;)i=i._prev;return i?(t._next=i._next,i._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=i,this._recent=t,this._timeline&&this._uncache(!0),this},r._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this}
vendor: 6,473 bytes, line 19
19,r.render=function(t,e,i){var n,s=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;s;)n=s._next,(s._active||t>=s._startTime&&!s._paused)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=n},r.rawTime=function(){return a||o.wake(),this._totalTime};var E=v("TweenLite",function(e,i,n){if(D.call(this,i,n),this.render=E.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:E.selector(e)||e;var s,r,o,a=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?B[E.defaultOverwrite]:"number"==typeof l?l>>0:B[l],(a||e instanceof Array||e.push&&p(e))&&"number"!=typeof e[0])for(this._targets=o=h(e),this._propLookup=[],this._siblings=[],s=0;o.length>s;s++)r=o[s],r?"string"!=typeof r?r.length&&r!==t&&r[0]&&(r[0]===t||r[0].nodeType&&r[0].style&&!r.nodeType)?(o.splice(s--,1),this._targets=o=o.concat(h(r))):(this._siblings[s]=V(r,this,!1),1===l&&this._siblings[s].length>1&&Y(r,this,null,1,this._siblings[s])):"string"==typeof(r=o[s--]=E.selector(r))&&o.splice(s+1,1):o.splice(s--,1);else this._propLookup={},this._siblings=V(e,this,!1),1===l&&this._siblings.length>1&&Y(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-c,this.render(-this._delay))},!0),A=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)},M=function(t,e){var i,n={};for(i in t)H[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!N[i]||N[i]&&N[i]._autoCSS)||(n[i]=t[i],delete t[i]);t.css=n};r=E.prototype=new D,r.constructor=E,r.kill()._gc=!1,r.ratio=0,r._firstPT=r._targets=r._overwrittenProps=r._startAt=null,r._notifyPluginsOfEnabled=r._lazy=!1,E.version="1.15.0",E.defaultEase=r._ease=new b(null,null,1,1),E.defaultOverwrite="auto",E.ticker=o,E.autoSleep=!0,E.lagSmoothing=function(t,e){o.lagSmoothing(t,e)},E.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(E.selector=i,i(e)):"undefined"==typeof document?e:document.querySelectorAll?document.querySelectorAll(e):document.getElementById("#"===e.charAt(0)?e.substr(1):e)};var L=[],R={},F=E._internals={isArray:p,isSelector:A,lazyTweens:L},N=E._plugins={},O=F.tweenLookup={},z=0,H=F.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1},B={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},W=D._rootFramesTimeline=new I,q=D._rootTimeline=new I,U=F.lazyRender=function(){var t,e=L.length;for(R={};--e>-1;)(t=L[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);L.length=0};q._startTime=o.time,W._startTime=o.frame,q._active=W._active=!0,setTimeout(U,1),D._updateRoot=E.render=function(){var t,e,i;if(L.length&&U(),q.render((o.time-q._startTime)*q._timeScale,!1,!1),W.render((o.frame-W._startTime)*W._timeScale,!1,!1),L.length&&U(),!(o.frame%120)){for(i in O){for(e=O[i].tweens,t=e.length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete O[i]}if((!(i=q._first)||i._paused)&&E.autoSleep&&!W._first&&1===o._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||o.sleep()}}},o.addEventListener("tick",D._updateRoot);var V=function(t,e,i){var n,s,r=t._gsTweenID;if(O[r||(t._gsTweenID=r="t"+z++)]||(O[r]={target:t,tweens:[]}),e&&(n=O[r].tweens,n[s=n.length]=e,i))for(;--s>-1;)n[s]===e&&n.splice(s,1);return O[r].tweens},X=function(t,e,i,n){var s,r,o=t.vars.onOverwrite;return o&&(s=o(t,e,i,n)),o=E.onOverwrite,o&&(r=o(t,e,i,n)),!1!==s&&!1!==r},Y=function(t,e,i,n,s){var r,o,a,l;if(1===n||n>=4){for(l=s.length,r=0;l>r;r++)if((a=s[r])!==e)a._gc||X(a,e)&&a._enabled(!1,!1)&&(o=!0);else if(5===n)break;return o}var u,h=e._startTime+c,d=[],p=0,f=0===e._duration;for(r=s.length;--r>-1;)(a=s[r])===e||a._gc||a._paused||(a._timeline!==e._timeline?(u=u||Q(e,0,f),0===Q(a,u,f)&&(d[p++]=a)):h>=a._startTime&&a._startTime+a.totalDuration()/a._timeScale>h&&((f||!a._initted)&&2e-10>=h-a._startTime||(d[p++]=a)));for(r=p;--r>-1;)if(a=d[r],2===n&&a._kill(i,t,e)&&(o=!0),2!==n||!a._firstPT&&a._initted){if(2!==n&&!X(a,e))continue;a._enabled(!1,!1)&&(o=!0)}return o},Q=function(t,e,i){for(var n=t._timeline,s=n._timeScale,r=t._startTime;n._timeline;){if(r+=n._startTime,s*=n._timeScale,n._paused)return-100;n=n._timeline}return r/=s,r>e?r-e:i&&r===e||!t._initted&&2*c>r-e?c:(r+=t.totalDuration()/t._timeScale/s)>e+c?0:r-e-c};r._init=function(){var t,e,i,n,s,r=this.vars,o=this._overwrittenProps,a=this._duration,l=!!r.immediateRender,u=r.ease;if(r.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),s={};for(n in r.startAt)s[n]=r.startAt[n];if(s.overwrite=!1,s.immediateRender=!0,s.lazy=l&&!1!==r.lazy,s.startAt=s.delay=null,this._startAt=E.to(this.target,0,s),l)if(this._time>0)this._startAt=null;else if(0!==a)return}else if(r.runBackwards&&0!==a)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{0!==this._time&&(l=!1),i={};for(n in r)H[n]&&"autoCSS"!==n||(i[n]=r[n]);if(i.overwrite=0,i.data="isFromStart",i.lazy=l&&!1!==r.lazy,i.immediateRender=l,this._startAt=E.to(this.target,0,i),l){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=u=u?u instanceof b?u:"function"==typeof u?new b(u,r.easeParams):w[u]||E.defaultEase:E.defaultEase,r.easeParams instanceof Array&&u.config&&(this._ease=u.config.apply(u,r.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(t=this._targets.length;--t>-1;)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],o?o[t]:null)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,o);if(e&&E._onPluginEvent("_onInitAllProps",this),o&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),r.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=r.onUpdate,this._initted=!0}
19,r._initProps=function(e,i,n,s){var r,o,a,l,u,c;if(null==e)return!1;R[e._gsTweenID]&&U(),this.vars.css||e.style&&e!==t&&e.nodeType&&N.css&&!1!==this.vars.autoCSS&&M(this.vars,e);for(r in this.vars){if(c=this.vars[r],H[r])c&&(c instanceof Array||c.push&&p(c))&&-1!==c.join("").indexOf("{self}")&&(this.vars[r]=c=this._swapSelfInParams(c,this));else if(N[r]&&(l=new N[r])._onInitTween(e,this.vars[r],this)){for(this._firstPT=u={_next:this._firstPT,t:l,p:"setRatio",s:0,c:1,f:!0,n:r,pg:!0,pr:l._priority},o=l._overwriteProps.length;--o>-1;)i[l._overwriteProps[o]]=this._firstPT;(l._priority||l._onInitAllProps)&&(a=!0),(l._onDisable||l._onEnable)&&(this._notifyPluginsOfEnabled=!0)}else this._firstPT=i[r]=u={_next:this._firstPT,t:e,p:r,f:"function"==typeof e[r],n:r,pg:!1,pr:0},u.s=u.f?e[r.indexOf("set")||"function"!=typeof e["get"+r.substr(3)]?r:"get"+r.substr(3)]():parseFloat(e[r]),u.c="string"==typeof c&&"="===c.charAt(1)?parseInt(c.charAt(0)+"1",10)*Number(c.substr(2)):Number(c)-u.s||0;u&&u._next&&(u._next._prev=u)}return s&&this._kill(s,e)?this._initProps(e,i,n,s):this._overwrite>1&&this._firstPT&&n.length>1&&Y(e,this,i,this._overwrite,n)?(this._kill(i,e),this._initProps(e,i,n,s)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(R[e._gsTweenID]=!0),a)},r.render=function(t,e,i){var n,s,r,o,a=this._time,l=this._duration,u=this._rawPrevTime;if(t>=l)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(n=!0,s="onComplete"),0===l&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(0===t||0>u||u===c&&"isPause"!==this.data)&&u!==t&&(i=!0,u>c&&(s="onReverseComplete")),this._rawPrevTime=o=!e||t||u===t?t:c);else if(1e-7>t)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==a||0===l&&u>0&&u!==c)&&(s="onReverseComplete",n=this._reversed),0>t&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||i)&&(u>=0&&(u!==c||"isPause"!==this.data)&&(i=!0),this._rawPrevTime=o=!e||t||u===t?t:c)),this._initted||(i=!0);else if(this._totalTime=this._time=t,this._easeType){var h=t/l,d=this._easeType,p=this._easePower;(1===d||3===d&&h>=.5)&&(h=1-h),3===d&&(h*=2),1===p?h*=h:2===p?h*=h*h:3===p?h*=h*h*h:4===p&&(h*=h*h*h*h),this.ratio=1===d?1-h:2===d?h:.5>t/l?h/2:1-h/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==a||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=a,this._rawPrevTime=u,L.push(this),void(this._lazy=[t,e]);this._time&&!n?this.ratio=this._ease.getRatio(this._time/l):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==a&&t>=0&&(this._active=!0),0===a&&(this._startAt&&(t>=0?this._startAt.render(t,e,i):s||(s="_dummyGS")),this.vars.onStart&&(0!==this._time||0===l)&&(e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||y))),r=this._firstPT;r;)r.f?r.t[r.p](r.c*this.ratio+r.s):r.t[r.p]=r.c*this.ratio+r.s,r=r._next;this._onUpdate&&(0>t&&this._startAt&&-1e-4!==t&&this._startAt.render(t,e,i),e||(this._time!==a||n)&&this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||y)),s&&(!this._gc||i)&&(0>t&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,e,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[s]&&this.vars[s].apply(this.vars[s+"Scope"]||this,this.vars[s+"Params"]||y),0===l&&this._rawPrevTime===c&&o!==c&&(this._rawPrevTime=0))}},r._kill=function(t,e,i){
20if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:E.selector(e)||e;var n,s,r,o,a,l,u,c,h;if((p(e)||A(e))&&"number"!=typeof e[0])for(n=e.length;--n>-1;)this._kill(t,e[n])&&(l=!0);else{if(this._targets){for(n=this._targets.length;--n>-1;)if(e===this._targets[n]){a=this._propLookup[n]||{},this._overwrittenProps=this._overwrittenProps||[],s=this._overwrittenProps[n]=t?this._overwrittenProps[n]||{}:"all";break}}else{if(e!==this.target)return!1;a=this._propLookup,s=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(a){if(u=t||a,c=t!==s&&"all"!==s&&t!==a&&("object"!=typeof t||!t._tempKill),i&&(E.onOverwrite||this.vars.onOverwrite)){for(r in u)a[r]&&(h||(h=[]),h.push(r));if(!X(this,i,e,h))return!1}for(r in u)(o=a[r])&&(o.pg&&o.t._kill(u)&&(l=!0),o.pg&&0!==o.t._overwriteProps.length||(o._prev?o._prev._next=o._next:o===this._firstPT&&(this._firstPT=o._next),o._next&&(o._next._prev=o._prev),o._next=o._prev=null),delete a[r]),c&&(s[r]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return l},r.invalidate=function(){return this._notifyPluginsOfEnabled&&E._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],D.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-c,this.render(-this._delay)),this},r._enabled=function(t,e){if(a||o.wake(),t&&this._gc){var i,n=this._targets;if(n)for(i=n.length;--i>-1;)this._siblings[i]=V(n[i],this,!0);else this._siblings=V(this.target,this,!0)}return D.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&E._onPluginEvent(t?"_onEnable":"_onDisable",this)}
20,E.to=function(t,e,i){return new E(t,e,i)},E.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new E(t,e,i)},E.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new E(t,e,n)},E.delayedCall=function(t,e,i,n,s){return new E(e,0,{delay:t,onComplete:e,onCompleteParams:i,onCompleteScope:n,onReverseComplete:e,onReverseCompleteParams:i,onReverseCompleteScope:n,immediateRender:!1,lazy:!1,useFrames:s,overwrite:0})},E.set=function(t,e){return new E(t,0,e)},E.getTweensOf=function(t,e){if(null==t)return[];t="string"!=typeof t?t:E.selector(t)||t;var i,n,s,r;if((p(t)||A(t))&&"number"!=typeof t[0]){for(i=t.length,n=[];--i>-1;)n=n.concat(E.getTweensOf(t[i],e));for(i=n.length;--i>-1;)for(r=n[i],s=i;--s>-1;)r===n[s]&&n.splice(i,1)}else for(n=V(t).concat(),i=n.length;--i>-1;)(n[i]._gc||e&&!n[i].isActive())&&n.splice(i,1);return n},E.killTweensOf=E.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var n=E.getTweensOf(t,e),s=n.length;--s>-1;)n[s]._kill(i,t)};var G=v("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=G.prototype},!0);if(r=G.prototype,G.version="1.10.1",G.API=2,r._firstPT=null,r._addTween=function(t,e,i,n,s,r){var o,a;return null!=n&&(o="number"==typeof n||"="!==n.charAt(1)?Number(n)-i:parseInt(n.charAt(0)+"1",10)*Number(n.substr(2)))?(this._firstPT=a={_next:this._firstPT,t:t,p:e,s:i,c:o,f:"function"==typeof t[e],n:s||e,r:r},a._next&&(a._next._prev=a),a):void 0},r.setRatio=function(t){for(var e,i=this._firstPT,n=1e-6;i;)e=i.c*t+i.s,i.r?e=Math.round(e):n>e&&e>-n&&(e=0),i.f?i.t[i.p](e):i.t[i.p]=e,i=i._next},r._kill=function(t){var e,i=this._overwriteProps,n=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;n;)null!=t[n.n]&&(n._next&&(n._next._prev=n._prev),n._prev?(n._prev._next=n._next,n._prev=null):this._firstPT===n&&(this._firstPT=n._next)),n=n._next;return!1},r._roundProps=function(t,e){for(var i=this._firstPT;i;)(t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&(i.r=e),i=i._next},E._onPluginEvent=function(t,e){var i,n,s,r,o,a=e._firstPT;if("_onInitAllProps"===t){for(;a;){for(o=a._next,n=s;n&&n.pr>a.pr;)n=n._next;(a._prev=n?n._prev:r)?a._prev._next=a:s=a,(a._next=n)?n._prev=a:r=a,a=o}a=e._firstPT=s}for(;a;)a.pg&&"function"==typeof a.t[t]&&a.t[t]()&&(i=!0),a=a._next;return i},G.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===G.API&&(N[(new t[e])._propName]=t[e]);return!0},g.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,n=t.priority||0,s=t.overwriteProps,r={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},o=v("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){G.call(this,i,n),this._overwriteProps=s||[]},!0===t.global),a=o.prototype=new G(i);a.constructor=o,o.API=t.API;for(e in r)"function"==typeof t[e]&&(a[r[e]]=t[e]);return o.version=t.version,G.activate([o]),o},n=t._gsQueue){for(s=0;n.length>s;s++)n[s]();for(r in f)f[r].func||t.console.log("GSAP encountered missing dependency: com.greensock."+r)}a=!1}}("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window,"TweenMax"),function(){for(var t=0,e=["webkit","moz"],i=0;i<e.length&&!window.requestAnimationFrame;++i)window.requestAnimationFrame=window[e[i]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[e[i]+"CancelAnimationFrame"]||window[e[i]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(e,i){var n=(new Date).getTime(),s=Math.max(0,16-(n-t)),r=window.setTimeout(function(){e(n+s)},s);return t=n+s,r}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){clearTimeout(t)})}(),/*!
21 * VERSION: 0.1.9
22 * DATE: 2014-07-22
23 * UPDATES AND DOCS AT: http://www.greensock.com/jquery-gsap-plugin/
24 *
25 * Requires TweenLite version 1.8.0 or higher and CSSPlugin.
26 *
27 * @license Copyright (c) 2014, GreenSock. All rights reserved.
28 * This work is subject to the terms at http://www.greensock.com/terms_of_use.html or for
29 * Club GreenSock members, the software agreement that was issued with your membership.
30 *
31 * @author: Jack Doyle, [email protected]
32 */
33function(t){"use strict";var e,i,n,s=t.fn.animate,r=t.fn.stop,o=!0,a=function(t){var e,i={};for(e in t)i[e]=t[e];return i},l={overwrite:1,delay:1,useFrames:1,runBackwards:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,autoCSS:1},u=function(t,e){for(var i in l)l[i]&&void 0!==t[i]&&(e[i]=t[i])},c=function(t){return function(e){return t.getRatio(e)}},h={},d=function(){var s,r,o,a=window.GreenSockGlobals||window;if(e=a.TweenMax||a.TweenLite,e&&(s=(e.version+".0.0").split("."),r=!(Number(s[0])>0&&Number(s[1])>7),a=a.com.greensock,i=a.plugins.CSSPlugin,h=a.easing.Ease.map||{}),!e||!i||r)return e=null,void(!n&&window.console&&(window.console.log("The jquery.gsap.js plugin requires the TweenMax (or at least TweenLite and CSSPlugin) JavaScript file(s)."+(r?" Version "+s.join(".")+" is too old.":"")),n=!0));if(t.easing){for(o in h)t.easing[o]=c(h[o]);d=!1}};t.fn.animate=function(n,r,l,c){if(n=n||{},d&&(d(),!e||!i))return s.call(this,n,r,l,c);if(!o||!0===n.skipGSAP||"object"==typeof r&&"function"==typeof r.step||null!=n.scrollTop||null!=n.scrollLeft)return s.call(this,n,r,l,c);var p,f,m,g,v=t.speed(r,l,c),_={ease:h[v.easing]||(!1===v.easing?h.linear:h.swing)},y=this,b="object"==typeof r?r.specialEasing:null;for(f in n){if(p=n[f],p instanceof Array&&h[p[1]]&&(b=b||{},b[f]=p[1],p=p[0]),"toggle"===p||"hide"===p||"show"===p)return s.call(this,n,r,l,c);_[-1===f.indexOf("-")?f:t.camelCase(f)]=p}if(b){_=a(_),g=[];for(f in b)p=g[g.length]={},u(_,p),p.ease=h[b[f]]||_.ease,-1!==f.indexOf("-")&&(f=t.camelCase(f)),p[f]=_[f],delete _[f];0===g.length&&(g=null)}return m=function(i){var n,s=a(_);if(g)for(n=g.length;--n>-1;)e.to(this,t.fx.off?0:v.duration/1e3,g[n]);s.onComplete=function(){i?i():v.old&&t(this).each(v.old)},e.to(this,t.fx.off?0:v.duration/1e3,s)},!1!==v.queue?(y.queue(v.queue,m),"function"==typeof v.old&&y.queue(v.queue,function(t){v.old.call(this),t()})):m.call(y),y},t.fn.stop=function(t,i){if(r.call(this,t,i),e){if(i)for(var n,s=e.getTweensOf(this),o=s.length;--o>-1;)(n=s[o].totalTime()/s[o].totalDuration())>0&&1>n&&s[o].seek(s[o].totalDuration());e.killTweensOf(this)}return this},t.gsap={enabled:function(t){o=t},version:"0.1.9"}}(jQuery),function(){function t(t,e,i,n){if(t.addEventListener)return t.addEventListener(e,i,n),{destroy:function(){t.removeEventListener(e,i,n)}};var s=function(t){i.handleEvent(window.event,i)};return t.attachEvent("on"+e,s),{destroy:function(){t.detachEvent("on"+e,s)}}}var e="ontouchstart"in window;this.FastButton=function(i,n,s){this.events=[],this.touchEvents=[],this.element=i,this.handler=n,this.useCapture=s,e&&this.events.push(t(i,"touchstart",this,this.useCapture)),this.events.push(t(i,"click",this,this.useCapture))},this.FastButton.prototype.destroy=function(){for(i=this.events.length-1;i>=0;i-=1)this.events[i].destroy();this.events=this.touchEvents=this.element=this.handler=this.fastButton=null},this.FastButton.prototype.handleEvent=function(t){switch(t.type){case"touchstart":this.onTouchStart(t);break;case"touchmove":this.onTouchMove(t);break;case"touchend":this.onClick(t);break;case"click":this.onClick(t);break}},this.FastButton.prototype.onTouchStart=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,this.touchEvents.push(t(this.element,"touchend",this,this.useCapture)),this.touchEvents.push(t(document.body,"touchmove",this,this.useCapture)),this.startX=e.touches[0].clientX,this.startY=e.touches[0].clientY},this.FastButton.prototype.onTouchMove=function(t){(Math.abs(t.touches[0].clientX-this.startX)>10||Math.abs(t.touches[0].clientY-this.startY)>10)&&this.reset()},this.FastButton.prototype.onClick=function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0,this.reset();var e=this.handler.call(this.element,t);return"touchend"==t.type&&clickbuster.preventGhostClick(this.startX,this.startY),e},this.FastButton.prototype.reset=function(){for(i=this.touchEvents.length-1;i>=0;i-=1)this.touchEvents[i].destroy();this.touchEvents=[]},this.clickbuster=function(){},this.clickbuster.preventGhostClick=function(t,e){clickbuster.coordinates.push(t,e),window.setTimeout(clickbuster.pop,2500)},this.clickbuster.pop=function(){clickbuster.coordinates.splice(0,2)},this.clickbuster.onClick=function(t){for(var e=0;e<clickbuster.coordinates.length;e+=2){var i=clickbuster.coordinates[e],n=clickbuster.coordinates[e+1];Math.abs(t.clientX-i)<25&&Math.abs(t.clientY-n)<25&&(t.stopPropagation?t.stopPropagation():t.cancelBubble=!0,t.preventDefault?t.preventDefault():t.returnValue=!1)}},e&&(document.addEventListener("click",clickbuster.onClick,!0),clickbuster.coordinates=[])}(this),function($){$.event.special.fastClick={setup:function(){$(this).data("fastClick",new FastButton(this,$.event.special.fastClick.handler))},teardown:function(){$(this).data("fastClick").destroy(),$(this).removeData("fastClick")},handler:function(t){t=$.event.fix(t),t.type="fastClick",$.event.dispatch.apply(this,arguments)}},$.fn.fastClick=function(t){return $(this).each(function(){return t?$(this).bind("fastClick",t):$(this).trigger("fastClick")})}}(jQuery),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(t,e,
33i,n,s){return jQuery.easing[jQuery.easing.def](t,e,i,n,s)},easeInQuad:function(t,e,i,n,s){return n*(e/=s)*e+i},easeOutQuad:function(t,e,i,n,s){return-n*(e/=s)*(e-2)+i},easeInOutQuad:function(t,e,i,n,s){return(e/=s/2)<1?n/2*e*e+i:-n/2*(--e*(e-2)-1)+i},easeInCubic:function(t,e,i,n,s){return n*(e/=s)*e*e+i},easeOutCubic:function(t,e,i,n,s){return n*((e=e/s-1)*e*e+1)+i},easeInOutCubic:function(t,e,i,n,s){return(e/=s/2)<1?n/2*e*e*e+i:n/2*((e-=2)*e*e+2)+i},easeInQuart:function(t,e,i,n,s){return n*(e/=s)*e*e*e+i},easeOutQuart:function(t,e,i,n,s){return-n*((e=e/s-1)*e*e*e-1)+i},easeInOutQuart:function(t,e,i,n,s){return(e/=s/2)<1?n/2*e*e*e*e+i:-n/2*((e-=2)*e*e*e-2)+i},easeInQuint:function(t,e,i,n,s){return n*(e/=s)*e*e*e*e+i},easeOutQuint:function(t,e,i,n,s){return n*((e=e/s-1)*e*e*e*e+1)+i},easeInOutQuint:function(t,e,i,n,s){return(e/=s/2)<1?n/2*e*e*e*e*e+i:n/2*((e-=2)*e*e*e*e+2)+i},easeInSine:function(t,e,i,n,s){return-n*Math.cos(e/s*(Math.PI/2))+n+i},easeOutSine:function(t,e,i,n,s){return n*Math.sin(e/s*(Math.PI/2))+i},easeInOutSine:function(t,e,i,n,s){return-n/2*(Math.cos(Math.PI*e/s)-1)+i},easeInExpo:function(t,e,i,n,s){return 0==e?i:n*Math.pow(2,10*(e/s-1))+i},easeOutExpo:function(t,e,i,n,s){return e==s?i+n:n*(1-Math.pow(2,-10*e/s))+i},easeInOutExpo:function(t,e,i,n,s){return 0==e?i:e==s?i+n:(e/=s/2)<1?n/2*Math.pow(2,10*(e-1))+i:n/2*(2-Math.pow(2,-10*--e))+i},easeInCirc:function(t,e,i,n,s){return-n*(Math.sqrt(1-(e/=s)*e)-1)+i},easeOutCirc:function(t,e,i,n,s){return n*Math.sqrt(1-(e=e/s-1)*e)+i},easeInOutCirc:function(t,e,i,n,s){return(e/=s/2)<1?-n/2*(Math.sqrt(1-e*e)-1)+i:n/2*(Math.sqrt(1-(e-=2)*e)+1)+i},easeInElastic:function(t,e,i,n,s){var r=1.70158,o=0,a=n;if(0==e)return i;if(1==(e/=s))return i+n;if(o||(o=.3*s),a<Math.abs(n)){a=n;var r=o/4}else var r=o/(2*Math.PI)*Math.asin(n/a);return-a*Math.pow(2,10*(e-=1))*Math.sin((e*s-r)*(2*Math.PI)/o)+i},easeOutElastic:function(t,e,i,n,s){var r=1.70158,o=0,a=n;if(0==e)return i;if(1==(e/=s))return i+n;if(o||(o=.3*s),a<Math.abs(n)){a=n;var r=o/4}else var r=o/(2*Math.PI)*Math.asin(n/a);return a*Math.pow(2,-10*e)*Math.sin((e*s-r)*(2*Math.PI)/o)+n+i},easeInOutElastic:function(t,e,i,n,s){var r=1.70158,o=0,a=n;if(0==e)return i;if(2==(e/=s/2))return i+n;if(o||(o=s*(.3*1.5)),a<Math.abs(n)){a=n;var r=o/4}else var r=o/(2*Math.PI)*Math.asin(n/a);return e<1?a*Math.pow(2,10*(e-=1))*Math.sin((e*s-r)*(2*Math.PI)/o)*-.5+i:a*Math.pow(2,-10*(e-=1))*Math.sin((e*s-r)*(2*Math.PI)/o)*.5+n+i},easeInBack:function(t,e,i,n,s,r){return void 0==r&&(r=1.70158),n*(e/=s)*e*((r+1)*e-r)+i},easeOutBack:function(t,e,i,n,s,r){return void 0==r&&(r=1.70158),n*((e=e/s-1)*e*((r+1)*e+r)+1)+i},easeInOutBack:function(t,e,i,n,s,r){return void 0==r&&(r=1.70158),(e/=s/2)<1?n/2*(e*e*((1+(r*=1.525))*e-r))+i:n/2*((e-=2)*e*((1+(r*=1.525))*e+r)+2)+i},easeInBounce:function(t,e,i,n,s){return n-jQuery.easing.easeOutBounce(t,s-e,0,n,s)+i},easeOutBounce:function(t,e,i,n,s){return(e/=s)<1/2.75?n*(7.5625*e*e)+i:e<2/2.75?n*(7.5625*(e-=1.5/2.75)*e+.75)+i:e<2.5/2.75?n*(7.5625*(e-=2.25/2.75)*e+.9375)+i:n*(7.5625*(e-=2.625/2.75)*e+.984375)+i},easeInOutBounce:function(t,e,i,n,s){return e<s/2?.5*jQuery.easing.easeInBounce(t,2*e,0,n,s)+i:.5*jQuery.easing.easeOutBounce(t,2*e-s,0,n,s)+.5*n+i}}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t:t(jQuery)}(function(t){function e(e){var o=e||window.event,a=l.call(arguments,1),u=0,h=0,d=0,p=0,f=0,m=0;if(e=t.event.fix(o),e.type="mousewheel","detail"in o&&(d=-1*o.detail),"wheelDelta"in o&&(d=o.wheelDelta),"wheelDeltaY"in o&&(d=o.wheelDeltaY),"wheelDeltaX"in o&&(h=-1*o.wheelDeltaX),"axis"in o&&o.axis===o.HORIZONTAL_AXIS&&(h=-1*d,d=0),u=0===d?h:d,"deltaY"in o&&(d=-1*o.deltaY,u=d),"deltaX"in o&&(h=o.deltaX,0===d&&(u=-1*h)),0!==d||0!==h){if(1===o.deltaMode){var g=t.data(this,"mousewheel-line-height");u*=g,d*=g,h*=g}else if(2===o.deltaMode){var v=t.data(this,"mousewheel-page-height");u*=v,d*=v,h*=v}if(p=Math.max(Math.abs(d),Math.abs(h)),(!r||r>p)&&(r=p,n(o,p)&&(r/=40)),n(o,p)&&(u/=40,h/=40,d/=40),u=Math[u>=1?"floor":"ceil"](u/r),h=Math[h>=1?"floor":"ceil"](h/r),d=Math[d>=1?"floor":"ceil"](d/r),c.settings.normalizeOffset&&this.getBoundingClientRect){var _=this.getBoundingClientRect();f=e.clientX-_.left,m=e.clientY-_.top}return e.deltaX=h,e.deltaY=d,e.deltaFactor=r,e.offsetX=f,e.offsetY=m,e.deltaMode=0,a.unshift(e,u,h,d),s&&clearTimeout(s),s=setTimeout(i,200),(t.event.dispatch||t.event.handle).apply(this,a)}}function i(){r=null}function n(t,e){return c.settings.adjustOldDeltas&&"mousewheel"===t.type&&e%120==0}var s,r,o=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],a="onwheel"in document||document.documentMode>
33=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(t.event.fixHooks)for(var u=o.length;u;)t.event.fixHooks[o[--u]]=t.event.mouseHooks;var c=t.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var i=a.length;i;)this.addEventListener(a[--i],e,!1);else this.onmousewheel=e;t.data(this,"mousewheel-line-height",c.getLineHeight(this)),t.data(this,"mousewheel-page-height",c.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var i=a.length;i;)this.removeEventListener(a[--i],e,!1);else this.onmousewheel=null;t.removeData(this,"mousewheel-line-height"),t.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var i=t(e),n=i["offsetParent"in t.fn?"offsetParent":"parent"]();return n.length||(n=t("body")),parseInt(n.css("fontSize"),10)||parseInt(i.css("fontSize"),10)||16},getPageHeight:function(e){return t(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};t.fn.extend({mousewheel:function(t){return t?this.bind("mousewheel",t):this.trigger("mousewheel")},unmousewheel:function(t){return this.unbind("mousewheel",t)}})}),function($){function t(t){return"object"==typeof t?t:{top:t,left:t}}var e=$.scrollTo=function(t,e,i){$(window).scrollTo(t,e,i)};e.defaults={axis:"xy",duration:parseFloat($.fn.jquery)>=1.3?0:1,limit:!0},e.window=function(t){return $(window)._scrollable()},$.fn._scrollable=function(){return this.map(function(){var t=this;if(t.nodeName&&-1==$.inArray(t.nodeName.toLowerCase(),["iframe","#document","html","body"]))return t;var e=(t.contentWindow||t).document||t.ownerDocument||t;return/webkit/i.test(navigator.userAgent)||"BackCompat"==e.compatMode?e.body:e.documentElement})},$.fn.scrollTo=function(i,n,s){return"object"==typeof n&&(s=n,n=0),"function"==typeof s&&(s={onAfter:s}),"max"==i&&(i=9e9),s=$.extend({},e.defaults,s),n=n||s.duration,s.queue=s.queue&&s.axis.length>1,s.queue&&(n/=2),s.offset=t(s.offset),s.over=t(s.over),this._scrollable().each(function(){function r(t){a.animate(c,n,s.easing,t&&function(){t.call(this,l,s)})}if(null!=i){var o=this,a=$(o),l=i,u,c={},h=a.is("html,body");switch(typeof l){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(l)){l=t(l);break}if(l=$(l,this),!l.length)return;case"object":(l.is||l.style)&&(u=(l=$(l)).offset())}$.each(s.axis.split(""),function(t,i){var n="x"==i?"Left":"Top",d=n.toLowerCase(),p="scroll"+n,f=o[p],m=e.max(o,i);if(u)c[p]=u[d]+(h?0:f-a.offset()[d]),s.margin&&(c[p]-=parseInt(l.css("margin"+n))||0,c[p]-=parseInt(l.css("border"+n+"Width"))||0),c[p]+=s.offset[d]||0,s.over[d]&&(c[p]+=l["x"==i?"width":"height"]()*s.over[d]);else{var g=l[d];c[p]=g.slice&&"%"==g.slice(-1)?parseFloat(g)/100*m:g}s.limit&&/^\d+$/.test(c[p])&&(c[p]=c[p]<=0?0:Math.min(c[p],m)),!t&&s.queue&&(f!=c[p]&&r(s.onAfterFirst),delete c[p])}),r(s.onAfter)}}).end()},e.max=function(t,e){var i="x"==e?"Width":"Height",n="scroll"+i;if(!$(t).is("html,body"))return t[n]-$(t)[i.toLowerCase()]();var s="client"+i,r=t.ownerDocument.documentElement,o=t.ownerDocument.body;return Math.max(r[n],o[n])-Math.min(r[s],o[s])}}(jQuery),function($){$.touchyOptions={useDelegation:!1,longpress:{preventDefault:{start:!0,move:!0,end:!0},requiredTouches:1,msThresh:800,triggerStartPhase:!1,data:{startDate:null},proxyEvents:["TouchStart","TouchEnd"]},drag:{preventDefault:{start:!0,move:!0,end:!0},requiredTouches:1,msHoldThresh:100,data:{startPoint:null,startDate:null,movePoint:null,moveDate:null,held:!1},proxyEvents:["TouchStart","TouchMove","TouchEnd"]},pinch:{preventDefault:{start:!0,move:!0,end:!0},requiredTouches:2,pxThresh:0,data:{startPoint:null,startDate:null,movePoint:null,moveDate:null},proxyEvents:["TouchStart","TouchMove","GestureChange","TouchEnd"]},rotate:{preventDefault:{start:!0,move:!0,end:!0},requiredTouches:1,data:{},proxyEvents:["TouchStart","TouchMove","GestureChange","TouchEnd"]},swipe:{preventDefault:{start:!0,move:!0,end:!0},requiredTouches:1,velocityThresh:1,triggerOn:"touchmove",data:{startPoint:null,startDate:null,movePoint:null,moveDate:null},proxyEvents:["TouchStart","TouchMove","TouchEnd"]}};var t={handleTouchStart:function(t){var n=this.context,r=a(t,n);if(r){var l=t.originalEvent,u=l.targetTouches,c="touchy"+n.charAt(0).toUpperCase()+n.slice(1),h=r.data(c),d=h.settings;if(d.preventDefault.start&&l.preventDefault(),u.length===d.requiredTouches)switch(n){case"drag":e(h,u,t.timeStamp);var p=h.startPoint;r.trigger("touchy-drag",["start",r,{movePoint:p,lastMovePoint:p,startPoint:p,velocity:0}]);break;case"swipe":i(h,u,t.timeStamp);break;case"pinch":var f=o(t);f&&(h.startPoint={x:f.centerX,y:f.centerY},h.startDistance=Math.sqrt(Math.pow(f.x2-f.x1,2)+Math.pow(f.y2-f.y1,2)));break;case"longpress":h.startPoint={x:u[0].pageX,y:u[0].pageY},h.startDate=t.timeStamp,d.triggerStartPhase&&r.trigger("touchy-longpress",["start",r]),h.timer=setTimeout($.proxy(function(){r.trigger("touchy-longpress",["end",r])},this),d.msThresh);break;case"rotate":if(1===u.length)s(h,u,t.timeStamp);else{var f=o(t);h.startPoint={x:f.centerX,y:f.centerY},h.startDate=t.timeStamp}var p=h.startPoint;r.trigger("touchy-rotate",["start",r,{startPoint:p,movePoint:p,lastMovePoint:p,velocity:0,degrees:0}]);break}}},handleTouchMove:function(t){var s=this.context,u=a(t,s);if(u){var c=t.originalEvent,h=c.targetTouches,d="touchy"+s.charAt(0).toUpperCase()+s.slice(1),p=u.data(d),f=p.settings;if(void 0!==f.preventDefault&&f.preventDefault.move&&c.preventDefault(),h.length===f.requiredTouches)switch(s){case"drag":e(p,h,t.timeStamp);var m=p.movePoint,g=p.lastMovePoint,v=m.x===g.x&&m.y===g.y?0:Math.sqrt(Math.pow(m.x-g.x,2)+Math.pow(m.y-g.y,2)),_=p.moveDate-p.lastMoveDate,y=0===_?0:v/_;p.held&&u.trigger("touchy-drag",["move",u,{movePoint:m,lastMovePoint:g,startPoint:p.startPoint,velocity:y}]);break;case"swipe":i(p,h,t.timeStamp),!p.swipeExecuted&&p.swiped&&"touchmove"===f.triggerOn&&(p.swipeExecuted=!0,n(p,u),$.extend(p,{startPoint:null,startDate:null,movePoint:null,moveDate:null,lastMovePoint:null,lastMoveDate:null,swiped:!1,swipeExecuted:!1}));break;case"pinch":var b=o(t);if(b&&(p.currentPoint={x:b.centerX,y:b.centerY},!r())){var w=Math.sqrt(Math.pow(b.x2-b.x1,2)+Math.pow(b.y2-b.y1,2)),x=p.previousScale=p.scale||1,S=p.startDistance,T=p.scale=w/S;T*S>f.pxThresh&&u.trigger("touchy-pinch",[u,{scale:T,previousScale:x,currentPoint:p.currentPoint,startPoint:p.startPoint,
33startDistance:S}])}break;case"rotate":var g,C,m,k,C,v,_,y,P,D,j,I,E,A;if(g=p.lastMovePoint=p.movePoint||p.startPoint,C=p.lastMoveDate=p.moveDate||p.startDate,m=p.movePoint={x:h[0].pageX,y:h[0].pageY},k=p.moveDate=t.timeStamp,1===h.length)P=p.targetPageCoords=p.targetPageCoords||l(t.target),D=p.centerCoords=p.centerCoords||{x:P.x+.5*u.width(),y:P.y+.5*u.height()};else{var b=o(t);if(D=p.centerCoords={x:b.centerX,y:b.centerY},r())break}j=Math.atan2(m.y-D.y,m.x-D.x),E=p.lastDegrees=p.degrees,I=p.degrees=j*(180/Math.PI),A=E?I-E:0,_=k-C,y=p.velocity=0===_?0:A/_,u.trigger("touchy-rotate",["move",u,{startPoint:p.startPoint,startDate:p.startDate,movePoint:m,lastMovePoint:g,centerCoords:D,degrees:I,degreeDelta:A,velocity:y}]);break}}},handleGestureChange:function(t){var e=this.context,i=a(t,e);if(i){var i=$(t.target),n=t.originalEvent,s=n.touches,r="touchy"+e.charAt(0).toUpperCase()+e.slice(1),o=i.data(r);switch(void 0!==o.preventDefault&&o.preventDefault.move&&n.preventDefault(),e){case"pinch":var l=o.previousScale=o.scale||1,u=o.scale=n.scale,c=o.startPoint,h=o.currentPoint||c,d=o.startDistance;u*d>o.settings.pxThresh&&i.trigger("touchy-pinch",[i,{scale:u,previousScale:l,currentPoint:h,startPoint:c,startDistance:d}]);break;case"rotate":var p=o.lastDegrees=o.degrees,f=o.degrees=n.rotation,m=p?f-p:0,g=o.moveDate-o.lastMoveDate,v=o.velocity=0===g?0:m/g;i.trigger("touchy-rotate",["move",i,{startPoint:o.startPoint,startDate:o.startDate,movePoint:o.movePoint,lastMovePoint:o.lastMovePoint,centerCoords:o.centerCoords,degrees:f,degreeDelta:m,velocity:v}]);break}}},handleTouchEnd:function(t){var e=this.context,i=a(t,e);if(i){var s=t.originalEvent,r="touchy"+e.charAt(0).toUpperCase()+e.slice(1),o=i.data(r),l=o.settings;switch(l.preventDefault.end&&s.preventDefault(),e){case"drag":if(o.held){var u=o.movePoint||o.startPoint,c=o.lastMovePoint||o.startPoint,h=u.x===c.x&&u.y===c.y?0:Math.sqrt(Math.pow(u.x-c.x,2)+Math.pow(u.y-c.y,2)),d=o.moveDate-o.lastMoveDate,p=0===d?0:h/d;i.trigger("touchy-drag",["end",i,{movePoint:u,lastMovePoint:c,startPoint:o.startPoint,velocity:p}])}$.extend(o,{startPoint:null,startDate:null,movePoint:null,moveDate:null,lastMovePoint:null,lastMoveDate:null,held:!1});break;case"swipe":o.swiped&&"touchend"===l.triggerOn&&n(o,i),$.extend(o,{startPoint:null,startDate:null,movePoint:null,moveDate:null,lastMovePoint:null,lastMoveDate:null,swiped:!1,swipeExecuted:!1});break;case"pinch":$.extend(o,{startPoint:null,startDistance:0,currentPoint:null,pinched:!1,scale:1,previousScale:null});break;case"longpress":clearTimeout(o.timer),$.extend(o,{startDate:null});break;case"rotate":var f=o.lastDegrees?o.degrees-o.lastDegrees:0;i.trigger("touchy-rotate",["end",i,{startPoint:o.startPoint,startDate:o.startDate,movePoint:o.movePoint,lastMovePoint:o.lastMovePoint,degrees:o.degrees,degreeDelta:f,velocity:o.velocity}]),$.extend(o,{startPoint:null,startDate:null,movePoint:null,moveDate:null,lastMovePoint:null,lastMoveDate:null,targetPageCoords:null,centerCoords:null,degrees:null,lastDegrees:null,velocity:null});break}}}},e=function(t,e,i){s(t,e,i);var n=t.moveDate||t.startDate,r=i;t.held||r-n>t.settings.msHoldThresh?$.extend(t,{held:!0,lastMoveDate:n,lastMovePoint:t.movePoint&&t.movePoint.x?t.movePoint:t.startPoint,moveDate:r,movePoint:{x:e[0].pageX,y:e[0].pageY}}):$.extend(t,{held:!1,lastMoveDate:0,lastMovePoint:t.startPoint,moveDate:0,movePoint:t.startPoint})},i=function(t,e,i){s(t,e,i);var n=t.settings,r=t.startDate,o=t.startPoint,a=t.moveDate||t.startDate,l=i,u={x:e[0].pageX,y:e[0].pageY},c=u.x-o.x,h=u.y-o.y,d=l-a;$.extend(t,{lastMoveDate:a,lastMovePoint:t.movePoint&&t.movePoint.x?t.movePoint:t.startPoint,moveDate:l,movePoint:u,hDistance:c,vDistance:h}),!t.swiped&&(Math.abs(c)/d>n.velocityThresh||Math.abs(h)/d>n.velocityThresh)&&(t.swiped=!0)},n=function(t,e){var i=t.movePoint,n=t.lastMovePoint,s=i.x===n.x&&i.y===n.y?0:Math.sqrt(Math.pow(i.x-n.x,2)+Math.pow(i.y-n.y,2)),r=t.moveDate-t.lastMoveDate,o=0===r?0:s/r,a=t.hDistance,l=t.vDistance,u;o>t.settings.velocityThresh&&(u=Math.abs(a)>Math.abs(l)?a>0?"right":"left":l>0?"down":"up",e.trigger("touchy-swipe",[e,{direction:u,movePoint:i,lastMovePoint:n,startPoint:t.startPoint,velocity:o}]))}
33,s=function(t,e,i){t.startPoint||(t.startPoint={x:e[0].pageX,y:e[0].pageY}),t.startDate||(t.startDate=i)},r=function(){return"object"==typeof window.ongesturechange},o=function(t){var e=!1,i=t.originalEvent.touches;return 2===i.length?(e={x1:i[0].pageX,y1:i[0].pageY,x2:i[1].pageX,y2:i[1].pageY},e.centerX=(e.x1+e.x2)/2,e.centerY=(e.y1+e.y2)/2,e):e},a=function(t,e){var i,n=!1,s=0,r=u[e].length;if($.touchyOptions.useDelegation){for(;s<r;s+=1)if(i=$(u[e][s]).has(t.target),i.length>0){n=i;break}}else u[e]&&-1!=u[e].index(t.target)&&(n=$(t.target));return n},l=function(t,e){function i(t,n,s){var r=t.offsetParent;if(n.x+=t.offsetLeft-(r?r.scrollLeft:0),n.y+=t.offsetTop-(r?r.scrollTop:0),r){if(1==r.nodeType){var o=s.getComputedStyle(r,"");if("static"!=o.position){if(n.x+=parseInt(o.borderLeftWidth),n.y+=parseInt(o.borderTopWidth),"TABLE"==r.localName)n.x+=parseInt(o.paddingLeft),n.y+=parseInt(o.paddingTop);else if("BODY"==r.localName){var a=s.getComputedStyle(t,"");n.x+=parseInt(a.marginLeft),n.y+=parseInt(a.marginTop)}}else"BODY"==r.localName&&(n.x+=parseInt(o.borderLeftWidth),n.y+=parseInt(o.borderTopWidth));for(var l=t.parentNode;r!=l;)n.x-=l.scrollLeft,n.y-=l.scrollTop,l=l.parentNode;i(r,n,s)}}else{if("BODY"==t.localName){var a=s.getComputedStyle(t,"");n.x+=parseInt(a.borderLeftWidth),n.y+=parseInt(a.borderTopWidth);var u=s.getComputedStyle(t.parentNode,"");n.x-=parseInt(u.paddingLeft),n.y-=parseInt(u.paddingTop)}t.scrollLeft&&(n.x+=t.scrollLeft),t.scrollTop&&(n.y+=t.scrollTop);var c=t.ownerDocument.defaultView;c&&!e&&c.frameElement&&i(c.frameElement,n,c)}}var n={x:0,y:0};return t&&i(t,n,t.ownerDocument.defaultView),n},u={},c={};$.each($.touchyOptions,function(e,i){if("useDelegation"!==e){var n=e.charAt(0).toUpperCase()+e.slice(1);u[e]=$([]),c[e]=new function(){this.context=e},$.event.special["touchy-"+e]={setup:function(i,s,r){u[e]=u[e].add(this),$(this).data("touchy"+n,$.extend({},$.touchyOptions[e].data)),$(this).data("touchy"+n).settings=$.extend({},$.touchyOptions[e]),delete $(this).data("touchy"+n).settings.data,1===u[e].length&&$.each($.touchyOptions[e].proxyEvents,function(i,n){$(document).bind(n.toLowerCase()+".touchy."+e,$.proxy(t["handle"+n],c[e]))})},teardown:function(t){u[e]=u[e].not(this),$(this).removeData("touchy"+n),0===u[e].length&&$.each($.touchyOptions[e].proxyEvents,function(t,i){$(document).unbind(i.toLowerCase()+".touchy."+e)})},add:function(t){$.extend($(this).data("touchy"+n).settings,t.data);var e=t.handler;t.handler=function(t){return e.apply(this,arguments)}}}}})}(jQuery),function($){var t=/android|iphone|ipad/i.test(navigator.userAgent.toLowerCase()),e=t?"touchend":"click";$.fn.doubletap=function(t,i){i=null==i?300:i,this.bind(e,function(e){var n=(new Date).getTime(),s=$(this).data("lastTouch")||n+1,r=n-s;r<i&&0<r?($(this).data("lastTouch",null),null!==t&&"function"==typeof t&&t(e)):$(this).data("lastTouch",n)})}}(jQuery);var site={currentState:"",previousStates:[],previousState:function(){return site.previousStates[site.previousStates.length-1]},opts:{},trackMouse:1,windowWidth:0,windowHeight:0,windowLoaded:0,mouseX:0,mouseY:0,windowX:0,windowY:0,scrollTop:0,scrollLeft:0,busy:0,touching:0,touchTimer:0,siteClass:"Site",breakPoints:{"Site--mobile":767,"Site--tablet":1022,"Site--desktop":1023},currentBreak:"",loadingSelector:".Site-loading",loadedSelector:".Site-loaded",lazyImageSelector:".Site-lazy-image",seenSelector:".Site-seen",stateSelector:".Site-state",isVisibleSelector:".Site-is-visible",keepRatioSelector:".Site-keep-ratio",shareableSelector:".Site-shareable",expandableSelector:".Site-expandable",prefixes:{ui:".ui-"},states:{active:"--active",inactive:"--inactive",loading:"--loading",loaded:"--loaded",seen:"--seen",handled:"--handled",visible:"--visible",invisible:"--invisible"},externalLinkClass:"Site-link--external",hashLinkClass:"Site-link--hash",shareUrls:{facebook:"http://www.facebook.com/sharer/sharer.php?s=100&p[title]={title}&p[summary]={desc}&p[url]={url}&p[images][0]={img}&","facebook-app":"https://www.facebook.com/dialog/share?app_id={app_id}&display=page&href={url}&redirect_uri={redirect_url}",twitter:"https://twitter.com/share?url={url}
33&text={title}&via={via}&hashtags={hashtags}",google:"https://plus.google.com/share?url={url}",pinterest:"https://pinterest.com/pin/create/bookmarklet/?media={img}&url={url}&is_video={is_video}&description={title}",linkedin:"http://www.linkedin.com/shareArticle?url={url}&title={title}",buffer:"http://bufferapp.com/add?text={title}&url={url}",digg:"http://digg.com/submit?url={url}&title={title}",tumblr:"http://www.tumblr.com/share/link?url={url}&name={title}&description={desc}",reddit:"http://reddit.com/submit?url={url}&title={title}",stumbleupon:"http://www.stumbleupon.com/submit?url={url}&title={title}",delicious:"https://delicious.com/save?v=5&provider={provider}&noui&jump=close&url={url}&title={title}",email:"mailto:?subject={title}&body={url}"},tasks:{queue:[],lastTask:0,busy:0,add:function(t,e){for(var i=0;i<t.length;i++){var n={data:t[i],func:e,total:t.length};site.tasks.queue.push(n)}return site.tasks},continue:function(){site.tasks.busy=0},check:function(){if(site.lastTask){var t=Math.abs(site.lastTask.total-site.tasks.queue.length),e=Math.round(t/site.lastTask.total*100),i=site.lastTask;site.trigger("taskComplete",{progress:e,task:i.data}),site.lastTask=0}if(!site.tasks.queue.length)return site.tasks.busy=0,void site.trigger("tasksComplete");if(site.tasks.queue.length&&!site.tasks.busy){var n=site.tasks.queue.shift();if(void 0!==n&&(site.lastTask=n,n.hasOwnProperty("data")&&n.hasOwnProperty("func"))){site.tasks.busy=1;(0,n.func)(n.data)}}},interval:0,tick:50,start:function(){site.tasks.interval||(site.tasks.interval=setInterval(function(){site.tasks.check()},site.tasks.tick))},stop:function(){site.tasks.interval&&(clearInterval(site.tasks.interval),site.tasks.interval=0)}},requestURI:function(){return window.location.pathname},httpHost:function(){return window.location.hostname},inArray:function(t,e){return $.inArray(t,e)>=0},ui:{},vars:{},siteData:{},data:function(t,e){if(!site.defined(e))return site.siteData[t];site.siteData[t]=e},$html:[],loaded:0,loadedClass:"Site--loaded",loaders:0,loader:{},loadTimer:250,loadInitOpts:{},loaderObject:function(t){site.loaders++,this.defaults={text:"Loading…",html:'<div id="loader'+site.loaders+'" class="Site-loader"><span class="Loader"><span class="Loader-body">{text}</span><span class="Loader-spinner"></span></span></div>',$appendTo:$("body")},this.opts=$.extend(this.defaults,t),this.$element=$(this.opts.html.replace("{text}",this.opts.text)),this.$element.appendTo(this.opts.$appendTo),this.show=function(t){this.$element.fadeIn(site.loadTimer,function(){void 0!==t&&t()})},this.hide=function(){site.windowLoaded&&this.$element.stop().fadeOut(250,function(){})}},setState:function(t){var e=site.currentState;site.previousStates.push(e),site.trigger("exitState",{state:t,from:e,to:t}),site.currentState=t,site.trigger("enterState",{state:t,from:e,to:t}),site.trigger("setState",{state:t,from:e,to:t})},isRetina:function(){return window.devicePixelRatio>1||window.matchMedia&&window.matchMedia("(-webkit-min-device-pixel-ratio: 1.5),(-moz-min-device-pixel-ratio: 1.5),(min-device-pixel-ratio: 1.5)").matches},init:function(t,e){void 0===t&&(t=site.opts),"function"==typeof t&&(e=t,t={}),site=$.extend(site,t),site.vars.handle=site.siteClass,site.$html=$("html"),site.loader=new site.loaderObject(site.loadInitOpts),site.loader.show(),site.checkExternalLinks(),site.checkHashLinks(),site.checkShareables(),site.checkExpandables(),site.ajax.url=site.requestURI(),site.ajax.rules.length&&site.ajax.init(),site.windowLoaded?setTimeout(function(){site.ajax.startPreload()},1e4):site.on("load",function(){setTimeout(function(){site.ajax.startPreload()},1e4)}),$(window).mousewheel(function(t){!site.vars.swiping&&Math.abs(t.deltaY)>10&&(site.vars.swiping=1,t.deltaY<0?site.trigger("swipeUp"):site.trigger("swipeDown"),setTimeout(function(){site.vars.swiping=0},1e3))}),$(window).resize(function(){site.resize()}),Modernizr.touch?(document.addEventListener("touchstart",function(){site.touchTimer&&(clearTimeout(site.touchTimer),site.touchTimer=0),site.touching=1},!1),document.addEventListener("touchend",function(){site.touchTimer=setTimeout(function(){site.touching=0},1500)},!1),document.addEventListener("touchmove",site.scroll,!1)):$(window).scroll(function(){site.scroll(1)}),$(window).load(function(){site.windowLoaded=1,site.loader.hide(),$(window).scrollTo(0,1),site.$html.addClass(site.loadedClass),site.trigger("load")}),site.opts.trackMouse&&($(document).mousemove(function(t){site.mouseX=t.pageX,site.mouseY=t.pageY,site.windowX=t.pageX-site.scrollLeft,site.windowY=t.pageY-site.scrollTop}),Modernizr.touch&&document.addEventListener("touchmove",function(t){var e=t.touches[0]||t.changedTouches[0];site.mouseX=e.pageX,site.mouseY=e.pageY,site.windowX=e.pageX-site.scrollLeft,site.windowY=e.pageY-site.scrollTop}));var i=site.keepRatioSelector+" { display:block;width:auto;position:relative } "+site.keepRatioSelector+" > * { display:block;width:100%;height:100%; } "+site.lazyImageSelector.replace(","," img,")+" img{ display:block;width:100%;height:auto; }";i+=site.keepRatioSelector+site.lazyImageSelector.replace(","," img,")+" img{ min-height:100%; }",i+="html.site.expanded body{overflow:hidden;width:100%;} .site__ExpandContainer {z-index:999;display:none;position:fixed;width:100%;height:100%;top:0;left:0} .site__ExpandContent {width:100%;height:100%;position:relative;overflow:auto;} .site__ExpandContent img{width:100%;height:auto;max-width:none;position:relative;}";var n=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css",s.styleSheet?s.styleSheet.cssText=i:s.appendChild(document.createTextNode(i)),n.appendChild(s),site.resize(),site.scroll(),site.frame(),void 0!==e&&e(),site.trigger("domChanged"),site.trigger("ready"),site.trigger("uriChanged",{uri:site.requestURI(),segments:site.ajax.segments(site.requestURI())}),site.trigger("resize"),site.trigger("scroll")},frame:function(){requestAnimationFrame(function(){site.trigger("frame"),site.frame()})},is:function(t){return site.$html.hasClass("Site--"+t)},addUI:function(t,e){site.registerComponent(t,e)},_:function(t,e){site.registerComponent(t,e)},registerComponent:function(t,e){if("function"==typeof e){var i=e;e={init:function(){},onUnhandled:function(t){i(t)}}}e.hasOwnProperty("onFind")&&(e.onUnhandled=e.onFind),e.hasOwnProperty("onUnhandled")||(e.onUnhandled=function(){}),site.ui[t]=e,site.data(t,e),(e.hasOwnProperty("init")||e.hasOwnProperty("onUnhandled"))&&(site.vars.handle=t,e.hasOwnProperty("onUnhandled")&&site.addUnhandledListener(e.onUnhandled,t),e.$elements=[],e.$unhandled=[],e.exists=function(){return this.$elements.length},e.unhandled=function(){return this.$unhandled.length}
33,e.hasOwnProperty("init")&&e.init(),site.vars.handle=site.siteClass)},addUnhandledListener:function(t,e){site.on("domChanged",function(i){var n=i.$elements,s=i.$unhandled;site.ui[e].$elements=n,site.ui[e].$unhandled=s,s.length&&s.each(function(){var i=$(this);t(i),site.handle(i,e)})})},handle:function(t,e){t.addClass("ui-"+e+site.states.handled)},unHandle:function(t){t.each(function(){var t=$(this),e=t.attr("class");e=e.replace(site.states.handled,""),t.attr("class",""),t.attr("class",e)})},listeners:{},on:function(t,e){var i=t.split(".");t=i[i.length-1],i=i.join(".").replace("."+t,"");var n=t.split(":");t=n[n.length-1],n=n.join(":").replace(":"+t,""),i==t&&(i=0),n==t&&(n=0),
34site.listeners.hasOwnProperty(t)||(site.listeners[t]=[]);var e={func:e,handle:site.vars.handle,scope:i,state:n};site.listeners[t].push(e)},trigger:function(t,e){site.defined(e)||(e={}),site.listeners.hasOwnProperty(t)&&site.deploy(site.listeners[t],e)},click:function(t,e){Modernizr.touch?t.fastClick(e):t.click(e)},onLoads:[],onLoad:function(t){site.onLoads.push(t)},onStartScrolls:[],onStartScroll:function(t){site.onStartScrolls.push(t)},onStopScrolls:[],onStopScroll:function(t){site.onStopScrolls.push(t)},onScrolls:[],onScroll:function(t){site.onScrolls.push(t)},scrolling:0,stopScroll:0,endScroll:0,scroll:function(){site.scrolling||site.deploy(site.onStart
34Scrolls),site.scrolling=1,site.stopScroll&&clearTimeout(site.stopScroll),site.endScroll&&clearTimeout(site.endScroll),site.scrollTop=site.getScrollTop(),site.scrollLeft=site.getScrollLeft(),site.deploy(site.onScrolls),site.trigger("scroll"),site.stopScroll=setTimeout(function(){site.scrolling=0},200),site.endScroll=setTimeout(function(){site.scrolling||site.deploy(site.onStopScrolls)},300)},getScrollTop:function(){return $(window).scrollTop()},getScrollLeft:function(){return $(window).scrollLeft()},onStartResizes:[],onStartResize:function(t){site.onStartResizes.push(t)},onStopResizes:[],onStopResize:function(t){site.onStopResizes.push(t)},onResizes:[],onResize:function(t){site.onResizes.push(t)},resizing:0,stopResize:0,endResize:0,resize:function(){site.resizing||(site.deploy(site.onStartResizes),site.trigger("startResize")),site.resizing=1,site.stopResize&&clearTimeout(site.stopResize),site.endResize&&clearTimeout(site.endResize),site.windowHeight=$(window).height(),site.windowWidth=$(window).width(),site.windowWidth<site.windowHeight?site.$html.addClass("portrait"):(site.$html.removeClass("portrait"),site.windowWidth/site.windowHeight<1.5?site.$html.addClass("square"):site.$html.removeClass("square"));var t=[];for(var e in site.breakPoints)t.push(e);for(var i in site.breakPoints){var n=i;if(site.windowWidth<=site.breakPoints[i]&&site.currentBreak!=i){site.currentBreak=n,site.$html.removeClass(t.join(" ")),site.$html.addClass(i),site.trigger("breakpoint",{breakpoint:n});break}site.currentBreak=i,site.$html.removeClass(t.join(" ")),site.$html.addClass(i)}site.deploy(site.onResizes),site.trigger("resize"),site.stopResize=setTimeout(function(){site.resizing=0},200),site.endResize=setTimeout(function(){site.resizing||(site.deploy(site.onStopResizes),site.trigger("stopResize"))},300)},whenThrottle:50,whenListenerStarted:0,whens:[],checkWhens:function(){if(site.whens.length){var t=site.now();for(i in site.whens){var e=site.whens[i],n=e.lastChecked,s=e.timeBetweenChecks;if(void 0===n||t-n>=s){var r=e.met,o=e.condition(),a=e.everchecked;e.everchecked=1,e.lastChecked=t,o?(e.met=1,r||e.onCallback()):(e.met=0,(r||void 0===a)&&e.offCallback())}site.whens[i]=e}}},startWhenListener:function(t){site.whenListenerStarted||(site.whenListenerStarted=1,setInterval(site.checkWhens,site.whenThrottle))},when:function(t,e,i,n){var s=0;if(void 0===n&&(n=0),void 0===i&&(i=function(){}),s="function"==typeof i?1:0){var r={condition:t,onCallback:e,offCallback:i,met:0,timeBetweenChecks:n};site.whens.push(r),1==site.whens.length&&site.startWhenListener()}else{t()?e():setTimeout(function(){site.when(t,e,0)},site.whenThrottle)}},interval:function(t,e,i){var n=0,s=window.setInterval(function(){t(),++n===i&&window.clearInterval(s)},e)},componentName:function(t){return t.attr("class").split(" ")[0].split("-")[0]},checkLazyImages:function(){if(!site.windowLoaded)return void site.when(function(){return site.windowLoaded},function(){site.checkLazyImages()},0);var t=$(site.lazyImageSelector);t.length&&t.not(site.seenSelector).each(function(t){if($(site.loadingSelector).length<10&&!$(this).find("img").length&&($(this).hasClass(site.deClassify(site.lazyImageSelector)+"--force")||site.isVisible($(this)))){var e=$(this);e.addClass(site.deClassify(site.seenSelector)),setTimeout(function(){site.loadImage(e)},300*t)}})},preload:function(t,e){function i(t,e){t.onload=function(t){n(t,e)},t.onerror=function(t){n(t,e)}}function n(e,i){s++;var n=e.path[0].currentSrc;o({complete:s===r,count:s,length:r,imgArray:t,src:n,position:i})}var s=0,r=t.length,o=function(){};void 0!==e&&(o=e);var a=function(){};"undefined"!=typeof callbackEach&&(a=callbackEach());for(var l in t){var u=new Image,c=t[l];u.id=l,i(u,l),u.src=t[l]}return{callback:function(t){e=t||o}}},loadSrc:function(t,e){var i=new Image;i.onload=function(){e(t)},i.src=t},loadImage:function(t,e){var i=t.data("image");site.defined(i)||(i=t.data("src")),t.addClass(site.deClassify(site.loadingSelector));var n=new Image;n.onload=function(){var n=t;n.html('<img style="visibility:hidden;" src="'+i+'" />'),setTimeout(function(){n.find("img").css({visibility:"visible"}).hide().fadeIn(1e3,function(){$(this).css({visibility:""}),void 0!==e&&e()})},0),setTimeout(function(){t.removeClass(site.deClassify(site.loadingSelector)).addClass(site.deClassify(site.loadedSelector))},500)},n.src=i},checkIsVisibles:function(){if(site.windowLoaded){var t=$(site.isVisibleSelector);t.length&&t.not(site.isVisibleSelector+site.states.visible).each(function(t){if(site.isVisible($(this))){var e=$
34(this);setTimeout(function(){e.removeClass(site.deClassify(site.isVisibleSelector)+site.states.invisible).addClass(site.deClassify(site.isVisibleSelector)+site.states.visible+" "+site.deClassify(site.seenSelector))},10)}else $(this).addClass(site.deClassify(site.isVisibleSelector)+site.states.invisible)})}},getItemOffset:function(t){return t.offset().top},getScrollY:function(t){return site.scrollTop},getScrollableHeight:function(t){return site.windowHeight},isVisible:function(t,e){site.defined(e)||(e={});var i={threshold:10},n=$.extend(i,e),s=site.getItemOffset(t),r=site.getScrollY(t),o=site.getScrollableHeight(t),a=t.outerHeight(!0),l=s,u=s+a,c=s+Math.round(a/2),h=0+r,d=o+r,p=n.threshold,f=h-a,m=l>=h-p&&l<=d-p,g=u>=h&&u<=d,v=c>=h&&c<=d;return m||g||v||l>f&&l<d},setCookie:function(t,e,i){var n=new Date;if(void 0===e)var e=1;if(void 0===i)var i=365;n.setTime(n.getTime()+24*i*60*60*1e3);var s="expires="+n.toUTCString();document.cookie=t+"="+e+"; "+s+";path=/"},getCookie:function(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);if(0==s.indexOf(e))return s.substring(e.length,s.length)}return""},keepRatios:function(){var t=$(site.keepRatioSelector);t.length&&site.keepRatio(t)},keepRatio:function(t){t.each(function(){var t=$(this).data("ratio");t=t.replace("x",":");var e=t.split(":"),i=e[0],n=e[1],s=n<i?n/i:i/n;s=n/i,$(this).data("factor",s),$(this).addClass("has-ratio");var r=$(this).outerWidth();if(r){var o=Math.round(r*s);$(this).height(o)}})},expandContainers:0,expandContainer:{},expandInitOpts:{},expandContainerObject:function(t){site.expandContainers++,this.defaults={siteExpandedClass:"expanded",html:'<div id="expand'+site.expandContainers+'" class="site__ExpandContainer"></div>',content:'<div class="site__ExpandContent"></div>',$appendTo:$("body")},this.opts=$.extend(this.defaults,t),this.$element=$(this.opts.html),this.$element.appendTo(this.opts.$appendTo),this.$content=$(this.opts.content),this.$content.appendTo(this.$element),this.show=function(t){$("body").width($("body").width()),site.$html.addClass(this.opts.siteExpandedClass),this.$element.fadeIn(function(){void 0!==t&&t()})},this.hide=function(){var t=this.opts;this.$element.stop().fadeOut(250,function(){$("body").css({width:""}),site.$html.removeClass(t.siteExpandedClass)})}},checkExpandables:function(){site.expandContainers||(site.expandContainer=new site.expandContainerObject(site.expandInitOpts));var t=$(site.expandableSelector);t.length&&t.not(site.expandableSelector+site.states.handled).each(function(t){var e=$(this);e.addClass(site.deClassify(site.expandableSelector+site.states.handled)),e.click(function(t){t.preventDefault();var i=1;site.canExpands.length&&(i=site.check(site.canExpands,{$item:e})),i&&site.expand({$item:$(this),container:site.expandContainer,loader:site.loader})})})},updateExpandables:function(){$(site.expandableSelector).removeClass(site.deClassify(site.expandableSelector+site.states.handled)).unbind("click"),site.checkExpandables()},canExpands:[],canExpand:function(t){site.canExpands.push(t)},onExpands:[],onExpand:function(t){site.onExpands.push(t)},expand:function(t){var e=t.container,i=t.loader,n=t.$item;i.show(),e.$content.html(""),e.show();var s=n.attr("href");site.defined(s)||(s=n.data("expand"));var r=new Image;r.onload=function(){i.hide(),e.$content.html('<img src="'+s+'" />');var t=e.$content.find("img");t.css({opacity:0});var n=t.outerHeight();t.animate({opacity:1}),Modernizr.touch?(t.bind("touchy-drag",function(t,i,n,s){var r=s.movePoint.y-s.lastMovePoint.y,o=s.movePoint.x-s.lastMovePoint.x,a=parseInt(n.position().top),l=parseInt(n.position().left),u=e.$element.outerHeight()-n.outerHeight(),a=parseInt(n.position().top),l=parseInt(n.position().left),c=a+r;c<u&&(c=u),c>0&&(c=0);var h=e.$element.outerWidth()-n.outerWidth(),d=l+o;d<h&&(d=h),d>0&&(d=0);var d=l+o;d<h&&(d=h),d>0&&(d=0),n.css({top:c,left:d})}),t.bind("touchy-pinch",function(t,i,n){var s=n.scale-n.previousScale,r=Math.round(e.$element.outerWidth()*s);n.scale<n.previousScale&&(r*=2);var o=Math.round(i.outerWidth()+r);o<e.$element.outerWidth()&&(o=e.$element.outerWidth());var a=parseInt(i.position().top),l=parseInt(i.position().left);s>1?(a+=Math.round(r/2),l+=Math.round(r/2)):(a-=Math.round(r/2),l-=Math.round(r/2));var u=e.$element.outerHeight()-i.outerHeight(),c=e.$element.outerWidth()-i.outerWidth();a<u&&(a=u),a>0&&(a=0),l<c&&(l=c),l>0&&(l=0),i.css({width:o,left:l,top:a})}),t.bind("touchy-longpress",function(){e.hide()})):t.click(function(){e.hide()})},r.src=s},checkShareables:function(){var t=$(site.shareableSelector);t.length&&t.not(site.shareableSelector+site.states.handled).each(function(t){var e=$
34(this);e.addClass(site.deClassify(site.shareableSelector+site.states.handled)),e.click(function(t){t.preventDefault(),site.share($(this))})})},updateShareables:function(){$(site.shareableSelector).removeClass(site.deClassify(site.shareableSelector+site.states.handled)).unbind("click"),site.checkShareables()},onShares:[],onShare:function(t){site.onShares.push(t)},share:function(t){var e=t.data("service");if(site.defined(e)||(e=t.text().toLowerCase()),site.shareUrls.hasOwnProperty(e)){var i=t.data("url"),n=t.data("img"),s=t.data("title"),r=t.data("desc"),o=t.data("app-id"),a=t.data("redirect-url"),l=t.data("via"),u=t.data("hashtags"),c=t.data("provider"),h=t.data("is-video");site.defined(i)||(i=window.location.href),site.defined(n)||(n=""),site.defined(s)||(s=document.title);var d=$('meta[name="description"]');site.defined(r)||(r=d.length?d.attr("content"):"Shared from "+window.location.hostname),site.defined(o)||(o=0),site.defined(a)||(a=window.location.href),site.defined(l)||(l=""),site.defined(u)||(u=""),site.defined(c)||(c=window.location.hostname),site.defined(h)||(h=0),i=encodeURIComponent(i),n=encodeURIComponent(n),s=encodeURIComponent(s),r=encodeURIComponent(r),o=encodeURIComponent(o),a=encodeURIComponent(a),l=encodeURIComponent(l),u=encodeURIComponent(u),c=encodeURIComponent(c),h=encodeURIComponent(h);var p=site.shareUrls[e];p=p.replace("{url}",i).replace("{img}",n).replace("{title}",s).replace("{desc}",r).replace("{app_id}",o).replace("{redirect_url}",i).replace("{via}",l).replace("{hashtags}",u).replace("{provider}",c).replace("{is_video}",h),""==l&&(p=p.replace("&via=","")),""==u&&(p=p.replace("&hashtags=","")),site.deploy(site.onShares,{id:t.data("callback-id"),item:t,url:i,title:s,service:e}),window.open(p)}},defined:function(t){return!(void 0===t)},scrollToTop:function(t){site.scrollTo(0,t)},scrollTo:function(t,e,i){void 0===i?$.scrollTo(t,800,{easing:"easeInOutExpo",axis:"y",onAfter:function(){site.scroll(),void 0!==e&&e()}}):i.scrollTo(t,800,{easing:"easeInOutExpo",axis:"y",onAfter:function(){site.scroll(),void 0!==e&&e()}})},scrollToX:function(t,e,i){void 0===i?$.scrollTo(t,800,{easing:"easeInOutExpo",axis:"x",onAfter:function(){site.scroll(),void 0!==e&&e()}}):i.scrollTo(t,800,{easing:"easeInOutExpo",axis:"x",onAfter:function(){site.scroll(),void 0!==e&&e()}})},checkExternalLinks:function(){var t=$("a").not("."+site.externalLinkClass).filter(function(){var t=$(this).attr("href");return site.defined(t)||$(this).attr("href","#"),$(this).attr("href").match(/\.(jpg|png|gif|pdf|zip|doc|docx|csv)/i)});t.addClass(site.externalLinkClass),t.attr("target","_blank");var e=$('a[href^="/"],a[href^="'+window.location.protocol+"//"+window.location.hostname+'"]'),i=$("a").not("."+site.externalLinkClass).not(e).not("a[href^=#]");i.length&&(i.addClass(site.externalLinkClass),i.unbind("click"),i.not('a[href^="tel:"]').click(function(t){t.preventDefault(),t.stopPropagation(),window.open($(this).attr("href"))}))},checkHashLinks:function(){var t=$("a[href^=#]").not("."+site.hashLinkClass);t.length&&(t.addClass(site.hashLinkClass),t.click(function(t){t.preventDefault()}))},checkShareLinks:function(){var t=$("."+site.shareLinkClass);$hashes.length&&($hashes.addClass(site.hashLinkClass),$hashes.click(function(t){t.preventDefault()}))},setTitle:function(t){document.title=t},deploy:function(t,e){site.defined(e)||(e={});for(f in t)if("function"==typeof t[f])t[f](e);else{var i=t[f].func,n=t[f].handle,s=t[f].scope,r=t[f].state;if(!r||r==site.currentState)if(s&&e.hasOwnProperty("$el")){if(e.$el.is(s)){var o=$(site.prefixes.ui+n),a=$(site.prefixes.ui+n).not(site.prefixes.ui+n+site.states.handled);e.$elements=o,e.$unhandled=a,i(e.$el,e)}}else{var o=$(site.prefixes.ui+n),a=$(site.prefixes.ui+n).not(site.prefixes.ui+n+site.states.handled);e.$elements=o,e.$unhandled=a,i(e)}}},check:function(t,e){site.defined(e)||(e={});for(f in t)if(!t[f](e))return!1;return!0},now:function(){return(new Date).getTime()},deClassify:function(t){return t.replace(".","")},deModify:function(t,e){site.defined(e)||(e="is-active");var i=t.attr("class"),n=new RegExp(e+"--[a-zA-Z-0-9]+","gi");i=i.replace(n,""),t.attr("class",i)},ajax:{before:function(){},after:function(){},initialised:0,requests:0,forcehash:0,back:0,hash:"",selectedClass:"is-active",handledClass:"Link--ajax",ignoreClass:"Ajax-link--ignore",protocol:window.location.protocol+"//",httpHost:window.location.hostname,initialPath:"/",remove:"/index.php",defaults:{transitionAfterXHR:!1,transition:{out:250,in:1300},load:".Site-body",back:".Site-body"},rules:[],exampleRules:[{selectors:".nav a",exclude:".nav li.custom a",load:".Site-body",find:".Site-body",before:function(t,e){alert("clicked nav a"),e()},after:function(t,e){e()}},{selectors:".Site-foot a",load:".Site-body",before:function(){alert("clicked footer a")},after:function(t,e){e()}}],addRule:function(t){site.ajax.rules.push(t)},exclude:[],nocache:[],cache:{pages:{},titles:{},opts:{}},cacheable:function(t){if(!site.ajax.nocache.length)return 1;for(var e in site.ajax.nocache){var i=site.ajax.nocache[e],n=new RegExp(i,"i");if(null!=t.match(n))return 0}return 1},init:function(){site.ajax.initialised||(site.ajax.initialised=1,site.ajax.exclude.push("."+site.ajax.handledClass),site.ajax.exclude.push("."+site.ajax.ignoreClass),site.ajax.exclude.push("."+site.externalLinkClass),site.ajax.exclude.push('a[href^="#"]'),site.ajax.exclude.push('a[href$=".jpg"]'),site.ajax.getNewLinks(),history.pushState&&!site.ajax.forcehash&&window.addEventListener("popstate",function(t){console.log("popstate",site.ajax.requests,t.state),site.ajax.requests&&(site.ajax.back=1,site.ajax.initialiseStateFromUrl())},!1))},uri:function(){return site.ajax.url.replace(/^(https?:\/\/[^\/]*)?\//,"").replace(site.ajax.remove,"")},lastUri:function(){return site.ajax.last_url.replace(/^(https?:\/\/[^\/]*)?\//,"").replace(site.ajax.remove,"")},segments:function(t){var e=site.ajax.uri(),i=site.defined(t)?t.replace(site.ajax.remove,""):e;return i=i.replace(/^\//,""),i.split("/")},segment:function(t){return site.ajax.segments()[t]},lastSegments:function(){return site.ajax.lastUri().split("/")},lastSegment:function(t){return site.ajax.lastSegments()[t]},currentLinks:function(){var t=site.ajax.initialPath+site.ajax.uri();t=t.replace(/\/$/,"");var e=site.ajax.protocol+site.ajax.httpHost+t;return $('a[href="'+t+'"], a[href="'+e+'"], a[href="'+t+'/"], a[href="'+e+'/?$"]')},parentLinks:function(){var t=site.ajax.initialPath+site.ajax.uri();t=t.replace(/\/$/,""),segs=t.split("/");var e=segs.pop();t=segs.join("/");var i=site.ajax.protocol+site.ajax.httpHost+t;return $('a[href="'+t+'"], a[href="'+i+'"], a[href="'+t+'/"], a[href="'+i+'/?$"]')},getNewLinks:function(){site.checkExternalLinks(),site.checkHashLinks();for(var t in site.ajax.rules){var e=site.ajax.rules[t];void 0===e.exclude&&(e.exclude=""),$(e.selectors).not(e.exclude).not(site.ajax.exclude.join(",")).each(function(){var t=$(this);site.ajax.addClickEvent(t,e)})}},addClickEvent:function(t,e){t.addClass(site.ajax.handledClass),t.attr("data-ajax-rule",e.selectors),t.click(function(i){i.preventDefault();
34var n=void 0===e.find?e.load:e.find,s=e.before,r=e.after;e.link=t,e.load=e.load,e.before=s,e.after=r,e.find=n,site.ajax.getPage(e)})},getPage:function(t){site.ajax.requests++;var e=void 0===t.link?[]:t.link;void 0===t.load&&(t.load=site.ajax.defaults.load),void 0===t.find&&(t.find=t.load),"object"==typeof t.find&&t.find.hasOwnProperty("attr")&&(t.find=void 0!==t.find.attr("id")?"#"+t.find.attr("id"):"."+t.find.attr("class").replace(/(\s)/g,"."));var i="string"==typeof t.load?$(""+t.load):t.load;"function"==typeof t.load&&(i=t.load({$tmp:[],$link:e}));var n=void 0===t.transition?site.ajax.defaults.transition:t.transition,s=e.length?e.attr("href"):t.url;void 0===t.cache&&(t.cache=1),void 0===t.setTitle&&(t.setTitle=1),void 0===t.setVisibleUri&&(t.setVisibleUri=1),void 0===t.updateLinks&&(t.updateLinks=1),void 0===t.updateGlobalUrl&&(t.updateGlobalUrl=1),void 0===t.continue&&(t.continue=1),void 0===t.back&&(t.back=0),void 0===t.replaceContent&&(t.replaceContent=1),t.back&&(s=site.ajax.lastUrl,t.url=s),t.updateGlobalUrl&&(site.ajax.lastUrl=site.ajax.url,site.ajax.url=s);var r=site.ajax.makeAjaxUrl(s);if(t.updateLinks){var o=site.ajax.currentLinks();o.length&&o.each(function(){$(this).parents("ul").last().find("."+site.ajax.selectedClass).removeClass(site.ajax.selectedClass),$(this).parents("li").each(function(){$(this).addClass(site.ajax.selectedClass).siblings().removeClass(site.ajax.selectedClass)})}),e.length&&e.parents("li").addClass(site.ajax.selectedClass).siblings().removeClass(site.ajax.selectedClass)}if(t.$link=e,t.$load=i,t.url=s,t.transition=n,t.uri=r,site.ajax.before(),"function"==typeof t.getPage)t.setVisibleUri&&(site.ajax.back||site.ajax.setVisibleUri(r)),t.getPage(t,function(){site.ajax.xhr(r,t)});else{if("function"==typeof t.before){if(!1===t.before(t))return!1}if(t.setVisibleUri&&(site.ajax.back||site.ajax.setVisibleUri(r)),t.transition&&t.$load.length&&t.replaceContent){var n="object"==typeof t.transition?t.transition.out:t.transition;if(n)if("string"==typeof t.find||"function"==typeof t.find)t.$load.stop().animate({opacity:0}
34,n,function(){site.ajax.xhr(r,t)});else for(var a=0;a<t.find.length;a++){var i="string"==typeof t.find[a].load?$(""+t.find[a].load):t.find[a].load;i.length&&(a==t.find.length-1?i.stop().animate({opacity:0},n,function(){site.ajax.xhr(r,t)}):i.stop().animate({opacity:0},n,function(){}))}else site.ajax.xhr(r,t)}else site.ajax.xhr(r,t)}},refresh:0,update:function(t,e){site.ajax.refresh=1;for(var i=t.split(","),n=[],s=0;s<i.length;s++){var r={find:i[s],load:i[s]};n[s]=r}var o=$(t),a={load:o,find:n,setTitle:0,updateGlobalUrl:0,updateLinks:0,url:window.location.pathname,replaceContent:1,continue:1};a=$.extend(a,e),site.ajax.getPage(a)},preloadUrls:[],queuePreload:function(t){site.ajax.preloadUrls.push(t)},preload:function(){if(site.ajax.preloadUrls.length){var t=site.ajax.preloadUrls.pop();t=site.ajax.makeAjaxUrl(t),site.ajax.xhr(t,[],{continue:0})}},startPreload:function(){setInterval(function(){site.ajax.preload()},800)},load:function(t,e,i){var n={refresh:1,load:e,find:".Site-body",setTitle:0,updateGlobalUrl:0,setVisibleUri:0,updateLinks:0,transition:300,url:t,replaceContent:1,continue:1};n=$.extend(n,i),site.ajax.refresh=n.refresh,site.ajax.getPage(n)},xhr:function(t,e){if(!site.ajax.cache.pages.hasOwnProperty(t)||!site.ajax.cacheable(t)||1!=e.cache&&void 0!==e.cache||site.ajax.refresh)site.ajax.refresh=0,$.get(t,{},function(i){i=i.replace(/<script\b[^<]*(?:(?!type="text\/javascript")) (?:(?!<\/script>)<[^<]*)*<\/script>/gi,"");var n=$("<div>").append(i),s=n.find("title").html();i=i.replace(/<script\b[^<]*(?:(?!type="text\/javascript")) (?:(?!<\/script>)<[^<]*)*<\/script>/gi,""),e.setTitle&&site.defined(s)&&site.setTitle(s),site.ajax.cache.pages[t]=i,site.ajax.cache.titles[t]=s,site.ajax.cache.opts[t]=e,site.ajax.refresh=0;var r="string"==typeof e.load?$(""+e.load):e.load;e.continue?site.ajax.gotPage({body:i,title:s,$target:r,opts:e,uri:t,title:s}):site.trigger("completedXHR",{response:i,uri:t})});else{var i=site.ajax.cache.pages[t],n=site.ajax.cache.titles[t],s="string"==typeof e.load?$(""+e.load):e.load;e.continue?site.ajax.gotPage({body:i,title:n,$target:s,opts:e,uri:t,title:n}):site.trigger("completedXHR",{response:i,uri:t})}},gotPage:function(t){var e=$("<div>").append(t.body);"string"!=typeof t.opts.find&&"function"!=typeof t.opts.find||(t.opts.find=[{find:t.opts.find,$load:o,load:t.opts.load,replaceContent:t.opts.replaceContent}]),site.trigger("pageRequest",{response:t.body,uri:t.uri,title:t.title}),t.opts.$tmp=e;for(var i=[],n=0;n<t.opts.find.length;n++){if("function"==typeof t.opts.find[n].find){var s=t.opts.find[n].find({$tmp:e,$link:t.opts.$link});if(s.length)var r=s.html()}else{var s=e.find(t.opts.find[n].find);if(s.length)var r=s.html()}if("function"==typeof t.opts.find[n].load)var o=t.opts.find[n].load({$tmp:e,$link:t.opts.$link});else var o="string"==typeof t.opts.find[n].load?$(""+t.opts.find[n].load):t.opts.find[n].load;if(o.length){i.push(o);var a=site.defined(t.opts.find[n].test)?t.opts.find[n].test(o):1;if(site.defined(t.opts.find[n].replaceContent)&&0===t.opts.find[n].replaceContent?a&&o.append(r):a&&o.html(r),n==t.opts.find.length-1)if(site.ajax.back=0,site.trigger("domChanged"),site.resize(),site.scroll(),site.ajax.after(),"function"==typeof t.opts.gotPage)t.opts.gotPage(t.opts,function(){site.ajax.getNewLinks()});else if(site.ajax.getNewLinks(),"function"==typeof t.opts.after&&t.opts.after(t.opts),t.opts.replaceContent&&t.opts.transition&&t.$target.length)for(var l="object"==typeof t.opts.transition?t.opts.transition.in:5*t.opts.transition,u=0;u<i.length;u++)i[u].stop().animate({opacity:1},l,"easeOutExpo",function(){})}}},initialiseStateFromUrl:function(){var t=site.ajax.makeAjaxUrl(window.location);if(console.log("state change",t),0)site.ajax.getPage(site.ajax.cache.opts[t]);else{for(var e in site.ajax.rules){var i=site.ajax.rules[e];break}var n=$(site.ajax.defaults.back),s=site.ajax.defaults.back,r=function(){},o=function(){};site.ajax.getPage({url:t,load:n,before:r,after:o,find:s,transition:{out:0,in:500}})}},setVisibleUri:function(t){var e=site.ajax.makeHashUrl(t),i=site.ajax.makeAjaxUrl(t);history.pushState?history.pushState({},null,i):window.location=e,site.ajax.hash=e;var n=site.ajax.segments(i);site.trigger("uriChanged",{uri:i,segments:n})},makeHashUrl:function(t){t=t.toString(),t=t.replace(site.ajax.protocol,""),t=t.replace(site.ajax.httpHost+site.ajax.initialPath,"");var e="/"==site.ajax.initialPath?t:t.replace(site.ajax.initialPath,"");return t="/"+site.ajax.initialPath+"/#/"+e,t=t.replace(/\/+/g,"/"),history.pushState&&!site.ajax.forcehash&&(t=t.replace("/#/","/")),t},makeAjaxUrl:function(t){if(site.defined(t)){t=t.toString(),t+="/",t=t.replace(/^https?:\/\/[^\/]*\/?/,""),t=t.replace(site.ajax.protocol+site.ajax.httpHost+site.ajax.initialPath,"");var e="/"==site.ajax.initialPath?t:t.replace(site.ajax.initialPath,"");return t=site.ajax.httpHost+"/"+site.ajax.initialPath+"/"+e,t=t.replace(/^https?:\/\/[^\/]*\/?/,""),t="/"+site.ajax.initialPath+"/"+e,t=t.replace(/\/+/g,"/")}return""}}};
34!function(t){/(iPhone|iPod|iPad).*AppleWebKit/i.test(navigator.userAgent)&&(document.getElementsByTagName("html")[0].className+=" ud-iphone ud-ipod ud-ipad"),/(iPhone).*AppleWebKit/i.test(navigator.userAgent)&&(document.getElementsByTagName("html")[0].className+=" ud-iphone"),/(iPad).*AppleWebKit/i.test(navigator.userAgent)&&(document.getElementsByTagName("html")[0].className+=" ud-ipad"),/(iPod).*AppleWebKit/i.test(navigator.userAgent)&&(document.getElementsByTagName("html")[0].className+=" ud-ipod");var e={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser",this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version",this.OS=this.searchString(this.dataOS)||"an unknown OS"},searchString:function(t){for(var e=0;e<t.length;e++){var i=t[e].string,n=t[e].prop;if(this.versionSearchString=t[e].versionSearch||t[e].identity,i){if(-1!=i.indexOf(t[e].subString))return t[e].identity}else if(n)return t[e].identity}},searchVersion:function(t){var e=t.indexOf(this.versionSearchString);if(-1!=e)return parseFloat(t.substring(e+this.versionSearchString.length+1))},dataBrowser:[{string:navigator.userAgent,subString:"Chrome",identity:"Chrome"},{string:navigator.userAgent,subString:"OmniWeb",versionSearch:"OmniWeb/",identity:"OmniWeb"},{string:navigator.vendor,subString:"Apple",identity:"Safari",versionSearch:"Version"},{prop:window.opera,identity:"Opera",versionSearch:"Version"},{string:navigator.vendor,subString:"iCab",identity:"iCab"},{string:navigator.vendor,subString:"KDE",identity:"Konqueror"},{string:navigator.userAgent,subString:"Firefox",identity:"Firefox"},{string:navigator.vendor,subString:"Camino",identity:"Camino"},{string:navigator.userAgent,subString:"Netscape",identity:"Netscape"},{string:navigator.userAgent,subString:"MSIE",identity:"Explorer",versionSearch:"MSIE"},{string:navigator.userAgent,subString:"Gecko",identity:"Mozilla",versionSearch:"rv"},{string:navigator.userAgent,subString:"Mozilla",identity:"Netscape",versionSearch:"Mozilla"}],dataOS:[{string:navigator.platform,subString:"Win",identity:"Windows"},{string:navigator.platform,subString:"Mac",identity:"Mac"},{string:navigator.userAgent,subString:"iPhone",identity:"iPhone/iPod"},{string:navigator.platform,subString:"Linux",identity:"Linux"}]};e.init(),document.getElementsByTagName("html")[0].className+=" ua-"+e.browser.toLowerCase()+" ua-"+e.browser.toLowerCase()+"-"+e.version}(),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t:t(jQuery)}(function(t){function e(e){var o=e||window.event,a=l.call(arguments,1),u=0,h=0,d=0,p=0,f=0,m=0;if(e=t.event.fix(o),e.type="mousewheel","detail"in o&&(d=-1*o.detail),"wheelDelta"in o&&(d=o.wheelDelta),"wheelDeltaY"in o&&(d=o.wheelDeltaY),"wheelDeltaX"in o&&(h=-1*o.wheelDeltaX),"axis"in o&&o.axis===o.HORIZONTAL_AXIS&&(h=-1*d,d=0),u=0===d?h:d,"deltaY"in o&&(d=-1*o.deltaY,u=d),"deltaX"in o&&(h=o.deltaX,0===d&&(u=-1*h)),0!==d||0!==h){if(1===o.deltaMode){var g=t.data(this,"mousewheel-line-height");u*=g,d*=g,h*=g}else if(2===o.deltaMode){var v=t.data(this,"mousewheel-page-height");u*=v,d*=v,h*=v}if(p=Math.max(Math.abs(d),Math.abs(h)),(!r||r>p)&&(r=p,n(o,p)&&(r/=40)),n(o,p)&&(u/=40,h/=40,d/=40),u=Math[u>=1?"floor":"ceil"](u/r),h=Math[h>=1?"floor":"ceil"](h/r),d=Math[d>=1?"floor":"ceil"](d/r),c.settings.normalizeOffset&&this.getBoundingClientRect){var _=this.getBoundingClientRect();f=e.clientX-_.left,m=e.clientY-_.top}return e.deltaX=h,e.deltaY=d,e.deltaFactor=r,e.offsetX=f,e.offsetY=m,e.deltaMode=0,a.unshift(e,u,h,d),s&&clearTimeout(s),s=setTimeout(i,200),(t.event.dispatch||t.event.handle).apply(this,a)}}function i(){r=null}function n(t,e){return c.settings.adjustOldDeltas&&"mousewheel"===t.type&&e%120==0}var s,r,o=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],a="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(t.event.fixHooks)for(var u=o.length;u;)t.event.fixHooks[o[--u]]=t.event.mouseHooks;var c=t.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var i=a.length;i;)this.addEventListener(a[--i],e,!1);else this.onmousewheel=e;t.data(this,"mousewheel-line-height",c.getLineHeight(this)),t.data(this,"mousewheel-page-height",c.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var i=a.length;i;)this.removeEventListener(a[--i],e,!1);else this.onmousewheel=null;t.removeData(this,"mousewheel-line-height"),t.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var i=t(e),n=i["offsetParent"in t.fn?"offsetParent":"parent"]();return n.length||(n=t("body")),parseInt(n.css("fontSize"),10)||parseInt(i.css("fontSize"),10)||16},getPageHeight:function(e){return t(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};t.fn.extend({mousewheel:function(t){return t?this.bind("mousewheel",t):this.trigger("mousewheel")},unmousewheel:function(t){return this.unbind("mousewheel",t)}})}),function(t){function e(e,i){var n,s=this,r=window.navigator,o=r.userAgent.toLowerCase();s.uid=t.rsModules.uid++,s.ns=".rs"+s.uid;var a=document.createElement("div").style,l=["webkit","Moz","ms","O"],u="",c=0,h;for(n=0;n<l.length;n++)h=l[n],!u&&h+"Transform"in a&&(u=h),h=h.toLowerCase(),window.requestAnimationFrame||(window.requestAnimationFrame=window[h+"RequestAnimationFrame"],window.cancelAnimationFrame=window[h+"CancelAnimationFrame"]||window[h+"CancelRequestAnimationFrame"]);window.requestAnimationFrame||(window.requestAnimationFrame=function(t,e){var i=(new Date).getTime(),n=Math.max(0,16-(i-c)),s=window.setTimeout(function(){t(i+n)},n);return c=i+n,s}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){clearTimeout(t)}
vendor: 6,312 bytes, lines 34-35
34),s.isIPAD=o.match(/(ipad)/),s.isIOS=s.isIPAD||o.match(/(iphone|ipod)/),n=function(t){return t=/(chrome)[ \/]([\w.]+)/.exec(t)||/(webkit)[ \/]([\w.]+)/.exec(t)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(t)||/(msie) ([\w.]+)/.exec(t)||0>t.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t)||[],{browser:t[1]||"",version:t[2]||"0"}}(o),l={},n.browser&&(l[n.browser]=!0,l.version=n.version),l.chrome&&(l.webkit=!0),s._a=l,s.isAndroid=-1<o.indexOf("android"),s.slider=t(e),s.ev=t(s),s._b=t(document),s.st=t.extend({},t.fn.royalSlider.defaults,i),s._c=s.st.transitionSpeed,s._d=0,!s.st.allowCSS3||l.webkit&&!s.st.allowCSS3OnWebkit||(n=u+(u?"T":"t"),s._e=n+"ransform"in a&&n+"ransition"in a,s._e&&(s._f=u+(u?"P":"p")+"erspective"in a)),u=u.toLowerCase(),s._g="-"+u+"-",s._h="vertical"!==s.st.slidesOrientation,s._i=s._h?"left":"top",s._j=s._h?"width":"height",s._k=-1,s._l="fade"!==s.st.transitionType,s._l||(s.st.sliderDrag=!1,s._m=10),s._n="z-index:0; display:none; opacity:0;",s._o=0,s._p=0,s._q=0,t.each(t.rsModules,function(t,e){"uid"!==t&&e.call(s)}),s.slides=[],s._r=0,(s.st.slides?t(s.st.slides):s.slider.children().detach()).each(function(){s._s(this,!0)}),s.st.randomizeSlides&&s.slides.sort(function(){return.5-Math.random()}),s.numSlides=s.slides.length,s._t(),s.st.startSlideId?s.st.startSlideId>s.numSlides-1&&(s.st.startSlideId=s.numSlides-1):s.st.startSlideId=0,s._o=s.staticSlideId=s.currSlideId=s._u=s.st.startSlideId,s.currSlide=s.slides[s.currSlideId],s._v=0,s.pointerMultitouch=!1,s.slider.addClass((s._h?"rsHor":"rsVer")+(s._l?"":" rsFade")),a='<div class="rsOverflow"><div class="rsContainer">',s.slidesSpacing=s.st.slidesSpacing,s._w=(s._h?s.slider.width():s.slider.height())+s.st.slidesSpacing,s._x=Boolean(0<s._y),1>=s.numSlides&&(s._z=!1),s._a1=s._z&&s._l?2===s.numSlides?1:2:0,s._b1=6>s.numSlides?s.numSlides:6,s._c1=0,s._d1=0,s.slidesJQ=[];for(n=0;n<s.numSlides;n++)s.slidesJQ.push(t('<div style="'+(s._l?"":n!==s.currSlideId?s._n:"z-index:0;")+'" class="rsSlide "></div>'));s._e1=a=t(a+"</div></div>")
35;var d=s.ns,u=function(t,e,i,n,r){s._j1=t+e+d,s._k1=t+i+d,s._l1=t+n+d,r&&(s._m1=t+r+d)};n=r.pointerEnabled,s.pointerEnabled=n||r.msPointerEnabled,s.pointerEnabled?(s.hasTouch=!1,s._n1=.2,s.pointerMultitouch=Boolean(1<r[(n?"m":"msM")+"axTouchPoints"]),n?u("pointer","down","move","up","cancel"):u("MSPointer","Down","Move","Up","Cancel")):(s.isIOS?s._j1=s._k1=s._l1=s._m1="":u("mouse","down","move","up"),"ontouchstart"in window||"createTouch"in document?(s.hasTouch=!0,s._j1+=" touchstart"+d,s._k1+=" touchmove"+d,s._l1+=" touchend"+d,s._m1+=" touchcancel"+d,s._n1=.5,s.st.sliderTouch&&(s._f1=!0)):(s.hasTouch=!1,s._n1=.2)),s.st.sliderDrag&&(s._f1=!0,l.msie||l.opera?s._g1=s._h1="move":l.mozilla?(s._g1="-moz-grab",s._h1="-moz-grabbing"):l.webkit&&-1!=r.platform.indexOf("Mac")&&(s._g1="-webkit-grab",s._h1="-webkit-grabbing"),s._i1()),s.slider.html(a),s._o1=s.st.controlsInside?s._e1:s.slider,s._p1=s._e1.children(".rsContainer"),s.pointerEnabled&&s._p1.css((n?"":"-ms-")+"touch-action",s._h?"pan-y":"pan-x"),s._q1=t('<div class="rsPreloader"></div>'),r=s._p1.children(".rsSlide"),s._r1=s.slidesJQ[s.currSlideId],s._s1=0,s._e?(s._t1="transition-property",s._u1="transition-duration",s._v1="transition-timing-function",s._w1=s._x1=s._g+"transform",s._f?(l.webkit&&!l.chrome&&s.slider.addClass("rsWebkit3d"),s._y1="translate3d(",s._z1="px, ",s._a2="px, 0px)"):(s._y1="translate(",s._z1="px, ",s._a2="px)"),s._l?s._p1[s._g+s._t1]=s._g+"transform":(l={},l[s._g+s._t1]="opacity",l[s._g+s._u1]=s.st.transitionSpeed+"ms",l[s._g+s._v1]=s.st.css3easeInOut,r.css(l))):(s._x1="left",s._w1="top");var p;t(window).on("resize"+s.ns,function(){p&&clearTimeout(p),p=setTimeout(function(){s.updateSliderSize()},50)}),s.ev.trigger("rsAfterPropsSetup"),s.updateSliderSize(),s.st.keyboardNavEnabled&&s._b2(),s.st.arrowsNavHideOnTouch&&(s.hasTouch||s.pointerMultitouch)&&(s.st.arrowsNav=!1),s.st.arrowsNav&&(r=s._o1,t('<div class="rsArrow rsArrowLeft"><div class="rsArrowIcn"></div></div><div class="rsArrow rsArrowRight"><div class="rsArrowIcn"></div></div>').appendTo(r),s._c2=r.children(".rsArrowLeft").click(function(t){t.preventDefault(),s.prev()}),s._d2=r.children(".rsArrowRight").click(function(t){t.preventDefault(),s.next()}),s.st.arrowsNavAutoHide&&!s.hasTouch&&(s._c2.addClass("rsHidden"),s._d2.addClass("rsHidden"),r.one("mousemove.arrowshover",function(){s._c2.removeClass("rsHidden"),s._d2.removeClass("rsHidden")}),r.hover(function(){s._e2||(s._c2.removeClass("rsHidden"),s._d2.removeClass("rsHidden"))},function(){s._e2||(s._c2.addClass("rsHidden"),s._d2.addClass("rsHidden"))})),s.ev.on("rsOnUpdateNav",function(){s._f2()}),s._f2()),s._f1?s._p1.on(s._j1,function(t){s._g2(t)}):s.dragSuccess=!1;var f=["rsPlayBtnIcon","rsPlayBtn","rsCloseVideoBtn","rsCloseVideoIcn"];s._p1.click(function(e){if(!s.dragSuccess){var i=t(e.target).attr("class");if(-1!==t.inArray(i,f)&&s.toggleVideo())return!1;if(s.st.navigateByClick&&!s._h2){if(t(e.target).closest(".rsNoDrag",s._r1).length)return!0;s._i2(e)}s.ev.trigger("rsSlideClick",e)}}).on("click.rs","a",function(t){if(s.dragSuccess)return!1;s._h2=!0,setTimeout(function(){s._h2=!1},3)}),s.ev.trigger("rsAfterInit")}t.rsModules||(t.rsModules={uid:0}),e.prototype={constructor:e,_i2:function(t){t=t[this._h?"pageX":"pageY"]-this._j2,t>=this._q?this.next():0>t&&this.prev()},_t:function(){var t;t=this.st.numImagesToPreload,(this._z=this.st.loop)&&(2===this.numSlides?(this._z=!1,this.st.loopRewind=!0):2>this.numSlides&&(this.st.loopRewind=this._z=!1)),this._z&&0<t&&(4>=this.numSlides?t=1:this.st.numImagesToPreload>(this.numSlides-1)/2&&(t=Math.floor((this.numSlides-1)/2))),this._y=t},_s:function(e,i){function n(t,e){if(e?o.images.push(t.attr(e)):o.images.push(t.text()),l){l=!1,o.caption="src"===e?t.attr("alt"):t.contents(),o.image=o.images[0],o.videoURL=t.attr("data-rsVideo");var i=t.attr("data-rsw"),n=t.attr("data-rsh");void 0!==i&&!1!==i&&void 0!==n&&!1!==n?(o.iW=parseInt(i,10),o.iH=parseInt(n,10)):s.st.imgWidth&&s.st.imgHeight&&(o.iW=s.st.imgWidth,o.iH=s.st.imgHeight)}}var s=this,r,o={},a,l=!0;if(e=t(e),s._k2=e,s.ev.trigger("rsBeforeParseNode",[e,o]),!o.stopParsing)return e=s._k2,o.id=s._r,o.contentAdded=!1,s._r++,o.images=[],o.isBig=!1,o.hasCover||(e.hasClass("rsImg")?(a=e,r=!0):(a=e.find(".rsImg"),a.length&&(r=!0)),r?
35(o.bigImage=a.eq(0).attr("data-rsBigImg"),a.each(function(){var e=t(this);e.is("a")?n(e,"href"):e.is("img")?n(e,"src"):n(e)})):e.is("img")&&(e.addClass("rsImg rsMainSlideImage"),n(e,"src"))),a=e.find(".rsCaption"),a.length&&(o.caption=a.remove()),o.content=e,s.ev.trigger("rsAfterParseNode",[e,o]),i&&s.slides.push(o),0===o.images.length&&(o.isLoaded=!0,o.isRendered=!1,o.isLoading=!1,o.images=null),o},_b2:function(){var t=this,e,i,n=function(e){37===e?t.prev():39===e&&t.next()};t._b.on("keydown"+t.ns,function(s){t._l2||37!==(i=s.keyCode)&&39!==i||e||(n(i),e=setInterval(function(){n(i)},700))}).on("keyup"+t.ns,function(t){e&&(clearInterval(e),e=null)})},goTo:function(t,e){t!==this.currSlideId&&this._m2(t,this.st.transitionSpeed,!0,!e)},destroy:function(e){this.ev.trigger("rsBeforeDestroy"),this._b.off("keydown"+this.ns+" keyup"+this.ns+" "+this._k1+" "+this._l1),this._p1.off(this._j1+" click"),this.slider.data("royalSlider",null),t.removeData(this.slider,"royalSlider"),t(window).off("resize"+this.ns),this.loadingTimeout&&clearTimeout(this.loadingTimeout),e&&this.slider.remove(),this.ev=this.slider=this.slides=null},_n2:function(e,i){function n(i,n,o){i.isAdded?(s(n,i),r(n,i)):(o||(o=a.slidesJQ[n]),i.holder?o=i.holder:(o=a.slidesJQ[n]=t(o),i.holder=o),i.appendOnLoaded=!1,r(n,i,o),s(n,i),a._p2(i,o,e),i.isAdded=!0)}function s(t,i){i.contentAdded||(a.setItemHtml(i,e),e||(i.contentAdded=!0))}function r(t,e,i){a._l&&(i||(i=a.slidesJQ[t]),i.css(a._i,(t+a._d1+p)*a._w))}function o(t){if(c){if(t>h-1)return o(t-h);if(0>t)return o(h+t)}return t}var a=this,l,u,c=a._z,h=a.numSlides;if(!isNaN(i))return o(i);var d=a.currSlideId,p,f=e?Math.abs(a._o2-a.currSlideId)>=a.numSlides-1?0:1:a._y,m=Math.min(2,f),g=!1,v=!1,_;for(u=d;u<d+1+m;u++)if(_=o(u),(l=a.slides[_])&&(!l.isAdded||!l.positionSet)){g=!0;break}for(u=d-1;u>d-1-m;u--)if(_=o(u),(l=a.slides[_])&&(!l.isAdded||!l.positionSet)){v=!0;break}if(g)for(u=d;u<d+f+1;u++)_=o(u),p=Math.floor((a._u-(d-u))/a.numSlides)*a.numSlides,(l=a.slides[_])&&n(l,_);if(v)for(u=d-1;u>d-1-f;u--)_=o(u),p=Math.floor((a._u-(d-u))/h)*h,(l=a.slides[_])&&n(l,_);if(!e)for(m=o(d-f),d=o(d+f),f=m>d?0:m,u=0;u<h;u++)m>d&&u>m-1||!(u<f||u>d)||(l=a.slides[u])&&l.holder&&(l.holder.detach(),l.isAdded=!1)},setItemHtml:function(e,i){var n=this,s=function(){if(e.images){if(!e.isLoading){var i,s;if(e.content.hasClass("rsImg")?(i=e.content,s=!0):i=e.content.find(".rsImg:not(img)"),i&&!i.is("img")&&i.each(function(){var i=t(this),n='<img class="rsImg" src="'+(i.is("a")?i.attr("href"):i.text())+'" />';s?e.content=t(n):i.replaceWith(n)}),i=s?e.content:e.content.find("img.rsImg"),u(),i.eq(0).addClass("rsMainSlideImage"),e.iW&&e.iH&&(e.isLoaded||n._q2(e),a()),e.isLoading=!0,e.isBig)t("<img />").on("load.rs error.rs",function(e){t(this).off("load.rs error.rs"),r([this],!0)}).attr("src",e.image);else{e.loaded=[],e.numStartedLoad=0,i=function(i){t(this).off("load.rs error.rs"),e.loaded.push(this),e.loaded.length===e.numStartedLoad&&r(e.loaded,!1)};for(var o=0;o<e.images.length;o++){var l=t("<img />");e.numStartedLoad++,l.on("load.rs error.rs",i).attr("src",e.images[o])}}}}else e.isRendered=!0,e.isLoaded=!0,e.isLoading=!1,a(!0)},r=function(t,i){if(t.length){var n=t[0];if(i!==e.isBig)(n=e.holder.children())&&1<n.length&&c();else if(e.iW&&e.iH)o();else if(e.iW=n.width,e.iH=n.height,e.iW&&e.iH)o();else{var s=new Image;s.onload=function(){s.width?(e.iW=s.width,e.iH=s.height,o()):setTimeout(function(){s.width&&(e.iW=s.width,e.iH=s.height),o()},1e3)},s.src=n.src}}else o()},o=function(){e.isLoaded=!0,e.isLoading=!1,a(),c(),l()},a=function(){if(!e.isAppended&&n.ev){var t=n.st.visibleNearby,s=e.id-n._o;i||e.appendOnLoaded||!n.st.fadeinLoadedSlide||0!==s&&(!(t||n._r2||n._l2)||-1!==s&&1!==s)||(t={visibility:"visible",opacity:0},t[n._g+"transition"]="opacity 400ms ease-in-out",e.content.css(t),setTimeout(function(){e.content.css("opacity",1)},16)),e.holder.find(".rsPreloader").length?e.holder.append(e.content):e.holder.html(e.content),e.isAppended=!0,e.isLoaded&&(n._q2(e),l()),e.sizeReady||(e.sizeReady=!0,setTimeout(function(){n.ev.trigger("rsMaybeSizeReady",e)},100))}},l=function(){!e.loadedTriggered&&n.ev&&(e.isLoaded=e.loadedTriggered=!0,e.holder.trigger("rsAfterContentSet"),n.ev.trigger("rsAfterContentSet",e))}
vendor: 7,109 bytes, line 35
35,u=function(){n.st.usePreloader&&e.holder.html(n._q1.clone())},c=function(t){n.st.usePreloader&&(t=e.holder.find(".rsPreloader"),t.length&&t.remove())};e.isLoaded?a():i?!n._l&&e.images&&e.iW&&e.iH?s():(e.holder.isWaiting=!0,u(),e.holder.slideId=-99):s()},_p2:function(t,e,i){this._p1.append(t.holder),t.appendOnLoaded=!1},_g2:function(e,i){var n=this,s,r="touchstart"===e.type;if(n._s2=r,n.ev.trigger("rsDragStart"),t(e.target).closest(".rsNoDrag",n._r1).length)return n.dragSuccess=!1,!0;if(!i&&n._r2&&(n._t2=!0,n._u2()),n.dragSuccess=!1,n._l2)r&&(n._v2=!0);else{if(r&&(n._v2=!1),n._w2(),r){var o=e.originalEvent.touches;if(!(o&&0<o.length))return;s=o[0],1<o.length&&(n._v2=!0)}else e.preventDefault(),s=e,n.pointerEnabled&&(s=s.originalEvent);n._l2=!0,n._b.on(n._k1,function(t){n._x2(t,i)}).on(n._l1,function(t){n._y2(t,i)}),n._z2="",n._a3=!1,n._b3=s.pageX,n._c3=s.pageY,n._d3=n._v=(i?n._e3:n._h)?s.pageX:s.pageY,n._f3=0,n._g3=0,n._h3=i?n._i3:n._p,n._j3=(new Date).getTime(),r&&n._e1.on(n._m1,function(t){n._y2(t,i)})}},_k3:function(t,e){if(this._l3){var i=this._m3,n=t.pageX-this._b3,s=t.pageY-this._c3,r=this._h3+n,o=this._h3+s,a=e?this._e3:this._h,r=a?r:o,o=this._z2;this._a3=!0,this._b3=t.pageX,this._c3=t.pageY,"x"===o&&0!==n?this._f3=0<n?1:-1:"y"===o&&0!==s&&(this._g3=0<s?1:-1),o=a?this._b3:this._c3,n=a?n:s,e?r>this._n3?r=this._h3+n*this._n1:r<this._o3&&(r=this._h3+n*this._n1):this._z||(0>=this.currSlideId&&0<o-this._d3&&(r=this._h3+n*this._n1),this.currSlideId>=this.numSlides-1&&0>o-this._d3&&(r=this._h3+n*this._n1)),this._h3=r,200<i-this._j3&&(this._j3=i,this._v=o),e?this._q3(this._h3):this._l&&this._p3(this._h3)}},_x2:function(t,e){var i=this,n,s="touchmove"===t.type;if(!i._s2||s){if(s){if(i._r3)return;var r=t.originalEvent.touches;if(!r)return;if(1<r.length)return;n=r[0]}else n=t,i.pointerEnabled&&(n=n.originalEvent);if(i._a3||(i._e&&(e?i._s3:i._p1).css(i._g+i._u1,"0s"),function t(){i._l2&&(i._t3=requestAnimationFrame(t),i._u3&&i._k3(i._u3,e))}()),i._l3)t.preventDefault(),i._m3=(new Date).getTime(),i._u3=n;else if(r=e?i._e3:i._h,7<(n=Math.abs(n.pageX-i._b3)-Math.abs(n.pageY-i._c3)-(r?-7:7))){if(r)t.preventDefault(),i._z2="x";else if(s)return void i._v3(t);i._l3=!0}else if(-7>n){if(r){if(s)return void i._v3(t)}else t.preventDefault(),i._z2="y";i._l3=!0}}},_v3:function(t,e){this._r3=!0,this._a3=this._l2=!1,this._y2(t)},_y2:function(e,i){function n(t){return 100>t?100:500<t?500:t}function s(t,e){(r._l||i)&&(l=(-r._u-r._d1)*r._w,u=Math.abs(r._p-l),r._c=u/e,t&&(r._c+=250),r._c=n(r._c),r._x3(l,!1))}var r=this,o,a,l,u;if(o=-1<e.type.indexOf("touch"),!r._s2||o)if(r._s2=!1,r.ev.trigger("rsDragRelease"),r._u3=null,r._l2=!1,r._r3=!1,r._l3=!1,r._m3=0,cancelAnimationFrame(r._t3),r._a3&&(i?r._q3(r._h3):r._l&&r._p3(r._h3)),r._b.off(r._k1).off(r._l1),o&&r._e1.off(r._m1),r._i1(),!r._a3&&!r._v2&&i&&r._w3){var c=t(e.target).closest(".rsNavItem");c.length&&r.goTo(c.index())}else{if(a=i?r._e3:r._h,!r._a3||"y"===r._z2&&a||"x"===r._z2&&!a){if(i||!r._t2)return r._t2=!1,void(r.dragSuccess=!1);if(r._t2=!1,r.st.navigateByClick)return r._i2(r.pointerEnabled?e.originalEvent:e),void(r.dragSuccess=!0);r.dragSuccess=!0}else r.dragSuccess=!0;r._t2=!1,r._z2="";var h=r.st.minSlideOffset;o=o?e.originalEvent.changedTouches[0]:r.pointerEnabled?e.originalEvent:e;var d=a?o.pageX:o.pageY,p=r._d3;o=r._v;var f=r.currSlideId,m=r.numSlides,g=a?r._f3:r._g3,v=r._z;if(Math.abs(d-p),o=d-o,a=(new Date).getTime()-r._j3,a=Math.abs(o)/a,0===g||1>=m)s(!0,a);else{if(!v&&!i)if(0>=f){if(0<g)return void s(!0,a)}else if(f>=m-1&&0>g)return void s(!0,a);if(i){if((l=r._i3)>r._n3)l=r._n3;else if(l<r._o3)l=r._o3;else{if(d=a*a/.006,c=-r._i3,p=r._y3-r._z3+r._i3,0<o&&d>c?(c+=r._z3/(15/(d/a*.003)),a=a*c/d,d=c):0>o&&d>p&&(p+=r._z3/(15/(d/a*.003)),a=a*p/d,d=p),c=Math.max(Math.round(a/.003),50),(l+=d*(0>o?-1:1))>r._n3)return void r._a4(l,c,!0,r._n3,200);if(l<r._o3)return void r._a4(l,c,!0,r._o3,200)}r._a4(l,c,!0)}else c=function(t){var e=Math.floor(t/r._w);return t-e*r._w>h&&e++,e},p+h<d?0>g?s(!1,a):(c=c(d-p),r._m2(r.currSlideId-c,n(Math.abs(r._p-(-r._u-r._d1+c)*r._w)/a),!1,!0,!0)):p-h>d?0<g?s(!1,a):(c=c(p-d),r._m2(r.currSlideId+c,n(Math.abs(r._p-(-r._u-r._d1-c)*r._w)/a),!1,!0,!0)):s(!1,a)}}},_p3:function(t){t=this._p=t,this._e?this._p1.css(this._x1,this._y1+(this._h?t+this._z1+0:0+this._z1+t)+this._a2):this._p1.css(this._h?this._x1:this._w1,t)},updateSliderSize:function(t){var e,i;if(this.slider){if(this.st.autoScaleSlider){var n=this.st.autoScaleSliderWidth,s=this.st.autoScaleSliderHeight;this.st.autoScaleHeight?(e=this.slider.width(),e!=this.width&&(this.slider.css("height",s/n*e),e=this.slider.width()),i=this.slider.height()):(i=this.slider.height(),i!=this.height&&(this.slider.css("width",n/s*i),i=this.slider.height()),e=this.slider.width())}else e=this.slider.width(),i=this.slider.height();if(t||e!=this.width||i!=this.height){for(this.width=e,this.height=i,this._b4=e,this._c4=i,this.ev.trigger("rsBeforeSizeSet"),this.ev.trigger("rsAfterSizePropSet"),this._e1.css({width:this._b4,height:this._c4}),this._w=(this._h?this._b4:this._c4)+this.st.slidesSpacing,this._d4=this.st.imageScalePadding,e=0;e<this.slides.length;e++)t=this.slides[e],t.positionSet=!1,t&&t.images&&t.isLoaded&&(t.isRendered=!1,this._q2(t));if(this._e4)for(e=0;e<this._e4.length;e++)t=this._e4[e],t.holder.css(this._i,(t.id+this._d1)*this._w);this._n2(),this._l&&(this._e&&this._p1.css(this._g+"transition-duration","0s"),this._p3((-this._u-this._d1)*this._w)),this.ev.trigger("rsOnUpdateNav")}this._j2=this._e1.offset(),this._j2=this._j2[this._i]}},appendSlide:function(e,i){var n=this._s(e);(isNaN(i)||i>this.numSlides)&&(i=this.numSlides),this.slides.splice(i,0,n),this.slidesJQ.splice(i,0,t('<div style="'+(this._l?"position:absolute;":this._n)+'" class="rsSlide"></div>')),i<=this.currSlideId&&this.currSlideId++,this.ev.trigger("rsOnAppendSlide",[n,i]),this._f4(i),i===this.currSlideId&&this.ev.trigger("rsAfterSlideChange")},removeSlide:function(t){var e=this.slides[t];e&&(e.holder&&e.holder.remove(),t<this.currSlideId&&this.currSlideId--,this.slides.splice(t,1),this.slidesJQ.splice(t,1),this.ev.trigger("rsOnRemoveSlide",[t]),this._f4(t),t===this.currSlideId&&this.ev.trigger("rsAfterSlideChange"))},_f4:function(t){var e=this;for(t=e.numSlides,t=0>=e._u?0:Math.floor(e._u/t),e.numSlides=e.slides.length,0===e.numSlides?(e.currSlideId=e._d1=e._u=0,e.currSlide=e._g4=null):e._u=t*e.numSlides+e.currSlideId,t=0;t<e.numSlides;t++)e.slides[t].id=t;e.currSlide=e.slides[e.currSlideId],e._r1=e.slidesJQ[e.currSlideId],e.currSlideId>=e.numSlides?e.goTo(e.numSlides-1):0>e.currSlideId&&e.goTo(0),e._t(),e._l&&e._p1.css(e._g+e._u1,"0ms"),e._h4&&clearTimeout(e._h4),e._h4=setTimeout(function(){e._l&&e._p3((-e._u-e._d1)*e._w),e._n2(),e._l||e._r1.css({display:"block",opacity:1})},14),e.ev.trigger("rsOnUpdateNav")},_i1:function(){this._f1&&this._l&&(this._g1?this._e1.css("cursor",this._g1):(this._e1.removeClass("grabbing-cursor"),this._e1.addClass("grab-cursor")))},_w2:function(){this._f1&&this._l&&(this._h1?this._e1.css("cursor",this._h1):(this._e1.removeClass("grab-cursor"),this._e1.addClass("grabbing-cursor")))}
35,next:function(t){this._m2("next",this.st.transitionSpeed,!0,!t)},prev:function(t){this._m2("prev",this.st.transitionSpeed,!0,!t)},_m2:function(t,e,i,n,s){var r=this,o,a,l;if(r.ev.trigger("rsBeforeMove",[t,n]),l="next"===t?r.currSlideId+1:"prev"===t?r.currSlideId-1:t=parseInt(t,10),!r._z){if(0>l)return void r._i4("left",!n);if(l>=r.numSlides)return void r._i4("right",!n)}r._r2&&(r._u2(!0),i=!1),a=l-r.currSlideId,l=r._o2=r.currSlideId;var u=r.currSlideId+a;n=r._u;var c;r._z?(u=r._n2(!1,u),n+=a):n=u,r._o=u,r._g4=r.slidesJQ[r.currSlideId],r._u=n,r.currSlideId=r._o,r.currSlide=r.slides[r.currSlideId],r._r1=r.slidesJQ[r.currSlideId];var u=r.st.slidesDiff,h=Boolean(0<a);a=Math.abs(a);var d=Math.floor(l/r._y),p=Math.floor((l+(h?u:-u))/r._y),d=(h?Math.max(d,p):Math.min(d,p))*r._y+(h?r._y-1:0);if(d>r.numSlides-1?d=r.numSlides-1:0>d&&(d=0),l=h?d-l:l-d,l>r._y&&(l=r._y),a>l+u)for(r._d1+=(a-(l+u))*(h?-1:1),e*=1.4,l=0;l<r.numSlides;l++)r.slides[l].positionSet=!1;r._c=e,r._n2(!0),s||(c=!0),o=(-n-r._d1)*r._w,c?setTimeout(function(){r._j4=!1,r._x3(o,t,!1,i),r.ev.trigger("rsOnUpdateNav")},0):(r._x3(o,t,!1,i),r.ev.trigger("rsOnUpdateNav"))},_f2:function(){this.st.arrowsNav&&(1>=this.numSlides?(this._c2.css("display","none"),this._d2.css("display","none")):(this._c2.css("display","block"),this._d2.css("display","block"),this._z||this.st.loopRewind||(0===this.currSlideId?this._c2.addClass("rsArrowDisabled"):this._c2.removeClass("rsArrowDisabled"),this.currSlideId===this.numSlides-1?this._d2.addClass("rsArrowDisabled"):this._d2.removeClass("rsArrowDisabled"))))},_x3:function(e,i,n,s,r){function o(){var t;l&&(t=l.data("rsTimeout"))&&(l!==u&&l.css({opacity:0,display:"none",zIndex:0}),clearTimeout(t),l.data("rsTimeout","")),(t=u.data("rsTimeout"))&&(clearTimeout(t),u.data("rsTimeout",""))}var a=this,l,u,c={};isNaN(a._c)&&(a._c=400),a._p=a._h3=e,a.ev.trigger("rsBeforeAnimStart"),a._e?a._l?(a._c=parseInt(a._c,10),n=a._g+a._v1,c[a._g+a._u1]=a._c+"ms",c[n]=s?t.rsCSS3Easing[a.st.easeInOut]:t.rsCSS3Easing[a.st.easeOut],a._p1.css(c),s||!a.hasTouch?setTimeout(function(){a._p3(e)},5):a._p3(e)):(a._c=a.st.transitionSpeed,l=a._g4,u=a._r1,u.data("rsTimeout")&&u.css("opacity",0),o(),l&&l.data("rsTimeout",setTimeout(function(){c[a._g+a._u1]="0ms",c.zIndex=0,c.display="none",l.data("rsTimeout",""),l.css(c),setTimeout(function(){l.css("opacity",0)},16)},a._c+60)),c.display="block",c.zIndex=a._m,c.opacity=0,c[a._g+a._u1]="0ms",c[a._g+a._v1]=t.rsCSS3Easing[a.st.easeInOut],u.css(c),u.data("rsTimeout",setTimeout(function(){u.css(a._g+a._u1,a._c+"ms"),u.data("rsTimeout",setTimeout(function(){u.css("opacity",1),u.data("rsTimeout","")},20))},20))):a._l?(c[a._h?a._x1:a._w1]=e+"px",a._p1.animate(c,a._c,s?a.st.easeInOut:a.st.easeOut)):(l=a._g4,u=a._r1,u.stop(!0,!0).css({opacity:0,display:"block",zIndex:a._m}),a._c=a.st.transitionSpeed,u.animate({opacity:1},a._c,a.st.easeInOut),o(),l&&l.data("rsTimeout",setTimeout(function(){l.stop(!0,!0).css({opacity:0,display:"none",zIndex:0})},a._c+60))),a._r2=!0,a.loadingTimeout&&clearTimeout(a.loadingTimeout),a.loadingTimeout=r?setTimeout(function(){a.loadingTimeout=null,r.call()},a._c+60):setTimeout(function(){a.loadingTimeout=null,a._k4(i)},a._c+60)},_u2:function(t){if(this._r2=!1,clearTimeout(this.loadingTimeout),this._l)if(this._e){if(!t){t=this._p;var e=this._h3=this._l4();this._p1.css(this._g+this._u1,"0ms"),t!==e&&this._p3(e)}}else this._p1.stop(!0),this._p=parseInt(this._p1.css(this._x1),10);else 20<this._m?this._m=10:this._m++},_l4:function(){var t=window.getComputedStyle(this._p1.get(0),null).getPropertyValue(this._g+"transform").replace(/^matrix\(/i,"").split(/, |\)$/g),e=0===t[0].indexOf("matrix3d");return parseInt(t[this._h?e?12:4:e?13:5],10)},_m4:function(t,e){return this._e?this._y1+(e?t+this._z1+0:0+this._z1+t)+this._a2:t},_k4:function(t){this._l||(this._r1.css("z-index",0),this._m=10),this._r2=!1,this.staticSlideId=this.currSlideId,this._n2(),this._n4=!1,this.ev.trigger("rsAfterSlideChange")},_i4:function(t,e){var i=this,n=(-i._u-i._d1)*i._w;if(0!==i.numSlides&&!i._r2)if(i.st.loopRewind)i.goTo("left"===t?i.numSlides-1:0,e);else if(i._l){i._c=200;var s=function(){i._r2=!1};i._x3(n+("left"===t?30:-30),"",!1,!0,function(){i._r2=!1,i._x3(n,"",!1,!0,s)})}},_q2:function(t,e){if(!t.isRendered){var i=t.content,n="rsMainSlideImage",s,r
35=this.st.imageAlignCenter,o=this.st.imageScaleMode,a;if(t.videoURL&&(n="rsVideoContainer","fill"!==o?s=!0:(a=i,a.hasClass(n)||(a=a.find("."+n)),a.css({width:"100%",height:"100%"}),n="rsMainSlideImage")),i.hasClass(n)||(i=i.find("."+n)),i){var l=t.iW,u=t.iH;if(t.isRendered=!0,"none"!==o||r){n="fill"!==o?this._d4:0,a=this._b4-2*n;var c=this._c4-2*n,h,d,p={};"fit-if-smaller"===o&&(l>a||u>c)&&(o="fit"),"fill"!==o&&"fit"!==o||(h=a/l,d=c/u,h="fill"==o?h>d?h:d:"fit"==o?h<d?h:d:1,l=Math.ceil(l*h,10),u=Math.ceil(u*h,10)),"none"!==o&&(p.width=l,p.height=u,s&&i.find(".rsImg").css({width:"100%",height:"100%"})),r&&(p.marginLeft=Math.floor((a-l)/2)+n,p.marginTop=Math.floor((c-u)/2)+n),i.css(p)}}}}},t.rsProto=e.prototype,t.fn.royalSlider=function(i){var n=arguments;return this.each(function(){var s=t(this);if("object"!=typeof i&&i){if((s=s.data("royalSlider"))&&s[i])return s[i].apply(s,Array.prototype.slice.call(n,1))}else s.data("royalSlider")||s.data("royalSlider",new e(s,i))})},t.fn.royalSlider.defaults={slidesSpacing:8,startSlideId:0,loop:!1,loopRewind:!1,numImagesToPreload:4,fadeinLoadedSlide:!0,slidesOrientation:"horizontal",transitionType:"move",transitionSpeed:600,controlNavigation:"bullets",controlsInside:!0,arrowsNav:!0,arrowsNavAutoHide:!0,navigateByClick:!0,randomizeSlides:!1,sliderDrag:!0,sliderTouch:!0,keyboardNavEnabled:!1,fadeInAfterLoaded:!0,allowCSS3:!0,allowCSS3OnWebkit:!0,addActiveClass:!1,autoHeight:!1,easeOut:"easeOutSine",easeInOut:"easeInOutSine",minSlideOffset:10,imageScaleMode:"fit-if-smaller",imageAlignCenter:!0,imageScalePadding:4,usePreloader:!0,autoScaleSlider:!1,autoScaleSliderWidth:800,autoScaleSliderHeight:400,autoScaleHeight:!0,arrowsNavHideOnTouch:!1,globalCaption:!1,slidesDiff:2},t.rsCSS3Easing={easeOutSine:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",easeInOutSine:"cubic-bezier(0.445, 0.050, 0.550, 0.950)"},t.extend(jQuery.easing,{easeInOutSine:function(t,e,i,n,s){return-n/2*(Math.cos(Math.PI*e/s)-1)+i},easeOutSine:function(t,e,i,n,s){return n*Math.sin(e/s*(Math.PI/2))+i},easeOutCubic:function(t,e,i,n,s){return n*((e=e/s-1)*e*e+1)+i}})}(jQuery,window),function(t){t.rsProto._o4=function(){var t,e=this;e.st.addActiveClass&&e.ev.on("rsOnUpdateNav",function(){t&&clearTimeout(t),t=setTimeout(function(){e._g4&&e._g4.removeClass("rsActiveSlide"),e._r1&&e._r1.addClass("rsActiveSlide"),t=null},50)})},t.rsModules.activeClass=t.rsProto._o4}(jQuery),function(t){t.extend(t.rsProto,{_p4:function(){function e(){var t=i.currSlide;if(i.currSlide&&i.currSlide.isLoaded&&i._t4!==t){if(0<i._s4.length){for(n=0;n<i._s4.length;n++)clearTimeout(i._s4[n]);i._s4=[]}if(0<i._r4.length){var e;for(n=0;n<i._r4.length;n++)(e=i._r4[n])&&(i._e?(e.block.css(i._g+i._u1,"0s"),e.block.css(e.css)):e.block.stop(!0).css(e.css),i._t4=null,t.animBlocksDisplayed=!1);i._r4=[]}t.animBlocks&&(t.animBlocksDisplayed=!0,i._t4=t,i._u4(t.animBlocks))}}var i=this,n;i._q4={fadeEffect:!0,moveEffect:"top",moveOffset:20,speed:400,easing:"easeOutSine",delay:200},i.st.block=t.extend({},i._q4,i.st.block),i._r4=[],i._s4=[],i.ev.on("rsAfterInit",function(){e()}),i.ev.on("rsBeforeParseNode",function(e,i,n){i=t(i),n.animBlocks=i.find(".rsABlock").css("display","none"),n.animBlocks.length||(i.hasClass("rsABlock")?n.animBlocks=i.css("display","none"):n.animBlocks=!1)}),i.ev.on("rsAfterContentSet",function(t,n){n.id===i.slides[i.currSlideId].id&&setTimeout(function(){e()},i.st.fadeinLoadedSlide?300:0)}),i.ev.on("rsAfterSlideChange",function(){e()})},_v4:function(t,e){setTimeout(function(){t.css(e)},6)},_u4:function(e){var i=this,n,s,r,o,a,l,u;i._s4=[],e.each(function(e){n=t(this),s={},r={},o=null;var c=n.attr("data-move-offset"),c=c?parseInt(c,10):i.st.block.moveOffset;if(0<c&&((l=n.data("move-effect"))?(l=l.toLowerCase(),"none"===l?l=!1:"left"!==l&&"top"!==l&&"bottom"!==l&&"right"!==l&&"none"===(l=i.st.block.moveEffect)&&(l=!1)):l=i.st.block.moveEffect,l&&"none"!==l)){var h;h="right"===l||"left"===l;var d;u=!1,i._e?(d=0,a=i._x1):(h?isNaN(parseInt(n.css("right"),10))?a="left":(a="right",u=!0):isNaN(parseInt(n.css("bottom"),10))?a="top":(a="bottom",u=!0),a="margin-"+a,u&&(c=-c),i._e?d=parseInt(n.css(a),10):void 0===(d=n.data("rs-start-move-prop"))&&(d=parseInt(n.css(a),10),isNaN(d)&&(d=0),n.data("rs-start-move-prop",d))),r[a]=i._m4("top"===l||"left"===l?d-c:d+c,h),s[a]=i._m4(d,h)}c=n.attr("data-fade-effect"),c?"none"!==c.toLowerCase()&&"false"!==c.toLowerCase()||(c=!1):c=i.st.block.fadeEffect,c&&(r.opacity=0,s.opacity=1),(c||l)&&(o={}
35,o.hasFade=Boolean(c),Boolean(l)&&(o.moveProp=a,o.hasMove=!0),o.speed=n.data("speed"),isNaN(o.speed)&&(o.speed=i.st.block.speed),o.easing=n.data("easing"),o.easing||(o.easing=i.st.block.easing),o.css3Easing=t.rsCSS3Easing[o.easing],o.delay=n.data("delay"),isNaN(o.delay)&&(o.delay=i.st.block.delay*e)),c={},i._e&&(c[i._g+i._u1]="0ms"),c.moveProp=s.moveProp,c.opacity=s.opacity,c.display="none",i._r4.push({block:n,css:c}),i._v4(n,r),i._s4.push(setTimeout(function(t,e,n,s){return function(){if(t.css("display","block"),n){var r={};if(i._e){var o="";n.hasMove&&(o+=n.moveProp),n.hasFade&&(n.hasMove&&(o+=", "),o+="opacity"),r[i._g+i._t1]=o,r[i._g+i._u1]=n.speed+"ms",r[i._g+i._v1]=n.css3Easing,t.css(r),setTimeout(function(){t.css(e)},24)}else setTimeout(function(){t.animate(e,n.speed,n.easing)},16)}delete i._s4[s]}}(n,s,o,e),6>=o.delay?12:o.delay))})}}),t.rsModules.animatedBlocks=t.rsProto._p4}(jQuery),function(t){t.extend(t.rsProto,{_w4:function(){var t=this;if(t.st.autoHeight){var e,i,n,s=!0,r=function(r){n=t.slides[t.currSlideId],(e=n.holder)&&(i=e.height())&&void 0!==i&&i>(t.st.minAutoHeight||30)&&(t._c4=i,t._e||!r?t._e1.css("height",i):t._e1.stop(!0,!0).animate({height:i},t.st.transitionSpeed),t.ev.trigger("rsAutoHeightChange",i),s&&(t._e&&setTimeout(function(){t._e1.css(t._g+"transition","height "+t.st.transitionSpeed+"ms ease-in-out")},16),s=!1))};t.ev.on("rsMaybeSizeReady.rsAutoHeight",function(t,e){n===e&&r()}),t.ev.on("rsAfterContentSet.rsAutoHeight",function(t,e){n===e&&r()}),t.slider.addClass("rsAutoHeight"),t.ev.one("rsAfterInit",function(){setTimeout(function(){r(!1),setTimeout(function(){t.slider.append('<div style="clear:both; float: none;"></div>')},16)},16)}),t.ev.on("rsBeforeAnimStart",function(){r(!0)}),t.ev.on("rsBeforeSizeSet",function(){setTimeout(function(){r(!1)},16)})}}}),t.rsModules.autoHeight=t.rsProto._w4}(jQuery),function(t){t.extend(t.rsProto,{_x4:function(){var e=this,i;
35e._y4={enabled:!1,stopAtAction:!0,pauseOnHover:!0,delay:2e3},!e.st.autoPlay&&e.st.autoplay&&(e.st.autoPlay=e.st.autoplay),e.st.autoPlay=t.extend({},e._y4,e.st.autoPlay),e.st.autoPlay.enabled&&(e.ev.on("rsBeforeParseNode",function(e,n,s){n=t(n),(i=n.attr("data-rsDelay"))&&(s.customDelay=parseInt(i,10))}),e.ev.one("rsAfterInit",function(){e._z4()}),e.ev.on("rsBeforeDestroy",function(){e.stopAutoPlay(),e.slider.off("mouseenter mouseleave"),t(window).off("blur"+e.ns+" focus"+e.ns)}))},_z4:function(){var e=this;e.startAutoPlay(),e.ev.on("rsAfterContentSet",function(t,i){e._l2||e._r2||!e._a5||i!==e.currSlide||e._b5()}),e.ev.on("rsDragRelease",function(){e._a5&&e._c5&&(e._c5=!1,e._b5())}),e.ev.on("rsAfterSlideChange",function(){e._a5&&e._c5&&(e._c5=!1,e.currSlide.isLoaded&&e._b5())}),e.ev.on("rsDragStart",function(){e._a5&&(e.st.autoPlay.stopAtAction?e.stopAutoPlay():(e._c5=!0,e._d5()))}),e.ev.on("rsBeforeMove",function(t,i,n){e._a5&&(n&&e.st.autoPlay.stopAtAction?e.stopAutoPlay():(e._c5=!0,e._d5()))}),e._e5=!1,e.ev.on("rsVideoStop",function(){e._a5&&(e._e5=!1,e._b5())}),e.ev.on("rsVideoPlay",function(){e._a5&&(e._c5=!1,e._d5(),e._e5=!0)}),t(window).on("blur"+e.ns,function(){e._a5&&(e._c5=!0,e._d5())}).on("focus"+e.ns,function(){e._a5&&e._c5&&(e._c5=!1,e._b5())}),e.st.autoPlay.pauseOnHover&&(e._f5=!1,e.slider.hover(function(){e._a5&&(e._c5=!1,e._d5(),e._f5=!0)},function(){e._a5&&(e._f5=!1,e._b5())}))},toggleAutoPlay:function(){this._a5?this.stopAutoPlay():this.startAutoPlay()},startAutoPlay:function(){this._a5=!0,this.currSlide.isLoaded&&this._b5()},stopAutoPlay:function(){this._e5=this._f5=this._c5=this._a5=!1,this._d5()},_b5:function(){var t=this;t._f5||t._e5||(t._g5=!0,t._h5&&clearTimeout(t._h5),t._h5=setTimeout(function(){var e;t._z||t.st.loopRewind||(e=!0,t.st.loopRewind=!0),t.next(!0),e&&(t.st.loopRewind=!1)},t.currSlide.customDelay?t.currSlide.customDelay:t.st.autoPlay.delay))},_d5:function(){this._f5||this._e5||(this._g5=!1,this._h5&&(clearTimeout(this._h5),this._h5=null))}}),t.rsModules.autoplay=t.rsProto._x4}(jQuery),function(t){t.extend(t.rsProto,{_i5:function(){var e=this;"bullets"===e.st.controlNavigation&&(e.ev.one("rsAfterPropsSetup",function(){e._j5=!0,e.slider.addClass("rsWithBullets");for(var i='<div class="rsNav rsBullets">',n=0;n<e.numSlides;n++)i+='<div class="rsNavItem rsBullet"><span></span></div>';e._k5=i=t(i+"</div>"),e._l5=i.appendTo(e.slider).children(),e._k5.on("click.rs",".rsNavItem",function(i){e._m5||e.goTo(t(this).index())})}),e.ev.on("rsOnAppendSlide",function(t,i,n){n>=e.numSlides?e._k5.append('<div class="rsNavItem rsBullet"><span></span></div>'):e._l5.eq(n).before('<div class="rsNavItem rsBullet"><span></span></div>'),e._l5=e._k5.children()}),e.ev.on("rsOnRemoveSlide",function(t,i){var n=e._l5.eq(i);n&&n.length&&(n.remove(),e._l5=e._k5.children())}),e.ev.on("rsOnUpdateNav",function(){var t=e.currSlideId;e._n5&&e._n5.removeClass("rsNavSelected"),t=e._l5.eq(t),t.addClass("rsNavSelected"),e._n5=t}))}}),t.rsModules.bullets=t.rsProto._i5}(jQuery),function(t){t.extend(t.rsProto,{_o5:function(){var e=this,i,n,s;if(e._p5={enabled:!1,change:!1,prefix:""},e.st.deeplinking=t.extend({},e._p5,e.st.deeplinking),e.st.deeplinking.enabled){var r=e.st.deeplinking.change,o=e.st.deeplinking.prefix,a="#"+o,l=function(){var t=window.location.hash;return t&&0<t.indexOf(o)&&0<=(t=parseInt(t.substring(a.length),10))?t-1:-1},u=l();-1!==u&&(e.st.startSlideId=u),r&&(t(window).on("hashchange"+e.ns,function(t){i||0>(t=l())||(t>e.numSlides-1&&(t=e.numSlides-1),e.goTo(t))}),e.ev.on("rsBeforeAnimStart",function(){n&&clearTimeout(n),s&&clearTimeout(s)}),e.ev.on("rsAfterSlideChange",function(){n&&clearTimeout(n),s&&clearTimeout(s),s=setTimeout(function(){i=!0,window.location.replace((""+window.location).split("#")[0]+a+(e.currSlideId+1)),n=setTimeout(function(){i=!1,n=null},60)},400)})),e.ev.on("rsBeforeDestroy",function(){n=s=null,r&&t(window).off("hashchange"+e.ns)})}}}),t.rsModules.deeplinking=t.rsProto._o5}(jQuery),function(t,e,i){function n(t){return t=t||location.href,"#"+t.replace(/^[^#]*#?(.*)$/,"$1")}var s="hashchange",r=document,o,a=t.event.special,l=r.documentMode,u="on"+s in e&&(l===i||7<l);t.fn[s]=function(t){return t?this.bind(s,t):this.trigger(s)},t.fn[s].delay=50,a[s]=t.extend(a[s],{setup:function(){if(u)return!1;t(o.start)},teardown:function(){if(u)return!1;t(o.stop)}}),o=function(){function o(){var i=n(),r=p(c);i!==c?(d(c=i,r),t(e).trigger(s)):r!==c&&(location.href=location.href.replace(/#.*/,"")+r),l=setTimeout(o,t.fn[s].delay)}var a={},l,c=n(),h=function(t){return t},d=h,p=h;return a.start=function(){l||o()},a.stop=function(){l&&clearTimeout(l),l=i},e.attachEvent&&!e.addEventListener&&!u&&function(){var e,i;a.start=function(){e||(i=(i=t.fn[s].src)&&i+n(),e=t('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){i||d(n()),o()}).attr("src",i||"javascript:0").insertAfter("body")[0].contentWindow,r.onpropertychange=function(){try{"title"===event.propertyName&&(e.document.title=r.title)}catch(t){}})},a.stop=h,p=function(){return n(e.location.href)},d=function(i,n){var o=e.document,a=t.fn[s].domain;i!==n&&(o.title=r.title,o.open(),a&&o.write('<script>document.domain="'+a+'"</script>'),o.close(),e.location.hash=i)}}(),a}()}(jQuery,this),function(t){t.extend(t.rsProto,{_q5:function(){var e=this;e._r5={enabled:!1,keyboardNav:!0,buttonFS:!0,nativeFS:!1,doubleTap:!0},e.st.fullscreen=t.extend({},e._r5,e.st.fullscreen),e.st.fullscreen.enabled&&e.ev.one("rsBeforeSizeSet",function(){e._s5()})},_s5:function(){var e=this;if(e._t5=!e.st.keyboardNavEnabled&&e.st.fullscreen.keyboardNav,e.st.fullscreen.nativeFS){var i={
36supportsFullScreen:!1,isFullScreen:function(){return!1},requestFullScreen:function(){},cancelFullScreen:function(){},fullScreenEventName:"",prefix:""},n=["webkit","moz","o","ms","khtml"];if(void 0!==document.cancelFullScreen)i.supportsFullScreen=!0;else for(var s=0,r=n.length;s<r;s++)if(i.prefix=n[s],void 0!==document[i.prefix+"CancelFullScreen"]){i.supportsFullScreen=!0;break}i.supportsFullScreen?(e.nativeFS=!0,i.fullScreenEventName=i.prefix+"fullscreenchange"+e.ns,i.isFullScreen=function(){switch(this.prefix){case"":return document.fullScreen;case"webkit":return document.webkitIsFullScreen;default:return document[this.prefix+"FullScreen"]}},i.requestFullScreen=function(t){return""===this.prefix?t.requestFullScreen():t[this.prefix+"RequestFullScreen"]()},i.cancelFullScreen=function(t){return""===this.prefix?document.cancelFullScreen():document[this.prefix+"CancelFullScreen"]()},e._u5=i):e._u5=!1}e.st.fullscreen.buttonFS&&(e._v5=t('<div class="rsFullscreenBtn"><div class="rsFullscreenIcn"></div></div>').appendTo(e._o1).on("click.rs",function(){e.isFullscreen?e.exitFullscreen():e.enterFullscreen()}))},enterFullscreen:function(e){var i=this;if(i._u5){if(!e)return i._b.on(i._u5.fullScreenEventName,function(t){i._u5.isFullScreen()?i.enterFullscreen(!0):i.exitFullscreen(!0)}),void i._u5.requestFullScreen(t("html")[0]);i._u5.requestFullScreen(t("html")[0])}if(!i._w5){i._w5=!0,i._b.on("keyup"+i.ns+"fullscreen",function(t){27===t.keyCode&&i.exitFullscreen()}),i._t5&&i._b2(),e=t(window),i._x5=e.scrollTop(),i._y5=e.scrollLeft(),i._z5=t("html").attr("style"),i._a6=t("body").attr("style"),i._b6=i.slider.attr("style"),t("body, html").css({overflow:"hidden",height:"100%",width:"100%",margin:"0",padding:"0"}),i.slider.addClass("rsFullscreen");var n;for(n=0;n<i.numSlides;n++)e=i.slides[n],e.isRendered=!1,e.bigImage&&(e.isBig=!0,e.isMedLoaded=e.isLoaded,e.isMedLoading=e.isLoading,e.medImage=e.image,e.medIW=e.iW,e.medIH=e.iH,e.slideId=-99,e.bigImage!==e.medImage&&(e.sizeType="big"),e.isLoaded=e.isBigLoaded,e.isLoading=!1,e.image=e.bigImage,e.images[0]=e.bigImage,e.iW=e.bigIW,e.iH=e.bigIH,e.isAppended=e.contentAdded=!1,i._c6(e));i.isFullscreen=!0,i._w5=!1,i.updateSliderSize(),i.ev.trigger("rsEnterFullscreen")}},exitFullscreen:function(e){var i=this;if(i._u5){if(!e)return void i._u5.cancelFullScreen(t("html")[0]);i._b.off(i._u5.fullScreenEventName)}if(!i._w5){i._w5=!0,i._b.off("keyup"+i.ns+"fullscreen"),i._t5&&i._b.off("keydown"+i.ns),t("html").attr("style",i._z5||""),t("body").attr("style",i._a6||"");var n;for(n=0;n<i.numSlides;n++)e=i.slides[n],e.isRendered=!1,e.bigImage&&(e.isBig=!1,e.slideId=-99,e.isBigLoaded=e.isLoaded,e.isBigLoading=e.isLoading,e.bigImage=e.image,e.bigIW=e.iW,e.bigIH=e.iH,e.isLoaded=e.isMedLoaded,e.isLoading=!1,e.image=e.medImage,e.images[0]=e.medImage,e.iW=e.medIW,e.iH=e.medIH,e.isAppended=e.contentAdded=!1,i._c6(e,!0),e.bigImage!==e.medImage&&(e.sizeType="med"));i.isFullscreen=!1,e=t(window),e.scrollTop(i._x5),e.scrollLeft(i._y5),i._w5=!1,i.slider.removeClass("rsFullscreen"),i.updateSliderSize(),setTimeout(function(){i.updateSliderSize()},1),i.ev.trigger("rsExitFullscreen")}},_c6:function(e,i){var n=e.isLoaded||e.isLoading?'<img class="rsImg rsMainSlideImage" src="'+e.image+'"/>':'<a class="rsImg rsMainSlideImage" href="'+e.image+'"></a>';e.content.hasClass("rsImg")?e.content=t(n):e.content.find(".rsImg").eq(0).replaceWith(n),e.isLoaded||e.isLoading||!e.holder||e.holder.html(e.content)}}),t.rsModules.fullscreen=t.rsProto._q5}(jQuery),function(t){t.extend(t.rsProto,{_d6:function(){var e=this;e.st.globalCaption&&(e.ev.on("rsAfterInit",function(){e.globalCaption=t('<div class="rsGCaption"></div>').appendTo(e.st.globalCaptionInside?e._e1:e.slider),e.globalCaption.html(e.currSlide.caption)}),e.ev.on("rsBeforeAnimStart",function(){e.globalCaption.html(e.currSlide.caption)}))}}),t.rsModules.globalCaption=t.rsProto._d6}(jQuery),function(t){t.extend(t.rsProto,{_e6:function(){var t=this;t.st.navAutoHide&&!t.hasTouch&&t.ev.one("rsAfterInit",function(){if(t._k5){t._k5.addClass("rsHidden");var e=t.slider;e.one("mousemove.controlnav",function(){t._k5.removeClass("rsHidden")}),e.hover(function(){t._k5.removeClass("rsHidden")},function(){t._k5.addClass("rsHidden")})}})}}),t.rsModules.autoHideNav=t.rsProto._e6}(jQuery),function(t){t.extend(t.rsProto,{_f6:function(){var e=this;"tabs"===e.st.controlNavigation&&(e.ev.on("rsBeforeParseNode",function(e,i,n){i=t(i),n.thumbnail=i.find(".rsTmb").remove(),n.thumbnail.length?n.thumbnail=t(document.createElement("div")).append(n.thumbnail).html():(n.thumbnail=i.attr("data-rsTmb"),n.thumbnail||(n.thumbnail=i.find(".rsImg").attr("data-rsTmb")),n.thumbnail=n.thumbnail?'<img src="'+n.thumbnail+'"/>':"")}),e.ev.one("rsAfterPropsSetup",function(){e._g6()}),e.ev.on("rsOnAppendSlide",function(t,i,n){n>=e.numSlides?e._k5.append('<div class="rsNavItem rsTab">'+i.thumbnail+"</div>"):e._l5.eq(n).before('<div class="rsNavItem rsTab">'+item.thumbnail+"</div>"),e._l5=e._k5.children()}),e.ev.on("rsOnRemoveSlide",function(t,i){var n=e._l5.eq(i);n&&(n.remove(),e._l5=e._k5.children())}),e.ev.on("rsOnUpdateNav",function(){var t=e.currSlideId;e._n5&&e._n5.removeClass("rsNavSelected"),t=e._l5.eq(t),t.addClass("rsNavSelected"),e._n5=t}))},_g6:function(){var e=this,i;e._j5=!0,i='<div class="rsNav rsTabs">';for(var n=0;n<e.numSlides;n++)i+='<div class="rsNavItem rsTab">'+e.slides[n].thumbnail+"</div>";i=t(i+"</div>"),e._k5=i,e._l5=i.children(".rsNavItem"),e.slider.append(i),e._k5.click(function(i){i=t(i.target).closest(".rsNavItem"),i.length&&e.goTo(i.index())})}}),t.rsModules.tabs=t.rsProto._f6}(jQuery),function(t){t.extend(t.rsProto,{_h6:function(){var e=this;"thumbnails"===e.st.controlNavigation&&(e._i6={drag:!0,touch:!0,orientation:"horizontal",navigation:!0,arrows:!0,arrowLeft:null,arrowRight:null,spacing:4,arrowsAutoHide:!1,appendSpan:!1,transitionSpeed:600,autoCenter:!0,fitInViewport:!0,firstMargin:!0,paddingTop:0,paddingBottom:0},e.st.thumbs=t.extend({},e._i6,e.st.thumbs),e._j6=!0,!1===e.st.thumbs.firstMargin?e.st.thumbs.firstMargin=0:!0===e.st.thumbs.firstMargin&&(e.st.thumbs.firstMargin=e.st.thumbs.spacing),e.ev.on("rsBeforeParseNode",function(e,i,n){i=t(i),n.thumbnail=i.find(".rsTmb").remove(),n.thumbnail.length?n.thumbnail=t(document.createElement("div")).append(n.thumbnail).html():(n.thumbnail=i.attr("data-rsTmb"),n.thumbnail||(n.thumbnail=i.find(".rsImg").attr("data-rsTmb")),n.thumbnail=n.thumbnail?'<img src="'+n.thumbnail+'"/>':"")}),e.ev.one("rsAfterPropsSetup",function(){e._k6()}),e._n5=null,e.ev.on("rsOnUpdateNav",function(){var i=t(e._l5[e.currSlideId]);i!==e._n5&&(e._n5&&(e._n5.removeClass("rsNavSelected"),e._n5=null),e._l6&&e._m6(e.currSlideId),e._n5=i.addClass("rsNavSelected"))}),e.ev.on("rsOnAppendSlide",function(t,i,n){t="<div"+e._n6+' class="rsNavItem rsThumb">'+e._o6+i.thumbnail+"</div>",e._e&&e._s3.css(e._g+"transition-duration","0ms"),n>=e.numSlides?e._s3.append(t):e._l5.eq(n).before(t),e._l5=e._s3.children(),e.updateThumbsSize(!0)}),e.ev.on("rsOnRemoveSlide",function(t,i){var n=e._l5.eq(i);n&&(e._e&&e._s3.css(e._g+"transition-duration","0ms"),n.remove(),e._l5=e._s3.children(),e.updateThumbsSize(!0))}))},_k6:function(){var e=this,i="rsThumbs",n=e.st.thumbs,s="",r,o,a=n.spacing;e._j5=!0,e._e3="vertical"!==n.orientation,e._n6=r=a?' style="margin-'+(e._e3?"right":"bottom")+":"+a+'px;"':"",e._i3=0,e._p6=!1,e._m5=!1,e._l6=!1,e._q6=n.arrows&&n.navigation,o=e._e3?"Hor":"Ver",e.slider.addClass("rsWithThumbs rsWithThumbs"+o),s+='<div class="rsNav rsThumbs rsThumbs'+o+'"><div class="'+i+'Container">',e._o6=n.appendSpan?'<span class="thumbIco"></span>':"";for(var l=0;l<e.numSlides;l++)o=e.slides[l],s+="<div"+r+' class="rsNavItem rsThumb">'+o.thumbnail+e._o6+"</div>";s=t(s+"</div></div>"),r={},n.paddingTop&&(r[e._e3?"paddingTop":"paddingLeft"]=n.paddingTop),n.paddingBottom&&(r[e._e3?"paddingBottom":"paddingRight"]=n.paddingBottom),s.css(r),e._s3=t(s).find("."+i+"Container"),e._q6&&(i+="Arrow",n.arrowLeft?e._r6=n.arrowLeft:(e._r6=t('<div class="'+i+" "+i+'Left"><div class="'+i+'Icn"></div></div>'),s.append(e._r6)),n.arrowRight?e._s6=n.arrowRight:(e._s6=t('<div class="'+i+" "+i+'Right"><div class="'+i+'Icn"></div></div>'),s.append(e._s6)),e._r6.click(function(){var t=(Math.floor(e._i3/e._t6)+e._u6)*e._t6+e.st.thumbs.firstMargin;e._a4(t>e._n3?e._n3:t)}
36),e._s6.click(function(){var t=(Math.floor(e._i3/e._t6)-e._u6)*e._t6+e.st.thumbs.firstMargin;e._a4(t<e._o3?e._o3:t)}),n.arrowsAutoHide&&!e.hasTouch&&(e._r6.css("opacity",0),e._s6.css("opacity",0),s.one("mousemove.rsarrowshover",function(){e._l6&&(e._r6.css("opacity",1),e._s6.css("opacity",1))}),s.hover(function(){e._l6&&(e._r6.css("opacity",1),e._s6.css("opacity",1))},function(){e._l6&&(e._r6.css("opacity",0),e._s6.css("opacity",0))}))),e._k5=s,e._l5=e._s3.children(),e.msEnabled&&e.st.thumbs.navigation&&e._s3.css("-ms-touch-action",e._e3?"pan-y":"pan-x"),e.slider.append(s),e._w3=!0,e._v6=a,n.navigation&&e._e&&e._s3.css(e._g+"transition-property",e._g+"transform"),e._k5.on("click.rs",".rsNavItem",function(i){e._m5||e.goTo(t(this).index())}),e.ev.off("rsBeforeSizeSet.thumbs").on("rsBeforeSizeSet.thumbs",function(){e._w6=e._e3?e._c4:e._b4,e.updateThumbsSize(!0)}),e.ev.off("rsAutoHeightChange.thumbs").on("rsAutoHeightChange.thumbs",function(t,i){e.updateThumbsSize(!0,i)})},updateThumbsSize:function(t,e){var i=this,n=i._l5.first(),s={},r=i._l5.length;i._t6=(i._e3?n.outerWidth():n.outerHeight())+i._v6,i._y3=r*i._t6-i._v6,s[i._e3?"width":"height"]=i._y3+i._v6,i._z3=i._e3?i._k5.width():void 0!==e?e:i._k5.height(),i._w3&&(i.isFullscreen||i.st.thumbs.fitInViewport)&&(i._e3?i._c4=i._w6-i._k5.outerHeight():i._b4=i._w6-i._k5.outerWidth()),i._z3&&(i._o3=-(i._y3-i._z3)-i.st.thumbs.firstMargin,i._n3=i.st.thumbs.firstMargin,i._u6=Math.floor(i._z3/i._t6),i._y3<i._z3?(i.st.thumbs.autoCenter&&i._q3((i._z3-i._y3)/2),i.st.thumbs.arrows&&i._r6&&(i._r6.addClass("rsThumbsArrowDisabled"),i._s6.addClass("rsThumbsArrowDisabled")),i._l6=!1,i._m5=!1,i._k5.off(i._j1)):i.st.thumbs.navigation&&!i._l6&&(i._l6=!0,!i.hasTouch&&i.st.thumbs.drag||i.hasTouch&&i.st.thumbs.touch)&&(i._m5=!0,i._k5.on(i._j1,function(t){i._g2(t,!0)})),i._s3.css(s),t&&e&&i._m6(i.currSlideId,!0))},setThumbsOrientation:function(t,e){this._w3&&(this.st.thumbs.orientation=t,this._k5.remove(),this.slider.removeClass("rsWithThumbsHor rsWithThumbsVer"),this._k6(),this._k5.off(this._j1),e||this.updateSliderSize(!0))},_q3:function(t){this._i3=t,this._e?this._s3.css(this._x1,this._y1+(this._e3?t+this._z1+0:0+this._z1+t)+this._a2):this._s3.css(this._e3?this._x1:this._w1,t)},_a4:function(e,i,n,s,r){var o=this;if(o._l6){i||(i=o.st.thumbs.transitionSpeed),o._i3=e,o._x6&&clearTimeout(o._x6),o._p6&&(o._e||o._s3.stop(),n=!0);var a={};o._p6=!0,o._e?(a[o._g+"transition-duration"]=i+"ms",a[o._g+"transition-timing-function"]=n?t.rsCSS3Easing[o.st.easeOut]:t.rsCSS3Easing[o.st.easeInOut],o._s3.css(a),o._q3(e)):(a[o._e3?o._x1:o._w1]=e+"px",o._s3.animate(a,i,n?"easeOutCubic":o.st.easeInOut)),s&&(o._i3=s),o._y6(),o._x6=setTimeout(function(){o._p6=!1,r&&(o._a4(s,r,!0),r=null)},i)}},_y6:function(){this._q6&&(this._i3===this._n3?this._r6.addClass("rsThumbsArrowDisabled"):this._r6.removeClass("rsThumbsArrowDisabled"),this._i3===this._o3?this._s6.addClass("rsThumbsArrowDisabled"):this._s6.removeClass("rsThumbsArrowDisabled"))},_m6:function(t,e){var i=0,n,s=t*this._t6+2*this._t6-this._v6+this._n3,r=Math.floor(this._i3/this._t6);this._l6&&(this._j6&&(e=!0,this._j6=!1),s+this._i3>this._z3?(t===this.numSlides-1&&(i=1),r=-t+this._u6-2+i,n=r*this._t6+this._z3%this._t6+this._v6-this._n3):0!==t?(t-1)*this._t6<=-this._i3+this._n3&&t-1<=this.numSlides-this._u6&&(n=(1-t)*this._t6+this._n3):n=this._n3,n!==this._i3&&(i=void 0===n?this._i3:n,i>this._n3?this._q3(this._n3):i<this._o3?this._q3(this._o3):void 0!==n&&(e?this._q3(n):this._a4(n))),this._y6())}}),t.rsModules.thumbnails=t.rsProto._h6}(jQuery),function(t){t.extend(t.rsProto,{_z6:function(){var e=this;e._a7={autoHideArrows:!0,autoHideControlNav:!1,autoHideBlocks:!1,autoHideCaption:!1,disableCSS3inFF:!0,youTubeCode:'<iframe src="http://www.youtube.com/embed/%id%?rel=1&showinfo=0&autoplay=1&wmode=transparent" frameborder="no"></iframe>',vimeoCode:'<iframe src="http://player.vimeo.com/video/%id%?byline=0&portrait=0&autoplay=1" frameborder="no" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>'},e.st.video=t.extend({},e._a7,e.st.video),e.ev.on("rsBeforeSizeSet",function(){e._b7&&setTimeout(function(){var t=e._r1,t=t.hasClass("rsVideoContainer")?t:t.find(".rsVideoContainer");e._c7&&e._c7.css({width:t.width(),height:t.height()})},32)});var i=e._a.mozilla;e.ev.on("rsAfterParseNode",function(n,s,r){if(n=t(s),r.videoURL){e.st.video.disableCSS3inFF&&i&&(e._e=e._f=!1),s=t('<div class="rsVideoContainer"></div>');var o=t('<div class="rsBtnCenterer"><div class="rsPlayBtn"><div class="rsPlayBtnIcon"></div></div></div>');n.hasClass("rsImg")?r.content=s.append(n).append(o):r.content.find(".rsImg").wrap(s).after(o)}}),e.ev.on("rsAfterSlideChange",function(){e.stopVideo()})},toggleVideo:function(){return this._b7?this.stopVideo():this.playVideo()},playVideo:function(){var e=this;if(!e._b7){var i=e.currSlide;if(!i.videoURL)return!1;e._d7=i;var n=e._e7=i.content,i=i.videoURL,s,r;return i.match(/youtu\.be/i)||i.match(/youtube\.com/i)?(r=/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/,(r=i.match(r))&&11==r[7].length&&(s=r[7]),void 0!==s&&(e._c7=e.st.video.youTubeCode.replace("%id%",s))):i.match(/vimeo\.com/i)&&(r=/(www\.)?vimeo.com\/(\d+)($|\/)/,(r=i.match(r))&&(s=r[2]),void 0!==s&&(e._c7=e.st.video.vimeoCode.replace("%id%",s))),e.videoObj=t(e._c7),e.ev.trigger("rsOnCreateVideoElement",[i]),e.videoObj.length&&(e._c7=t('<div class="rsVideoFrameHolder"><div class="rsPreloader"></div><div class="rsCloseVideoBtn"><div class="rsCloseVideoIcn"></div></div></div>'),e._c7.find(".rsPreloader").after(e.videoObj),n=n.hasClass("rsVideoContainer")?n:n.find(".rsVideoContainer"),e._c7.css({width:n.width(),height:n.height()}
36).find(".rsCloseVideoBtn").off("click.rsv").on("click.rsv",function(t){return e.stopVideo(),t.preventDefault(),t.stopPropagation(),!1}),n.append(e._c7),e.isIPAD&&n.addClass("rsIOSVideo"),e._f7(!1),setTimeout(function(){e._c7.addClass("rsVideoActive")},10),e.ev.trigger("rsVideoPlay"),e._b7=!0),!0}return!1},stopVideo:function(){var t=this;return!!t._b7&&(t.isIPAD&&t.slider.find(".rsCloseVideoBtn").remove(),t._f7(!0),setTimeout(function(){t.ev.trigger("rsOnDestroyVideoElement",[t.videoObj]);var e=t._c7.find("iframe");if(e.length)try{e.attr("src","")}catch(t){}t._c7.remove(),t._c7=null},16),t.ev.trigger("rsVideoStop"),t._b7=!1,!0)},_f7:function(t,e){var i=[],n=this.st.video;if(n.autoHideArrows&&(this._c2&&(i.push(this._c2,this._d2),this._e2=!t),this._v5&&i.push(this._v5)),n.autoHideControlNav&&this._k5&&i.push(this._k5),n.autoHideBlocks&&this._d7.animBlocks&&i.push(this._d7.animBlocks),n.autoHideCaption&&this.globalCaption&&i.push(this.globalCaption),this.slider[t?"removeClass":"addClass"]("rsVideoPlaying"),i.length)for(n=0;n<i.length;n++)t?i[n].removeClass("rsHidden"):i[n].addClass("rsHidden")}}),t.rsModules.video=t.rsProto._z6}(jQuery),function(t){t.rsProto._g7=function(){var e=this;e.st.visibleNearby&&e.st.visibleNearby.enabled&&(e._h7={enabled:!0,centerArea:.6,center:!0,breakpoint:0,breakpointCenterArea:.8,hiddenOverflow:!0,navigateByCenterClick:!1},e.st.visibleNearby=t.extend({},e._h7,e.st.visibleNearby),e.ev.one("rsAfterPropsSetup",function(){e._i7=e._e1.css("overflow","visible").wrap('<div class="rsVisibleNearbyWrap"></div>').parent(),e.st.visibleNearby.hiddenOverflow||e._i7.css("overflow","visible"),e._o1=e.st.controlsInside?e._i7:e.slider}),e.ev.on("rsAfterSizePropSet",function(){var t,i=e.st.visibleNearby;t=i.breakpoint&&e.width<i.breakpoint?i.breakpointCenterArea:i.centerArea,e._h?(e._b4*=t,e._i7.css({height:e._c4,width:e._b4/t}),e._d=e._b4*(1-t)/2/t):(e._c4*=t,e._i7.css({height:e._c4/t,width:e._b4}),e._d=e._c4*(1-t)/2/t),i.navigateByCenterClick||(e._q=e._h?e._b4:e._c4),i.center&&e._e1.css("margin-"+(e._h?"left":"top"),e._d)}))},t.rsModules.visibleNearby=t.rsProto._g7}(jQuery);var mejs=mejs||{};mejs.version="2.14.2",mejs.meIndex=0,mejs.plugins={silverlight:[{version:[3,0],types:["video/mp4","video/m4v","video/mov","video/wmv","audio/wma","audio/m4a","audio/mp3","audio/wav","audio/mpeg"]}],flash:[{version:[9,0,124],types:["video/mp4","video/m4v","video/mov","video/flv","video/rtmp","video/x-flv","audio/flv","audio/x-flv","audio/mp3","audio/m4a","audio/mpeg","video/youtube","video/x-youtube"]}],youtube:[{version:null,types:["video/youtube","video/x-youtube","audio/youtube","audio/x-youtube"]}],vimeo:[{version:null,types:["video/vimeo","video/x-vimeo"]}]},mejs.Utility={encodeUrl:function(t){return encodeURIComponent(t)},escapeHTML:function(t){return t.toString().split("&").join("&amp;").split("<").join("&lt;").split('"').join("&quot;")},absolutizeUrl:function(t){var e=document.createElement("div");return e.innerHTML='<a href="'+this.escapeHTML(t)+'">x</a>',e.firstChild.href},getScriptPath:function(t){for(var e=0,i,n="",s="",r,o,a=document.getElementsByTagName("script"),l=a.length,u=t.length;e<l;e++){for(r=a[e].src,i=r.lastIndexOf("/"),i>-1?(o=r.substring(i+1),r=r.substring(0,i+1)):(o=r,r=""),i=0;i<u;i++)if(s=t[i],(s=o.indexOf(s))>-1){n=r;break}if(""!==n)break}return n},secondsToTimeCode:function(t,e,i,n){void 0===i?i=!1:void 0===n&&(n=25);var s=Math.floor(t/3600)%24,r=Math.floor(t/60)%60,o=Math.floor(t%60);return t=Math.floor((t%1*n).toFixed(3)),(e||s>0?(s<10?"0"+s:s)+":":"")+(r<10?"0"+r:r)+":"+(o<10?"0"+o:o)+(i?":"+(t<10?"0"+t:t):"")},timeCodeToSeconds:function(t,e,i,n){void 0===i?i=!1:void 0===n&&(n=25),t=t.split(":"),e=parseInt(t[0],10);var s=parseInt(t[1],10),r=parseInt(t[2],10),o=0,a=0;return i&&(o=parseInt(t[3])/n),a=3600*e+60*s+r+o},convertSMPTEtoSeconds:function(t){if("string"!=typeof t)return!1;t=t.replace(",",".");var e=0,i=-1!=t.indexOf(".")?t.split(".")[1].length:0,n=1;t=t.split(":").reverse();for(var s=0;s<t.length;s++)n=1,s>0&&(n=Math.pow(60,s)),e+=Number(t[s])*n;return Number(e.toFixed(i))},removeSwf:function(t){var e=document.getElementById(t);e&&/object|embed/i.test(e.nodeName)&&(mejs.MediaFeatures.isIE?(e.style.display="none",function(){4==e.readyState?mejs.Utility.removeObjectInIE(t):setTimeout(arguments.callee,10)}()):e.parentNode.removeChild(e))},removeObjectInIE:function(t){if(t=document.getElementById(t)){for(var e in t)"function"==typeof t[e]&&(t[e]=null);t.parentNode.removeChild(t)}}},mejs.PluginDetector={hasPluginVersion:function(t,e){var i=this.plugins[t];return e[1]=e[1]||0,e[2]=e[2]||0,i[0]>e[0]||i[0]==e[0]&&i[1]>e[1]||i[0]==e[0]&&i[1]==e[1]&&i[2]>=e[2]},nav:window.navigator,ua:window.navigator.userAgent.toLowerCase(),plugins:[],addPlugin:function(t,e,
36i,n,s){this.plugins[t]=this.detectPlugin(e,i,n,s)},detectPlugin:function(t,e,i,n){var s=[0,0,0],r;if(void 0!==this.nav.plugins&&"object"==typeof this.nav.plugins[t]){if((i=this.nav.plugins[t].description)&&(void 0===this.nav.mimeTypes||!this.nav.mimeTypes[e]||this.nav.mimeTypes[e].enabledPlugin))for(s=i.replace(t,"").replace(/^\s+/,"").replace(/\sr/gi,".").split("."),t=0;t<s.length;t++)s[t]=parseInt(s[t].match(/\d+/),10)}else if(void 0!==window.ActiveXObject)try{(r=new ActiveXObject(i))&&(s=n(r))}catch(t){}return s}},mejs.PluginDetector.addPlugin("flash","Shockwave Flash","application/x-shockwave-flash","ShockwaveFlash.ShockwaveFlash",function(t){var e=[];return(t=t.GetVariable("$version"))&&(t=t.split(" ")[1].split(","),e=[parseInt(t[0],10),parseInt(t[1],10),parseInt(t[2],10)]),e}),mejs.PluginDetector.addPlugin("silverlight","Silverlight Plug-In","application/x-silverlight-2","AgControl.AgControl",function(t){var e=[0,0,0,0],i=function(t,e,i,n){for(;t.isVersionSupported(e[0]+"."+e[1]+"."+e[2]+"."+e[3]);)e[i]+=n;e[i]-=n};return i(t,e,0,1),i(t,e,1,1),i(t,e,2,1e4),i(t,e,2,1e3),i(t,e,2,100),i(t,e,2,10),i(t,e,2,1),i(t,e,3,1),e}),mejs.MediaFeatures={init:function(){var t=this,e=document,i=mejs.PluginDetector.nav,n=mejs.PluginDetector.ua.toLowerCase(),s,r=["source","track","audio","video"];t.isiPad=null!==n.match(/ipad/i),t.isiPhone=null!==n.match(/iphone/i),t.isiOS=t.isiPhone||t.isiPad,t.isAndroid=null!==n.match(/android/i),t.isBustedAndroid=null!==n.match(/android 2\.[12]/),t.isBustedNativeHTTPS="https:"===location.protocol&&(null!==n.match(/android [12]\./)||null!==n.match(/macintosh.* version.* safari/)),t.isIE=-1!=i.appName.toLowerCase().indexOf("microsoft")||null!==i.appName.toLowerCase().match(/trident/gi),t.isChrome=null!==n.match(/chrome/gi),t.isFirefox=null!==n.match(/firefox/gi),t.isWebkit=null!==n.match(/webkit/gi),t.isGecko=null!==n.match(/gecko/gi)&&!t.isWebkit&&!t.isIE,t.isOpera=null!==n.match(/opera/gi),t.hasTouch="ontouchstart"in window,t.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect;for(i=0;i<r.length;i++)s=document.createElement(r[i]);t.supportsMediaTag=void 0!==s.canPlayType||t.isBustedAndroid;try{s.canPlayType("video/mp4")}catch(e){t.supportsMediaTag=!1}t.hasSemiNativeFullScreen=void 0!==s.webkitEnterFullscreen,t.hasNativeFullscreen=void 0!==s.requestFullscreen,t.hasWebkitNativeFullScreen=void 0!==s.webkitRequestFullScreen,t.hasMozNativeFullScreen=void 0!==s.mozRequestFullScreen,t.hasMsNativeFullScreen=void 0!==s.msRequestFullscreen,t.hasTrueNativeFullScreen=t.hasWebkitNativeFullScreen||t.hasMozNativeFullScreen||t.hasMsNativeFullScreen,t.nativeFullScreenEnabled=t.hasTrueNativeFullScreen,t.hasMozNativeFullScreen?t.nativeFullScreenEnabled=document.mozFullScreenEnabled:t.hasMsNativeFullScreen&&(t.nativeFullScreenEnabled=document.msFullscreenEnabled),t.isChrome&&(t.hasSemiNativeFullScreen=!1),t.hasTrueNativeFullScreen&&(t.fullScreenEventName="",t.hasWebkitNativeFullScreen?t.fullScreenEventName="webkitfullscreenchange":t.hasMozNativeFullScreen?t.fullScreenEventName="mozfullscreenchange":t.hasMsNativeFullScreen&&(t.fullScreenEventName="MSFullscreenChange"),t.isFullScreen=function(){return s.mozRequestFullScreen?e.mozFullScreen:s.webkitRequestFullScreen?e.webkitIsFullScreen:s.hasMsNativeFullScreen?null!==e.msFullscreenElement:void 0},t.requestFullScreen=function(e){t.hasWebkitNativeFullScreen?e.webkitRequestFullScreen():t.hasMozNativeFullScreen?e.mozRequestFullScreen():t.hasMsNativeFullScreen&&e.msRequestFullscreen()},t.cancelFullScreen=function(){t.hasWebkitNativeFullScreen?document.webkitCancelFullScreen():t.hasMozNativeFullScreen?document.mozCancelFullScreen():t.hasMsNativeFullScreen&&document.msExitFullscreen()}),t.hasSemiNativeFullScreen&&n.match(/mac os x 10_5/i)&&(t.hasNativeFullScreen=!1,t.hasSemiNativeFullScreen=!1)}},mejs.MediaFeatures.init(),mejs.HtmlMediaElement={pluginType:"native",isFullScreen:!1,setCurrentTime:function(t){this.currentTime=t},setMuted:function(t){this.muted=t},setVolume:function(t){this.volume=t},stop:function(){this.pause()},setSrc:function(t){for(var e=this.getElementsByTagName("source");e.length>0;)this.removeChild(e[0]);if("string"==typeof t)this.src=t;else{var i;for(e=0;e<t.length;e++)if(i=t[e],this.canPlayType(i.type)){this.src=i.src;break}}},setVideoSize:function(t,e){this.width=t,this.height=e}}
36,mejs.PluginMediaElement=function(t,e,i){this.id=t,this.pluginType=e,this.src=i,this.events={},this.attributes={}},mejs.PluginMediaElement.prototype={pluginElement:null,pluginType:"",isFullScreen:!1,playbackRate:-1,defaultPlaybackRate:-1,seekable:[],played:[],paused:!0,ended:!1,seeking:!1,duration:0,error:null,tagName:"",muted:!1,volume:1,currentTime:0,play:function(){null!=this.pluginApi&&("youtube"==this.pluginType||"vimeo"==this.pluginType?this.pluginApi.playVideo():this.pluginApi.playMedia(),this.paused=!1)},load:function(){null!=this.pluginApi&&("youtube"==this.pluginType||"vimeo"==this.pluginType||this.pluginApi.loadMedia(),this.paused=!1)},pause:function(){null!=this.pluginApi&&("youtube"==this.pluginType||"vimeo"==this.pluginType?this.pluginApi.pauseVideo():this.pluginApi.pauseMedia(),this.paused=!0)},stop:function(){null!=this.pluginApi&&("youtube"==this.pluginType||"vimeo"==this.pluginType?this.pluginApi.stopVideo():this.pluginApi.stopMedia(),this.paused=!0)},canPlayType:function(t){var e,i,n,s=mejs.plugins[this.pluginType];for(e=0;e<s.length;e++)if(n=s[e],mejs.PluginDetector.hasPluginVersion(this.pluginType,n.version))for(i=0;i<n.types.length;i++)if(t==n.types[i])return"probably";return""},positionFullscreenButton:function(t,e,i){null!=this.pluginApi&&this.pluginApi.positionFullscreenButton&&this.pluginApi.positionFullscreenButton(Math.floor(t),Math.floor(e),i)},hideFullscreenButton:function(){null!=this.pluginApi&&this.pluginApi.hideFullscreenButton&&this.pluginApi.hideFullscreenButton()},setSrc:function(t){if("string"==typeof t)this.pluginApi.setSrc(mejs.Utility.absolutizeUrl(t)),this.src=mejs.Utility.absolutizeUrl(t);else{var e,i;for(e=0;e<t.length;e++)if(i=t[e],this.canPlayType(i.type)){this.pluginApi.setSrc(mejs.Utility.absolutizeUrl(i.src)),this.src=mejs.Utility.absolutizeUrl(t);break}}},setCurrentTime:function(t){null!=this.pluginApi&&("youtube"==this.pluginType||"vimeo"==this.pluginType?this.pluginApi.seekTo(t):this.pluginApi.setCurrentTime(t),this.currentTime=t)},setVolume:function(t){null!=this.pluginApi&&("youtube"==this.pluginType||"vimeo"==this.pluginType?this.pluginApi.setVolume(100*t):this.pluginApi.setVolume(t),this.volume=t)},setMuted:function(t){null!=this.pluginApi&&("youtube"==this.pluginType||"vimeo"==this.pluginType?(t?this.pluginApi.mute():this.pluginApi.unMute(),this.muted=t,this.dispatchEvent("volumechange")):this.pluginApi.setMuted(t),this.muted=t)},setVideoSize:function(t,e){this.pluginElement.style&&(this.pluginElement.style.width=t+"px",this.pluginElement.style.height=e+"px"),null!=this.pluginApi&&this.pluginApi.setVideoSize&&this.pluginApi.setVideoSize(t,e)},setFullscreen:function(t){null!=this.pluginApi&&this.pluginApi.setFullscreen&&this.pluginApi.setFullscreen(t)},enterFullScreen:function(){null!=this.pluginApi&&this.pluginApi.setFullscreen&&this.setFullscreen(!0)},exitFullScreen:function(){null!=this.pluginApi&&this.pluginApi.setFullscreen&&this.setFullscreen(!1)},addEventListener:function(t,e){this.events[t]=this.events[t]||[],this.events[t].push(e)},removeEventListener:function(t,e){if(!t)return this.events={},!0;var i=this.events[t];if(!i)return!0;if(!e)return this.events[t]=[],!0;for(var n=0;n<i.length;n++)if(i[n]===e)return this.events[t].splice(n,1),!0;return!1},dispatchEvent:function(t){var e,i,n=this.events[t];if(n)for(i=Array.prototype.slice.call(arguments,1),e=0;e<n.length;e++)n[e].apply(null,i)},hasAttribute:function(t){return t in this.attributes},removeAttribute:function(t){delete this.attributes[t]},getAttribute:function(t){return this.hasAttribute(t)?this.attributes[t]:""},setAttribute:function(t,e){this.attributes[t]=e},remove:function(){mejs.Utility.removeSwf(this.pluginElement.id),mejs.MediaPluginBridge.unregisterPluginElement(this.pluginElement.id)}},mejs.MediaPluginBridge={pluginMediaElements:{},htmlMediaElements:{},registerPluginElement:function(t,e,i){this.pluginMediaElements[t]=e,this.htmlMediaElements[t]=i},unregisterPluginElement:function(t){delete this.pluginMediaElements[t],delete this.htmlMediaElements[t]},initPlugin:function(t){var e=this.pluginMediaElements[t],i=this.htmlMediaElements[t];if(e){switch(e.pluginType){case"flash":e.pluginElement=e.pluginApi=document.getElementById(t);break;case"silverlight":e.pluginElement=document.getElementById(e.id),e.pluginApi=e.pluginElement.Content.MediaElementJS}null!=e.pluginApi&&e.success&&e.success(e,i)}}
36,fireEvent:function(t,e,i){var n,s;if(t=this.pluginMediaElements[t]){e={type:e,target:t};for(n in i)t[n]=i[n],e[n]=i[n];s=i.bufferedTime||0,e.target.buffered=e.buffered={start:function(){return 0},end:function(){return s},length:1},t.dispatchEvent(e.type,e)}}},mejs.MediaElementDefaults={mode:"auto",plugins:["flash","silverlight","youtube","vimeo"],enablePluginDebug:!1,httpsBasicAuthSite:!1,type:"",pluginPath:mejs.Utility.getScriptPath(["mediaelement.js","mediaelement.min.js","mediaelement-and-player.js","mediaelement-and-player.min.js"]),flashName:"flashmediaelement.swf",flashStreamer:"",enablePluginSmoothing:!1,enablePseudoStreaming:!1,pseudoStreamingStartQueryParam:"start",silverlightName:"silverlightmediaelement.xap",defaultVideoWidth:480,defaultVideoHeight:270,pluginWidth:-1,pluginHeight:-1,pluginVars:[],timerRate:250,startVolume:.8,success:function(){},error:function(){}},mejs.MediaElement=function(t,e){return mejs.HtmlMediaElementShim.create(t,e)},mejs.HtmlMediaElementShim={create:function(t,e){var i=mejs.MediaElementDefaults,n="string"==typeof t?document.getElementById(t):t,s=n.tagName.toLowerCase(),r="audio"===s||"video"===s,o=r?n.getAttribute("src"):n.getAttribute("href");s=n.getAttribute("poster");var a=n.getAttribute("autoplay"),l=n.getAttribute("preload"),u=n.getAttribute("controls"),c;for(c in e)i[c]=e[c];return o=void 0===o||null===o||""==o?null:o,s=void 0===s||null===s?"":s,l=void 0===l||null===l||"false"===l?"none":l,a=!(void 0===a||null===a||"false"===a),u=!(void 0===u||null===u||"false"===u),c=this.determinePlayback(n,i,mejs.MediaFeatures.supportsMediaTag,r,o),c.url=null!==c.url?mejs.Utility.absolutizeUrl(c.url):"","native"==c.method?(mejs.MediaFeatures.isBustedAndroid&&(n.src=c.url,n.addEventListener("click",function(){n.play()},!1)),this.updateNative(c,i,a,l)):""!==c.method?this.createPlugin(c,i,s,a,l,u):(this.createErrorMessage(c,i,s),this)},determinePlayback:function(t,e,i,n,s){var r=[],o,a,l,u={method:"",url:"",htmlMediaElement:t,isVideo:"audio"!=t.tagName.toLowerCase()},c;if(void 0!==e.type&&""!==e.type)if("string"==typeof e.type)r.push({type:e.type,url:s});else for(o=0;o<e.type.length;o++)r.push({type:e.type[o],url:s});else if(null!==s)l=this.formatType(s,t.getAttribute("type")),r.push({type:l,url:s});else for(o=0;o<t.childNodes.length;o++)a=t.childNodes[o],1==a.nodeType&&"source"==a.tagName.toLowerCase()&&(s=a.getAttribute("src"),l=this.formatType(s,a.getAttribute("type")),(!(a=a.getAttribute("media"))||!window.matchMedia||window.matchMedia&&window.matchMedia(a).matches)&&r.push({type:l,url:s}));if(!n&&r.length>0&&null!==r[0].url&&this.getTypeFromFile(r[0].url).indexOf("audio")>-1&&(u.isVideo=!1),mejs.MediaFeatures.isBustedAndroid&&(t.canPlayType=function(t){return null!==t.match(/video\/(mp4|m4v)/gi)?"maybe":""}),i&&("auto"===e.mode||"auto_plugin"===e.mode||"native"===e.mode)&&(!mejs.MediaFeatures.isBustedNativeHTTPS||!0!==e.httpsBasicAuthSite)){for(n||(o=document.createElement(u.isVideo?"video":"audio"),t.parentNode.insertBefore(o,t),t.style.display="none",u.htmlMediaElement=t=o),o=0;o<r.length;o++)if(""!==t.canPlayType(r[o].type).replace(/no/,"")||""!==t.canPlayType(r[o].type.replace(/mp3/,"mpeg")).replace(/no/,"")||""!==t.canPlayType(r[o].type.replace(/m4a/,"mp4")).replace(/no/,"")){u.method="native",u.url=r[o].url;break}if("native"===u.method&&(null!==u.url&&(t.src=u.url),"auto_plugin"!==e.mode))return u}if("auto"===e.mode||"auto_plugin"===e.mode||"shim"===e.mode)for(o=0;o<r.length;o++)for(l=r[o].type,t=0;t<e.plugins.length;t++)for(s=e.plugins[t],a=mejs.plugins[s],i=0;i<a.length;i++)if(c=a[i],null==c.version||mejs.PluginDetector.hasPluginVersion(s,c.version))for(n=0;n<c.types.length;n++)if(l==c.types[n])return u.method=s,u.url=r[o].url,u;return"auto_plugin"===e.mode&&"native"===u.method?u:(""===u.method&&r.length>0&&(u.url=r[0].url),u)},formatType:function(t,e){return t&&!e?this.getTypeFromFile(t):e&&~e.indexOf(";")?e.substr(0,e.indexOf(";")):e},getTypeFromFile:function(t){return t=t.split("?")[0],t=t.substring(t.lastIndexOf(".")+1).toLowerCase(),(/(mp4|m4v|ogg|ogv|webm|webmv|flv|wmv|mpeg|mov)/gi.test(t)?"video":"audio")+"/"+this.getTypeFromExtension(t)},getTypeFromExtension:function(t){switch(t){case"mp4":case"m4v":case"m4a":return"mp4";case"webm":case"webma":case"webmv":return"webm";case"ogg":case"oga":case"ogv":return"ogg";default:return t}}
36,createErrorMessage:function(t,e,i){
37var n=t.htmlMediaElement,s=document.createElement("div");s.className="me-cannotplay";try{s.style.width=n.width+"px",s.style.height=n.height+"px"}catch(t){}s.innerHTML=e.customError?e.customError:""!==i?'<a href="'+t.url+'"><img src="'+i+'" width="100%" height="100%" /></a>':'<a href="'+t.url+'"><span>'+mejs.i18n.t("Download File")+"</span></a>",n.parentNode.insertBefore(s,n),n.style.display="none",e.error(n)},createPlugin:function(t,e,i,n,s,r){i=t.htmlMediaElement;var o=1,a=1,l="me_"+t.method+"_"+mejs.meIndex++,u=new mejs.PluginMediaElement(l,t.method,t.url),c=document.createElement("div"),h;for(u.tagName=i.tagName,h=0;h<i.attributes.length;h++){var d=i.attributes[h];1==d.specified&&u.setAttribute(d.name,d.value)}for(h=i.parentNode;null!==h&&"body"!==h.tagName.toLowerCase()&&null!=h.parentNode;){if("p"===h.parentNode.tagName.toLowerCase()){h.parentNode.parentNode.insertBefore(h,h.parentNode);break}h=h.parentNode}switch(t.isVideo?(o=e.pluginWidth>0?e.pluginWidth:e.videoWidth>0?e.videoWidth:null!==i.getAttribute("width")?i.getAttribute("width"):e.defaultVideoWidth,a=e.pluginHeight>0?e.pluginHeight:e.videoHeight>0?e.videoHeight:null!==i.getAttribute("height")?i.getAttribute("height"):e.defaultVideoHeight,o=mejs.Utility.encodeUrl(o),a=mejs.Utility.encodeUrl(a)):e.enablePluginDebug&&(o=320,a=240),u.success=e.success,mejs.MediaPluginBridge.registerPluginElement(l,u,i),c.className="me-plugin",c.id=l+"_container",t.isVideo?i.parentNode.insertBefore(c,i):document.body.insertBefore(c,document.body.childNodes[0]),n=["id="+l,"isvideo="+(t.isVideo?"true":"false"),"autoplay="+(n?"true":"false"),"preload="+s,"width="+o,"startvolume="+e.startVolume,"timerrate="+e.timerRate,"flashstreamer="+e.flashStreamer,"height="+a,"pseudostreamstart="+e.pseudoStreamingStartQueryParam],null!==t.url&&("flash"==t.method?n.push("file="+mejs.Utility.encodeUrl(t.url)):n.push("file="+t.url)),e.enablePluginDebug&&n.push("debug=true"),e.enablePluginSmoothing&&n.push("smoothing=true"),e.enablePseudoStreaming&&n.push("pseudostreaming=true"),r&&n.push("controls=true"),e.pluginVars&&(n=n.concat(e.pluginVars)),t.method){case"silverlight":c.innerHTML='<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" id="'+l+'" name="'+l+'" width="'+o+'" height="'+a+'" class="mejs-shim"><param name="initParams" value="'+n.join(",")+'" /><param name="windowless" value="true" /><param name="background" value="black" /><param name="minRuntimeVersion" value="3.0.0.0" /><param name="autoUpgrade" value="true" /><param name="source" value="'+e.pluginPath+e.silverlightName+'" /></object>';break;case"flash":mejs.MediaFeatures.isIE?(t=document.createElement("div"),c.appendChild(t),t.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" id="'+l+'" width="'+o+'" height="'+a+'" class="mejs-shim"><param name="movie" value="'+e.pluginPath+e.flashName+"?x="+new Date+'" /><param name="flashvars" value="'+n.join("&amp;")+'" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><param name="scale" value="default" /></object>'):c.innerHTML='<embed id="'+l+'" name="'+l+'" play="true" loop="false" quality="high" bgcolor="#000000" wmode="transparent" allowScriptAccess="always" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="//www.macromedia.com/go/getflashplayer" src="'+e.pluginPath+e.flashName+'" flashvars="'+n.join("&")+'" width="'+o+'" height="'+a+'" scale="default"class="mejs-shim"></embed>';break;case"youtube":-1!=t.url.lastIndexOf("youtu.be")?(t=t.url.substr(t.url.lastIndexOf("/")+1),-1!=t.indexOf("?")&&(t=t.substr(0,t.indexOf("?")))):t=t.url.substr(t.url.lastIndexOf("=")+1),youtubeSettings={container:c,containerId:c.id,pluginMediaElement:u,pluginId:l,videoId:t,height:a,width:o},mejs.PluginDetector.hasPluginVersion("flash",[10,0,0])?mejs.YouTubeApi.createFlash(youtubeSettings):mejs.YouTubeApi.enqueueIframe(youtubeSettings);break;case"vimeo":if(e=l+"_player",u.vimeoid=t.url.substr(t.url.lastIndexOf("/")+1),c.innerHTML='<iframe src="//player.vimeo.com/video/'+u.vimeoid+"?api=1&portrait=0&byline=0&title=0&player_id="+e+'" width="'+o+'" height="'+a+'" frameborder="0" class="mejs-shim" id="'+e+'"></iframe>',"function"==typeof $f){var p=$f(c.childNodes[0]);p.addEvent("ready",function(){function t(t,e,i,n){t={type:i,target:e},"timeupdate"==i&&(e.currentTime=t.currentTime=n.seconds,e.duration=t.duration=n.duration),e.dispatchEvent(t.type,t)}p.playVideo=function(){p.api("play")},p.pauseVideo=function(){p.api("pause")},p.seekTo=function(t){p.api("seekTo",t)},p.addEvent("play",function(){t(p,u,"play"),t(p,u,"playing")}),p.addEvent("pause",function(){t(p,u,"pause")}),p.addEvent("finish",function(){t(p,u,"ended")}),p.addEvent("playProgress",function(e){t(p,u,"timeupdate",e)}),u.pluginApi=p,mejs.MediaPluginBridge.initPlugin(l)})}else console.warn("You need to include froogaloop for vimeo to work")}return i.style.display="none",i.removeAttribute("autoplay"),u},updateNative:function(t,e){var i=t.htmlMediaElement,n;for(n in mejs.HtmlMediaElement)i[n]=mejs.HtmlMediaElement[n];return e.success(i,i),i}},mejs.YouTubeApi={isIframeStarted:!1,isIframeLoaded:!1,loadIframeApi:function(){if(!this.isIframeStarted){var t=document.createElement("script");t.src="//www.youtube.com/player_api";var e=document.getElementsByTagName("script")[0];e.parentNode.insertBefore(t,e),this.isIframeStarted=!0}},iframeQueue:[],enqueueIframe:function(t){this.isLoaded?this.createIframe(t):(this.loadIframeApi(),this.iframeQueue.push(t))},createIframe:function(t){var e=t.pluginMediaElement,i=new YT.Player(t.containerId,{height:t.height,width:t.width,videoId:t.videoId,playerVars:{controls:0},events:{onReady:function(){t.pluginMediaElement.pluginApi=i,mejs.MediaPluginBridge.initPlugin(t.pluginId),setInterval(function(){mejs.YouTubeApi.createEvent(i,e,"timeupdate")},250)},onStateChange:function(t){mejs.YouTubeApi.handleStateChange(t.data,i,e)}}})}
37,createEvent:function(t,e,i){if(i={type:i,target:e},t&&t.getDuration){e.currentTime=i.currentTime=t.getCurrentTime(),e.duration=i.duration=t.getDuration(),i.paused=e.paused,i.ended=e.ended,i.muted=t.isMuted(),i.volume=t.getVolume()/100,i.bytesTotal=t.getVideoBytesTotal(),i.bufferedBytes=t.getVideoBytesLoaded();var n=i.bufferedBytes/i.bytesTotal*i.duration;i.target.buffered=i.buffered={start:function(){return 0},end:function(){return n},length:1}}e.dispatchEvent(i.type,i)},iFrameReady:function(){for(this.isIframeLoaded=this.isLoaded=!0;this.iframeQueue.length>0;)this.createIframe(this.iframeQueue.pop())},flashPlayers:{},createFlash:function(t){this.flashPlayers[t.pluginId]=t;var e,i="//www.youtube.com/apiplayer?enablejsapi=1&amp;playerapiid="+t.pluginId+"&amp;version=3&amp;autoplay=0&amp;controls=0&amp;modestbranding=1&loop=0";mejs.MediaFeatures.isIE?(e=document.createElement("div"),t.container.appendChild(e),e.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" id="'+t.pluginId+'" width="'+t.width+'" height="'+t.height+'" class="mejs-shim"><param name="movie" value="'+i+'" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /></object>'):t.container.innerHTML='<object type="application/x-shockwave-flash" id="'+t.pluginId+'" data="'+i+'" width="'+t.width+'" height="'+t.height+'" style="visibility: visible; " class="mejs-shim"><param name="allowScriptAccess" value="always"><param name="wmode" value="transparent"></object>'},flashReady:function(t){var e=this.flashPlayers[t],i=document.getElementById(t),n=e.pluginMediaElement;n.pluginApi=n.pluginElement=i,mejs.MediaPluginBridge.initPlugin(t),i.cueVideoById(e.videoId),t=e.containerId+"_callback",window[t]=function(t){mejs.YouTubeApi.handleStateChange(t,i,n)},i.addEventListener("onStateChange",t),setInterval(function(){mejs.YouTubeApi.createEvent(i,n,"timeupdate")},250)},handleStateChange:function(t,e,i){switch(t){case-1:i.paused=!0,i.ended=!0,mejs.YouTubeApi.createEvent(e,i,"loadedmetadata");break;case 0:i.paused=!1,i.ended=!0,mejs.YouTubeApi.createEvent(e,i,"ended");break;case 1:i.paused=!1,i.ended=!1,mejs.YouTubeApi.createEvent(e,i,"play"),mejs.YouTubeApi.createEvent(e,i,"playing");break;case 2:i.paused=!0,i.ended=!1,mejs.YouTubeApi.createEvent(e,i,"pause");break;case 3:mejs.YouTubeApi.createEvent(e,i,"progress")}}},window.mejs=mejs,window.MediaElement=mejs.MediaElement,function(t,e){var i={locale:{language:"",strings:{}},methods:{}};i.getLanguage=function(){return(i.locale.language||window.navigator.userLanguage||window.navigator.language).substr(0,2).toLowerCase()},"undefined"!=typeof mejsL10n&&(i.locale.language=mejsL10n.language),i.methods.checkPlain=function(t){var e,i,n={"&":"&amp;",'"':"&quot;","<":"&lt;",">":"&gt;"};t=String(t);for(e in n)n.hasOwnProperty(e)&&(i=RegExp(e,"g"),t=t.replace(i,n[e]));return t},i.methods.t=function(t,e){return i.locale.strings&&i.locale.strings[e.context]&&i.locale.strings[e.context][t]&&(t=i.locale.strings[e.context][t]),i.methods.checkPlain(t)},i.t=function(t,e){if("string"==typeof t&&t.length>0){var n=i.getLanguage();return e=e||{context:n},i.methods.t(t,e)}throw{name:"InvalidArgumentException",message:"First argument is either not a string or empty."}},e.i18n=i}(document,mejs),function(t){"undefined"!=typeof mejsL10n&&(t[mejsL10n.language]=mejsL10n.strings)}(mejs.i18n.locale.strings),function(t){void 0===t.de&&(t.de={Fullscreen:"Vollbild","Go Fullscreen":"Vollbild an","Turn off Fullscreen":"Vollbild aus",Close:"Schließen"})}(mejs.i18n.locale.strings),function(t){void 0===t.zh&&(t.zh={Fullscreen:"全螢幕","Go Fullscreen":"全屏模式","Turn off Fullscreen":"退出全屏模式",Close:"關閉"})}(mejs.i18n.locale.strings),"undefined"!=typeof jQuery?mejs.$=jQuery:"undefined"!=typeof ender&&(mejs.$=ender),function(t){mejs.MepDefaults={poster:"",showPosterWhenEnded:!1,defaultVideoWidth:480,defaultVideoHeight:270,videoWidth:-1,videoHeight:-1,defaultAudioWidth:400,defaultAudioHeight:30,defaultSeekBackwardInterval:function(t){return.05*t.duration},defaultSeekForwardInterval:function(t){return.05*t.duration},audioWidth:-1,audioHeight:-1,startVolume:.8,loop:!1,autoRewind:!0,enableAutosize:!0,alwaysShowHours:!1,showTimeco
37deFrameCount:!1,framesPerSecond:25,autosizeProgress:!0,alwaysShowControls:!1,hideVideoControlsOnLoad:!1,clickToPlayPause:!0,iPadUseNativeControls:!1,iPhoneUseNativeControls:!1,AndroidUseNativeControls:!1,features:["playpause","current","progress","duration","tracks","volume","fullscreen"],isVideo:!0,enableKeyboard:!0,pauseOtherPlayers:!0,keyActions:[{keys:[32,179],action:function(t,e){e.paused||e.ended?t.play():t.pause()}},{keys:[38],action:function(t,e){e.setVolume(Math.min(e.volume+.1,1))}},{keys:[40],action:function(t,e){e.setVolume(Math.max(e.volume-.1,0))}},{keys:[37,227],action:function(t,e){if(!isNaN(e.duration)&&e.duration>0){t.isVideo&&(t.showControls(),t.startControlsTimer());var i=Math.max(e.currentTime-t.options.defaultSeekBackwardInterval(e),0);e.setCurrentTime(i)}}},{keys:[39,228],action:function(t,e){if(!isNaN(e.duration)&&e.duration>0){t.isVideo&&(t.showControls(),t.startControlsTimer());var i=Math.min(e.currentTime+t.options.defaultSeekForwardInterval(e),e.duration);e.setCurrentTime(i)}}},{keys:[70],action:function(t){void 0!==t.enterFullScreen&&(t.isFullScreen?t.exitFullScreen():t.enterFullScreen())}}]},mejs.mepIndex=0,mejs.players={},mejs.MediaElementPlayer=function(e,i){return this instanceof mejs.MediaElementPlayer?(this.$media=this.$node=t(e),this.node=this.media=this.$media[0],void 0!==this.node.player?this.node.player:(this.node.player=this,void 0===i&&(i=this.$node.data("mejsoptions")),this.options=t.extend({},mejs.MepDefaults,i),this.id="mep_"+mejs.mepIndex++,mejs.players[this.id]=this,this.init(),this)):new mejs.MediaElementPlayer(e,i)},mejs.MediaElementPlayer.prototype={hasFocus:!1,controlsAreVisible:!0,init:function(){var e=this,i=mejs.MediaFeatures,n=t.extend(!0,{},e.options,{success:function(t,i){e.meReady(t,i)},error:function(t){e.handleError(t)}}),s=e.media.tagName.toLowerCase();e.isDynamic="audio"!==s&&"video"!==s,e.isVideo=e.isDynamic?e.options.isVideo:"audio"!==s&&e.options.isVideo,i.isiPad&&e.options.iPadUseNativeControls||i.isiPhone&&e.options.iPhoneUseNativeControls?(e.$media.attr("controls","controls"),i.isiPad&&null!==e.media.getAttribute("autoplay")&&e.play()):i.isAndroid&&e.options.AndroidUseNativeControls||(e.$media.removeAttr("controls"),e.container=t('<div id="'+e.id+'" class="mejs-container '+(mejs.MediaFeatures.svg?"svg":"no-svg")+'"><div class="mejs-inner"><div class="mejs-mediaelement"></div><div class="mejs-layers"></div><div class="mejs-controls"></div><div class="mejs-clear"></div></div></div>').addClass(e.$media[0].className).insertBefore(e.$media),e.container.addClass((i.isAndroid?"mejs-android ":"")+(i.isiOS?"mejs-ios ":"")+(i.isiPad?"mejs-ipad ":"")+(i.isiPhone?"mejs-iphone ":"")+(e.isVideo?"mejs-video ":"mejs-audio ")),i.isiOS?(i=e.$media.clone(),e.container.find(".mejs-mediaelement").append(i),e.$media.remove(),e.$node=e.$media=i,e.node=e.media=i[0]):e.container.find(".mejs-mediaelement").append(e.$media),e.controls=e.container.find(".mejs-controls"),e.layers=e.container.find(".mejs-layers"),i=e.isVideo?"video":"audio",s=i.substring(0,1).toUpperCase()+i.substring(1),e.width=e.options[i+"Width"]>0||e.options[i+"Width"].toString().indexOf("%")>-1?e.options[i+"Width"]:""!==e.media.style.width&&null!==e.media.style.width?e.media.style.width:null!==e.media.getAttribute("width")?e.$media.attr("width"):e.options["default"+s+"Width"],e.height=e.options[i+"Height"]>0||e.options[i+"Height"].toString().indexOf("%")>-1?e.options[i+"Height"]:""!==e.media.style.height&&null!==e.media.style.height?e.media.style.height:null!==e.$media[0].getAttribute("height")?e.$media.attr("height"):e.options["default"+s+"Height"],e.setPlayerSize(e.width,e.height),n.pluginWidth=e.width,n.pluginHeight=e.height),mejs.MediaElement(e.$media[0],n),void 0!==e.container&&e.controlsAreVisible&&e.container.trigger("controlsshown")},showControls:function(t){var e=this;t=void 0===t||t,e.controlsAreVisible||(t?(e.controls.css("visibility","visible").stop(!0,!0).fadeIn(200,function(){e.controlsAreVisible=!0,e.container.trigger("controlsshown")}),e.container.find(".mejs-control").css("visibility","visible").stop(!0,!0).fadeIn(200,function(){e.controlsAreVisible=!0})):(e.controls.css("visibility","visible").css("display","block"),e.container.find(".mejs-control").css("visibility","visible").css("display","block"),e.controlsAreVisible=!0,e.container.trigger("controlsshown")),e.setControlsSize())},hideControls:function(e){var i=this;e=void 0===e||e,i.controlsAreVisible&&!i.options.alwaysShowControls&&(e?(i.controls.stop(!0,!0).fadeOut(200,function(){t(this).css("visibility","hidden").css("display","block"),i.controlsAreVisible=!1,i.container.trigger("controlshidden")}),i.container.find(".mejs-control").stop(!0,!0).fadeOut(200,function(){t(this).css("visibility","hidden").css("display","block")})):(i.controls.css("visibility","hidden").css("display","block"),i.container.find(".mejs-control").css("visibility","hidden").css("display","block"),i.controlsAreVisible=!1,i.container.trigger("controlshidden")))},controlsTimer:null,startControlsTimer:function(t){var e=this;t=void 0!==t?t:1500,e.killControlsTimer("start"),e.controlsTimer=setTimeout(function(){e.hideControls(),e.killControlsTimer("hide")},t)}
37,killControlsTimer:function(){null!==this.controlsTimer&&(clearTimeout(this.controlsTimer),delete this.controlsTimer,this.controlsTimer=null)},controlsEnabled:!0,disableControls:function(){this.killControlsTimer(),this.hideControls(!1),this.controlsEnabled=!1},enableControls:function(){this.showControls(!1),this.controlsEnabled=!0},meReady:function(t,e){var i=this,n=mejs.MediaFeatures,s=e.getAttribute("autoplay");s=!(void 0===s||null===s||"false"===s);var r;if(!i.created){if(i.created=!0,i.media=t,i.domNode=e,!(n.isAndroid&&i.options.AndroidUseNativeControls||n.isiPad&&i.options.iPadUseNativeControls||n.isiPhone&&i.options.iPhoneUseNativeControls)){i.buildposter(i,i.controls,i.layers,i.media),i.buildkeyboard(i,i.controls,i.layers,i.media),i.buildoverlays(i,i.controls,i.layers,i.media),i.findTracks();for(r in i.options.features)if(n=i.options.features[r],i["build"+n])try{i["build"+n](i,i.controls,i.layers,i.media)}catch(t){}i.container.trigger("controlsready"),i.setPlayerSize(i.width,i.height),i.setControlsSize(),i.isVideo&&(mejs.MediaFeatures.hasTouch?i.$media.bind("touchstart",function(){i.controlsAreVisible?i.hideControls(!1):i.controlsEnabled&&i.showControls(!1)}):(i.clickToPlayPauseCallback=function(){i.options.clickToPlayPause&&(i.media.paused?i.play():i.pause())},i.media.addEventListener("click",i.clickToPlayPauseCallback,!1),i.container.bind("mouseenter mouseover",function(){i.controlsEnabled&&(i.options.alwaysShowControls||(i.killControlsTimer("enter"),i.showControls(),i.startControlsTimer(2500)))}).bind("mousemove",function(){i.controlsEnabled&&(i.controlsAreVisible||i.showControls(),i.options.alwaysShowControls||i.startControlsTimer(2500))}).bind("mouseleave",function(){i.controlsEnabled&&!i.media.paused&&!i.options.alwaysShowControls&&i.startControlsTimer(1e3)})),i.options.hideVideoControlsOnLoad&&i.hideControls(!1),s&&!i.options.alwaysShowControls&&i.hideControls(),i.options.enableAutosize&&i.media.addEventListener("loadedmetadata",function(t){i.options.videoHeight<=0&&null===i.domNode.getAttribute("height")&&!isNaN(t.target.videoHeight)&&(i.setPlayerSize(t.target.videoWidth,t.target.videoHeight),i.setControlsSize(),i.media.setVideoSize(t.target.videoWidth,t.target.videoHeight))},!1)),t.addEventListener("play",function(){for(var t in mejs.players){var e=mejs.players[t];e.id!=i.id&&i.options.pauseOtherPlayers&&!e.paused&&!e.ended&&e.pause(),e.hasFocus=!1}i.hasFocus=!0},!1),i.media.addEventListener("ended",function(){if(i.options.autoRewind)try{i.media.setCurrentTime(0)}catch(t){}i.media.pause(),i.setProgressRail&&i.setProgressRail(),i.setCurrentRail&&i.setCurrentRail(),i.options.loop?i.play():!i.options.alwaysShowControls&&i.controlsEnabled&&i.showControls()},!1),i.media.addEventListener("loadedmetadata",function(){i.updateDuration&&i.updateDuration(),i.updateCurrent&&i.updateCurrent(),i.isFullScreen||(i.setPlayerSize(i.width,i.height),i.setControlsSize())},!1),setTimeout(function(){i.setPlayerSize(i.width,i.height),i.setControlsSize()},50),i.globalBind("resize",function(){i.isFullScreen||mejs.MediaFeatures.hasTrueNativeFullScreen&&document.webkitIsFullScreen||i.setPlayerSize(i.width,i.height),i.setControlsSize()}),"youtube"==i.media.pluginType&&i.container.find(".mejs-overlay-play").hide()}s&&"native"==t.pluginType&&i.play(),i.options.success&&("string"==typeof i.options.success?window[i.options.success](i.media,i.domNo
37de,i):i.options.success(i.media,i.domNode,i))}},handleError:function(t){this.controls.hide(),this.options.error&&this.options.error(t)},setPlayerSize:function(e,i){if(void 0!==e&&(this.width=e),void 0!==i&&(this.height=i),this.height.toString().indexOf("%")>0||"100%"===this.$node.css("max-width")||parseInt(this.$node.css("max-width").replace(/px/,""),10)/this.$node.offsetParent().width()==1||this.$node[0].currentStyle&&"100%"===this.$node[0].currentStyle.maxWidth){var n=this.isVideo?this.media.videoWidth&&this.media.videoWidth>0?this.media.videoWidth:this.options.defaultVideoWidth:this.options.defaultAudioWidth,s=this.isVideo?this.media.videoHeight&&this.media.videoHeight>0?this.media.videoHeight:this.options.defaultVideoHeight:this.options.defaultAudioHeight,r=this.container.parent().closest(":visible").width();n=this.isVideo||!this.options.autosizeProgress?parseInt(r*s/n,10):s,isNaN(n)&&(n=this.container.parent().closest(":visible").height()),"body"===this.container.parent()[0].tagName.toLowerCase()&&(r=t(window).width(),n=t(window).height()),0!=n&&0!=r&&(this.container.width(r).height(n),this.$media.add(this.container.find(".mejs-shim")).width("100%").height("100%"),this.isVideo&&this.media.setVideoSize&&this.media.setVideoSize(r,n),this.layers.children(".mejs-layer").width("100%").height("100%"))}else this.container.width(this.width).height(this.height),this.layers.children(".mejs-layer").width(this.width).height(this.height);r=this.layers.find(".mejs-overlay-play"),n=r.find(".mejs-overlay-button"),r.height(this.container.height()-this.controls.height()),n.css("margin-top","-"+(n.height()/2-this.controls.height()/2).toString()+"px")},setControlsSize:function(){var e=0,i=0,n=this.controls.find(".mejs-time-rail"),s=this.controls.find(".mejs-time-total");this.controls.find(".mejs-time-current"),this.controls.find(".mejs-time-loaded");var r=n.siblings(),o=r.last(),a=null;if(this.container.is(":visible")&&n.length&&n.is(":visible")){this.options&&!this.options.autosizeProgress&&(i=parseInt(n.css("width"))),0!==i&&i||(r.each(function(){var i=t(this);"absolute"!=i.css("position")&&i.is(":visible")&&(e+=t(this).outerWidth(!0))}),i=this.controls.width()-e-(n.outerWidth(!0)-n.width()));do{n.width(i),s.width(i-(s.outerWidth(!0)-s.width())),"absolute"!=o.css("position")&&(a=o.position(),i--)}while(null!=a&&a.top>0&&i>0);this.setProgressRail&&this.setProgressRail(),this.setCurrentRail&&this.setCurrentRail()}},buildposter:function(e,i,n,s){var r=t('<div class="mejs-poster mejs-layer"></div>').appendTo(n);i=e.$media.attr("poster"),""!==e.options.poster&&(i=e.options.poster),""!==i&&null!=i?this.setPoster(i):r.hide(),s.addEventListener("play",function(){r.hide()},!1),e.options.showPosterWhenEnded&&e.options.autoRewind&&s.addEventListener("ended",function(){r.show()},!1)},setPoster:function(e){var i=this.container.find(".mejs-poster"),n=i.find("img");0==n.length&&(n=t('<img width="100%" height="100%" />').appendTo(i)),n.attr("src",e),i.css({"background-image":"url("+e+")"})},buildoverlays:function(e,i,n,s){var r=this;if(e.isVideo){var o=t('<div class="mejs-overlay mejs-layer"><div class="mejs-overlay-loading"><span></span></div></div>').hide().appendTo(n),a=t('<div class="mejs-overlay mejs-layer"><div class="mejs-overlay-error"></div></div>').hide().appendTo(n),l=t('<div class="mejs-overlay mejs-layer mejs-overlay-play"><div class="mejs-overlay-button"></div></div>').appendTo(n).bind("click touchstart",function(){r.options.clickToPlayPause&&s.paused&&s.play()});s.addEventListener("play",function(){l.hide(),o.hide(),i.find(".mejs-time-buffering").hide(),a.hide()},!1),s.addEventListener("playing",function(){l.hide(),o.hide(),i.find(".mejs-time-buffering").hide(),a.hide()},!1),s.addEventListener("seeking",function(){o.show(),i.find(".mejs-time-buffering").show()},!1),s.addEventListener("seeked",function(){o.hide(),i.find(".mejs-time-buffering").hide()},!1),s.addEventListener("pause",function(){mejs.MediaFeatures.isiPhone||l.show()},!1),s.addEventListener("waiting",function(){o.show(),i.find(".mejs-time-buffering").show()},!1),s.addEventListener("loadeddata",function(){o.show(),i.find(".mejs-time-buffering").show()},!1),s.addEventListener("canplay",function(){o.hide(),i.find(".mejs-time-buffering").hide()},!1),s.addEventListener("error",function(){o.hide(),i.find(".mejs-time-buffering").hide(),a.show(),a.find("mejs-overlay-error").html("Error loading this resource")},!1)}},buildkeyboard:function(e,i,n,s){this.globalBind("keydown",function(t){if(e.hasFocus&&e.options.enableKeyboard)for(var i=0,n=e.options.keyActions.length;i<n;i++)for(var r=e.options.keyActions[i],o=0,a=r.keys.length;o<a;o++)if(t.keyCode==r.keys[o])return t.preventDefault(),r.action(e,s,t.keyCode),!1;return!0}),this.globalBind("click",function(i){e.hasFocus=0!=t(i.target).closest(".mejs-container").length})},findTracks:function(){var e=this,i=e.$media.find("track");e.tracks=[],i.each(function(i,n){n=t(n),e.tracks.push({srclang:n.attr("srclang")?n.attr("srclang").toLowerCase():"",src:n.attr("src"),kind:n.attr("kind"),label:n.attr("label")||"",entries:[],isLoaded:!1})})},changeSkin:function(t){this.container[0].className="mejs-container "+t,this.setPlayerSize(this.width,this.height),this.setControlsSize()},play:function(){this.load(),this.media.play()},pause:function(){try{this.media.pause()}catch(t){}},load:function(){this.isLoaded||this.media.load(),this.isLoaded=!0},setMuted:function(t){this.media.setMuted(t)},setCurrentTime:function(t){this.media.setCurrentTime(t)},getCurrentTime:function(){return this.media.currentTime},setVolume:function(t){this.media.setVolume(t)},getVolume:function(){return this.media.volume},setSrc:function(t){this.media.setSrc(t)},remove:function(){var t,e;for(t in this.options.features)if(e=this.options.features[t],this["clean"+e])try{this["clean"+e](this)}catch(t){}
37this.isDynamic?this.$node.insertBefore(this.container):(this.$media.prop("controls",!0),this.$node.clone().show().insertBefore(this.container),this.$node.remove()),"native"!==this.media.pluginType&&this.media.remove(),delete mejs.players[this.id],"object"==typeof this.container&&this.container.remove(),this.globalUnbind(),delete this.node.player}},function(){function e(e,n){var s={d:[],w:[]};return t.each((e||"").split(" "),function(t,e){var r=e+"."+n;0===r.indexOf(".")?(s.d.push(r),s.w.push(r)):s[i.test(e)?"w":"d"].push(r)}),s.d=s.d.join(" "),s.w=s.w.join(" "),s}var i=/^((after|before)print|(before)?unload|hashchange|message|o(ff|n)line|page(hide|show)|popstate|resize|storage)\b/;mejs.MediaElementPlayer.prototype.globalBind=function(i,n,s){i=e(i,this.id),i.d&&t(document).bind(i.d,n,s),i.w&&t(window).bind(i.w,n,s)},mejs.MediaElementPlayer.prototype.globalUnbind=function(i,n){i=e(i,this.id),i.d&&t(document).unbind(i.d,n),i.w&&t(window).unbind(i.w,n)}}(),"undefined"!=typeof jQuery&&(jQuery.fn.mediaelementplayer=function(t){return!1===t?this.each(function(){var t=jQuery(this).data("mediaelementplayer");t&&t.remove(),jQuery(this).removeData("mediaelementplayer")}):this.each(function(){jQuery(this).data("mediaelementplayer",new mejs.MediaElementPlayer(this,t))}),this}),t(document).ready(function(){t(".mejs-player").mediaelementplayer()}),window.MediaElementPlayer=mejs.MediaElementPlayer}(mejs.$),function(t){t.extend(mejs.MepDefaults,{playpauseText:mejs.i18n.t("Play/Pause")}),t.extend(MediaElementPlayer.prototype,{buildplaypause:function(e,i,n,s){var r=t('<div class="mejs-button mejs-playpause-button mejs-play" ><button type="button" aria-controls="'+this.id+'" title="'+this.options.playpauseText+'" aria-label="'+this.options.playpauseText+'"></button></div>').appendTo(i).click(function(t){return t.preventDefault(),s.paused?s.play():s.pause(),!1});s.addEventListener("play",function(){r.removeClass("mejs-play").addClass("mejs-pause")},!1),s.addEventListener("playing",function(){r.removeClass("mejs-play").addClass("mejs-pause")},!1),s.addEventListener("pause",function(){r.removeClass("mejs-pause").addClass("mejs-play")},!1),s.addEventListener("paused",function(){r.removeClass("mejs-pause").addClass("mejs-play")},!1)}})}(mejs.$),function(t){t.extend(mejs.MepDefaults,{stopText:"Stop"}),t.extend(MediaElementPlayer.prototype,{buildstop:function(e,i,n,s){t('<div class="mejs-button mejs-stop-button mejs-stop"><button type="button" aria-controls="'+this.id+'" title="'+this.options.stopText+'" aria-label="'+this.options.stopText+'"></button></div>').appendTo(i).click(function(){s.paused||s.pause(),s.currentTime>0&&(s.setCurrentTime(0),s.pause(),i.find(".mejs-time-current").width("0px"),i.find(".mejs-time-handle").css("left","0px"),i.find(".mejs-time-float-current").html(mejs.Utility.secondsToTimeCode(0)),i.find(".mejs-currenttime").html(mejs.Utility.secondsToTimeCode(0)),n.find(".mejs-poster").show())})}})}(mejs.$),function(t){t.extend(MediaElementPlayer.prototype,{buildprogress:function(e,i,n,s){t('<div class="mejs-time-rail"><span class="mejs-time-total"><span class="mejs-time-buffering"></span><span class="mejs-time-loaded"></span><span class="mejs-time-current"></span><span class="mejs-time-handle"></span><span class="mejs-time-float"><span class="mejs-time-float-current">00:00</span><span class="mejs-time-float-corner"></span></span></span></div>').appendTo(i),i.find(".mejs-time-buffering").hide();var r=this,o=i.find(".mejs-time-total");n=i.find(".mejs-time-loaded");var a=i.find(".mejs-time-current"),l=i.find(".mejs-time-handle"),u=i.find(".mejs-time-float"),c=i.find(".mejs-time-float-current"),h=function(t){t=t.originalEvent.changedTouches?t.originalEvent.changedTouches[0].pageX:t.pageX;var e=o.offset(),i=o.outerWidth(!0),n=0,r=n=0;s.duration&&(t<e.left?t=e.left:t>i+e.left&&(t=i+e.left),r=t-e.left,n=r/i,n=n<=.02?0:n*s.duration,d&&n!==s.currentTime&&s.setCurrentTime(n),mejs.MediaFeatures.hasTouch||(u.css("left",r),c.html(mejs.Utility.secondsToTimeCode(n)),u.show()))},d=!1;o.bind("mousedown touchstart",function(t){if(1===t.which||0===t.which)return d=!0,h(t),r.globalBind("mousemove.dur touchmove.dur",function(t){h(t)}),r.globalBind("mouseup.dur touchend.dur",function(){d=!1,u.hide(),r.globalUnbind(".dur")}),!1}).bind("mouseenter",function(){r.globalBind("mousemove.dur",function(t){h(t)}),mejs.MediaFeatures.hasTouch||u.show()}).bind("mouseleave",function(){d||(r.globalUnbind(".dur"),u.hide())}),s.addEventListener("progress",function(t){e.setProgressRail(t),e.setCurrentRail(t)},!1),s.addEventListener("timeupdate",function(t){e.setProgressRail(t),e.setCurrentRail(t)},!1),r.loaded=n,r.total=o,r.current=a,r.handle=l},setProgressRail:function(t){var e=void 0!=t?t.target:this.media,i=null;e&&e.buffered&&e.buffered.length>0&&e.buffered.end&&e.duration?i=e.buffered.end(0)/e.duration:e&&void 0!=e.bytesTotal&&e.bytesTotal>0&&void 0!=e.bufferedBytes?i=e.bufferedBytes/e.bytesTotal:t&&t.lengthComputable&&0!=t.total&&(i=t.loaded/t.total),null!==i&&(i=Math.min(1,Math.max(0,i)),this.loaded&&this.total&&this.loaded.width(this.total.width()*i))},setCurrentRail:function(){if(void 0!=this.media.currentTime&&this.media.duration&&this.total&&this.handle){var t=Math.round(this.total.width()*this.media.currentTime/this.media.duration),e=t-Math.round(this.handle.outerWidth(!0)/2);this.current.width(t),this.handle.css("left",e)}}})}(mejs.$),function(t){t.extend(mejs.MepDefaults,{duration:-1,timeAndDurationSeparator:"<span> | </span>"}),t.extend(MediaElementPlayer.prototype,{buildcurrent:function(e,i,n,s){t('<div class="mejs-time"><span class="mejs-currenttime">
37'+(e.options.alwaysShowHours?"00:":"")+(e.options.showTimecodeFrameCount?"00:00:00":"00:00")+"</span></div>").appendTo(i),this.currenttime=this.controls.find(".mejs-currenttime"),s.addEventListener("timeupdate",function(){e.updateCurrent()},!1)},buildduration:function(e,i,n,s){i.children().last().find(".mejs-currenttime").length>0?t(this.options.timeAndDurationSeparator+'<span class="mejs-duration">'+(this.options.duration>0?mejs.Utility.secondsToTimeCode(this.options.duration,this.options.alwaysShowHours||this.media.duration>3600,this.options.showTimecodeFrameCount,this.options.framesPerSecond||25):(e.options.alwaysShowHours?"00:":"")+(e.options.showTimecodeFrameCount?"00:00:00":"00:00"))+"</span>").appendTo(i.find(".mejs-time")):(i.find(".mejs-currenttime").parent().addClass("mejs-currenttime-container"),t('<div class="mejs-time mejs-duration-container"><span class="mejs-duration">'+(this.options.duration>0?mejs.Utility.secondsToTimeCode(this.options.duration,this.options.alwaysShowHours||this.media.duration>3600,this.options.showTimecodeFrameCount,this.options.framesPerSecond||25):(e.options.alwaysShowHours?"00:":"")+(e.options.showTimecodeFrameCount?"00:00:00":"00:00"))+"</span></div>").appendTo(i)),this.durationD=this.controls.find(".mejs-duration"),s.addEventListener("timeupdate",function(){e.updateDuration()},!1)},updateCurrent:function(){
38this.currenttime&&this.currenttime.html(mejs.Utility.secondsToTimeCode(this.media.currentTime,this.options.alwaysShowHours||this.media.duration>3600,this.options.showTimecodeFrameCount,this.options.framesPerSecond||25))},updateDuration:function(){this.container.toggleClass("mejs-long-video",this.media.duration>3600),this.durationD&&(this.options.duration>0||this.media.duration)&&this.durationD.html(mejs.Utility.secondsToTimeCode(this.options.duration>0?this.options.duration:this.media.duration,this.options.alwaysShowHours,this.options.showTimecodeFrameCount,this.options.framesPerSecond||25))}})}(mejs.$),function(t){t.extend(mejs.MepDefaults,{muteText:mejs.i18n.t("Mute Toggle"),hideVolumeOnTouchDevices:!0,audioVolume:"horizontal",videoVolume:"vertical"}),t.extend(MediaElementPlayer.prototype,{buildvolume:function(e,i,n,s){if(!mejs.MediaFeatures.isAndroid&&!mejs.MediaFeatures.isiOS||!this.options.hideVolumeOnTouchDevices){var r=this,o=r.isVideo?r.options.videoVolume:r.options.audioVolume,a="horizontal"==o?t('<div class="mejs-button mejs-volume-button mejs-mute"><button type="button" aria-controls="'+r.id+'" title="'+r.options.muteText+'" aria-label="'+r.options.muteText+'"></button></div><div class="mejs-horizontal-volume-slider"><div class="mejs-horizontal-volume-total"></div><div class="mejs-horizontal-volume-current"></div><div class="mejs-horizontal-volume-handle"></div></div>').appendTo(i):t('<div class="mejs-button mejs-volume-button mejs-mute"><button type="button" aria-controls="'+r.id+'" title="'+r.options.muteText+'" aria-label="'+r.options.muteText+'"></button><div class="mejs-volume-slider"><div class="mejs-volume-total"></div><div class="mejs-volume-current"></div><div class="mejs-volume-handle"></div></div></div>').appendTo(i),l=r.container.find(".mejs-volume-slider, .mejs-horizontal-volume-slider"),u=r.container.find(".mejs-volume-total, .mejs-horizontal-volume-total"),c=r.container.find(".mejs-volume-current, .mejs-horizontal-volume-current"),h=r.container.find(".mejs-volume-handle, .mejs-horizontal-volume-handle"),d=function(t,e){if(l.is(":visible")||void 0!==e)if(t=Math.max(0,t),t=Math.min(t,1),0==t?a.removeClass("mejs-mute").addClass("mejs-unmute"):a.removeClass("mejs-unmute").addClass("mejs-mute"),"vertical"==o){var i=u.height(),n=u.position(),s=i-i*t;h.css("top",Math.round(n.top+s-h.height()/2)),c.height(i-s),c.css("top",n.top+s)}else i=u.width(),n=u.position(),i*=t,h.css("left",Math.round(n.left+i-h.width()/2)),c.width(Math.round(i));else l.show(),d(t,!0),l.hide()},p=function(t){var e=null,i=u.offset();if("vertical"==o){if(e=u.height(),parseInt(u.css("top").replace(/px/,""),10),e=(e-(t.pageY-i.top))/e,0==i.top||0==i.left)return}else e=u.width(),e=(t.pageX-i.left)/e;e=Math.max(0,e),e=Math.min(e,1),d(e),0==e?s.setMuted(!0):s.setMuted(!1),s.setVolume(e)},f=!1,m=!1;
38a.hover(function(){l.show(),m=!0},function(){m=!1,!f&&"vertical"==o&&l.hide()}),l.bind("mouseover",function(){m=!0}).bind("mousedown",function(t){return p(t),r.globalBind("mousemove.vol",function(t){p(t)}),r.globalBind("mouseup.vol",function(){f=!1,r.globalUnbind(".vol"),!m&&"vertical"==o&&l.hide()}),f=!0,!1}),a.find("button").click(function(){s.setMuted(!s.muted)}),s.addEventListener("volumechange",function(){f||(s.muted?(d(0),a.removeClass("mejs-mute").addClass("mejs-unmute")):(d(s.volume),a.removeClass("mejs-unmute").addClass("mejs-mute")))},!1),r.container.is(":visible")&&(d(e.options.startVolume),0===e.options.startVolume&&s.setMuted(!0),"native"===s.pluginType&&s.setVolume(e.options.startVolume))}}})}(mejs.$),function(t){t.extend(mejs.MepDefaults,{usePluginFullScreen:!0,newWindowCallback:function(){return""},fullscreenText:mejs.i18n.t("Fullscreen")}),t.extend(MediaElementPlayer.prototype,{isFullScreen:!1,isNativeFullScreen:!1,isInIframe:!1,buildfullscreen:function(e,i,n,s){if(e.isVideo){e.isInIframe=window.location!=window.parent.location,mejs.MediaFeatures.hasTrueNativeFullScreen&&(n=function(){e.isFullScreen&&(mejs.MediaFeatures.isFullScreen()?(e.isNativeFullScreen=!0,e.setControlsSize()):(e.isNativeFullScreen=!1,e.exitFullScreen()))},mejs.MediaFeatures.hasMozNativeFullScreen?e.globalBind(mejs.MediaFeatures.fullScreenEventName,n):e.container.bind(mejs.MediaFeatures.fullScreenEventName,n));var r=this,o=t('<div class="mejs-button mejs-fullscreen-button"><button type="button" aria-controls="'+r.id+'" title="'+r.options.fullscreenText+'" aria-label="'+r.options.fullscreenText+'"></button></div>').appendTo(i);if("native"===r.media.pluginType||!r.options.usePluginFullScreen&&!mejs.MediaFeatures.isFirefox)o.click(function(){mejs.MediaFeatures.hasTrueNativeFullScreen&&mejs.MediaFeatures.isFullScreen()||e.isFullScreen?e.exitFullScreen():e.enterFullScreen()});else{var a=null;if(function(){var t=document.createElement("x"),e=document.documentElement,i=window.getComputedStyle;return"pointerEvents"in t.style&&(t.style.pointerEvents="auto",t.style.pointerEvents="x",e.appendChild(t),i=i&&"auto"===i(t,"").pointerEvents,e.removeChild(t),!!i)}()&&!mejs.MediaFeatures.isOpera){var l=!1,u=function(){if(l){for(var t in c)c[t].hide();o.css("pointer-events",""),r.controls.css("pointer-events",""),r.media.removeEventListener("click",r.clickToPlayPauseCallback),l=!1}},c={};i=["top","left","right","bottom"];var h,d=function(){var t=o.offset().left-r.container.offset().left,e=o.offset().top-r.container.offset().top,i=o.outerWidth(!0),n=o.outerHeight(!0),s=r.container.width(),a=r.container.height();for(h in c)c[h].css({position:"absolute",top:0,left:0});c.top.width(s).height(e),c.left.width(t).height(n).css({top:e}),c.right.width(s-t-i).height(n).css({top:e,left:t+i}),c.bottom.width(s).height(a-n-e).css({top:e+n})};for(r.globalBind("resize",function(){d()}),h=0,n=i.length;h<n;h++)c[i[h]]=t('<div class="mejs-fullscreen-hover" />').appendTo(r.container).mouseover(u).hide();o.on("mouseover",function(){if(!r.isFullScreen){var t=o.offset(),i=e.container.offset();s.positionFullscreenButton(t.left-i.left,t.top-i.top,!1),o.css("pointer-events","none"),r.controls.css("pointer-events","none"),r.media.addEventListener("click",r.clickToPlayPauseCallback);for(h in c)c[h].show();d(),l=!0}}),s.addEventListener("fullscreenchange",function(){r.isFullScreen=!r.isFullScreen,r.isFullScreen?r.media.removeEventListener("click",r.clickToPlayPauseCallback):r.media.addEventListener("click",r.clickToPlayPauseCallback),u()}),r.globalBind("mousemove",function(t){if(l){var e=o.offset();(t.pageY<e.top||t.pageY>e.top+o.outerHeight(!0)||t.pageX<e.left||t.pageX>e.left+o.outerWidth(!0))&&(o.css("pointer-events",""),r.controls.css("pointer-events",""),l=!1)}})}else o.on("mouseover",function(){null!==a&&(clearTimeout(a),delete a);var t=o.offset(),i=e.container.offset();s.positionFullscreenButton(t.left-i.left,t.top-i.top,!0)}).on("mouseout",function(){null!==a&&(clearTimeout(a),delete a),a=setTimeout(function(){s.hideFullscreenButton()},1500)})}e.fullscreenBtn=o,r.globalBind("keydown",function(t){(mejs.MediaFeatures.hasTrueNativeFullScreen&&mejs.MediaFeatures.isFullScreen()||r.isFullScreen)&&27==t.keyCode&&e.exitFullScreen()})}},cleanfullscreen:function(t){t.exitFullScreen()},containerSizeTimeout:null,enterFullScreen:function(){var e=this;if("native"===e.media.pluginType||!mejs.MediaFeatures.isFirefox&&!e.options.usePluginFullScreen){if(t(document.documentElement).addClass("mejs-fullscreen"),normalHeight=e.container.height(),normalWidth=e.container.width(),"native"===e.media.pluginType)if(mejs.MediaFeatures.hasTrueNativeFullScreen)mejs.MediaFeatures.requestFullScreen(e.container[0]),e.isInIframe&&setTimeout(function i(){if(e.isNativeFullScreen){var n=(window.devicePixelRatio||1)*t(window).width(),s=screen.width;Math.abs(s-n)>.002*s?e.exitFullScreen():setTimeout(i,500)}},500);else if(mejs.MediaFeatures.hasSemiNativeFullScreen)return void e.media.webkitEnterFullscreen();if(e.isInIframe){var i=e.options.newWindowCallback(this);if(""!==i){if(!mejs.MediaFeatures.hasTrueNativeFullScreen)return e.pause(),void window.open(i,e.id,"top=0,left=0,width="+screen.availWi
38dth+",height="+screen.availHeight+",resizable=yes,scrollbars=no,status=no,toolbar=no");setTimeout(function(){e.isNativeFullScreen||(e.pause(),window.open(i,e.id,"top=0,left=0,width="+screen.availWidth+",height="+screen.availHeight+",resizable=yes,scrollbars=no,status=no,toolbar=no"))},250)}}e.container.addClass("mejs-container-fullscreen").width("100%").height("100%"),e.containerSizeTimeout=setTimeout(function(){e.container.css({width:"100%",height:"100%"}),e.setControlsSize()},500),"native"===e.media.pluginType?e.$media.width("100%").height("100%"):(e.container.find(".mejs-shim").width("100%").height("100%"),e.media.setVideoSize(t(window).width(),t(window).height())),e.layers.children("div").width("100%").height("100%"),e.fullscreenBtn&&e.fullscreenBtn.removeClass("mejs-fullscreen").addClass("mejs-unfullscreen"),e.setControlsSize(),e.isFullScreen=!0}},exitFullScreen:function(){clearTimeout(this.containerSizeTimeout),"native"!==this.media.pluginType&&mejs.MediaFeatures.isFirefox?this.media.setFullscreen(!1):(mejs.MediaFeatures.hasTrueNativeFullScreen&&(mejs.MediaFeatures.isFullScreen()||this.isFullScreen)&&mejs.MediaFeatures.cancelFullScreen(),t(document.documentElement).removeClass("mejs-fullscreen"),this.container.removeClass("mejs-container-fullscreen").width(normalWidth).height(normalHeight),"native"===this.media.pluginType?this.$media.width(normalWidth).height(normalHeight):(this.container.find(".mejs-shim").width(normalWidth).height(normalHeight),this.media.setVideoSize(normalWidth,normalHeight)),this.layers.children("div").width(normalWidth).height(normalHeight),this.fullscreenBtn.removeClass("mejs-unfullscreen").addClass("mejs-fullscreen"),this.setControlsSize(),this.isFullScreen=!1)}})}(mejs.$),function(t){t.extend(mejs.MepDefaults,{startLanguage:"",tracksText:mejs.i18n.t("Captions/Subtitles"),hideCaptionsButtonWhenEmpty:!0,toggleCaptionsButtonWhenOnlyOne:!1,slidesSelector:""}),t.extend(MediaElementPlayer.prototype,{hasChapters:!1,buildtracks:function(e,i,n,s){if(0!=e.tracks.length){var r;if(this.domNode.textTracks)for(r=this.domNode.textTracks.length-1;r>=0;r--)this.domNode.textTracks[r].mode="hidden";for(e.chapters=t('<div class="mejs-chapters mejs-layer"></div>').prependTo(n).hide(),e.captions=t('<div class="mejs-captions-layer mejs-layer"><div class="mejs-captions-position mejs-captions-position-hover"><span class="mejs-captions-text"></span></div></div>').prependTo(n).hide(),e.captionsText=e.captions.find(".mejs-captions-text"),e.captionsButton=t('<div class="mejs-button mejs-captions-button"><button type="button" aria-controls="'+this.id+'" title="'+this.options.tracksText+'" aria-label="'+this.options.tracksText+'"></button><div class="mejs-captions-selector"><ul><li><input type="radio" name="'+e.id+'_captions" id="'+e.id+'_captions_none" value="none" checked="checked" /><label for="'+e.id+'_captions_none">'+mejs.i18n.t("None")+"</label></li></ul></div></div>").appendTo(i),r=i=0;r<e.tracks.length;r++)"subtitles"==e.tracks[r].kind&&i++;for(this.options.toggleCaptionsButtonWhenOnlyOne&&1==i?e.captionsButton.on("click",function(){e.setTrack(null==e.selectedTrack?e.tracks[0].srclang:"none")}):e.captionsButton.hover(function(){t(this).find(".mejs-captions-selector").css("visibility","visible")},function(){t(this).find(".mejs-captions-selector").css("visibility","hidden")}).on("click","input[type=radio]",function(){lang=this.value,e.setTrack(lang)}),e.options.alwaysShowControls?e.container.find(".mejs-captions-position").addClass("mejs-captions-position-hover"):e.container.bind("controlsshown",function(){e.container.find(".mejs-captions-position").addClass("mejs-captions-position-hover")}).bind("controlshidden",function(){s.paused||e.container.find(".mejs-captions-position").removeClass("mejs-captions-position-hover")}),e.trackToLoad=-1,e.selectedTrack=null,e.isLoadingTrack=!1,r=0;r<e.tracks.length;r++)"subtitles"==e.tracks[r].kind&&e.addTrackButton(e.tracks[r].srclang,e.tracks[r].label);e.loadNextTrack(),s.addEventListener("timeupdate",function(){e.displayCaptions()},!1),""!=e.options.slidesSelector&&(e.slidesContainer=t(e.options.slidesSelector),s.addEventListener("timeupdate",function(){e.displaySlides()},!1)),s.addEventListener("loadedmetadata",function(){e.displayChapters()},!1),e.container.hover(function(){e.hasChapters&&(e.chapters.css("visibility","visible"),e.chapters.fadeIn(200).height(e.chapters.find(".mejs-chapter").outerHeight()))},function(){e.hasChapters&&!s.paused&&e.chapters.fadeOut(200,function(){t(this).css("visibility","hidden"),t(this).css("display","block")})}),null!==e.node.getAttribute("autoplay")&&e.chapters.css("visibility","hidden")}},setTrack:function(t){var e;if("none"==t)this.selectedTrack=null,this.captionsButton.removeClass("mejs-captions-enabled");else for(e=0;e<this.tracks.length;e++)if(this.tracks[e].srclang==t){null==this.selectedTrack&&this.captionsButton.addClass("mejs-captions-enabled"),this.selectedTrack=this.tracks[e],this.captions.attr("lang",this.selectedTrack.srclang),this.displayCaptions();break}},loadNextTrack:function(){this.trackToLoad++,this.trackToLoad<this.tracks.length?(this.isLoadingTrack=!0,this.loadTrack(this.trackToLoad)):(this.isLoadingTrack=!1,this.checkForTracks())},loadTrack:function(e){var i=this,n=i.tracks[e];t.ajax({url:n.src,dataType:"text",success:function(t){n.entries="string"==typeof t&&/<tt\s+xml/gi.exec(t)?mejs.TrackFormatParser.dfxp.parse(t):mejs.TrackFormatParser.webvvt.parse(t),n.isLoaded=!0,i.enableTrackButton(n.srclang,n.label),i.loadNextTrack(),"chapters"==n.kind&&i.media.addEventListener("play",function(){i.media.duration>0&&i.displayChapters(n)},!1),"slides"==n.kind&&i.setupSlides(n)},error:function(){i.loadNextTrack()}})},enableTrackButton:function(e,i){""===i&&(i=mejs.language.codes[e]||e),this.captionsButton.find("input[value="+e+"]").prop("disabled",!1).siblings("label").html(i),this.options.startLanguage==e&&t("#"+this.id+"_captions_"+e).click(),this.adjustLanguageBox()},addTrackButton:function(e,i){""===i&&(i=mejs.language.codes[e]||e),this.captionsButton.find("ul").append(t('<li><input type="radio" name="'+this.id+'_captions" id="'+this.id+"_captions_"+e+'" value="'+e+'" disabled="disabled" /><label for="'+this.id+"_captions_"+e+'">'+i+" (loading)</label></li>")),this.adjustLanguageBox(),this.container.find(".mejs-captions-translations option[value="+e+"]").remove()},adjustLanguageBox:function(){this.captionsButton.find(".mejs-captions-selector").height(this.captionsButton.find(".mejs-captions-selector ul").outerHeight(!0)+this.captionsButton.find(".mejs-captions-translations").outerHeight(!0))},checkForTracks:function(){var t=!1;if(this.options.hideCaptionsButtonWhenEmpty){for(i=0;i<this.tracks.length;i++)if("subtitles"==this.tracks[i].kind){t=!0;break}t||(this.captionsButton.hide(),this.setControlsSize())}},displayCaptions:function(){if(void 0!==this.tracks){var t,e=this.selectedTrack;if(null!=e&&e.isLoaded)for(t=0;t<e.entries.times.length;t++)if(this.media.currentTime>=e.entries.times[t].start&&this.media.currentTime<=e.entries.times[t].stop)return this.captionsText.html(e.entries.text[t]),void this.captions.show().height(0);this.captions.hide()}},setupSlides:function(t){this.slides=t,this.slides.entries.imgs=[this.slides.entries.text.length],this.showSlide(0)},showSlide:function(e){if(void 0!==this.tracks&&void 0!==this.slidesContainer){var i=this,n=i.slides.entries.text[e],s=i.slides.entries.imgs[e];
38void 0===s||void 0===s.fadeIn?i.slides.entries.imgs[e]=s=t('<img src="'+n+'">').on("load",function(){s.appendTo(i.slidesContainer).hide().fadeIn().siblings(":visible").fadeOut()}):!s.is(":visible")&&!s.is(":animated")&&s.fadeIn().siblings(":visible").fadeOut()}},displaySlides:function(){if(void 0!==this.slides){var t=this.slides,e;for(e=0;e<t.entries.times.length;e++)if(this.media.currentTime>=t.entries.times[e].start&&this.media.currentTime<=t.entries.times[e].stop){this.showSlide(e);break}}},displayChapters:function(){var t;for(t=0;t<this.tracks.length;t++)if("chapters"==this.tracks[t].kind&&this.tracks[t].isLoaded){this.drawChapters(this.tracks[t]),this.hasChapters=!0;break}},drawChapters:function(e){var i=this,n,s,r=s=0;for(i.chapters.empty(),n=0;n<e.entries.times.length;n++)s=e.entries.times[n].stop-e.entries.times[n].start,s=Math.floor(s/i.media.duration*100),(s+r>100||n==e.entries.times.length-1&&s+r<100)&&(s=100-r),i.chapters.append(t('<div class="mejs-chapter" rel="'+e.entries.times[n].start+'" style="left: '+r.toString()+"%;width: "+s.toString()+'%;"><div class="mejs-chapter-block'+(n==e.entries.times.length-1?" mejs-chapter-block-last":"")+'"><span class="ch-title">'+e.entries.text[n]+'</span><span class="ch-time">'+mejs.Utility.secondsToTimeCode(e.entries.times[n].start)+"&ndash;"+mejs.Utility.secondsToTimeCode(e.entries.times[n].stop)+"</span></div></div>")),r+=s;i.chapters.find("div.mejs-chapter").click(function(){i.media.setCurrentTime(parseFloat(t(this).attr("rel"))),i.media.paused&&i.media.play()}),i.chapters.show()}}),mejs.language={codes:{af:"Afrikaans",sq:"Albanian",ar:"Arabic",be:"Belarusian",bg:"Bulgarian",ca:"Catalan",zh:"Chinese","zh-cn":"Chinese Simplified","zh-tw":"Chinese Traditional",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch",en:"English",et:"Estonian",tl:"Filipino",fi:"Finnish",fr:"French",gl:"Galician",de:"German",el:"Greek",ht:"Haitian Creole",iw:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",ga:"Irish",it:"Italian",ja:"Japanese",ko:"Korean",lv:"Latvian",lt:"Lithuanian",mk:"Macedonian",ms:"Malay",mt:"Maltese",no:"Norwegian",fa:"Persian",pl:"Polish",pt:"Portuguese",ro:"Romanian",ru:"Russian",sr:"Serbian",sk:"Slovak",sl:"Slovenian",es:"Spanish",sw:"Swahili",sv:"Swedish",tl:"Tagalog",th:"Thai",tr:"Turkish",uk:"Ukrainian",vi:"Vietnamese",cy:"Welsh",yi:"Yiddish"}},mejs.TrackFormatParser={webvvt:{pattern_identifier:/^([a-zA-z]+-)?[0-9]+$/,pattern_timecode:/^([0-9]{2}:[0-9]{2}:[0-9]{2}([,.][0-9]{1,3})?) --\> ([0-9]{2}:[0-9]{2}:[0-9]{2}([,.][0-9]{3})?)(.*)$/,parse:function(e){var i=0;e=mejs.TrackFormatParser.split2(e,/\r?\n/);for(var n={text:[],times:[]},s,r;i<e.length;i++)if(this.pattern_identifier.exec(e[i])&&(i++,(s=this.pattern_timecode.exec(e[i]))&&i<e.length)){for(i++,r=e[i],i++;""!==e[i]&&i<e.length;)r=r+"\n"+e[i],i++;r=t.trim(r).replace(/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gi,"<a href='$1' target='_blank'>$1</a>"),n.text.push(r),n.times.push({start:0==mejs.Utility.convertSMPTEtoSeconds(s[1])?.2:mejs.Utility.convertSMPTEtoSeconds(s[1]),stop:mejs.Utility.convertSMPTEtoSeconds(s[3]),settings:s[5]})}return n}},dfxp:{parse:function(e){e=t(e).filter("tt");var i=0;i=e.children("div").eq(0);var n=i.find("p");i=e.find("#"+i.attr("style"));var s,r;if(e={text:[],times:[]},i.length&&(r=i.removeAttr("id").get(0).attributes,r.length))for(s={},i=0;i<r.length;i++)s[r[i].name.split(":")[1]]=r[i].value;for(i=0;i<n.length;i++){var o;if(r={start:null,stop:null,style:null},n.eq(i).attr("begin")&&(r.start=mejs.Utility.convertSMPTEtoSeconds(n.eq(i).attr("begin"))),!r.start&&n.eq(i-1).attr("end")&&(r.start=mejs.Utility.convertSMPTEtoSeconds(n.eq(i-1).attr("end"))),n.eq(i).attr("end")&&(r.stop=mejs.Utility.convertSMPTEtoSeconds(n.eq(i).attr("end"))),!r.stop&&n.eq(i+1).attr("begin")&&(r.stop=mejs.Utility.convertSMPTEtoSeconds(n.eq(i+1).attr("begin"))),s){o="";for(var a in s)o+=a+":"+s[a]+";"}o&&(r.style=o),0==r.start&&(r.start=.2),e.times.push(r),r=t.trim(n.eq(i).html()).replace(/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gi,"<a href='$1' target='_blank'>$1</a>
38"),e.text.push(r),0==e.times.start&&(e.times.start=2)}return e}},split2:function(t,e){return t.split(e)}},3!="x\n\ny".split(/\n/gi).length&&(mejs.TrackFormatParser.split2=function(t,e){var i=[],n="",s;for(s=0;s<t.length;s++)n+=t.substring(s,s+1),e.test(n)&&(i.push(n.replace(e,"")),n="");return i.push(n),i})}(mejs.$),function(t){t.extend(mejs.MepDefaults,{contextMenuItems:[{render:function(t){return void 0===t.enterFullScreen?null:t.isFullScreen?mejs.i18n.t("Turn off Fullscreen"):mejs.i18n.t("Go Fullscreen")},click:function(t){t.isFullScreen?t.exitFullScreen():t.enterFullScreen()}},{render:function(t){return t.media.muted?mejs.i18n.t("Unmute"):mejs.i18n.t("Mute")},click:function(t){t.media.muted?t.setMuted(!1):t.setMuted(!0)}},{isSeparator:!0},{render:function(){return mejs.i18n.t("Download Video")},click:function(t){window.location.href=t.media.currentSrc}}]}),t.extend(MediaElementPlayer.prototype,{buildcontextmenu:function(e){e.contextMenu=t('<div class="mejs-contextmenu"></div>').appendTo(t("body")).hide(),e.container.bind("contextmenu",function(t){if(e.isContextMenuEnabled)return t.preventDefault(),e.renderContextMenu(t.clientX-1,t.clientY-1),!1}),e.container.bind("click",function(){e.contextMenu.hide()}),e.contextMenu.bind("mouseleave",function(){e.startContextMenuTimer()})},cleancontextmenu:function(t){t.contextMenu.remove()},isContextMenuEnabled:!0,enableContextMenu:function(){this.isContextMenuEnabled=!0},disableContextMenu:function(){this.isContextMenuEnabled=!1},contextMenuTimeout:null,startContextMenuTimer:function(){var t=this;t.killContextMenuTimer(),t.contextMenuTimer=setTimeout(function(){t.hideContextMenu(),t.killContextMenuTimer()},750)},killContextMenuTimer:function(){var t=this.contextMenuTimer;null!=t&&(clearTimeout(t),delete t)},hideContextMenu:function(){this.contextMenu.hide()},renderContextMenu:function(e,i){for(var n=this,s="",r=n.options.contextMenuItems,o=0,a=r.length;o<a;o++)if(r[o].isSeparator)s+='<div class="mejs-contextmenu-separator"></div>';else{var l=r[o].render(n);null!=l&&(s+='<div class="mejs-contextmenu-item" data-itemindex="'+o+'" id="element-'+1e6*Math.random()+'">'+l+"</div>")}n.contextMenu.empty().append(t(s)).css({top:i,left:e}).show(),n.contextMenu.find(".mejs-contextmenu-item").each(function(){var e=t(this),i=parseInt(e.data("itemindex"),10),s=n.options.contextMenuItems[i];void 0!==s.show&&s.show(e,n),e.click(function(){void 0!==s.click&&s.click(n),n.contextMenu.hide()})}),setTimeout(function(){n.killControlsTimer("rev3")},100)}})}(mejs.$),function(t){t.extend(mejs.MepDefaults,{postrollCloseText:mejs.i18n.t("Close")}),t.extend(MediaElementPlayer.prototype,{buildpostroll:function(e,i,n){var s=this.container.find('link[rel="postroll"]').attr("href");void 0!==s&&(e.postroll=t('<div class="mejs-postroll-layer mejs-layer"><a class="mejs-postroll-close" onclick="$(this).parent().hide();return false;">'+this.options.postrollCloseText+'</a><div class="mejs-postroll-layer-content"></div></div>').prependTo(n).hide(),this.media.addEventListener("ended",function(){t.ajax({dataType:"html",url:s,success:function(t){n.find(".mejs-postroll-layer-content").html(t)}}),e.postroll.show()},!1))}})}(mejs.$),function(t,e,i){var n=function(n){function s(t){var e,i,r={};n.each(t,function(n){(e=n.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(e[1]+" ")&&(i=n.replace(e[0],e[2].toLowerCase()),r[i]=n,"o"===e[1]&&s(t[n]))}),t._hungarianMap=r}function r(t,e,o){t._hungarianMap||s(t);var a;n.each(e,function(s){(a=t._hungarianMap[s])===i||!o&&e[a]!==i||("o"===a.charAt(0)?(e[a]||(e[a]={}),n.extend(!0,e[a],e[s]),r(t[a],e[a],o)):e[a]=e[s])})}function o(t){var e=Vt.defaults.oLanguage,i=t.sZeroRecords;!t.sEmptyTable&&i&&"No data available in table"===e.sEmptyTable&&Rt(t,t,"sZeroRecords","sEmptyTable"),!t.sLoadingRecords&&i&&"Loading..."===e.sLoadingRecords&&Rt(t,t,"sZeroRecords","sLoadingRecords"),t.sInfoThousands&&(t.sThousands=t.sInfoThousands),(t=t.sDecimal)&&qt(t)}function a(t){if(fe(t,"ordering","bSort"),fe(t,"orderMulti","bSortMulti"),fe(t,"orderClasses","bSortClasses"),fe(t,"orderCellsTop","bSortCellsTop"),fe(t,"order","aaSorting"),fe(t,"orderFixed","aaSortingFixed"),fe(t,"paging","bPaginate"),fe(t,"pagingType","sPaginationType"),fe(t,"pageLength","iDisplayLength"),fe(t,"searching","bFilter"),t=t.aoSearchCols)for(var e=0,i=t.length;e<i;e++)t[e]&&r(Vt.models.oSearch,t[e])}function l(t){fe(t,"orderable","bSortable"),fe(t,"orderData","aDataSort"),fe(t,"orderSequence","asSorting"),fe(t,"orderDataType","sortDataType")}function u(t){var t=t.oBrowser,e=n("<div/>").css({position:"absolute",top:0,left:0,height:1,width:1,overflow:"hidden"}).append(n("<div/>").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(n('<div class="test"/>').css({width:"100%",height:10}))).appendTo("body"),i=e.find(".test");t.bScrollOversize=100===i[0].offsetWidth,t.bScrollbarLeft=1!==i.offset().left,e.remove()}function c(t,e,n,s,r,o){var a,l=!1;for(n!==i&&(a=n,l=!0);s!==r;)t.hasOwnProperty(s)&&(a=l?e(a,t[s],s,t):t[s],l=!0,s+=o);return a}function h(t,i){var s=Vt.defaults.column,r=t.aoColumns.length,s=n.extend({},Vt.models.oColumn,s,{nTh:i||e.createElement("th"),sTitle:s.sTitle?s.sTitle:i?i.innerHTML:"",aDataSort:s.aDataSort?s.aDataSort:[r],mData:s.mData?s.mData:r,idx:r});t.aoColumns.push(s),s=t.aoPreSearchCols,s[r]=n.extend({},Vt.models.oSearch,s[r]),d(t,r,null)}
38function d(t,e,s){var e=t.aoColumns[e],o=t.oClasses,a=n(e.nTh);if(!e.sWidthOrig){e.sWidthOrig=a.attr("width")||null;var u=(a.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);u&&(e.sWidthOrig=u[1])}s!==i&&null!==s&&(l(s),r(Vt.defaults.column,s),s.mDataProp!==i&&!s.mData&&(s.mData=s.mDataProp),s.sType&&(e._sManualType=s.sType),s.className&&!s.sClass&&(s.sClass=s.className),n.extend(e,s),Rt(e,s,"sWidth","sWidthOrig"),"number"==typeof s.iDataSort&&(e.aDataSort=[s.iDataSort]),Rt(e,s,"aDataSort"));var c=e.mData,h=T(c),d=e.mRender?T(e.mRender):null,s=function(t){return"string"==typeof t&&-1!==t.indexOf("@")};e._bAttrSrc=n.isPlainObject(c)&&(s(c.sort)||s(c.type)||s(c.filter)),e.fnGetData=function(t,e,n){var s=h(t,e,i,n);return d&&e?d(s,e,t,n):s},e.fnSetData=function(t,e,i){return C(c)(t,e,i)},"number"!=typeof c&&(t._rowReadObject=!0),t.oFeatures.bSort||(e.bSortable=!1,a.addClass(o.sSortableNone)),t=-1!==n.inArray("asc",e.asSorting),s=-1!==n.inArray("desc",e.asSorting),e.bSortable&&(t||s)?t&&!s?(e.sSortingClass=o.sSortableAsc,e.sSortingClassJUI=o.sSortJUIAscAllowed):!t&&s?(e.sSortingClass=o.sSortableDesc,e.sSortingClassJUI=o.sSortJUIDescAllowed):(e.sSortingClass=o.sSortable,e.sSortingClassJUI=o.sSortJUI):(e.sSortingClass=o.sSortableNone,e.sSortingClassJUI="")}function p(t){if(!1!==t.oFeatures.bAutoWidth){var e=t.aoColumns;gt(t);for(var i=0,n=e.length;i<n;i++)e[i].nTh.style.width=e[i].sWidth}e=t.oScroll,(""!==e.sY||""!==e.sX)&&ft(t),zt(t,null,"column-sizing",[t])}function f(t,e){var i=g(t,"bVisible");return"number"==typeof i[e]?i[e]:null}function $(t,e){var i=g(t,"bVisible"),i=n.inArray(e,i);return-1!==i?i:null}function m(t){return g(t,"bVisible").length}function g(t,e){var i=[];return n.map(t.aoColumns,function(t,n){t[e]&&i.push(n)}),i}function v(t){var e=t.aoColumns,n=t.aoData,s=Vt.ext.type.detect,r,o,a,l,u,c,h,d,p;for(r=0,o=e.length;r<o;r++)if(h=e[r],p=[],!h.sType&&h._sManualType)h.sType=h._sManualType;else if(!h.sType){for(a=0,l=s.length;a<l;a++){for(u=0,c=n.length;u<c&&(p[u]===i&&(p[u]=w(t,u,r,"type")),(d=s[a](p[u],t))||a===s.length-1)&&"html"!==d;u++);if(d){h.sType=d;break}}h.sType||(h.sType="string")}}function _(t,e,s,r){var o,a,l,u,c,d,p=t.aoColumns;if(e)for(o=e.length-1;0<=o;o--){d=e[o];var f=d.targets!==i?d.targets:d.aTargets;for(n.isArray(f)||(f=[f]),a=0,l=f.length;a<l;a++)if("number"==typeof f[a]&&0<=f[a]){for(;p.length<=f[a];)h(t);r(f[a],d)}else if("number"==typeof f[a]&&0>f[a])r(p.length+f[a],d);else if("string"==typeof f[a])for(u=0,c=p.length;u<c;u++)("_all"==f[a]||n(p[u].nTh).hasClass(f[a]))&&r(u,d)}if(s)for(o=0,t=s.length;o<t;o++)r(o,s[o])}function y(t,e,i,s){var r=t.aoData.length,o=n.extend(!0,{},Vt.models.oRow,{src:i?"dom":"data"});o._aData=e,t.aoData.push(o);for(var e=t.aoColumns,o=0,a=e.length;o<a;o++)i&&x(t,r,o,w(t,r,o)),e[o].sType=null;return t.aiDisplayMaster.push(r),(i||!t.oFeatures.bDeferRender)&&E(t,r,i,s),r}function b(t,e){var i;return e instanceof n||(e=n(e)),e.map(function(e,n){return i=I(t,n),y(t,i.data,n,i.cells)})}function w(t,e,n,s){var r=t.iDraw,o=t.aoColumns[n],a=t.aoData[e]._aData,l=o.sDefaultContent,n=o.fnGetData(a,s,{settings:t,row:e,col:n});if(n===i)return t.iDrawError!=r&&null===l&&(Lt(t,0,"Requested unknown parameter "+("function"==typeof o.mData?"{function}":"'"+o.mData+"'")+" for row "+e,4),t.iDrawError=r),l;if(n!==a&&null!==n||null===l){if("function"==typeof n)return n.call(a)}else n=l;return null===n&&"display"==s?"":n}function x(t,e,i,n){t.aoColumns[i].fnSetData(t.aoData[e]._aData,n,{settings:t,row:e,col:i})}function S(t){return n.map(t.match(/(\\.|[^\.])+/g),function(t){return t.replace(/\\./g,".")})}function T(t){if(n.isPlainObject(t)){var e={};return n.each(t,function(t,i){i&&(e[t]=T(i))}),function(t,n,s,r){var o=e[n]||e._;return o!==i?o(t,n,s,r):t}}if(null===t)return function(t){return t};if("function"==typeof t)return function(e,i,n,s){return t(e,i,n,s)};if("string"==typeof t&&(-1!==t.indexOf(".")||-1!==t.indexOf("[")||-1!==t.indexOf("("))){var s=function(t,e,n){var r,o;if(""!==n){o=S(n);for(var a=0,l=o.length;a<l;a++){if(n=o[a].match(me),r=o[a].match(ge),n){for(o[a]=o[a].replace(me,""),""!==o[a]&&(t=t[o[a]]),r=[],o.splice(0,a+1),o=o.join("."),a=0,l=t.length;a<l;a++)r.push(s(t[a],e,o));t=n[0].substring(1,n[0].length-1),t=""===t?r:r.join(t);break}if(r)o[a]=o[a].replace(ge,""),t=t[o[a]]();else{if(null===t||t[o[a]]===i)return i;t=t[o[a]]}}}return t};return function(e,i){return s(e,i,t)}}return function(e){return e[t]}}function C(t){if(n.isPlainObject(t))return C(t._);if(null===t)return function(){};if("function"==typeof t)return function(e,i,n){t(e,"set",i,n)};if("string"==typeof t&&(-1!==t.indexOf(".")||-1!==t.indexOf("[")||-1!==t.indexOf("("))){var e=function(t,n,s){var s=S(s),r;r=s[s.length-1];for(var o,a,l=0,u=s.length-1;l<u;l++){if(o=s[l].match(me),a=s[l].match(ge),o){for(s[l]=s[l].replace(me,""),t[s[l]]=[],r=s.slice(),r.splice(0,l+1),o=r.join("."),a=0,u=n.length;a<u;a++)r={},e(r,n[a],o),t[s[l]].push(r);return}a&&(s[l]=s[l].replace(ge,""),t=t[s[l]](n)),null!==t[s[l]]&&t[s[l]]!==i||(t[s[l]]={}),t=t[s[l]]}r.match(ge)?t[r.replace(ge,"")](n):t[r.replace(me,"")]=n};return function(i,n){return e(i,n,t)}}return function(e,i){e[t]=i}}function k(t){return ue(t.aoData,"_aData")}function P(t){t.aoData.length=0,t.aiDisplayMaster.length=0,t.aiDisplay.length=0}function D(t,e,n){for(var s=-1,r=0,o=t.length;r<o;r++)t[r]==e?s=r:t[r]>e&&t[r]--;-1!=s&&n===i&&t.splice(s,1)}function j(t,e,n,s){var r=t.aoData[e],o,a=function(i,n){for(;i.childNodes.length;)i.removeChild(i.firstChild);i.innerHTML=w(t,e,n,"display")};if("dom"!==n&&(n&&"auto"!==n||"dom"!==r.src)){var l=r.anCells;if(l)if(s!==i)a(l[s],s);else for(n=0,o=l.length;n<o;n++)a(l[n],n)}else r._aData=I(t,r,s,s===i?i:r._aData).data;if(r._aSortData=null,r._aFilterData=null,a=t.aoColumns,s!==i)a[s].sType=null;else{for(n=0,o=a.length;n<o;n++)a[n].sType=null;A(r)}}function I(t,e,s,r){var o=[],a=e.firstChild,l,u=0,c,h=t.aoColumns,d=t._rowReadObject,r=r||d?{}:[],p=function(t,e){if("string"==typeof t){var i=t.indexOf("@");-1!==i&&(i=t.substring(i+1),C(t)(r,e.getAttribute(i)))}},t=function(t){s!==i&&s!==u||(l=h[u],c=n.trim(t.innerHTML),l&&l._bAttrSrc?(C(l.mData._)(r,c),p(l.mData.sort,t),p(l.mData.type,t),p(l.mData.filter,t)):d?(l._setter||(l._setter=C(l.mData)),l._setter(r,c)):r[u]=c),u++};if(a)for(;a;)e=a.nodeName.toUpperCase(),"TD"!=e&&"TH"!=e||(t(a),o.push(a)),a=a.nextSibling;else for(o=e.anCells,a=0,e=o.length;a<e;a++)t(o[a]);return{data:r,cells:o}}function E(t,i,n,s){var r=t.aoData[i],o=r._aData,a=[],l,u,c,h,d;
38if(null===r.nTr){for(l=n||e.createElement("tr"),r.nTr=l,r.anCells=a,l._DT_RowIndex=i,A(r),h=0,d=t.aoColumns.length;h<d;h++)c=t.aoColumns[h],u=n?s[h]:e.createElement(c.sCellType),a.push(u),n&&!c.mRender&&c.mData===h||(u.innerHTML=w(t,i,h,"display")),c.sClass&&(u.className+=" "+c.sClass),c.bVisible&&!n?l.appendChild(u):!c.bVisible&&n&&u.parentNode.removeChild(u),c.fnCreatedCell&&c.fnCreatedCell.call(t.oInstance,u,w(t,i,h),o,i,h);zt(t,"aoRowCreatedCallback",null,[l,o,i])}
39r.nTr.setAttribute("role","row")}function A(t){var e=t.nTr,i=t._aData;if(e){if(i.DT_RowId&&(e.id=i.DT_RowId),i.DT_RowClass){var s=i.DT_RowClass.split(" ");t.__rowc=t.__rowc?pe(t.__rowc.concat(s)):s,n(e).removeClass(t.__rowc.join(" ")).addClass(i.DT_RowClass)}i.DT_RowData&&n(e).data(i.DT_RowData)}}function M(t){var e,i,s,r,o,a=t.nTHead,l=t.nTFoot,u=0===n("th, td",a).length,c=t.oClasses,h=t.aoColumns;for(u&&(r=n("<tr/>").appendTo(a)),e=0,i=h.length;e<i;e++)o=h[e],s=n(o.nTh).addClass(o.sClass),u&&s.appendTo(r),t.oFeatures.bSort&&(s.addClass(o.sSortingClass),!1!==o.bSortable&&(s.attr("tabindex",t.iTabIndex).attr("aria-controls",t.sTableId),Dt(t,o.nTh,e))),o.sTitle!=s.html()&&s.html(o.sTitle),Ht(t,"header")(t,s,o,c);if(u&&O(t.aoHeader,a),n(a).find(">tr").attr("role","row"),n(a).find(">tr>th, >tr>td").addClass(c.sHeaderTH),n(l).find(">tr>th, >tr>td").addClass(c.sFooterTH),null!==l)for(t=t.aoFooter[0],e=0,i=t.length;e<i;e++)o=h[e],o.nTf=t[e].cell,o.sClass&&n(o.nTf).addClass(o.sClass)}function L(t,e,s){var r,o,a,l=[],u=[],c=t.aoColumns.length,h;if(e){for(s===i&&(s=!1),r=0,o=e.length;r<o;r++){for(l[r]=e[r].slice(),l[r].nTr=e[r].nTr,a=c-1;0<=a;a--)!t.aoColumns[a].bVisible&&!s&&l[r].splice(a,1);u.push([])}for(r=0,o=l.length;r<o;r++){if(t=l[r].nTr)for(;a=t.firstChild;)t.removeChild(a);for(a=0,e=l[r].length;a<e;a++)if(h=c=1,u[r][a]===i){for(t.appendChild(l[r][a].cell),u[r][a]=1;l[r+c]!==i&&l[r][a].cell==l[r+c][a].cell;)u[r+c][a]=1,c++;for(;l[r][a+h]!==i&&l[r][a].cell==l[r][a+h].cell;){for(s=0;s<c;s++)u[r+s][a+h]=1;h++}n(l[r][a].cell).attr("rowspan",c).attr("colspan",h)}}}}function R(t){var e=zt(t,"aoPreDrawCallback","preDraw",[t]);if(-1!==n.inArray(!1,e))dt(t,!1);else{var e=[],s=0,r=t.asStripeClasses,o=r.length,a=t.oLanguage,l=t.iInitDisplayStart,u="ssp"==Bt(t),c=t.aiDisplay;t.bDrawing=!0,l!==i&&-1!==l&&(t._iDisplayStart=u?l:l>=t.fnRecordsDisplay()?0:l,t.iInitDisplayStart=-1);var l=t._iDisplayStart,h=t.fnDisplayEnd();if(t.bDeferLoading)t.bDeferLoading=!1,t.iDraw++,dt(t,!1);else if(u){if(!t.bDestroying&&!B(t))return}else t.iDraw++;if(0!==c.length)for(a=u?t.aoData.length:h,u=u?0:l;u<a;u++){var d=c[u],p=t.aoData[d];if(null===p.nTr&&E(t,d),d=p.nTr,0!==o){var f=r[s%o];p._sRowStripe!=f&&(n(d).removeClass(p._sRowStripe).addClass(f),p._sRowStripe=f)}zt(t,"aoRowCallback",null,[d,p._aData,s,u]),e.push(d),s++}else s=a.sZeroRecords,1==t.iDraw&&"ajax"==Bt(t)?s=a.sLoadingRecords:a.sEmptyTable&&0===t.fnRecordsTotal()&&(s=a.sEmptyTable),e[0]=n("<tr/>",{class:o?r[0]:""}).append(n("<td />",{valign:"top",colSpan:m(t),class:t.oClasses.sRowEmpty}).html(s))[0];zt(t,"aoHeaderCallback","header",[n(t.nTHead).children("tr")[0],k(t),l,h,c]),zt(t,"aoFooterCallback","footer",[n(t.nTFoot).children("tr")[0],k(t),l,h,c]),r=n(t.nTBody),r.children().detach(),r.append(n(e)),zt(t,"aoDrawCallback","draw",[t]),t.bSorted=!1,t.bFiltered=!1,t.bDrawing=!1}}function F(t,e){var i=t.oFeatures,n=i.bFilter;i.bSort&&Ct(t),n?X(t,t.oPreviousSearch):t.aiDisplay=t.aiDisplayMaster.slice(),!0!==e&&(t._iDisplayStart=0),t._drawHold=e,R(t),t._drawHold=!1}function N(t){var e=t.oClasses,i=n(t.nTable),i=n("<div/>").insertBefore(i),s=t.oFeatures,r=n("<div/>",{id:t.sTableId+"_wrapper",class:e.sWrapper+(t.nTFoot?"":" "+e.sNoFooter)});t.nHolding=i[0],t.nTableWrapper=r[0],t.nTableReinsertBefore=t.nTable.nextSibling;for(var o=t.sDom.split(""),a,l,u,c,h,d,p=0;p<o.length;p++){if(a=null,"<"==(l=o[p])){if(u=n("<div/>")[0],"'"==(c=o[p+1])||'"'==c){for(h="",d=2;o[p+d]!=c;)h+=o[p+d],d++;"H"==h?h=e.sJUIHeader:"F"==h&&(h=e.sJUIFooter),-1!=h.indexOf(".")?(c=h.split("."),u.id=c[0].substr(1,c[0].length-1),u.className=c[1]):"#"==h.charAt(0)?u.id=h.substr(1,h.length-1):u.className=h,p+=d}r.append(u),r=n(u)}else if(">"==l)r=r.parent();else if("l"==l&&s.bPaginate&&s.bLengthChange)a=lt(t);else if("f"==l&&s.bFilter)a=V(t);else if("r"==l&&s.bProcessing)a=ht(t);else if("t"==l)a=pt(t);else if("i"==l&&s.bInfo)a=it(t);else if("p"==l&&s.bPaginate)a=ut(t);else if(0!==Vt.ext.feature.length)for(u=Vt.ext.feature,d=0,c=u.length;d<c;d++)if(l==u[d].cFeature){a=u[d].fnInit(t);break}a&&(u=t.aanFeatures,u[l]||(u[l]=[]),u[l].push(a),r.append(a))}i.replaceWith(r)}function O(t,e){var i=n(e).children("tr"),s,r,o,a,l,u,c,h,d,p;for(t.splice(0,t.length),o=0,u=i.length;o<u;o++)t.push([]);for(o=0,u=i.length;o<u;o++)for(s=i[o],r=s.firstChild;r;){if("TD"==r.nodeName.toUpperCase()||"TH"==r.nodeName.toUpperCase()){for(h=1*r.getAttribute("colspan"),d=1*r.getAttribute("rowspan"),h=h&&0!==h&&1!==h?h:1,d=d&&0!==d&&1!==d?d:1,a=0,l=t[o];l[a];)a++;for(c=a,p=1===h,l=0;l<h;l++)for(a=0;a<d;a++)t[o+a][c+l]={cell:r,unique:p},t[o+a].nTr=s}r=r.nextSibling}}function z(t,e,i){var n=[];i||(i=t.aoHeader,e&&(i=[],O(i,e)));for(var e=0,s=i.length;e<s;e++)for(var r=0,o=i[e].length;r<o;r++)!i[e][r].unique||n[r]&&t.bSortCellsTop||(n[r]=i[e][r].cell);return n}
39function H(t,e,i){if(zt(t,"aoServerParams","serverParams",[e]),e&&n.isArray(e)){var s={},r=/(.*?)\[\]$/;n.each(e,function(t,e){var i=e.name.match(r);i?(i=i[0],s[i]||(s[i]=[]),s[i].push(e.value)):s[e.name]=e.value}),e=s}var o,a=t.ajax,l=t.oInstance;if(n.isPlainObject(a)&&a.data){o=a.data;var u=n.isFunction(o)?o(e):o,e=n.isFunction(o)&&u?u:n.extend(!0,e,u);delete a.data}u={data:e,success:function(e){var n=e.error||e.sError;n&&t.oApi._fnLog(t,0,n),t.json=e,zt(t,null,"xhr",[t,e]),i(e)},dataType:"json",cache:!1,type:t.sServerMethod,error:function(e,i){var n=t.oApi._fnLog;"parsererror"==i?n(t,0,"Invalid JSON response",1):4===e.readyState&&n(t,0,"Ajax error",7),dt(t,!1)}},t.oAjaxData=e,zt(t,null,"preXhr",[t,e]),t.fnServerData?t.fnServerData.call(l,t.sAjaxSource,n.map(e,function(t,e){return{name:e,value:t}}),i,t):t.sAjaxSource||"string"==typeof a?t.jqXHR=n.ajax(n.extend(u,{url:a||t.sAjaxSource})):n.isFunction(a)?t.jqXHR=a.call(l,e,i,t):(t.jqXHR=n.ajax(n.extend(u,a)),a.data=o)}function B(t){return!t.bAjaxDataGet||(t.iDraw++,dt(t,!0),H(t,W(t),function(e){q(t,e)}),!1)}function W(t){var e=t.aoColumns,i=e.length,s=t.oFeatures,r=t.oPreviousSearch,o=t.aoPreSearchCols,a,l=[],u,c,h,d=Tt(t);a=t._iDisplayStart,u=!1!==s.bPaginate?t._iDisplayLength:-1;var p=function(t,e){l.push({name:t,value:e})};p("sEcho",t.iDraw),p("iColumns",i),p("sColumns",ue(e,"sName").join(",")),p("iDisplayStart",a),p("iDisplayLength",u);var f={draw:t.iDraw,columns:[],order:[],start:a,length:u,search:{value:r.sSearch,regex:r.bRegex}};for(a=0;a<i;a++)c=e[a],h=o[a],u="function"==typeof c.mData?"function":c.mData,f.columns.push({data:u,name:c.sName,searchable:c.bSearchable,orderable:c.bSortable,search:{value:h.sSearch,regex:h.bRegex}}),p("mDataProp_"+a,u),s.bFilter&&(p("sSearch_"+a,h.sSearch),p("bRegex_"+a,h.bRegex),p("bSearchable_"+a,c.bSearchable)),s.bSort&&p("bSortable_"+a,c.bSortable);return s.bFilter&&(p("sSearch",r.sSearch),p("bRegex",r.bRegex)),s.bSort&&(n.each(d,function(t,e){f.order.push({column:e.col,dir:e.dir}),p("iSortCol_"+t,e.col),p("sSortDir_"+t,e.dir)}),p("iSortingCols",d.length)),e=Vt.ext.legacy.ajax,null===e?t.sAjaxSource?l:f:e?l:f}function q(t,e){var n=e.sEcho!==i?e.sEcho:e.draw,s=e.iTotalRecords!==i?e.iTotalRecords:e.recordsTotal,r=e.iTotalDisplayRecords!==i?e.iTotalDisplayRecords:e.recordsFiltered;if(n){if(1*n<t.iDraw)return;t.iDraw=1*n}for(P(t),t._iRecordsTotal=parseInt(s,10),t._iRecordsDisplay=parseInt(r,10),n=U(t,e),s=0,r=n.length;s<r;s++)y(t,n[s]);t.aiDisplay=t.aiDisplayMaster.slice(),t.bAjaxDataGet=!1,R(t),t._bInitComplete||ot(t,e),t.bAjaxDataGet=!0,dt(t,!1)}function U(t,e){var s=n.isPlainObject(t.ajax)&&t.ajax.dataSrc!==i?t.ajax.dataSrc:t.sAjaxDataProp;return"data"===s?e.aaData||e[s]:""!==s?T(s)(e):e}function V(t){var i=t.oClasses,s=t.sTableId,r=t.oLanguage,o=t.oPreviousSearch,a=t.aanFeatures,l='<input type="search" class="'+i.sFilterInput+'"/>',u=r.sSearch,u=u.match(/_INPUT_/)?u.replace("_INPUT_",l):u+l,i=n("<div/>",{id:a.f?null:s+"_filter",class:i.sFilter}).append(n("<label/>").append(u)),a=function(){var e=this.value?this.value:"";e!=o.sSearch&&(X(t,{sSearch:e,bRegex:o.bRegex,bSmart:o.bSmart,bCaseInsensitive:o.bCaseInsensitive}),t._iDisplayStart=0,R(t))},l=null!==t.searchDelay?t.searchDelay:"ssp"===Bt(t)?400:0,c=n("input",i).val(o.sSearch).attr("placeholder",r.sSearchPlaceholder).bind("keyup.DT search.DT input.DT paste.DT cut.DT",l?vt(a,l):a).bind("keypress.DT",function(t){if(13==t.keyCode)return!1}).attr("aria-controls",s);return n(t.nTable).on("search.dt.DT",function(i,n){if(t===n)try{c[0]!==e.activeElement&&c.val(o.sSearch)}catch(t){}}),i[0]}function X(t,e,n){var s=t.oPreviousSearch,r=t.aoPreSearchCols,o=function(t){s.sSearch=t.sSearch,s.bRegex=t.bRegex,s.bSmart=t.bSmart,s.bCaseInsensitive=t.bCaseInsensitive};if(v(t),"ssp"!=Bt(t)){for(G(t,e.sSearch,n,e.bEscapeRegex!==i?!e.bEscapeRegex:e.bRegex,e.bSmart,e.bCaseInsensitive),o(e),e=0;e<r.length;e++)Q(t,r[e].sSearch,e,r[e].bEscapeRegex!==i?!r[e].bEscapeRegex:r[e].bRegex,r[e].bSmart,r[e].bCaseInsensitive);Y(t)}else o(e);t.bFiltered=!0,zt(t,null,"search",[t])}function Y(t){for(var e=Vt.ext.search,i=t.aiDisplay,n,s,r=0,o=e.length;r<o;r++){for(var a=[],l=0,u=i.length;l<u;l++)s=i[l],n=t.aoData[s],e[r](t,n._aFilterData,s,n._aData,l)&&a.push(s);i.length=0,i.push.apply(i,a)}}function Q(t,e,i,n,s,r){if(""!==e)for(var o=t.aiDisplay,n=J(e,n,s,r),s=o.length-1;0<=s;s--)e=t.aoData[o[s]]._aFilterData[i],n.test(e)||o.splice(s,1)}function G(t,e,i,n,s,r){var n=J(e,n,s,r),s=t.oPreviousSearch.sSearch,r=t.aiDisplayMaster,o;
39if(0!==Vt.ext.search.length&&(i=!0),o=K(t),0>=e.length)t.aiDisplay=r.slice();else for((o||i||s.length>e.length||0!==e.indexOf(s)||t.bSorted)&&(t.aiDisplay=r.slice()),e=t.aiDisplay,i=e.length-1;0<=i;i--)n.test(t.aoData[e[i]]._sFilterRow)||e.splice(i,1)}function J(t,e,i,s){return t=e?t:Z(t),i&&(t="^(?=.*?"+n.map(t.match(/"[^"]+"|[^ ]+/g)||"",function(t){if('"'===t.charAt(0))var e=t.match(/^"(.*)"$/),t=e?e[1]:t;return t.replace('"',"")}).join(")(?=.*?")+").*$"),RegExp(t,s?"i":"")}function Z(t){return t.replace(ie,"\\$1")}function K(t){var e=t.aoColumns,i,n,s,r,o,a,l,u,c=Vt.ext.type.search;for(i=!1,n=0,r=t.aoData.length;n<r;n++)if(u=t.aoData[n],!u._aFilterData){for(a=[],s=0,o=e.length;s<o;s++)i=e[s],i.bSearchable?(l=w(t,n,s,"filter"),c[i.sType]&&(l=c[i.sType](l)),null===l&&(l=""),"string"!=typeof l&&l.toString&&(l=l.toString())):l="",l.indexOf&&-1!==l.indexOf("&")&&(ve.innerHTML=l,l=_e?ve.textContent:ve.innerText),l.replace&&(l=l.replace(/[\r\n]/g,"")),a.push(l);u._aFilterData=a,u._sFilterRow=a.join("  "),i=!0}return i}function tt(t){return{search:t.sSearch,smart:t.bSmart,regex:t.bRegex,caseInsensitive:t.bCaseInsensitive}}function et(t){return{sSearch:t.search,bSmart:t.smart,bRegex:t.regex,bCaseInsensitive:t.caseInsensitive}}function it(t){var e=t.sTableId,i=t.aanFeatures.i,s=n("<div/>",{class:t.oClasses.sInfo,id:i?null:e+"_info"});return i||(t.aoDrawCallback.push({fn:nt,sName:"information"}),s.attr("role","status").attr("aria-live","polite"),n(t.nTable).attr("aria-describedby",e+"_info")),s[0]}function nt(t){var e=t.aanFeatures.i;if(0!==e.length){var i=t.oLanguage,s=t._iDisplayStart+1,r=t.fnDisplayEnd(),o=t.fnRecordsTotal(),a=t.fnRecordsDisplay(),l=a?i.sInfo:i.sInfoEmpty;a!==o&&(l+=" "+i.sInfoFiltered),l+=i.sInfoPostFix,l=st(t,l),i=i.fnInfoCallback,null!==i&&(l=i.call(t.oInstance,t,s,r,o,a,l)),n(e).html(l)}}function st(t,e){var i=t.fnFormatNumber,n=t._iDisplayStart+1,s=t._iDisplayLength,r=t.fnRecordsDisplay(),o=-1===s;return e.replace(/_START_/g,i.call(t,n)).replace(/_END_/g,i.call(t,t.fnDisplayEnd())).replace(/_MAX_/g,i.call(t,t.fnRecordsTotal())).replace(/_TOTAL_/g,i.call(t,r)).replace(/_PAGE_/g,i.call(t,o?1:Math.ceil(n/s))).replace(/_PAGES_/g,i.call(t,o?1:Math.ceil(r/s)))}function rt(t){var e,i,n=t.iInitDisplayStart,s=t.aoColumns,r;if(i=t.oFeatures,t.bInitialised){for(N(t),M(t),L(t,t.aoHeader),L(t,t.aoFooter),dt(t,!0),i.bAutoWidth&&gt(t),e=0,i=s.length;e<i;e++)r=s[e],r.sWidth&&(r.nTh.style.width=xt(r.sWidth));F(t),s=Bt(t),"ssp"!=s&&("ajax"==s?H(t,[],function(i){var s=U(t,i);for(e=0;e<s.length;e++)y(t,s[e]);t.iInitDisplayStart=n,F(t),dt(t,!1),ot(t,i)},t):(dt(t,!1),ot(t)))}else setTimeout(function(){rt(t)},200)}function ot(t,e){t._bInitComplete=!0,e&&p(t),zt(t,"aoInitComplete","init",[t,e])}function at(t,e){var i=parseInt(e,10);t._iDisplayLength=i,$t(t),zt(t,null,"length",[t,i])}function lt(t){for(var e=t.oClasses,i=t.sTableId,s=t.aLengthMenu,r=n.isArray(s[0]),o=r?s[0]:s,s=r?s[1]:s,r=n("<select/>",{name:i+"_length","aria-controls":i,class:e.sLengthSelect}),a=0,l=o.length;a<l;a++)r[0][a]=new Option(s[a],o[a]);var u=n("<div><label/></div>").addClass(e.sLength);return t.aanFeatures.l||(u[0].id=i+"_length"),u.children().append(t.oLanguage.sLengthMenu.replace("_MENU_",r[0].outerHTML)),n("select",u).val(t._iDisplayLength).bind("change.DT",function(){at(t,n(this).val()),R(t)}),n(t.nTable).bind("length.dt.DT",function(e,i,s){t===i&&n("select",u).val(s)}),u[0]}function ut(t){var e=t.sPaginationType,i=Vt.ext.pager[e],s="function"==typeof i,r=function(t){R(t)},e=n("<div/>").addClass(t.oClasses.sPaging+e)[0],o=t.aanFeatures;return s||i.fnInit(t,e,r),o.p||(e.id=t.sTableId+"_paginate",t.aoDrawCallback.push({fn:function(t){if(s){var e=t._iDisplayStart,n=t._iDisplayLength,a=t.fnRecordsDisplay(),l=-1===n,e=l?0:Math.ceil(e/n),n=l?1:Math.ceil(a/n),a=i(e,n),u,l=0;for(u=o.p.length;l<u;l++)Ht(t,"pageButton")(t,o.p[l],l,a,e,n)}else i.fnUpdate(t,r)},sName:"pagination"})),e}function ct(t,e,i){var n=t._iDisplayStart,s=t._iDisplayLength,r=t.fnRecordsDisplay();return 0===r||-1===s?n=0:"number"==typeof e?(n=e*s)>r&&(n=0):"first"==e?n=0:"previous"==e?0>(n=0<=s?n-s:0)&&(n=0):"next"==e?n+s<r&&(n+=s):"last"==e?n=Math.floor((r-1)/s)*s:Lt(t,0,"Unknown paging action: "+e,5),e=t._iDisplayStart!==n,t._iDisplayStart=n,e&&(zt(t,null,"page",[t]),i&&R(t)),e}function ht(t){return n("<div/>",{id:t.aanFeatures.r?null:t.sTableId+"_processing",class:t.oClasse
39s.sProcessing}).html(t.oLanguage.sProcessing).insertBefore(t.nTable)[0]}function dt(t,e){t.oFeatures.bProcessing&&n(t.aanFeatures.r).css("display",e?"block":"none"),zt(t,null,"processing",[t,e])}function pt(t){var e=n(t.nTable);e.attr("role","grid");var i=t.oScroll;if(""===i.sX&&""===i.sY)return t.nTable;var s=i.sX,r=i.sY,o=t.oClasses,a=e.children("caption"),l=a.length?a[0]._captionSide:null,u=n(e[0].cloneNode(!1)),c=n(e[0].cloneNode(!1)),h=e.children("tfoot");i.sX&&"100%"===e.attr("width")&&e.removeAttr("width"),h.length||(h=null),i=n("<div/>",{class:o.sScrollWrapper}).append(n("<div/>",{class:o.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:s?s?xt(s):null:"100%"}).append(n("<div/>",{class:o.sScrollHeadInner}).css({"box-sizing":"content-box",width:i.sXInner||"100%"}).append(u.removeAttr("id").css("margin-left",0).append("top"===l?a:null).append(e.children("thead"))))).append(n("<div/>",{class:o.sScrollBody}).css({overflow:"auto",height:r?xt(r):null,width:s?xt(s):null}).append(e)),h&&i.append(n("<div/>",{class:o.sScrollFoot}).css({overflow:"hidden",border:0,width:s?s?xt(s):null:"100%"}).append(n("<div/>",{class:o.sScrollFootInner}).append(c.removeAttr("id").css("margin-left",0).append("bottom"===l?a:null).append(e.children("tfoot")))));var e=i.children(),d=e[0],o=e[1],p=h?e[2]:null;return s&&n(o).scroll(function(){var t=this.scrollLeft;d.scrollLeft=t,h&&(p.scrollLeft=t)}),t.nScrollHead=d,t.nScrollBody=o,t.nScrollFoot=p,t.aoDrawCallback.push({fn:ft,sName:"scrolling"}),i[0]}function ft(t){var e=t.oScroll,i=e.sX,s=e.sXInner,r=e.sY,o=e.iBarWidth,a=n(t.nScrollHead),l=a[0].style,u=a.children("div"),c=u[0].style,h=u.children("table"),u=t.nScrollBody,d=n(u),p=u.style,m=n(t.nScrollFoot).children("div"),g=m.children("table"),v=n(t.nTHead),_=n(t.nTable),y=_[0],b=y.style,w=t.nTFoot?n(t.nTFoot):null,x=t.oBrowser,S=x.bScrollOversize,T,C,k,P,D,j=[],I=[],E=[],A,M=function(t){t=t.style,t.paddingTop="0",t.paddingBottom="0",t.borderTopWidth="0",t.borderBottomWidth="0",t.height=0};_.children("thead, tfoot").remove(),D=v.clone().prependTo(_),T=v.find("tr"),k=D.find("tr"),D.find("th, td").removeAttr("tabindex"),w&&(P=w.clone().prependTo(_),C=w.find("tr"),P=P.find("tr")),i||(p.width="100%",a[0].style.width="100%"),n.each(z(t,D),function(e,i){A=f(t,e),i.style.width=t.aoColumns[A].sWidth}),w&&mt(function(t){t.style.width=""},P),e.bCollapse&&""!==r&&(p.height=d[0].offsetHeight+v[0].offsetHeight+"px"),a=_.outerWidth(),""===i?(b.width="100%",S&&(_.find("tbody").height()>u.offsetHeight||"scroll"==d.css("overflow-y"))&&(b.width=xt(_.outerWidth()-o))):""!==s?b.width=xt(s):a==d.width()&&d.height()<_.height()?(b.width=xt(a-o),_.outerWidth()>a-o&&(b.width=xt(a))):b.width=xt(a),a=_.outerWidth(),mt(M,k),mt(function(t){E.push(t.innerHTML),j.push(xt(n(t).css("width")))},k),mt(function(t,e){t.style.width=j[e]},T),n(k).height(0),w&&(mt(M,P),mt(function(t){I.push(xt(n(t).css("width")))},P),mt(function(t,e){t.style.width=I[e]},C),n(P).height(0)),mt(function(t,e){t.innerHTML='<div class="dataTables_sizing" style="height:0;overflow:hidden;">'+E[e]+"</div>",t.style.width=j[e]},k),w&&mt(function(t,e){t.innerHTML="",t.style.width=I[e]},P),_.outerWidth()<a?(C=u.scrollHeight>u.offsetHeight||"scroll"==d.css("overflow-y")?a+o:a,S&&(u.scrollHeight>u.offsetHeight||"scroll"==d.css("overflow-y"))&&(b.width=xt(C-o)),(""===i||""!==s)&&Lt(t,1,"Possible column misalignment",6)):C="100%",p.width=xt(C),l.width=xt(C),w&&(t.nScrollFoot.style.width=xt(C)),!r&&S&&(p.height=xt(y.offsetHeight+o)),r&&e.bCollapse&&(p.height=xt(r),e=i&&y.offsetWidth>u.offsetWidth?o:0,y.offsetHeight<u.offsetHeight&&(p.height=xt(y.offsetHeight+e))),e=_.outerWidth(),h[0].style.width=xt(e),c.width=xt(e),h=_.height()>u.clientHeight||"scroll"==d.css("overflow-y"),x="padding"+(x.bScrollbarLeft?"Left":"Right"),c[x]=h?o+"px":"0px",w&&(g[0].style.width=xt(e),m[0].style.width=xt(e),m[0].style[x]=h?o+"px":"0px"),d.scroll(),!t.bSorted&&!t.bFiltered||t._drawHold||(u.scrollTop=0)}function mt(t,e,i){for(var n=0,s=0,r=e.length,o,a;s<r;){for(o=e[s].firstChild,a=i?i[s].firstChild:null;o;)1===o.nodeType&&(i?t(o,a,n):t(o,n),n++),o=o.nextSibling,a=i?a.nextSibling:null;s++}}
39function gt(e){var i=e.nTable,s=e.aoColumns,r=e.oScroll,o=r.sY,a=r.sX,l=r.sXInner,u=s.length,r=g(e,"bVisible"),c=n("th",e.nTHead),h=i.getAttribute("width"),d=i.parentNode,f=!1,v,_;for(v=0;v<r.length;v++)_=s[r[v]],null!==_.sWidth&&(_.sWidth=_t(_.sWidthOrig,d),f=!0);if(f||a||o||u!=m(e)||u!=c.length){u=n(i).clone().empty().css("visibility","hidden").removeAttr("id").append(n(e.nTHead).clone(!1)).append(n(e.nTFoot).clone(!1)).append(n("<tbody><tr/></tbody>")),u.find("tfoot th, tfoot td").css("width","");var y=u.find("tbody tr"),c=z(e,u.find("thead")[0]);for(v=0;v<r.length;v++)_=s[r[v]],c[v].style.width=null!==_.sWidthOrig&&""!==_.sWidthOrig?xt(_.sWidthOrig):"";if(e.aoData.length)for(v=0;v<r.length;v++)f=r[v],_=s[f],n(bt(e,f)).clone(!1).append(_.sContentPadding).appendTo(y);if(u.appendTo(d),a&&l?u.width(l):a?(u.css("width","auto"),u.width()<d.offsetWidth&&u.width(d.offsetWidth)):o?u.width(d.offsetWidth):h&&u.width(h),yt(e,u[0]),a){for(v=l=0;v<r.length;v++)_=s[r[v]],o=n(c[v]).outerWidth(),l+=null===_.sWidthOrig?o:parseInt(_.sWidth,10)+o-n(c[v]).width();u.width(xt(l)),i.style.width=xt(l)}for(v=0;v<r.length;v++)_=s[r[v]],(o=n(c[v]).width())&&(_.sWidth=xt(o));i.style.width=xt(u.css("width")),u.remove()}else for(v=0;v<u;v++)s[v].sWidth=xt(c.eq(v).width());h&&(i.style.width=xt(h)),!h&&!a||e._reszEvt||(n(t).bind("resize.DT-"+e.sInstance,vt(function(){p(e)})),e._reszEvt=!0)}function vt(t,e){var n=e!==i?e:200,s,r;return function(){var e=this,o=+new Date,a=arguments;s&&o<s+n?(clearTimeout(r),r=setTimeout(function(){s=i,t.apply(e,a)},n)):s?(s=o,t.apply(e,a)):s=o}}function _t(t,i){if(!t)return 0;var s=n("<div/>").css("width",xt(t)).appendTo(i||e.body),r=s[0].offsetWidth;return s.remove(),r}function yt(t,e){var i=t.oScroll;(i.sX||i.sY)&&(i=i.sX?0:i.iBarWidth,e.style.width=xt(n(e).outerWidth()-i))}function bt(t,e){var i=wt(t,e);if(0>i)return null;var s=t.aoData[i];return s.nTr?s.anCells[e]:n("<td/>").html(w(t,i,e,"display"))[0]}function wt(t,e){for(var i,n=-1,s=-1,r=0,o=t.aoData.length;r<o;r++)i=w(t,r,e,"display")+"",i=i.replace(ye,""),i.length>n&&(n=i.length,s=r);return s}function xt(t){return null===t?"0px":"number"==typeof t?0>t?"0px":t+"px":t.match(/\d$/)?t+"px":t}function St(){if(!Vt.__scrollbarWidth){var t=n("<p/>").css({width:"100%",height:200,padding:0})[0],e=n("<div/>").css({position:"absolute",top:0,left:0,width:200,height:150,padding:0,overflow:"hidden",visibility:"hidden"}).append(t).appendTo("body"),i=t.offsetWidth;e.css("overflow","scroll"),t=t.offsetWidth,i===t&&(t=e[0].clientWidth),e.remove(),Vt.__scrollbarWidth=i-t}return Vt.__scrollbarWidth}function Tt(t){var e,s,r=[],o=t.aoColumns,a,l,u,c;e=t.aaSortingFixed,s=n.isPlainObject(e);var h=[];for(a=function(t){t.length&&!n.isArray(t[0])?h.push(t):h.push.apply(h,t)},n.isArray(e)&&a(e),s&&e.pre&&a(e.pre),a(t.aaSorting),s&&e.post&&a(e.post),t=0;t<h.length;t++)for(c=h[t][0],a=o[c].aDataSort,e=0,s=a.length;e<s;e++)l=a[e],u=o[l].sType||"string",h[t]._idx===i&&(h[t]._idx=n.inArray(h[t][1],o[l].asSorting)),r.push({src:c,col:l,dir:h[t][1],index:h[t]._idx,type:u,formatter:Vt.ext.type.order[u+"-pre"]});return r}function Ct(t){var e,i,n=[],s=Vt.ext.type.order,r=t.aoData,o=0,a,l=t.aiDisplayMaster,u;for(v(t),u=Tt(t),e=0,i=u.length;e<i;e++)a=u[e],a.formatter&&o++,It(t,a.col);if("ssp"!=Bt(t)&&0!==u.length){for(e=0,i=l.length;e<i;e++)n[l[e]]=e;o===u.length?l.sort(function(t,e){var i,s,o,a,l=u.length,c=r[t]._aSortData,h=r[e]._aSortData;for(o=0;o<l;o++)if(a=u[o],i=c[a.col],s=h[a.col],0!==(i=i<s?-1:i>s?1:0))return"asc"===a.dir?i:-i;return i=n[t],s=n[e],i<s?-1:i>s?1:0}):l.sort(function(t,e){var i,o,a,l,c=u.length,h=r[t]._aSortData,d=r[e]._aSortData;for(a=0;a<c;a++)if(l=u[a],i=h[l.col],o=d[l.col],l=s[l.type+"-"+l.dir]||s["string-"+l.dir],0!==(i=l(i,o)))return i;return i=n[t],o=n[e],i<o?-1:i>o?1:0})}t.bSorted=!0}function kt(t){for(var e,i,n=t.aoColumns,s=Tt(t),t=t.oLanguage.oAria,r=0,o=n.length;r<o;r++){i=n[r];var a=i.asSorting;e=i.sTitle.replace(/<.*?>/g,"");var l=i.nTh;l.removeAttribute("aria-sort"),i.bSortable&&(0<s.length&&s[0].col==r?(l.setAttribute("aria-sort","asc"==s[0].dir?"ascending":"descending"),i=a[s[0].index+1]||a[0]):i=a[0],e+="asc"===i?t.sSortAscending:t.sSortDescending),l.setAttribute("aria-label",e)}}function Pt(t,e,s,r){var o=t.aaSorting,a=t.aoColumns[e].asSorting,l=function(t,e){var s=t._idx;return s===i&&(s=n.inArray(t[1],a)),s+1<a.length?s+1:e?null:0};"number"==typeof o[0]&&(o=t.aaSorting=[o]),s&&t.oFeatures.bSortMulti?(s=n.inArray(e,ue(o,"0")),-1!==s?(e=l(o[s],!0),null===e?o.splice(s,1):(o[s][1]=a[e],o[s]._idx=e)):(o.push([e,a[0],0]),o[o.length-1]._idx=0)):o.length&&o[0][0]==e?(e=l(o[0]),o.length=1,o[0][1]=a[e],o[0]._idx=e):(o.length=0,o.push([e,a[0]]),o[0]._idx=0),F(t),"function"==typeof r&&r(t)}function Dt(t,e,i,n){var s=t.aoColumns[i];Nt(e,{},function(e){!1!==s.bSortable&&(t.oFeatures.bProcessing?(dt(t,!0),setTimeout(function(){Pt(t,i,e.shiftKey,n),"ssp"!==Bt(t)&&dt(t,!1)},0)):Pt(t,i,e.shiftKey,n))})}
39function jt(t){var e=t.aLastSort,i=t.oClasses.sSortColumn,s=Tt(t),r=t.oFeatures,o,a;if(r.bSort&&r.bSortClasses){for(r=0,o=e.length;r<o;r++)a=e[r].src,n(ue(t.aoData,"anCells",a)).removeClass(i+(2>r?r+1:3));for(r=0,o=s.length;r<o;r++)a=s[r].src,n(ue(t.aoData,"anCells",a)).addClass(i+(2>r?r+1:3))}t.aLastSort=s}function It(t,e){var i=t.aoColumns[e],n=Vt.ext.order[i.sSortDataType],s;n&&(s=n.call(t.oInstance,t,e,$(t,e)));for(var r,o=Vt.ext.type.order[i.sType+"-pre"],a=0,l=t.aoData.length;a<l;a++)i=t.aoData[a],i._aSortData||(i._aSortData=[]),(!i._aSortData[e]||n)&&(r=n?s[a]:w(t,a,e,"sort"),i._aSortData[e]=o?o(r):r)}function Et(t){if(t.oFeatures.bStateSave&&!t.bDestroying){var e={time:+new Date,start:t._iDisplayStart,length:t._iDisplayLength,order:n.extend(!0,[],t.aaSorting),search:tt(t.oPreviousSearch),columns:n.map(t.aoColumns,function(e,i){return{visible:e.bVisible,search:tt(t.aoPreSearchCols[i])}})};zt(t,"aoStateSaveParams","stateSaveParams",[t,e]),t.oSavedState=e,t.fnStateSaveCallback.call(t.oInstance,t,e)}}function At(t){var e,i,s=t.aoColumns;if(t.oFeatures.bStateSave){var r=t.fnStateLoadCallback.call(t.oInstance,t);if(r&&r.time&&(e=zt(t,"aoStateLoadParams","stateLoadParams",[t,r]),-1===n.inArray(!1,e)&&!(0<(e=t.iStateDuration)&&r.time<+new Date-1e3*e)&&s.length===r.columns.length)){for(t.oLoadedState=n.extend(!0,{},r),t._iDisplayStart=r.start,t.iInitDisplayStart=r.start,t._iDisplayLength=r.length,t.aaSorting=[],n.each(r.order,function(e,i){t.aaSorting.push(i[0]>=s.length?[0,i[1]]:i)}),n.extend(t.oPreviousSearch,et(r.search)),e=0,i=r.columns.length;e<i;e++){var o=r.columns[e];s[e].bVisible=o.visible,n.extend(t.aoPreSearchCols[e],et(o.search))}zt(t,"aoStateLoaded","stateLoaded",[t,r])}}}function Mt(t){var e=Vt.settings,t=n.inArray(t,ue(e,"nTable"));return-1!==t?e[t]:null}function Lt(e,i,n,s){if(n="DataTables warning: "+(null!==e?"table id="+e.sTableId+" - ":"")+n,s&&(n+=". For more information about this error, please see http://datatables.net/tn/"+s),i)t.console&&console.log&&console.log(n);else{if(e=Vt.ext,"alert"!=(e.sErrMode||e.errMode))throw Error(n);alert(n)}}function Rt(t,e,s,r){n.isArray(s)?n.each(s,function(i,s){n.isArray(s)?Rt(t,e,s[0],s[1]):Rt(t,e,s)}):(r===i&&(r=s),e[s]!==i&&(t[r]=e[s]))}function Ft(t,e,i){var s,r;for(r in e)e.hasOwnProperty(r)&&(s=e[r],n.isPlainObject(s)?(n.isPlainObject(t[r])||(t[r]={}),n.extend(!0,t[r],s)):t[r]=i&&"data"!==r&&"aaData"!==r&&n.isArray(s)?s.slice():s);return t}function Nt(t,e,i){n(t).bind("click.DT",e,function(e){t.blur(),i(e)}).bind("keypress.DT",e,function(t){13===t.which&&(t.preventDefault(),i(t))}).bind("selectstart.DT",function(){return!1})}function Ot(t,e,i,n){i&&t[e].push({fn:i,sName:n})}function zt(t,e,i,s){var r=[];return e&&(r=n.map(t[e].slice().reverse(),function(e){return e.fn.apply(t.oInstance,s)})),null!==i&&n(t.nTable).trigger(i+".dt",s),r}function $t(t){var e=t._iDisplayStart,i=t.fnDisplayEnd(),n=t._iDisplayLength;e>
39=i&&(e=i-n),e-=e%n,(-1===n||0>e)&&(e=0),t._iDisplayStart=e}function Ht(t,e){var i=t.renderer,s=Vt.ext.renderer[e];return n.isPlainObject(i)&&i[e]?s[i[e]]||s._:"string"==typeof i?s[i]||s._:s._}function Bt(t){return t.oFeatures.bServerSide?"ssp":t.ajax||t.sAjaxSource?"ajax":"dom"}function Wt(t,e){var i=[],i=Fe.numbers_length,n=Math.floor(i/2);return e<=i?i=he(0,e):t<=n?(i=he(0,i-2),i.push("ellipsis"),i.push(e-1)):(t>=e-1-n?i=he(e-(i-2),e):(i=he(t-1,t+2),i.push("ellipsis"),i.push(e-1)),i.splice(0,0,"ellipsis"),i.splice(0,0,0)),i.DT_el="span",i}function qt(t){n.each({num:function(e){return Ne(e,t)},"num-fmt":function(e){return Ne(e,t,ne)},"html-num":function(e){return Ne(e,t,Kt)},"html-num-fmt":function(e){return Ne(e,t,Kt,ne)}},function(e,i){Xt.type.order[e+t+"-pre"]=i,e.match(/^html\-/)&&(Xt.type.search[e+t]=Xt.type.search.html)})}function Ut(t){return function(){var e=[Mt(this[Vt.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return Vt.ext.internal[t].apply(this,e)}}var Vt,Xt,Yt,Qt,Gt,Jt={},Zt=/[\r\n]/g,Kt=/<.*?>/g,te=/^[\w\+\-]/,ee=/[\w\+\-]$/,ie=RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^|\\-)","g"),ne=/[',$\u00a3\u20ac\u00a5%\u2009\u202F]/g,se=function(t){return!t||!0===t||"-"===t},re=function(t){var e=parseInt(t,10);return!isNaN(e)&&isFinite(t)?e:null},oe=function(t,e){return Jt[e]||(Jt[e]=RegExp(Z(e),"g")),"string"==typeof t&&"."!==e?t.replace(/\./g,"").replace(Jt[e],"."):t},ae=function(t,e,i){var n="string"==typeof t;return e&&n&&(t=oe(t,e)),i&&n&&(t=t.replace(ne,"")),se(t)||!isNaN(parseFloat(t))&&isFinite(t)},le=function(t,e,i){return!!se(t)||(se(t)||"string"==typeof t?!!ae(t.replace(Kt,""),e,i)||null:null)},ue=function(t,e,n){var s=[],r=0,o=t.length;if(n!==i)for(;r<o;r++)t[r]&&t[r][e]&&s.push(t[r][e][n]);else for(;r<o;r++)t[r]&&s.push(t[r][e]);return s},ce=function(t,e,n,s){var r=[],o=0,a=e.length;if(s!==i)for(;o<a;o++)t[e[o]][n]&&r.push(t[e[o]][n][s]);else for(;o<a;o++)r.push(t[e[o]][n]);return r},he=function(t,e){var n=[],s;e===i?(e=0,s=t):(s=e,e=t);for(var r=e;r<s;r++)n.push(r);return n},de=function(t){for(var e=[],i=0,n=t.length;i<n;i++)t[i]&&e.push(t[i]);return e},pe=function(t){var e=[],i,n,s=t.length,r,o=0;n=0;t:for(;n<s;n++){for(i=t[n],r=0;r<o;r++)if(e[r]===i)continue t;e.push(i),o++}return e},fe=function(t,e,n){t[e]!==i&&(t[n]=t[e])},me=/\[.*?\]$/,ge=/\(\)$/,ve=n("<div>")[0],_e=ve.textContent!==i,ye=/<.*?>/g;Vt=function(t){this.$=function(t,e){return this.api(!0).$(t,e)},this._=function(t,e){return this.api(!0).rows(t,e).data()},this.api=function(t){return new Yt(t?Mt(this[Xt.iApiIndex]):this)},this.fnAddData=function(t,e){var s=this.api(!0),r=n.isArray(t)&&(n.isArray(t[0])||n.isPlainObject(t[0]))?s.rows.add(t):s.row.add(t);return(e===i||e)&&s.draw(),r.flatten().toArray()},this.fnAdjustColumnSizing=function(t){var e=this.api(!0).columns.adjust(),n=e.settings()[0],s=n.oScroll;t===i||t?e.draw(!1):(""!==s.sX||""!==s.sY)&&ft(n)},this.fnClearTable=function(t){var e=this.api(!0).clear();(t===i||t)&&e.draw()},this.fnClose=function(t){this.api(!0).row(t).child.hide()},this.fnDeleteRow=function(t,e,n){var s=this.api(!0),t=s.rows(t),r=t.settings()[0],o=r.aoData[t[0][0]];return t.remove(),e&&e.call(this,r,o),(n===i||n)&&s.draw(),o},this.fnDestroy=function(t){this.api(!0).destroy(t)},this.fnDraw=function(t){this.api(!0).draw(!t)},this.fnFilter=function(t,e,n,s,r,o){r=this.api(!0),null===e||e===i?r.search(t,n,s,o):r.column(e).search(t,n,s,o),r.draw()},this.fnGetData=function(t,e){var n=this.api(!0);if(t!==i){var s=t.nodeName?t.nodeName.toLowerCase():"";return e!==i||"td"==s||"th"==s?n.cell(t,e).data():n.row(t).data()||null}return n.data().toArray()},this.fnGetNodes=function(t){var e=this.api(!0);return t!==i?e.row(t).node():e.rows().nodes().flatten().toArray()},this.fnGetPosition=function(t){var e=this.api(!0),i=t.nodeName.toUpperCase();return"TR"==i?e.row(t).index():"TD"==i||"TH"==i?(t=e.cell(t).index(),[t.row,t.columnVisible,t.column]):null},this.fnIsOpen=function(t){return this.api(!0).row(t).child.isShown()},this.fnOpen=function(t,e,i){return this.api(!0).row(t).child(e,i).show().child()[0]},this.fnPageChange=function(t,e){var n=this.api(!0).page(t);(e===i||e)&&n.draw(!1)}
39,this.fnSetColumnVis=function(t,e,n){t=this.api(!0).column(t).visible(e),(n===i||n)&&t.columns.adjust().draw()},this.fnSettings=function(){return Mt(this[Xt.iApiIndex])},this.fnSort=function(t){this.api(!0).order(t).draw()},this.fnSortListener=function(t,e,i){this.api(!0).order.listener(t,e,i)},this.fnUpdate=function(t,e,n,s,r){var o=this.api(!0);return n===i||null===n?o.row(e).data(t):o.cell(e,n).data(t),(r===i||r)&&o.columns.adjust(),(s===i||s)&&o.draw(),0},this.fnVersionCheck=Xt.fnVersionCheck;var e=this,s=t===i,c=this.length;s&&(t={}),this.oApi=this.internal=Xt.internal;for(var p in Vt.ext.internal)p&&(this[p]=Ut(p));return this.each(function(){var p={},p=1<c?Ft(p,t,!0):t,f=0,m,g=this.getAttribute("id"),v=!1,w=Vt.defaults;if("table"!=this.nodeName.toLowerCase())Lt(null,0,"Non-table node initialisation ("+this.nodeName+")",2);else{a(w),l(w.column),r(w,w,!0),r(w.column,w.column,!0),r(w,p);var x=Vt.settings,f=0;for(m=x.length;f<m;f++){if(x[f].nTable==this){if(m=p.bRetrieve!==i?p.bRetrieve:w.bRetrieve,s||m)return x[f].oInstance;if(p.bDestroy!==i?p.bDestroy:w.bDestroy){x[f].oInstance.fnDestroy();break}return void Lt(x[f],0,"Cannot reinitialise DataTable",3)}if(x[f].sTableId==this.id){x.splice(f,1);break}}null!==g&&""!==g||(this.id=g="DataTables_Table_"+Vt.ext._unique++);var S=n.extend(!0,{},Vt.models.oSettings,{nTable:this,oApi:e.internal,oInit:p,sDestroyWidth:n(this)[0].style.width,sInstance:g,sTableId:g});
39x.push(S),S.oInstance=1===e.length?e:n(this).dataTable(),a(p),p.oLanguage&&o(p.oLanguage),p.aLengthMenu&&!p.iDisplayLength&&(p.iDisplayLength=n.isArray(p.aLengthMenu[0])?p.aLengthMenu[0][0]:p.aLengthMenu[0]),p=Ft(n.extend(!0,{},w),p),Rt(S.oFeatures,p,"bPaginate bLengthChange bFilter bSort bSortMulti bInfo bProcessing bAutoWidth bSortClasses bServerSide bDeferRender".split(" ")),
40Rt(S,p,["asStripeClasses","ajax","fnServerData","fnFormatNumber","sServerMethod","aaSorting","aaSortingFixed","aLengthMenu","sPaginationType","sAjaxSource","sAjaxDataProp","iStateDuration","sDom","bSortCellsTop","iTabIndex","fnStateLoadCallback","fnStateSaveCallback","renderer","searchDelay",["iCookieDuration","iStateDuration"],["oSearch","oPreviousSearch"],["aoSearchCols","aoPreSearchCols"],["iDisplayLength","_iDisplayLength"],["bJQueryUI","bJUI"]]),Rt(S.oScroll,p,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]),Rt(S.oLanguage,p,"fnInfoCallback"),Ot(S,"aoDrawCallback",p.fnDrawCallback,"user"),Ot(S,"aoServerParams",p.fnServerParams,"user"),Ot(S,"aoStateSaveParams",p.fnStateSaveParams,"user"),Ot(S,"aoStateLoadParams",p.fnStateLoadParams,"user"),Ot(S,"aoStateLoaded",p.fnStateLoaded,"user"),Ot(S,"aoRowCallback",p.fnRowCallback,"user"),Ot(S,"aoRowCreatedCallback",p.fnCreatedRow,"user"),Ot(S,"aoHeaderCallback",p.fnHeaderCallback,"user"),Ot(S,"aoFooterCallback",p.fnFooterCallback,"user"),Ot(S,"aoInitComplete",p.fnInitComplete,"user"),Ot(S,"aoPreDrawCallback",p.fnPreDrawCallback,"user"),g=S.oClasses,p.bJQueryUI?(n.extend(g,Vt.ext.oJUIClasses,p.oClasses),p.sDom===w.sDom&&"lfrtip"===w.sDom&&(S.sDom='<"H"lfr>t<"F"ip>'),S.renderer?n.isPlainObject(S.renderer)&&!S.renderer.header&&(S.renderer.header="jqueryui"):S.renderer="jqueryui"):n.extend(g,Vt.ext.classes,p.oClasses),n(this).addClass(g.sTable),""===S.oScroll.sX&&""===S.oScroll.sY||(S.oScroll.iBarWidth=St()),!0===S.oScroll.sX&&(S.oScroll.sX="100%"),S.iInitDisplayStart===i&&(S.iInitDisplayStart=p.iDisplayStart,S._iDisplayStart=p.iDisplayStart),null!==p.iDeferLoading&&(S.bDeferLoading=!0,f=n.isArray(p.iDeferLoading),S._iRecordsDisplay=f?p.iDeferLoading[0]:p.iDeferLoading,S._iRecordsTotal=f?p.iDeferLoading[1]:p.iDeferLoading);var T=S.oLanguage;n.extend(!0,T,p.oLanguage),""!==T.sUrl&&(n.ajax({dataType:"json",url:T.sUrl,success:function(t){o(t),r(w.oLanguage,t),n.extend(!0,T,t),rt(S)},error:function(){rt(S)}}),v=!0),null===p.asStripeClasses&&(S.asStripeClasses=[g.sStripeOdd,g.sStripeEven]);var f=S.asStripeClasses,C=n("tbody tr:eq(0)",this);-1!==n.inArray(!0,n.map(f,function(t){return C.hasClass(t)}))&&(n("tbody tr",this).removeClass(f.join(" ")),S.asDestroyStripes=f.slice());var x=[],k,f=this.getElementsByTagName("thead");if(0!==f.length&&(O(S.aoHeader,f[0]),x=z(S)),null===p.aoColumns)for(k=[],f=0,m=x.length;f<m;f++)k.push(null);else k=p.aoColumns;for(f=0,m=k.length;f<m;f++)h(S,x?x[f]:null);if(_(S,p.aoColumnDefs,k,function(t,e){d(S,t,e)}),C.length){var P=function(t,e){return t.getAttribute("data-"+e)?e:null};n.each(I(S,C[0]).cells,function(t,e){var n=S.aoColumns[t];if(n.mData===t){var s=P(e,"sort")||P(e,"order"),r=P(e,"filter")||P(e,"search");null===s&&null===r||(n.mData={_:t+".display",sort:null!==s?t+".@data-"+s:i,type:null!==s?t+".@data-"+s:i,filter:null!==r?t+".@data-"+r:i},d(S,t))}})}var D=S.oFeatures;if(p.bStateSave&&(D.bStateSave=!0,At(S,p),Ot(S,"aoDrawCallback",Et,"state_save")),p.aaSorting===i)for(x=S.aaSorting,f=0,m=x.length;f<m;f++)x[f][1]=S.aoColumns[f].asSorting[0];if(jt(S),D.bSort&&Ot(S,"aoDrawCallback",function(){if(S.bSorted){var t=Tt(S),e={};n.each(t,function(t,i){e[i.src]=i.dir}),zt(S,null,"order",[S,t,e]),kt(S)}}),Ot(S,"aoDrawCallback",function(){(S.bSorted||"ssp"===Bt(S)||D.bDeferRender)&&jt(S)},"sc"),u(S),f=n(this).children("caption").each(function(){this._captionSide=n(this).css("caption-side")}),m=n(this).children("thead"),0===m.length&&(m=n("<thead/>").appendTo(this)),S.nTHead=m[0],m=n(this).children("tbody"),0===m.length&&(m=n("<tbody/>").appendTo(this)),S.nTBody=m[0],m=n(this).children("tfoot"),0===m.length&&0<f.length&&(""!==S.oScroll.sX||""!==S.oScroll.sY)&&(m=n("<tfoot/>").appendTo(this)),0===m.length||0===m.children().length?n(this).addClass(g.sNoFooter):0<m.length&&(S.nTFoot=m[0],O(S.aoFooter,S.nTFoot)),p.aaData)for(f=0;f<p.aaData.length;f++)y(S,p.aaData[f]);else(S.bDeferLoading||"dom"==Bt(S))&&b(S,n(S.nTBody).children("tr"));S.aiDisplay=S.aiDisplayMaster.slice(),S.bInitialised=!0,!1===v&&rt(S)}}),e=null,this};var be=[],we=Array.prototype,xe=function(t){var e,i,s=Vt.settings,r=n.map(s,function(t){return t.nTable});return t?t.nTable&&t.oApi?[t]:t.nodeName&&"table"===t.nodeName.toLowerCase()?(e=n.inArray(t,r),-1!==e?[s[e]]:null):t&&"function"==typeof t.settings?t.settings().toArray():("string"==typeof t?i=n(t):t instanceof n&&(i=t),i?i.map(function(){return e=n.inArray(this,r),-1!==e?s[e]:null}).toArray():void 0):[]};Yt=function(t,e){if(!this instanceof Yt)throw"DT API must be constructed as a new object";var i=[],s=function(t){(t=xe(t))&&i.push.apply(i,t)};if(n.isArray(t))for(var r=0,o=t.length;r<o;r++)s(t[r]);else s(t);this.context=pe(i),e&&this.push.apply(this,e.toArray?e.toArray():e),this.selector={rows:null,cols:null,opts:null},Yt.extend(this,this,be)},Vt.Api=Yt,Yt.prototype={concat:we.concat,context:[],each:function(t){for(var e=0,i=this.length;e<i;e++)t.call(this,this[e],e,this);return this},eq:function(t){var e=this.context;return e.length>t?new Yt(e[t],this[t]):null},filter:function(t){var e=[];
40if(we.filter)e=we.filter.call(this,t,this);else for(var i=0,n=this.length;i<n;i++)t.call(this,this[i],i,this)&&e.push(this[i]);return new Yt(this.context,e)},flatten:function(){var t=[];return new Yt(this.context,t.concat.apply(t,this.toArray()))},join:we.join,indexOf:we.indexOf||function(t,e){for(var i=e||0,n=this.length;i<n;i++)if(this[i]===t)return i;return-1},iterator:function(t,e,n,s){var r=[],o,a,l,u,c,h=this.context,d,p,f=this.selector;for("string"==typeof t&&(s=n,n=e,e=t,t=!1),a=0,l=h.length;a<l;a++){var m=new Yt(h[a]);if("table"===e)(o=n.call(m,h[a],a))!==i&&r.push(o);else if("columns"===e||"rows"===e)(o=n.call(m,h[a],this[a],a))!==i&&r.push(o);else if("column"===e||"column-rows"===e||"row"===e||"cell"===e)for(p=this[a],"column-rows"===e&&(d=Pe(h[a],f.opts)),u=0,c=p.length;u<c;u++)o=p[u],(o="cell"===e?n.call(m,h[a],o.row,o.column,a,u):n.call(m,h[a],o,a,u,d))!==i&&r.push(o)}return r.length||s?(t=new Yt(h,t?r.concat.apply([],r):r),e=t.selector,e.rows=f.rows,e.cols=f.cols,e.opts=f.opts,t):this},lastIndexOf:we.lastIndexOf||function(t,e){return this.indexOf.apply(this.toArray.reverse(),arguments)},length:0,map:function(t){var e=[];if(we.map)e=we.map.call(this,t,this);else for(var i=0,n=this.length;i<n;i++)e.push(t.call(this,this[i],i));return new Yt(this.context,e)},pluck:function(t){return this.map(function(e){return e[t]})},pop:we.pop,push:we.push,reduce:we.reduce||function(t,e){return c(this,t,e,0,this.length,1)},reduceRight:we.reduceRight||function(t,e){return c(this,t,e,this.length-1,-1,-1)},reverse:we.reverse,selector:null,shift:we.shift,sort:we.sort,splice:we.splice,toArray:function(){return we.slice.call(this)},to$:function(){return n(this)},toJQuery:function(){return n(this)},unique:function(){return new Yt(this.context,pe(this))},unshift:we.unshift},Yt.extend=function(t,e,i){if(e&&(e instanceof Yt||e.__dt_wrapper)){var s,r,o,a=function(t,e,i){return function(){var n=e.apply(t,arguments);return Yt.extend(n,n,i.methodExt),n}};for(s=0,r=i.length;s<r;s++)o=i[s],e[o.name]="function"==typeof o.val?a(t,o.val,o):n.isPlainObject(o.val)?{}:o.val,e[o.name].__dt_wrapper=!0,Yt.extend(t,e[o.name],o.propExt)}},Yt.register=Qt=function(t,e){if(n.isArray(t))for(var i=0,s=t.length;i<s;i++)Yt.register(t[i],e);else for(var r=t.split("."),o=be,a,l,i=0,s=r.length;i<s;i++){a=(l=-1!==r[i].indexOf("()"))?r[i].replace("()",""):r[i];var u;t:{u=0;for(var c=o.length;u<c;u++)if(o[u].name===a){u=o[u];break t}u=null}u||(u={name:a,val:{},methodExt:[],propExt:[]},o.push(u)),i===s-1?u.val=e:o=l?u.methodExt:u.propExt}},Yt.registerPlural=Gt=function(t,e,s){Yt.register(t,s),Yt.register(e,function(){var t=s.apply(this,arguments);return t===this?this:t instanceof Yt?t.length?n.isArray(t[0])?new Yt(t.context,t[0]):t[0]:i:t})},Qt("tables()",function(t){var e;if(t){e=Yt;var i=this.context;if("number"==typeof t)t=[i[t]];else var s=n.map(i,function(t){return t.nTable}),t=n(s).filter(t).map(function(){var t=n.inArray(this,s);return i[t]}).toArray();e=new e(t)}else e=this;return e}),Qt("table()",function(t){var t=this.tables(t),e=t.context;return e.length?new Yt(e[0]):t}),Gt("tables().nodes()","table().node()",function(){return this.iterator("table",function(t){return t.nTable},1)}),Gt("tables().body()","table().body()",function(){return this.iterator("table",function(t){return t.nTBody},1)}),Gt("tables().header()","table().header()",function(){return this.iterator("table",function(t){return t.nTHead},1)}),Gt("tables().footer()","table().footer()",function(){return this.iterator("table",function(t){return t.nTFoot},1)}),Gt("tables().containers()","table().container()",function(){return this.iterator("table",function(t){return t.nTableWrapper},1)}),Qt("draw()",function(t){return this.iterator("table",function(e){F(e,!1===t)})}),Qt("page()",function(t){return t===i?this.page.info().page:this.iterator("table",function(e){ct(e,t)})}),Qt("page.info()",function(){if(0===this.context.length)return i;var t=this.context[0],e=t._iDisplayStart,n=t._iDisplayLength,s=t.fnRecordsDisplay(),r=-1===n;return{page:r?0:Math.floor(e/n),pages:r?1:Math.ceil(s/n),start:e,end:t.fnDisplayEnd(),length:n,recordsTotal:t.fnRecordsTotal(),recordsDisplay:s}}),Qt("page.len()",function(t){return t===i?0!==this.context.length?this.context[0]._iDisplayLength:i:this.iterator("table",function(e){at(e,t)})});
40var Se=function(t,e,i){if("ssp"==Bt(t)?F(t,e):(dt(t,!0),H(t,[],function(i){P(t);for(var i=U(t,i),n=0,s=i.length;n<s;n++)y(t,i[n]);F(t,e),dt(t,!1)})),i){var n=new Yt(t);n.one("draw",function(){i(n.ajax.json())})}};Qt("ajax.json()",function(){var t=this.context;if(0<t.length)return t[0].json}),Qt("ajax.params()",function(){var t=this.context;if(0<t.length)return t[0].oAjaxData}),Qt("ajax.reload()",function(t,e){return this.iterator("table",function(i){Se(i,!1===e,t)})}),Qt("ajax.url()",function(t){var e=this.context;return t===i?0===e.length?i:(e=e[0],e.ajax?n.isPlainObject(e.ajax)?e.ajax.url:e.ajax:e.sAjaxSource):this.iterator("table",function(e){n.isPlainObject(e.ajax)?e.ajax.url=t:e.ajax=t})}),Qt("ajax.url().load()",function(t,e){return this.iterator("table",function(i){Se(i,!1===e,t)})});var Te=function(t,e){var s=[],r,o,a,l,u,c;for(r=typeof t,t&&"string"!==r&&"function"!==r&&t.length!==i||(t=[t]),a=0,l=t.length;a<l;a++)for(o=t[a]&&t[a].split?t[a].split(","):[t[a]],u=0,c=o.length;u<c;u++)(r=e("string"==typeof o[u]?n.trim(o[u]):o[u]))&&r.length&&s.push.apply(s,r);return s},Ce=function(t){return t||(t={}),t.filter&&!t.search&&(t.search=t.filter),{search:t.search||"none",order:t.order||"current",page:t.page||"all"}},ke=function(t){for(var e=0,i=t.length;e<i;e++)if(0<t[e].length)return t[0]=t[e],t.length=1,t.context=[t.context[e]],t;return t.length=0,t},Pe=function(t,e){var i,s,r,o=[],a=t.aiDisplay;i=t.aiDisplayMaster;var l=e.search;if(s=e.order,r=e.page,"ssp"==Bt(t))return"removed"===l?[]:he(0,i.length);if("current"==r)for(i=t._iDisplayStart,s=t.fnDisplayEnd();i<s;i++)o.push(a[i]);else if("current"==s||"applied"==s)o="none"==l?i.slice():"applied"==l?a.slice():n.map(i,function(t){return-1===n.inArray(t,a)?t:null});else if("index"==s||"original"==s)for(i=0,s=t.aoData.length;i<s;i++)"none"==l?o.push(i):(-1===(r=n.inArray(i,a))&&"removed"==l||0<=r&&"applied"==l)&&o.push(i);return o};Qt("rows()",function(t,e){t===i?t="":n.isPlainObject(t)&&(e=t,t="");var e=Ce(e),s=this.iterator("table",function(i){var s=e;return Te(t,function(t){var e=re(t);if(null!==e&&!s)return[e];var r=Pe(i,s);return null!==e&&-1!==n.inArray(e,r)?[e]:t?"function"==typeof t?n.map(r,function(e){var n=i.aoData[e];return t(e,n._aData,n.nTr)?e:null}):(e=de(ce(i.aoData,r,"nTr")),t.nodeName&&-1!==n.inArray(t,e)?[t._DT_RowIndex]:n(e).filter(t).map(function(){return this._DT_RowIndex}).toArray()):r})},1);return s.selector.rows=t,s.selector.opts=e,s}),Qt("rows().nodes()",function(){return this.iterator("row",function(t,e){return t.aoData[e].nTr||i},1)}),Qt("rows().data()",function(){return this.iterator(!0,"rows",function(t,e){return ce(t.aoData,e,"_aData")},1)}),Gt("rows().cache()","row().cache()",function(t){return this.iterator("row",function(e,i){var n=e.aoData[i];return"search"===t?n._aFilterData:n._aSortData},1)}),Gt("rows().invalidate()","row().invalidate()",function(t){return this.iterator("row",function(e,i){j(e,i,t)})}),Gt("rows().indexes()","row().index()",function(){return this.iterator("row",function(t,e){return e},1)}),Gt("rows().remove()","row().remove()",function(){var t=this;return this.iterator("row",function(e,i,s){var r=e.aoData;r.splice(i,1);for(var o=0,a=r.length;o<a;o++)null!==r[o].nTr&&(r[o].nTr._DT_RowIndex=o);n.inArray(i,e.aiDisplay),D(e.aiDisplayMaster,i),D(e.aiDisplay,i),D(t[s],i,!1),$t(e)})}),Qt("rows.add()",function(t){var e=this.iterator("table",function(e){var i,n,s,r=[];for(n=0,s=t.length;n<s;n++)i=t[n],i.nodeName&&"TR"===i.nodeName.toUpperCase()?r.push(b(e,i)[0]):r.push(y(e,i));return r},1),i=this.rows(-1);return i.pop(),i.push.apply(i,e.toArray()),i}),Qt("row()",function(t,e){return ke(this.rows(t,e))}),Qt("row().data()",function(t){var e=this.context;return t===i?e.length&&this.length?e[0].aoData[this[0]]._aData:i:(e[0].aoData[this[0]]._aData=t,j(e[0],this[0],"data"),this)}),Qt("row().node()",function(){var t=this.context;return t.length&&this.length?t[0].aoData[this[0]].nTr||null:null}),Qt("row.add()",function(t){t instanceof n&&t.length&&(t=t[0]);var e=this.iterator("table",function(e){return t.nodeName&&"TR"===t.nodeName.toUpperCase()?b(e,t)[0]:y(e,t)});return this.row(e[0])});var De=function(t,e){var n=t.context;n.length&&(n=n[0].aoData[e!==i?e:t[0]],n._details&&(n._details.remove(),n._detailsShow=i,n._details=i))},je=function(t,e){var i=t.context;if(i.length&&t.length){var n=i[0].aoData[t[0]];if(n._details){(n._detailsShow=e)?n._details.insertAfter(n.nTr):n._details.detach();var s=i[0],r=new Yt(s),o=s.aoData;r.off("draw.dt.DT_details column-visibility.dt.DT_details destroy.dt.DT_details"),0<ue(o,"_details").length&&(r.on("draw.dt.DT_details",function(t,e){s===e&&r.rows({page:"current"}).eq(0).each(function(t){t=o[t],t._detailsShow&&t._details.insertAfter(t.nTr)})}),r.on("column-visibility.dt.DT_details",function(t,e){if(s===e)for(var i,n=m(e),r=0,a=o.length;r<a;r++)i=o[r],i._details&&i._details.children("td[colspan]").attr("colspan",n)}),r.on("destroy.dt.DT_details",function(t,e){if(s===e)for(var i=0,n=o.length;i<n;i++)o[i]._details&&De(r,i)}
40))}}};Qt("row().child()",function(t,e){var s=this.context;if(t===i)return s.length&&this.length?s[0].aoData[this[0]]._details:i;if(!0===t)this.child.show();else if(!1===t)De(this);else if(s.length&&this.length){var r=s[0],s=s[0].aoData[this[0]],o=[],a=function(t,e){if(t.nodeName&&"tr"===t.nodeName.toLowerCase())o.push(t);else{var i=n("<tr><td/></tr>").addClass(e);n("td",i).addClass(e).html(t)[0].colSpan=m(r),o.push(i[0])}};if(n.isArray(t)||t instanceof n)for(var l=0,u=t.length;l<u;l++)a(t[l],e);else a(t,e);s._details&&s._details.remove(),s._details=n(o),s._detailsShow&&s._details.insertAfter(s.nTr)}return this}),Qt(["row().child.show()","row().child().show()"],function(){return je(this,!0),this}),Qt(["row().child.hide()","row().child().hide()"],function(){return je(this,!1),this}),Qt(["row().child.remove()","row().child().remove()"],function(){return De(this),this}),Qt("row().child.isShown()",function(){var t=this.context;return!(!t.length||!this.length)&&(t[0].aoData[this[0]]._detailsShow||!1)});var Ie=/^(.+):(name|visIdx|visible)$/,Ee=function(t,e,i,n,s){for(var i=[],n=0,r=s.length;n<r;n++)i.push(w(t,s[n],e));return i};Qt("columns()",function(t,e){t===i?t="":n.isPlainObject(t)&&(e=t,t="");var e=Ce(e),s=this.iterator("table",function(i){var s=t,r=e,o=i.aoColumns,a=ue(o,"sName"),l=ue(o,"nTh");return Te(s,function(t){var e=re(t);if(""===t)return he(o.length);if(null!==e)return[e>=0?e:o.length+e];if("function"==typeof t){var s=Pe(i,r);return n.map(o,function(e,n){return t(n,Ee(i,n,0,0,s),l[n])?n:null})}var u="string"==typeof t?t.match(Ie):"";if(!u)return n(l).filter(t).map(function(){return n.inArray(this,l)}).toArray();switch(u[2]){case"visIdx":case"visible":if((e=parseInt(u[1],10))<0){var c=n.map(o,function(t,e){return t.bVisible?e:null});return[c[c.length+e]]}return[f(i,e)];case"name":return n.map(a,function(t,e){return t===u[1]?e:null})}})},1);return s.selector.cols=t,s.selector.opts=e,s}),Gt("columns().header()","column().header()",function(){return this.iterator("column",function(t,e){return t.aoColumns[e].nTh},1)}),Gt("columns().footer()","column().footer()",function(){return this.iterator("column",function(t,e){return t.aoColumns[e].nTf},1)}),Gt("columns().data()","column().data()",function(){return this.iterator("column-rows",Ee,1)}),Gt("columns().dataSrc()","column().dataSrc()",function(){return this.iterator("column",function(t,e){return t.aoColumns[e].mData},1)}),Gt("columns().cache()","column().cache()",function(t){return this.iterator("column-rows",function(e,i,n,s,r){return ce(e.aoData,r,"search"===t?"_aFilterData":"_aSortData",i)},1)}),Gt("columns().nodes()","column().nodes()",function(){return this.iterator("column-rows",function(t,e,i,n,s){return ce(t.aoData,s,"anCells",e)},1)}),Gt("columns().visible()","column().visible()",function(t,e){return this.iterator("column",function(s,r){if(t===i)return s.aoColumns[r].bVisible;var o=s.aoColumns,a=o[r],l=s.aoData,u,c,h;if(t!==i&&a.bVisible!==t){if(t){var d=n.inArray(!0,ue(o,"bVisible"),r+1);for(u=0,c=l.length;u<c;u++)h=l[u].nTr,o=l[u].anCells,h&&h.insertBefore(o[r],o[d]||null)}else n(ue(s.aoData,"anCells",r)).detach();a.bVisible=t,L(s,s.aoHeader),L(s,s.aoFooter),(e===i||e)&&(p(s),(s.oScroll.sX||s.oScroll.sY)&&ft(s)),zt(s,null,"column-visibility",[s,r,t]),Et(s)}})}),Gt("columns().indexes()","column().index()",function(t){return this.iterator("column",function(e,i){return"visible"===t?$(e,i):i},1)}),Qt("columns.adjust()",function(){return this.iterator("table",function(t){p(t)},1)}),Qt("column.index()",function(t,e){if(0!==this.context.length){var i=this.context[0];if("fromVisible"===t||"toData"===t)return f(i,e);if("fromData"===t||"toVisible"===t)return $(i,e)}}),Qt("column()",function(t,e){return ke(this.columns(t,e))}),Qt("cells()",function(t,e,s){if(n.isPlainObject(t)&&(typeof t.row!==i?(s=e,e=null):(s=t,t=null)),n.isPlainObject(e)&&(s=e,e=null),null===e||e===i)return this.iterator("table",function(e){var r=t,o=Ce(s),a=e.aoData,l=Pe(e,o),o=de(ce(a,l,"anCells")),u=n([].concat.apply([],o)),c,h=e.aoColumns.length,d,p,f,m,g,v;return Te(r,function(t){var s="function"==typeof t;if(null===t||t===i||s){for(d=[],p=0,f=l.length;p<f;p++)for(c=l[p],m=0;m<h;m++)g={row:c,column:m},s?(v=e.aoData[c],t(g,w(e,c,m),v.anCells[m])&&d.push(g)):d.push(g);return d}return n.isPlainObject(t)?[t]:u.filter(t).map(function(t,e){return c=e.parentNode._DT_RowIndex,{row:c,column:n.inArray(e,a[c].anCells)}}).toArray()})});var r=this.columns(e,s),o=this.rows(t,s),a,l,u,c,h,d=this.iterator("table",function(t,e){for(a=[],l=0,u=o[e].length;l<u;l++)for(c=0,h=r[e].length;c<h;c++)a.push({row:o[e][l],column:r[e][c]});return a},1);return n.extend(d.selector,{cols:e,rows:t,opts:s}),d}),Gt("cells().nodes()","cell().node()",function(){return this.iterator("cell",function(t,e,n){return(t=t.aoData[e].anCells)?t[n]:i},1)}),Qt("cells().data()",function(){return this.iterator("cell",function(t,e,
40i){return w(t,e,i)},1)}),Gt("cells().cache()","cell().cache()",function(t){return t="search"===t?"_aFilterData":"_aSortData",this.iterator("cell",function(e,i,n){return e.aoData[i][t][n]},1)}),Gt("cells().render()","cell().render()",function(t){return this.iterator("cell",function(e,i,n){return w(e,i,n,t)},1)}),Gt("cells().indexes()","cell().index()",function(){return this.iterator("cell",function(t,e,i){return{row:e,column:i,columnVisible:$(t,i)}},1)}),Gt("cells().invalidate()","cell().invalidate()",function(t){return this.iterator("cell",function(e,i,n){j(e,i,t,n)})}),Qt("cell()",function(t,e,i){return ke(this.cells(t,e,i))}),Qt("cell().data()",function(t){var e=this.context,n=this[0];return t===i?e.length&&n.length?w(e[0],n[0].row,n[0].column):i:(x(e[0],n[0].row,n[0].column,t),j(e[0],n[0].row,"data",n[0].column),this)}),Qt("order()",function(t,e){var s=this.context;return t===i?0!==s.length?s[0].aaSorting:i:("number"==typeof t?t=[[t,e]]:n.isArray(t[0])||(t=Array.prototype.slice.call(arguments)),this.iterator("table",function(e){e.aaSorting=t.slice()}))}),Qt("order.listener()",function(t,e,i){return this.iterator("table",function(n){Dt(n,t,e,i)})}),Qt(["columns().order()","column().order()"],function(t){var e=this;return this.iterator("table",function(i,s){var r=[];n.each(e[s],function(e,i){r.push([i,t])}),i.aaSorting=r})}),Qt("search()",function(t,e,s,r){var o=this.context;return t===i?0!==o.length?o[0].oPreviousSearch.sSearch:i:this.iterator("table",function(i){i.oFeatures.bFilter&&X(i,n.extend({},i.oPreviousSearch,{sSearch:t+"",bRegex:null!==e&&e,bSmart:null===s||s,bCaseInsensitive:null===r||r}),1)})}),Gt("columns().search()","column().search()",function(t,e,s,r){return this.iterator("column",function(o,a){var l=o.aoPreSearchCols;if(t===i)return l[a].sSearch;o.oFeatures.bFilter&&(n.extend(l[a],{sSearch:t+"",bRegex:null!==e&&e,bSmart:null===s||s,bCaseInsensitive:null===r||r}),X(o,o.oPreviousSearch,1))})}),Qt("state()",function(){return this.context.length?this.context[0].oSavedState:null}),Qt("state.clear()",function(){return this.iterator("table",function(t){t.fnStateSaveCallback.call(t.oInstance,t,{})})}),Qt("state.loaded()",function(){return this.context.length?this.context[0].oLoadedState:null}),Qt("state.save()",function(){return this.iterator("table",function(t){Et(t)})}),Vt.versionCheck=Vt.fnVersionCheck=function(t){for(var e=Vt.version.split("."),t=t.split("."),i,n,s=0,r=t.length;s<r;s++)if(i=parseInt(e[s],10)||0,n=parseInt(t[s],10)||0,i!==n)return i>n;return!0},Vt.isDataTable=Vt.fnIsDataTable=function(t){var e=n(t).get(0),i=!1;return n.each(Vt.settings,function(t,n){n.nTable!==e&&n.nScrollHead!==e&&n.nScrollFoot!==e||(i=!0)}),i},Vt.tables=Vt.fnTables=function(t){return n.map(Vt.settings,function(e){if(!t||t&&n(e.nTable).is(":visible"))return e.nTable})},Vt.util={throttle:vt,escapeRegex:Z},Vt.camelToHungarian=r,Qt("$()",function(t,e){var i=this.rows(e).nodes(),i=n(i);return n([].concat(i.filter(t).toArray(),i.find(t).toArray()))}),n.each(["on","one","off"],function(t,e){Qt(e+"()",function(){var t=Array.prototype.slice.call(arguments);t[0].match(/\.dt\b/)||(t[0]+=".dt");var i=n(this.tables().nodes());return i[e].apply(i,t),this})}),Qt("clear()",function(){return this.iterator("table",function(t){P(t)})}),Qt("settings()",function(){return new Yt(this.context,this.context)}),Qt("data()",function(){return this.iterator("table",function(t){return ue(t.aoData,"_aData")}).flatten()}),Qt("destroy()",function(e){return e=e||!1,this.iterator("table",function(i){var s=i.nTableWrapper.parentNode,r=i.oClasses,o=i.nTable,a=i.nTBody,l=i.nTHead,u=i.nTFoot,c=n(o),a=n(a),h=n(i.nTableWrapper),d=n.map(i.aoData,function(t){return t.nTr}),p;i.bDestroying=!0,zt(i,"aoDestroyCallback","destroy",[i]),e||new Yt(i).columns().visible(!0),h.unbind(".DT").find(":not(tbody *)").unbind(".DT"),n(t).unbind(".DT-"+i.sInstance),o!=l.parentNode&&(c.children("thead").detach(),c.append(l)),u&&o!=u.parentNode&&(c.children("tfoot").detach(),c.append(u)),c.detach(),h.detach(),i.aaSorting=[],i.aaSortingFixed=[],jt(i),n(d).removeClass(i.asStripeClasses.join(" ")),n("th, td",l).removeClass(r.sSortable+" "+r.sSortableAsc+" "+r.sSortableDesc+" "+r.sSortableNone),i.bJUI&&(n("th span."+r.sSortIcon+", td span."+r.sSortIcon,l).detach(),n("th, td",l).each(function(){var t=n("div."+r.sSortJUIWrapper,this);n(this).append(t.contents()),t.detach()}
40)),!e&&s&&s.insertBefore(o,i.nTableReinsertBefore),a.children().detach(),a.append(d),c.css("width",i.sDestroyWidth).removeClass(r.sTable),(p=i.asDestroyStripes.length)&&a.children().each(function(t){n(this).addClass(i.asDestroyStripes[t%p])}),-1!==(s=n.inArray(i,Vt.settings))&&Vt.settings.splice(s,1)})}),Vt.version="1.10.4",Vt.settings=[],Vt.models={},Vt.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0},Vt.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null},Vt.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null},Vt.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bJQueryUI:!1,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(t){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(t){try{return JSON.parse((-1===t.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+t.sInstance+"_"+location.pathname))}catch(t){}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(t,e){try{(-1===t.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+t.sInstance+"_"+location.pathname,JSON.stringify(e))}catch(t){}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:": activate to sort column ascending",sSortDescending:": activate to sort column descending"},oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"Processing...",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:n.extend({},Vt.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null},s(Vt.defaults),Vt.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null},s(Vt.defaults.column),Vt.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,bAjaxDataGet:!0,jqXHR:null,json:i,oAjaxD
40ata:i,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,bJUI:null,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==Bt(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==Bt(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var t=this._iDisplayLength,e=this._iDisplayStart,i=e+t,n=this.aiDisplay.length,s=this.oFeatures,r=s.bPaginate;return s.bServerSide?!1===r||-1===t?e+n:Math.min(e+t,this._iRecordsDisplay):!r||i>n||-1===t?n:i},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{}},Vt.ext=Xt={classes:{},errMode:"alert",feature:[],search:[],internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:Vt.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:Vt.version},n.extend(Xt,{afnFiltering:Xt.search,aTypes:Xt.type.detect,ofnSearch:Xt.type.search,oSort:Xt.type.order,afnSortData:Xt.order,aoFeatures:Xt.feature,oApi:Xt.internal,oStdClasses:Xt.classes,oPagination:Xt.pager}),n.extend(Vt.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled",sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty",sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_asc_disabled",sSortableDesc:"sorting_desc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:"dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",sJUIHeader:"",sJUIFooter:""});var Ae="",Ae="",Me=Ae+"ui-state-default",Le=Ae+"css_right ui-icon ui-icon-",Re=Ae+"fg-toolbar ui-toolbar ui-widget-header ui-helper-clearfix";n.extend(Vt.ext.oJUIClasses,Vt.ext.classes,{sPageButton:"fg-button ui-button "+Me,sPageButtonActive:"ui-state-disabled",sPageButtonDisabled:"ui-state-disabled",sPaging:"dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi ui-buttonset-multi paging_",sSortAsc:Me+" sorting_asc",sSortDesc:Me+" sorting_desc",sSortable:Me+" sorting",sSortableAsc:Me+" sorting_asc_disabled",sSortableDesc:Me+" sorting_desc_disabled",sSortableNone:Me+" sorting_disabled",sSortJUIAsc:Le+"triangle-1-n",sSortJUIDesc:Le+"triangle-1-s",sSortJUI:Le+"carat-2-n-s",sSortJUIAscAllowed:Le+"carat-1-n",sSortJUIDescAllowed:Le+"carat-1-s",sSortJUIWrapper:"DataTables_sort_wrapper",sSortIcon:"DataTables_sort_icon",sScrollHead:"dataTables_scrollHead "+Me,sScrollFoot:"dataTables_scrollFoot "+Me,sHeaderTH:Me,sFooterTH:Me,sJUIHeader:Re+" ui-corner-tl ui-corner-tr",sJUIFooter:Re+" ui-corner-bl ui-corner-br"});var Fe=Vt.ext.pager;n.extend(Fe,{simple:function(){return["previous","next"]},full:function(){return["first","previous","next","last"]},simple_numbers:function(t,e){return["previous",Wt(t,e),"next"]},full_numbers:function(t,e){return["first","previous",Wt(t,e),"next","last"]},_numbers:Wt,numbers_length:7}),n.extend(!0,Vt.ext.renderer,{pageButton:{_:function(t,i,s,r,o,a){
41var l=t.oClasses,u=t.oLanguage.oPaginate,c,h,d=0,p=function(e,i){var r,f,m,g,v=function(e){ct(t,e.data.action,!0)};for(r=0,f=i.length;r<f;r++)if(g=i[r],n.isArray(g))m=n("<"+(g.DT_el||"div")+"/>").appendTo(e),p(m,g);else{switch(h=c="",g){case"ellipsis":e.append("<span>&hellip;</span>");break;case"first":c=u.sFirst,h=g+(o>0?"":" "+l.sPageButtonDisabled);break;case"previous":c=u.sPrevious,h=g+(o>0?"":" "+l.sPageButtonDisabled);break;case"next":c=u.sNext,h=g+(o<a-1?"":" "+l.sPageButtonDisabled);break;case"last":c=u.sLast,h=g+(o<a-1?"":" "+l.sPageButtonDisabled);break;default:c=g+1,h=o===g?l.sPageButtonActive:""}c&&(m=n("<a>",{class:l.sPageButton+" "+h,"aria-controls":t.sTableId,"data-dt-idx":d,tabindex:t.iTabIndex,id:0===s&&"string"==typeof g?t.sTableId+"_"+g:null}).html(c).appendTo(e),Nt(m,{action:g},v),d++)}};try{var f=n(e.activeElement).data("dt-idx");p(n(i).empty(),r),null!==f&&n(i).find("[data-dt-idx="+f+"]").focus()}catch(t){}}}}),n.extend(Vt.ext.type.detect,[function(t,e){var i=e.oLanguage.sDecimal;return ae(t,i)?"num"+i:null},function(t){if(t&&!(t instanceof Date)&&(!te.test(t)||!ee.test(t)))return null;var e=Date.parse(t);return null!==e&&!isNaN(e)||se(t)?"date":null},function(t,e){var i=e.oLanguage.sDecimal;return ae(t,i,!0)?"num-fmt"+i:null},function(t,e){var i=e.oLanguage.sDecimal;return le(t,i)?"html-num"+i:null},function(t,e){var i=e.oLanguage.sDecimal;return le(t,i,!0)?"html-num-fmt"+i:null},function(t){return se(t)||"string"==typeof t&&-1!==t.indexOf("<")?"html":null}]),n.extend(Vt.ext.type.search,{html:function(t){return se(t)?t:"string"==typeof t?t.replace(Zt," ").replace(Kt,""):""},string:function(t){return se(t)?t:"string"==typeof t?t.replace(Zt," "):t}});
41var Ne=function(t,e,i,n){return 0===t||t&&"-"!==t?(e&&(t=oe(t,e)),t.replace&&(i&&(t=t.replace(i,"")),n&&(t=t.replace(n,""))),1*t):-1/0};return n.extend(Xt.type.order,{"date-pre":function(t){return Date.parse(t)||0},"html-pre":function(t){return se(t)?"":t.replace?t.replace(/<.*?>/g,"").toLowerCase():t+""},"string-pre":function(t){return se(t)?"":"string"==typeof t?t.toLowerCase():t.toString?t.toString():""},"string-asc":function(t,e){return t<e?-1:t>e?1:0},"string-desc":function(t,e){return t<e?1:t>e?-1:0}}),qt(""),n.extend(!0,Vt.ext.renderer,{header:{_:function(t,e,i,s){n(t.nTable).on("order.dt.DT",function(n,r,o,a){t===r&&(n=i.idx,e.removeClass(i.sSortingClass+" "+s.sSortAsc+" "+s.sSortDesc).addClass("asc"==a[n]?s.sSortAsc:"desc"==a[n]?s.sSortDesc:i.sSortingClass))})},jqueryui:function(t,e,i,s){n("<div/>").addClass(s.sSortJUIWrapper).append(e.contents()).append(n("<span/>").addClass(s.sSortIcon+" "+i.sSortingClassJUI)).appendTo(e),n(t.nTable).on("order.dt.DT",function(n,r,o,a){t===r&&(n=i.idx,e.removeClass(s.sSortAsc+" "+s.sSortDesc).addClass("asc"==a[n]?s.sSortAsc:"desc"==a[n]?s.sSortDesc:i.sSortingClass),e.find("span."+s.sSortIcon).removeClass(s.sSortJUIAsc+" "+s.sSortJUIDesc+" "+s.sSortJUI+" "+s.sSortJUIAscAllowed+" "+s.sSortJUIDescAllowed).addClass("asc"==a[n]?s.sSortJUIAsc:"desc"==a[n]?s.sSortJUIDesc:i.sSortingClassJUI))})}}}),Vt.render={number:function(t,e,i,n){return{display:function(s){var r=0>s?"-":"",s=Math.abs(parseFloat(s)),o=parseInt(s,10),s=i?e+(s-o).toFixed(i).substring(2):"";return r+(n||"")+o.toString().replace(/\B(?=(\d{3})+(?!\d))/g,t)+s}}}},n.extend(Vt.ext.internal,{_fnExternApiFunc:Ut,_fnBuildAjax:H,_fnAjaxUpdate:B,_fnAjaxParameters:W,_fnAjaxUpdateDraw:q,_fnAjaxDataSrc:U,_fnAddColumn:h,_fnColumnOptions:d,_fnAdjustColumnSizing:p,_fnVisibleToColumnIndex:f,_fnColumnIndexToVisible:$,_fnVisbleColumns:m,_fnGetColumns:g,_fnColumnTypes:v,_fnApplyColumnDefs:_,_fnHungarianMap:s,_fnCamelToHungarian:r,_fnLanguageCompat:o,_fnBrowserDetect:u,_fnAddData:y,_fnAddTr:b,_fnNodeToDataIndex:function(t,e){return e._DT_RowIndex!==i?e._DT_RowIndex:null},_fnNodeToColumnIndex:function(t,e,i){return n.inArray(i,t.aoData[e].anCells)},_fnGetCellData:w,_fnSetCellData:x,_fnSplitObjNotation:S,_fnGetObjectDataFn:T,_fnSetObjectDataFn:C,_fnGetDataMaster:k,_fnClearTable:P,_fnDeleteIndex:D,_fnInvalidate:j,_fnGetRowElements:I,_fnCreateTr:E,_fnBuildHead:M,_fnDrawHead:L,_fnDraw:R,_fnReDraw:F,_fnAddOptionsHtml:N,_fnDetectHeader:O,_fnGetUniqueThs:z,_fnFeatureHtmlFilter:V,_fnFilterComplete:X,_fnFilterCustom:Y,_fnFilterColumn:Q,_fnFilter:G,_fnFilterCreateSearch:J,_fnEscapeRegex:Z,_fnFilterData:K,_fnFeatureHtmlInfo:it,_fnUpdateInfo:nt,_fnInfoMacros:st,_fnInitialise:rt,_fnInitComplete:ot,_fnLengthChange:at,_fnFeatureHtmlLength:lt,_fnFeatureHtmlPaginate:ut,_fnPageChange:ct,_fnFeatureHtmlProcessing:ht,_fnProcessingDisplay:dt,_fnFeatureHtmlTable:pt,_fnScrollDraw:ft,_fnApplyToChildren:mt,_fnCalculateColumnWidths:gt,_fnThrottle:vt,_fnConvertToWidth:_t,_fnScrollingWidthAdjust:yt,_fnGetWidestNode:bt,_fnGetMaxLenString:wt,_fnStringToCss:xt,_fnScrollBarWidth:St,_fnSortFlatten:Tt,_fnSort:Ct,_fnSortAria:kt,_fnSortListener:Pt,_fnSortAttachListener:Dt,_fnSortingClasses:jt,_fnSortData:It,_fnSaveState:Et,_fnLoadState:At,_fnSettingsFromNode:Mt,_fnLog:Lt,_fnMap:Rt,_fnBindAction:Nt,_fnCallbackReg:Ot,_fnCallbackFire:zt,_fnLengthOverflow:$t,_fnRenderer:Ht,_fnDataSource:Bt,_fnRowAttributes:A,_fnCalculateEnd:function(){}}),n.fn.dataTable=Vt,n.fn.dataTableSettings=Vt.settings,n.fn.dataTableExt=Vt.ext,n.fn.DataTable=function(t){return n(this).dataTable(t).api()},n.each(Vt,function(t,e){n.fn.DataTable[t]=e}),n.fn.dataTable};"function"==typeof define&&define.amd?define("datatables",["jquery"],n):"object"==typeof exports?n(require("jquery")):jQuery&&!jQuery.fn.dataTable&&n(jQuery)}(window,document),function(){var t,e,i,n,s,r={}.hasOwnProperty,o=function(t,e){function i(){this.constructor=t}for(var n in e)r.call(e,n)&&(t[n]=e[n]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t};n=function(){function t(){this.options_index=0,this.parsed=[]}return t.prototype.add_node=function(t){return"OPTGROUP"===t.nodeName.toUpperCase()?this.add_group(t):this.add_option(t)},t.prototype.add_group=function(t){var e,i,n,s,r,o;for(e=this.parsed.length,this.parsed.push({array_index:e,group:!0,label:this.escapeExpression(t.label),children:0,disabled:t.disabled,classes:t.className}),r=t.childNodes,o=[],n=0,s=r.length;s>n;n++)i=r[n],o.push(this.add_option(i,e,t.disabled));return o}
vendor: 19,637 bytes, line 41
41,t.prototype.add_option=function(t,e,i){return"OPTION"===t.nodeName.toUpperCase()?(""!==t.text?(null!=e&&(this.parsed[e].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:t.value,text:t.text,html:t.innerHTML,selected:t.selected,disabled:!0===i?i:t.disabled,group_array_index:e,classes:t.className,style:t.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1):void 0},t.prototype.escapeExpression=function(t){var e,i;return null==t||!1===t?"":/[\&\<\>\"\'\`]/.test(t)?(e={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},i=/&(?!\w+;)|[\<\>\"\'\`]/g,t.replace(i,function(t){return e[t]||"&amp;"})):t},t}(),n.select_to_array=function(t){var e,i,s,r,o;for(i=new n,o=t.childNodes,s=0,r=o.length;r>s;s++)e=o[s],i.add_node(e);return i.parsed},e=function(){function t(e,i){this.form_field=e,this.options=null!=i?i:{},t.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers(),this.on_ready())}return t.prototype.set_default_values=function(){var t=this;return this.click_test_action=function(e){return t.test_active_click(e)},this.activate_action=function(e){return t.activate_field(e)},this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text&&this.options.allow_single_deselect,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null==this.options.enable_split_word_search||this.options.enable_split_word_search,this.group_search=null==this.options.group_search||this.options.group_search,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null==this.options.single_backstroke_delete||this.options.single_backstroke_delete,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null==this.options.display_selected_options||this.options.display_selected_options,this.display_disabled_options=null==this.options.display_disabled_options||this.options.display_disabled_options},t.prototype.set_default_text=function(){return this.default_text=this.form_field.getAttribute("data-placeholder")?this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.options.placeholder_text_multiple||this.options.placeholder_text||t.default_multiple_text:this.options.placeholder_text_single||this.options.placeholder_text||t.default_single_text,this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||t.default_no_result_text},t.prototype.mouse_enter=function(){return this.mouse_on_container=!0},t.prototype.mouse_leave=function(){return this.mouse_on_container=!1},t.prototype.input_focus=function(){var t=this;if(this.is_multiple){if(!this.active_field)return setTimeout(function(){return t.container_mousedown()},50)}else if(!this.active_field)return this.activate_field()},t.prototype.input_blur=function(){var t=this;return this.mouse_on_container?void 0:(this.active_field=!1,setTimeout(function(){return t.blur_test()},100))},t.prototype.results_option_build=function(t){var e,i,n,s,r;for(e="",r=this.results_data,n=0,s=r.length;s>n;n++)i=r[n],e+=i.group?this.result_add_group(i):this.result_add_option(i),(null!=t?t.first:void 0)&&(i.selected&&this.is_multiple?this.choice_build(i):i.selected&&!this.is_multiple&&this.single_set_selected_text(i.text));return e},t.prototype.result_add_option=function(t){var e,i;return t.search_match&&this.include_option_in_results(t)?(e=[],t.disabled||t.selected&&this.is_multiple||e.push("active-result"),!t.disabled||t.selected&&this.is_multiple||e.push("disabled-result"),t.selected&&e.push("result-selected"),null!=t.group_array_index&&e.push("group-option"),""!==t.classes&&e.push(t.classes),i=document.createElement("li"),i.className=e.join(" "),i.style.cssText=t.style,i.setAttribute("data-option-array-index",t.array_index),i.innerHTML=t.search_text,this.outerHTML(i)):""},t.prototype.result_add_group=function(t){var e,i;return(t.search_match||t.group_match)&&t.active_options>0?(e=[],e.push("group-result"),t.classes&&e.push(t.classes),i=document.createElement("li"),i.className=e.join(" "),i.innerHTML=t.search_text,this.outerHTML(i)):""},t.prototype.results_update_field=function(){return this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing?this.winnow_results():void 0},t.prototype.reset_single_select_options=function(){var t,e,i,n,s;for(n=this.results_data,s=[],e=0,i=n.length;i>e;e++)t=n[e],t.selected?s.push(t.selected=!1):s.push(void 0);return s},t.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},t.prototype.results_search=function(){return this.results_showing?this.winnow_results():this.results_show()},t.prototype.winnow_results=function(){var t,e,i,n,s,r,o,a,l,u,c,h;for(this.no_results_clear(),n=0,r=this.get_search_text(),t=r.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),l=new RegExp(t,"i"),i=this.get_search_regex(t),h=this.results_data,u=0,c=h.length;c>u;u++)e=h[u],e.search_match=!1,s=null,this.include_option_in_results(e)&&(e.group&&(e.group_match=!1,e.active_options=0),null!=e.group_array_index&&this.results_data[e.group_array_index]&&(s=this.results_data[e.group_array_index],0===s.active_options&&s.search_match&&(n+=1),s.active_options+=1),(!e.group||this.group_search)&&(e.search_text=e.group?e.label:e.text,e.search_match=this.search_string_match(e.search_text,i),e.search_match&&!e.group&&(n+=1),e.search_match?(r.length&&(o=e.search_text.search(l),a=e.search_text.substr(0,o+r.length)+"</em>"+e.search_text.substr(o+r.length),e.search_text=a.substr(0,o)+"<em>"+a.substr(o)),null!=s&&(s.group_match=!0)):null!=e.group_array_index&&this.results_data[e.group_array_index].search_match&&(e.search_match=!0)));return this.result_clear_highlight(),1>n&&r.length?(this.update_results_content(""),this.no_results(r)):(this.update_results_content(this.results_option_build()),this.winnow_results_set_highlight())},t.prototype.get_search_regex=function(t){var e;return e=this.search_contains?"":"^",new RegExp(e+t,"i")},t.prototype.search_string_match=function(t,e){var i,n,s,r;if(e.test(t))return!0;if(this.enable_split_word_search&&(t.indexOf(" ")>=0||0===t.indexOf("["))&&(n=t.replace(/\[|\]/g,"").split(" "),n.length))for(s=0,r=n.length;r>s;s++)if(i=n[s],e.test(i))return!0},t.prototype.choices_count=function(){var t,e,i,n;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,n=this.form_field.options,e=0,i=n.length;i>e;e++)t=n[e],t.selected&&(this.selected_option_count+=1);return this.selected_option_count},t.prototype.choices_click=function(t){return t.preventDefault(),this.results_showing||this.is_disabled?void 0:this.results_show()},t.prototype.keyup_checker=function(t){var e,i;switch(e=null!=(i=t.which)?i:t.keyCode,this.search_field_scale(),e){case 8:if(this.is_multiple&&this.backstroke_length<1&&this.choices_count()>0)return this.keydown_backstroke();if(!this.pending_backstroke)return this.result_clear_highlight(),this.results_search();break;case 13:if(t.preventDefault(),this.results_showing)return this.result_select(t);break;case 27:return this.results_showing&&this.results_hide(),!0;case 9:case 38:case 40:case 16:case 91:case 17:break;default:return this.results_search()}},t.prototype.clipboard_event_checker=function(){var t=this;return setTimeout(function(){return t.results_search()},50)},t.prototype.container_width=function(){return null!=this.options.width?this.options.width:this.form_field.offsetWidth+"px"},t.prototype.include_option_in_results=function(t){return!(this.is_multiple&&!this.display_selected_options&&t.selected)&&(!(!this.display_disabled_options&&t.disabled)&&!t.empty)},t.prototype.search_results_touchstart=function(t){return this.touch_started=!0,this.search_results_mouseover(t)},t.prototype.search_results_touchmove=function(t){return this.touch_started=!1,this.search_results_mouseout(t)},t.prototype.search_results_touchend=function(t){return this.touch_started?this.search_results_mouseup(t):void 0},t.prototype.outerHTML=function(t){var e;return t.outerHTML?t.outerHTML:(e=document.createElement("div"),e.appendChild(t),e.innerHTML)},t.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?document.documentMode>=8:!/iP(od|hone)/i.test(window.navigator.userAgent)&&(!/Android/i.test(window.navigator.userAgent)||!/Mobile/i.test(window.navigator.userAgent))},t.default_multiple_text="Select Some Options",t.default_single_text="Select an Option",t.default_no_result_text="No results match",t}(),t=jQuery,t.fn.extend({chosen:function(n){return e.browser_is_supported()?this.each(function(){var e,s;e=t(this),s=e.data("chosen"),"destroy"===n&&s instanceof i?s.destroy():s instanceof i||e.data("chosen",new i(this,n))}):this}}),i=function(e){function i(){return s=i.__super__.constructor.apply(this,arguments)}return o(i,e),i.prototype.setup=function(){return this.form_field_jq=t(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex,this.is_rtl=this.form_field_jq.hasClass("chosen-rtl")},i.prototype.set_up_html=function(){var e,i;return e=["chosen-container"],e.push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&e.push(this.form_field.className),this.is_rtl&&e.push("chosen-rtl"),i={class:e.join(" "),style:"width: "+this.container_width()+";",title:this.form_field.title},this.form_field.id.length&&(i.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=t("<div />",i),this.is_multiple?this.container.html('<ul class="chosen-choices"><li class="search-field"><input type="text" value="'+this.default_text+'" class="default" autocomplete="off" style="width:25px;" /></li></ul><div class="chosen-drop"><ul class="chosen-results"></ul></div>'):this.container.html('<a class="chosen-single chosen-default" tabindex="-1"><span>'+this.default_text+'</span><div><b></b></div></a><div class="chosen-drop"><div class="chosen-search"><input type="text" autocomplete="off" /></div><ul class="chosen-results"></ul></div>'),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior()},i.prototype.on_ready=function(){return this.form_field_jq.trigger("chosen:ready",{chosen:this})},i.prototype.register_observers=function(){var t=this;return this.container.bind("touchstart.chosen",function(e){t.container_mousedown(e)}),this.container.bind("touchend.chosen",function(e){t.container_mouseup(e)}),this.container.bind("mousedown.chosen",function(e){t.container_mousedown(e)}),this.container.bind("mouseup.chosen",function(e){t.container_mouseup(e)}),this.container.bind("mouseenter.chosen",function(e){t.mouse_enter(e)}),this.container.bind("mouseleave.chosen",function(e){t.mouse_leave(e)}),this.search_results.bind("mouseup.chosen",function(e){t.search_results_mouseup(e)}),this.search_results.bind("mouseover.chosen",function(e){t.search_results_mouseover(e)}),this.search_results.bind("mouseout.chosen",function(e){t.search_results_mouseout(e)}),this.search_results.bind("mousewheel.chosen DOMMouseScroll.chosen",function(e){t.search_results_mousewheel(e)}),this.search_results.bind("touchstart.chosen",function(e){t.search_results_touchstart(e)}),this.search_results.bind("touchmove.chosen",function(e){t.search_results_touchmove(e)}),this.search_results.bind("touchend.chosen",function(e){t.search_results_touchend(e)}),this.form_field_jq.bind("chosen:updated.chosen",function(e){t.results_update_field(e)}),this.form_field_jq.bind("chosen:activate.chosen",function(e){t.activate_field(e)}),this.form_field_jq.bind("chosen:open.chosen",function(e){t.container_mousedown(e)}),this.form_field_jq.bind("chosen:close.chosen",function(e){t.input_blur(e)}),this.search_field.bind("blur.chosen",function(e){t.input_blur(e)}),this.search_field.bind("keyup.chosen",function(e){t.keyup_checker(e)}),this.search_field.bind("keydown.chosen",function(e){t.keydown_checker(e)}),this.search_field.bind("focus.chosen",function(e){t.input_focus(e)}),this.search_field.bind("cut.chosen",function(e){t.clipboard_event_checker(e)}),this.search_field.bind("paste.chosen",function(e){t.clipboard_event_checker(e)}),this.is_multiple?this.search_choices.bind("click.chosen",function(e){t.choices_click(e)}):this.container.bind("click.chosen",function(t){t.preventDefault()})},i.prototype.destroy=function(){return t(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},i.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field_jq[0].disabled,this.is_disabled?(this.container.addClass("chosen-disabled"),this.search_field[0].disabled=!0,this.is_multiple||this.selected_item.unbind("focus.chosen",this.activate_action),this.close_field()):(this.container.removeClass("chosen-disabled"),this.search_field[0].disabled=!1,this.is_multiple?void 0:this.selected_item.bind("focus.chosen",this.activate_action))},i.prototype.container_mousedown=function(e){return this.is_disabled||(e&&"mousedown"===e.type&&!this.results_showing&&e.preventDefault(),null!=e&&t(e.target).hasClass("search-choice-close"))?void 0:(this.active_field?this.is_multiple||!e||t(e.target)[0]!==this.selected_item[0]&&!t(e.target).parents("a.chosen-single").length||(e.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),t(this.container[0].ownerDocument).bind("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},i.prototype.container_mouseup=function(t){return"ABBR"!==t.target.nodeName||this.is_disabled?void 0:this.results_reset(t)},i.prototype.search_results_mousewheel=function(t){var e;return t.originalEvent&&(e=t.originalEvent.deltaY||-t.originalEvent.wheelDelta||t.originalEvent.detail),null!=e?(t.preventDefault(),"DOMMouseScroll"===t.type&&(e*=40),this.search_results.scrollTop(e+this.search_results.scrollTop())):void 0},i.prototype.blur_test=function(){return!this.active_field&&this.container.hasClass("chosen-container-active")?this.close_field():void 0},i.prototype.close_field=function(){return t(this.container[0].ownerDocument).unbind("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale()},i.prototype.activate_field=function(){return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},i.prototype.test_active_click=function(e){var i;return i=t(e.target).closest(".chosen-container"),i.length&&this.container[0]===i[0]?this.active_field=!0:this.close_field()},i.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=n.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():this.is_multiple||(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},i.prototype.result_do_highlight=function(t){var e,i,n,s,r;if(t.length){if(this.result_clear_highlight(),this.result_highlight=t,this.result_highlight.addClass("highlighted"),n=parseInt(this.search_results.css("maxHeight"),10),r=this.search_results.scrollTop(),s=n+r,i=this.result_highlight.position().top+this.search_results.scrollTop(),(e=i+this.result_highlight.outerHeight())>=s)return this.search_results.scrollTop(e-n>0?e-n:0);if(r>i)return this.search_results.scrollTop(i)}},i.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},i.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.container.addClass("chosen-with-drop"),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.search_field.val()),this.winnow_results(),this.form_field_jq.trigger("chosen:showing_dropdown",{chosen:this}))},i.prototype.update_results_content=function(t){return this.search_results.html(t)},i.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:hiding_dropdown",{chosen:this})),this.results_showing=!1},i.prototype.set_tab_index=function(){var t;return this.form_field.tabIndex?(t=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=t):void 0},i.prototype.set_label_behavior=function(){var e=this;return this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=t("label[for='"+this.form_field.id+"']")),this.form_field_label.length>0?this.form_field_label.bind("click.chosen",function(t){return e.is_multiple?e.container_mousedown(t):e.activate_field()}):void 0},i.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},i.prototype.search_results_mouseup=function(e){var i;return i=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first(),i.length?(this.result_highlight=i,this.result_select(e),this.search_field.focus()):void 0},i.prototype.search_results_mouseover=function(e){var i;return i=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first(),i?this.result_do_highlight(i):void 0},i.prototype.search_results_mouseout=function(e){return t(e.target).hasClass("active-result")?this.result_clear_highlight():void 0},i.prototype.choice_build=function(e){var i,n,s=this;return i=t("<li />",{class:"search-choice"}).html("<span>"+e.html+"</span>
41"),e.disabled?i.addClass("search-choice-disabled"):(n=t("<a />",{class:"search-choice-close","data-option-array-index":e.array_index}),n.bind("click.chosen",function(t){return s.choice_destroy_link_click(t)}),i.append(n)),this.search_container.before(i)},i.prototype.choice_destroy_link_click=function(e){return e.preventDefault(),e.stopPropagation(),this.is_disabled?void 0:this.choice_destroy(t(e.target))},i.prototype.choice_destroy=function(t){return this.result_deselect(t[0].getAttribute("data-option-array-index"))?(this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.search_field.val().length<1&&this.results_hide(),t.parents("li").first().remove(),this.search_field_scale()):void 0},i.prototype.results_reset=function(){return this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.form_field_jq.trigger("change"),this.active_field?this.results_hide():void 0},i.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},i.prototype.result_select=function(t){var e,i;return this.result_highlight?(e=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?e.removeClass("active-result"):this.reset_single_select_options(),i=this.results_data[e[0].getAttribute("data-option-array-index")],i.selected=!0,this.form_field.options[i.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(i):this.single_set_selected_text(i.text),(t.metaKey||t.ctrlKey)&&this.is_multiple||this.results_hide(),this.search_field.val(""),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.form_field_jq.trigger("change",{selected:this.form_field.options[i.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,this.search_field_scale())):void 0},i.prototype.single_set_selected_text=function(t){return null==t&&(t=this.default_text),t===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").text(t)},i.prototype.result_deselect=function(t){var e;return e=this.results_data[t],!this.form_field.options[e.options_index].disabled&&(e.selected=!1,this.form_field.options[e.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.form_field_jq.trigger("change",{deselected:this.form_field.options[e.options_index].value}),this.search_field_scale(),!0)},i.prototype.single_deselect_control_build=function(){return this.allow_single_deselect?(this.selected_item.find("abbr").length||this.selected_item.find("span").first().after('<abbr class="search-choice-close"></abbr>'),this.selected_item.addClass("chosen-single-with-deselect")):void 0},i.prototype.get_search_text=function(){return this.search_field.val()===this.default_text?"":t("<div/>").text(t.trim(this.search_field.val())).html()},i.prototype.winnow_results_set_highlight=function(){var t,e;return e=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),t=e.length?e.first():this.search_results.find(".active-result").first(),null!=t?this.result_do_highlight(t):void 0},i.prototype.no_results=function(e){var i;return i=t('<li class="no-results">'+this.results_none_found+' "<span></span>"</li>'),i.find("span").first().html(e),this.search_results.append(i),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},i.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},i.prototype.keydown_arrow=function(){var t;return this.results_showing&&this.result_highlight?(t=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(t):void 0:this.results_show()},i.prototype.keyup_arrow=function(){var t;return this.results_showing||this.is_multiple?this.result_highlight?(t=this.result_highlight.prevAll("li.active-result"),t.length?this.result_do_highlight(t.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight())):void 0:this.results_show()},i.prototype.keydown_backstroke=function(){var t;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(t=this.search_container.siblings("li.search-choice").last(),t.length&&!t.hasClass("search-choice-disabled")?(this.pending_backstroke=t,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0)},i.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},i.prototype.keydown_checker=function(t){var e,i;switch(e=null!=(i=t.which)?i:t.keyCode,this.search_field_scale(),8!==e&&this.pending_backstroke&&this.clear_backstroke(),e){case 8:this.backstroke_length=this.search_field.val().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(t),this.mouse_on_container=!1;break;case 13:this.results_showing&&t.preventDefault();break;case 32:this.disable_search&&t.preventDefault();break;case 38:t.preventDefault(),this.keyup_arrow();break;case 40:t.preventDefault(),this.keydown_arrow()}},i.prototype.search_field_scale=function(){var e,i,n,s,r,o,a,l,u;if(this.is_multiple){for(n=0,a=0,r="position:absolute; left: -1000px; top: -1000px; display:none;",o=["font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"],l=0,u=o.length;u>l;l++)s=o[l],r+=s+":"+this.search_field.css(s)+";";return e=t("<div />",{style:r}),e.text(this.search_field.val()),t("body").append(e),a=e.width()+25,e.remove(),i=this.container.outerWidth(),a>i-10&&(a=i-10),this.search_field.css({width:a+"px"})}},i}(e)}.call(this)
42;var headerHeight=0,videoTemplate='<video src="{{ src }}" width="100%" height="100%" loop></video>',iOS=/(iPad|iPhone|iPod)/g.test(navigator.userAgent),mSafari=-1!=navigator.userAgent.indexOf("Safari")?1:0;siteScrolled=0,cursorInit=!1;var doResize=!0,soundMuted=1,wHeight;$(document).ready(function(){site.onLoad(function(){}),site.onResize(function(){if(doResize){doScroll();var t=window.innerHeight?window.innerHeight:$(window).height();$(".Content:not(.Slideshow)").css("min-height",t),$(".Content.Slideshow").css("height",t),$(".Slideshow").length?$(".Site-body").css("margin-top",t):$(".Site-body").css("margin-top",0),$(".fit-parent:not(.mejs-container)").each(function(){$(this).fitParent()}),$(".Site--mobile").length?$(".Navigation > ul").height(t):$(".Navigation > ul").height("auto"),$(".PageContent-match-height").each(function(){$(this).find(".PageContent-section").last().css("min-height",$(this).find(".PageContent-section").first().height())}),size_videos()}
42if($(".ui-carousel").length){var e=$(".ui-carousel"),i=1010/573,n=e.width(),s=n/i;e.height(s)}}),site.onScroll(function(){doScroll()}),site.onStopScroll(function(){site.trigger("scroll")}),site.addUI("packery",function(t){t.packery({itemSelector:".ui-masonry-item",transitionDuration:"0.4s"})}),site.addUI("expand",function(t){var e=t.children();$(".List-item--current").length,e.each(function(){var t=$(this);t.find(".Item-close").click(function(){t.removeClass("List-item--current"),$(".ui-packery").packery("layout"),site.ajax.setVisibleUri("/news-insights"),site.scrollTo(t.offset().top-150),$(".Content").removeClass("Content--dimmed")});var e=$(this).find(".Item-summary p");if(e.length){var i=$(this).find(".Item-more").detach();e.last().append(i.find("a"))}$(this).find("a").click(function(e){e.preventDefault(),$(".List-item--current").removeClass("List-item--current"),t.addClass("List-item--current"),$(".ui-packery").packery("layout"),site.ajax.setVisibleUri($(this).attr("href")),setTimeout(function(){site.scrollTo(t.offset().top-50)},300),$(".Content").addClass("Content--dimmed")})})}),site.addUI("carousel",{onFind:function(t){t.royalSlider({imageAlignCenter:!0,imageScaleMode:!0,imageScaleMode:"fill",navigateByClick:!1,sliderDrag:!1,keyboardNavEnabled:!1,slidesSpacing:0,loop:!0,imageScalePadding:0});var e=t.data("royalSlider");$(".Carousel-next").click(function(){e.next(),$(".ui-fsCarousel").data("royalSlider").next()}),$(".Carousel-prev").click(function(){e.prev(),$(".ui-fsCarousel").data("royalSlider").prev()}),$(".Carousel-open").click(function(){site.$html.addClass("when-Mini-show-is-active")})}}),site.addUI("fsCarousel",{onFind:function(t){t.royalSlider({imageAlignCenter:!0,imageScaleMode:!0,imageScaleMode:"fit",navigateByClick:!0,sliderDrag:!0,keyboardNavEnabled:!0,slidesSpacing:0,loop:!0,imageScalePadding:40});var e=t.data("royalSlider");$(".Mini-show-next").click(function(){e.next(),$(".ui-carousel").data("royalSlider").next()}),$(".Mini-show-prev").click(function(){e.prev(),$(".ui-carousel").data("royalSlider").prev()}),$(".Mini-show-close").click(function(){site.$html.removeClass("when-Mini-show-is-active")})}}),site.addUI("fit",{init:function(){site.on("resize",function(){var t=$(".ui-fit");t.length&&t.each(function(){site.ui.fit.resize($(this))})})},onUnhandled:function(t){site.ui.fit.resize(t)},resize:function(t){t.find("img").each(function(){var t=$(this).parent().data("ratio").split(":"),t=t[0]/t[1],e=site.windowWidth,i=site.windowHeight,n=e,s=e/t;s>i&&(s=i,n=s*t),marginTop=(i-s)/2,$(this).css({height:s,width:n,marginTop:-marginTop})})}}),site.ajax.before=function(){site.$html.removeClass("Site-head-open"),$(".Site-head").removeClass("Site-head-open"),$("html,body").animate({scrollTop:0},500,"easeOutQuint"),$(".Site-head:not(.cloned)").addClass("black"),cursorInit=!1},site.ajax.after=function(){ready()},site.ajax.addRule({selectors:".Site a:not(.Navigation-item--about > a, .Filters.masonry a)",load:".Site-body"}),navOpen=!1,$(".Navigation-toggle").click(function(){($(".Site--grey").length||$(".Site--black").length?$(".Site-head:not(.cloned)"):$(".Site-head.cloned")).toggleClass("Site-head-open"),site.$html.toggleClass("Site-head-open"),navOpen=!navOpen,navOpen&&Modernizr.touch}),site.on("pageRequest",function(t){ga("send","pageview",{page:t.uri,title:t.title})}),site.init({breakPoints:{"Site--mobile":745,"Site--tablet":1024,"Site--desktop":1400}},function(){init(),ready()}),$(document).click(function(t){var e=$(".List-item--current");e.length&&(t.target.id==e.attr("id")||e.has(t.target).length||e.find(".Item-close").click())})}),window.addEventListener("orientationchange",function(){doResize=!0,site.trigger("resize")}),function($){$.fn.fitParent=function(t,e){var i={centre:1,lock:"left"},t=$.extend(i,t),n=[];this.each(function(){var t=$(this);n.push(t)});for(var s in n){var r=n[s];r.hasAttr("data-height")&&r.height(r.data("height")),r.hasAttr("data-width")&&r.width(r.data("width"));var o=$(window),a=o.outerHeight(),l=o.outerWidth(),u=r.outerHeight(),c=r.outerWidth();if(a/l>=u/c){r.height(o.outerHeight()),r.width(Math.round(o.outerHeight()*(c/u)));var h=r.outerWidth()-o.outerWidth();h=Math.round(h/2),h>1&&r.css({"margin-left":-h,"margin-top":""})}else{r.width(o.outerWidth()),r.height(Math.round(o.outerWidth()*(u/c)));var h=r.outerHeight()-o.outerHeight();h=Math.round(h/2),h>1&&r.css({"margin-top":-h,"margin-left":""})}}}}(jQuery),function($){$.fn.hasAttr=function(t){return void 0!==this.attr(t)}}(jQuery),"undefined"!=typeof jQuery&&function(t){t.imgpreload=function(e,i){i=t.extend({},t.fn.imgpreload.defaults,i instanceof Function?{all:i}:i),"string"==typeof e&&(e=new Array(e));var n=new Array;t.each(e,function(s,r){var o=new Image,a=r,l=o;"string"!=typeof r&&(a=t(r).attr("src"),l=r),t(o).bind("load error",function(s){n.push(l),t.data(l,"loaded","error"!=s.type),i.each instanceof Function&&i.each.call(l),n.length>=e.length&&i.all instanceof Function&&i.all.call(n),t(this).unbind("load error")}),o.src=a})},t.fn.imgpreload=function(e){return t.imgpreload(this,e),this},t.fn.imgpreload.defaults={each:null,all:null}}(jQuery),site.registerComponent("toggleState",function(t){site.click(t,function(){var e=t.data("state");site.defined(e)||(e="is-active");var i=t.data("toggle-inform-components");if(site.defined(i))var n=$(i);else{i="."+site.siteClass;var n=site.$html}var s=[],r=t.data("toggle-also");site.defined(r)&&(s=$(r));var o=t.data("toggle-inform-components");site.defined(o)||(o=site.componentName(t));var a=t.data("toggle-inform-as");if(site.defined(a))l="when-"+a+"-is-active";else var l=t.data("toggle-inform-state");site.defined(l)||(l="when-"+o+"-is-active");var u=t.data("toggle-deactivate-others");t.hasClass(e)?(t.removeClass(e),n.length&&n.removeClass(l),s.length&&s.removeClass(e)):(site.defined(u)&&$("."+o+" ."+e).removeClass(e),t.addClass(e),n.length&&n.addClass(l),s.length&&s.addClass(e))})}),site.registerComponent("clickable",{init:function(){site.on("domChanged",function(t){var e=t.$elements;e.length&&e.each(function(){var t=$(this);site.ui.clickable.clickify(t),t.addClass("ui-clickable"+site.states.handled)})})},clickify:function(t){var e=t.find(".ui-clickable-link:first");e.length||(e=t.find("a:first")),e.click(function(t){t.stopPropagation()}),t.click(function(){Modernizr.touch?t.hasClass("hover")?e.trigger("click"):($(".ui-clickable.hover").removeClass("hover"),t.addClass("hover")):e.trigger("click")})}}),site.registerComponent("keepRatio",{init:function(){site.on("resize",function(){var t=$(".ui-keepRatio");t.length&&t.each(function(){var t=$(this);site.ui.keepRatio.resize(t)})})},onUnhandled:function(t){site.ui.keepRatio.resize(t)},resize:function(t){var e=t.data("ratio");e=e.replace("x",":");var i=e.split(":"),n=i[0],s=i[1],r=s<n?s/n:n/s;r=s/n,t.data("factor",r);var o=t.outerWidth();if(o){var a=Math.round(o*r);t.height(a),t.find("img").height(a)}}}),site.registerComponent("lazyImage",{init:function(){site.on("scroll",function(){if(!site.windowLoaded)return void site.when(function(){return site.windowLoaded},function(){site.ui.lazyImage.check()},0);site.ui.lazyImage.check()}),site.on("domChanged",function(){site.ui.lazyImage.check()})},check:function(){var t="ui-lazyImage",e=$("."+t);e.length&&e.not(".ui-lazyImage--seen").each(function(e){if($(site.loadingSelector).length<10&&!$(this).find("img").length){var i=$(this).data("force");if((i=!!site.defined(i))||site.isVisible($(this))){var n=$(this);n.addClass(t+"--seen"),setTimeout(function(){site.loadImage(n)},300*e)}}})}}),site.addUI("shareable",{shareUrls:{facebook:"http://www.facebook.com/sharer/sharer.php?s=100&p[title]={title}&p[summary]={desc}&p[url]={url}&p[images][0]={img}&","facebook-app":"https://www.facebook.com/dialog/share?app_id={app_id}&display=page&href={url}&redirect_uri={redirect_url}",twitter:"https://twitter.com/share?url={url}
42&text={title}&via={via}&hashtags={hashtags}",google:"https://plus.google.com/share?url={url}",pinterest:"https://pinterest.com/pin/create/bookmarklet/?media={img}&url={url}&is_video={is_video}&description={title}",linkedin:"http://www.linkedin.com/shareArticle?url={url}&title={title}",buffer:"http://bufferapp.com/add?text={title}&url={url}",digg:"http://digg.com/submit?url={url}&title={title}",tumblr:"http://www.tumblr.com/share/link?url={url}&name={title}&description={desc}",reddit:"http://reddit.com/submit?url={url}&title={title}",stumbleupon:"http://www.stumbleupon.com/submit?url={url}&title={title}",delicious:"https://delicious.com/save?v=5&provider={provider}&noui&jump=close&url={url}&title={title}",email:"mailto:?subject={title}&body={url}",renren:"http://share.renren.com/share/buttonshare.do?link={url}&title={title}",weibo:"http://service.weibo.com/share/share.php?url={url}&appkey={app_id}&title={title}&pic={img}&ralateUid=&language=zh_cn",baidu:"http://like.baidu.com/set?buttontype=small&cb=bdShare.ajax._callbacks.bd4bb141b&index=0&url={url}"},init:function(){},onFind:function(t){var e=site.ui.shareable.shareData(t);t.unbind("click"),t.attr("target","_blank"),t.attr("href",e.shareUrl),t.click(function(t){site.trigger("share",e)})},shareData:function(t){var e=t.data("service");if(site.defined(e)||(e=t.text().toLowerCase()),site.ui.shareable.shareUrls.hasOwnProperty(e)){var i=t.data("url"),n=t.data("img"),s=t.data("title"),r=t.data("desc"),o=t.data("app-id"),a=t.data("redirect-url"),l=t.data("via"),u=t.data("hashtags"),c=t.data("provider"),h=t.data("is-video");site.defined(i)||(i=window.location.href),site.defined(n)||(n=""),site.defined(s)||(s=document.title);var d=$('meta[name="description"]');site.defined(r)||(r=d.length?d.attr("content"):"Shared from "+window.location.hostname),site.defined(o)||(o=0),site.defined(a)||(a=window.location.href),site.defined(l)||(l=""),site.defined(u)||(u=""),site.defined(c)||(c=window.location.hostname),site.defined(h)||(h=0),i=encodeURIComponent(i),n=encodeURIComponent(n),s=encodeURIComponent(s),r=encodeURIComponent(r),o=encodeURIComponent(o),a=encodeURIComponent(a),l=encodeURIComponent(l),u=encodeURIComponent(u),c=encodeURIComponent(c),h=encodeURIComponent(h);var p=site.shareUrls[e];p=p.replace("{url}",i).replace("{img}",n).replace("{title}",s).replace("{desc}",r).replace("{app_id}",o).replace("{redirect_url}",i).replace("{via}",l).replace("{hashtags}",u).replace("{provider}",c).replace("{is_video}",h),""==l&&(p=p.replace("&via=","")),""==u&&(p=p.replace("&hashtags=",""));return{item:t,shareUrl:p,url:i,title:s,service:e}}}}),function(t){function e(){}function i(t){function i(e){e.prototype.option||(e.prototype.option=function(e){t.isPlainObject(e)&&(this.options=t.extend(!0,this.options,e))})}function s(e,i){t.fn[e]=function(s){if("string"==typeof s){for(var o=n.call(arguments,1),a=0,l=this.length;l>a;a++){var u=this[a],c=t.data(u,e);if(c)if(t.isFunction(c[s])&&"_"!==s.charAt(0)){var h=c[s].apply(c,o);if(void 0!==h)return h}else r("no such method '"+s+"' for "+e+" instance");else r("cannot call methods on "+e+" prior to initialization; attempted to call '"+s+"'")}return this}return this.each(function(){var n=t.data(this,e);n?(n.option(s),n._init()):(n=new i(this,s),t.data(this,e,n))})}}if(t){var r="undefined"==typeof console?e:function(t){console.error(t)};return t.bridget=function(t,e){i(e),s(t,e)},t.bridget}}var n=Array.prototype.slice;"function"==typeof define&&define.amd?define("jquery-bridget/jquery.bridget",["jquery"],i):i("object"==typeof exports?require("jquery"):t.jQuery)}(window),function(t){function e(t){return new RegExp("(^|\\s+)"+t+"(\\s+|$)")}function i(t,e){(n(t,e)?r:s)(t,e)}var n,s,r;"classList"in document.documentElement?(n=function(t,e){return t.classList.contains(e)},s=function(t,e){t.classList.add(e)},r=function(t,e){t.classList.remove(e)}):(n=function(t,i){return e(i).test(t.className)},s=function(t,e){n(t,e)||(t.className=t.className+" "+e)},r=function(t,i){t.className=t.className.replace(e(i)," ")});var o={hasClass:n,addClass:s,removeClass:r,toggleClass:i,has:n,add:s,remove:r,toggle:i};"function"==typeof define&&define.amd?define("classie/classie",o):"object"==typeof exports?module.exports=o:t.classie=o}(window),function(t){function e(t){if(t){if("string"==typeof n[t])return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e,s=0,r=i.length;r>s;
42s++)if(e=i[s]+t,"string"==typeof n[e])return e}}var i="Webkit Moz ms Ms O".split(" "),n=document.documentElement.style;"function"==typeof define&&define.amd?define("get-style-property/get-style-property",[],function(){return e}):"object"==typeof exports?module.exports=e:t.getStyleProperty=e}(window),function(t,e){function i(t){var e=parseFloat(t);return-1===t.indexOf("%")&&!isNaN(e)&&e}function n(){}function s(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0,i=a.length;i>e;e++){t[a[e]]=0}return t}function r(e){function n(){if(!d){d=!0;var n=t.getComputedStyle;if(u=function(){var t=n?function(t){return n(t,null)}:function(t){return t.currentStyle};return function(e){var i=t(e);return i||o("Style returned "+i+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),i}}(),c=e("boxSizing")){var s=document.createElement("div");s.style.width="200px",s.style.padding="1px 2px 3px 4px",s.style.borderStyle="solid",s.style.borderWidth="1px 2px 3px 4px",s.style[c]="border-box";var r=document.body||document.documentElement;r.appendChild(s);var a=u(s);h=200===i(a.width),r.removeChild(s)}}}function r(t){if(n(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var e=u(t);if("none"===e.display)return s();var r={};r.width=t.offsetWidth,r.height=t.offsetHeight;for(var o=r.isBorderBox=!(!c||!e[c]||"border-box"!==e[c]),d=0,p=a.length;p>d;d++){var f=a[d],m=e[f];m=l(t,m);var g=parseFloat(m);r[f]=isNaN(g)?0:g}var v=r.paddingLeft+r.paddingRight,_=r.paddingTop+r.paddingBottom,y=r.marginLeft+r.marginRight,b=r.marginTop+r.marginBottom,w=r.borderLeftWidth+r.borderRightWidth,x=r.borderTopWidth+r.borderBottomWidth,S=o&&h,T=i(e.width);!1!==T&&(r.width=T+(S?0:v+w));var C=i(e.height);return!1!==C&&(r.height=C+(S?0:_+x)),r.innerWidth=r.width-(v+w),r.innerHeight=r.height-(_+x),r.outerWidth=r.width+y,r.outerHeight=r.height+b,r}}function l(e,i){if(t.getComputedStyle||-1===i.indexOf("%"))return i;var n=e.style,s=n.left,r=e.runtimeStyle,o=r&&r.left;return o&&(r.left=e.currentStyle.left),n.left=i,i=n.pixelLeft,n.left=s,o&&(r.left=o),i}var u,c,h,d=!1;return r}var o="undefined"==typeof console?n:function(t){console.error(t)},a=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];"function"==typeof define&&define.amd?define("get-size/get-size",["get-style-property/get-style-property"],r):"object"==typeof exports?module.exports=r(require("desandro-get-style-property")):t.getSize=r(t.getStyleProperty)}(window),function(t){function e(e){var i=t.event;return i.target=i.target||i.srcElement||e,i}var i=document.documentElement,n=function(){};i.addEventListener?n=function(t,e,i){t.addEventListener(e,i,!1)}:i.attachEvent&&(n=function(t,i,n){t[i+n]=n.handleEvent?function(){var i=e(t);n.handleEvent.call(n,i)}:function(){var i=e(t);n.call(t,i)},t.attachEvent("on"+i,t[i+n])});var s=function(){};i.removeEventListener?s=function(t,e,i){t.removeEventListener(e,i,!1)}:i.detachEvent&&(s=function(t,e,i){t.detachEvent("on"+e,t[e+i]);try{delete t[e+i]}catch(n){t[e+i]=void 0}});var r={bind:n,unbind:s};"function"==typeof define&&define.amd?define("eventie/eventie",r):"object"==typeof exports?module.exports=r:t.eventie=r}(window),function(){function t(){}function e(t,e){for(var i=t.length;i--;)if(t[i].listener===e)return i;return-1}function i(t){return function(){return this[t].apply(this,arguments)}}var n=t.prototype,s=this,r=s.EventEmitter;n.getListeners=function(t){var e,i,n=this._getEvents();if(t instanceof RegExp){e={};for(i in n)n.hasOwnProperty(i)&&t.test(i)&&(e[i]=n[i])}else e=n[t]||(n[t]=[]);return e},n.flattenListeners=function(t){var e,i=[];for(e=0;e<t.length;e+=1)i.push(t[e].listener);return i},n.getListenersAsObject=function(t){var e,i=this.getListeners(t);return i instanceof Array&&(e={},e[t]=i),e||i},n.addListener=function(t,i){var n,s=this.getListenersAsObject(t),r="object"==typeof i;for(n in s)s.hasOwnProperty(n)&&-1===e(s[n],i)&&s[n].push(r?i:{listener:i,once:!1});return this},n.on=i("addListener"),n.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},n.once=i("addOnceListener"),n.defineEvent=function(t){return this.getListeners(t),this},n.defineEvents=function(t){for(var e=0;e<t.length;e+=1)this.defineEvent(t[e]);return this},n.removeListener=function(t,i){var n,s,r=this.getListenersAsObject(t);for(s in r)r.hasOwnProperty(s)&&-1!==(n=e(r[s],i))&&r[s].splice(n,1);return this},n.off=i("removeListener"),n.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},n.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)}
42,n.manipulateListeners=function(t,e,i){var n,s,r=t?this.removeListener:this.addListener,o=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(n=i.length;n--;)r.call(this,e,i[n]);else for(n in e)e.hasOwnProperty(n)&&(s=e[n])&&("function"==typeof s?r.call(this,n,s):o.call(this,n,s));return this},n.removeEvent=function(t){var e,i=typeof t,n=this._getEvents();if("string"===i)delete n[t];else if(t instanceof RegExp)for(e in n)n.hasOwnProperty(e)&&t.test(e)&&delete n[e];else delete this._events;return this},n.removeAllListeners=i("removeEvent"),n.emitEvent=function(t,e){var i,n,s,r,o=this.getListenersAsObject(t);for(s in o)if(o.hasOwnProperty(s))for(n=o[s].length;n--;)i=o[s][n],!0===i.once&&this.removeListener(t,i.listener),(r=i.listener.apply(this,e||[]))===this._getOnceReturnValue()&&this.removeListener(t,i.listener);return this},n.trigger=i("emitEvent"),n.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},n.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},n._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},n._getEvents=function(){return this._events||(this._events={})},t.noConflict=function(){return s.EventEmitter=r,t},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:s.EventEmitter=t}.call(this),function(t){function e(t){"function"==typeof t&&(e.isReady?t():o.push(t))}function i(t){var i="readystatechange"===t.type&&"complete"!==r.readyState;e.isReady||i||n()}function n(){e.isReady=!0;for(var t=0,i=o.length;i>t;t++){(0,o[t])()}}function s(s){return"complete"===r.readyState?n():(s.bind(r,"DOMContentLoaded",i),s.bind(r,"readystatechange",i),s.bind(t,"load",i)),e}var r=t.document,o=[];e.isReady=!1,"function"==typeof define&&define.amd?define("doc-ready/doc-ready",["eventie/eventie"],s):"object"==typeof exports?module.exports=s(require("eventie")):t.docReady=s(t.eventie)}(window),function(t){function e(t,e){return t[o](e)}function i(t){if(!t.parentNode){document.createDocumentFragment().appendChild(t)}}function n(t,e){i(t);for(var n=t.parentNode.querySelectorAll(e),s=0,r=n.length;r>s;s++)if(n[s]===t)return!0;return!1}function s(t,n){return i(t),e(t,n)}var r,o=function(){if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0,n=e.length;n>i;i++){var s=e[i],r=s+"MatchesSelector";if(t[r])return r}}();if(o){var a=document.createElement("div"),l=e(a,"div");r=l?e:s}else r=n;"function"==typeof define&&define.amd?define("matches-selector/matches-selector",[],function(){return r}):"object"==typeof exports?module.exports=r:window.matchesSelector=r}(Element.prototype),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["doc-ready/doc-ready","matches-selector/matches-selector"],function(i,n){return e(t,i,n)}):"object"==typeof exports?module.exports=e(t,require("doc-ready"),require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.docReady,t.matchesSelector)}(window,function(t,e,i){var n={};n.extend=function(t,e){for(var i in e)t[i]=e[i];return t},n.modulo=function(t,e){return(t%e+e)%e};var s=Object.prototype.toString;n.isArray=function(t){return"[object Array]"==s.call(t)},n.makeArray=function(t){var e=[];if(n.isArray(t))e=t;else if(t&&"number"==typeof t.length)for(var i=0,s=t.length;s>i;i++)e.push(t[i]);else e.push(t);return e},n.indexOf=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,n=t.length;n>i;i++)if(t[i]===e)return i;return-1},n.removeFrom=function(t,e){var i=n.indexOf(t,e);-1!=i&&t.splice(i,1)},n.isElement="function"==typeof HTMLElement||"object"==typeof HTMLElement?function(t){return t instanceof HTMLElement}:function(t){return t&&"object"==typeof t&&1==t.nodeType&&"string"==typeof t.nodeName},n.setText=function(){function t(t,i){e=e||(void 0!==document.documentElement.textContent?"textContent":"innerText"),t[e]=i}var e;return t}(),n.getParent=function(t,e){for(;t!=document.body;)if(t=t.parentNode,i(t,e))return t},n.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},n.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},n.filterFindElements=function(t,e){t=n.makeArray(t);for(var s=[],r=0,o=t.length;o>r;r++){var a=t[r];if(n.isElement(a))if(e){i(a,e)&&s.push(a);for(var l=a.querySelectorAll(e),u=0,c=l.length;c>u;u++)s.push(l[u])}else s.push(a)}return s}
42,n.debounceMethod=function(t,e,i){var n=t.prototype[e],s=e+"Timeout";t.prototype[e]=function(){var t=this[s];t&&clearTimeout(t);var e=arguments,r=this;this[s]=setTimeout(function(){n.apply(r,e),delete r[s]},i||100)}},n.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var r=t.console;return n.htmlInit=function(i,s){e(function(){for(var e=n.toDashed(s),o=document.querySelectorAll(".js-"+e),a="data-"+e+"-options",l=0,u=o.length;u>l;l++){var c,h=o[l],d=h.getAttribute(a);try{c=d&&JSON.parse(d)}catch(t){r&&r.error("Error parsing "+a+" on "+h.nodeName.toLowerCase()+(h.id?"#"+h.id:"")+": "+t);continue}var p=new i(h,c),f=t.jQuery;f&&f.data(h,s,p)}})},n}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property","fizzy-ui-utils/utils"],function(i,n,s,r){return e(t,i,n,s,r)}):"object"==typeof exports?module.exports=e(t,require("wolfy87-eventemitter"),require("get-size"),require("desandro-get-style-property"),require("fizzy-ui-utils")):(t.Outlayer={},t.Outlayer.Item=e(t,t.EventEmitter,t.getSize,t.getStyleProperty,t.fizzyUIUtils))}(window,function(t,e,i,n,s){function r(t){for(var e in t)return!1;return e=null,!0}function o(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}function a(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}var l=t.getComputedStyle,u=l?function(t){return l(t,null)}:function(t){return t.currentStyle},c=n("transition"),h=n("transform"),d=c&&h,p=!!n("perspective"),f={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[c],m=["transform","transition","transitionDuration","transitionProperty"],g=function(){for(var t={},e=0,i=m.length;i>e;e++){var s=m[e],r=n(s);r&&r!==s&&(t[s]=r)}return t}();s.extend(o.prototype,e.prototype),o.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},o.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},o.prototype.getSize=function(){this.size=i(this.element)},o.prototype.css=function(t){var e=this.element.style;for(var i in t){e[g[i]||i]=t[i]}},o.prototype.getPosition=function(){var t=u(this.element),e=this.layout.options,i=e.isOriginLeft,n=e.isOriginTop,s=t[i?"left":"right"],r=t[n?"top":"bottom"],o=this.layout.size,a=-1!=s.indexOf("%")?parseFloat(s)/100*o.width:parseInt(s,10),l=-1!=r.indexOf("%")?parseFloat(r)/100*o.height:parseInt(r,10);a=isNaN(a)?0:a,l=isNaN(l)?0:l,a-=i?o.paddingLeft:o.paddingRight,l-=n?o.paddingTop:o.paddingBottom,this.position.x=a,this.position.y=l},o.prototype.layoutPosition=function(){var t=this.layout.size,e=this.layout.options,i={},n=e.isOriginLeft?"paddingLeft":"paddingRight",s=e.isOriginLeft?"left":"right",r=e.isOriginLeft?"right":"left",o=this.position.x+t[n];i[s]=this.getXValue(o),i[r]="";var a=e.isOriginTop?"paddingTop":"paddingBottom",l=e.isOriginTop?"top":"bottom",u=e.isOriginTop?"bottom":"top",c=this.position.y+t[a];i[l]=this.getYValue(c),i[u]="",this.css(i),this.emitEvent("layout",[this])},o.prototype.getXValue=function(t){var e=this.layout.options;return e.percentPosition&&!e.isHorizontal?t/this.layout.size.width*100+"%":t+"px"},o.prototype.getYValue=function(t){var e=this.layout.options;return e.percentPosition&&e.isHorizontal?t/this.layout.size.height*100+"%":t+"px"},o.prototype._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,s=parseInt(t,10),r=parseInt(e,10),o=s===this.position.x&&r===this.position.y;if(this.setPosition(t,e),o&&!this.isTransitioning)return void this.layoutPosition();var a=t-i,l=e-n,u={};u.transform=this.getTranslate(a,l),this.transition({to:u,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},o.prototype.getTranslate=function(t,e){var i=this.layout.options;return t=i.isOriginLeft?t:-t,e=i.isOriginTop?e:-e,p?"translate3d("+t+"px, "+e+"px, 0)":"translate("+t+"px, "+e+"px)"},o.prototype.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},o.prototype.moveTo=d?o.prototype._transitionTo:o.prototype.goTo,o.prototype.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},o.prototype._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},o.prototype._transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(t);var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);var n=this.element.offsetHeight;n=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var v="opacity,"+a(g.transform||"transform");o.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:v,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(f,this,!1))},o.prototype.transition=o.prototype[c?"_transition":"_nonTransition"],o.prototype.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},o.prototype.onotransitionend=function(t){this.ontransitionend(t)};var _={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"};o.prototype.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=_[t.propertyName]||t.propertyName;if(delete e.ingProperties[i],r(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd){e.onEnd[i].call(this),delete e.onEnd[i]}this.emitEvent("transitionEnd",[this])}},o.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(f,this,!1),this.isTransitioning=!1},o.prototype._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var y={transitionProperty:"",transitionDuration:""};return o.prototype.removeTransitionStyles=function(){this.css(y)},o.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},o.prototype.remove=function(){if(!c||!parseFloat(this.layout.options.transitionDuration))return void this.removeElem();var t=this;this.once("transitionEnd",function(){t.removeElem()}),this.hide()},o.prototype.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},o.prototype.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},o.prototype.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},o.prototype.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},o.prototype.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},o.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},o}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/outlayer",["eventie/eventie","eventEmitter/EventEmitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,n,s,r,o){return e(t,i,n,s,r,o)}):"object"==typeof exports?module.exports=e(t,require("eventie"),require("wolfy87-eventemitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.eventie,t.EventEmitter,t.getSize,t.f
42izzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,n,s,r){function o(t,e){var i=s.getQueryElement(t);if(!i)return void(a&&a.error("Bad element for "+this.constructor.namespace+": "+(i||t)));this.element=i,l&&(this.$element=l(this.element)),this.options=s.extend({},this.constructor.defaults),this.option(e);var n=++c;this.element.outlayerGUID=n,h[n]=this,this._create(),this.options.isInitLayout&&this.layout()}var a=t.console,l=t.jQuery,u=function(){},c=0,h={};return o.namespace="outlayer",o.Item=r,o.defaults={containerStyle:{position:"relative"},isInitLayout:!0,isOriginLeft:!0,isOriginTop:!0,isResizeBound:!0,isResizingContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},s.extend(o.prototype,i.prototype),o.prototype.option=function(t){s.extend(this.options,t)},o.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),s.extend(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},o.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},o.prototype._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],s=0,r=e.length;r>s;s++){var o=e[s],a=new i(o,this);n.push(a)}return n},o.prototype._filterFindItemElements=function(t){return s.filterFindElements(t,this.options.itemSelector)},o.prototype.getItemElements=function(){for(var t=[],e=0,i=this.items.length;i>e;e++)t.push(this.items[e].element);return t},o.prototype.layout=function(){this._resetLayout(),
43this._manageStamps();var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},o.prototype._init=o.prototype.layout,o.prototype._resetLayout=function(){this.getSize()},o.prototype.getSize=function(){this.size=n(this.element)},o.prototype._getMeasurement=function(t,e){var i,r=this.options[t];r?("string"==typeof r?i=this.element.querySelector(r):s.isElement(r)&&(i=r),this[t]=i?n(i)[e]:r):this[t]=0},o.prototype.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},o.prototype._getItemsForLayout=function(t){for(var e=[],i=0,n=t.length;n>i;i++){var s=t[i];s.isIgnored||e.push(s)}return e},o.prototype._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){for(var i=[],n=0,s=t.length;s>n;n++){var r=t[n],o=this._getItemLayoutPosition(r);o.item=r,o.isInstant=e||r.isLayoutInstant,i.push(o)}this._processLayoutQueue(i)}},o.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},o.prototype._processLayoutQueue=function(t){for(var e=0,i=t.length;i>e;e++){var n=t[e];this._positionItem(n.item,n.x,n.y,n.isInstant)}},o.prototype._positionItem=function(t,e,i,n){n?t.goTo(e,i):t.moveTo(e,i)},o.prototype._postLayout=function(){this.resizeContainer()},o.prototype.resizeContainer=function(){if(this.options.isResizingContainer){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},o.prototype._getContainerSize=u,o.prototype._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},o.prototype._emitCompleteOnItems=function(t,e){function i(){s.dispatchEvent(t+"Complete",null,[e])}function n(){++o===r&&i()}var s=this,r=e.length;if(!e||!r)return void i();for(var o=0,a=0,l=e.length;l>a;a++){e[a].once(t,n)}},o.prototype.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;if(this.emitEvent(t,n),l)if(this.$element=this.$element||l(this.element),e){var s=l.Event(e);s.type=t,this.$element.trigger(s,i)}else this.$element.trigger(t,i)},o.prototype.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},o.prototype.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},o.prototype.stamp=function(t){if(t=this._find(t)){this.stamps=this.stamps.
43concat(t);for(var e=0,i=t.length;i>e;e++){var n=t[e];this.ignore(n)}}},o.prototype.unstamp=function(t){if(t=this._find(t))for(var e=0,i=t.length;i>e;e++){var n=t[e];s.removeFrom(this.stamps,n),this.unignore(n)}},o.prototype._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=s.makeArray(t)):void 0},o.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect();for(var t=0,e=this.stamps.length;e>t;t++){var i=this.stamps[t];this._manageStamp(i)}}},o.prototype._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},o.prototype._manageStamp=u,o.prototype._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,s=n(t);return{left:e.left-i.left-s.marginLeft,top:e.top-i.top-s.marginTop,right:i.right-e.right-s.marginRight,bottom:i.bottom-e.bottom-s.marginBottom}},o.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},o.prototype.bindResize=function(){this.isResizeBound||(e.bind(t,"resize",this),this.isResizeBound=!0)},o.prototype.unbindResize=function(){this.isResizeBound&&e.unbind(t,"resize",this),this.isResizeBound=!1},o.prototype.onresize=function(){function t(){e.resize(),delete e.resizeTimeout}this.resizeTimeout&&clearTimeout(this.resizeTimeout);var e=this;this.resizeTimeout=setTimeout(t,100)},o.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},o.prototype.needsResizeLayout=function(){var t=n(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},o.prototype.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},o.prototype.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},o.prototype.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},o.prototype.reveal=function(t){this._emitCompleteOnItems("reveal",t);for(var e=t&&t.length,i=0;e&&e>i;i++){t[i].reveal()}},o.prototype.hide=function(t){this._emitCompleteOnItems("hide",t);for(var e=t&&t.length,i=0;e&&e>i;i++){t[i].hide()}},o.prototype.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},o.prototype.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},o.prototype.getItem=function(t){for(var e=0,i=this.items.length;i>e;e++){var n=this.items[e];if(n.element===t)return n}},o.prototype.getItems=function(t){t=s.makeArray(t);for(var e=[],i=0,n=t.length;n>i;i++){var r=t[i],o=this.getItem(r);o&&e.push(o)}return e},o.prototype.remove=function(t){var e=this.getItems(t);if(this._emitCompleteOnItems("remove",e),e&&e.length)for(var i=0,n=e.length;n>i;i++){var r=e[i];r.remove(),s.removeFrom(this.items,r)}},o.prototype.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="";for(var e=0,i=this.items.length;i>e;e++){this.items[e].destroy()}this.unbindResize();var n=this.element.outlayerGUID;delete h[n],delete this.element.outlayerGUID,l&&l.removeData(this.element,this.constructor.namespace)},o.data=function(t){t=s.getQueryElement(t);var e=t&&t.outlayerGUID;return e&&h[e]},o.create=function(t,e){function i(){o.apply(this,arguments)}return Object.create?i.prototype=Object.create(o.prototype):s.extend(i.prototype,o.prototype),i.prototype.constructor=i,i.defaults=s.extend({},o.defaults),s.extend(i.defaults,e),i.prototype.settings={},i.namespace=t,i.data=o.data,i.Item=function(){r.apply(this,arguments)},i.Item.prototype=new r,s.htmlInit(i,t),l&&l.bridget&&l.bridget(t,i),i},o.Item=r,o}),function(t,e){"function"==typeof define&&define.amd?define("packery/js/rect",e):"object"==typeof exports?module.exports=e():(t.Packery=t.Packery||{},t.Packery.Rect=e())}(window,function(){function t(e){for(var i in t.defaults)this[i]=t.defaults[i];for(i in e)this[i]=e[i]}return(window.Packery=function(){}).Rect=t,t.defaults={x:0,y:0,width:0,height:0},t.prototype.contains=function(t){var e=t.width||0,i=t.height||0;return this.x<=t.x&&this.y<=t.y&&this.x+this.width>=t.x+e&&this.y+this.height>=t.y+i},t.prototype.overlaps=function(t){var e=this.x+this.width,i=this.y+this.height,n=t.x+t.width,s=t.y+t.height;return this.x<n&&e>t.x&&this.y<s&&i>t.y},t.prototype.getMaximalFreeRects=function(e){if(!this.overlaps(e))return!1;var i,n=[],s=this.x+this.width,r=this.y+this.height,o=e.x+e.width,a=e.y+e.height;
43return this.y<e.y&&(i=new t({x:this.x,y:this.y,width:this.width,height:e.y-this.y}),n.push(i)),s>o&&(i=new t({x:o,y:this.y,width:s-o,height:this.height}),n.push(i)),r>a&&(i=new t({x:this.x,y:a,width:this.width,height:r-a}),n.push(i)),this.x<e.x&&(i=new t({x:this.x,y:this.y,width:e.x-this.x,height:this.height}),n.push(i)),n},t.prototype.canFit=function(t){return this.width>=t.width&&this.height>=t.height},t}),function(t,e){if("function"==typeof define&&define.amd)define("packery/js/packer",["./rect"],e);else if("object"==typeof exports)module.exports=e(require("./rect"));else{var i=t.Packery=t.Packery||{};i.Packer=e(i.Rect)}}(window,function(t){function e(t,e,i){this.width=t||0,this.height=e||0,this.sortDirection=i||"downwardLeftToRight",this.reset()}e.prototype.reset=function(){this.spaces=[],this.newSpaces=[];var e=new t({x:0,y:0,width:this.width,height:this.height});this.spaces.push(e),this.sorter=i[this.sortDirection]||i.downwardLeftToRight},e.prototype.pack=function(t){for(var e=0,i=this.spaces.length;i>e;e++){var n=this.spaces[e];if(n.canFit(t)){this.placeInSpace(t,n);break}}},e.prototype.placeInSpace=function(t,e){t.x=e.x,t.y=e.y,this.placed(t)},e.prototype.placed=function(t){for(var e=[],i=0,n=this.spaces.length;n>i;i++){var s=this.spaces[i],r=s.getMaximalFreeRects(t);r?e.push.apply(e,r):e.push(s)}this.spaces=e,this.mergeSortSpaces()},e.prototype.mergeSortSpaces=function(){e.mergeRects(this.spaces),this.spaces.sort(this.sorter)},e.prototype.addSpace=function(t){this.spaces.push(t),this.mergeSortSpaces()},e.mergeRects=function(t){for(var e=0,i=t.length;i>e;e++){var n=t[e];if(n){var s=t.slice(0);s.splice(e,1);for(var r=0,o=0,a=s.length;a>o;o++){var l=s[o],u=e>o?0:1;n.contains(l)&&(t.splice(o+u-r,1),r++)}}}return t};var i={downwardLeftToRight:function(t,e){return t.y-e.y||t.x-e.x},rightwardTopToBottom:function(t,e){return t.x-e.x||t.y-e.y}};return e}),function(t,e){"function"==typeof define&&define.amd?define("packery/js/item",["get-style-property/get-style-property","outlayer/outlayer","./rect"],e):"object"==typeof exports?module.exports=e(require("desandro-get-style-property"),require("outlayer"),require("./rect")):t.Packery.Item=e(t.getStyleProperty,t.Outlayer,t.Packery.Rect)}(window,function(t,e,i){var n=t("transform"),s=function(){e.Item.apply(this,arguments)};s.prototype=new e.Item;var r=s.prototype._create;return s.prototype._create=function(){r.call(this),this.rect=new i,this.placeRect=new i},s.prototype.dragStart=function(){this.getPosition(),this.removeTransitionStyles(),this.isTransitioning&&n&&(this.element.style[n]="none"),this.getSize(),this.isPlacing=!0,this.needsPositioning=!1,this.positionPlaceRect(this.position.x,this.position.y),this.isTransitioning=!1,this.didDrag=!1},s.prototype.dragMove=function(t,e){this.didDrag=!0;var i=this.layout.size;t-=i.paddingLeft,e-=i.paddingTop,this.positionPlaceRect(t,e)},s.prototype.dragStop=function(){this.getPosition();var t=this.position.x!=this.placeRect.x,e=this.position.y!=this.placeRect.y;this.needsPositioning=t||e,this.didDrag=!1},s.prototype.positionPlaceRect=function(t,e,i){this.placeRect.x=this.getPlaceRectCoord(t,!0),this.placeRect.y=this.getPlaceRectCoord(e,!1,i)},s.prototype.getPlaceRectCoord=function(t,e,i){var n=e?"Width":"Height",s=this.size["outer"+n],r=this.layout[e?"columnWidth":"rowHeight"],o=this.layout.size["inner"+n];e||(o=Math.max(o,this.layout.maxY),this.layout.rowHeight||(o-=this.layout.gutter));var a;if(r){r+=this.layout.gutter,o+=e?this.layout.gutter:0,t=Math.round(t/r);var l;l=this.layout.options.isHorizontal?e?"ceil":"floor":e?"floor":"ceil";var u=Math[l](o/r);u-=Math.ceil(s/r),a=u}else a=o-s;return t=i?t:Math.min(t,a),t*=r||1,Math.max(0,t)},s.prototype.copyPlaceRectPosition=function(){this.rect.x=this.placeRect.x,this.rect.y=this.placeRect.y},s.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent("remove",[this])},s}),function(t,e){"function"==typeof define&&define.amd?define(["classie/classie","get-size/get-size","outlayer/outlayer","packery/js/rect","packery/js/packer","packery/js/item"],e):"object"==typeof exports?module.exports=e(require("desandro-classie"),require("get-size"),require("outlayer"),require("./rect"),require("./packer"),require("./item")):t.Packery=e(t.classie,t.getSize,t.Outlayer,t.Packery.Rect,t.Packery.Packer,t.Packery.Item)}
43(window,function(t,e,i,n,s,r){function o(t,e){return t.position.y-e.position.y||t.position.x-e.position.x}function a(t,e){return t.position.x-e.position.x||t.position.y-e.position.y}n.prototype.canFit=function(t){return this.width>=t.width-1&&this.height>=t.height-1};var l=i.create("packery");return l.Item=r,l.prototype._create=function(){i.prototype._create.call(this),this.packer=new s,this.stamp(this.options.stamped);var t=this;this.handleDraggabilly={dragStart:function(){t.itemDragStart(this.element)},dragMove:function(){t.itemDragMove(this.element,this.position.x,this.position.y)},dragEnd:function(){t.itemDragEnd(this.element)}},this.handleUIDraggable={start:function(e,i){i&&t.itemDragStart(e.currentTarget)},drag:function(e,i){i&&t.itemDragMove(e.currentTarget,i.position.left,i.position.top)},stop:function(e,i){i&&t.itemDragEnd(e.currentTarget)}}},l.prototype._resetLayout=function(){this.getSize(),this._getMeasurements();var t=this.packer;this.options.isHorizontal?(t.width=Number.POSITIVE_INFINITY,t.height=this.size.innerHeight+this.gutter,t.sortDirection="rightwardTopToBottom"):(t.width=this.size.innerWidth+this.gutter,t.height=Number.POSITIVE_INFINITY,t.sortDirection="downwardLeftToRight"),t.reset(),this.maxY=0,this.maxX=0},l.prototype._getMeasurements=function(){this._getMeasurement("columnWidth","width"),this._getMeasurement("rowHeight","height"),this._getMeasurement("gutter","width")},l.prototype._getItemLayoutPosition=function(t){return this._packItem(t),t.rect},l.prototype._packItem=function(t){this._setRectSize(t.element,t.rect),this.packer.pack(t.rect),this._setMaxXY(t.rect)},l.prototype._setMaxXY=function(t){this.maxX=Math.max(t.x+t.width,this.maxX),this.maxY=Math.max(t.y+t.height,this.maxY)},l.prototype._setRectSize=function(t,i){var n=e(t),s=n.outerWidth,r=n.outerHeight;(s||r)&&(s=this._applyGridGutter(s,this.columnWidth),r=this._applyGridGutter(r,this.rowHeight)),i.width=Math.min(s,this.packer.width),i.height=Math.min(r,this.packer.height)},l.prototype._applyGridGutter=function(t,e){if(!e)return t+this.gutter;e+=this.gutter;var i=t%e,n=i&&1>i?"round":"ceil";return t=Math[n](t/e)*e},l.prototype._getContainerSize=function(){return this.options.isHorizontal?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},l.prototype._manageStamp=function(t){var e,i=this.getItem(t);if(i&&i.isPlacing)e=i.placeRect;else{var s=this._getElementOffset(t);e=new n({x:this.options.isOriginLeft?s.left:s.right,y:this.options.isOriginTop?s.top:s.bottom})}this._setRectSize(t,e),this.packer.placed(e),this._setMaxXY(e)},l.prototype.sortItemsByPosition=function(){var t=this.options.isHorizontal?a:o;this.items.sort(t)},l.prototype.fit=function(t,e,i){var n=this.getItem(t);n&&(this._getMeasurements(),this.stamp(n.element),n.getSize(),n.isPlacing=!0,e=void 0===e?n.rect.x:e,i=void 0===i?n.rect.y:i,n.positionPlaceRect(e,i,!0),this._bindFitEvents(n),n.moveTo(n.placeRect.x,n.placeRect.y),this.layout(),this.unstamp(n.element),this.sortItemsByPosition(),n.isPlacing=!1,n.copyPlaceRectPosition())},l.prototype._bindFitEvents=function(t){function e(){2==++n&&i.dispatchEvent("fitComplete",null,[t])}var i=this,n=0;t.on("layout",function(){return e(),!0}),this.on("layoutComplete",function(){return e(),!0})},l.prototype.resize=function(){var t=e(this.element),i=this.size&&t,n=this.options.isHorizontal?"innerHeight":"innerWidth";i&&t[n]==this.size[n]||this.layout()},l.prototype.itemDragStart=function(t){this.stamp(t);var e=this.getItem(t);e&&e.dragStart()},l.prototype.itemDragMove=function(t,e,i){function n(){r.layout(),delete r.dragTimeout}var s=this.getItem(t);s&&s.dragMove(e,i);var r=this;this.clearDragTimeout(),this.dragTimeout=setTimeout(n,40)},l.prototype.clearDragTimeout=function(){this.dragTimeout&&clearTimeout(this.dragTimeout)},l.prototype.itemDragEnd=function(e){var i,n=this.getItem(e);if(n&&(i=n.didDrag,n.dragStop()),!n||!i&&!n.needsPositioning)return void this.unstamp(e);t.add(n.element,"is-positioning-post-drag");var s=this._getDragEndLayoutComplete(e,n);n.needsPositioning?(n.on("layout",s),n.moveTo(n.placeRect.x,n.placeRect.y)):n&&n.copyPlaceRectPosition(),this.clearDragTimeout(),this.on("layoutComplete",s),this.layout()},l.prototype._getDragEndLayoutComplete=function(e,i){var n=i&&i.needsPositioning,s=0,r=n?2:1,o=this;return function(){return++s!=r||(i&&(t.remove(i.element,"is-positioning-post-drag"),i.isPlacing=!1,i.copyPlaceRectPosition()),o.unstamp(e),o.sortItems
43ByPosition(),n&&o.dispatchEvent("dragItemPositioned",null,[i]),!0)}},l.prototype.bindDraggabillyEvents=function(t){t.on("dragStart",this.handleDraggabilly.dragStart),t.on("dragMove",this.handleDraggabilly.dragMove),t.on("dragEnd",this.handleDraggabilly.dragEnd)},l.prototype.bindUIDraggableEvents=function(t){t.on("dragstart",this.handleUIDraggable.start).on("drag",this.handleUIDraggable.drag).on("dragstop",this.handleUIDraggable.stop)},l.Rect=n,l.Packer=s,l}),function(t){function e(){}function i($){function t(t){t.prototype.option||(t.prototype.option=function(t){$.isPlainObject(t)&&(this.options=$.extend(!0,this.options,t))})}function i(t,e){$.fn[t]=function(i){if("string"==typeof i){for(var r=n.call(arguments,1),o=0,a=this.length;o<a;o++){var l=this[o],u=$.data(l,t);if(u)if($.isFunction(u[i])&&"_"!==i.charAt(0)){var c=u[i].apply(u,r);if(void 0!==c)return c}else s("no such method '"+i+"' for "+t+" instance");else s("cannot call methods on "+t+" prior to initialization; attempted to call '"+i+"'")}return this}return this.each(function(){var n=$.data(this,t);n?(n.option(i),n._init()):(n=new e(this,i),$.data(this,t,n))})}}if($){var s="undefined"==typeof console?e:function(t){console.error(t)};return $.bridget=function(e,n){t(n),i(e,n)},$.bridget}}var n=Array.prototype.slice;"function"==typeof define&&define.amd?define("jquery-bridget/jquery.bridget",["jquery"],i):i("object"==typeof exports?require("jquery"):t.jQuery)}(window),function(t){function e(e){var i=t.event;return i.target=i.target||i.srcElement||e,i}var i=document.documentElement,n=function(){};i.addEventListener?n=function(t,e,i){t.addEventListener(e,i,!1)}:i.attachEvent&&(n=function(t,i,n){t[i+n]=n.handleEvent?function(){var i=e(t);n.handleEvent.call(n,i)}:function(){var i=e(t);n.call(t,i)},t.attachEvent("on"+i,t[i+n])});var s=function(){};i.removeEventListener?s=function(t,e,i){t.removeEventListener(e,i,!1)}:i.detachEvent&&(s=function(t,e,i){t.detachEvent("on"+e,t[e+i]);try{delete t[e+i]}catch(n){t[e+i]=void 0}});var r={bind:n,unbind:s};"function"==typeof define&&define.amd?define("eventie/eventie",r):"object"==typeof exports?module.exports=r:t.eventie=r}(window),function(){function t(){}function e(t,e){for(var i=t.length;i--;)if(t[i].listener===e)return i;return-1}function i(t){return function e(){return this[t].apply(this,arguments)}}var n=t.prototype,s=this,r=s.EventEmitter;n.getListeners=function t(e){var i=this._getEvents(),n,s;if(e instanceof RegExp){n={};for(s in i)i.hasOwnProperty(s)&&e.test(s)&&(n[s]=i[s])}else n=i[e]||(i[e]=[]);return n},n.flattenListeners=function t(e){var i=[],n;for(n=0;n<e.length;n+=1)i.push(e[n].listener);return i},n.getListenersAsObject=function t(e){var i=this.getListeners(e),n;return i instanceof Array&&(n={},n[e]=i),n||i},n.addListener=function t(i,n){var s=this.getListenersAsObject(i),r="object"==typeof n,o;for(o in s)s.hasOwnProperty(o)&&-1===e(s[o],n)&&s[o].push(r?n:{listener:n,once:!1});return this},n.on=i("addListener"),n.addOnceListener=function t(e,i){return this.addListener(e,{listener:i,once:!0})},n.once=i("addOnceListener"),n.defineEvent=function t(e){return this.getListeners(e),this},n.defineEvents=function t(e){for(var i=0;i<e.length;i+=1)this.defineEvent(e[i]);return this},n.removeListener=function t(i,n){var s=this.getListenersAsObject(i),r,o;for(o in s)s.hasOwnProperty(o)&&-1!==(r=e(s[o],n))&&s[o].splice(r,1);return this},n.off=i("removeListener"),n.addListeners=function t(e,i){return this.manipulateListeners(!1,e,i)},n.removeListeners=function t(e,i){return this.manipulateListeners(!0,e,i)},n.manipulateListeners=function t(e,i,n){var s,r,o=e?this.removeListener:this.addListener,a=e?this.removeListeners:this.addListeners;if("object"!=typeof i||i instanceof RegExp)for(s=n.length;s--;)o.call(this,i,n[s]);else for(s in i)i.hasOwnProperty(s)&&(r=i[s])&&("function"==typeof r?o.call(this,s,r):a.call(this,s,r));return this},n.removeEvent=function t(e){var i=typeof e,n=this._getEvents(),s;if("string"===i)delete n[e];else if(e instanceof RegExp)for(s in n)n.hasOwnProperty(s)&&e.test(s)&&delete n[s];else delete this._events;return this},n.removeAllListeners=i("removeEvent"),n.emitEvent=function t(e,i){var n=this.getListenersAsObject(e),s,r,o,a;for(o in n)if(n.hasOwnProperty(o))for(r=n[o].length;r--;)s=n[o][r],!0===s.once&&this.removeListener(e,s.listener),(a=s.listener.apply(this,i||[]))===this._getOnceReturnValue()&&this.removeListener(e,s.listener);return this},n.trigger=i("emitEvent"),n.emit=function t(e){var i=Array.prototype.slice.call(arguments,1
43);return this.emitEvent(e,i)},n.setOnceReturnValue=function t(e){return this._onceReturnValue=e,this},n._getOnceReturnValue=function t(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},n._getEvents=function t(){return this._events||(this._events={})},t.noConflict=function e(){return s.EventEmitter=r,t},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:s.EventEmitter=t}.call(this),function(t){function e(t){if(t){if("string"==typeof n[t])return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e,s=0,r=i.length;s<r;s++)if(e=i[s]+t,"string"==typeof n[e])return e}}var i="Webkit Moz ms Ms O".split(" "),n=document.documentElement.style;"function"==typeof define&&define.amd?define("get-style-property/get-style-property",[],function(){return e}):"object"==typeof exports?module.exports=e:t.getStyleProperty=e}(window),function(t,e){function i(t){var e=parseFloat(t);return-1===t.indexOf("%")&&!isNaN(e)&&e}function n(){}function s(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0,i=a.length;e<i;e++){t[a[e]]=0}return t}function r(e){function n(){if(!u){u=!0;var n=t.getComputedStyle;if(c=function(){var t=n?function(t){return n(t,null)}:function(t){return t.currentStyle};return function e(i){var n=t(i);return n||o("Style returned "+n+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),n}}(),h=e("boxSizing")){var s=document.createElement("div");s.style.width="200px",s.style.padding="1px 2px 3px 4px",s.style.borderStyle="solid",s.style.borderWidth="1px 2px 3px 4px",s.style[h]="border-box";var r=document.body||document.documentElement;r.appendChild(s);var a=c(s);d=200===i(a.width),r.removeChild(s)}}}function r(t){if(n(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var e=c(t);if("none"===e.display)return s();var r={};r.width=t.offsetWidth,r.height=t.offsetHeight;for(var o=r.isBorderBox=!(!h||!e[h]||"border-box"!==e[h]),u=0,p=a.length;u<p;u++){var f=a[u],m=e[f];m=l(t,m);var g=parseFloat(m);r[f]=isNaN(g)?0:g}var v=r.paddingLeft+r.paddingRight,_=r.paddingTop+r.paddingBottom,y=r.marginLeft+r.marginRight,b=r.marginTop+r.marginBottom,w=r.borderLeftWidth+r.borderRightWidth,x=r.borderTopWidth+r.borderBottomWidth,S=o&&d,T=i(e.width);!1!==T&&(r.width=T+(S?0:v+w));var C=i(e.height);return!1!==C&&(r.height=C+(S?0:_+x)),r.innerWidth=r.width-(v+w),r.innerHeight=r.height-(_+x),r.outerWidth=r.width+y,r.outerHeight=r.height+b,r}}function l(e,i){if(t.getComputedStyle||-1===i.indexOf("%"))return i;var n=e.style,s=n.left,r=e.runtimeStyle,o=r&&r.left;return o&&(r.left=e.currentStyle.left),n.left=i,i=n.pixelLeft,n.left=s,o&&(r.left=o),i}var u=!1,c,h,d;return r}var o="undefined"==typeof console?n:function(t){console.error(t)},a=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];"function"==typeof define&&define.amd?define("get-size/get-size",["get-style-property/get-style-property"],r):"object"==typeof exports?module.exports=r(require("desandro-get-style-property")):t.getSize=r(t.getStyleProperty)}(window),function(t){function e(t){"function"==typeof t&&(e.isReady?t():o.push(t))}function i(t){var i="readystatechange"===t.type&&"complete"!==r.readyState;e.isReady||i||n()}function n(){e.isReady=!0;for(var t=0,i=o.length;t<i;t++){(0,o[t])()}}function s(s){return"complete"===r.readyState?n():(s.bind(r,"DOMContentLoaded",i),s.bind(r,"readystatechange",i),s.bind(t,"load",i)),e}var r=t.document,o=[];e.isReady=!1,"function"==typeof define&&define.amd?define("doc-ready/doc-ready",["eventie/eventie"],s):"object"==typeof exports?module.exports=s(require("eventie")):t.docReady=s(t.eventie)}(window),function(t){function e(t,e){return t[r](e)}function i(t){if(!t.parentNode){document.createDocumentFragment().appendChild(t)}}function n(t,e){i(t);for(var n=t.parentNode.querySelectorAll(e),s=0,r=n.length;s<r;s++)if(n[s]===t)return!0;return!1}function s(t,n){return i(t),e(t,n)}var r=function(){if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0,n=e.length;i<n;i++){var s=e[i],r=s+"MatchesSelector";if(t[r])return r}}(),o;if(r){var a=document.createElement("div"),l=e(a,"div");o=l?e:s}else o=n;"function"==typeof define&&define.amd?define("matches-selector/matches-selector",[],function(){return o}
43):"object"==typeof exports?module.exports=o:window.matchesSelector=o}(Element.prototype),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["doc-ready/doc-ready","matches-selector/matches-selector"],function(i,n){return e(t,i,n)}):"object"==typeof exports?module.exports=e(t,require("doc-ready"),require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.docReady,t.matchesSelector)}(window,function t(e,i,n){var s={};s.extend=function(t,e){for(var i in e)t[i]=e[i];return t},s.modulo=function(t,e){return(t%e+e)%e};var r=Object.prototype.toString;s.isArray=function(t){return"[object Array]"==r.call(t)},s.makeArray=function(t){var e=[];if(s.isArray(t))e=t;else if(t&&"number"==typeof t.length)for(var i=0,n=t.length;i<n;i++)e.push(t[i]);else e.push(t);return e},s.indexOf=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var i=0,n=t.length;i<n;i++)if(t[i]===e)return i;return-1},s.removeFrom=function(t,e){var i=s.indexOf(t,e);-1!=i&&t.splice(i,1)},s.isElement="function"==typeof HTMLElement||"object"==typeof HTMLElement?function t(e){return e instanceof HTMLElement}:function t(e){return e&&"object"==typeof e&&1==e.nodeType&&"string"==typeof e.nodeName},s.setText=function(){function t(t,i){e=e||(void 0!==document.documentElement.textContent?"textContent":"innerText"),t[e]=i}var e;return t}(),s.getParent=function(t,e){for(;t!=document.body;)if(t=t.parentNode,n(t,e))return t},s.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},s.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},s.filterFindElements=function(t,e){t=s.makeArray(t);for(var i=[],r=0,o=t.length;r<o;r++){var a=t[r];if(s.isElement(a))if(e){n(a,e)&&i.push(a);for(var l=a.querySelectorAll(e),u=0,c=l.length;u<c;u++)i.push(l[u])}else i.push(a)}return i},s.debounceMethod=function(t,e,i){var n=t.prototype[e],s=e+"Timeout";t.prototype[e]=function(){var t=this[s];t&&clearTimeout(t);var e=arguments,r=this;this[s]=setTimeout(function(){n.apply(r,e),delete r[s]},i||100)}},s.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var o=e.console;return s.htmlInit=function(t,n){i(function(){for(var i=s.toDashed(n),r=document.querySelectorAll(".js-"+i),a="data-"+i+"-options",l=0,u=r.length;l<u;l++){var c=r[l],h=c.getAttribute(a),d;try{d=h&&JSON.parse(h)}catch(t){o&&o.error("Error parsing "+a+" on "+c.nodeName.toLowerCase()+(c.id?"#"+c.id:"")+": "+t);continue}var p=new t(c,d),f=e.jQuery;f&&f.data(c,n,p)}})},s}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property","fizzy-ui-utils/utils"],function(i,n,s,r){return e(t,i,n,s,r)}):"object"==typeof exports?module.exports=e(t,require("wolfy87-eventemitter"),require("get-size"),require("desandro-get-style-property"),require("fizzy-ui-utils")):(t.Outlayer={},t.Outlayer.Item=e(t,t.EventEmitter,t.getSize,t.getStyleProperty,t.fizzyUIUtils))}(window,function t(e,i,n,s,r){function o(t){for(var e in t)return!1;return e=null,!0}function a(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var l=e.getComputedStyle,u=l?function(t){return l(t,null)}:function(t){return t.currentStyle},c=s("transition"),h=s("transform"),d=c&&h,p=!!s("perspective"),f={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[c],m=["transform","transition","transitionDuration","transitionProperty"],g=function(){for(var t={},e=0,i=m.length;e<i;e++){var n=m[e],r=s(n);r&&r!==n&&(t[n]=r)}return t}();r.extend(a.prototype,i.prototype),a.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},a.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},a.prototype.getSize=function(){this.size=n(this.element)},a.prototype.css=function(t){var e=this.element.style;for(var i in t){e[g[i]||i]=t[i]}},a.prototype.getPosition=function(){var t=u(this.element),e=this.layout.options,i=e.isOriginLeft,n=e.isOriginTop,s=parseInt(t[i?"left":"right"],10),r=parseInt(t[n?"top":"bottom"],10);s=isNaN(s)?0:s,r=isNaN(r)?0:r;var o=this.layout.size;s-=i?o.paddingLeft:o.paddingRight,r-=n?o.paddingTop:o.paddingBottom,this.position.x=s,this.position.y=r},a.prototype.layoutPosition=function(){var t=this.layout.size,e=this.layout.options,i={},n=e.isOriginLeft?"paddingLeft":"paddingRight",s=e.isOriginLeft?"left"
43:"right",r=e.isOriginLeft?"right":"left",o=this.position.x+t[n];o=e.percentPosition&&!e.isHorizontal?o/t.width*100+"%":o+"px",i[s]=o,i[r]="";var a=e.isOriginTop?"paddingTop":"paddingBottom",l=e.isOriginTop?"top":"bottom",u=e.isOriginTop?"bottom":"top",c=this.position.y+t[a];c=e.percentPosition&&e.isHorizontal?c/t.height*100+"%":c+"px",i[l]=c,i[u]="",this.css(i),this.emitEvent("layout",[this])};var v=p?function(t,e){return"translate3d("+t+"px, "+e+"px, 0)"}:function(t,e){return"translate("+t+"px, "+e+"px)"};a.prototype._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,s=parseInt(t,10),r=parseInt(e,10),o=s===this.position.x&&r===this.position.y;if(this.setPosition(t,e),o&&!this.isTransitioning)return void this.layoutPosition();var a=t-i,l=e-n,u={},c=this.layout.options;a=c.isOriginLeft?a:-a,l=c.isOriginTop?l:-l,u.transform=v(a,l),this.transition({to:u,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},a.prototype.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},a.prototype.moveTo=d?a.prototype._transitionTo:a.prototype.goTo,a.prototype.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},a.prototype._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},a.prototype._transition=function(t){if(this.layout.options.transitionDuration=myTransitionDuration,!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(t);var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);var n=this.element.offsetHeight;n=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var _=h&&r.toDashed(h)+",opacity";a.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:_,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(f,this,!1))},a.prototype.transition=a.prototype[c?"_transition":"_nonTransition"],a.prototype.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},a.prototype.onotransitionend=function(t){this.ontransitionend(t)};var y={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"}
44;a.prototype.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=y[t.propertyName]||t.propertyName;if(delete e.ingProperties[i],o(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd){e.onEnd[i].call(this),delete e.onEnd[i]}this.emitEvent("transitionEnd",[this])}},a.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(f,this,!1),this.isTransitioning=!1},a.prototype._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var b={transitionProperty:"",transitionDuration:""};return a.prototype.removeTransitionStyles=function(){this.css(b)},a.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},a.prototype.remove=function(){if(!c||!parseFloat(this.layout.options.transitionDuration))return void this.removeElem();var t=this;this.once("transitionEnd",function(){t.removeElem()}),this.hide()},a.prototype.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},a.prototype.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},a.prototype.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},a.prototype.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},a.prototype.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},a.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},a}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/outlayer",["eventie/eventie","eventEmitter/EventEmitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,n,s,r,o){return e(t,i,n,s,r,o)}):"object"==typeof exports?module.exports=e(t,require("eventie"),require("wolfy87-eventemitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.eventie,t.EventEmitter,t.getSize,t.f
44izzyUIUtils,t.Outlayer.Item)}(window,function t(e,i,n,s,r,o){function a(t,e){var i=r.getQueryElement(t);if(!i)return void(l&&l.error("Bad element for "+this.constructor.namespace+": "+(i||t)));this.element=i,u&&(this.$element=u(this.element)),this.options=r.extend({},this.constructor.defaults),this.option(e);var n=++h;this.element.outlayerGUID=n,d[n]=this,this._create(),this.options.isInitLayout&&this.layout()}var l=e.console,u=e.jQuery,c=function(){},h=0,d={};return a.namespace="outlayer",a.Item=o,a.defaults={containerStyle:{position:"relative"},isInitLayout:!0,isOriginLeft:!0,isOriginTop:!0,isResizeBound:!0,isResizingContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},r.extend(a.prototype,n.prototype),a.prototype.option=function(t){r.extend(this.options,t)},a.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),r.extend(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},a.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},a.prototype._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],s=0,r=e.length;s<r;s++){var o=e[s],a=new i(o,this);n.push(a)}return n},a.prototype._filterFindItemElements=function(t){return r.filterFindElements(t,this.options.itemSelector)},a.prototype.getItemElements=function(){for(var t=[],e=0,i=this.items.length;e<i;e++)t.push(this.items[e].element);return t},a.prototype.layout=function(){this._resetLayout(),this._manageStamps();var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},a.prototype._init=a.prototype.layout,a.prototype._resetLayout=function(){this.getSize()},a.prototype.getSize=function(){this.size=s(this.element)},a.prototype._getMeasurement=function(t,e){var i=this.options[t],n;i?("string"==typeof i?n=this.element.querySelector(i):r.isElement(i)&&(n=i),this[t]=n?s(n)[e]:i):this[t]=0},a.prototype.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},a.prototype._getItemsForLayout=function(t){for(var e=[],i=0,n=t.length;i<n;i++){var s=t[i];s.isIgnored||e.push(s)}return e},a.prototype._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){for(var i=[],n=0,s=t.length;n<s;n++){var r=t[n],o=this._getItemLayoutPosition(r);o.item=r,o.isInstant=e||r.isLayoutInstant,i.push(o)}this._processLayoutQueue(i)}},a.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},a.prototype._processLayoutQueue=function(t){for(var e=0,i=t.length;e<i;e++){var n=t[e];this._positionItem(n.item,n.x,n.y,n.isInstant)}},a.prototype._positionItem=function(t,e,i,n){n?t.goTo(e,i):t.moveTo(e,i)},a.prototype._postLayout=function(){this.resizeContainer()},a.prototype.resizeContainer=function(){if(this.options.isResizingContainer){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},a.prototype._getContainerSize=c,a.prototype._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},a.prototype._emitCompleteOnItems=function(t,e){function i(){s.emitEvent(t+"Complete",[e])}function n(){++o===r&&i()}var s=this,r=e.length;if(!e||!r)return void i();for(var o=0,a=0,l=e.length;a<l;a++){e[a].once(t,n)}},a.prototype.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},a.prototype.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},a.prototype.stamp=function(t){if(t=this._find(t)){this.stamps=this.stamps.concat(t);for(var e=0,i=t.length;e<i;e++){var n=t[e];this.ignore(n)}}},a.prototype.unstamp=function(t){if(t=this._find(t))for(var e=0,i=t.length;e<i;e++){var n=t[e];r.removeFrom(this.stamps,n),this.unignore(n)}},a.prototype._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),t=r.makeArray(t)},a.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect
44();for(var t=0,e=this.stamps.length;t<e;t++){var i=this.stamps[t];this._manageStamp(i)}}},a.prototype._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},a.prototype._manageStamp=c,a.prototype._getElementOffset=function(t){var e=t.getBoundingClientRect(),i=this._boundingRect,n=s(t);return{left:e.left-i.left-n.marginLeft,top:e.top-i.top-n.marginTop,right:i.right-e.right-n.marginRight,bottom:i.bottom-e.bottom-n.marginBottom}},a.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},a.prototype.bindResize=function(){this.isResizeBound||(i.bind(e,"resize",this),this.isResizeBound=!0)},a.prototype.unbindResize=function(){this.isResizeBound&&i.unbind(e,"resize",this),this.isResizeBound=!1},a.prototype.onresize=function(){this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resize()},a.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},a.prototype.needsResizeLayout=function(){var t=s(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},a.prototype.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},a.prototype.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},a.prototype.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},a.prototype.reveal=function(t){this._emitCompleteOnItems("reveal",t);for(var e=t&&t.length,i=0;e&&i<e;i++){t[i].reveal()}},a.prototype.hide=function(t){this._emitCompleteOnItems("hide",t);for(var e=t&&t.length,i=0;e&&i<e;i++){t[i].hide()}},a.prototype.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},a.prototype.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},a.prototype.getItem=function(t){for(var e=0,i=this.items.length;e<i;e++){var n=this.items[e];if(n.element===t)return n}},a.prototype.getItems=function(t){t=r.makeArray(t);for(var e=[],i=0,n=t.length;i<n;i++){var s=t[i],o=this.getItem(s);o&&e.push(o)}return e},a.prototype.remove=function(t){var e=this.getItems(t);if(this._emitCompleteOnItems("remove",e),e&&e.length)for(var i=0,n=e.length;i<n;i++){var s=e[i];s.remove(),r.removeFrom(this.items,s)}},a.prototype.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="";for(var e=0,i=this.items.length;e<i;e++){this.items[e].destroy()}this.unbindResize();var n=this.element.outlayerGUID;delete d[n],delete this.element.outlayerGUID,u&&u.removeData(this.element,this.constructor.namespace)},a.data=function(t){t=r.getQueryElement(t);var e=t&&t.outlayerGUID;return e&&d[e]},a.create=function(t,e){function i(){a.apply(this,arguments)}return Object.create?i.prototype=Object.create(a.prototype):r.extend(i.prototype,a.prototype),i.prototype.constructor=i,i.defaults=r.extend({},a.defaults),r.extend(i.defaults,e),i.prototype.settings={},i.namespace=t,i.data=a.data,i.Item=function t(){o.apply(this,arguments)},i.Item.prototype=new o,r.htmlInit(i,t),u&&u.bridget&&u.bridget(t,i),i},a.Item=o,a}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/item",["outlayer/outlayer"],e):"object"==typeof exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,function t(e){function i(){e.Item.apply(this,arguments)}i.prototype=new e.Item,i.prototype._create=function(){this.id=this.layout.itemGUID++,e.Item.prototype._create.call(this),this.sortData={}},i.prototype.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var n=e[i];this.sortData[i]=n(this.element,this)}}};var n=i.prototype.destroy;return i.prototype.destroy=function(){n.apply(this,arguments),this.css({display:""})},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function t(e,i){function n(t){this.isotope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}return function(){function t(t){return function(){return i.prototype[t].apply(this.isotope,arguments)}}for(var e=["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout"],s=0,r=e.length;s<r;s++){var o=e[s];n.prototype[o]=t(o)}}(),n.prototype.needsVerticalResizeLayout=function(){var t=e(this.isotope.element);
44return this.isotope.size&&t&&t.innerHeight!=this.isotope.size.innerHeight},n.prototype._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},n.prototype.getColumnWidth=function(){this.getSegmentSize("column","Width")},n.prototype.getRowHeight=function(){this.getSegmentSize("row","Height")},n.prototype.getSegmentSize=function(t,e){var i=t+e,n="outer"+e;if(this._getMeasurement(i,n),!this[i]){var s=this.getFirstItemSize();this[i]=s&&s[n]||this.isotope.size["inner"+e]}},n.prototype.getFirstItemSize=function(){var t=this.isotope.filteredItems[0];return t&&t.element&&e(t.element)},n.prototype.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},n.prototype.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},n.modes={},n.create=function(t,e){function i(){n.apply(this,arguments)}return i.prototype=new n,e&&(i.options=e),i.prototype.namespace=t,n.modes[t]=i,i},n}),function(t,e){"function"==typeof define&&define.amd?define("masonry/masonry",["outlayer/outlayer","get-size/get-size","fizzy-ui-utils/utils"],e):"object"==typeof exports?module.exports=e(require("outlayer"),require("get-size"),require("fizzy-ui-utils")):t.Masonry=e(t.Outlayer,t.getSize,t.fizzyUIUtils)}(window,function t(e,i,n){var s=e.create("masonry");return s.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns();var t=this.cols;for(this.colYs=[];t--;)this.colYs.push(0);this.maxY=0},s.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],e=t&&t.element;this.columnWidth=e&&i(e).outerWidth||this.containerWidth}var n=this.columnWidth+=this.gutter,s=this.containerWidth+this.gutter,r=s/n,o=n-s%n,a=o&&o<1?"round":"floor";r=Math[a](r),this.cols=Math.max(r,1)},s.prototype.getContainerWidth=function(){var t=this.options.isFitWidth?this.element.parentNode:this.element,e=i(t);this.containerWidth=e&&e.innerWidth},s.prototype._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=e&&e<1?"round":"ceil",s=Math[i](t.size.outerWidth/this.columnWidth);s=Math.min(s,this.cols);for(var r=this._getColGroup(s),o=Math.min.apply(Math,r),a=n.indexOf(r,o),l={x:this.columnWidth*a,y:o},u=o+t.size.outerHeight,c=this.cols+1-r.length,h=0;h<c;h++)this.colYs[a+h]=u;return l},s.prototype._getColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;n<i;n++){var s=this.colYs.slice(n,n+t);e[n]=Math.max.apply(Math,s)}return e},s.prototype._manageStamp=function(t){var e=i(t),n=this._getElementOffset(t),s=this.options.isOriginLeft?n.left:n.right,r=s+e.outerWidth,o=Math.floor(s/this.columnWidth);o=Math.max(0,o);var a=Math.floor(r/this.columnWidth);a-=r%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var l=(this.options.isOriginTop?n.top:n.bottom)+e.outerHeight,u=o;u<=a;u++)this.colYs[u]=Math.max(l,this.colYs[u])},s.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this.options.isFitWidth&&(t.width=this._getContainerFitWidth()),t},s.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},s.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!==this.containerWidth},s}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/layout-modes/masonry",["../layout-mode","masonry/masonry"],e):"object"==typeof exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)}(window,function t(e,i){function n(t,e){for(var i in e)t[i]=e[i];return t}var s=e.create("masonry"),r=s.prototype._getElementOffset,o=s.prototype.layout,a=s.prototype._getMeasurement;n(s.prototype,i.prototype),s.prototype._getElementOffset=r,s.prototype.layout=o,s.prototype._getMeasurement=a;var l=s.prototype.measureColumns;s.prototype.measureColumns=function(){this.items=this.isotope.filteredItems,l.call(this)};var u=s.prototype._manageStamp;return s.prototype._manageStamp=function(){this.options.isOriginLeft=this.isotope.options.isOriginLeft,this.options.isOriginTop=this.isotope.options.isOriginTop,u.apply(this,arguments)},s}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function t(e){var i=e.create("fitRows");return i.prototype._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i.prototype._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var n={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,n},i.prototype._getContainerSize=function(){return{height:this.maxY}},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function t(e){var i=e.create("vertical",{horizontalAlignment:0});return i.prototype._resetLayout=function(){this.y=0},i.prototype._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i.prototype._getContainerSize=function(){return{height:this.y}},i}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","matches-selector/matches-selector","fizzy-ui-utils/utils","isotope/js/item","isotope/js/layout-mode","isotope/js/layout-modes/masonry","isotope/js/layout-modes/fit-rows","isotope/js/layout-modes/vertical"],function(i,n,s,r,o,a){return e(t,i,n,s,r,o,a)}):"object"==typeof exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("./item"),require("./layout-mode"),require("./layout-modes/masonry"),require("./layout-modes/fit-rows"),require("./layout-modes/vertical")):t.Isotope=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.Isotope.Item,t.Isotope.LayoutMode)}(window,function t(e,i,n,s,r,o,a){function l(t,e){return function i(n,s){for(var r=0,o=t.length;r<o;r++){var a=t[r],l=n.sortData[a],u=s.sortData[a];if(l>u||l<u){var c=void 0!==e[a]?e[a]:e,h=c?1:-1;return(l>u?1:-1)*h}}return 0}}var u=e.jQuery,c=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},h=document.documentElement,d=h.textContent?function(t){return t.textContent}:function(t){return t.innerText},p=i.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});p.Item=o,p.LayoutMode=a,p.prototype._create=function(){this.itemGUID=0,this._sorters={},this._getSorters(),i.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"];for(var t in a.modes)this._initLayoutMode(t)},p.prototype.reloadItems=function(){this.itemGUID=0,i.prototype.reloadItems.call(this)},p.prototype._itemize=function(){for(var t=i.prototype._itemize.apply(this,arguments),e=0,n=t.length;e<n;e++){t[e].id=this.itemGUID++}return this._updateItemsSortData(t),t},p.prototype._initLayoutMode=function(t){var e=a.modes[t],i=this.options[t]||{};this.options[t]=e.options?r.extend(e.options,i):i,this.modes[t]=new e(this)},p.prototype.layout=function(){if(!this._isLayoutInited&&this.options.isInitLayout)return void this.arrange();this._layout()},p.prototype._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},p.prototype.arrange=function(t){function e(){n.reveal(i.needReveal),n.hide(i.needHide)}this.option(t),this._getIsInstant();var i=this._filter(this.items);this.filteredItems=i.matches;var n=this;this._bindArrangeComplete(),this._isInstant?this._noTransition(e):e(),this._sort(),this._layout()},p.prototype._init=p.prototype.arrange,p.prototype._getIsInstant=function(){var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;return this._isInstant=t,t},p.prototype._bindArrangeComplete=function(){function t(){e&&i&&n&&s.emitEvent("arrangeComplete",[s.filteredItems])}var e,i,n,s=this;this.once("layoutComplete",function(){e=!0,t()}),this.once("hideComplete",function(){i=!0,t()}),this.once("revealComplete",function(){n=!0,t()})},p.prototype._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],n=[],s=[],r=this._getFilterTest(e),o=0,a=t.length;o<a;o++){var l=t[o];if(!l.isIgnored){var u=r(l);
44u&&i.push(l),u&&l.isHidden?n.push(l):u||l.isHidden||s.push(l)}}return{matches:i,needReveal:n,needHide:s}},p.prototype._getFilterTest=function(t){return u&&this.options.isJQueryFiltering?function(e){return u(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return s(e.element,t)}},p.prototype.updateSortData=function(t){var e;t?(t=r.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},p.prototype._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=f(i)}},p.prototype._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++){t[i].updateSortData()}};var f=function(){function t(t){if("string"!=typeof t)return t;var i=c(t).split(" "),n=i[0],s=n.match(/^\[(.+)\]$/),r=s&&s[1],o=e(r,n),a=p.sortDataParsers[i[1]];return t=a?function(t){return t&&a(o(t))}:function(t){return t&&o(t)}}function e(t,e){var i;return i=t?function(e){return e.getAttribute(t)}:function(t){var i=t.querySelector(e);return i&&d(i)}}return t}();p.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},p.prototype._sort=function(){var t=this.options.sortBy;if(t){var e=[].concat.apply(t,this.sortHistory),i=l(e,this.options.sortAscending);this.filteredItems.sort(i),t!=this.sortHistory[0]&&this.sortHistory.unshift(t)}},p.prototype._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},p.prototype._resetLayout=function(){i.prototype._resetLayout.call(this),this._mode()._resetLayout()},p.prototype._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},p.prototype._manageStamp=function(t){this._mode()._manageStamp(t)},p.prototype._getContainerSize=function(){return this._mode()._getContainerSize()},p.prototype.needsResizeLayout=function(){return this._mode().needsResizeLayout()},p.prototype.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},p.prototype.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var i=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=e.concat(this.items)}},p.prototype._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},p.prototype.insert=function(t){var e=this.addItems(t);if(e.length){var i,n,s=e.length;for(i=0;i<s;i++)n=e[i],this.element.appendChild(n.element);var r=this._filter(e).matches;for(i=0;i<s;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<s;i++)delete e[i].isLayoutInstant;this.reveal(r)}};var m=p.prototype.remove;return p.prototype.remove=function(t){t=r.makeArray(t);var e=this.getItems(t);m.call(this,t);var i=e&&e.length;if(i)for(var n=0;n<i;n++){var s=e[n];r.removeFrom(this.filteredItems,s)}},p.prototype.shuffle=function(){for(var t=0,e=this.items.length;t<e;t++){this.items[t].sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},p.prototype._noTransition=function(t){var e=this.options.transitionDuration;this.options.transitionDuration=0;var i=t.call(this);return this.options.transitionDuration=e,i},p.prototype.getFilteredItemElements=function(){for(var t=[],e=0,i=this.filteredItems.length;e<i;e++)t.push(this.filteredItems[e].element);return t},p});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.