In this repo i store all my websites, each in a different branch
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 regels
62 KiB

var libFuncName=null;if("undefined"==typeof jQuery&&void 0===Zepto&&"function"==typeof $)libFuncName=$;else if("function"==typeof jQuery)libFuncName=jQuery;else{if("function"!=typeof Zepto)throw new TypeError;libFuncName=Zepto}(function(t,e,n,i){"use strict";var r,o,a,s,c,l;e.matchMedia=e.matchMedia||(a=(r=n).documentElement,s=a.firstElementChild||a.firstChild,c=r.createElement("body"),(l=r.createElement("div")).id="mq-test-1",l.style.cssText="position:absolute;top:-100em",c.style.background="none",c.appendChild(l),function(t){return l.innerHTML='&shy;<style media="'+t+'"> #mq-test-1 { width: 42px; }</style>',a.insertBefore(c,s),o=42===l.offsetWidth,a.removeChild(c),{matches:o,media:t}}),Array.prototype.filter||(Array.prototype.filter=function(t){if(null==this)throw new TypeError;var e=Object(this),n=e.length>>>0;if("function"==typeof t){for(var i=[],r=arguments[1],o=0;o<n;o++)if(o in e){var a=e[o];t&&t.call(r,a,o,e)&&i.push(a)}return i}}),Function.prototype.bind||(Function.prototype.bind=function(t){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var e=Array.prototype.slice.call(arguments,1),n=this,i=function(){},r=function(){return n.apply(this instanceof i&&t?this:t,e.concat(Array.prototype.slice.call(arguments)))};return i.prototype=this.prototype,r.prototype=new i,r}),Array.prototype.indexOf||(Array.prototype.indexOf=function(t){if(null==this)throw new TypeError;var e=Object(this),n=e.length>>>0;if(0===n)return-1;var i=0;if(arguments.length>1&&((i=Number(arguments[1]))!=i?i=0:0!=i&&i!=1/0&&i!=-1/0&&(i=(i>0||-1)*Math.floor(Math.abs(i)))),i>=n)return-1;for(var r=i>=0?i:Math.max(n-Math.abs(i),0);r<n;r++)if(r in e&&e[r]===t)return r;return-1}),t.fn.stop=t.fn.stop||function(){return this},e.Foundation={name:"Foundation",version:"4.3.1",cache:{},init:function(e,n,i,r,o,a){var s,c=[e,i,r,o],l=[];if((a=a||!1)&&(this.nc=a),this.rtl=/rtl/i.test(t("html").attr("dir")),this.scope=e||this.scope,n&&"string"==typeof n&&!/reflow/i.test(n)){if(/off/i.test(n))return this.off();if((s=n.split(" ")).length>0)for(var u=s.length-1;u>=0;u--)l.push(this.init_lib(s[u],c))}else for(var f in/reflow/i.test(n)&&(c[1]="reflow"),this.libs)l.push(this.init_lib(f,c));return"function"==typeof n&&c.unshift(n),this.response_obj(l,c)},response_obj:function(t,e){for(var n=0,i=e.length;n<i;n++)if("function"==typeof e[n])return e[n]({errors:t.filter(function(t){if("string"==typeof t)return t})});return t},init_lib:function(t,e){return this.trap(function(){return this.libs.hasOwnProperty(t)?(this.patch(this.libs[t]),this.libs[t].init.apply(this.libs[t],e)):function(){}}.bind(this),t)},trap:function(t,e){if(!this.nc)try{return t()}catch(t){return this.error({name:e,message:"could not be initialized",more:t.name+" "+t.message})}return t()},patch:function(t){this.fix_outer(t),t.scope=this.scope,t.rtl=this.rtl},inherit:function(t,e){for(var n=e.split(" "),i=n.length-1;i>=0;i--)this.lib_methods.hasOwnProperty(n[i])&&(this.libs[t.name][n[i]]=this.lib_methods[n[i]])},random_str:function(t){var e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");t||(t=Math.floor(Math.random()*e.length));for(var n="",i=0;i<t;i++)n+=e[Math.floor(Math.random()*e.length)];return n},libs:{},lib_methods:{set_data:function(t,e){var n=[this.name,+new Date,Foundation.random_str(5)].join("-");return Foundation.cache[n]=e,t.attr("data-"+this.name+"-id",n),e},get_data:function(t){return Foundation.cache[t.attr("data-"+this.name+"-id")]},remove_data:function(e){e?(delete Foundation.cache[e.attr("data-"+this.name+"-id")],e.attr("data-"+this.name+"-id","")):t("[data-"+this.name+"-id]").each(function(){delete Foundation.cache[t(this).attr("data-"+this.name+"-id")],t(this).attr("data-"+this.name+"-id","")})},throttle:function(t,e){var n=null;return function(){var i=this,r=arguments;clearTimeout(n),n=setTimeout(function(){t.apply(i,r)},e)}},data_options:function(e){function n(e){return"string"==typeof e?t.trim(e):e}var i,r,o,a={},s=(e.attr("data-options")||":").split(";");for(i=s.length-1;i>=0;i--)r=s[i].split(":"),/true/i.test(r[1])&&(r[1]=!0),/false/i.test(r[1])&&(r[1]=!1),o=r[1],!isNaN(o-0)&&null!==o&&""!==o&&!1!==o&&!0!==o&&(r[1]=parseInt(r[1],10)),2===r.length&&r[0].length>0&&(a[n(r[0])]=n(r[1]));return a},delay:function(t,e){return setTimeout(t,e)},scrollTo:function(n,i,r){if(!(r<0)){var o=(i-t(e).scrollTop())/r*10;this.scrollToTimerCache=setTimeout(function(){isNaN(parseInt(o,10))||(e.scrollTo(0,t(e).scrollTop()+o),this.scrollTo(n,i,r-10))}.bind(this),10)}},scrollLeft:function(t){if(t.length)return"scrollLeft"in t[0]?t[0].scrollLeft:t[0].pageXOffset},empty:function(t){if(t.length&&t.length>0)return!1;if(t.length&&0===t.length)return!0;for(var e in t)if(hasOwnProperty.call(t,e))return!1;return!0}},fix_outer:function(t){t.outerHeight=function(t,e){return"function"==typeof Zepto?t.height():void 0!==e?t.outerHeight(e):t.outerHeight()},t.outerWidth=function(t,e){return"function"==typeof Zepto?t.width():void 0!==e?t.outerWidth(e):t.outerWidth()}},error:function(t){return t.name+" "+t.message+"; "+t.more},off:function(){return t(this.scope).off(".fndtn"),t(e).off(".fndtn"),!0},zj:t},t.fn.foundation=function(){var t=Array.prototype.slice.call(arguments,0);return this.each(function(){return Foundation.init.apply(Foundation,[this].concat(t)),this})}})(libFuncName,this,this.document),function(t,e,n,i){"use strict";Foundation.libs.dropdown={name:"dropdown",version:"4.3.0",settings:{activeClass:"open",is_hover:!1,opened:function(){},closed:function(){}},init:function(e,n,i){return this.scope=e||this.scope,Foundation.inherit(this,"throttle scrollLeft data_options"),"object"==typeof n&&t.extend(!0,this.settings,n),"string"!=typeof n?(this.settings.init||this.events(),this.settings.init):this[n].call(this,i)},events:function(){var i=this;t(this.scope).on("click.fndtn.dropdown","[data-dropdown]",function(e){var n=t.extend({},i.settings,i.data_options(t(this)));e.preventDefault(),n.is_hover||i.toggle(t(this))}).on("mouseenter","[data-dropdown]",function(e){t.extend({},i.settings,i.data_options(t(this))).is_hover&&i.toggle(t(this))}).on("mouseleave","[data-dropdown-content]",function(e){var n=t('[data-dropdown="'+t(this).attr("id")+'"]');t.extend({},i.settings,i.data_options(n)).is_hover&&i.close.call(i,t(this))}).on("opened.fndtn.dropdown","[data-dropdown-content]",this.settings.opened).on("closed.fndtn.dropdown","[data-dropdown-content]",this.settings.closed),t(n).on("click.fndtn.dropdown",function(e){var n=t(e.target).closest("[data-dropdown-content]");t(e.target).data("dropdown")||(n.length>0&&(t(e.target).is("[data-dropdown-content]")||t.contains(n.first()[0],e.target))?e.stopPropagation():i.close.call(i,t("[data-dropdown-content]")))}),t(e).on("resize.fndtn.dropdown",i.throttle(function(){i.resize.call(i)},50)).trigger("resize"),this.settings.init=!0},close:function(e){var n=this;e.each(function(){t(this).hasClass(n.settings.activeClass)&&(t(this).css(Foundation.rtl?"right":"left","-99999px").removeClass(n.settings.activeClass),t(this).trigger("closed"))})},open:function(t,e){this.css(t.addClass(this.settings.activeClass),e),t.trigger("opened")},toggle:function(e){var n=t("#"+e.data("dropdown"));this.close.call(this,t("[data-dropdown-content]").not(n)),n.hasClass(this.settings.activeClass)?this.close.call(this,n):(this.close.call(this,t("[data-dropdown-content]")),this.open.call(this,n,e))},resize:function(){var e=t("[data-dropdown-content].open"),n=t("[data-dropdown='"+e.attr("id")+"']");e.length&&n.length&&this.css(e,n)},css:function(n,i){var r=n.offsetParent(),o=i.offset();if(o.top-=r.offset().top,o.left-=r.offset().left,this.small())n.css({position:"absolute",width:"95%",left:"2.5%","max-width":"none",top:o.top+this.outerHeight(i)});else{if(!Foundation.rtl&&t(e).width()>this.outerWidth(n)+i.offset().left){var a=o.left;n.hasClass("right")&&n.removeClass("right")}else{n.hasClass("right")||n.addClass("right");a=o.left-(this.outerWidth(n)-this.outerWidth(i))}n.attr("style","").css({position:"absolute",top:o.top+this.outerHeight(i),left:a})}return n},small:function(){return t(e).width()<768||t("html").hasClass("lt-ie9")},off:function(){t(this.scope).off(".fndtn.dropdown"),t("html, body").off(".fndtn.dropdown"),t(e).off(".fndtn.dropdown"),t("[data-dropdown-content]").off(".fndtn.dropdown"),this.settings.init=!1},reflow:function(){}}}(Foundation.zj,this,this.document),function(t,e,n,i){"use strict";Foundation.libs.alerts={name:"alerts",version:"4.2.2",settings:{speed:300,callback:function(){}},init:function(e,n,i){return this.scope=e||this.scope,"object"==typeof n&&t.extend(!0,this.settings,n),"string"!=typeof n?(this.settings.init||this.events(),this.settings.init):this[n].call(this,i)},events:function(){var e=this;t(this.scope).on("click.fndtn.alerts","[data-alert] a.close",function(n){n.preventDefault(),t(this).closest("[data-alert]").fadeOut(e.speed,function(){t(this).remove(),e.settings.callback()})}),this.settings.init=!0},off:function(){t(this.scope).off(".fndtn.alerts")},reflow:function(){}}}(Foundation.zj,0,this.document),function(t,e,n,i){"use strict";Foundation.libs.clearing={name:"clearing",version:"4.3.1",settings:{templates:{viewing:'<a href="#" class="clearing-close">&times;</a><div class="visible-img" style="display: none"><img src="//:0"><p class="clearing-caption"></p><a href="#" class="clearing-main-prev"><span></span></a><a href="#" class="clearing-main-next"><span></span></a></div>'},close_selectors:".clearing-close",init:!1,locked:!1},init:function(e,n,i){var r=this;return Foundation.inherit(this,"set_data get_data remove_data throttle data_options"),"object"==typeof n&&(i=t.extend(!0,this.settings,n)),"string"!=typeof n?(t(this.scope).find("ul[data-clearing]").each(function(){var e=t(this),n=n||{},i=e.find("li");!r.get_data(e)&&i.length>0&&(n.$parent=e.parent(),r.set_data(e,t.extend({},r.settings,n,r.data_options(e))),r.assemble(e.find("li")),r.settings.init||r.events().swipe_events())}),this.settings.init):this[n].call(this,i)},events:function(){var n=this;return t(this.scope).on("click.fndtn.clearing","ul[data-clearing] li",function(e,i,r){i=i||t(this),r=r||i;var o=i.next("li"),a=n.get_data(i.parent()),s=t(e.target);e.preventDefault(),a||n.init(),r.hasClass("visible")&&i[0]===r[0]&&o.length>0&&n.is_open(i)&&(s=(r=o).find("img")),n.open(s,i,r),n.update_paddles(r)}).on("click.fndtn.clearing",".clearing-main-next",function(t){this.nav(t,"next")}.bind(this)).on("click.fndtn.clearing",".clearing-main-prev",function(t){this.nav(t,"prev")}.bind(this)).on("click.fndtn.clearing",this.settings.close_selectors,function(t){Foundation.libs.clearing.close(t,this)}).on("keydown.fndtn.clearing",function(t){this.keydown(t)}.bind(this)),t(e).on("resize.fndtn.clearing",function(){this.resize()}.bind(this)),this.settings.init=!0,this},swipe_events:function(){var e=this;t(this.scope).on("touchstart.fndtn.clearing",".visible-img",function(e){e.touches||(e=e.originalEvent);var n={start_page_x:e.touches[0].pageX,start_page_y:e.touches[0].pageY,start_time:(new Date).getTime(),delta_x:0,is_scrolling:void 0};t(this).data("swipe-transition",n),e.stopPropagation()}).on("touchmove.fndtn.clearing",".visible-img",function(n){if(n.touches||(n=n.originalEvent),!(n.touches.length>1||n.scale&&1!==n.scale)){var i=t(this).data("swipe-transition");if(void 0===i&&(i={}),i.delta_x=n.touches[0].pageX-i.start_page_x,void 0===i.is_scrolling&&(i.is_scrolling=!!(i.is_scrolling||Math.abs(i.delta_x)<Math.abs(n.touches[0].pageY-i.start_page_y))),!i.is_scrolling&&!i.active){n.preventDefault();var r=i.delta_x<0?"next":"prev";i.active=!0,e.nav(n,r)}}}).on("touchend.fndtn.clearing",".visible-img",function(e){t(this).data("swipe-transition",{}),e.stopPropagation()})},assemble:function(e){var n=e.parent();n.after('<div id="foundationClearingHolder"></div>');var i=t("#foundationClearingHolder"),r=this.get_data(n),o=n.detach(),a='<div class="carousel">'+this.outerHTML(o[0])+"</div>",s='<div class="clearing-assembled"><div>'+r.templates.viewing+a+"</div></div>";return i.after(s).remove()},open:function(t,e,n){var i=n.closest(".clearing-assembled"),r=i.find("div").first(),o=r.find(".visible-img"),a=o.find("img").not(t);this.locked()||(a.attr("src",this.load(t)).css("visibility","hidden"),this.loaded(a,function(){a.css("visibility","visible"),i.addClass("clearing-blackout"),r.addClass("clearing-container"),o.show(),this.fix_height(n).caption(o.find(".clearing-caption"),t).center(a).shift(e,n,function(){n.siblings().removeClass("visible"),n.addClass("visible")})}.bind(this)))},close:function(e,n){e.preventDefault();var i,r,o,a=(o=t(n),/blackout/.test(o.selector)?o:o.closest(".clearing-blackout"));return n===e.target&&a&&(r=(i=a.find("div").first()).find(".visible-img"),this.settings.prev_index=0,a.find("ul[data-clearing]").attr("style","").closest(".clearing-blackout").removeClass("clearing-blackout"),i.removeClass("clearing-container"),r.hide()),!1},is_open:function(t){return t.parent().attr("style").length>0},keydown:function(e){var n=t(".clearing-blackout").find("ul[data-clearing]");39===e.which&&this.go(n,"next"),37===e.which&&this.go(n,"prev"),27===e.which&&t("a.clearing-close").trigger("click")},nav:function(e,n){var i=t(".clearing-blackout").find("ul[data-clearing]");e.preventDefault(),this.go(i,n)},resize:function(){var e=t(".clearing-blackout .visible-img").find("img");e.length&&this.center(e)},fix_height:function(e){var n=e.parent().children(),i=this;return n.each(function(){var e=t(this),n=e.find("img");e.height()>i.outerHeight(n)&&e.addClass("fix-height")}).closest("ul").width(100*n.length+"%"),this},update_paddles:function(t){var e=t.closest(".carousel").siblings(".visible-img");t.next().length>0?e.find(".clearing-main-next").removeClass("disabled"):e.find(".clearing-main-next").addClass("disabled"),t.prev().length>0?e.find(".clearing-main-prev").removeClass("disabled"):e.find(".clearing-main-prev").addClass("disabled")},center:function(t){return this.rtl?t.css({marginRight:-this.outerWidth(t)/2,marginTop:-this.outerHeight(t)/2}):t.css({marginLeft:-this.outerWidth(t)/2,marginTop:-this.outerHeight(t)/2}),this},load:function(t){if("A"===t[0].nodeName)var e=t.attr("href");else e=t.parent().attr("href");return this.preload(t),e||t.attr("src")},preload:function(t){this.img(t.closest("li").next()).img(t.closest("li").prev())},loaded:function(t,e){function n(){e()}t.attr("src")?t[0].complete||4===t[0].readyState?n():function(){if(this.one("load",n),/MSIE (\d+\.\d+);/.test(navigator.userAgent)){var t=this.attr("src"),e=t.match(/\?/)?"&":"?";e+="random="+(new Date).getTime(),this.attr("src",t+e)}}.call(t):n()},img:function(t){if(t.length){var e=new Image,n=t.find("a");n.length?e.src=n.attr("href"):e.src=t.find("img").attr("src")}return this},caption:function(t,e){var n=e.data("caption");return n?t.html(n).show():t.text("").hide(),this},go:function(t,e){var n=t.find(".visible"),i=n[e]();i.length&&i.find("img").trigger("click",[n,i])},shift:function(t,e,n){var i,r=e.parent(),o=this.settings.prev_index||e.index(),a=this.direction(r,t,e),s=parseInt(r.css("left"),10),c=this.outerWidth(e);e.index()===o||/skip/.test(a)?/skip/.test(a)&&(i=e.index()-this.settings.up_count,this.lock(),i>0?r.animate({left:-i*c},300,this.unlock()):r.animate({left:0},300,this.unlock())):/left/.test(a)?(this.lock(),r.animate({left:s+c},300,this.unlock())):/right/.test(a)&&(this.lock(),r.animate({left:s-c},300,this.unlock())),n()},direction:function(e,n,i){var r,o=e.find("li"),a=this.outerWidth(o)+this.outerWidth(o)/4,s=Math.floor(this.outerWidth(t(".clearing-container"))/a)-1,c=o.index(i);return this.settings.up_count=s,r=this.adjacent(this.settings.prev_index,c)?c>s&&c>this.settings.prev_index?"right":c>s-1&&c<=this.settings.prev_index&&"left":"skip",this.settings.prev_index=c,r},adjacent:function(t,e){for(var n=e+1;n>=e-1;n--)if(n===t)return!0;return!1},lock:function(){this.settings.locked=!0},unlock:function(){this.settings.locked=!1},locked:function(){return this.settings.locked},outerHTML:function(t){return t.outerHTML||(new XMLSerializer).serializeToString(t)},off:function(){t(this.scope).off(".fndtn.clearing"),t(e).off(".fndtn.clearing"),this.remove_data(),this.settings.init=!1},reflow:function(){this.init()}}}(Foundation.zj,this,this.document),function(t,e,n,i){"use strict";var r=function(){},o=function(i,r){if(i.hasClass(r.slides_container_class))return this;var o,l,u,f,h,d,p=this,g=i,m=0;g.children().first().addClass(r.active_slide_class),p.update_slide_number=function(e){r.slide_number&&(l.find("span:first").text(parseInt(e)+1),l.find("span:last").text(g.children().length)),r.bullets&&(u.children().removeClass(r.bullets_active_class),t(u.children().get(e)).addClass(r.bullets_active_class))},p.build_markup=function(){g.wrap('<div class="'+r.container_class+'"></div>'),o=g.parent(),g.addClass(r.slides_container_class),r.navigation_arrows&&(o.append(t("<a>").addClass(r.prev_class).append("<span>")),o.append(t("<a>").addClass(r.next_class).append("<span>"))),r.timer&&((f=t("<div>").addClass(r.timer_container_class)).append("<span>"),f.append(t("<div>").addClass(r.timer_progress_class)),f.addClass(r.timer_paused_class),o.append(f)),r.slide_number&&((l=t("<div>").addClass(r.slide_number_class)).append("<span></span> of <span></span>"),o.append(l)),r.bullets&&(u=t("<ol>").addClass(r.bullets_container_class),o.append(u),g.children().each(function(e,n){var i=t("<li>").attr("data-orbit-slide",e);u.append(i)})),r.stack_on_small&&o.addClass(r.stack_on_small_class),p.update_slide_number(0)},p._goto=function(e,n){if(e===m)return!1;"object"==typeof d&&d.restart();var i=g.children(),o="next";!0,e<m&&(o="prev"),e>=i.length?e=0:e<0&&(e=i.length-1);var a=t(i.get(m)),s=t(i.get(e));a.css("zIndex",2),s.css("zIndex",4).addClass("active"),g.trigger("orbit:before-slide-change"),r.before_slide_change();var c=function(){var t=function(){m=e,!1,!0===n&&(d=p.create_timer()).start(),p.update_slide_number(m),g.trigger("orbit:after-slide-change",[{slide_number:m,total_slides:i.length}]),r.after_slide_change(m,i.length)};g.height()!=s.height()?g.animate({height:s.height()},250,"linear",t):t()};if(1===i.length)return c(),!1;var l=function(){"next"===o&&h.next(a,s,c),"prev"===o&&h.prev(a,s,c)};s.height()>g.height()?g.animate({height:s.height()},250,"linear",l):l()},p.next=function(t){t.stopImmediatePropagation(),t.preventDefault(),p._goto(m+1)},p.prev=function(t){t.stopImmediatePropagation(),t.preventDefault(),p._goto(m-1)},p.link_custom=function(e){e.preventDefault();var n=t(this).attr("data-orbit-link");if("string"==typeof n&&""!=(n=t.trim(n))){var i=o.find("[data-orbit-slide="+n+"]");-1!=i.index()&&p._goto(i.index())}},p.link_bullet=function(e){var n=t(this).attr("data-orbit-slide");"string"==typeof n&&""!=(n=t.trim(n))&&p._goto(n)},p.timer_callback=function(){p._goto(m+1,!0)},p.compute_dimensions=function(){var e=t(g.children().get(m)).height();r.variable_height||g.children().each(function(){t(this).height()>e&&(e=t(this).height())}),g.height(e)},p.create_timer=function(){return new a(o.find("."+r.timer_container_class),r,p.timer_callback)},p.stop_timer=function(){"object"==typeof d&&d.stop()},p.toggle_timer=function(){o.find("."+r.timer_container_class).hasClass(r.timer_paused_class)?(void 0===d&&(d=p.create_timer()),d.start()):"object"==typeof d&&d.stop()},p.init=function(){p.build_markup(),r.timer&&(d=p.create_timer()).start(),h=new c(g),"slide"===r.animation&&(h=new s(g)),o.on("click","."+r.next_class,p.next),o.on("click","."+r.prev_class,p.prev),o.on("click","[data-orbit-slide]",p.link_bullet),o.on("click",p.toggle_timer),o.on("touchstart.fndtn.orbit",function(t){t.touches||(t=t.originalEvent);var e={start_page_x:t.touches[0].pageX,start_page_y:t.touches[0].pageY,start_time:(new Date).getTime(),delta_x:0,is_scrolling:void 0};o.data("swipe-transition",e),t.stopPropagation()}).on("touchmove.fndtn.orbit",function(t){if(t.touches||(t=t.originalEvent),!(t.touches.length>1||t.scale&&1!==t.scale)){var e=o.data("swipe-transition");if(void 0===e&&(e={}),e.delta_x=t.touches[0].pageX-e.start_page_x,void 0===e.is_scrolling&&(e.is_scrolling=!!(e.is_scrolling||Math.abs(e.delta_x)<Math.abs(t.touches[0].pageY-e.start_page_y))),!e.is_scrolling&&!e.active){t.preventDefault();var n=e.delta_x<0?m+1:m-1;e.active=!0,p._goto(n)}}}).on("touchend.fndtn.orbit",function(t){o.data("swipe-transition",{}),t.stopPropagation()}).on("mouseenter.fndtn.orbit",function(t){r.timer&&r.pause_on_hover&&p.stop_timer()}).on("mouseleave.fndtn.orbit",function(t){r.timer&&r.resume_on_mouseout&&d.start()}),t(n).on("click","[data-orbit-link]",p.link_custom),t(e).on("resize",p.compute_dimensions),t(e).on("load",p.compute_dimensions),g.trigger("orbit:ready")},p.init()},a=function(t,e,n){var i,r,o=this,a=e.timer_speed,s=t.find("."+e.timer_progress_class),c=-1;this.update_progress=function(t){var e=s.clone();e.attr("style",""),e.css("width",t+"%"),s.replaceWith(e),s=e},this.restart=function(){clearTimeout(r),t.addClass(e.timer_paused_class),c=-1,o.update_progress(0)},this.start=function(){if(!t.hasClass(e.timer_paused_class))return!0;c=-1===c?a:c,t.removeClass(e.timer_paused_class),i=(new Date).getTime(),s.animate({width:"100%"},c,"linear"),r=setTimeout(function(){o.restart(),n()},c),t.trigger("orbit:timer-started")},this.stop=function(){if(t.hasClass(e.timer_paused_class))return!0;clearTimeout(r),t.addClass(e.timer_paused_class);var n=(new Date).getTime(),s=100-(c-=n-i)/a*100;o.update_progress(s),t.trigger("orbit:timer-stopped")}},s=function(e){var n=1===t("html[dir=rtl]").length?"marginRight":"marginLeft";this.next=function(t,e,i){e.animate({margin:"0%"},400,"linear",function(){t.css(n,"100%"),i()})},this.prev=function(t,e,i){e.css(n,"-100%"),e.animate({margin:"0%"},400,"linear",function(){t.css(n,"100%"),i()})}},c=function(t){this.next=function(t,e,n){e.css({marginLeft:"0%",opacity:"0.01"}),e.animate({opacity:"1"},250,"linear",function(){t.css("marginLeft","100%"),n()})},this.prev=function(t,e,n){e.css({marginLeft:"0%",opacity:"0.01"}),e.animate({opacity:"1"},250,"linear",function(){t.css("marginLeft","100%"),n()})}};Foundation.libs=Foundation.libs||{},Foundation.libs.orbit={name:"orbit",version:"4.3.1",settings:{animation:"slide",timer_speed:1e4,pause_on_hover:!0,resume_on_mouseout:!1,animation_speed:500,stack_on_small:!1,navigation_arrows:!0,slide_number:!0,container_class:"orbit-container",stack_on_small_class:"orbit-stack-on-small",next_class:"orbit-next",prev_class:"orbit-prev",timer_container_class:"orbit-timer",timer_paused_class:"paused",timer_progress_class:"orbit-progress",slides_container_class:"orbit-slides-container",bullets_container_class:"orbit-bullets",bullets_active_class:"active",slide_number_class:"orbit-slide-number",caption_class:"orbit-caption",active_slide_class:"active",orbit_transition_class:"orbit-transitioning",bullets:!0,timer:!0,variable_height:!1,before_slide_change:r,after_slide_change:r},init:function(e,n,i){var r=this;if(Foundation.inherit(r,"data_options"),"object"==typeof n&&t.extend(!0,r.settings,n),t(e).is("[data-orbit]")){var a=t(e),s=r.data_options(a);new o(a,t.extend({},r.settings,s))}t("[data-orbit]",e).each(function(e,n){var i=t(n),a=r.data_options(i);new o(i,t.extend({},r.settings,a))})}}}(Foundation.zj,this,this.document),function(t){String.prototype.trim===t&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),Array.prototype.reduce===t&&(Array.prototype.reduce=function(e){if(null==this)throw new TypeError;var n,i=Object(this),r=i.length>>>0,o=0;if("function"!=typeof e)throw new TypeError;if(0==r&&1==arguments.length)throw new TypeError;if(arguments.length>=2)n=arguments[1];else for(;;){if(o in i){n=i[o++];break}if(++o>=r)throw new TypeError}for(;o<r;)o in i&&(n=e.call(t,n,i[o],o,i)),o++;return n})}();var Zepto=function(){var t,e,n,i,r,o,a=[],s=a.slice,c=a.filter,l=window.document,u={},f={},h=l.defaultView.getComputedStyle,d={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},p=/^\s*<(\w+|!)[^>]*>/,g=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,m=/^(?:body|html)$/i,v=["val","css","html","text","data","width","height","offset"],y=l.createElement("table"),b=l.createElement("tr"),_={tr:l.createElement("tbody"),tbody:y,thead:y,tfoot:y,td:b,th:b,"*":l.createElement("div")},w=/complete|loaded|interactive/,x=/^\.([\w-]+)$/,E=/^#([\w-]*)$/,C=/^[\w-]+$/,T={},k=T.toString,j={},N=l.createElement("div");function S(t){return null==t?String(t):T[k.call(t)]||"object"}function O(t){return"function"==S(t)}function M(t){return null!=t&&t==t.window}function A(t){return null!=t&&t.nodeType==t.DOCUMENT_NODE}function F(t){return"object"==S(t)}function P(t){return F(t)&&!M(t)&&t.__proto__==Object.prototype}function D(t){return t instanceof Array}function z(t){return"number"==typeof t.length}function L(t){return t.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function Z(t){return t in f?f[t]:f[t]=new RegExp("(^|\\s)"+t+"(\\s|$)")}function $(t,e){return"number"!=typeof e||d[L(t)]?e:e+"px"}function H(t){return"children"in t?s.call(t.children):n.map(t.childNodes,function(t){if(1==t.nodeType)return t})}function I(e,i){return i===t?n(e):n(e).filter(i)}function R(t,e,n,i){return O(e)?e.call(t,n,i):e}function q(t,e,n){null==n?t.removeAttribute(e):t.setAttribute(e,n)}function B(e,n){var i=e.className,r=i&&i.baseVal!==t;if(n===t)return r?i.baseVal:i;r?i.baseVal=n:e.className=n}function W(t){var e;try{return t?"true"==t||"false"!=t&&("null"==t?null:isNaN(e=Number(t))?/^[\[\{]/.test(t)?n.parseJSON(t):t:e):t}catch(e){return t}}return j.matches=function(t,e){if(!t||1!==t.nodeType)return!1;var n=t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.matchesSelector;if(n)return n.call(t,e);var i,r=t.parentNode,o=!r;return o&&(r=N).appendChild(t),i=~j.qsa(r,e).indexOf(t),o&&N.removeChild(t),i},r=function(t){return t.replace(/-+(.)?/g,function(t,e){return e?e.toUpperCase():""})},o=function(t){return c.call(t,function(e,n){return t.indexOf(e)==n})},j.fragment=function(e,i,r){e.replace&&(e=e.replace(g,"<$1></$2>")),i===t&&(i=p.test(e)&&RegExp.$1),i in _||(i="*");var o,a,c=_[i];return c.innerHTML=""+e,a=n.each(s.call(c.childNodes),function(){c.removeChild(this)}),P(r)&&(o=n(a),n.each(r,function(t,e){v.indexOf(t)>-1?o[t](e):o.attr(t,e)})),a},j.Z=function(t,e){return(t=t||[]).__proto__=n.fn,t.selector=e||"",t},j.isZ=function(t){return t instanceof j.Z},j.init=function(e,i){if(e){if(O(e))return n(l).ready(e);if(j.isZ(e))return e;var r;if(D(e))o=e,r=c.call(o,function(t){return null!=t});else if(F(e))r=[P(e)?n.extend({},e):e],e=null;else if(p.test(e))r=j.fragment(e.trim(),RegExp.$1,i),e=null;else{if(i!==t)return n(i).find(e);r=j.qsa(l,e)}return j.Z(r,e)}return j.Z();var o},(n=function(t,e){return j.init(t,e)}).extend=function(n){var i,r=s.call(arguments,1);return"boolean"==typeof n&&(i=n,n=r.shift()),r.forEach(function(r){!function n(i,r,o){for(e in r)o&&(P(r[e])||D(r[e]))?(P(r[e])&&!P(i[e])&&(i[e]={}),D(r[e])&&!D(i[e])&&(i[e]=[]),n(i[e],r[e],o)):r[e]!==t&&(i[e]=r[e])}(n,r,i)}),n},j.qsa=function(t,e){var n;return A(t)&&E.test(e)?(n=t.getElementById(RegExp.$1))?[n]:[]:1!==t.nodeType&&9!==t.nodeType?[]:s.call(x.test(e)?t.getElementsByClassName(RegExp.$1):C.test(e)?t.getElementsByTagName(e):t.querySelectorAll(e))},n.contains=function(t,e){return t!==e&&t.contains(e)},n.type=S,n.isFunction=O,n.isWindow=M,n.isArray=D,n.isPlainObject=P,n.isEmptyObject=function(t){var e;for(e in t)return!1;return!0},n.inArray=function(t,e,n){return a.indexOf.call(e,t,n)},n.camelCase=r,n.trim=function(t){return t.trim()},n.uuid=0,n.support={},n.expr={},n.map=function(t,e){var i,r,o,a,s=[];if(z(t))for(r=0;r<t.length;r++)null!=(i=e(t[r],r))&&s.push(i);else for(o in t)null!=(i=e(t[o],o))&&s.push(i);return(a=s).length>0?n.fn.concat.apply([],a):a},n.each=function(t,e){var n,i;if(z(t)){for(n=0;n<t.length;n++)if(!1===e.call(t[n],n,t[n]))return t}else for(i in t)if(!1===e.call(t[i],i,t[i]))return t;return t},n.grep=function(t,e){return c.call(t,e)},window.JSON&&(n.parseJSON=JSON.parse),n.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){T["[object "+e+"]"]=e.toLowerCase()}),n.fn={forEach:a.forEach,reduce:a.reduce,push:a.push,sort:a.sort,indexOf:a.indexOf,concat:a.concat,map:function(t){return n(n.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return n(s.apply(this,arguments))},ready:function(t){return w.test(l.readyState)?t(n):l.addEventListener("DOMContentLoaded",function(){t(n)},!1),this},get:function(e){return e===t?s.call(this):this[e>=0?e:e+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each(function(){null!=this.parentNode&&this.parentNode.removeChild(this)})},each:function(t){return a.every.call(this,function(e,n){return!1!==t.call(e,n,e)}),this},filter:function(t){return O(t)?this.not(this.not(t)):n(c.call(this,function(e){return j.matches(e,t)}))},add:function(t,e){return n(o(this.concat(n(t,e))))},is:function(t){return this.length>0&&j.matches(this[0],t)},not:function(e){var i=[];if(O(e)&&e.call!==t)this.each(function(t){e.call(this,t)||i.push(this)});else{var r="string"==typeof e?this.filter(e):z(e)&&O(e.item)?s.call(e):n(e);this.forEach(function(t){r.indexOf(t)<0&&i.push(t)})}return n(i)},has:function(t){return this.filter(function(){return F(t)?n.contains(this,t):n(this).find(t).size()})},eq:function(t){return-1===t?this.slice(t):this.slice(t,+t+1)},first:function(){var t=this[0];return t&&!F(t)?t:n(t)},last:function(){var t=this[this.length-1];return t&&!F(t)?t:n(t)},find:function(t){var e=this;return"object"==typeof t?n(t).filter(function(){var t=this;return a.some.call(e,function(e){return n.contains(e,t)})}):1==this.length?n(j.qsa(this[0],t)):this.map(function(){return j.qsa(this,t)})},closest:function(t,e){var i=this[0],r=!1;for("object"==typeof t&&(r=n(t));i&&!(r?r.indexOf(i)>=0:j.matches(i,t));)i=i!==e&&!A(i)&&i.parentNode;return n(i)},parents:function(t){for(var e=[],i=this;i.length>0;)i=n.map(i,function(t){if((t=t.parentNode)&&!A(t)&&e.indexOf(t)<0)return e.push(t),t});return I(e,t)},parent:function(t){return I(o(this.pluck("parentNode")),t)},children:function(t){return I(this.map(function(){return H(this)}),t)},contents:function(){return this.map(function(){return s.call(this.childNodes)})},siblings:function(t){return I(this.map(function(t,e){return c.call(H(e.parentNode),function(t){return t!==e})}),t)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(t){return n.map(this,function(e){return e[t]})},show:function(){return this.each(function(){var t,e,n;"none"==this.style.display&&(this.style.display=null),"none"==h(this,"").getPropertyValue("display")&&(this.style.display=(t=this.nodeName,u[t]||(e=l.createElement(t),l.body.appendChild(e),n=h(e,"").getPropertyValue("display"),e.parentNode.removeChild(e),"none"==n&&(n="block"),u[t]=n),u[t]))})},replaceWith:function(t){return this.before(t).remove()},wrap:function(t){var e=O(t);if(this[0]&&!e)var i=n(t).get(0),r=i.parentNode||this.length>1;return this.each(function(o){n(this).wrapAll(e?t.call(this,o):r?i.cloneNode(!0):i)})},wrapAll:function(t){if(this[0]){var e;for(n(this[0]).before(t=n(t));(e=t.children()).length;)t=e.first();n(t).append(this)}return this},wrapInner:function(t){var e=O(t);return this.each(function(i){var r=n(this),o=r.contents(),a=e?t.call(this,i):t;o.length?o.wrapAll(a):r.append(a)})},unwrap:function(){return this.parent().each(function(){n(this).replaceWith(n(this).children())}),this},clone:function(){return this.map(function(){return this.cloneNode(!0)})},hide:function(){return this.css("display","none")},toggle:function(e){return this.each(function(){var i=n(this);(e===t?"none"==i.css("display"):e)?i.show():i.hide()})},prev:function(t){return n(this.pluck("previousElementSibling")).filter(t||"*")},next:function(t){return n(this.pluck("nextElementSibling")).filter(t||"*")},html:function(e){return e===t?this.length>0?this[0].innerHTML:null:this.each(function(t){var i=this.innerHTML;n(this).empty().append(R(this,e,t,i))})},text:function(e){return e===t?this.length>0?this[0].textContent:null:this.each(function(){this.textContent=e})},attr:function(n,i){var r;return"string"==typeof n&&i===t?0==this.length||1!==this[0].nodeType?t:"value"==n&&"INPUT"==this[0].nodeName?this.val():!(r=this[0].getAttribute(n))&&n in this[0]?this[0][n]:r:this.each(function(t){if(1===this.nodeType)if(F(n))for(e in n)q(this,e,n[e]);else q(this,n,R(this,i,t,this.getAttribute(n)))})},removeAttr:function(t){return this.each(function(){1===this.nodeType&&q(this,t)})},prop:function(e,n){return n===t?this[0]&&this[0][e]:this.each(function(t){this[e]=R(this,n,t,this[e])})},data:function(e,n){var i=this.attr("data-"+L(e),n);return null!==i?W(i):t},val:function(e){return e===t?this[0]&&(this[0].multiple?n(this[0]).find("option").filter(function(t){return this.selected}).pluck("value"):this[0].value):this.each(function(t){this.value=R(this,e,t,this.value)})},offset:function(t){if(t)return this.each(function(e){var i=n(this),r=R(this,t,e,i.offset()),o=i.offsetParent().offset(),a={top:r.top-o.top,left:r.left-o.left};"static"==i.css("position")&&(a.position="relative"),i.css(a)});if(0==this.length)return null;var e=this[0].getBoundingClientRect();return{left:e.left+window.pageXOffset,top:e.top+window.pageYOffset,width:Math.round(e.width),height:Math.round(e.height)}},css:function(t,n){if(arguments.length<2&&"string"==typeof t)return this[0]&&(this[0].style[r(t)]||h(this[0],"").getPropertyValue(t));var i="";if("string"==S(t))n||0===n?i=L(t)+":"+$(t,n):this.each(function(){this.style.removeProperty(L(t))});else for(e in t)t[e]||0===t[e]?i+=L(e)+":"+$(e,t[e])+";":this.each(function(){this.style.removeProperty(L(e))});return this.each(function(){this.style.cssText+=";"+i})},index:function(t){return t?this.indexOf(n(t)[0]):this.parent().children().indexOf(this[0])},hasClass:function(t){return a.some.call(this,function(t){return this.test(B(t))},Z(t))},addClass:function(t){return this.each(function(e){i=[];var r=B(this);R(this,t,e,r).split(/\s+/g).forEach(function(t){n(this).hasClass(t)||i.push(t)},this),i.length&&B(this,r+(r?" ":"")+i.join(" "))})},removeClass:function(e){return this.each(function(n){if(e===t)return B(this,"");i=B(this),R(this,e,n,i).split(/\s+/g).forEach(function(t){i=i.replace(Z(t)," ")}),B(this,i.trim())})},toggleClass:function(e,i){return this.each(function(r){var o=n(this);R(this,e,r,B(this)).split(/\s+/g).forEach(function(e){(i===t?!o.hasClass(e):i)?o.addClass(e):o.removeClass(e)})})},scrollTop:function(){if(this.length)return"scrollTop"in this[0]?this[0].scrollTop:this[0].scrollY},position:function(){if(this.length){var t=this[0],e=this.offsetParent(),i=this.offset(),r=m.test(e[0].nodeName)?{top:0,left:0}:e.offset();return i.top-=parseFloat(n(t).css("margin-top"))||0,i.left-=parseFloat(n(t).css("margin-left"))||0,r.top+=parseFloat(n(e[0]).css("border-top-width"))||0,r.left+=parseFloat(n(e[0]).css("border-left-width"))||0,{top:i.top-r.top,left:i.left-r.left}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||l.body;t&&!m.test(t.nodeName)&&"static"==n(t).css("position");)t=t.offsetParent;return t})}},n.fn.detach=n.fn.remove,["width","height"].forEach(function(e){n.fn[e]=function(i){var r,o=this[0],a=e.replace(/./,function(t){return t[0].toUpperCase()});return i===t?M(o)?o["inner"+a]:A(o)?o.documentElement["offset"+a]:(r=this.offset())&&r[e]:this.each(function(t){(o=n(this)).css(e,R(this,i,t,o[e]()))})}}),["after","prepend","before","append"].forEach(function(t,e){var i=e%2;n.fn[t]=function(){var t,r,o=n.map(arguments,function(e){return"object"==(t=S(e))||"array"==t||null==e?e:j.fragment(e)}),a=this.length>1;return o.length<1?this:this.each(function(t,s){r=i?s:s.parentNode,s=0==e?s.nextSibling:1==e?s.firstChild:2==e?s:null,o.forEach(function(t){if(a)t=t.cloneNode(!0);else if(!r)return n(t).remove();!function t(e,n){for(var i in n(e),e.childNodes)t(e.childNodes[i],n)}(r.insertBefore(t,s),function(t){null==t.nodeName||"SCRIPT"!==t.nodeName.toUpperCase()||t.type&&"text/javascript"!==t.type||t.src||window.eval.call(window,t.innerHTML)})})})},n.fn[i?t+"To":"insert"+(e?"Before":"After")]=function(e){return n(e)[t](this),this}}),j.Z.prototype=n.fn,j.uniq=o,j.deserializeValue=W,n.zepto=j,n}();window.Zepto=Zepto,"$"in window||(window.$=Zepto),function(t){function e(t){var e=this.os={},n=this.browser={},i=t.match(/WebKit\/([\d.]+)/),r=t.match(/(Android)\s+([\d.]+)/),o=t.match(/(iPad).*OS\s([\d_]+)/),a=!o&&t.match(/(iPhone\sOS)\s([\d_]+)/),s=t.match(/(webOS|hpwOS)[\s\/]([\d.]+)/),c=s&&t.match(/TouchPad/),l=t.match(/Kindle\/([\d.]+)/),u=t.match(/Silk\/([\d._]+)/),f=t.match(/(BlackBerry).*Version\/([\d.]+)/),h=t.match(/(BB10).*Version\/([\d.]+)/),d=t.match(/(RIM\sTablet\sOS)\s([\d.]+)/),p=t.match(/PlayBook/),g=t.match(/Chrome\/([\d.]+)/)||t.match(/CriOS\/([\d.]+)/),m=t.match(/Firefox\/([\d.]+)/);(n.webkit=!!i)&&(n.version=i[1]),r&&(e.android=!0,e.version=r[2]),a&&(e.ios=e.iphone=!0,e.version=a[2].replace(/_/g,".")),o&&(e.ios=e.ipad=!0,e.version=o[2].replace(/_/g,".")),s&&(e.webos=!0,e.version=s[2]),c&&(e.touchpad=!0),f&&(e.blackberry=!0,e.version=f[2]),h&&(e.bb10=!0,e.version=h[2]),d&&(e.rimtabletos=!0,e.version=d[2]),p&&(n.playbook=!0),l&&(e.kindle=!0,e.version=l[1]),u&&(n.silk=!0,n.version=u[1]),!u&&e.android&&t.match(/Kindle Fire/)&&(n.silk=!0),g&&(n.chrome=!0,n.version=g[1]),m&&(n.firefox=!0,n.version=m[1]),e.tablet=!!(o||p||r&&!t.match(/Mobile/)||m&&t.match(/Tablet/)),e.phone=!(e.tablet||!(r||a||s||f||h||g&&t.match(/Android/)||g&&t.match(/CriOS\/([\d.]+)/)||m&&t.match(/Mobile/)))}e.call(t,navigator.userAgent),t.__detect=e}(Zepto),function(t){t.zepto.qsa;var e={},n=1,i={},r={mouseenter:"mouseover",mouseleave:"mouseout"};function o(t){return t._zid||(t._zid=n++)}function a(t,n,i,r){if((n=s(n)).ns)var a=(c=n.ns,new RegExp("(?:^| )"+c.replace(" "," .* ?")+"(?: |$)"));var c;return(e[o(t)]||[]).filter(function(t){return t&&(!n.e||t.e==n.e)&&(!n.ns||a.test(t.ns))&&(!i||o(t.fn)===o(i))&&(!r||t.sel==r)})}function s(t){var e=(""+t).split(".");return{e:e[0],ns:e.slice(1).sort().join(" ")}}function c(e,n,i){"string"!=t.type(e)?t.each(e,i):e.split(/\s/).forEach(function(t){i(t,n)})}function l(t,e){return t.del&&("focus"==t.e||"blur"==t.e)||!!e}function u(t){return r[t]||t}function f(n,i,a,f,h,d){var p=o(n),g=e[p]||(e[p]=[]);c(i,a,function(e,i){var o=s(e);o.fn=i,o.sel=f,o.e in r&&(i=function(e){var n=e.relatedTarget;if(!n||n!==this&&!t.contains(this,n))return o.fn.apply(this,arguments)}),o.del=h&&h(i,e);var a=o.del||i;o.proxy=function(t){var e=a.apply(n,[t].concat(t.data));return!1===e&&(t.preventDefault(),t.stopPropagation()),e},o.i=g.length,g.push(o),n.addEventListener(u(o.e),o.proxy,l(o,d))})}function h(t,n,i,r,s){var f=o(t);c(n||"",i,function(n,i){a(t,n,i,r).forEach(function(n){delete e[f][n.i],t.removeEventListener(u(n.e),n.proxy,l(n,s))})})}i.click=i.mousedown=i.mouseup=i.mousemove="MouseEvents",t.event={add:f,remove:h},t.proxy=function(e,n){if(t.isFunction(e)){var i=function(){return e.apply(n,arguments)};return i._zid=o(e),i}if("string"==typeof n)return t.proxy(e[n],e);throw new TypeError("expected function")},t.fn.bind=function(t,e){return this.each(function(){f(this,t,e)})},t.fn.unbind=function(t,e){return this.each(function(){h(this,t,e)})},t.fn.one=function(t,e){return this.each(function(n,i){f(this,t,e,null,function(t,e){return function(){var n=t.apply(i,arguments);return h(i,e,t),n}})})};var d=function(){return!0},p=function(){return!1},g=/^([A-Z]|layer[XY]$)/,m={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};function v(e){var n,i={originalEvent:e};for(n in e)g.test(n)||void 0===e[n]||(i[n]=e[n]);return t.each(m,function(t,n){i[t]=function(){return this[n]=d,e[t].apply(e,arguments)},i[n]=p}),i}t.fn.delegate=function(e,n,i){return this.each(function(r,o){f(o,n,i,e,function(n){return function(i){var r,a=t(i.target).closest(e,o).get(0);if(a)return r=t.extend(v(i),{currentTarget:a,liveFired:o}),n.apply(a,[r].concat([].slice.call(arguments,1)))}})})},t.fn.undelegate=function(t,e,n){return this.each(function(){h(this,e,n,t)})},t.fn.live=function(e,n){return t(document.body).delegate(this.selector,e,n),this},t.fn.die=function(e,n){return t(document.body).undelegate(this.selector,e,n),this},t.fn.on=function(e,n,i){return!n||t.isFunction(n)?this.bind(e,n||i):this.delegate(n,e,i)},t.fn.off=function(e,n,i){return!n||t.isFunction(n)?this.unbind(e,n||i):this.undelegate(n,e,i)},t.fn.trigger=function(e,n){return("string"==typeof e||t.isPlainObject(e))&&(e=t.Event(e)),function(t){if(!("defaultPrevented"in t)){t.defaultPrevented=!1;var e=t.preventDefault;t.preventDefault=function(){this.defaultPrevented=!0,e.call(this)}}}(e),e.data=n,this.each(function(){"dispatchEvent"in this&&this.dispatchEvent(e)})},t.fn.triggerHandler=function(e,n){var i,r;return this.each(function(o,s){(i=v("string"==typeof e?t.Event(e):e)).data=n,i.target=s,t.each(a(s,e.type||e),function(t,e){if(r=e.proxy(i),i.isImmediatePropagationStopped())return!1})}),r},"focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error".split(" ").forEach(function(e){t.fn[e]=function(t){return t?this.bind(e,t):this.trigger(e)}}),["focus","blur"].forEach(function(e){t.fn[e]=function(t){return t?this.bind(e,t):this.each(function(){try{this[e]()}catch(t){}}),this}}),t.Event=function(t,e){"string"!=typeof t&&(t=(e=t).type);var n=document.createEvent(i[t]||"Events"),r=!0;if(e)for(var o in e)"bubbles"==o?r=!!e[o]:n[o]=e[o];return n.initEvent(t,r,!0,null,null,null,null,null,null,null,null,null,null,null,null),n.isDefaultPrevented=function(){return this.defaultPrevented},n}}(Zepto),function(t){var e,n,i=0,r=window.document,o=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,a=/^(?:text|application)\/javascript/i,s=/^(?:text|application)\/xml/i,c="application/json",l="text/html",u=/^\s*$/;function f(e,n,i,o){if(e.global)return a=n||r,s=i,c=o,l=t.Event(s),t(a).trigger(l,c),!l.defaultPrevented;var a,s,c,l}function h(t,e){var n=e.context;if(!1===e.beforeSend.call(n,t,e)||!1===f(e,n,"ajaxBeforeSend",[t,e]))return!1;f(e,n,"ajaxSend",[t,e])}function d(t,e,n){var i=n.context,r="success";n.success.call(i,t,r,e),f(n,i,"ajaxSuccess",[e,n,t]),g(r,e,n)}function p(t,e,n,i){var r=i.context;i.error.call(r,n,e,t),f(i,r,"ajaxError",[n,i,t]),g(e,n,i)}function g(e,n,i){var r,o=i.context;i.complete.call(o,n,e),f(i,o,"ajaxComplete",[n,i]),(r=i).global&&!--t.active&&f(r,null,"ajaxStop")}function m(){}function v(t,e){return(t+"&"+e).replace(/[&?]{1,2}/,"?")}function y(e,n,i,r){var o=!t.isFunction(n);return{url:e,data:o?n:void 0,success:o?t.isFunction(i)?i:void 0:n,dataType:o&&r||i}}t.active=0,t.ajaxJSONP=function(e){if(!("type"in e))return t.ajax(e);var n,o="jsonp"+ ++i,a=r.createElement("script"),s=function(){clearTimeout(n),t(a).remove(),delete window[o]},c=function(t){s(),t&&"timeout"!=t||(window[o]=m),p(null,t||"abort",l,e)},l={abort:c};return!1===h(l,e)?(c("abort"),!1):(window[o]=function(t){s(),d(t,l,e)},a.onerror=function(){c("error")},a.src=e.url.replace(/=\?/,"="+o),t("head").append(a),e.timeout>0&&(n=setTimeout(function(){c("timeout")},e.timeout)),l)},t.ajaxSettings={type:"GET",beforeSend:m,success:m,error:m,complete:m,context:null,global:!0,xhr:function(){return new window.XMLHttpRequest},accepts:{script:"text/javascript, application/javascript",json:c,xml:"application/xml, text/xml",html:l,text:"text/plain"},crossDomain:!1,timeout:0,processData:!0,cache:!0},t.ajax=function(i){var r,o,g=t.extend({},i||{});for(e in t.ajaxSettings)void 0===g[e]&&(g[e]=t.ajaxSettings[e]);(r=g).global&&0==t.active++&&f(r,null,"ajaxStart"),g.crossDomain||(g.crossDomain=/^([\w-]+:)?\/\/([^\/]+)/.test(g.url)&&RegExp.$2!=window.location.host),g.url||(g.url=window.location.toString()),(o=g).processData&&o.data&&"string"!=t.type(o.data)&&(o.data=t.param(o.data,o.traditional)),!o.data||o.type&&"GET"!=o.type.toUpperCase()||(o.url=v(o.url,o.data)),!1===g.cache&&(g.url=v(g.url,"_="+Date.now()));var y=g.dataType,b=/=\?/.test(g.url);if("jsonp"==y||b)return b||(g.url=v(g.url,"callback=?")),t.ajaxJSONP(g);var _,w=g.accepts[y],x={},E=/^([\w-]+:)\/\//.test(g.url)?RegExp.$1:window.location.protocol,C=g.xhr();g.crossDomain||(x["X-Requested-With"]="XMLHttpRequest"),w&&(x.Accept=w,w.indexOf(",")>-1&&(w=w.split(",",2)[0]),C.overrideMimeType&&C.overrideMimeType(w)),(g.contentType||!1!==g.contentType&&g.data&&"GET"!=g.type.toUpperCase())&&(x["Content-Type"]=g.contentType||"application/x-www-form-urlencoded"),g.headers=t.extend(x,g.headers||{}),C.onreadystatechange=function(){if(4==C.readyState){C.onreadystatechange=m,clearTimeout(_);var e,n=!1;if(C.status>=200&&C.status<300||304==C.status||0==C.status&&"file:"==E){y=y||((i=C.getResponseHeader("content-type"))&&(i=i.split(";",2)[0]),i&&(i==l?"html":i==c?"json":a.test(i)?"script":s.test(i)&&"xml")||"text"),e=C.responseText;try{"script"==y?(0,eval)(e):"xml"==y?e=C.responseXML:"json"==y&&(e=u.test(e)?null:t.parseJSON(e))}catch(t){n=t}n?p(n,"parsererror",C,g):d(e,C,g)}else p(null,C.status?"error":"abort",C,g)}var i};var T=!("async"in g)||g.async;for(n in C.open(g.type,g.url,T),g.headers)C.setRequestHeader(n,g.headers[n]);return!1===h(C,g)?(C.abort(),!1):(g.timeout>0&&(_=setTimeout(function(){C.onreadystatechange=m,C.abort(),p(null,"timeout",C,g)},g.timeout)),C.send(g.data?g.data:null),C)},t.get=function(e,n,i,r){return t.ajax(y.apply(null,arguments))},t.post=function(e,n,i,r){var o=y.apply(null,arguments);return o.type="POST",t.ajax(o)},t.getJSON=function(e,n,i){var r=y.apply(null,arguments);return r.dataType="json",t.ajax(r)},t.fn.load=function(e,n,i){if(!this.length)return this;var r,a=this,s=e.split(/\s/),c=y(e,n,i),l=c.success;return s.length>1&&(c.url=s[0],r=s[1]),c.success=function(e){a.html(r?t("<div>").html(e.replace(o,"")).find(r):e),l&&l.apply(a,arguments)},t.ajax(c),this};var b=encodeURIComponent;t.param=function(e,n){var i=[];return i.add=function(t,e){this.push(b(t)+"="+b(e))},function e(n,i,r,o){var a,s=t.isArray(i);t.each(i,function(i,c){a=t.type(c),o&&(i=r?o:o+"["+(s?"":i)+"]"),!o&&s?n.add(c.name,c.value):"array"==a||!r&&"object"==a?e(n,c,r,i):n.add(i,c)})}(i,e,n),i.join("&").replace(/%20/g,"+")}}(Zepto),function(t){t.fn.serializeArray=function(){var e,n=[];return t(Array.prototype.slice.call(this.get(0).elements)).each(function(){var i=(e=t(this)).attr("type");"fieldset"!=this.nodeName.toLowerCase()&&!this.disabled&&"submit"!=i&&"reset"!=i&&"button"!=i&&("radio"!=i&&"checkbox"!=i||this.checked)&&n.push({name:e.attr("name"),value:e.val()})}),n},t.fn.serialize=function(){var t=[];return this.serializeArray().forEach(function(e){t.push(encodeURIComponent(e.name)+"="+encodeURIComponent(e.value))}),t.join("&")},t.fn.submit=function(e){if(e)this.bind("submit",e);else if(this.length){var n=t.Event("submit");this.eq(0).trigger(n),n.defaultPrevented||this.get(0).submit()}return this}}(Zepto),function(t,e){var n,i,r,o,a,s,c,l,u="",f=window.document.createElement("div"),h=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i,d={};function p(t){return t.toLowerCase()}function g(t){return n?n+t:p(t)}t.each({Webkit:"webkit",Moz:"",O:"o",ms:"MS"},function(t,i){if(f.style[t+"TransitionProperty"]!==e)return u="-"+p(t)+"-",n=i,!1}),i=u+"transform",d[r=u+"transition-property"]=d[o=u+"transition-duration"]=d[a=u+"transition-timing-function"]=d[s=u+"animation-name"]=d[c=u+"animation-duration"]=d[l=u+"animation-timing-function"]="",t.fx={off:n===e&&f.style.transitionProperty===e,speeds:{_default:400,fast:200,slow:600},cssPrefix:u,transitionEnd:g("TransitionEnd"),animationEnd:g("AnimationEnd")},t.fn.animate=function(e,n,i,r){return t.isPlainObject(n)&&(i=n.easing,r=n.complete,n=n.duration),n&&(n=("number"==typeof n?n:t.fx.speeds[n]||t.fx.speeds._default)/1e3),this.anim(e,n,i,r)},t.fn.anim=function(n,u,f,g){var m,v,y,b={},_="",w=this,x=t.fx.transitionEnd;if(u===e&&(u=.4),t.fx.off&&(u=0),"string"==typeof n)b[s]=n,b[c]=u+"s",b[l]=f||"linear",x=t.fx.animationEnd;else{for(m in v=[],n)h.test(m)?_+=m+"("+n[m]+") ":(b[m]=n[m],v.push(p(m.replace(/([a-z])([A-Z])/,"$1-$2"))));_&&(b[i]=_,v.push(i)),u>0&&"object"==typeof n&&(b[r]=v.join(", "),b[o]=u+"s",b[a]=f||"linear")}return y=function(e){if(void 0!==e){if(e.target!==e.currentTarget)return;t(e.target).unbind(x,y)}t(this).css(d),g&&g.call(this)},u>0&&this.bind(x,y),this.size()&&this.get(0).clientLeft,this.css(b),u<=0&&setTimeout(function(){w.each(function(){y.call(this)})},0),this},f=null}(Zepto),function(t,e){window.document.documentElement;var n=t.fn.show,i=t.fn.hide,r=t.fn.toggle;function o(n,i,r,o,a){"function"!=typeof i||a||(a=i,i=e);var s={opacity:r};return o&&(s.scale=o,n.css(t.fx.cssPrefix+"transform-origin","0 0")),n.animate(s,i,null,a)}function a(e,n,r,a){return o(e,n,0,r,function(){i.call(t(this)),a&&a.call(this)})}t.fn.show=function(t,i){return n.call(this),t===e?t=0:this.css("opacity",0),o(this,t,1,"1,1",i)},t.fn.hide=function(t,n){return t===e?i.call(this):a(this,t,"0,0",n)},t.fn.toggle=function(n,i){return n===e||"boolean"==typeof n?r.call(this,n):this.each(function(){var e=t(this);e["none"==e.css("display")?"show":"hide"](n,i)})},t.fn.fadeTo=function(t,e,n){return o(this,t,e,null,n)},t.fn.fadeIn=function(t,e){var i=this.css("opacity");return i>0?this.css("opacity",0):i=1,n.call(this).fadeTo(t,i,e)},t.fn.fadeOut=function(t,e){return a(this,t,null,e)},t.fn.fadeToggle=function(e,n){return this.each(function(){var i=t(this);i[0==i.css("opacity")||"none"==i.css("display")?"fadeIn":"fadeOut"](e,n)})}}(Zepto),function(t){var e,n=[];Zepto.fn.remove=function(){return this.each(function(){this.parentNode&&("IMG"===this.tagName&&(n.push(this),this.src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=",e&&clearTimeout(e),e=setTimeout(function(){n=[]},6e4)),this.parentNode.removeChild(this))})}}(),function(t){var e={},n=t.fn.data,i=t.camelCase,r=t.expando="Zepto"+ +new Date;function o(n,o,a){var s,c,l=n[r]||(n[r]=++t.uuid),u=e[l]||(e[l]=(s=n,c={},t.each(s.attributes,function(e,n){0==n.name.indexOf("data-")&&(c[i(n.name.replace("data-",""))]=t.zepto.deserializeValue(n.value))}),c));return void 0!==o&&(u[i(o)]=a),u}t.fn.data=function(a,s){return void 0===s?t.isPlainObject(a)?this.each(function(e,n){t.each(a,function(t,e){o(n,t,e)})}):0==this.length?void 0:function(a,s){var c=a[r],l=c&&e[c];if(void 0===s)return l||o(a);if(l){if(s in l)return l[s];var u=i(s);if(u in l)return l[u]}return n.call(t(a),s)}(this[0],a):this.each(function(){o(this,a,s)})},t.fn.removeData=function(n){return"string"==typeof n&&(n=n.split(/\s+/)),this.each(function(){var o=this[r],a=o&&e[o];a&&t.each(n,function(){delete a[i(this)]})})}}(Zepto),function(t){var e=t.zepto,n=e.qsa,i=e.matches;function r(e){return!(!(e=t(e)).width()&&!e.height())&&"none"!==e.css("display")}var o=t.expr[":"]={visible:function(){if(r(this))return this},hidden:function(){if(!r(this))return this},selected:function(){if(this.selected)return this},checked:function(){if(this.checked)return this},parent:function(){return this.parentNode},first:function(t){if(0===t)return this},last:function(t,e){if(t===e.length-1)return this},eq:function(t,e,n){if(t===n)return this},contains:function(e,n,i){if(t(this).text().indexOf(i)>-1)return this},has:function(t,n,i){if(e.qsa(this,i).length)return this}},a=new RegExp("(.*):(\\w+)(?:\\(([^)]+)\\))?$\\s*"),s=/^\s*>/,c="Zepto"+ +new Date;function l(t,e){t=t.replace(/=#\]/g,'="#"]');var n,i,r=a.exec(t);if(r&&r[2]in o&&(n=o[r[2]],i=r[3],t=r[1],i)){var s=Number(i);i=isNaN(s)?i.replace(/^["']|["']$/g,""):s}return e(t,n,i)}e.qsa=function(i,r){return l(r,function(o,a,l){try{var u;!o&&a?o="*":s.test(o)&&(u=t(i).addClass(c),o="."+c+" "+o);var f=n(i,o)}catch(t){throw console.error("error performing selector: %o",r),t}finally{u&&u.removeClass(c)}return a?e.uniq(t.map(f,function(t,e){return a.call(t,e,f,l)})):f})},e.matches=function(t,e){return l(e,function(e,n,r){return(!e||i(t,e))&&(!n||n.call(t,null,r)===t)})}}(Zepto),function(t){t.fn.end=function(){return this.prevObject||t()},t.fn.andSelf=function(){return this.add(this.prevObject||t())},"filter,add,not,eq,first,last,find,closest,parents,parent,children,siblings".split(",").forEach(function(e){var n=t.fn[e];t.fn[e]=function(){var t=n.apply(this,arguments);return t.prevObject=this,t}})}(Zepto),function(t){var e,n,i,r,o={};function a(){r=null,o.last&&(o.el.trigger("longTap"),o={})}function s(){r&&clearTimeout(r),r=null}function c(){e&&clearTimeout(e),n&&clearTimeout(n),i&&clearTimeout(i),r&&clearTimeout(r),e=n=i=r=null,o={}}t(document).ready(function(){var l,u;t(document.body).bind("touchstart",function(n){var i;l=Date.now(),u=l-(o.last||l),o.el=t("tagName"in(i=n.touches[0].target)?i:i.parentNode),e&&clearTimeout(e),o.x1=n.touches[0].pageX,o.y1=n.touches[0].pageY,u>0&&u<=250&&(o.isDoubleTap=!0),o.last=l,r=setTimeout(a,750)}).bind("touchmove",function(t){s(),o.x2=t.touches[0].pageX,o.y2=t.touches[0].pageY,Math.abs(o.x1-o.x2)>10&&t.preventDefault()}).bind("touchend",function(r){s(),o.x2&&Math.abs(o.x1-o.x2)>30||o.y2&&Math.abs(o.y1-o.y2)>30?i=setTimeout(function(){var t,e,n,i;o.el.trigger("swipe"),o.el.trigger("swipe"+(t=o.x1,e=o.x2,n=o.y1,i=o.y2,Math.abs(t-e)>=Math.abs(n-i)?t-e>0?"Left":"Right":n-i>0?"Up":"Down")),o={}},0):"last"in o&&(n=setTimeout(function(){var n=t.Event("tap");n.cancelTouch=c,o.el.trigger(n),o.isDoubleTap?(o.el.trigger("doubleTap"),o={}):e=setTimeout(function(){e=null,o.el.trigger("singleTap"),o={}},250)},0))}).bind("touchcancel",c),t(window).bind("scroll",c)}),["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap","singleTap","longTap"].forEach(function(e){t.fn[e]=function(t){return this.bind(e,t)}})}(Zepto),this.Zepto&&function(t){var e,n;e=function(t,e,n,i,r){var o;return t?(o=t[n](),{width:["left","right"],height:["top","bottom"]}[n].forEach(function(e){if(o+=parseInt(t.css("padding-"+e),10),i&&(o+=parseInt(t.css("border-"+e+"-width"),10)),r)return o+=parseInt(t.css("margin-"+e),10)}),o):null},["width","height"].forEach(function(n){var i,r,o,a,s;return i=n.replace(/./,function(t){return t[0].toUpperCase()}),(r=t.fn)[a="inner"+i]||(r[a]=function(t){return e(this,0,n,!1,t)}),(o=t.fn)[s="outer"+i]||(o[s]=function(t){return e(this,0,n,!0,t)})}),(n=t.fn).detach||(n.detach=function(t){var e,n;return n=this,null!=t&&(n=n.filter(t)),e=n.clone(!0),n.remove(),e})}(Zepto),window.Modernizr=function(t,e,n){function i(t){f.cssText=t}function r(t,e){return typeof t===e}var o,a,s={},c=e.documentElement,l="modernizr",u=e.createElement(l),f=u.style,h={}.toString,d=" -webkit- -moz- -o- -ms- ".split(" "),p="http://www.w3.org/2000/svg",g={},m=[],v=m.slice,y=function(t,n,i,r){var o,a,s,u,f=e.createElement("div"),h=e.body,d=h||e.createElement("body");if(parseInt(i,10))for(;i--;)(s=e.createElement("div")).id=r?r[i]:l+(i+1),f.appendChild(s);return o=["&#173;",'<style id="s',l,'">',t,"</style>"].join(""),f.id=l,(h?f:d).innerHTML+=o,d.appendChild(f),h||(d.style.background="",d.style.overflow="hidden",u=c.style.overflow,c.style.overflow="hidden",c.appendChild(d)),a=n(f,t),h?f.parentNode.removeChild(f):(d.parentNode.removeChild(d),c.style.overflow=u),!!a},b={}.hasOwnProperty;for(var _ in a=r(b,"undefined")||r(b.call,"undefined")?function(t,e){return e in t&&r(t.constructor.prototype[e],"undefined")}:function(t,e){return b.call(t,e)},Function.prototype.bind||(Function.prototype.bind=function(t){var e=this;if("function"!=typeof e)throw new TypeError;var n=v.call(arguments,1),i=function(){if(this instanceof i){var r=function(){};r.prototype=e.prototype;var o=new r,a=e.apply(o,n.concat(v.call(arguments)));return Object(a)===a?a:o}return e.apply(t,n.concat(v.call(arguments)))};return i}),g.touch=function(){var n;return"ontouchstart"in t||t.DocumentTouch&&e instanceof DocumentTouch?n=!0:y(["@media (",d.join("touch-enabled),("),l,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(t){n=9===t.offsetTop}),n},g.svg=function(){return!!e.createElementNS&&!!e.createElementNS(p,"svg").createSVGRect},g.inlinesvg=function(){var t=e.createElement("div");return t.innerHTML="<svg/>",(t.firstChild&&t.firstChild.namespaceURI)==p},g.svgclippaths=function(){return!!e.createElementNS&&/SVGClipPath/.test(h.call(e.createElementNS(p,"clipPath")))},g)a(g,_)&&(o=_.toLowerCase(),s[o]=g[_](),m.push((s[o]?"":"no-")+o));return s.addTest=function(t,e){if("object"==typeof t)for(var i in t)a(t,i)&&s.addTest(i,t[i]);else{if(t=t.toLowerCase(),s[t]!==n)return s;e="function"==typeof e?e():e,c.className+=" "+(e?"":"no-")+t,s[t]=e}return s},i(""),u=null,function(t,e){function n(){var t=p.elements;return"string"==typeof t?t.split(" "):t}function i(t){var e=d[t[f]];return e||(e={},h++,t[f]=h,d[h]=e),e}function r(t,n,r){return n||(n=e),s?n.createElement(t):(r||(r=i(n)),(o=r.cache[t]?r.cache[t].cloneNode():u.test(t)?(r.cache[t]=r.createElem(t)).cloneNode():r.createElem(t)).canHaveChildren&&!l.test(t)?r.frag.appendChild(o):o);var o}function o(t){t||(t=e);var o,c,l,u,f,h,d=i(t);return p.shivCSS&&!a&&!d.hasCSS&&(d.hasCSS=(u="article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}",f=(l=t).createElement("p"),h=l.getElementsByTagName("head")[0]||l.documentElement,f.innerHTML="x<style>"+u+"</style>",!!h.insertBefore(f.lastChild,h.firstChild))),s||(o=t,(c=d).cache||(c.cache={},c.createElem=o.createElement,c.createFrag=o.createDocumentFragment,c.frag=c.createFrag()),o.createElement=function(t){return p.shivMethods?r(t,o,c):c.createElem(t)},o.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+n().join().replace(/\w+/g,function(t){return c.createElem(t),c.frag.createElement(t),'c("'+t+'")'})+");return n}")(p,c.frag)),t}var a,s,c=t.html5||{},l=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,u=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,f="_html5shiv",h=0,d={};!function(){try{var t=e.createElement("a");t.innerHTML="<xyz></xyz>",a="hidden"in t,s=1==t.childNodes.length||function(){e.createElement("a");var t=e.createDocumentFragment();return void 0===t.cloneNode||void 0===t.createDocumentFragment||void 0===t.createElement}()}catch(t){a=!0,s=!0}}();var p={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:!1!==c.shivCSS,supportsUnknownElements:s,shivMethods:!1!==c.shivMethods,type:"default",shivDocument:o,createElement:r,createDocumentFragment:function(t,r){if(t||(t=e),s)return t.createDocumentFragment();for(var o=(r=r||i(t)).frag.cloneNode(),a=0,c=n(),l=c.length;a<l;a++)o.createElement(c[a]);return o}};t.html5=p,o(e)}(this,e),s._version="2.6.2",s._prefixes=d,s.mq=function(e){var n,i=t.matchMedia||t.msMatchMedia;return i?i(e).matches:(y("@media "+e+" { #"+l+" { position: absolute; } }",function(e){n="absolute"==(t.getComputedStyle?getComputedStyle(e,null):e.currentStyle).position}),n)},s.testStyles=y,c.className=c.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+" js "+m.join(" "),s}(this,this.document),function(t,e,n){function i(t){return"[object Function]"==g.call(t)}function r(t){return"string"==typeof t}function o(){}function a(t){return!t||"loaded"==t||"complete"==t||"uninitialized"==t}function s(){var t=m.shift();v=1,t?t.t?d(function(){("c"==t.t?f.injectCss:f.injectJs)(t.s,0,t.a,t.x,t.e,1)},0):(t(),s()):v=0}function c(t,n,i,o,c){return v=0,n=n||"j",r(t)?function(t,n,i,r,o,c,l){function u(e){if(!g&&a(h.readyState)&&(w.r=g=1,!v&&s(),h.onload=h.onreadystatechange=null,e))for(var i in"img"!=t&&d(function(){_.removeChild(h)},50),T[n])T[n].hasOwnProperty(i)&&T[n][i].onload()}l=l||f.errorTimeout;var h=e.createElement(t),g=0,y=0,w={t:i,s:n,e:o,a:c,x:l};1===T[n]&&(y=1,T[n]=[]),"object"==t?h.data=n:(h.src=n,h.type=t),h.width=h.height="0",h.onerror=h.onload=h.onreadystatechange=function(){u.call(this,y)},m.splice(r,0,w),"img"!=t&&(y||2===T[n]?(_.insertBefore(h,b?null:p),d(u,l)):T[n].push(h))}("c"==n?x:w,t,n,this.i++,i,o,c):(m.splice(this.i++,0,t),1==m.length&&s()),this}function l(){var t=f;return t.loader={load:c,i:0},t}var u,f,h=e.documentElement,d=t.setTimeout,p=e.getElementsByTagName("script")[0],g={}.toString,m=[],v=0,y="MozAppearance"in h.style,b=y&&!!e.createRange().compareNode,_=b?h:p.parentNode,w=(h=t.opera&&"[object Opera]"==g.call(t.opera),h=!!e.attachEvent&&!h,y?"object":h?"script":"img"),x=h?"script":w,E=Array.isArray||function(t){return"[object Array]"==g.call(t)},C=[],T={},k={timeout:function(t,e){return e.length&&(t.timeout=e[0]),t}};(f=function(t){function e(t,e,r,o,a){var s=function(t){t=t.split("!");var e,n,i,r=C.length,o=t.pop(),a=t.length;for(o={url:o,origUrl:o,prefixes:t},n=0;n<a;n++)i=t[n].split("="),(e=k[i.shift()])&&(o=e(o,i));for(n=0;n<r;n++)o=C[n](o);return o}(t),c=s.autoCallback;s.url.split(".").pop().split("?").shift(),s.bypass||(e&&(e=i(e)?e:e[t]||e[o]||e[t.split("/").pop().split("?")[0]]),s.instead?s.instead(t,e,r,o,a):(T[s.url]?s.noexec=!0:T[s.url]=1,r.load(s.url,s.forceCSS||!s.forceJS&&"css"==s.url.split(".").pop().split("?").shift()?"c":n,s.noexec,s.attrs,s.timeout),(i(e)||i(c))&&r.load(function(){l(),e&&e(s.origUrl,a,o),c&&c(s.origUrl,a,o),T[s.url]=2})))}function a(t,n){function a(t,o){if(t){if(r(t))o||(f=function(){var t=[].slice.call(arguments);h.apply(this,t),d()}),e(t,f,n,0,l);else if(Object(t)===t)for(c in s=function(){var e,n=0;for(e in t)t.hasOwnProperty(e)&&n++;return n}(),t)t.hasOwnProperty(c)&&(!o&&!--s&&(i(f)?f=function(){var t=[].slice.call(arguments);h.apply(this,t),d()}:f[c]=function(t){return function(){var e=[].slice.call(arguments);t&&t.apply(this,e),d()}}(h[c])),e(t[c],f,n,c,l))}else!o&&d()}var s,c,l=!!t.test,u=t.load||t.both,f=t.callback||o,h=f,d=t.complete||o;a(l?t.yep:t.nope,!!u),u&&a(u)}var s,c,u=this.yepnope.loader;if(r(t))e(t,0,u,0);else if(E(t))for(s=0;s<t.length;s++)r(c=t[s])?e(c,0,u,0):E(c)?f(c):Object(c)===c&&a(c,u);else Object(t)===t&&a(t,u)}).addPrefix=function(t,e){k[t]=e},f.addFilter=function(t){C.push(t)},f.errorTimeout=1e4,null==e.readyState&&e.addEventListener&&(e.readyState="loading",e.addEventListener("DOMContentLoaded",u=function(){e.removeEventListener("DOMContentLoaded",u,0),e.readyState="complete"},0)),t.yepnope=l(),t.yepnope.executeStack=s,t.yepnope.injectJs=function(t,n,i,r,c,l){var u,h,g=e.createElement("script");r=r||f.errorTimeout;for(h in g.src=t,i)g.setAttribute(h,i[h]);n=l?s:n||o,g.onreadystatechange=g.onload=function(){!u&&a(g.readyState)&&(u=1,n(),g.onload=g.onreadystatechange=null)},d(function(){u||(u=1,n(1))},r),c?g.onload():p.parentNode.insertBefore(g,p)},t.yepnope.injectCss=function(t,n,i,r,a,c){var l;r=e.createElement("link"),n=c?s:n||o;for(l in r.href=t,r.rel="stylesheet",r.type="text/css",i)r.setAttribute(l,i[l]);a||(p.parentNode.insertBefore(r,p),d(n,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},Modernizr.addTest("ie8compat",function(){return!window.addEventListener&&document.documentMode&&7===document.documentMode});