function LargeHeroVerticalAligningTextBox(){jQuery(window).width()>679?jQuery(".largehero-theme-image").each(function(){var t=jQuery(this).parent().height(),i=jQuery(this).height(),n=t-i;n=n>0?n/2:0;jQuery(this).css("margin-top",n+"px")}):jQuery(".largehero-theme-image").css("margin-top","0px")}function ScrollCheck(){var n;jQuery(".scrollspy").length>0&&(n=jQuery(".scrollspy").position().top-jQuery(document).scrollTop(),n>=0?jQuery(".nav-stacked").css("top",n+"px"):jQuery(".nav-stacked").css("top","0px"));jQuery(".tabspy").length>0&&(n=jQuery(".tabspy").position().top-jQuery(document).scrollTop(),n>=0?jQuery(".nav-stacked").css("top",n+"px"):jQuery(".nav-stacked").css("top","0px"))}function Hashtag(){if($("#nav")!=null&&$("#nav")!=undefined&&$("#nav").length){var n=0;$(".scrollspy").parent().parent().nextAll().each(function(){var t=$(this).prop("nodeName").toLowerCase();t!="script"&&(n+=$(this).outerHeight(!0))});$("#nav").affix({offset:{top:$("#nav").offset().top,bottom:n+40}})}}function InitNavigation(){function t(){$("#search-text")!=null&&($(window).width()<680?$("#search-text").attr("placeholder","Search"):$("#search-text").each(function(){$(this).attr("placeholder",$(this).data("placeholder"))}))}function r(){setTimeout("replace_MachineTranslation();",0);performance.mark("mtw_fadc")}$("#search-text")!=null&&$("#search-text").each(function(){$(this).data("placeholder",$(this).attr("placeholder"))});typeof $(window).resize!="undefined"&&$(window).resize(t).trigger("resize");$("#search-button")!=null&&$("#search-button").click(function(n){n.preventDefault();$("#search-button, #search-form").toggle();setTimeout(function(){$("#SearchTextInHeader").focus()},100)});$("#searchLink")!=null&&$("#searchLink").click(function(){$("#siteheader-srch").hasClass("open")||setTimeout(function(){$("#SearchTextInHeader").focus()},100)});$(".network-nav-accordion li")!=null&&$(".network-nav-accordion li").click(function(n){($(n.target).is("a")||$(n.target).is("span"))&&($(this).find("> ul").is(":visible")?($(this).find("> ul").hide(),$(this).find("> span.spanarrowup").addClass("spanarrowdown").parent().addClass("active"),$(this).find("> span.spanarrowup").removeClass("spanarrowup").parent().removeClass("active")):($(this).find("> ul").show(),$(this).find("> span.spanarrowdown").addClass("spanarrowup").parent().removeClass("active"),$(this).find("> span.spanarrowdown").removeClass("spanarrowdown").parent().addClass("active")))});$(".network-navigation-dropdown")!=null&&$(".network-navigation-dropdown").click(function(){$(".navbar-toggle").hasClass("collapsed")||($("#bs-example-navbar-collapse-1").removeClass("in"),$(".navbar-toggle").addClass("collapsed"));$(".network-nav-accordion").toggle();$(".network-nav-accordion").is(":visible")?($(".network-nav .network-navigation-dropdown").children().next().removeClass("nav-caret-down").addClass("nav-caret-up"),$(".body-container-navbar").first().addClass("mobile-overlay")):($(".network-nav .network-navigation-dropdown").children().next().removeClass("nav-caret-up").addClass("nav-caret-down"),$(".body-container-navbar").first().removeClass("mobile-overlay"))});$(document).on("click",function(n){typeof $(document).width!="undefined"&&$(document).width()>539&&($(n.target).hasClass("nw-nav-text")||$(n.target).hasClass("nav-caret-up")||($(n.target).is("a")||$(n.target).is("span")?$(n.target).parent().hasClass("haschild")||($(".network-nav-accordion").hide(),$(".network-nav .network-navigation-dropdown").children().next().removeClass("nav-caret-up").addClass("nav-caret-down"),$(".body-container-navbar").first().removeClass("mobile-overlay")):($(".network-nav-accordion").hide(),$(".network-nav .network-navigation-dropdown").children().next().removeClass("nav-caret-up").addClass("nav-caret-down"),$(".body-container-navbar").first().removeClass("mobile-overlay"))))});$("#WidgetFloaterPanels")!=null&&$("#WidgetFloaterPanels").css("display","none");(typeof performance=="undefined"||typeof window.performance.mark=="undefined")&&(window.performance={},window.performance.mark=function(){},window.performance.getEntriesByType=function(){return[]});var n=0,i=100;clearHistory_MachineTranslation=function(){try{typeof $.removeCookie=="undefined"&&typeof jQuery!="undefined"&&initJQueryCookie(jQuery,document);typeof $.removeCookie!="undefined"&&typeof $.cookie!="undefined"&&($.cookie("MPN_Automate_MachineTranslation")==null&&($.removeCookie("mstto",{path:"/"}),$.removeCookie("mstmode",{path:"/"})),$.removeCookie("MPN_TranslatorLangSelected",{path:"/"}));Microsoft.Translator.Widget.RestoreOriginal()}catch(n){console.error("clearHistory_MachineTranslation failed: "+n.message)}};replace_MachineTranslation=function(){isReady_MachineTranslation()?$("#WidgetFloaterPanels").css("display","none"):n<i&&(n++,setTimeout("replace_MachineTranslation();",200))};isReady_MachineTranslation=function(){return $("#WidgetFloaterPanels").is()};hideToolbar_MachineTranslation=function(){$("#MicrosoftTranslatorToolbar:visible").length>0&&$("#MicrosoftTranslatorToolbar").hide();setTimeout("hideToolbar_MachineTranslation();",200)};typeof $(document).ready!="undefined"&&$(document).ready(function(){r();try{$(".translate-cont").find("ul.list-no-bullets").find("li").removeClass("active");$.cookie("MPN_TranslatorLangSelected")!=undefined&&$.cookie("MPN_TranslatorLangSelected")!=""?$(".translate-cont").find("ul.list-no-bullets").find("li").find("a[data='"+$.cookie("MPN_TranslatorLangSelected")+"']").addClass("active").parent().addClass("active"):$("#lanfooter").hide();$("ul.dropdown-menu [data-toggle=dropdown]").on("click",function(n){n.preventDefault();n.stopPropagation();$(this).parent().siblings().removeClass("open");$(this).parent().toggleClass("open")});$(".mobile-translate-link").on("click",function(){$.cookie("MPN_TranslatorLangSelected")!=undefined&&$.cookie("MPN_TranslatorLangSelected")!=""&&(clearHistory_MachineTranslation(),$(".translate-cont").find("ul.list-no-bullets").find("li").removeClass("active"));$(".siteheader-search-cont .translate-cont").toggle();$(".siteheader-search-cont .translate-footer").toggle();$(".siteheader-search-cont .translate-cont").is(":visible")?$(".mobile-translate-link .siteheader-caret").addClass("caret-up"):$(".mobile-translate-link .siteheader-caret").removeClass("caret-up")})}catch(n){}$(".navbar-toggle").on("click",function(){$(".siteheader-search-cont .translate-cont").hide();$(".siteheader-search-cont .translate-footer").hide()});$(".translate-cont .list-no-bullets li").click(function(){languageTranslateClick(this)});$(".translate-cont .list-no-bullets li a").click(function(){return languageTranslateClick(this),!1});$(".siteheader-translate-link").on("click",function(){$(".siteheader-search-cont .translate-cont").show();$(".siteheader-search-cont .translate-footer").show();$(this).parent().hasClass("open")&&$.cookie("MPN_TranslatorLangSelected")!=undefined&&$.cookie("MPN_TranslatorLangSelected")!=""&&($(".translate-cont").find("ul.list-no-bullets").find("li").removeClass("active"),$(".siteheader-container .siteheader-translate").addClass("open"),clearHistory_MachineTranslation(),$("#lanfooter").hide())})});$(".contact_support .dropdown .dropdown-menu a")!=null&&$(".contact_support .dropdown .dropdown-menu a").click(function(){$(this).parent().parent().find("input[type=hidden]").val($(this).attr("data-value"));$(this).parent().parent().find(".ac-modal-drpdwn-link").first().html(this.innerHTML);$(this).attr("data-value").length?$(this).parent().parent().find(".ac-modal-drpdwn-link").first().addClass("selectedTitle"):$(this).parent().parent().find(".ac-modal-drpdwn-link").first().removeClass("selectedTitle")})}function languageTranslateClick(n){$(".translate-cont").find("ul.list-no-bullets").find("li").removeClass("active");var t;$(n).find("a").attr("data")==undefined?($(n).parent("li").addClass("active"),t=$(n).attr("data").toLowerCase()):($(n).addClass("active"),t=$(n).find("a").attr("data").toLowerCase());t!=undefined?(selectedMachineTranslationOptionIsValid=!0,Microsoft.Translator.Widget.Translate(null,t,null,null,function(){}),typeof $.cookie=="undefined"&&typeof jQuery!="undefined"&&initJQueryCookie(jQuery,document),$(this).find("a").attr("data")==undefined?$.cookie("MPN_TranslatorLangSelected",$(n).attr("data"),{path:"/"}):$.cookie("MPN_TranslatorLangSelected",$(n).find("a").attr("data"),{path:"/"}),$("#WidgetFloaterPanels").css("display","none"),$("#lanfooter").show(),$("#MicrosoftTranslatorWidget #MSTWGoButton").click()):selectedMachineTranslationOptionIsValid=!1;$(".siteheader-search-cont .translate-cont").toggle();$(".siteheader-search-cont .translate-footer").toggle();$(".mobile-translate-link .siteheader-caret").removeClass("caret-up");$("li.siteheader-translate").removeClass("open")}function changeValueOrg(n){document.getElementById("mainOrg").innerHTML=n.innerHTML;$("#mainOrg").next().val($(n).attr("data-value"))}function changeValueLoc(n){document.getElementById("mainLoc").innerHTML=n.innerHTML;$("#mainLoc").next().val($(n).attr("data-value"))}function changeValueDropdownPivot(n){$(".dropdown-pivot-content").hide();document.getElementById("mainDropdownPivot").innerHTML=n.innerHTML;var t=$("#mainDropdownPivot").next().val($(n).attr("data-value"));$("#"+t.val()).show()}function initAccordions(n){for(var i=n("div.accordion"),t=0;t<i.length;t++){var r=n(i[t]),u=r.find("a.accordion-panel-title-link"),f="expanded";u.on("click",function(){var t=n(this);setTimeout(function(){t.hasClass(f)?t.attr("aria-expanded","true"):t.attr("aria-expanded","false")},100)})}n(".accordion").on("hidden.bs.collapse",function(t){var i=t.target.parentElement,r=n(i).find("a.accordion-panel-title-link");jQuery(r[0]).removeClass("expanded")});n(".accordion").on("shown.bs.collapse",function(t){var i=t.target.parentElement,r=n(i).find("a.accordion-panel-title-link");jQuery(r[0]).addClass("expanded")})}function initTabs(n){var i=n("div.tabs"),r,t,u;if(i.length){for(r=0;r<i.length;r++)if(t=n(i[r]),t.hasClass("img-tabs")){setTimeout(function(){verticallyCenterFloatContentBox(t,n)},75);t.on("shown.bs.tab",function(){verticallyCenterFloatContentBox(n(this),n)})}else{u=t.find("li.nav-tab");u.length<=6&&u.addClass("col-md-"+String(12/u.length).replace(".","-point-"));setTabsHeight(t,n);setActiveTabUnderlineWidth(t,n);t.on("shown.bs.tab",function(){setTabsHeight(t,n);setActiveTabUnderlineWidth(n(this),n)})}i.find("a.nav-tab-wrapper").on("click",function(){var t=n(this),r=t.attr("href"),i=t.closest(".tabs").find(r);n(window).off("keydown");i.length&&setTimeout(function(){var r=i.find("[tabIndex]").filter(function(){return n(this).is(":visible")});if(r.length){n(r[0]).focus();n(window).on("keydown",function(i){var f=i.keyCode||i.which,u;f=="9"&&n(r[r.length-1])[0]==n(document.activeElement)[0]&&(u=t.closest(".nav-tab").next().next(),u.length&&t.focus())})}},200)});n(window).on("resize",function(){for(var t,r=0;r<i.length;r++)t=n(i[r]),t.hasClass("img-tabs")?verticallyCenterFloatContentBox(t,n):(setTabsHeight(t,n),setActiveTabUnderlineWidth(t,n))})}}function verticallyCenterFloatContentBox(n,t){var u,r;if(n.is(":visible"))for(u=n.find("div.tab-content-floating-box"),r=0;r<u.length;r++){var i=t(u[r]),f=i.closest(".tab-pane"),e=f.height()/2-i.outerHeight()/2;t(document).width()>=900?i.css("margin-top",e+"px"):i.css("margin-top","0px");i.show()}}function setTabsHeight(n,t){var i=n.find("li.nav-tab"),r,u,h,e,o,f,s,c;for(i.css("height","auto"),r=0,u=0;u<i.length;u++)h=t(i[u]),e=h.outerHeight(),e>r&&(r=e);for(i.css("height",r+"px"),o=i.find(".nav-tab-link-wrapper"),f=0;f<o.length;f++)s=t(o[f]),c=r/2-s.outerHeight()/2,s.css("margin-top",c+"px")}function setActiveTabUnderlineWidth(n,t){var u=n.find(".nav-tab.active"),f=n.find(".nav-tab-link-underline"),i,r;f.removeClass("active");i=t(u[0]).find(".nav-tab-link");r=i.siblings(".nav-tab-link-underline");r.css("width",i.width()+"px");r.addClass("active")}function initTitleComplexTable(n){function i(){var i=n(".complex-table-accordion-desktop .complex-table-accordion a.accordion-panel-title-link").length,r=n(".complex-table-accordion-desktop .complex-table-accordion a.accordion-panel-title-link.expanded").length;i===r?(n(".plus-icon").addClass("minus-icon"),t=!0):(n(".plus-icon").removeClass("minus-icon"),t=!1)}function r(){var t="",i="",r="",u=n(".accordion .complex-table-accordion").children(),f=n(u).find("a[data-parent='.complex-table-accordion-mobile']");n(f).each(function(){t=n(this).parents().eq(3);i=n(this).attr("href");r=n(t).find(i);n(r).hasClass("in")||n(this).removeClass("expanded")})}var t=!1;n(".plus-icon").on("click",function(){var i;n(window).width()>539?(i=this,t?(n(i).closest(".complex-table-accordion-title").next().children().each(function(){n(this).children().eq(1).collapse("hide")}),n(this).removeClass("minus-icon"),t=!1):(n(i).closest(".complex-table-accordion-title").next().children().each(function(){n(this).children().eq(1).collapse("show")}),n(this).addClass("minus-icon"),t=!0)):(i=this,t?(n(i).closest(".complex-table-accordion-title").next().children().each(function(){n(this).children().eq(1).collapse("hide")}),n(this).removeClass("minus-icon"),t=!1):(n(i).closest(".complex-table-accordion-title").next().children().each(function(){n(this).children().eq(1).collapse("show")}),n(this).addClass("minus-icon"),t=!0))});n(".complex-accordion-tablet, complex-accordion-desktop").on("shown.bs.collapse",function(){i()});n(".complex-accordion-tablet, complex-accordion-desktop").on("hidden.bs.collapse",function(){i()});n(".complex-table-accordion-mobile").on("shown.bs.collapse",function(){r()})}function screen_size(){var n=new Array(2);return n[0]=jQuery(document).width(),n[1]=jQuery(document).height(),n}function LoadBladeImages(n,t){var e="div."+n+"-imgdiv",i="."+n+"-img",r="."+n+"-img-tab",u=i,f=r;t[0]>=900&&(u=r,f=i);jQuery(e).each(function(){jQuery(this).find(f).each(function(){LoadImageSrcFromDataAttribute(jQuery(this));jQuery(this).show()});jQuery(this).find(u).hide()})}function LoadImageSrcFromDataAttribute(n){var t=n.data("loadimageurl");n.attr("src",t)}function screen_size(){var n=new Array(2);return n[0]=jQuery(document).width(),n[1]=jQuery(document).height(),n}function LoadBladeImages(n,t){var e="div."+n+"-imgdiv",i="."+n+"-img",r="."+n+"-img-tab",u=i,f=r;t[0]>=900&&(u=r,f=i);jQuery(e).each(function(){jQuery(this).find(f).each(function(){LoadImageSrcFromDataAttribute(jQuery(this));jQuery(this).show()});jQuery(this).find(u).hide()})}function LoadImageSrcFromDataAttribute(n){var t=n.data("loadimageurl");n.attr("src",t)}function createCookieHttpOnly(){var n=myActionMethods();$.ajax({url:n,type:"POST",success:function(){}})}function LoadCallToActionImages(n){n[0]>=900?($("div.call-to-action-blade-imgdiv").find(".call-to-action-blade-img").show(),$("div.call-to-action-blade-imgdiv").find(".call-to-action-blade-img-tab").hide()):($("div.call-to-action-blade-imgdiv").find(".call-to-action-blade-img-tab").show(),$("div.call-to-action-blade-imgdiv").find(".call-to-action-blade-img").hide())}function change_pinpoint_size(){var n=jQuery("div.pinpoint-search-input-area").width(),t=jQuery(".pinpoint-search-cta").width(),i=n-t-60,r=jQuery(document).width();r<=539?(jQuery(".pinpoint-search-input-area input").css("width",n),center(jQuery(".pinpoint-search-cta"))):jQuery(".pinpoint-search-input-area input").css("width",i)}function center(n){var t=jQuery(document).width(),i=(t-n.width())/2,r={left:i-20};n.offset(r)}function loadImgContent(n){n[0]>=900?(jQuery("div.content-blade-imgdiv").find(".content-blade-img").show(),jQuery("div.content-blade-imgdiv").find(".content-blade-img-tab").hide()):(jQuery("div.content-blade-imgdiv").find(".content-blade-img-tab").show(),jQuery("div.content-blade-imgdiv").find(".content-blade-img").hide())}function loadImgSmallContentBlade(n){n[0]>=900?(jQuery("div.small-content-blade-imgdiv").find(".small-content-blade-img").show(),jQuery("div.small-content-blade-imgdiv").find(".small-content-blade-img-tab").hide()):(jQuery("div.small-content-blade-imgdiv").find(".small-content-blade-img-tab").show(),jQuery("div.small-content-blade-imgdiv").find(".small-content-blade-img").hide())}function AjaxCallBingTranslation(){var n=$.cookie("MPN_TranslatorLangSelected");n!=undefined&&(selectedMachineTranslationOptionIsValid=!0,Microsoft.Translator.Widget.Translate(null,n,null,null,function(){}),typeof $.cookie=="undefined"&&typeof jQuery!="undefined"&&initJQueryCookie(jQuery,document),$.cookie("MPN_TranslatorLangSelected",n,{path:"/"}),$("#WidgetFloaterPanels").css("display","none"),$("#lanfooter").show(),$("#MicrosoftTranslatorWidget #MSTWGoButton").click())}function initSearchResults(n){var e=n("div.search-results-container"),s,r;if(e.length)for(s=navigator.userAgent.indexOf("Firefox")>0,r=0;r<e.length;r++){var t=n(e[r]),u=t.find(".clear-search-results"),o=t.find("input.filter-checkbox"),f=t.find("li.list-header"),i=t.find("a.mobile-filter-cta");s&&t.addClass("firefox");i.on("click",function(){t.addClass("mobile-filters");n("h2.mobile-filter-header").focus();var i=n(".mobile-filters").find(".filter-list");n(window).width()<=679?n(".filter-list").addClass("expanded"):n(".filter-list").hasClass("expanded")&&n(".filter-list").removeClass("expanded")});t.find("a.mobile-close-results-cta").on("click",function(){t.removeClass("mobile-filters");i.focus()});t.find("a.mobile-view-results-cta").on("click",function(){t.removeClass("mobile-filters");t.find(".results-displayed:first").focus()});u.on("click",function(){o.removeAttr("checked");o.closest("li").removeClass("selected");handleFiltersChange(u,f,i)});o.on("change",function(){var t=n(this);t.is(":checked")||(t.attr("ariachecked","false"),t.closest("li").removeClass("selected"));handleFiltersChange(u,f,i)});f.on("click",function(){var i=n(this),r=i.closest(".mobile-filters"),t;r.length&&(t=i.parent(),t.hasClass("expanded")?t.removeClass("expanded"):t.addClass("expanded"))});handleFiltersChange(u,f,i)}}function handleFiltersChange(n,t,i){for(var u,r,s,c,e,h,l,a,f=0,o=0;o<t.length;o++){for(u=$(t[o]),r=u.siblings("li").find(".filter-checkbox:checked"),f+=r.length,s=u.find(".mobile-num-filters-selected"),c=r.length+s.attr("data-filters-selected-label"),s.find("strong").text(c),e=0;e<r.length;e++)h=$(r[e]),h.attr("ariachecked","true"),l=h.closest("li"),l.addClass("selected");r.length>0?u.closest(".filter-list").addClass("filters-selected"):u.closest(".filter-list").removeClass("filters-selected");a="";f>0?(i.text(i.attr("data-filters-selected-label")+f),i.removeClass("bg-lighter-gray").addClass("bg-gray-results")):(i.text(i.attr("data-no-filters-selected-label")),i.removeClass("bg-gray-results").addClass("bg-lighter-gray"))}f>0?n.addClass("visible"):n.removeClass("visible")}function ScrollActionStop(n){var t=$(n).parent().parent().parent().parent().parent().attr("data-carousel");$(".step-carousel."+t+" .jcarousel").attr("data-speaker-click")==0&&$(".step-carousel."+t+" .jcarousel").jcarouselAutoscroll("stop")}function ScrollActionStart(n){var t=$(n).parent().parent().parent().parent().parent().attr("data-carousel");$(".step-carousel."+t+" .jcarousel").attr("data-speaker-click")==0&&$(".step-carousel."+t+" .jcarousel").jcarouselAutoscroll("start")}function SocialFeedbackSlide(){var t=$(".feedback-block"),u=$(".social-feedback ul"),n=$(".social-feedback"),f=$(".submitBtn"),i=$(".social-follow-us"),r=$(".social-share");$(".yes-btn").click(function(){u.hide();t.show();n.addClass("toggle")});$(".submitBtn").click(function(){t.hide();$(".thanks-message").show()});i.length==0&&(n.addClass("slide-left"),$(".social-share").addClass("pull-right"));r.length==0&&n.addClass("slide-right");i.length==0&&r.length==0&&n.removeClass("slide-left slide-right")}var gmositecore,sourceURL,CDNT_BASE_URL,meteor_monitor,monitor_info,monitor_url,key,monitor_jsonp;if(!function(n,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=n.document?t(n,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return t(n)}:t(n)}("undefined"!=typeof window?window:this,function(n,t){function ri(n){var t="length"in n&&n.length,r=i.type(n);return"function"===r||i.isWindow(n)?!1:1===n.nodeType&&t?!0:"array"===r||0===t||"number"==typeof t&&t>0&&t-1 in n}function ui(n,t,r){if(i.isFunction(t))return i.grep(n,function(n,i){return!!t.call(n,i,n)!==r});if(t.nodeType)return i.grep(n,function(n){return n===t!==r});if("string"==typeof t){if(ef.test(t))return i.filter(t,n,r);t=i.filter(t,n)}return i.grep(n,function(n){return ft.call(t,n)>=0!==r})}function ur(n,t){while((n=n[t])&&1!==n.nodeType);return n}function of(n){var t=fi[n]={};return i.each(n.match(c)||[],function(n,i){t[i]=!0}),t}function ht(){u.removeEventListener("DOMContentLoaded",ht,!1);n.removeEventListener("load",ht,!1);i.ready()}function v(){Object.defineProperty(this.cache={},0,{get:function(){return{}}});this.expando=i.expando+v.uid++}function fr(n,t,r){var u;if(void 0===r&&1===n.nodeType)if(u="data-"+t.replace(hf,"-$1").toLowerCase(),r=n.getAttribute(u),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:sf.test(r)?i.parseJSON(r):r}catch(f){}e.set(n,t,r)}else r=void 0;return r}function lt(){return!0}function k(){return!1}function hr(){try{return u.activeElement}catch(n){}}function vr(n,t){return i.nodeName(n,"table")&&i.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?n.getElementsByTagName("tbody")[0]||n.appendChild(n.ownerDocument.createElement("tbody")):n}function bf(n){return n.type=(null!==n.getAttribute("type"))+"/"+n.type,n}function kf(n){var t=pf.exec(n.type);return t?n.type=t[1]:n.removeAttribute("type"),n}function ei(n,t){for(var i=0,u=n.length;u>i;i++)r.set(n[i],"globalEval",!t||r.get(t[i],"globalEval"))}function yr(n,t){var u,c,f,s,h,l,a,o;if(1===t.nodeType){if(r.hasData(n)&&(s=r.access(n),h=r.set(t,s),o=s.events)){delete h.handle;h.events={};for(f in o)for(u=0,c=o[f].length;c>u;u++)i.event.add(t,f,o[f][u])}e.hasData(n)&&(l=e.access(n),a=i.extend({},l),e.set(t,a))}}function o(n,t){var r=n.getElementsByTagName?n.getElementsByTagName(t||"*"):n.querySelectorAll?n.querySelectorAll(t||"*"):[];return void 0===t||t&&i.nodeName(n,t)?i.merge([n],r):r}function df(n,t){var i=t.nodeName.toLowerCase();"input"===i&&er.test(n.type)?t.checked=n.checked:("input"===i||"textarea"===i)&&(t.defaultValue=n.defaultValue)}function pr(t,r){var f,u=i(r.createElement(t)).appendTo(r.body),e=n.getDefaultComputedStyle&&(f=n.getDefaultComputedStyle(u[0]))?f.display:i.css(u[0],"display");return u.detach(),e}function si(n){var r=u,t=oi[n];return t||(t=pr(n,r),"none"!==t&&t||(at=(at||i("<iframe frameborder='0' width='0' height='0'/>")).appendTo(r.documentElement),r=at[0].contentDocument,r.write(),r.close(),t=pr(n,r),at.detach()),oi[n]=t),t}function it(n,t,r){var e,o,s,u,f=n.style;return r=r||vt(n),r&&(u=r.getPropertyValue(t)||r[t]),r&&(""!==u||i.contains(n.ownerDocument,n)||(u=i.style(n,t)),hi.test(u)&&wr.test(t)&&(e=f.width,o=f.minWidth,s=f.maxWidth,f.minWidth=f.maxWidth=f.width=u,u=r.width,f.width=e,f.minWidth=o,f.maxWidth=s)),void 0!==u?u+"":u}function br(n,t){return{get:function(){return n()?void delete this.get:(this.get=t).apply(this,arguments)}}}function gr(n,t){if(t in n)return t;for(var r=t[0].toUpperCase()+t.slice(1),u=t,i=dr.length;i--;)if(t=dr[i]+r,t in n)return t;return u}function nu(n,t,i){var r=ne.exec(t);return r?Math.max(0,r[1]-(i||0))+(r[2]||"px"):t}function tu(n,t,r,u,f){for(var e=r===(u?"border":"content")?4:"width"===t?1:0,o=0;4>e;e+=2)"margin"===r&&(o+=i.css(n,r+p[e],!0,f)),u?("content"===r&&(o-=i.css(n,"padding"+p[e],!0,f)),"margin"!==r&&(o-=i.css(n,"border"+p[e]+"Width",!0,f))):(o+=i.css(n,"padding"+p[e],!0,f),"padding"!==r&&(o+=i.css(n,"border"+p[e]+"Width",!0,f)));return o}function iu(n,t,r){var o=!0,u="width"===t?n.offsetWidth:n.offsetHeight,e=vt(n),s="border-box"===i.css(n,"boxSizing",!1,e);if(0>=u||null==u){if(u=it(n,t,e),(0>u||null==u)&&(u=n.style[t]),hi.test(u))return u;o=s&&(f.boxSizingReliable()||u===n.style[t]);u=parseFloat(u)||0}return u+tu(n,t,r||(s?"border":"content"),o,e)+"px"}function ru(n,t){for(var e,u,s,o=[],f=0,h=n.length;h>f;f++)u=n[f],u.style&&(o[f]=r.get(u,"olddisplay"),e=u.style.display,t?(o[f]||"none"!==e||(u.style.display=""),""===u.style.display&&tt(u)&&(o[f]=r.access(u,"olddisplay",si(u.nodeName)))):(s=tt(u),"none"===e&&s||r.set(u,"olddisplay",s?e:i.css(u,"display"))));for(f=0;h>f;f++)u=n[f],u.style&&(t&&"none"!==u.style.display&&""!==u.style.display||(u.style.display=t?o[f]||"":"none"));return n}function s(n,t,i,r,u){return new s.prototype.init(n,t,i,r,u)}function fu(){return setTimeout(function(){d=void 0}),d=i.now()}function wt(n,t){var r,u=0,i={height:n};for(t=t?1:0;4>u;u+=2-t)r=p[u],i["margin"+r]=i["padding"+r]=n;return t&&(i.opacity=i.width=n),i}function eu(n,t,i){for(var u,f=(rt[t]||[]).concat(rt["*"]),r=0,e=f.length;e>r;r++)if(u=f[r].call(i,t,n))return u}function fe(n,t,u){var f,a,p,v,o,w,h,b,l=this,y={},s=n.style,c=n.nodeType&&tt(n),e=r.get(n,"fxshow");u.queue||(o=i._queueHooks(n,"fx"),null==o.unqueued&&(o.unqueued=0,w=o.empty.fire,o.empty.fire=function(){o.unqueued||w()}),o.unqueued++,l.always(function(){l.always(function(){o.unqueued--;i.queue(n,"fx").length||o.empty.fire()})}));1===n.nodeType&&("height"in t||"width"in t)&&(u.overflow=[s.overflow,s.overflowX,s.overflowY],h=i.css(n,"display"),b="none"===h?r.get(n,"olddisplay")||si(n.nodeName):h,"inline"===b&&"none"===i.css(n,"float")&&(s.display="inline-block"));u.overflow&&(s.overflow="hidden",l.always(function(){s.overflow=u.overflow[0];s.overflowX=u.overflow[1];s.overflowY=u.overflow[2]}));for(f in t)if(a=t[f],re.exec(a)){if(delete t[f],p=p||"toggle"===a,a===(c?"hide":"show")){if("show"!==a||!e||void 0===e[f])continue;c=!0}y[f]=e&&e[f]||i.style(n,f)}else h=void 0;if(i.isEmptyObject(y))"inline"===("none"===h?si(n.nodeName):h)&&(s.display=h);else{e?"hidden"in e&&(c=e.hidden):e=r.access(n,"fxshow",{});p&&(e.hidden=!c);c?i(n).show():l.done(function(){i(n).hide()});l.done(function(){var t;r.remove(n,"fxshow");for(t in y)i.style(n,t,y[t])});for(f in y)v=eu(c?e[f]:0,f,l),f in e||(e[f]=v.start,c&&(v.end=v.start,v.start="width"===f||"height"===f?1:0))}}function ee(n,t){var r,f,e,u,o;for(r in n)if(f=i.camelCase(r),e=t[f],u=n[r],i.isArray(u)&&(e=u[1],u=n[r]=u[0]),r!==f&&(n[f]=u,delete n[r]),o=i.cssHooks[f],o&&"expand"in o){u=o.expand(u);delete n[f];for(r in u)r in n||(n[r]=u[r],t[r]=e)}else t[f]=e}function ou(n,t,r){var h,e,o=0,l=pt.length,f=i.Deferred().always(function(){delete c.elem}),c=function(){if(e)return!1;for(var s=d||fu(),t=Math.max(0,u.startTime+u.duration-s),h=t/u.duration||0,i=1-h,r=0,o=u.tweens.length;o>r;r++)u.tweens[r].run(i);return f.notifyWith(n,[u,i,t]),1>i&&o?t:(f.resolveWith(n,[u]),!1)},u=f.promise({elem:n,props:i.extend({},t),opts:i.extend(!0,{specialEasing:{}},r),originalProperties:t,originalOptions:r,startTime:d||fu(),duration:r.duration,tweens:[],createTween:function(t,r){var f=i.Tween(n,u.opts,t,r,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(f),f},stop:function(t){var i=0,r=t?u.tweens.length:0;if(e)return this;for(e=!0;r>i;i++)u.tweens[i].run(1);return t?f.resolveWith(n,[u,t]):f.rejectWith(n,[u,t]),this}}),s=u.props;for(ee(s,u.opts.specialEasing);l>o;o++)if(h=pt[o].call(u,n,s,u.opts))return h;return i.map(s,eu,u),i.isFunction(u.opts.start)&&u.opts.start.call(n,u),i.fx.timer(i.extend(c,{elem:n,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 pu(n){return function(t,r){"string"!=typeof t&&(r=t,t="*");var u,f=0,e=t.toLowerCase().match(c)||[];if(i.isFunction(r))while(u=e[f++])"+"===u[0]?(u=u.slice(1)||"*",(n[u]=n[u]||[]).unshift(r)):(n[u]=n[u]||[]).push(r)}}function wu(n,t,r,u){function e(s){var h;return f[s]=!0,i.each(n[s]||[],function(n,i){var s=i(t,r,u);return"string"!=typeof s||o||f[s]?o?!(h=s):void 0:(t.dataTypes.unshift(s),e(s),!1)}),h}var f={},o=n===ci;return e(t.dataTypes[0])||!f["*"]&&e("*")}function ai(n,t){var r,u,f=i.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((f[r]?n:u||(u={}))[r]=t[r]);return u&&i.extend(!0,n,u),n}function ae(n,t,i){for(var e,u,f,o,s=n.contents,r=n.dataTypes;"*"===r[0];)r.shift(),void 0===e&&(e=n.mimeType||t.getResponseHeader("Content-Type"));if(e)for(u in s)if(s[u]&&s[u].test(e)){r.unshift(u);break}if(r[0]in i)f=r[0];else{for(u in i){if(!r[0]||n.converters[u+" "+r[0]]){f=u;break}o||(o=u)}f=f||o}if(f)return(f!==r[0]&&r.unshift(f),i[f])}function ve(n,t,i,r){var h,u,f,s,e,o={},c=n.dataTypes.slice();if(c[1])for(f in n.converters)o[f.toLowerCase()]=n.converters[f];for(u=c.shift();u;)if(n.responseFields[u]&&(i[n.responseFields[u]]=t),!e&&r&&n.dataFilter&&(t=n.dataFilter(t,n.dataType)),e=u,u=c.shift())if("*"===u)u=e;else if("*"!==e&&e!==u){if(f=o[e+" "+u]||o["* "+u],!f)for(h in o)if(s=h.split(" "),s[1]===u&&(f=o[e+" "+s[0]]||o["* "+s[0]])){f===!0?f=o[h]:o[h]!==!0&&(u=s[0],c.unshift(s[1]));break}if(f!==!0)if(f&&n.throws)t=f(t);else try{t=f(t)}catch(l){return{state:"parsererror",error:f?l:"No conversion from "+e+" to "+u}}}return{state:"success",data:t}}function vi(n,t,r,u){var f;if(i.isArray(t))i.each(t,function(t,i){r||pe.test(n)?u(n,i):vi(n+"["+("object"==typeof i?t:"")+"]",i,r,u)});else if(r||"object"!==i.type(t))u(n,t);else for(f in t)vi(n+"["+f+"]",t[f],r,u)}function ku(n){return i.isWindow(n)?n:9===n.nodeType&&n.defaultView}var w=[],a=w.slice,bi=w.concat,ti=w.push,ft=w.indexOf,et={},nf=et.toString,ii=et.hasOwnProperty,f={},u=n.document,ki="2.1.4",i=function(n,t){return new i.fn.init(n,t)},tf=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,rf=/^-ms-/,uf=/-([\da-z])/gi,ff=function(n,t){return t.toUpperCase()},y,ot,nr,tr,ir,rr,c,fi,st,l,b,at,oi,oe,su,g,hu,bt,cu,kt,dt,yi,ni,pi,wi,du,gu;i.fn=i.prototype={jquery:ki,constructor:i,selector:"",length:0,toArray:function(){return a.call(this)},get:function(n){return null!=n?0>n?this[n+this.length]:this[n]:a.call(this)},pushStack:function(n){var t=i.merge(this.constructor(),n);return t.prevObject=this,t.context=this.context,t},each:function(n,t){return i.each(this,n,t)},map:function(n){return this.pushStack(i.map(this,function(t,i){return n.call(t,i,t)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(n){var i=this.length,t=+n+(0>n?i:0);return this.pushStack(t>=0&&i>t?[this[t]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:ti,sort:w.sort,splice:w.splice};i.extend=i.fn.extend=function(){var e,f,r,t,o,s,n=arguments[0]||{},u=1,c=arguments.length,h=!1;for("boolean"==typeof n&&(h=n,n=arguments[u]||{},u++),"object"==typeof n||i.isFunction(n)||(n={}),u===c&&(n=this,u--);c>u;u++)if(null!=(e=arguments[u]))for(f in e)r=n[f],t=e[f],n!==t&&(h&&t&&(i.isPlainObject(t)||(o=i.isArray(t)))?(o?(o=!1,s=r&&i.isArray(r)?r:[]):s=r&&i.isPlainObject(r)?r:{},n[f]=i.extend(h,s,t)):void 0!==t&&(n[f]=t));return n};i.extend({expando:"jQuery"+(ki+Math.random()).replace(/\D/g,""),isReady:!0,error:function(n){throw new Error(n);},noop:function(){},isFunction:function(n){return"function"===i.type(n)},isArray:Array.isArray,isWindow:function(n){return null!=n&&n===n.window},isNumeric:function(n){return!i.isArray(n)&&n-parseFloat(n)+1>=0},isPlainObject:function(n){return"object"!==i.type(n)||n.nodeType||i.isWindow(n)?!1:n.constructor&&!ii.call(n.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(n){for(var t in n)return!1;return!0},type:function(n){return null==n?n+"":"object"==typeof n||"function"==typeof n?et[nf.call(n)]||"object":typeof n},globalEval:function(n){var t,r=eval;n=i.trim(n);n&&(1===n.indexOf("use strict")?(t=u.createElement("script"),t.text=n,u.head.appendChild(t).parentNode.removeChild(t)):r(n))},camelCase:function(n){return n.replace(rf,"ms-").replace(uf,ff)},nodeName:function(n,t){return n.nodeName&&n.nodeName.toLowerCase()===t.toLowerCase()},each:function(n,t,i){var u,r=0,f=n.length,e=ri(n);if(i){if(e){for(;f>r;r++)if(u=t.apply(n[r],i),u===!1)break}else for(r in n)if(u=t.apply(n[r],i),u===!1)break}else if(e){for(;f>r;r++)if(u=t.call(n[r],r,n[r]),u===!1)break}else for(r in n)if(u=t.call(n[r],r,n[r]),u===!1)break;return n},trim:function(n){return null==n?"":(n+"").replace(tf,"")},makeArray:function(n,t){var r=t||[];return null!=n&&(ri(Object(n))?i.merge(r,"string"==typeof n?[n]:n):ti.call(r,n)),r},inArray:function(n,t,i){return null==t?-1:ft.call(t,n,i)},merge:function(n,t){for(var u=+t.length,i=0,r=n.length;u>i;i++)n[r++]=t[i];return n.length=r,n},grep:function(n,t,i){for(var u,f=[],r=0,e=n.length,o=!i;e>r;r++)u=!t(n[r],r),u!==o&&f.push(n[r]);return f},map:function(n,t,i){var u,r=0,e=n.length,o=ri(n),f=[];if(o)for(;e>r;r++)u=t(n[r],r,i),null!=u&&f.push(u);else for(r in n)u=t(n[r],r,i),null!=u&&f.push(u);return bi.apply([],f)},guid:1,proxy:function(n,t){var u,f,r;return"string"==typeof t&&(u=n[t],t=n,n=u),i.isFunction(n)?(f=a.call(arguments,2),r=function(){return n.apply(t||this,f.concat(a.call(arguments)))},r.guid=n.guid=n.guid||i.guid++,r):void 0},now:Date.now,support:f});i.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(n,t){et["[object "+t+"]"]=t.toLowerCase()});y=function(n){function r(n,t,i,r){var p,s,a,c,w,y,d,v,nt,g;if((t?t.ownerDocument||t:h)!==o&&k(t),t=t||o,i=i||[],c=t.nodeType,"string"!=typeof n||!n||1!==c&&9!==c&&11!==c)return i;if(!r&&l){if(11!==c&&(p=hr.exec(n)))if(a=p[1]){if(9===c){if(s=t.getElementById(a),!s||!s.parentNode)return i;if(s.id===a)return i.push(s),i}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(a))&&et(t,s)&&s.id===a)return i.push(s),i}else{if(p[2])return b.apply(i,t.getElementsByTagName(n)),i;if((a=p[3])&&u.getElementsByClassName)return b.apply(i,t.getElementsByClassName(a)),i}if(u.qsa&&(!e||!e.test(n))){if(v=d=f,nt=t,g=1!==c&&n,1===c&&"object"!==t.nodeName.toLowerCase()){for(y=ft(n),(d=t.getAttribute("id"))?v=d.replace(cr,"\\$&"):t.setAttribute("id",v),v="[id='"+v+"'] ",w=y.length;w--;)y[w]=v+vt(y[w]);nt=dt.test(n)&&ti(t.parentNode)||t;g=y.join(",")}if(g)try{return b.apply(i,nt.querySelectorAll(g)),i}catch(tt){}finally{d||t.removeAttribute("id")}}}return oi(n.replace(lt,"$1"),t,i,r)}function gt(){function n(r,u){return i.push(r+" ")>t.cacheLength&&delete n[i.shift()],n[r+" "]=u}var i=[];return n}function c(n){return n[f]=!0,n}function v(n){var t=o.createElement("div");try{return!!n(t)}catch(i){return!1}finally{t.parentNode&&t.parentNode.removeChild(t);t=null}}function ni(n,i){for(var u=n.split("|"),r=n.length;r--;)t.attrHandle[u[r]]=i}function wi(n,t){var i=t&&n,r=i&&1===n.nodeType&&1===t.nodeType&&(~t.sourceIndex||li)-(~n.sourceIndex||li);if(r)return r;if(i)while(i=i.nextSibling)if(i===t)return-1;return n?1:-1}function lr(n){return function(t){var i=t.nodeName.toLowerCase();return"input"===i&&t.type===n}}function ar(n){return function(t){var i=t.nodeName.toLowerCase();return("input"===i||"button"===i)&&t.type===n}}function tt(n){return c(function(t){return t=+t,c(function(i,r){for(var u,f=n([],i.length,t),e=f.length;e--;)i[u=f[e]]&&(i[u]=!(r[u]=i[u]))})})}function ti(n){return n&&"undefined"!=typeof n.getElementsByTagName&&n}function bi(){}function vt(n){for(var t=0,r=n.length,i="";r>t;t++)i+=n[t].value;return i}function ii(n,t,i){var r=t.dir,u=i&&"parentNode"===r,e=ki++;return t.first?function(t,i,f){while(t=t[r])if(1===t.nodeType||u)return n(t,i,f)}:function(t,i,o){var s,h,c=[a,e];if(o){while(t=t[r])if((1===t.nodeType||u)&&n(t,i,o))return!0}else while(t=t[r])if(1===t.nodeType||u){if(h=t[f]||(t[f]={}),(s=h[r])&&s[0]===a&&s[1]===e)return c[2]=s[2];if(h[r]=c,c[2]=n(t,i,o))return!0}}}function ri(n){return n.length>1?function(t,i,r){for(var u=n.length;u--;)if(!n[u](t,i,r))return!1;return!0}:n[0]}function vr(n,t,i){for(var u=0,f=t.length;f>u;u++)r(n,t[u],i);return i}function yt(n,t,i,r,u){for(var e,o=[],f=0,s=n.length,h=null!=t;s>f;f++)(e=n[f])&&(!i||i(e,r,u))&&(o.push(e),h&&t.push(f));return o}function ui(n,t,i,r,u,e){return r&&!r[f]&&(r=ui(r)),u&&!u[f]&&(u=ui(u,e)),c(function(f,e,o,s){var l,c,a,p=[],y=[],w=e.length,k=f||vr(t||"*",o.nodeType?[o]:o,[]),v=!n||!f&&t?k:yt(k,p,n,o,s),h=i?u||(f?n:w||r)?[]:e:v;if(i&&i(v,h,o,s),r)for(l=yt(h,y),r(l,[],o,s),c=l.length;c--;)(a=l[c])&&(h[y[c]]=!(v[y[c]]=a));if(f){if(u||n){if(u){for(l=[],c=h.length;c--;)(a=h[c])&&l.push(v[c]=a);u(null,h=[],l,s)}for(c=h.length;c--;)(a=h[c])&&(l=u?nt(f,a):p[c])>-1&&(f[l]=!(e[l]=a))}}else h=yt(h===e?h.splice(w,h.length):h),u?u(null,e,h,s):b.apply(e,h)})}function fi(n){for(var o,u,r,s=n.length,h=t.relative[n[0].type],c=h||t.relative[" "],i=h?1:0,l=ii(function(n){return n===o},c,!0),a=ii(function(n){return nt(o,n)>-1},c,!0),e=[function(n,t,i){var r=!h&&(i||t!==ht)||((o=t).nodeType?l(n,t,i):a(n,t,i));return o=null,r}];s>i;i++)if(u=t.relative[n[i].type])e=[ii(ri(e),u)];else{if(u=t.filter[n[i].type].apply(null,n[i].matches),u[f]){for(r=++i;s>r;r++)if(t.relative[n[r].type])break;return ui(i>1&&ri(e),i>1&&vt(n.slice(0,i-1).concat({value:" "===n[i-2].type?"*":""})).replace(lt,"$1"),u,r>i&&fi(n.slice(i,r)),s>r&&fi(n=n.slice(r)),s>r&&vt(n))}e.push(u)}return ri(e)}function yr(n,i){var u=i.length>0,f=n.length>0,e=function(e,s,h,c,l){var y,d,w,k=0,v="0",g=e&&[],p=[],nt=ht,tt=e||f&&t.find.TAG("*",l),it=a+=null==nt?1:Math.random()||.1,rt=tt.length;for(l&&(ht=s!==o&&s);v!==rt&&null!=(y=tt[v]);v++){if(f&&y){for(d=0;w=n[d++];)if(w(y,s,h)){c.push(y);break}l&&(a=it)}u&&((y=!w&&y)&&k--,e&&g.push(y))}if(k+=v,u&&v!==k){for(d=0;w=i[d++];)w(g,p,s,h);if(e){if(k>0)while(v--)g[v]||p[v]||(p[v]=gi.call(c));p=yt(p)}b.apply(c,p);l&&!e&&p.length>0&&k+i.length>1&&r.uniqueSort(c)}return l&&(a=it,ht=nt),g};return u?c(e):e}var it,u,t,st,ei,ft,pt,oi,ht,w,rt,k,o,s,l,e,d,ct,et,f="sizzle"+1*new Date,h=n.document,a=0,ki=0,si=gt(),hi=gt(),ci=gt(),wt=function(n,t){return n===t&&(rt=!0),0},li=-2147483648,di={}.hasOwnProperty,g=[],gi=g.pop,nr=g.push,b=g.push,ai=g.slice,nt=function(n,t){for(var i=0,r=n.length;r>i;i++)if(n[i]===t)return i;return-1},bt="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",i="[\\x20\\t\\r\\n\\f]",ut="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",vi=ut.replace("w","w#"),yi="\\["+i+"*("+ut+")(?:"+i+"*([*^$|!~]?=)"+i+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+vi+"))|)"+i+"*\\]",kt=":("+ut+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+yi+")*)|.*)\\)|)",tr=new RegExp(i+"+","g"),lt=new RegExp("^"+i+"+|((?:^|[^\\\\])(?:\\\\.)*)"+i+"+$","g"),ir=new RegExp("^"+i+"*,"+i+"*"),rr=new RegExp("^"+i+"*([>+~]|"+i+")"+i+"*"),ur=new RegExp("="+i+"*([^\\]'\"]*?)"+i+"*\\]","g"),fr=new RegExp(kt),er=new RegExp("^"+vi+"$"),at={ID:new RegExp("^#("+ut+")"),CLASS:new RegExp("^\\.("+ut+")"),TAG:new RegExp("^("+ut.replace("w","w*")+")"),ATTR:new RegExp("^"+yi),PSEUDO:new RegExp("^"+kt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+i+"*(even|odd|(([+-]|)(\\d*)n|)"+i+"*(?:([+-]|)"+i+"*(\\d+)|))"+i+"*\\)|)","i"),bool:new RegExp("^(?:"+bt+")$","i"),needsContext:new RegExp("^"+i+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+i+"*((?:-\\d)?\\d*)"+i+"*\\)|)(?=[^-]|$)","i")},or=/^(?:input|select|textarea|button)$/i,sr=/^h\d$/i,ot=/^[^{]+\{\s*\[native \w/,hr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,dt=/[+~]/,cr=/'|\\/g,y=new RegExp("\\\\([\\da-f]{1,6}"+i+"?|("+i+")|.)","ig"),p=function(n,t,i){var r="0x"+t-65536;return r!==r||i?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},pi=function(){k()};try{b.apply(g=ai.call(h.childNodes),h.childNodes);g[h.childNodes.length].nodeType}catch(pr){b={apply:g.length?function(n,t){nr.apply(n,ai.call(t))}:function(n,t){for(var i=n.length,r=0;n[i++]=t[r++];);n.length=i-1}}}u=r.support={};ei=r.isXML=function(n){var t=n&&(n.ownerDocument||n).documentElement;return t?"HTML"!==t.nodeName:!1};k=r.setDocument=function(n){var a,c,r=n?n.ownerDocument||n:h;return r!==o&&9===r.nodeType&&r.documentElement?(o=r,s=r.documentElement,c=r.defaultView,c&&c!==c.top&&(c.addEventListener?c.addEventListener("unload",pi,!1):c.attachEvent&&c.attachEvent("onunload",pi)),l=!ei(r),u.attributes=v(function(n){return n.className="i",!n.getAttribute("className")}),u.getElementsByTagName=v(function(n){return n.appendChild(r.createComment("")),!n.getElementsByTagName("*").length}),u.getElementsByClassName=ot.test(r.getElementsByClassName),u.getById=v(function(n){return s.appendChild(n).id=f,!r.getElementsByName||!r.getElementsByName(f).length}),u.getById?(t.find.ID=function(n,t){if("undefined"!=typeof t.getElementById&&l){var i=t.getElementById(n);return i&&i.parentNode?[i]:[]}},t.filter.ID=function(n){var t=n.replace(y,p);return function(n){return n.getAttribute("id")===t}}):(delete t.find.ID,t.filter.ID=function(n){var t=n.replace(y,p);return function(n){var i="undefined"!=typeof n.getAttributeNode&&n.getAttributeNode("id");return i&&i.value===t}}),t.find.TAG=u.getElementsByTagName?function(n,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(n):u.qsa?t.querySelectorAll(n):void 0}:function(n,t){var i,r=[],f=0,u=t.getElementsByTagName(n);if("*"===n){while(i=u[f++])1===i.nodeType&&r.push(i);return r}return u},t.find.CLASS=u.getElementsByClassName&&function(n,t){if(l)return t.getElementsByClassName(n)},d=[],e=[],(u.qsa=ot.test(r.querySelectorAll))&&(v(function(n){s.appendChild(n).innerHTML="<a id='"+f+"'><\/a><select id='"+f+"-\f]' msallowcapture=''><option selected=''><\/option><\/select>";n.querySelectorAll("[msallowcapture^='']").length&&e.push("[*^$]="+i+"*(?:''|\"\")");n.querySelectorAll("[selected]").length||e.push("\\["+i+"*(?:value|"+bt+")");n.querySelectorAll("[id~="+f+"-]").length||e.push("~=");n.querySelectorAll(":checked").length||e.push(":checked");n.querySelectorAll("a#"+f+"+*").length||e.push(".#.+[+~]")}),v(function(n){var t=r.createElement("input");t.setAttribute("type","hidden");n.appendChild(t).setAttribute("name","D");n.querySelectorAll("[name=d]").length&&e.push("name"+i+"*[*^$|!~]?=");n.querySelectorAll(":enabled").length||e.push(":enabled",":disabled");n.querySelectorAll("*,:x");e.push(",.*:")})),(u.matchesSelector=ot.test(ct=s.matches||s.webkitMatchesSelector||s.mozMatchesSelector||s.oMatchesSelector||s.msMatchesSelector))&&v(function(n){u.disconnectedMatch=ct.call(n,"div");ct.call(n,"[s!='']:x");d.push("!=",kt)}),e=e.length&&new RegExp(e.join("|")),d=d.length&&new RegExp(d.join("|")),a=ot.test(s.compareDocumentPosition),et=a||ot.test(s.contains)?function(n,t){var r=9===n.nodeType?n.documentElement:n,i=t&&t.parentNode;return n===i||!(!i||1!==i.nodeType||!(r.contains?r.contains(i):n.compareDocumentPosition&&16&n.compareDocumentPosition(i)))}:function(n,t){if(t)while(t=t.parentNode)if(t===n)return!0;return!1},wt=a?function(n,t){if(n===t)return rt=!0,0;var i=!n.compareDocumentPosition-!t.compareDocumentPosition;return i?i:(i=(n.ownerDocument||n)===(t.ownerDocument||t)?n.compareDocumentPosition(t):1,1&i||!u.sortDetached&&t.compareDocumentPosition(n)===i?n===r||n.ownerDocument===h&&et(h,n)?-1:t===r||t.ownerDocument===h&&et(h,t)?1:w?nt(w,n)-nt(w,t):0:4&i?-1:1)}:function(n,t){if(n===t)return rt=!0,0;var i,u=0,o=n.parentNode,s=t.parentNode,f=[n],e=[t];if(!o||!s)return n===r?-1:t===r?1:o?-1:s?1:w?nt(w,n)-nt(w,t):0;if(o===s)return wi(n,t);for(i=n;i=i.parentNode;)f.unshift(i);for(i=t;i=i.parentNode;)e.unshift(i);while(f[u]===e[u])u++;return u?wi(f[u],e[u]):f[u]===h?-1:e[u]===h?1:0},r):o};r.matches=function(n,t){return r(n,null,null,t)};r.matchesSelector=function(n,t){if((n.ownerDocument||n)!==o&&k(n),t=t.replace(ur,"='$1']"),!(!u.matchesSelector||!l||d&&d.test(t)||e&&e.test(t)))try{var i=ct.call(n,t);if(i||u.disconnectedMatch||n.document&&11!==n.document.nodeType)return i}catch(f){}return r(t,o,null,[n]).length>0};r.contains=function(n,t){return(n.ownerDocument||n)!==o&&k(n),et(n,t)};r.attr=function(n,i){(n.ownerDocument||n)!==o&&k(n);var f=t.attrHandle[i.toLowerCase()],r=f&&di.call(t.attrHandle,i.toLowerCase())?f(n,i,!l):void 0;return void 0!==r?r:u.attributes||!l?n.getAttribute(i):(r=n.getAttributeNode(i))&&r.specified?r.value:null};r.error=function(n){throw new Error("Syntax error, unrecognized expression: "+n);};r.uniqueSort=function(n){var r,f=[],t=0,i=0;if(rt=!u.detectDuplicates,w=!u.sortStable&&n.slice(0),n.sort(wt),rt){while(r=n[i++])r===n[i]&&(t=f.push(i));while(t--)n.splice(f[t],1)}return w=null,n};st=r.getText=function(n){var r,i="",u=0,t=n.nodeType;if(t){if(1===t||9===t||11===t){if("string"==typeof n.textContent)return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=st(n)}else if(3===t||4===t)return n.nodeValue}else while(r=n[u++])i+=st(r);return i};t=r.selectors={cacheLength:50,createPseudo:c,match:at,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(n){return n[1]=n[1].replace(y,p),n[3]=(n[3]||n[4]||n[5]||"").replace(y,p),"~="===n[2]&&(n[3]=" "+n[3]+" "),n.slice(0,4)},CHILD:function(n){return n[1]=n[1].toLowerCase(),"nth"===n[1].slice(0,3)?(n[3]||r.error(n[0]),n[4]=+(n[4]?n[5]+(n[6]||1):2*("even"===n[3]||"odd"===n[3])),n[5]=+(n[7]+n[8]||"odd"===n[3])):n[3]&&r.error(n[0]),n},PSEUDO:function(n){var i,t=!n[6]&&n[2];return at.CHILD.test(n[0])?null:(n[3]?n[2]=n[4]||n[5]||"":t&&fr.test(t)&&(i=ft(t,!0))&&(i=t.indexOf(")",t.length-i)-t.length)&&(n[0]=n[0].slice(0,i),n[2]=t.slice(0,i)),n.slice(0,3))}},filter:{TAG:function(n){var t=n.replace(y,p).toLowerCase();return"*"===n?function(){return!0}:function(n){return n.nodeName&&n.nodeName.toLowerCase()===t}},CLASS:function(n){var t=si[n+" "];return t||(t=new RegExp("(^|"+i+")"+n+"("+i+"|$)"))&&si(n,function(n){return t.test("string"==typeof n.className&&n.className||"undefined"!=typeof n.getAttribute&&n.getAttribute("class")||"")})},ATTR:function(n,t,i){return function(u){var f=r.attr(u,n);return null==f?"!="===t:t?(f+="","="===t?f===i:"!="===t?f!==i:"^="===t?i&&0===f.indexOf(i):"*="===t?i&&f.indexOf(i)>-1:"$="===t?i&&f.slice(-i.length)===i:"~="===t?(" "+f.replace(tr," ")+" ").indexOf(i)>-1:"|="===t?f===i||f.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(n,t,i,r,u){var s="nth"!==n.slice(0,3),o="last"!==n.slice(-4),e="of-type"===t;return 1===r&&0===u?function(n){return!!n.parentNode}:function(t,i,h){var v,k,c,l,y,w,b=s!==o?"nextSibling":"previousSibling",p=t.parentNode,g=e&&t.nodeName.toLowerCase(),d=!h&&!e;if(p){if(s){while(b){for(c=t;c=c[b];)if(e?c.nodeName.toLowerCase()===g:1===c.nodeType)return!1;w=b="only"===n&&!w&&"nextSibling"}return!0}if(w=[o?p.firstChild:p.lastChild],o&&d){for(k=p[f]||(p[f]={}),v=k[n]||[],y=v[0]===a&&v[1],l=v[0]===a&&v[2],c=y&&p.childNodes[y];c=++y&&c&&c[b]||(l=y=0)||w.pop();)if(1===c.nodeType&&++l&&c===t){k[n]=[a,y,l];break}}else if(d&&(v=(t[f]||(t[f]={}))[n])&&v[0]===a)l=v[1];else while(c=++y&&c&&c[b]||(l=y=0)||w.pop())if((e?c.nodeName.toLowerCase()===g:1===c.nodeType)&&++l&&(d&&((c[f]||(c[f]={}))[n]=[a,l]),c===t))break;return l-=u,l===r||l%r==0&&l/r>=0}}},PSEUDO:function(n,i){var e,u=t.pseudos[n]||t.setFilters[n.toLowerCase()]||r.error("unsupported pseudo: "+n);return u[f]?u(i):u.length>1?(e=[n,n,"",i],t.setFilters.hasOwnProperty(n.toLowerCase())?c(function(n,t){for(var r,f=u(n,i),e=f.length;e--;)r=nt(n,f[e]),n[r]=!(t[r]=f[e])}):function(n){return u(n,0,e)}):u}},pseudos:{not:c(function(n){var t=[],r=[],i=pt(n.replace(lt,"$1"));return i[f]?c(function(n,t,r,u){for(var e,o=i(n,null,u,[]),f=n.length;f--;)(e=o[f])&&(n[f]=!(t[f]=e))}):function(n,u,f){return t[0]=n,i(t,null,f,r),t[0]=null,!r.pop()}}),has:c(function(n){return function(t){return r(n,t).length>0}}),contains:c(function(n){return n=n.replace(y,p),function(t){return(t.textContent||t.innerText||st(t)).indexOf(n)>-1}}),lang:c(function(n){return er.test(n||"")||r.error("unsupported lang: "+n),n=n.replace(y,p).toLowerCase(),function(t){var i;do if(i=l?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return i=i.toLowerCase(),i===n||0===i.indexOf(n+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var i=n.location&&n.location.hash;return i&&i.slice(1)===t.id},root:function(n){return n===s},focus:function(n){return n===o.activeElement&&(!o.hasFocus||o.hasFocus())&&!!(n.type||n.href||~n.tabIndex)},enabled:function(n){return n.disabled===!1},disabled:function(n){return n.disabled===!0},checked:function(n){var t=n.nodeName.toLowerCase();return"input"===t&&!!n.checked||"option"===t&&!!n.selected},selected:function(n){return n.parentNode&&n.parentNode.selectedIndex,n.selected===!0},empty:function(n){for(n=n.firstChild;n;n=n.nextSibling)if(n.nodeType<6)return!1;return!0},parent:function(n){return!t.pseudos.empty(n)},header:function(n){return sr.test(n.nodeName)},input:function(n){return or.test(n.nodeName)},button:function(n){var t=n.nodeName.toLowerCase();return"input"===t&&"button"===n.type||"button"===t},text:function(n){var t;return"input"===n.nodeName.toLowerCase()&&"text"===n.type&&(null==(t=n.getAttribute("type"))||"text"===t.toLowerCase())},first:tt(function(){return[0]}),last:tt(function(n,t){return[t-1]}),eq:tt(function(n,t,i){return[0>i?i+t:i]}),even:tt(function(n,t){for(var i=0;t>i;i+=2)n.push(i);return n}),odd:tt(function(n,t){for(var i=1;t>i;i+=2)n.push(i);return n}),lt:tt(function(n,t,i){for(var r=0>i?i+t:i;--r>=0;)n.push(r);return n}),gt:tt(function(n,t,i){for(var r=0>i?i+t:i;++r<t;)n.push(r);return n})}};t.pseudos.nth=t.pseudos.eq;for(it in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[it]=lr(it);for(it in{submit:!0,reset:!0})t.pseudos[it]=ar(it);return bi.prototype=t.filters=t.pseudos,t.setFilters=new bi,ft=r.tokenize=function(n,i){var e,f,s,o,u,h,c,l=hi[n+" "];if(l)return i?0:l.slice(0);for(u=n,h=[],c=t.preFilter;u;){(!e||(f=ir.exec(u)))&&(f&&(u=u.slice(f[0].length)||u),h.push(s=[]));e=!1;(f=rr.exec(u))&&(e=f.shift(),s.push({value:e,type:f[0].replace(lt," ")}),u=u.slice(e.length));for(o in t.filter)(f=at[o].exec(u))&&(!c[o]||(f=c[o](f)))&&(e=f.shift(),s.push({value:e,type:o,matches:f}),u=u.slice(e.length));if(!e)break}return i?u.length:u?r.error(n):hi(n,h).slice(0)},pt=r.compile=function(n,t){var r,u=[],e=[],i=ci[n+" "];if(!i){for(t||(t=ft(n)),r=t.length;r--;)i=fi(t[r]),i[f]?u.push(i):e.push(i);i=ci(n,yr(e,u));i.selector=n}return i},oi=r.select=function(n,i,r,f){var s,e,o,a,v,c="function"==typeof n&&n,h=!f&&ft(n=c.selector||n);if(r=r||[],1===h.length){if(e=h[0]=h[0].slice(0),e.length>2&&"ID"===(o=e[0]).type&&u.getById&&9===i.nodeType&&l&&t.relative[e[1].type]){if(i=(t.find.ID(o.matches[0].replace(y,p),i)||[])[0],!i)return r;c&&(i=i.parentNode);n=n.slice(e.shift().value.length)}for(s=at.needsContext.test(n)?0:e.length;s--;){if(o=e[s],t.relative[a=o.type])break;if((v=t.find[a])&&(f=v(o.matches[0].replace(y,p),dt.test(e[0].type)&&ti(i.parentNode)||i))){if(e.splice(s,1),n=f.length&&vt(e),!n)return b.apply(r,f),r;break}}}return(c||pt(n,h))(f,i,!l,r,dt.test(n)&&ti(i.parentNode)||i),r},u.sortStable=f.split("").sort(wt).join("")===f,u.detectDuplicates=!!rt,k(),u.sortDetached=v(function(n){return 1&n.compareDocumentPosition(o.createElement("div"))}),v(function(n){return n.innerHTML="<a href='#'><\/a>","#"===n.firstChild.getAttribute("href")})||ni("type|href|height|width",function(n,t,i){if(!i)return n.getAttribute(t,"type"===t.toLowerCase()?1:2)}),u.attributes&&v(function(n){return n.innerHTML="<input/>",n.firstChild.setAttribute("value",""),""===n.firstChild.getAttribute("value")})||ni("value",function(n,t,i){if(!i&&"input"===n.nodeName.toLowerCase())return n.defaultValue}),v(function(n){return null==n.getAttribute("disabled")})||ni(bt,function(n,t,i){var r;if(!i)return n[t]===!0?t.toLowerCase():(r=n.getAttributeNode(t))&&r.specified?r.value:null}),r}(n);i.find=y;i.expr=y.selectors;i.expr[":"]=i.expr.pseudos;i.unique=y.uniqueSort;i.text=y.getText;i.isXMLDoc=y.isXML;i.contains=y.contains;var di=i.expr.match.needsContext,gi=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ef=/^.[^:#\[\.,]*$/;i.filter=function(n,t,r){var u=t[0];return r&&(n=":not("+n+")"),1===t.length&&1===u.nodeType?i.find.matchesSelector(u,n)?[u]:[]:i.find.matches(n,i.grep(t,function(n){return 1===n.nodeType}))};i.fn.extend({find:function(n){var t,u=this.length,r=[],f=this;if("string"!=typeof n)return this.pushStack(i(n).filter(function(){for(t=0;u>t;t++)if(i.contains(f[t],this))return!0}));for(t=0;u>t;t++)i.find(n,f[t],r);return r=this.pushStack(u>1?i.unique(r):r),r.selector=this.selector?this.selector+" "+n:n,r},filter:function(n){return this.pushStack(ui(this,n||[],!1))},not:function(n){return this.pushStack(ui(this,n||[],!0))},is:function(n){return!!ui(this,"string"==typeof n&&di.test(n)?i(n):n||[],!1).length}});nr=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;tr=i.fn.init=function(n,t){var r,f;if(!n)return this;if("string"==typeof n){if(r="<"===n[0]&&">"===n[n.length-1]&&n.length>=3?[null,n,null]:nr.exec(n),!r||!r[1]&&t)return!t||t.jquery?(t||ot).find(n):this.constructor(t).find(n);if(r[1]){if(t=t instanceof i?t[0]:t,i.merge(this,i.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:u,!0)),gi.test(r[1])&&i.isPlainObject(t))for(r in t)i.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return f=u.getElementById(r[2]),f&&f.parentNode&&(this.length=1,this[0]=f),this.context=u,this.selector=n,this}return n.nodeType?(this.context=this[0]=n,this.length=1,this):i.isFunction(n)?"undefined"!=typeof ot.ready?ot.ready(n):n(i):(void 0!==n.selector&&(this.selector=n.selector,this.context=n.context),i.makeArray(n,this))};tr.prototype=i.fn;ot=i(u);ir=/^(?:parents|prev(?:Until|All))/;rr={children:!0,contents:!0,next:!0,prev:!0};i.extend({dir:function(n,t,r){for(var u=[],f=void 0!==r;(n=n[t])&&9!==n.nodeType;)if(1===n.nodeType){if(f&&i(n).is(r))break;u.push(n)}return u},sibling:function(n,t){for(var i=[];n;n=n.nextSibling)1===n.nodeType&&n!==t&&i.push(n);return i}});i.fn.extend({has:function(n){var t=i(n,this),r=t.length;return this.filter(function(){for(var n=0;r>n;n++)if(i.contains(this,t[n]))return!0})},closest:function(n,t){for(var r,f=0,o=this.length,u=[],e=di.test(n)||"string"!=typeof n?i(n,t||this.context):0;o>f;f++)for(r=this[f];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(e?e.index(r)>-1:1===r.nodeType&&i.find.matchesSelector(r,n))){u.push(r);break}return this.pushStack(u.length>1?i.unique(u):u)},index:function(n){return n?"string"==typeof n?ft.call(i(n),this[0]):ft.call(this,n.jquery?n[0]:n):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(n,t){return this.pushStack(i.unique(i.merge(this.get(),i(n,t))))},addBack:function(n){return this.add(null==n?this.prevObject:this.prevObject.filter(n))}});i.each({parent:function(n){var t=n.parentNode;return t&&11!==t.nodeType?t:null},parents:function(n){return i.dir(n,"parentNode")},parentsUntil:function(n,t,r){return i.dir(n,"parentNode",r)},next:function(n){return ur(n,"nextSibling")},prev:function(n){return ur(n,"previousSibling")},nextAll:function(n){return i.dir(n,"nextSibling")},prevAll:function(n){return i.dir(n,"previousSibling")},nextUntil:function(n,t,r){return i.dir(n,"nextSibling",r)},prevUntil:function(n,t,r){return i.dir(n,"previousSibling",r)},siblings:function(n){return i.sibling((n.parentNode||{}).firstChild,n)},children:function(n){return i.sibling(n.firstChild)},contents:function(n){return n.contentDocument||i.merge([],n.childNodes)}},function(n,t){i.fn[n]=function(r,u){var f=i.map(this,t,r);return"Until"!==n.slice(-5)&&(u=r),u&&"string"==typeof u&&(f=i.filter(u,f)),this.length>1&&(rr[n]||i.unique(f),ir.test(n)&&f.reverse()),this.pushStack(f)}});c=/\S+/g;fi={};i.Callbacks=function(n){n="string"==typeof n?fi[n]||of(n):i.extend({},n);var u,h,o,c,f,e,t=[],r=!n.once&&[],l=function(i){for(u=n.memory&&i,h=!0,e=c||0,c=0,f=t.length,o=!0;t&&f>e;e++)if(t[e].apply(i[0],i[1])===!1&&n.stopOnFalse){u=!1;break}o=!1;t&&(r?r.length&&l(r.shift()):u?t=[]:s.disable())},s={add:function(){if(t){var r=t.length;!function e(r){i.each(r,function(r,u){var f=i.type(u);"function"===f?n.unique&&s.has(u)||t.push(u):u&&u.length&&"string"!==f&&e(u)})}(arguments);o?f=t.length:u&&(c=r,l(u))}return this},remove:function(){return t&&i.each(arguments,function(n,r){for(var u;(u=i.inArray(r,t,u))>-1;)t.splice(u,1),o&&(f>=u&&f--,e>=u&&e--)}),this},has:function(n){return n?i.inArray(n,t)>-1:!(!t||!t.length)},empty:function(){return t=[],f=0,this},disable:function(){return t=r=u=void 0,this},disabled:function(){return!t},lock:function(){return r=void 0,u||s.disable(),this},locked:function(){return!r},fireWith:function(n,i){return!t||h&&!r||(i=i||[],i=[n,i.slice?i.slice():i],o?r.push(i):l(i)),this},fire:function(){return s.fireWith(this,arguments),this},fired:function(){return!!h}};return s};i.extend({Deferred:function(n){var u=[["resolve","done",i.Callbacks("once memory"),"resolved"],["reject","fail",i.Callbacks("once memory"),"rejected"],["notify","progress",i.Callbacks("memory")]],f="pending",r={state:function(){return f},always:function(){return t.done(arguments).fail(arguments),this},then:function(){var n=arguments;return i.Deferred(function(f){i.each(u,function(u,e){var o=i.isFunction(n[u])&&n[u];t[e[1]](function(){var n=o&&o.apply(this,arguments);n&&i.isFunction(n.promise)?n.promise().done(f.resolve).fail(f.reject).progress(f.notify):f[e[0]+"With"](this===r?f.promise():this,o?[n]:arguments)})});n=null}).promise()},promise:function(n){return null!=n?i.extend(n,r):r}},t={};return r.pipe=r.then,i.each(u,function(n,i){var e=i[2],o=i[3];r[i[1]]=e.add;o&&e.add(function(){f=o},u[1^n][2].disable,u[2][2].lock);t[i[0]]=function(){return t[i[0]+"With"](this===t?r:this,arguments),this};t[i[0]+"With"]=e.fireWith}),r.promise(t),n&&n.call(t,t),t},when:function(n){var t=0,u=a.call(arguments),r=u.length,e=1!==r||n&&i.isFunction(n.promise)?r:0,f=1===e?n:i.Deferred(),h=function(n,t,i){return function(r){t[n]=this;i[n]=arguments.length>1?a.call(arguments):r;i===o?f.notifyWith(t,i):--e||f.resolveWith(t,i)}},o,c,s;if(r>1)for(o=new Array(r),c=new Array(r),s=new Array(r);r>t;t++)u[t]&&i.isFunction(u[t].promise)?u[t].promise().done(h(t,s,u)).fail(f.reject).progress(h(t,c,o)):--e;return e||f.resolveWith(s,u),f.promise()}});i.fn.ready=function(n){return i.ready.promise().done(n),this};i.extend({isReady:!1,readyWait:1,holdReady:function(n){n?i.readyWait++:i.ready(!0)},ready:function(n){(n===!0?--i.readyWait:i.isReady)||(i.isReady=!0,n!==!0&&--i.readyWait>0||(st.resolveWith(u,[i]),i.fn.triggerHandler&&(i(u).triggerHandler("ready"),i(u).off("ready"))))}});i.ready.promise=function(t){return st||(st=i.Deferred(),"complete"===u.readyState?setTimeout(i.ready):(u.addEventListener("DOMContentLoaded",ht,!1),n.addEventListener("load",ht,!1))),st.promise(t)};i.ready.promise();l=i.access=function(n,t,r,u,f,e,o){var s=0,c=n.length,h=null==r;if("object"===i.type(r)){f=!0;for(s in r)i.access(n,t,s,r[s],!0,e,o)}else if(void 0!==u&&(f=!0,i.isFunction(u)||(o=!0),h&&(o?(t.call(n,u),t=null):(h=t,t=function(n,t,r){return h.call(i(n),r)})),t))for(;c>s;s++)t(n[s],r,o?u:u.call(n[s],s,t(n[s],r)));return f?n:h?t.call(n):c?t(n[0],r):e};i.acceptData=function(n){return 1===n.nodeType||9===n.nodeType||!+n.nodeType};v.uid=1;v.accepts=i.acceptData;v.prototype={key:function(n){if(!v.accepts(n))return 0;var r={},t=n[this.expando];if(!t){t=v.uid++;try{r[this.expando]={value:t};Object.defineProperties(n,r)}catch(u){r[this.expando]=t;i.extend(n,r)}}return this.cache[t]||(this.cache[t]={}),t},set:function(n,t,r){var f,e=this.key(n),u=this.cache[e];if("string"==typeof t)u[t]=r;else if(i.isEmptyObject(u))i.extend(this.cache[e],t);else for(f in t)u[f]=t[f];return u},get:function(n,t){var i=this.cache[this.key(n)];return void 0===t?i:i[t]},access:function(n,t,r){var u;return void 0===t||t&&"string"==typeof t&&void 0===r?(u=this.get(n,t),void 0!==u?u:this.get(n,i.camelCase(t))):(this.set(n,t,r),void 0!==r?r:t)},remove:function(n,t){var u,r,f,o=this.key(n),e=this.cache[o];if(void 0===t)this.cache[o]={};else for(i.isArray(t)?r=t.concat(t.map(i.camelCase)):(f=i.camelCase(t),(t in e)?r=[t,f]:(r=f,r=(r in e)?[r]:r.match(c)||[])),u=r.length;u--;)delete e[r[u]]},hasData:function(n){return!i.isEmptyObject(this.cache[n[this.expando]]||{})},discard:function(n){n[this.expando]&&delete this.cache[n[this.expando]]}};var r=new v,e=new v,sf=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,hf=/([A-Z])/g;i.extend({hasData:function(n){return e.hasData(n)||r.hasData(n)},data:function(n,t,i){return e.access(n,t,i)},removeData:function(n,t){e.remove(n,t)},_data:function(n,t,i){return r.access(n,t,i)},_removeData:function(n,t){r.remove(n,t)}});i.fn.extend({data:function(n,t){var o,f,s,u=this[0],h=u&&u.attributes;if(void 0===n){if(this.length&&(s=e.get(u),1===u.nodeType&&!r.get(u,"hasDataAttrs"))){for(o=h.length;o--;)h[o]&&(f=h[o].name,0===f.indexOf("data-")&&(f=i.camelCase(f.slice(5)),fr(u,f,s[f])));r.set(u,"hasDataAttrs",!0)}return s}return"object"==typeof n?this.each(function(){e.set(this,n)}):l(this,function(t){var r,f=i.camelCase(n);if(u&&void 0===t){if((r=e.get(u,n),void 0!==r)||(r=e.get(u,f),void 0!==r)||(r=fr(u,f,void 0),void 0!==r))return r}else this.each(function(){var i=e.get(this,f);e.set(this,f,t);-1!==n.indexOf("-")&&void 0!==i&&e.set(this,n,t)})},null,t,arguments.length>1,null,!0)},removeData:function(n){return this.each(function(){e.remove(this,n)})}});i.extend({queue:function(n,t,u){var f;if(n)return(t=(t||"fx")+"queue",f=r.get(n,t),u&&(!f||i.isArray(u)?f=r.access(n,t,i.makeArray(u)):f.push(u)),f||[])},dequeue:function(n,t){t=t||"fx";var r=i.queue(n,t),e=r.length,u=r.shift(),f=i._queueHooks(n,t),o=function(){i.dequeue(n,t)};"inprogress"===u&&(u=r.shift(),e--);u&&("fx"===t&&r.unshift("inprogress"),delete f.stop,u.call(n,o,f));!e&&f&&f.empty.fire()},_queueHooks:function(n,t){var u=t+"queueHooks";return r.get(n,u)||r.access(n,u,{empty:i.Callbacks("once memory").add(function(){r.remove(n,[t+"queue",u])})})}});i.fn.extend({queue:function(n,t){var r=2;return"string"!=typeof n&&(t=n,n="fx",r--),arguments.length<r?i.queue(this[0],n):void 0===t?this:this.each(function(){var r=i.queue(this,n,t);i._queueHooks(this,n);"fx"===n&&"inprogress"!==r[0]&&i.dequeue(this,n)})},dequeue:function(n){return this.each(function(){i.dequeue(this,n)})},clearQueue:function(n){return this.queue(n||"fx",[])},promise:function(n,t){var u,e=1,o=i.Deferred(),f=this,s=this.length,h=function(){--e||o.resolveWith(f,[f])};for("string"!=typeof n&&(t=n,n=void 0),n=n||"fx";s--;)u=r.get(f[s],n+"queueHooks"),u&&u.empty&&(e++,u.empty.add(h));return h(),o.promise(t)}});var ct=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,p=["Top","Right","Bottom","Left"],tt=function(n,t){return n=t||n,"none"===i.css(n,"display")||!i.contains(n.ownerDocument,n)},er=/^(?:checkbox|radio)$/i;!function(){var i=u.createDocumentFragment(),n=i.appendChild(u.createElement("div")),t=u.createElement("input");t.setAttribute("type","radio");t.setAttribute("checked","checked");t.setAttribute("name","t");n.appendChild(t);f.checkClone=n.cloneNode(!0).cloneNode(!0).lastChild.checked;n.innerHTML="<textarea>x<\/textarea>";f.noCloneChecked=!!n.cloneNode(!0).lastChild.defaultValue}();b="undefined";f.focusinBubbles="onfocusin"in n;var cf=/^key/,lf=/^(?:mouse|pointer|contextmenu)|click/,or=/^(?:focusinfocus|focusoutblur)$/,sr=/^([^.]*)(?:\.(.+)|)$/;i.event={global:{},add:function(n,t,u,f,e){var v,y,w,p,k,h,s,l,o,d,g,a=r.get(n);if(a)for(u.handler&&(v=u,u=v.handler,e=v.selector),u.guid||(u.guid=i.guid++),(p=a.events)||(p=a.events={}),(y=a.handle)||(y=a.handle=function(t){if(typeof i!==b&&i.event.triggered!==t.type)return i.event.dispatch.apply(n,arguments)}),t=(t||"").match(c)||[""],k=t.length;k--;)w=sr.exec(t[k])||[],o=g=w[1],d=(w[2]||"").split(".").sort(),o&&(s=i.event.special[o]||{},o=(e?s.delegateType:s.bindType)||o,s=i.event.special[o]||{},h=i.extend({type:o,origType:g,data:f,handler:u,guid:u.guid,selector:e,needsContext:e&&i.expr.match.needsContext.test(e),namespace:d.join(".")},v),(l=p[o])||(l=p[o]=[],l.delegateCount=0,s.setup&&s.setup.call(n,f,d,y)!==!1||n.addEventListener&&n.addEventListener(o,y,!1)),s.add&&(s.add.call(n,h),h.handler.guid||(h.handler.guid=u.guid)),e?l.splice(l.delegateCount++,0,h):l.push(h),i.event.global[o]=!0)},remove:function(n,t,u,f,e){var p,k,h,v,w,s,l,a,o,b,d,y=r.hasData(n)&&r.get(n);if(y&&(v=y.events)){for(t=(t||"").match(c)||[""],w=t.length;w--;)if(h=sr.exec(t[w])||[],o=d=h[1],b=(h[2]||"").split(".").sort(),o){for(l=i.event.special[o]||{},o=(f?l.delegateType:l.bindType)||o,a=v[o]||[],h=h[2]&&new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"),k=p=a.length;p--;)s=a[p],!e&&d!==s.origType||u&&u.guid!==s.guid||h&&!h.test(s.namespace)||f&&f!==s.selector&&("**"!==f||!s.selector)||(a.splice(p,1),s.selector&&a.delegateCount--,l.remove&&l.remove.call(n,s));k&&!a.length&&(l.teardown&&l.teardown.call(n,b,y.handle)!==!1||i.removeEvent(n,o,y.handle),delete v[o])}else for(o in v)i.event.remove(n,o+t[w],u,f,!0);i.isEmptyObject(v)&&(delete y.handle,r.remove(n,"events"))}},trigger:function(t,f,e,o){var w,s,c,b,a,v,l,p=[e||u],h=ii.call(t,"type")?t.type:t,y=ii.call(t,"namespace")?t.namespace.split("."):[];if(s=c=e=e||u,3!==e.nodeType&&8!==e.nodeType&&!or.test(h+i.event.triggered)&&(h.indexOf(".")>=0&&(y=h.split("."),h=y.shift(),y.sort()),a=h.indexOf(":")<0&&"on"+h,t=t[i.expando]?t:new i.Event(h,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=y.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=e),f=null==f?[t]:i.makeArray(f,[t]),l=i.event.special[h]||{},o||!l.trigger||l.trigger.apply(e,f)!==!1)){if(!o&&!l.noBubble&&!i.isWindow(e)){for(b=l.delegateType||h,or.test(b+h)||(s=s.parentNode);s;s=s.parentNode)p.push(s),c=s;c===(e.ownerDocument||u)&&p.push(c.defaultView||c.parentWindow||n)}for(w=0;(s=p[w++])&&!t.isPropagationStopped();)t.type=w>1?b:l.bindType||h,v=(r.get(s,"events")||{})[t.type]&&r.get(s,"handle"),v&&v.apply(s,f),v=a&&s[a],v&&v.apply&&i.acceptData(s)&&(t.result=v.apply(s,f),t.result===!1&&t.preventDefault());return t.type=h,o||t.isDefaultPrevented()||l._default&&l._default.apply(p.pop(),f)!==!1||!i.acceptData(e)||a&&i.isFunction(e[h])&&!i.isWindow(e)&&(c=e[a],c&&(e[a]=null),i.event.triggered=h,e[h](),i.event.triggered=void 0,c&&(e[a]=c)),t.result}},dispatch:function(n){n=i.event.fix(n);var o,s,e,u,t,h=[],c=a.call(arguments),l=(r.get(this,"events")||{})[n.type]||[],f=i.event.special[n.type]||{};if(c[0]=n,n.delegateTarget=this,!f.preDispatch||f.preDispatch.call(this,n)!==!1){for(h=i.event.handlers.call(this,n,l),o=0;(u=h[o++])&&!n.isPropagationStopped();)for(n.currentTarget=u.elem,s=0;(t=u.handlers[s++])&&!n.isImmediatePropagationStopped();)(!n.namespace_re||n.namespace_re.test(t.namespace))&&(n.handleObj=t,n.data=t.data,e=((i.event.special[t.origType]||{}).handle||t.handler).apply(u.elem,c),void 0!==e&&(n.result=e)===!1&&(n.preventDefault(),n.stopPropagation()));return f.postDispatch&&f.postDispatch.call(this,n),n.result}},handlers:function(n,t){var e,u,f,o,h=[],s=t.delegateCount,r=n.target;if(s&&r.nodeType&&(!n.button||"click"!==n.type))for(;r!==this;r=r.parentNode||this)if(r.disabled!==!0||"click"!==n.type){for(u=[],e=0;s>e;e++)o=t[e],f=o.selector+" ",void 0===u[f]&&(u[f]=o.needsContext?i(f,this).index(r)>=0:i.find(f,this,null,[r]).length),u[f]&&u.push(o);u.length&&h.push({elem:r,handlers:u})}return s<t.length&&h.push({elem:this,handlers:t.slice(s)}),h},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(n,t){return null==n.which&&(n.which=null!=t.charCode?t.charCode:t.keyCode),n}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(n,t){var e,i,r,f=t.button;return null==n.pageX&&null!=t.clientX&&(e=n.target.ownerDocument||u,i=e.documentElement,r=e.body,n.pageX=t.clientX+(i&&i.scrollLeft||r&&r.scrollLeft||0)-(i&&i.clientLeft||r&&r.clientLeft||0),n.pageY=t.clientY+(i&&i.scrollTop||r&&r.scrollTop||0)-(i&&i.clientTop||r&&r.clientTop||0)),n.which||void 0===f||(n.which=1&f?1:2&f?3:4&f?2:0),n}},fix:function(n){if(n[i.expando])return n;var f,e,o,r=n.type,s=n,t=this.fixHooks[r];for(t||(this.fixHooks[r]=t=lf.test(r)?this.mouseHooks:cf.test(r)?this.keyHooks:{}),o=t.props?this.props.concat(t.props):this.props,n=new i.Event(s),f=o.length;f--;)e=o[f],n[e]=s[e];return n.target||(n.target=u),3===n.target.nodeType&&(n.target=n.target.parentNode),t.filter?t.filter(n,s):n},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==hr()&&this.focus)return(this.focus(),!1)},delegateType:"focusin"},blur:{trigger:function(){if(this===hr()&&this.blur)return(this.blur(),!1)},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&i.nodeName(this,"input"))return(this.click(),!1)},_default:function(n){return i.nodeName(n.target,"a")}},beforeunload:{postDispatch:function(n){void 0!==n.result&&n.originalEvent&&(n.originalEvent.returnValue=n.result)}}},simulate:function(n,t,r,u){var f=i.extend(new i.Event,r,{type:n,isSimulated:!0,originalEvent:{}});u?i.event.trigger(f,null,t):i.event.dispatch.call(t,f);f.isDefaultPrevented()&&r.preventDefault()}};i.removeEvent=function(n,t,i){n.removeEventListener&&n.removeEventListener(t,i,!1)};i.Event=function(n,t){return this instanceof i.Event?(n&&n.type?(this.originalEvent=n,this.type=n.type,this.isDefaultPrevented=n.defaultPrevented||void 0===n.defaultPrevented&&n.returnValue===!1?lt:k):this.type=n,t&&i.extend(this,t),this.timeStamp=n&&n.timeStamp||i.now(),void(this[i.expando]=!0)):new i.Event(n,t)};i.Event.prototype={isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k,preventDefault:function(){var n=this.originalEvent;this.isDefaultPrevented=lt;n&&n.preventDefault&&n.preventDefault()},stopPropagation:function(){var n=this.originalEvent;this.isPropagationStopped=lt;n&&n.stopPropagation&&n.stopPropagation()},stopImmediatePropagation:function(){var n=this.originalEvent;this.isImmediatePropagationStopped=lt;n&&n.stopImmediatePropagation&&n.stopImmediatePropagation();this.stopPropagation()}};i.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(n,t){i.event.special[n]={delegateType:t,bindType:t,handle:function(n){var u,f=this,r=n.relatedTarget,e=n.handleObj;return(!r||r!==f&&!i.contains(f,r))&&(n.type=e.origType,u=e.handler.apply(this,arguments),n.type=t),u}}});f.focusinBubbles||i.each({focus:"focusin",blur:"focusout"},function(n,t){var u=function(n){i.event.simulate(t,n.target,i.event.fix(n),!0)};i.event.special[t]={setup:function(){var i=this.ownerDocument||this,f=r.access(i,t);f||i.addEventListener(n,u,!0);r.access(i,t,(f||0)+1)},teardown:function(){var i=this.ownerDocument||this,f=r.access(i,t)-1;f?r.access(i,t,f):(i.removeEventListener(n,u,!0),r.remove(i,t))}}});i.fn.extend({on:function(n,t,r,u,f){var e,o;if("object"==typeof n){"string"!=typeof t&&(r=r||t,t=void 0);for(o in n)this.on(o,t,r,n[o],f);return this}if(null==r&&null==u?(u=t,r=t=void 0):null==u&&("string"==typeof t?(u=r,r=void 0):(u=r,r=t,t=void 0)),u===!1)u=k;else if(!u)return this;return 1===f&&(e=u,u=function(n){return i().off(n),e.apply(this,arguments)},u.guid=e.guid||(e.guid=i.guid++)),this.each(function(){i.event.add(this,n,u,r,t)})},one:function(n,t,i,r){return this.on(n,t,i,r,1)},off:function(n,t,r){var u,f;if(n&&n.preventDefault&&n.handleObj)return u=n.handleObj,i(n.delegateTarget).off(u.namespace?u.origType+"."+u.namespace:u.origType,u.selector,u.handler),this;if("object"==typeof n){for(f in n)this.off(f,t,n[f]);return this}return(t===!1||"function"==typeof t)&&(r=t,t=void 0),r===!1&&(r=k),this.each(function(){i.event.remove(this,n,r,t)})},trigger:function(n,t){return this.each(function(){i.event.trigger(n,t,this)})},triggerHandler:function(n,t){var r=this[0];if(r)return i.event.trigger(n,t,r,!0)}});var cr=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,lr=/<([\w:]+)/,af=/<|&#?\w+;/,vf=/<(?:script|style|link)/i,yf=/checked\s*(?:[^=]|=\s*.checked.)/i,ar=/^$|\/(?:java|ecma)script/i,pf=/^true\/(.*)/,wf=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,h={option:[1,"<select multiple='multiple'>","<\/select>"],thead:[1,"<table>","<\/table>"],col:[2,"<table><colgroup>","<\/colgroup><\/table>"],tr:[2,"<table><tbody>","<\/tbody><\/table>"],td:[3,"<table><tbody><tr>","<\/tr><\/tbody><\/table>"],_default:[0,"",""]};h.optgroup=h.option;h.tbody=h.tfoot=h.colgroup=h.caption=h.thead;h.th=h.td;i.extend({clone:function(n,t,r){var u,c,s,e,h=n.cloneNode(!0),l=i.contains(n.ownerDocument,n);if(!(f.noCloneChecked||1!==n.nodeType&&11!==n.nodeType||i.isXMLDoc(n)))for(e=o(h),s=o(n),u=0,c=s.length;c>u;u++)df(s[u],e[u]);if(t)if(r)for(s=s||o(n),e=e||o(h),u=0,c=s.length;c>u;u++)yr(s[u],e[u]);else yr(n,h);return e=o(h,"script"),e.length>0&&ei(e,!l&&o(n,"script")),h},buildFragment:function(n,t,r,u){for(var f,e,y,l,p,a,s=t.createDocumentFragment(),v=[],c=0,w=n.length;w>c;c++)if(f=n[c],f||0===f)if("object"===i.type(f))i.merge(v,f.nodeType?[f]:f);else if(af.test(f)){for(e=e||s.appendChild(t.createElement("div")),y=(lr.exec(f)||["",""])[1].toLowerCase(),l=h[y]||h._default,e.innerHTML=l[1]+f.replace(cr,"<$1><\/$2>")+l[2],a=l[0];a--;)e=e.lastChild;i.merge(v,e.childNodes);e=s.firstChild;e.textContent=""}else v.push(t.createTextNode(f));for(s.textContent="",c=0;f=v[c++];)if((!u||-1===i.inArray(f,u))&&(p=i.contains(f.ownerDocument,f),e=o(s.appendChild(f),"script"),p&&ei(e),r))for(a=0;f=e[a++];)ar.test(f.type||"")&&r.push(f);return s},cleanData:function(n){for(var f,t,o,u,h=i.event.special,s=0;void 0!==(t=n[s]);s++){if(i.acceptData(t)&&(u=t[r.expando],u&&(f=r.cache[u]))){if(f.events)for(o in f.events)h[o]?i.event.remove(t,o):i.removeEvent(t,o,f.handle);r.cache[u]&&delete r.cache[u]}delete e.cache[t[e.expando]]}}});i.fn.extend({text:function(n){return l(this,function(n){return void 0===n?i.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=n)})},null,n,arguments.length)},append:function(){return this.domManip(arguments,function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=vr(this,n);t.appendChild(n)}})},prepend:function(){return this.domManip(arguments,function(n){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=vr(this,n);t.insertBefore(n,t.firstChild)}})},before:function(){return this.domManip(arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this)})},after:function(){return this.domManip(arguments,function(n){this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling)})},remove:function(n,t){for(var r,f=n?i.filter(n,this):this,u=0;null!=(r=f[u]);u++)t||1!==r.nodeType||i.cleanData(o(r)),r.parentNode&&(t&&i.contains(r.ownerDocument,r)&&ei(o(r,"script")),r.parentNode.removeChild(r));return this},empty:function(){for(var n,t=0;null!=(n=this[t]);t++)1===n.nodeType&&(i.cleanData(o(n,!1)),n.textContent="");return this},clone:function(n,t){return n=null==n?!1:n,t=null==t?n:t,this.map(function(){return i.clone(this,n,t)})},html:function(n){return l(this,function(n){var t=this[0]||{},r=0,u=this.length;if(void 0===n&&1===t.nodeType)return t.innerHTML;if("string"==typeof n&&!vf.test(n)&&!h[(lr.exec(n)||["",""])[1].toLowerCase()]){n=n.replace(cr,"<$1><\/$2>");try{for(;u>r;r++)t=this[r]||{},1===t.nodeType&&(i.cleanData(o(t,!1)),t.innerHTML=n);t=0}catch(f){}}t&&this.empty().append(n)},null,n,arguments.length)},replaceWith:function(){var n=arguments[0];return this.domManip(arguments,function(t){n=this.parentNode;i.cleanData(o(this));n&&n.replaceChild(t,this)}),n&&(n.length||n.nodeType)?this:this.remove()},detach:function(n){return this.remove(n,!0)},domManip:function(n,t){n=bi.apply([],n);var h,v,s,c,u,y,e=0,l=this.length,w=this,b=l-1,a=n[0],p=i.isFunction(a);if(p||l>1&&"string"==typeof a&&!f.checkClone&&yf.test(a))return this.each(function(i){var r=w.eq(i);p&&(n[0]=a.call(this,i,r.html()));r.domManip(n,t)});if(l&&(h=i.buildFragment(n,this[0].ownerDocument,!1,this),v=h.firstChild,1===h.childNodes.length&&(h=v),v)){for(s=i.map(o(h,"script"),bf),c=s.length;l>e;e++)u=h,e!==b&&(u=i.clone(u,!0,!0),c&&i.merge(s,o(u,"script"))),t.call(this[e],u,e);if(c)for(y=s[s.length-1].ownerDocument,i.map(s,kf),e=0;c>e;e++)u=s[e],ar.test(u.type||"")&&!r.access(u,"globalEval")&&i.contains(y,u)&&(u.src?i._evalUrl&&i._evalUrl(u.src):i.globalEval(u.textContent.replace(wf,"")))}return this}});i.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(n,t){i.fn[n]=function(n){for(var u,f=[],e=i(n),o=e.length-1,r=0;o>=r;r++)u=r===o?this:this.clone(!0),i(e[r])[t](u),ti.apply(f,u.get());return this.pushStack(f)}});oi={};var wr=/^margin/,hi=new RegExp("^("+ct+")(?!px)[a-z%]+$","i"),vt=function(t){return t.ownerDocument.defaultView.opener?t.ownerDocument.defaultView.getComputedStyle(t,null):n.getComputedStyle(t,null)};!function(){var s,o,e=u.documentElement,r=u.createElement("div"),t=u.createElement("div");if(t.style){t.style.backgroundClip="content-box";t.cloneNode(!0).style.backgroundClip="";f.clearCloneStyle="content-box"===t.style.backgroundClip;r.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute";r.appendChild(t);function h(){t.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";t.innerHTML="";e.appendChild(r);var i=n.getComputedStyle(t,null);s="1%"!==i.top;o="4px"===i.width;e.removeChild(r)}n.getComputedStyle&&i.extend(f,{pixelPosition:function(){return h(),s},boxSizingReliable:function(){return null==o&&h(),o},reliableMarginRight:function(){var f,i=t.appendChild(u.createElement("div"));return i.style.cssText=t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",i.style.marginRight=i.style.width="0",t.style.width="1px",e.appendChild(r),f=!parseFloat(n.getComputedStyle(i,null).marginRight),e.removeChild(r),t.removeChild(i),f}})}}();i.swap=function(n,t,i,r){var f,u,e={};for(u in t)e[u]=n.style[u],n.style[u]=t[u];f=i.apply(n,r||[]);for(u in t)n.style[u]=e[u];return f};var gf=/^(none|table(?!-c[ea]).+)/,ne=new RegExp("^("+ct+")(.*)$","i"),te=new RegExp("^([+-])=("+ct+")","i"),ie={position:"absolute",visibility:"hidden",display:"block"},kr={letterSpacing:"0",fontWeight:"400"},dr=["Webkit","O","Moz","ms"];i.extend({cssHooks:{opacity:{get:function(n,t){if(t){var i=it(n,"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:"cssFloat"},style:function(n,t,r,u){if(n&&3!==n.nodeType&&8!==n.nodeType&&n.style){var o,h,e,s=i.camelCase(t),c=n.style;return t=i.cssProps[s]||(i.cssProps[s]=gr(c,s)),e=i.cssHooks[t]||i.cssHooks[s],void 0===r?e&&"get"in e&&void 0!==(o=e.get(n,!1,u))?o:c[t]:(h=typeof r,"string"===h&&(o=te.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(i.css(n,t)),h="number"),null!=r&&r===r&&("number"!==h||i.cssNumber[s]||(r+="px"),f.clearCloneStyle||""!==r||0!==t.indexOf("background")||(c[t]="inherit"),e&&"set"in e&&void 0===(r=e.set(n,r,u))||(c[t]=r)),void 0)}},css:function(n,t,r,u){var f,s,e,o=i.camelCase(t);return t=i.cssProps[o]||(i.cssProps[o]=gr(n.style,o)),e=i.cssHooks[t]||i.cssHooks[o],e&&"get"in e&&(f=e.get(n,!0,r)),void 0===f&&(f=it(n,t,u)),"normal"===f&&t in kr&&(f=kr[t]),""===r||r?(s=parseFloat(f),r===!0||i.isNumeric(s)?s||0:f):f}});i.each(["height","width"],function(n,t){i.cssHooks[t]={get:function(n,r,u){if(r)return gf.test(i.css(n,"display"))&&0===n.offsetWidth?i.swap(n,ie,function(){return iu(n,t,u)}):iu(n,t,u)},set:function(n,r,u){var f=u&&vt(n);return nu(n,r,u?tu(n,t,u,"border-box"===i.css(n,"boxSizing",!1,f),f):0)}}});i.cssHooks.marginRight=br(f.reliableMarginRight,function(n,t){if(t)return i.swap(n,{display:"inline-block"},it,[n,"marginRight"])});i.each({margin:"",padding:"",border:"Width"},function(n,t){i.cssHooks[n+t]={expand:function(i){for(var r=0,f={},u="string"==typeof i?i.split(" "):[i];4>r;r++)f[n+p[r]+t]=u[r]||u[r-2]||u[0];return f}};wr.test(n)||(i.cssHooks[n+t].set=nu)});i.fn.extend({css:function(n,t){return l(this,function(n,t,r){var f,e,o={},u=0;if(i.isArray(t)){for(f=vt(n),e=t.length;e>u;u++)o[t[u]]=i.css(n,t[u],!1,f);return o}return void 0!==r?i.style(n,t,r):i.css(n,t)},n,t,arguments.length>1)},show:function(){return ru(this,!0)},hide:function(){return ru(this)},toggle:function(n){return"boolean"==typeof n?n?this.show():this.hide():this.each(function(){tt(this)?i(this).show():i(this).hide()})}});i.Tween=s;s.prototype={constructor:s,init:function(n,t,r,u,f,e){this.elem=n;this.prop=r;this.easing=f||"swing";this.options=t;this.start=this.now=this.cur();this.end=u;this.unit=e||(i.cssNumber[r]?"":"px")},cur:function(){var n=s.propHooks[this.prop];return n&&n.get?n.get(this):s.propHooks._default.get(this)},run:function(n){var t,r=s.propHooks[this.prop];return this.pos=this.options.duration?t=i.easing[this.easing](n,this.options.duration*n,0,1,this.options.duration):t=n,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):s.propHooks._default.set(this),this}};s.prototype.init.prototype=s.prototype;s.propHooks={_default:{get:function(n){var t;return null==n.elem[n.prop]||n.elem.style&&null!=n.elem.style[n.prop]?(t=i.css(n.elem,n.prop,""),t&&"auto"!==t?t:0):n.elem[n.prop]},set:function(n){i.fx.step[n.prop]?i.fx.step[n.prop](n):n.elem.style&&(null!=n.elem.style[i.cssProps[n.prop]]||i.cssHooks[n.prop])?i.style(n.elem,n.prop,n.now+n.unit):n.elem[n.prop]=n.now}}};s.propHooks.scrollTop=s.propHooks.scrollLeft={set:function(n){n.elem.nodeType&&n.elem.parentNode&&(n.elem[n.prop]=n.now)}};i.easing={linear:function(n){return n},swing:function(n){return.5-Math.cos(n*Math.PI)/2}};i.fx=s.prototype.init;i.fx.step={};var d,yt,re=/^(?:toggle|show|hide)$/,uu=new RegExp("^(?:([+-])=|)("+ct+")([a-z%]*)$","i"),ue=/queueHooks$/,pt=[fe],rt={"*":[function(n,t){var f=this.createTween(n,t),s=f.cur(),r=uu.exec(t),e=r&&r[3]||(i.cssNumber[n]?"":"px"),u=(i.cssNumber[n]||"px"!==e&&+s)&&uu.exec(i.css(f.elem,n)),o=1,h=20;if(u&&u[3]!==e){e=e||u[3];r=r||[];u=+s||1;do o=o||".5",u/=o,i.style(f.elem,n,u+e);while(o!==(o=f.cur()/s)&&1!==o&&--h)}return r&&(u=f.start=+u||+s||0,f.unit=e,f.end=r[1]?u+(r[1]+1)*r[2]:+r[2]),f}]};i.Animation=i.extend(ou,{tweener:function(n,t){i.isFunction(n)?(t=n,n=["*"]):n=n.split(" ");for(var r,u=0,f=n.length;f>u;u++)r=n[u],rt[r]=rt[r]||[],rt[r].unshift(t)},prefilter:function(n,t){t?pt.unshift(n):pt.push(n)}});i.speed=function(n,t,r){var u=n&&"object"==typeof n?i.extend({},n):{complete:r||!r&&t||i.isFunction(n)&&n,duration:n,easing:r&&t||t&&!i.isFunction(t)&&t};return u.duration=i.fx.off?0:"number"==typeof u.duration?u.duration:u.duration in i.fx.speeds?i.fx.speeds[u.duration]:i.fx.speeds._default,(null==u.queue||u.queue===!0)&&(u.queue="fx"),u.old=u.complete,u.complete=function(){i.isFunction(u.old)&&u.old.call(this);u.queue&&i.dequeue(this,u.queue)},u};i.fn.extend({fadeTo:function(n,t,i,r){return this.filter(tt).css("opacity",0).show().end().animate({opacity:t},n,i,r)},animate:function(n,t,u,f){var s=i.isEmptyObject(n),o=i.speed(t,u,f),e=function(){var t=ou(this,i.extend({},n),o);(s||r.get(this,"finish"))&&t.stop(!0)};return e.finish=e,s||o.queue===!1?this.each(e):this.queue(o.queue,e)},stop:function(n,t,u){var f=function(n){var t=n.stop;delete n.stop;t(u)};return"string"!=typeof n&&(u=t,t=n,n=void 0),t&&n!==!1&&this.queue(n||"fx",[]),this.each(function(){var s=!0,t=null!=n&&n+"queueHooks",o=i.timers,e=r.get(this);if(t)e[t]&&e[t].stop&&f(e[t]);else for(t in e)e[t]&&e[t].stop&&ue.test(t)&&f(e[t]);for(t=o.length;t--;)o[t].elem!==this||null!=n&&o[t].queue!==n||(o[t].anim.stop(u),s=!1,o.splice(t,1));(s||!u)&&i.dequeue(this,n)})},finish:function(n){return n!==!1&&(n=n||"fx"),this.each(function(){var t,e=r.get(this),u=e[n+"queue"],o=e[n+"queueHooks"],f=i.timers,s=u?u.length:0;for(e.finish=!0,i.queue(this,n,[]),o&&o.stop&&o.stop.call(this,!0),t=f.length;t--;)f[t].elem===this&&f[t].queue===n&&(f[t].anim.stop(!0),f.splice(t,1));for(t=0;s>t;t++)u[t]&&u[t].finish&&u[t].finish.call(this);delete e.finish})}});i.each(["toggle","show","hide"],function(n,t){var r=i.fn[t];i.fn[t]=function(n,i,u){return null==n||"boolean"==typeof n?r.apply(this,arguments):this.animate(wt(t,!0),n,i,u)}});i.each({slideDown:wt("show"),slideUp:wt("hide"),slideToggle:wt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(n,t){i.fn[n]=function(n,i,r){return this.animate(t,n,i,r)}});i.timers=[];i.fx.tick=function(){var r,n=0,t=i.timers;for(d=i.now();n<t.length;n++)r=t[n],r()||t[n]!==r||t.splice(n--,1);t.length||i.fx.stop();d=void 0};i.fx.timer=function(n){i.timers.push(n);n()?i.fx.start():i.timers.pop()};i.fx.interval=13;i.fx.start=function(){yt||(yt=setInterval(i.fx.tick,i.fx.interval))};i.fx.stop=function(){clearInterval(yt);yt=null};i.fx.speeds={slow:600,fast:200,_default:400};i.fn.delay=function(n,t){return n=i.fx?i.fx.speeds[n]||n:n,t=t||"fx",this.queue(t,function(t,i){var r=setTimeout(t,n);i.stop=function(){clearTimeout(r)}})},function(){var n=u.createElement("input"),t=u.createElement("select"),i=t.appendChild(u.createElement("option"));n.type="checkbox";f.checkOn=""!==n.value;f.optSelected=i.selected;t.disabled=!0;f.optDisabled=!i.disabled;n=u.createElement("input");n.value="t";n.type="radio";f.radioValue="t"===n.value}();g=i.expr.attrHandle;i.fn.extend({attr:function(n,t){return l(this,i.attr,n,t,arguments.length>1)},removeAttr:function(n){return this.each(function(){i.removeAttr(this,n)})}});i.extend({attr:function(n,t,r){var u,f,e=n.nodeType;if(n&&3!==e&&8!==e&&2!==e)return typeof n.getAttribute===b?i.prop(n,t,r):(1===e&&i.isXMLDoc(n)||(t=t.toLowerCase(),u=i.attrHooks[t]||(i.expr.match.bool.test(t)?su:oe)),void 0===r?u&&"get"in u&&null!==(f=u.get(n,t))?f:(f=i.find.attr(n,t),null==f?void 0:f):null!==r?u&&"set"in u&&void 0!==(f=u.set(n,r,t))?f:(n.setAttribute(t,r+""),r):void i.removeAttr(n,t))},removeAttr:function(n,t){var r,u,e=0,f=t&&t.match(c);if(f&&1===n.nodeType)while(r=f[e++])u=i.propFix[r]||r,i.expr.match.bool.test(r)&&(n[u]=!1),n.removeAttribute(r)},attrHooks:{type:{set:function(n,t){if(!f.radioValue&&"radio"===t&&i.nodeName(n,"input")){var r=n.value;return n.setAttribute("type",t),r&&(n.value=r),t}}}}});su={set:function(n,t,r){return t===!1?i.removeAttr(n,r):n.setAttribute(r,r),r}};i.each(i.expr.match.bool.source.match(/\w+/g),function(n,t){var r=g[t]||i.find.attr;g[t]=function(n,t,i){var u,f;return i||(f=g[t],g[t]=u,u=null!=r(n,t,i)?t.toLowerCase():null,g[t]=f),u}});hu=/^(?:input|select|textarea|button)$/i;i.fn.extend({prop:function(n,t){return l(this,i.prop,n,t,arguments.length>1)},removeProp:function(n){return this.each(function(){delete this[i.propFix[n]||n]})}});i.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(n,t,r){var f,u,o,e=n.nodeType;if(n&&3!==e&&8!==e&&2!==e)return o=1!==e||!i.isXMLDoc(n),o&&(t=i.propFix[t]||t,u=i.propHooks[t]),void 0!==r?u&&"set"in u&&void 0!==(f=u.set(n,r,t))?f:n[t]=r:u&&"get"in u&&null!==(f=u.get(n,t))?f:n[t]},propHooks:{tabIndex:{get:function(n){return n.hasAttribute("tabindex")||hu.test(n.nodeName)||n.href?n.tabIndex:-1}}}});f.optSelected||(i.propHooks.selected={get:function(n){var t=n.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null}});i.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){i.propFix[this.toLowerCase()]=this});bt=/[\t\r\n\f]/g;i.fn.extend({addClass:function(n){var o,t,r,u,s,f,h="string"==typeof n&&n,e=0,l=this.length;if(i.isFunction(n))return this.each(function(t){i(this).addClass(n.call(this,t,this.className))});if(h)for(o=(n||"").match(c)||[];l>e;e++)if(t=this[e],r=1===t.nodeType&&(t.className?(" "+t.className+" ").replace(bt," "):" ")){for(s=0;u=o[s++];)r.indexOf(" "+u+" ")<0&&(r+=u+" ");f=i.trim(r);t.className!==f&&(t.className=f)}return this},removeClass:function(n){var o,t,r,u,s,f,h=0===arguments.length||"string"==typeof n&&n,e=0,l=this.length;if(i.isFunction(n))return this.each(function(t){i(this).removeClass(n.call(this,t,this.className))});if(h)for(o=(n||"").match(c)||[];l>e;e++)if(t=this[e],r=1===t.nodeType&&(t.className?(" "+t.className+" ").replace(bt," "):"")){for(s=0;u=o[s++];)while(r.indexOf(" "+u+" ")>=0)r=r.replace(" "+u+" "," ");f=n?i.trim(r):"";t.className!==f&&(t.className=f)}return this},toggleClass:function(n,t){var u=typeof n;return"boolean"==typeof t&&"string"===u?t?this.addClass(n):this.removeClass(n):this.each(i.isFunction(n)?function(r){i(this).toggleClass(n.call(this,r,this.className,t),t)}:function(){if("string"===u)for(var t,e=0,f=i(this),o=n.match(c)||[];t=o[e++];)f.hasClass(t)?f.removeClass(t):f.addClass(t);else(u===b||"boolean"===u)&&(this.className&&r.set(this,"__className__",this.className),this.className=this.className||n===!1?"":r.get(this,"__className__")||"")})},hasClass:function(n){for(var i=" "+n+" ",t=0,r=this.length;r>t;t++)if(1===this[t].nodeType&&(" "+this[t].className+" ").replace(bt," ").indexOf(i)>=0)return!0;return!1}});cu=/\r/g;i.fn.extend({val:function(n){var t,r,f,u=this[0];return arguments.length?(f=i.isFunction(n),this.each(function(r){var u;1===this.nodeType&&(u=f?n.call(this,r,i(this).val()):n,null==u?u="":"number"==typeof u?u+="":i.isArray(u)&&(u=i.map(u,function(n){return null==n?"":n+""})),t=i.valHooks[this.type]||i.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,u,"value")||(this.value=u))})):u?(t=i.valHooks[u.type]||i.valHooks[u.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(r=t.get(u,"value"))?r:(r=u.value,"string"==typeof r?r.replace(cu,""):null==r?"":r)):void 0}});i.extend({valHooks:{option:{get:function(n){var t=i.find.attr(n,"value");return null!=t?t:i.trim(i.text(n))}},select:{get:function(n){for(var o,t,s=n.options,r=n.selectedIndex,u="select-one"===n.type||0>r,h=u?null:[],c=u?r+1:s.length,e=0>r?c:u?r:0;c>e;e++)if(t=s[e],!(!t.selected&&e!==r||(f.optDisabled?t.disabled:null!==t.getAttribute("disabled"))||t.parentNode.disabled&&i.nodeName(t.parentNode,"optgroup"))){if(o=i(t).val(),u)return o;h.push(o)}return h},set:function(n,t){for(var u,r,f=n.options,e=i.makeArray(t),o=f.length;o--;)r=f[o],(r.selected=i.inArray(r.value,e)>=0)&&(u=!0);return u||(n.selectedIndex=-1),e}}}});i.each(["radio","checkbox"],function(){i.valHooks[this]={set:function(n,t){if(i.isArray(t))return n.checked=i.inArray(i(n).val(),t)>=0}};f.checkOn||(i.valHooks[this].get=function(n){return null===n.getAttribute("value")?"on":n.value})});i.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(n,t){i.fn[t]=function(n,i){return arguments.length>0?this.on(t,null,n,i):this.trigger(t)}});i.fn.extend({hover:function(n,t){return this.mouseenter(n).mouseleave(t||n)},bind:function(n,t,i){return this.on(n,null,t,i)},unbind:function(n,t){return this.off(n,null,t)},delegate:function(n,t,i,r){return this.on(t,n,i,r)},undelegate:function(n,t,i){return 1===arguments.length?this.off(n,"**"):this.off(t,n||"**",i)}});kt=i.now();dt=/\?/;i.parseJSON=function(n){return JSON.parse(n+"")};i.parseXML=function(n){var t,r;if(!n||"string"!=typeof n)return null;try{r=new DOMParser;t=r.parseFromString(n,"text/xml")}catch(u){t=void 0}return(!t||t.getElementsByTagName("parsererror").length)&&i.error("Invalid XML: "+n),t};var se=/#.*$/,lu=/([?&])_=[^&]*/,he=/^(.*?):[ \t]*([^\r\n]*)$/gm,ce=/^(?:GET|HEAD)$/,le=/^\/\//,au=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,vu={},ci={},yu="*/".concat("*"),li=n.location.href,nt=au.exec(li.toLowerCase())||[];i.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:li,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(nt[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":yu,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":i.parseJSON,"text xml":i.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(n,t){return t?ai(ai(n,i.ajaxSettings),t):ai(i.ajaxSettings,n)},ajaxPrefilter:pu(vu),ajaxTransport:pu(ci),ajax:function(n,t){function p(n,t,s,h){var v,it,tt,p,nt,c=t;2!==e&&(e=2,b&&clearTimeout(b),l=void 0,w=h||"",u.readyState=n>0?4:0,v=n>=200&&300>n||304===n,s&&(p=ae(r,u,s)),p=ve(r,p,u,v),v?(r.ifModified&&(nt=u.getResponseHeader("Last-Modified"),nt&&(i.lastModified[f]=nt),nt=u.getResponseHeader("etag"),nt&&(i.etag[f]=nt)),204===n||"HEAD"===r.type?c="nocontent":304===n?c="notmodified":(c=p.state,it=p.data,tt=p.error,v=!tt)):(tt=c,(n||!c)&&(c="error",0>n&&(n=0))),u.status=n,u.statusText=(t||c)+"",v?d.resolveWith(o,[it,c,u]):d.rejectWith(o,[u,c,tt]),u.statusCode(y),y=void 0,a&&k.trigger(v?"ajaxSuccess":"ajaxError",[u,r,v?it:tt]),g.fireWith(o,[u,c]),a&&(k.trigger("ajaxComplete",[u,r]),--i.active||i.event.trigger("ajaxStop")))}"object"==typeof n&&(t=n,n=void 0);t=t||{};var l,f,w,v,b,s,a,h,r=i.ajaxSetup({},t),o=r.context||r,k=r.context&&(o.nodeType||o.jquery)?i(o):i.event,d=i.Deferred(),g=i.Callbacks("once memory"),y=r.statusCode||{},tt={},it={},e=0,rt="canceled",u={readyState:0,getResponseHeader:function(n){var t;if(2===e){if(!v)for(v={};t=he.exec(w);)v[t[1].toLowerCase()]=t[2];t=v[n.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===e?w:null},setRequestHeader:function(n,t){var i=n.toLowerCase();return e||(n=it[i]=it[i]||n,tt[n]=t),this},overrideMimeType:function(n){return e||(r.mimeType=n),this},statusCode:function(n){var t;if(n)if(2>e)for(t in n)y[t]=[y[t],n[t]];else u.always(n[u.status]);return this},abort:function(n){var t=n||rt;return l&&l.abort(t),p(0,t),this}};if(d.promise(u).complete=g.add,u.success=u.done,u.error=u.fail,r.url=((n||r.url||li)+"").replace(se,"").replace(le,nt[1]+"//"),r.type=t.method||t.type||r.method||r.type,r.dataTypes=i.trim(r.dataType||"*").toLowerCase().match(c)||[""],null==r.crossDomain&&(s=au.exec(r.url.toLowerCase()),r.crossDomain=!(!s||s[1]===nt[1]&&s[2]===nt[2]&&(s[3]||("http:"===s[1]?"80":"443"))===(nt[3]||("http:"===nt[1]?"80":"443")))),r.data&&r.processData&&"string"!=typeof r.data&&(r.data=i.param(r.data,r.traditional)),wu(vu,r,t,u),2===e)return u;a=i.event&&r.global;a&&0==i.active++&&i.event.trigger("ajaxStart");r.type=r.type.toUpperCase();r.hasContent=!ce.test(r.type);f=r.url;r.hasContent||(r.data&&(f=r.url+=(dt.test(f)?"&":"?")+r.data,delete r.data),r.cache===!1&&(r.url=lu.test(f)?f.replace(lu,"$1_="+kt++):f+(dt.test(f)?"&":"?")+"_="+kt++));r.ifModified&&(i.lastModified[f]&&u.setRequestHeader("If-Modified-Since",i.lastModified[f]),i.etag[f]&&u.setRequestHeader("If-None-Match",i.etag[f]));(r.data&&r.hasContent&&r.contentType!==!1||t.contentType)&&u.setRequestHeader("Content-Type",r.contentType);u.setRequestHeader("Accept",r.dataTypes[0]&&r.accepts[r.dataTypes[0]]?r.accepts[r.dataTypes[0]]+("*"!==r.dataTypes[0]?", "+yu+"; q=0.01":""):r.accepts["*"]);for(h in r.headers)u.setRequestHeader(h,r.headers[h]);if(r.beforeSend&&(r.beforeSend.call(o,u,r)===!1||2===e))return u.abort();rt="abort";for(h in{success:1,error:1,complete:1})u[h](r[h]);if(l=wu(ci,r,t,u)){u.readyState=1;a&&k.trigger("ajaxSend",[u,r]);r.async&&r.timeout>0&&(b=setTimeout(function(){u.abort("timeout")},r.timeout));try{e=1;l.send(tt,p)}catch(ut){if(!(2>e))throw ut;p(-1,ut)}}else p(-1,"No Transport");return u},getJSON:function(n,t,r){return i.get(n,t,r,"json")},getScript:function(n,t){return i.get(n,void 0,t,"script")}});i.each(["get","post"],function(n,t){i[t]=function(n,r,u,f){return i.isFunction(r)&&(f=f||u,u=r,r=void 0),i.ajax({url:n,type:t,dataType:f,data:r,success:u})}});i._evalUrl=function(n){return i.ajax({url:n,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})};i.fn.extend({wrapAll:function(n){var t;return i.isFunction(n)?this.each(function(t){i(this).wrapAll(n.call(this,t))}):(this[0]&&(t=i(n,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var n=this;n.firstElementChild;)n=n.firstElementChild;return n}).append(this)),this)},wrapInner:function(n){return this.each(i.isFunction(n)?function(t){i(this).wrapInner(n.call(this,t))}:function(){var t=i(this),r=t.contents();r.length?r.wrapAll(n):t.append(n)})},wrap:function(n){var t=i.isFunction(n);return this.each(function(r){i(this).wrapAll(t?n.call(this,r):n)})},unwrap:function(){return this.parent().each(function(){i.nodeName(this,"body")||i(this).replaceWith(this.childNodes)}).end()}});i.expr.filters.hidden=function(n){return n.offsetWidth<=0&&n.offsetHeight<=0};i.expr.filters.visible=function(n){return!i.expr.filters.hidden(n)};var ye=/%20/g,pe=/\[\]$/,bu=/\r?\n/g,we=/^(?:submit|button|image|reset|file)$/i,be=/^(?:input|select|textarea|keygen)/i;i.param=function(n,t){var r,u=[],f=function(n,t){t=i.isFunction(t)?t():null==t?"":t;u[u.length]=encodeURIComponent(n)+"="+encodeURIComponent(t)};if(void 0===t&&(t=i.ajaxSettings&&i.ajaxSettings.traditional),i.isArray(n)||n.jquery&&!i.isPlainObject(n))i.each(n,function(){f(this.name,this.value)});else for(r in n)vi(r,n[r],t,f);return u.join("&").replace(ye,"+")};i.fn.extend({serialize:function(){return i.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var n=i.prop(this,"elements");return n?i.makeArray(n):this}).filter(function(){var n=this.type;return this.name&&!i(this).is(":disabled")&&be.test(this.nodeName)&&!we.test(n)&&(this.checked||!er.test(n))}).map(function(n,t){var r=i(this).val();return null==r?null:i.isArray(r)?i.map(r,function(n){return{name:t.name,value:n.replace(bu,"\r\n")}}):{name:t.name,value:r.replace(bu,"\r\n")}}).get()}});i.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(n){}};var ke=0,gt={},de={0:200,1223:204},ut=i.ajaxSettings.xhr();return n.attachEvent&&n.attachEvent("onunload",function(){for(var n in gt)gt[n]()}),f.cors=!!ut&&"withCredentials"in ut,f.ajax=ut=!!ut,i.ajaxTransport(function(n){var t;if(f.cors||ut&&!n.crossDomain)return{send:function(i,r){var f,u=n.xhr(),e=++ke;if(u.open(n.type,n.url,n.async,n.username,n.password),n.xhrFields)for(f in n.xhrFields)u[f]=n.xhrFields[f];n.mimeType&&u.overrideMimeType&&u.overrideMimeType(n.mimeType);n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(f in i)u.setRequestHeader(f,i[f]);t=function(n){return function(){t&&(delete gt[e],t=u.onload=u.onerror=null,"abort"===n?u.abort():"error"===n?r(u.status,u.statusText):r(de[u.status]||u.status,u.statusText,"string"==typeof u.responseText?{text:u.responseText}:void 0,u.getAllResponseHeaders()))}};u.onload=t();u.onerror=t("error");t=gt[e]=t("abort");try{u.send(n.hasContent&&n.data||null)}catch(o){if(t)throw o;}},abort:function(){t&&t()}}}),i.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(n){return i.globalEval(n),n}}}),i.ajaxPrefilter("script",function(n){void 0===n.cache&&(n.cache=!1);n.crossDomain&&(n.type="GET")}),i.ajaxTransport("script",function(n){if(n.crossDomain){var r,t;return{send:function(f,e){r=i("<script>").prop({async:!0,charset:n.scriptCharset,src:n.url}).on("load error",t=function(n){r.remove();t=null;n&&e("error"===n.type?404:200,n.type)});u.head.appendChild(r[0])},abort:function(){t&&t()}}}}),yi=[],ni=/(=)\?(?=&|$)|\?\?/,i.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var n=yi.pop()||i.expando+"_"+kt++;return this[n]=!0,n}}),i.ajaxPrefilter("json jsonp",function(t,r,u){var f,o,e,s=t.jsonp!==!1&&(ni.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&ni.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return(f=t.jsonpCallback=i.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(ni,"$1"+f):t.jsonp!==!1&&(t.url+=(dt.test(t.url)?"&":"?")+t.jsonp+"="+f),t.converters["script json"]=function(){return e||i.error(f+" was not called"),e[0]},t.dataTypes[0]="json",o=n[f],n[f]=function(){e=arguments},u.always(function(){n[f]=o;t[f]&&(t.jsonpCallback=r.jsonpCallback,yi.push(f));e&&i.isFunction(o)&&o(e[0]);e=o=void 0}),"script")}),i.parseHTML=function(n,t,r){if(!n||"string"!=typeof n)return null;"boolean"==typeof t&&(r=t,t=!1);t=t||u;var f=gi.exec(n),e=!r&&[];return f?[t.createElement(f[1])]:(f=i.buildFragment([n],t,e),e&&e.length&&i(e).remove(),i.merge([],f.childNodes))},pi=i.fn.load,i.fn.load=function(n,t,r){if("string"!=typeof n&&pi)return pi.apply(this,arguments);var u,o,s,f=this,e=n.indexOf(" ");return e>=0&&(u=i.trim(n.slice(e)),n=n.slice(0,e)),i.isFunction(t)?(r=t,t=void 0):t&&"object"==typeof t&&(o="POST"),f.length>0&&i.ajax({url:n,type:o,dataType:"html",data:t}).done(function(n){s=arguments;f.html(u?i("<div>").append(i.parseHTML(n)).find(u):n)}).complete(r&&function(n,t){f.each(r,s||[n.responseText,t,n])}),this},i.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(n,t){i.fn[t]=function(n){return this.on(t,n)}}),i.expr.filters.animated=function(n){return i.grep(i.timers,function(t){return n===t.elem}).length},wi=n.document.documentElement,i.offset={setOffset:function(n,t,r){var e,o,s,h,u,c,v,l=i.css(n,"position"),a=i(n),f={};"static"===l&&(n.style.position="relative");u=a.offset();s=i.css(n,"top");c=i.css(n,"left");v=("absolute"===l||"fixed"===l)&&(s+c).indexOf("auto")>-1;v?(e=a.position(),h=e.top,o=e.left):(h=parseFloat(s)||0,o=parseFloat(c)||0);i.isFunction(t)&&(t=t.call(n,r,u));null!=t.top&&(f.top=t.top-u.top+h);null!=t.left&&(f.left=t.left-u.left+o);"using"in t?t.using.call(n,f):a.css(f)}},i.fn.extend({offset:function(n){if(arguments.length)return void 0===n?this:this.each(function(t){i.offset.setOffset(this,n,t)});var r,f,t=this[0],u={top:0,left:0},e=t&&t.ownerDocument;if(e)return r=e.documentElement,i.contains(r,t)?(typeof t.getBoundingClientRect!==b&&(u=t.getBoundingClientRect()),f=ku(e),{top:u.top+f.pageYOffset-r.clientTop,left:u.left+f.pageXOffset-r.clientLeft}):u},position:function(){if(this[0]){var n,r,u=this[0],t={top:0,left:0};return"fixed"===i.css(u,"position")?r=u.getBoundingClientRect():(n=this.offsetParent(),r=this.offset(),i.nodeName(n[0],"html")||(t=n.offset()),t.top+=i.css(n[0],"borderTopWidth",!0),t.left+=i.css(n[0],"borderLeftWidth",!0)),{top:r.top-t.top-i.css(u,"marginTop",!0),left:r.left-t.left-i.css(u,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var n=this.offsetParent||wi;n&&!i.nodeName(n,"html")&&"static"===i.css(n,"position");)n=n.offsetParent;return n||wi})}}),i.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,r){var u="pageYOffset"===r;i.fn[t]=function(i){return l(this,function(t,i,f){var e=ku(t);return void 0===f?e?e[r]:t[i]:void(e?e.scrollTo(u?n.pageXOffset:f,u?f:n.pageYOffset):t[i]=f)},t,i,arguments.length,null)}}),i.each(["top","left"],function(n,t){i.cssHooks[t]=br(f.pixelPosition,function(n,r){if(r)return(r=it(n,t),hi.test(r)?i(n).position()[t]+"px":r)})}),i.each({Height:"height",Width:"width"},function(n,t){i.each({padding:"inner"+n,content:t,"":"outer"+n},function(r,u){i.fn[u]=function(u,f){var e=arguments.length&&(r||"boolean"!=typeof u),o=r||(u===!0||f===!0?"margin":"border");return l(this,function(t,r,u){var f;return i.isWindow(t)?t.document.documentElement["client"+n]:9===t.nodeType?(f=t.documentElement,Math.max(t.body["scroll"+n],f["scroll"+n],t.body["offset"+n],f["offset"+n],f["client"+n])):void 0===u?i.css(t,r,o):i.style(t,r,u,o)},t,e?u:void 0,e,null)}})}),i.fn.size=function(){return this.length},i.fn.andSelf=i.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return i}),du=n.jQuery,gu=n.$,i.noConflict=function(t){return n.$===i&&(n.$=gu),t&&n.jQuery===i&&(n.jQuery=du),i},typeof t===b&&(n.jQuery=n.$=i),i}),gmositecore=gmositecore||{},gmositecore._jQuery=jQuery,gmositecore._contextItemId="",gmositecore.getJSON=function(n){try{return jQuery.parseJSON(n)}catch(i){}return n},gmositecore.loadPartial=function(n){jQuery.ajax({url:"api/v1/member/utility/getcrossdomaindata",dataType:"text",data:{source:n,parameters:""},async:!1,success:function(n){return n=gmositecore.getJSON(n),n.Results.toString()},error:function(n,t,i){console.log(i)}})},gmositecore.getHost=function(){var n=document.createElement("a"),t=window.location.href;return n.href=t,n.protocol+"//"+n.hostname},!function(n,t){function u(t){return n.less[t.split("/")[1]]}function e(n,t){"undefined"!=typeof console&&i.logLevel>=t&&console.log("less: "+n)}function y(n){return n.replace(/^[a-z-]+:\/+?[^\/]+/,"").replace(/^\//,"").replace(/\.[a-zA-Z]+$/,"").replace(/[^\.\w-]+/g,"-").replace(/\./g,":")}function it(n,i){var s="{line} {content}",h=n.filename||i,o=[],r=(n.type||"Syntax")+"Error: "+(n.message||"There is an error in your .less file")+" in "+h+" ",u=function(n,i,r){n.extract[i]!==t&&o.push(s.replace(/\{line\}/,(parseInt(n.line,10)||0)+(i-1)).replace(/\{class\}/,r).replace(/\{content\}/,n.extract[i]))};n.extract?(u(n,0,""),u(n,1,"line"),u(n,2,""),r+="on line "+n.line+", column "+(n.column+1)+":\n"+o.join("\n")):n.stack&&(r+=n.stack);e(r,f.errors)}function l(n,t,i){var s=t.href||"",l="less:"+(t.title||y(s)),u=document.getElementById(l),c=!1,r=document.createElement("style"),a,h;if(r.setAttribute("type","text/css"),t.media&&r.setAttribute("media",t.media),r.id=l,r.styleSheet||(r.appendChild(document.createTextNode(n)),c=null!==u&&u.childNodes.length>0&&r.childNodes.length>0&&u.firstChild.nodeValue===r.firstChild.nodeValue),a=document.getElementsByTagName("head")[0],(null===u||c===!1)&&(h=t&&t.nextSibling||null,h?h.parentNode.insertBefore(r,h):a.appendChild(r)),u&&c===!1&&u.parentNode.removeChild(u),r.styleSheet)try{r.styleSheet.cssText=n}catch(v){throw new Error("Couldn't reassign styleSheet.cssText.");}if(i&&o){e("saving "+s+" to cache.",f.info);try{o.setItem(s,n);o.setItem(s+":timestamp",i)}catch(v){e("failed to save",f.errors)}}}function k(n){return i.postProcessor&&"function"==typeof i.postProcessor&&(n=i.postProcessor.call(n,n)||n),n}function rt(n,r){var s,f,o="less-error-message:"+y(r||""),a='<li><label>{line}<\/label><pre class="{class}">{content}<\/pre><\/li>',u=document.createElement("div"),h=[],c=n.filename||r,v=c.match(/([^\/]+(\?.*)?)$/)[1],e;u.id=o;u.className="less-error-message";f="<h3>"+(n.type||"Syntax")+"Error: "+(n.message||"There is an error in your .less file")+'<\/h3><p>in <a href="'+c+'">'+v+"<\/a> ";e=function(n,i,r){n.extract[i]!==t&&h.push(a.replace(/\{line\}/,(parseInt(n.line,10)||0)+(i-1)).replace(/\{class\}/,r).replace(/\{content\}/,n.extract[i]))};n.extract?(e(n,0,""),e(n,1,"line"),e(n,2,""),f+="on line "+n.line+", column "+(n.column+1)+":<\/p><ul>"+h.join("")+"<\/ul>"):n.stack&&(f+="<br/>"+n.stack.split("\n").slice(1).join("<br/>"));u.innerHTML=f;l(".less-error-message ul, .less-error-message li {\nlist-style-type: none;\nmargin-right: 15px;\npadding: 4px 0;\nmargin: 0;\n}\n.less-error-message label {\nfont-size: 12px;\nmargin-right: 15px;\npadding: 4px 0;\ncolor: #cc7777;\n}\n.less-error-message pre {\ncolor: #dd6666;\npadding: 4px 0;\nmargin: 0;\ndisplay: inline-block;\n}\n.less-error-message pre.line {\ncolor: #ff0000;\n}\n.less-error-message h3 {\nfont-size: 20px;\nfont-weight: bold;\npadding: 15px 0 5px 0;\nmargin: 0;\n}\n.less-error-message a {\ncolor: #10a\n}\n.less-error-message .error {\ncolor: red;\nfont-weight: bold;\npadding-bottom: 2px;\nborder-bottom: 1px dashed red;\n}",{title:"error-message"});u.style.cssText="font-family: Arial, sans-serif;border: 1px solid #e00;background-color: #eee;border-radius: 5px;-webkit-border-radius: 5px;-moz-border-radius: 5px;color: #e00;padding: 15px;margin-bottom: 15px";"development"==i.env&&(s=setInterval(function(){document.body&&(document.getElementById(o)?document.body.replaceChild(u,document.getElementById(o)):document.body.insertBefore(u,document.body.firstChild),clearInterval(s))},10))}function p(n,t){i.errorReporting&&"html"!==i.errorReporting?"console"===i.errorReporting?it(n,t):"function"==typeof i.errorReporting&&i.errorReporting("add",n,t):rt(n,t)}function ut(n){var t=document.getElementById("less-error-message:"+y(n));t&&t.parentNode.removeChild(t)}function ft(){}function et(n){i.errorReporting&&"html"!==i.errorReporting?"console"===i.errorReporting?ft(n):"function"==typeof i.errorReporting&&i.errorReporting("remove",n):ut(n)}function d(n){for(var t,u,e,o,f=document.getElementsByTagName("style"),r=0;r<f.length;r++)(t=f[r],t.type.match(tt))&&(u=new i.tree.parseEnv(i),e=t.innerHTML||"",u.filename=document.location.href.replace(/#.*$/,""),(n||i.globalVars)&&(u.useFileCache=!0),o=function(n){return function(t,r){if(t)return p(t,"inline");var u=r.toCSS(i);n.type="text/css";n.styleSheet?n.styleSheet.cssText=u:n.innerHTML=u}}(t),new i.Parser(u).parse(e,o,{globalVars:i.globalVars,modifyVars:n}))}function a(n,t){var r,e,o=/^((?:[a-z-]+:)?\/+?(?:[^\/\?#]*\/)|([\/\\]))?((?:[^\/\\\?#]*[\/\\])*)([^\/\\\?#]*)([#\?].*)?$/i,i=n.match(o),f={},u=[];if(!i)throw new Error("Could not parse sheet href - '"+n+"'");if(!i[1]||i[2]){if(e=t.match(o),!e)throw new Error("Could not parse page url - '"+t+"'");i[1]=i[1]||e[1]||"";i[2]||(i[3]=e[3]+i[3])}if(i[3]){for(u=i[3].replace(/\\/g,"/").split("/"),r=0;r<u.length;r++)"."===u[r]&&(u.splice(r,1),r-=1);for(r=0;r<u.length;r++)".."===u[r]&&r>0&&(u.splice(r-1,2),r-=2)}return f.hostPart=i[1],f.directories=u,f.path=i[1]+u.join("/"),f.fileUrl=f.path+(i[4]||""),f.url=f.fileUrl+(i[5]||""),f}function ot(n,t){var i,o,f,s,r=a(n),u=a(t),e="";if(r.hostPart!==u.hostPart)return"";for(o=Math.max(u.directories.length,r.directories.length),i=0;o>i&&u.directories[i]===r.directories[i];i++);for(s=u.directories.slice(i),f=r.directories.slice(i),i=0;i<s.length-1;i++)e+="../";for(i=0;i<f.length-1;i++)e+=f[i]+"/";return e}function st(){if(n.XMLHttpRequest&&!("file:"===n.location.protocol&&"ActiveXObject"in n))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(t){return e("browser doesn't support AJAX.",f.errors),null}}function ht(n,t,r,u){function s(t,i,r){t.status>=200&&t.status<300?i(t.responseText,t.getResponseHeader("Last-Modified")):"function"==typeof r&&r(t.status,n)}var o=st(),h=c?i.fileAsync:i.async;"function"==typeof o.overrideMimeType&&o.overrideMimeType("text/css");e("XHR: Getting '"+n+"'",f.debug);o.open("GET",n,h);o.setRequestHeader("Accept",t||"text/x-less, text/css; q=0.9, */*; q=0.5");o.send(null);c&&!i.fileAsync?0===o.status||o.status>=200&&o.status<300?r(o.responseText):u(o.status,n):h?o.onreadystatechange=function(){4==o.readyState&&s(o,r,u)}:s(o,r,u)}function g(t,r,u,f){var h;r&&r.currentDirectory&&!/^([A-Za-z-]+:)?\//.test(t)&&(t=r.currentDirectory+t);var s=a(t,n.location.href),o=s.url,e={currentDirectory:s.path,filename:o};if(r?(e.entryPath=r.entryPath,e.rootpath=r.rootpath,e.rootFilename=r.rootFilename,e.relativeUrls=r.relativeUrls):(e.entryPath=s.path,e.rootpath=i.rootpath||s.path,e.rootFilename=o,e.relativeUrls=f.relativeUrls),e.relativeUrls&&(e.rootpath=f.rootpath?a(f.rootpath+ot(s.path,e.entryPath)).path:s.path),f.useFileCache&&b[o])try{h=b[o];u(null,h,o,e,{lastModified:new Date})}catch(c){u(c,null,o)}else ht(o,f.mime,function(n,t){b[o]=n;try{u(null,n,o,e,{lastModified:t})}catch(i){u(i,null,o)}},function(n,t){u({type:"File",message:"'"+t+"' wasn't found ("+n+")"},null,o)})}function ct(n,t,r,u,f){var e=new i.tree.parseEnv(i);e.mime=n.type;(f||i.globalVars)&&(e.useFileCache=!0);g(n.href,null,function(s,h,c,a,v){if(v){v.remaining=u;var p=o&&o.getItem(c),y=o&&o.getItem(c+":timestamp");if(!r&&y&&v.lastModified&&new Date(v.lastModified).valueOf()===new Date(y).valueOf())return l(p,n),v.local=!0,void t(null,null,h,n,v,c)}et(c);h?(e.currentFileInfo=a,new i.Parser(e).parse(h,function(i,r){if(i)return t(i,null,null,n);try{t(i,r,h,n,v,c)}catch(i){t(i,null,null,n)}},{modifyVars:f,globalVars:i.globalVars})):t(s,null,null,n,v,c)},e,f)}function nt(n,t,r){for(var u=0;u<i.sheets.length;u++)ct(i.sheets[u],n,t,i.sheets.length-(u+1),r)}function lt(){"development"===i.env?(i.optimization=0,i.watchTimer=setInterval(function(){i.watchMode&&nt(function(n,t,r,u,f){if(n)p(n,u.href);else if(t){var e=t.toCSS(i);e=k(e);l(e,u,f.lastModified)}})},i.poll)):i.optimization=3}var i,r,c,f,v,w,h,s;if(("undefined"==typeof n.less||"undefined"!=typeof n.less.nodeType)&&(n.less={}),i=n.less,r=n.less.tree={},i.mode="browser",i===t&&(i=exports,r=u("./tree"),i.mode="node"),i.Parser=function(n){function p(){a=f;ot.push({current:h,i:f,j:g})}function v(){var n=ot.pop();h=n.current;a=f=n.i;g=n.j}function l(){ot.pop()}function at(){f>a&&(h=h.slice(f-a),a=f)}function nt(n,t){var i=n.charCodeAt(0|t);return 32>=i&&(32===i||10===i||9===i)}function ht(n){var t,i,r=typeof n;return"string"===r?e.charAt(f)!==n?null:(d(1),n):(at(),(t=n.exec(h))?(i=t[0].length,d(i),"string"==typeof t?t:1===t.length?t[0]:t):null)}function o(n){f>a&&(h=h.slice(f-a),a=f);var t=n.exec(h);return t?(d(t[0].length),"string"==typeof t?t:1===t.length?t[0]:t):null}function s(n){return e.charAt(f)!==n?null:(d(1),n)}function d(n){for(var t,r=f,u=g,i=f-a,o=f+h.length-i,s=f+=n,c=e;o>f&&(t=c.charCodeAt(f),!(t>32))&&(32===t||10===t||9===t||13===t);f++);return h=h.slice(n+f-s+i),a=f,!h.length&&g<ft.length-1?(h=ft[++g],d(0),!0):r!==f||u!==g}function tt(n,t){var i="[object Function]"===Object.prototype.toString.call(n)?n.call(y):ht(n);return i?i:void c(t||("string"==typeof n?"expected '"+n+"' got '"+e.charAt(f)+"'":"unexpected token"))}function b(n,t){return e.charAt(f)===n?(d(1),n):void c(t||"expected '"+n+"' got '"+e.charAt(f)+"'")}function c(n,t){var i=new Error(n);throw i.index=f,i.type=t||"Syntax",i;}function rt(n){return"string"==typeof n?e.charAt(f)===n:n.test(h)}function ct(n){return e.charAt(f)===n}function vt(n,t){return n.filename&&t.currentFileInfo.filename&&n.filename!==t.currentFileInfo.filename?k.imports.contents[n.filename]:e}function ut(n,t){for(var i=n+1,r=null,u=-1;--i>=0&&"\n"!==t.charAt(i);)u++;return"number"==typeof n&&(r=(t.slice(0,n).match(/\n/g)||"").length),{line:r,column:u}}function et(n,t,r){var f=r.currentFileInfo.filename;return"browser"!==i.mode&&"rhino"!==i.mode&&(f=u("path").resolve(f)),{lineNumber:ut(n,t).line+1,fileName:f}}function w(n,t){var u=vt(n,t),f=ut(n.index,u),i=f.line,o=f.column,e=n.call&&ut(n.call,u).line,r=u.split("\n");this.type=n.type||"Syntax";this.message=n.message;this.filename=n.filename||t.currentFileInfo.filename;this.index=n.index;this.line="number"==typeof i?i+1:null;this.callLine=e+1;this.callExtract=r[e];this.stack=n.stack;this.column=o;this.extract=[r[i-1],r[i],r[i+1]]}var e,f,g,it,ft,h,a,k,y,ot=[],yt=n&&n.filename,lt,st;return n instanceof r.parseEnv||(n=new r.parseEnv(n)),lt=this.imports={paths:n.paths||[],queue:[],files:n.files,contents:n.contents,contentsIgnoredChars:n.contentsIgnoredChars,mime:n.mime,error:null,push:function(t,u,f,e){var o=this,s;this.queue.push(t);s=function(n,i,r){o.queue.splice(o.queue.indexOf(t),1);var u=r===yt;o.files[r]=i;n&&!o.error&&(o.error=n);e(n,i,u,r)};i.Parser.importer?i.Parser.importer(t,u,s,n):i.Parser.fileLoader(t,u,function(t,e,o,h){if(t)return void s(t);var c=new r.parseEnv(n);c.currentFileInfo=h;c.processImports=!1;c.contents[o]=e;(u.reference||f.reference)&&(h.reference=!0);f.inline?s(null,e,o):new i.Parser(c).parse(e,function(n,t){s(n,t,o)})},n)}},st=o,w.prototype=new Error,w.prototype.constructor=w,this.env=n=n||{},this.optimization="optimization"in this.env?this.env.optimization:1,k={imports:lt,parse:function(o,s,c){var l,v,p,b,rt,y=null,d="",nt,tt;if(f=g=a=it=0,b=c&&c.globalVars?i.Parser.serializeVars(c.globalVars)+"\n":"",rt=c&&c.modifyVars?"\n"+i.Parser.serializeVars(c.modifyVars):"",(b||c&&c.banner)&&(d=(c&&c.banner?c.banner:"")+b,k.imports.contentsIgnoredChars[n.currentFileInfo.filename]=d.length),o=o.replace(/\r\n/g,"\n"),e=o=d+o.replace(/^\uFEFF/,"")+rt,k.imports.contents[n.currentFileInfo.filename]=o,ft=function(t){function u(t,r){y=new w({index:r||i,type:"Parse",message:t,filename:n.currentFileInfo.filename},n)}function l(n){var r=i-p;512>r&&!n||!r||(d.push(t.slice(p,i+1)),p=i+1)}for(var s,b,a,k,h,e,r,v,f=t.length,c=0,o=0,d=[],p=0,i=0;f>i;i++)if(e=t.charCodeAt(i),!(e>=97&&122>=e||34>e))switch(e){case 40:o++;b=i;continue;case 41:if(--o<0)return u("missing opening `(`");continue;case 59:o||l();continue;case 123:c++;s=i;continue;case 125:if(--c<0)return u("missing opening `{`");c||o||l();continue;case 92:if(f-1>i){i++;continue}return u("unescaped `\\`");case 34:case 39:case 96:for(v=0,h=i,i+=1;f>i;i++)if(r=t.charCodeAt(i),!(r>96)){if(r==e){v=1;break}if(92==r){if(i==f-1)return u("unescaped `\\`");i++}}if(v)continue;return u("unmatched `"+String.fromCharCode(e)+"`",h);case 47:if(o||i==f-1)continue;if(r=t.charCodeAt(i+1),47==r)for(i+=2;f>i&&(r=t.charCodeAt(i),!(13>=r)||10!=r&&13!=r);i++);else if(42==r){for(a=h=i,i+=2;f-1>i&&(r=t.charCodeAt(i),125==r&&(k=i),42!=r||47!=t.charCodeAt(i+1));i++);if(i==f-1)return u("missing closing `*/`",h);i++}continue;case 42:if(f-1>i&&47==t.charCodeAt(i+1))return u("unmatched `/*`");continue}return 0!==c?a>s&&k>a?u("missing closing `}` or `*/`",s):u("missing closing `}`",s):0!==o?u("missing closing `)`",b):(l(!0),d)}(o),y)return s(new w(y,n));h=ft[0];try{l=new r.Ruleset(null,this.parsers.primary());l.root=!0;l.firstRoot=!0}catch(et){return s(new w(et,n))}return(l.toCSS=function(f){return function(e,o){var c,l,v,b,h;e=e||{};v=new r.evalEnv(e);"object"!=typeof o||Array.isArray(o)||(o=Object.keys(o).map(function(n){var t=o[n];return t instanceof r.Value||(t instanceof r.Expression||(t=new r.Expression([t])),t=new r.Value([t])),new r.Rule("@"+n,t,!1,null,0)}),v.frames=[new r.Ruleset(null,o)]);try{var s,y=[],a=[new r.joinSelectorVisitor,new r.processExtendsVisitor,new r.toCSSVisitor({compress:Boolean(e.compress)})],p=this;if(e.plugins)for(s=0;s<e.plugins.length;s++)e.plugins[s].isPreEvalVisitor?y.push(e.plugins[s]):e.plugins[s].isPreVisitor?a.splice(0,0,e.plugins[s]):a.push(e.plugins[s]);for(s=0;s<y.length;s++)y[s].run(p);for(c=f.call(p,v),s=0;s<a.length;s++)a[s].run(c);e.sourceMap&&(c=new r.sourceMapOutput({contentsIgnoredCharsMap:k.imports.contentsIgnoredChars,writeSourceMap:e.writeSourceMap,rootNode:c,contentsMap:k.imports.contents,sourceMapFilename:e.sourceMapFilename,sourceMapURL:e.sourceMapURL,outputFilename:e.sourceMapOutputFilename,sourceMapBasepath:e.sourceMapBasepath,sourceMapRootpath:e.sourceMapRootpath,outputSourceFiles:e.outputSourceFiles,sourceMapGenerator:e.sourceMapGenerator}));l=c.toCSS({compress:Boolean(e.compress),dumpLineNumbers:n.dumpLineNumbers,strictUnits:Boolean(e.strictUnits),numPrecision:8})}catch(d){throw new w(d,n);}return e.cleancss&&"node"===i.mode?(b=u("clean-css"),h=e.cleancssOptions||{},h.keepSpecialComments===t&&(h.keepSpecialComments="*"),h.processImport=!1,h.noRebase=!0,h.noAdvanced===t&&(h.noAdvanced=!0),new b(h).minify(l)):e.compress?l.replace(/(^(\s)+)|((\s)+$)/g,""):l}}(l.eval),f<e.length-1)&&(f=it,nt=ut(f,e),p=e.split("\n"),v=nt.line+1,y={type:"Parse",message:"Unrecognised input",index:f,filename:n.currentFileInfo.filename,line:v,column:nt.column,extract:[p[v-2],p[v-1],p[v]]}),tt=function(t){return t=y||t||k.imports.error,t?(t instanceof w||(t=new w(t,n)),s(t)):s(null,l)},n.processImports===!1?tt():void new r.importVisitor(this.imports,tt).run(l)},parsers:y={primary:function(){for(var n,t=this.mixin,i=st,r=[];h;){if(n=this.extendRule()||t.definition()||this.rule()||this.ruleset()||t.call()||this.comment()||this.rulesetCall()||this.directive())r.push(n);else if(!i(/^[\s\n]+/)&&!i(/^;+/))break;if(ct("}"))break}return r},comment:function(){var t;if("/"===e.charAt(f))return"/"===e.charAt(f+1)?new r.Comment(o(/^\/\/.*/),!0,f,n.currentFileInfo):(t=o(/^\/\*(?:[^*]|\*+[^\/*])*\*+\/\n?/),t?new r.Comment(t,!1,f,n.currentFileInfo):void 0)},comments:function(){for(var n,t=[];;){if(n=this.comment(),!n)break;t.push(n)}return t},entities:{quoted:function(){var t,u,i=f,h=f;return"~"===e.charAt(i)&&(i++,u=!0),'"'===e.charAt(i)||"'"===e.charAt(i)?(u&&s("~"),t=o(/^"((?:[^"\\\r\n]|\\.)*)"|'((?:[^'\\\r\n]|\\.)*)'/),t?new r.Quoted(t[0],t[1]||t[2],u,h,n.currentFileInfo):void 0):void 0},keyword:function(){var n,t;if(n=o(/^%|^[_A-Za-z-][_A-Za-z0-9-]*/))return t=r.Color.fromKeyword(n),t?t:new r.Keyword(n)},call:function(){var t,i,e,u,o=f;if(t=/^([\w-]+|%|progid:[\w\.]+)\(/.exec(h)){if(t=t[1],i=t.toLowerCase(),"url"===i)return null;if(f+=t.length,"alpha"===i&&(u=y.alpha(),"undefined"!=typeof u))return u;if(s("("),e=this.arguments(),s(")"))return t?new r.Call(t,e,o,n.currentFileInfo):void 0}},arguments:function(){for(var n,t=[];;){if(n=this.assignment()||y.expression(),!n)break;if(t.push(n),!s(","))break}return t},literal:function(){return this.dimension()||this.color()||this.quoted()||this.unicodeDescriptor()},assignment:function(){var n,t;return n=o(/^\w+(?=\s?=)/i),n&&s("=")?(t=y.entity(),t?new r.Assignment(n,t):void 0):void 0},url:function(){var t;if("u"===e.charAt(f)&&o(/^url\(/))return t=this.quoted()||this.variable()||o(/^(?:(?:\\[\(\)'"])|[^\(\)'"])+/)||"",b(")"),new r.URL(null!=t.value||t instanceof r.Variable?t:new r.Anonymous(t),n.currentFileInfo)},variable:function(){var t,i=f;if("@"===e.charAt(f)&&(t=o(/^@@?[\w-]+/)))return new r.Variable(t,i,n.currentFileInfo)},variableCurly:function(){var t,i=f;if("@"===e.charAt(f)&&(t=o(/^@\{([\w-]+)\}/)))return new r.Variable("@"+t[1],i,n.currentFileInfo)},color:function(){var t,n;if("#"===e.charAt(f)&&(t=o(/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})/)))return n=t.input.match(/^#([\w]+).*/),n=n[1],n.match(/^[A-Fa-f0-9]+$/)||c("Invalid HEX color code"),new r.Color(t[1])},dimension:function(){var n,t=e.charCodeAt(f);if(!(t>57||43>t||47===t||44==t))return n=o(/^([+-]?\d*\.?\d+)(%|[a-z]+)?/),n?new r.Dimension(n[1],n[2]):void 0},unicodeDescriptor:function(){var n;return n=o(/^U\+[0-9a-fA-F?]+(\-[0-9a-fA-F?]+)?/),n?new r.UnicodeDescriptor(n[0]):void 0},javascript:function(){var i,u,h=f;return"~"===e.charAt(h)&&(h++,u=!0),"`"===e.charAt(h)?(n.javascriptEnabled===t||n.javascriptEnabled||c("You are using JavaScript, which has been disabled."),u&&s("~"),i=o(/^`([^`]*)`/),i?new r.JavaScript(i[1],f,u):void 0):void 0}},variable:function(){var n;if("@"===e.charAt(f)&&(n=o(/^(@[\w-]+)\s*:/)))return n[1]},rulesetCall:function(){var n;if("@"===e.charAt(f)&&(n=o(/^(@[\w-]+)\s*\(\s*\)\s*;/)))return new r.RulesetCall(n[1])},extend:function(n){var t,e,i,u,h,l=f;if(o(n?/^&:extend\(/:/^:extend\(/)){do{for(i=null,t=null;!(i=o(/^(all)(?=\s*(\)|,))/))&&(e=this.element());)t?t.push(e):t=[e];i=i&&i[1];t||c("Missing target selector for :extend().");h=new r.Extend(new r.Selector(t),i,l);u?u.push(h):u=[h]}while(s(","));return tt(/^\)/),n&&tt(/^;/),u}},extendRule:function(){return this.extend(!0)},mixin:{call:function(){var h,t,i,u,c,a,w=e.charAt(f),k=!1,d=f;if("."===w||"#"===w){for(p();;){if(h=f,u=o(/^[#.](?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/),!u)break;i=new r.Element(c,u,h,n.currentFileInfo);t?t.push(i):t=[i];c=s(">")}return t&&(s("(")&&(a=this.args(!0).args,b(")")),y.important()&&(k=!0),y.end())?(l(),new r.mixin.Call(t,a,d,n.currentFileInfo,k)):void v()}},args:function(n){var i,tt,b,d,u,t,a=k.parsers,it=a.entities,y={args:null,variadic:!1},w=[],g=[],nt=[],h;for(p();;){if(n)t=a.detachedRuleset()||a.expression();else{if(a.comments(),"."===e.charAt(f)&&o(/^\.{3}/)){y.variadic=!0;s(";")&&!i&&(i=!0);(i?g:nt).push({variadic:!0});break}t=it.variable()||it.literal()||it.keyword()}if(!t)break;if(d=null,t.throwAwayComments&&t.throwAwayComments(),u=t,h=null,n?t.value&&1==t.value.length&&(h=t.value[0]):h=t,h&&h instanceof r.Variable)if(s(":")){if(w.length>0&&(i&&c("Cannot mix ; and , as delimiter types"),tt=!0),u=n&&a.detachedRuleset()||a.expression(),!u){if(!n)return v(),y.args=[],y;c("could not understand value for named argument")}d=b=h.name}else{if(!n&&o(/^\.{3}/)){y.variadic=!0;s(";")&&!i&&(i=!0);(i?g:nt).push({name:t.name,variadic:!0});break}n||(b=d=h.name,u=null)}u&&w.push(u);nt.push({name:d,value:u});s(",")||(s(";")||i)&&(tt&&c("Cannot mix ; and , as delimiter types"),i=!0,w.length>1&&(u=new r.Value(w)),g.push({name:b,value:u}),b=null,w=[],tt=!1)}return l(),y.args=i?g:nt,y},definition:function(){var t,i,u,h,c=[],a=!1,n;if(!("."!==e.charAt(f)&&"#"!==e.charAt(f)||rt(/^[^{]*\}/)))if(p(),i=o(/^([#.](?:[\w-]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+)\s*\(/)){if(t=i[1],n=this.args(!1),c=n.args,a=n.variadic,!s(")"))return it=f,void v();if(y.comments(),o(/^when/)&&(h=tt(y.conditions,"expected condition")),u=y.block())return l(),new r.mixin.Definition(t,c,u,h,a);v()}else l()}},entity:function(){var n=this.entities;return n.literal()||n.variable()||n.url()||n.call()||n.keyword()||n.javascript()||this.comment()},end:function(){return s(";")||ct("}")},alpha:function(){var n;if(o(/^\(opacity=/i))return n=o(/^\d+/)||this.entities.variable(),n?(b(")"),new r.Alpha(n)):void 0},element:function(){var t,i,u,e=f;return i=this.combinator(),t=o(/^(?:\d+\.\d+|\d+)%/)||o(/^(?:[.#]?|:*)(?:[\w-]|[^\x00-\x9f]|\\(?:[A-Fa-f0-9]{1,6} ?|[^A-Fa-f0-9]))+/)||s("*")||s("&")||this.attribute()||o(/^\([^()@]+\)/)||o(/^[\.#](?=@)/)||this.entities.variableCurly(),t||(p(),s("(")?(u=this.selector())&&s(")")?(t=new r.Paren(u),l()):v():l()),t?new r.Element(i,t,e,n.currentFileInfo):void 0},combinator:function(){var n=e.charAt(f),t;if("/"===n){if(p(),t=o(/^\/[a-z]+\//i),t)return l(),new r.Combinator(t);v()}if(">"===n||"+"===n||"~"===n||"|"===n||"^"===n){for(f++,"^"===n&&"^"===e.charAt(f)&&(n="^^",f++);nt(e,f);)f++;return new r.Combinator(n)}return new r.Combinator(nt(e,f-1)?" ":null)},lessSelector:function(){return this.selector(!0)},selector:function(t){for(var o,i,u,s,h,a,l,v=f,y=st;(t&&(h=this.extend())||t&&(a=y(/^when/))||(s=this.element()))&&(a?l=tt(this.conditions,"expected condition"):l?c("CSS guard can only be used at the end of selector"):h?i?i.push(h):i=[h]:(i&&c("Extend can only be used at the end of selector"),u=e.charAt(f),o?o.push(s):o=[s],s=null),"{"!==u&&"}"!==u&&";"!==u&&","!==u&&")"!==u););return o?new r.Selector(o,i,l,v,n.currentFileInfo):void(i&&c("Extend must be used to extend a selector, it cannot be used on its own"))},attribute:function(){if(s("[")){var n,u,t,i=this.entities;return(n=i.variableCurly())||(n=tt(/^(?:[_A-Za-z0-9-\*]*\|)?(?:[_A-Za-z0-9-]|\\.)+/)),t=o(/^[|~*$^]?=/),t&&(u=i.quoted()||o(/^[0-9]+%/)||o(/^[\w-]+/)||i.variableCurly()),b("]"),new r.Attribute(n,t,u)}},block:function(){var n;if(s("{")&&(n=this.primary())&&s("}"))return n},blockRuleset:function(){var n=this.block();return n&&(n=new r.Ruleset(null,n)),n},detachedRuleset:function(){var n=this.blockRuleset();if(n)return new r.DetachedRuleset(n)},ruleset:function(){var t,i,o,h,u;for(p(),n.dumpLineNumbers&&(h=et(f,e,n));;){if(i=this.lessSelector(),!i)break;if(t?t.push(i):t=[i],this.comments(),i.condition&&t.length>1&&c("Guards are only currently allowed on a single selector."),!s(","))break;i.condition&&c("Guards are only currently allowed on a single selector.");this.comments()}if(t&&(o=this.block()))return l(),u=new r.Ruleset(t,o,n.strictImports),n.dumpLineNumbers&&(u.debugInfo=h),u;it=f;v()},rule:function(t){var u,i,h,c,o,a=f,s=e.charAt(a);if("."!==s&&"#"!==s&&"&"!==s)if(p(),u=this.variable()||this.ruleProperty()){if(o="string"==typeof u,o&&(i=this.detachedRuleset()),this.comments(),i||(i=t||!n.compress&&!o?this.anonymousValue()||this.value():this.value()||this.anonymousValue(),h=this.important(),c=!o&&u.pop().value),i&&this.end())return l(),new r.Rule(u,i,h,c,a,n.currentFileInfo);if(it=f,v(),i&&!t)return this.rule(!0)}else l()},anonymousValue:function(){var n;return n=/^([^@+\/'"*`(;{}-]*);/.exec(h),n?(f+=n[0].length-1,new r.Anonymous(n[1])):void 0},"import":function(){var u,t,i=f,e=o(/^@import?\s+/),s;if(e){if(s=(e?this.importOptions():null)||{},u=this.entities.quoted()||this.entities.url())return t=this.mediaFeatures(),ht(";")||(f=i,c("missing semi-colon or unrecognised media features on import")),t=t&&new r.Value(t),new r.Import(u,t,s,i,n.currentFileInfo);f=i;c("malformed import statement")}},importOptions:function(){var i,n,t,r={};if(!s("("))return null;do if(i=this.importOption()){switch(n=i,t=!0,n){case"css":n="less";t=!1;break;case"once":n="multiple";t=!1}if(r[n]=t,!s(","))break}while(i);return b(")"),r},importOption:function(){var n=o(/^(less|css|multiple|once|inline|reference)/);if(n)return n[1]},mediaFeature:function(){var t,u,e=this.entities,i=[];do if(t=e.keyword()||e.variable())i.push(t);else if(s("(")){if(u=this.property(),t=this.value(),!s(")"))return null;if(u&&t)i.push(new r.Paren(new r.Rule(u,t,null,null,f,n.currentFileInfo,!0)));else{if(!t)return null;i.push(new r.Paren(t))}}while(t);if(i.length>0)return new r.Expression(i)},mediaFeatures:function(){var n,i=this.entities,t=[];do if(n=this.mediaFeature()){if(t.push(n),!s(","))break}else if(n=i.variable(),n&&(t.push(n),!s(",")))break;while(n);return t.length>0?t:null},media:function(){var i,u,t,s;return n.dumpLineNumbers&&(s=et(f,e,n)),o(/^@media/)&&(i=this.mediaFeatures(),u=this.block())?(t=new r.Media(u,i,f,n.currentFileInfo),n.dumpLineNumbers&&(t.debugInfo=s),t):void 0},directive:function(){var i,t,h,a,y,w,b,k=f,u=!0;if("@"===e.charAt(f)){if(t=this["import"]()||this.media())return t;if(p(),i=o(/^@[a-z-]+/)){switch(a=i,"-"==i.charAt(1)&&i.indexOf("-",2)>0&&(a="@"+i.slice(i.indexOf("-",2)+1)),a){case"@charset":y=!0;u=!1;break;case"@namespace":w=!0;u=!1;break;case"@keyframes":y=!0;break;case"@host":case"@page":case"@document":case"@supports":b=!0}return this.comments(),y?(t=this.entity(),t||c("expected "+i+" identifier")):w?(t=this.expression(),t||c("expected "+i+" expression")):b&&(t=(o(/^[^{;]+/)||"").trim(),t&&(t=new r.Anonymous(t))),this.comments(),u&&(h=this.blockRuleset()),h||!u&&t&&s(";")?(l(),new r.Directive(i,t,h,k,n.currentFileInfo,n.dumpLineNumbers?et(k,e,n):null)):void v()}}},value:function(){var n,t=[];do if(n=this.expression(),n&&(t.push(n),!s(",")))break;while(n);if(t.length>0)return new r.Value(t)},important:function(){if("!"===e.charAt(f))return o(/^! *important/)},sub:function(){var t,n;if(s("(")&&(t=this.addition()))return(n=new r.Expression([t]),b(")"),n.parens=!0,n)},multiplication:function(){var n,t,i,u,o;if(n=this.operand()){for(o=nt(e,f-1);;){if(rt(/^\/[*\/]/))break;if(p(),i=s("/")||s("*"),!i){l();break}if(t=this.operand(),!t){v();break}l();n.parensInOp=!0;t.parensInOp=!0;u=new r.Operation(i,[u||n,t],o);o=nt(e,f-1)}return u||n}},addition:function(){var n,t,u,h,i;if(n=this.multiplication()){for(i=nt(e,f-1);;){if(u=o(/^[-+]\s+/)||!i&&(s("+")||s("-")),!u)break;if(t=this.multiplication(),!t)break;n.parensInOp=!0;t.parensInOp=!0;h=new r.Operation(u,[h||n,t],i);i=nt(e,f-1)}return h||n}},conditions:function(){var n,t,i,u=f;if(n=this.condition()){for(;;){if(!rt(/^,\s*(not\s*)?\(/)||!s(","))break;if(t=this.condition(),!t)break;i=new r.Condition("or",i||n,t,u)}return i||n}},condition:function(){var n,u,t,e,i=this.entities,h=f,s=!1;return o(/^not/)&&(s=!0),b("("),n=this.addition()||i.keyword()||i.quoted(),n?(e=o(/^(?:>=|<=|=<|[<=>])/),e?(u=this.addition()||i.keyword()||i.quoted(),u?t=new r.Condition(e,n,u,h,s):c("expected expression")):t=new r.Condition("=",n,new r.Keyword("true"),h,s),b(")"),o(/^and/)?new r.Condition("and",t,this.condition()):t):void 0},operand:function(){var i,t=this.entities,u=e.charAt(f+1),n;return"-"!==e.charAt(f)||"@"!==u&&"("!==u||(i=s("-")),n=this.sub()||t.dimension()||t.color()||t.variable()||t.call(),i&&(n.parensInOp=!0,n=new r.Negative(n)),n},expression:function(){var n,i,t=[];do n=this.addition()||this.entity(),n&&(t.push(n),rt(/^\/[\/*]/)||(i=s("/"),i&&t.push(new r.Anonymous(i))));while(n);if(t.length>0)return new r.Expression(t)},property:function(){var n=o(/^(\*?-?[_a-zA-Z0-9-]+)\s*:/);if(n)return n[1]},ruleProperty:function(){function s(n){var i=n.exec(u);if(i)return(c.push(f+o),o+=i[0].length,u=u.slice(i[1].length),t.push(i[1]))}function l(){var n=/^\s*\/\*(?:[^*]|\*+[^\/*])*\*+\//.exec(u);return n?(o+=n[0].length,u=u.slice(n[0].length),!0):!1}var e,i,u=h,t=[],c=[],o=0;for(s(/^(\*?)/);s(/^((?:[\w-]+)|(?:@\{[\w-]+\}))/););for(;l(););if(t.length>1&&s(/^\s*((?:\+_|\+)?)\s*:/)){for(d(o),""===t[0]&&(t.shift(),c.shift()),i=0;i<t.length;i++)e=t[i],t[i]="@"!==e.charAt(0)?new r.Keyword(e):new r.Variable("@"+e.slice(2,-1),c[i],n.currentFileInfo);return t}}}}},i.Parser.serializeVars=function(n){var r="",t,i;for(t in n)Object.hasOwnProperty.call(n,t)&&(i=n[t],r+=("@"===t[0]?"":"@")+t+": "+i+(";"===(""+i).slice(-1)?"":";"));return r},function(i){function h(n,t,r){if(!(r instanceof i.Dimension))throw{type:"Argument",message:"argument must be a number"};return null==t?t=r.unit:r=r.unify(),new i.Dimension(n(parseFloat(r.value)),t)}function c(n,t,r){for(var f,e,s,c=t.alpha,h=r.alpha,l=[],o=h+c*(1-h),u=0;3>u;u++)f=t.rgb[u]/255,e=r.rgb[u]/255,s=n(f,e),o&&(s=(h*e+c*(f-h*(f+e-s)))/o),l[u]=255*s;return new i.Color(l,o)}function l(){var n,t=i.functions;for(n in s)s.hasOwnProperty(n)&&(t[n]=h.bind(null,Math[n],s[n]));for(n in o)o.hasOwnProperty(n)&&(t[n]=c.bind(null,o[n]));n=i.defaultFunc;t["default"]=n.eval.bind(n)}function e(n){return i.functions.hsla(n.h,n.s,n.l,n.a)}function a(n,t){return n instanceof i.Dimension&&n.unit.is("%")?parseFloat(n.value*t/100):r(n)}function r(n){if(n instanceof i.Dimension)return parseFloat(n.unit.is("%")?n.value/100:n.value);if("number"==typeof n)return n;throw{error:"RuntimeError",message:"color functions take numbers as parameters"};}function f(n){return Math.min(1,Math.max(0,n))}i.functions={rgb:function(n,t,i){return this.rgba(n,t,i,1)},rgba:function(n,t,u,f){var e=[n,t,u].map(function(n){return a(n,255)});return f=r(f),new i.Color(e,f)},hsl:function(n,t,i){return this.hsla(n,t,i,1)},hsla:function(n,t,i,u){function s(n){return n=0>n?n+1:n>1?n-1:n,1>6*n?e+(o-e)*n*6:1>2*n?o:2>3*n?e+(o-e)*(2/3-n)*6:e}n=r(n)%360/360;t=f(r(t));i=f(r(i));u=f(r(u));var o=.5>=i?i*(t+1):i+t-i*t,e=2*i-o;return this.rgba(255*s(n+1/3),255*s(n),255*s(n-1/3),u)},hsv:function(n,t,i){return this.hsva(n,t,i,1)},hsva:function(n,t,i,u){var f,s,e,o;return n=r(n)%360*1,t=r(t),i=r(i),u=r(u),f=Math.floor(n/60%6),s=n/60-f,e=[i,i*(1-t),i*(1-s*t),i*(1-(1-s)*t)],o=[[0,3,1],[2,0,1],[1,0,3],[1,2,0],[3,1,0],[0,1,2]],this.rgba(255*e[o[f][0]],255*e[o[f][1]],255*e[o[f][2]],u)},hue:function(n){return new i.Dimension(n.toHSL().h)},saturation:function(n){return new i.Dimension(100*n.toHSL().s,"%")},lightness:function(n){return new i.Dimension(100*n.toHSL().l,"%")},hsvhue:function(n){return new i.Dimension(n.toHSV().h)},hsvsaturation:function(n){return new i.Dimension(100*n.toHSV().s,"%")},hsvvalue:function(n){return new i.Dimension(100*n.toHSV().v,"%")},red:function(n){return new i.Dimension(n.rgb[0])},green:function(n){return new i.Dimension(n.rgb[1])},blue:function(n){return new i.Dimension(n.rgb[2])},alpha:function(n){return new i.Dimension(n.toHSL().a)},luma:function(n){return new i.Dimension(n.luma()*n.alpha*100,"%")},luminance:function(n){var t=.2126*n.rgb[0]/255+.7152*n.rgb[1]/255+.0722*n.rgb[2]/255;return new i.Dimension(t*n.alpha*100,"%")},saturate:function(n,t){if(!n.rgb)return null;var i=n.toHSL();return i.s+=t.value/100,i.s=f(i.s),e(i)},desaturate:function(n,t){var i=n.toHSL();return i.s-=t.value/100,i.s=f(i.s),e(i)},lighten:function(n,t){var i=n.toHSL();return i.l+=t.value/100,i.l=f(i.l),e(i)},darken:function(n,t){var i=n.toHSL();return i.l-=t.value/100,i.l=f(i.l),e(i)},fadein:function(n,t){var i=n.toHSL();return i.a+=t.value/100,i.a=f(i.a),e(i)},fadeout:function(n,t){var i=n.toHSL();return i.a-=t.value/100,i.a=f(i.a),e(i)},fade:function(n,t){var i=n.toHSL();return i.a=t.value/100,i.a=f(i.a),e(i)},spin:function(n,t){var i=n.toHSL(),r=(i.h+t.value)%360;return i.h=0>r?360+r:r,e(i)},mix:function(n,t,r){r||(r=new i.Dimension(50));var e=r.value/100,u=2*e-1,o=n.toHSL().a-t.toHSL().a,f=((u*o==-1?u:(u+o)/(1+u*o))+1)/2,s=1-f,h=[n.rgb[0]*f+t.rgb[0]*s,n.rgb[1]*f+t.rgb[1]*s,n.rgb[2]*f+t.rgb[2]*s],c=n.alpha*e+t.alpha*(1-e);return new i.Color(h,c)},greyscale:function(n){return this.desaturate(n,new i.Dimension(100))},contrast:function(n,t,i,u){if(!n.rgb)return null;if("undefined"==typeof i&&(i=this.rgba(255,255,255,1)),"undefined"==typeof t&&(t=this.rgba(0,0,0,1)),t.luma()>i.luma()){var f=i;i=t;t=f}return u="undefined"==typeof u?.43:r(u),n.luma()<u?i:t},e:function(n){return new i.Anonymous(n instanceof i.JavaScript?n.evaluated:n.value)},escape:function(n){return new i.Anonymous(encodeURI(n.value).replace(/=/g,"%3D").replace(/:/g,"%3A").replace(/#/g,"%23").replace(/;/g,"%3B").replace(/\(/g,"%28").replace(/\)/g,"%29"))},replace:function(n,t,r,u){var f=n.value;return f=f.replace(new RegExp(t.value,u?u.value:""),r.value),new i.Quoted(n.quote||"",f,n.escaped)},"%":function(n){for(var u=Array.prototype.slice.call(arguments,1),t=n.value,r=0;r<u.length;r++)t=t.replace(/%[sda]/i,function(n){var t=n.match(/s/i)?u[r].value:u[r].toCSS();return n.match(/[A-Z]$/)?encodeURIComponent(t):t});return t=t.replace(/%%/g,"%"),new i.Quoted(n.quote||"",t,n.escaped)},unit:function(n,t){if(!(n instanceof i.Dimension))throw{type:"Argument",message:"the first argument to unit must be a number"+(n instanceof i.Operation?". Have you forgotten parenthesis?":"")};return t=t?t instanceof i.Keyword?t.value:t.toCSS():"",new i.Dimension(n.value,t)},convert:function(n,t){return n.convertTo(t.value)},round:function(n,t){var i="undefined"==typeof t?0:t.value;return h(function(n){return n.toFixed(i)},null,n)},pi:function(){return new i.Dimension(Math.PI)},mod:function(n,t){return new i.Dimension(n.value%t.value,n.unit)},pow:function(n,t){if("number"==typeof n&&"number"==typeof t)n=new i.Dimension(n),t=new i.Dimension(t);else if(!(n instanceof i.Dimension&&t instanceof i.Dimension))throw{type:"Argument",message:"arguments must be numbers"};return new i.Dimension(Math.pow(n.value,t.value),n.unit)},_minmax:function(n,r){switch(r=Array.prototype.slice.call(r),r.length){case 0:throw{type:"Argument",message:"one or more arguments required"};}for(var c,e,l,v,u,o,s,f=[],a={},h=0;h<r.length;h++)if(e=r[h],e instanceof i.Dimension)if(l=""===e.unit.toString()&&s!==t?new i.Dimension(e.value,s).unify():e.unify(),u=""===l.unit.toString()&&o!==t?o:l.unit.toString(),o=""!==u&&o===t||""!==u&&""===f[0].unify().unit.toString()?u:o,s=""!==u&&s===t?e.unit.toString():s,c=a[""]!==t&&""!==u&&u===o?a[""]:a[u],c!==t)v=""===f[c].unit.toString()&&s!==t?new i.Dimension(f[c].value,s).unify():f[c].unify(),(n&&l.value<v.value||!n&&l.value>v.value)&&(f[c]=e);else{if(o!==t&&u!==o)throw{type:"Argument",message:"incompatible types"};a[u]=f.length;f.push(e)}else Array.isArray(r[h].value)&&Array.prototype.push.apply(r,Array.prototype.slice.call(r[h].value));return 1==f.length?f[0]:(r=f.map(function(n){return n.toCSS(this.env)}).join(this.env.compress?",":", "),new i.Anonymous((n?"min":"max")+"("+r+")"))},min:function(){return this._minmax(!0,arguments)},max:function(){return this._minmax(!1,arguments)},"get-unit":function(n){return new i.Anonymous(n.unit)},argb:function(n){return new i.Anonymous(n.toARGB())},percentage:function(n){return new i.Dimension(100*n.value,"%")},color:function(n){if(n instanceof i.Quoted){var r,t=n.value;if(r=i.Color.fromKeyword(t))return r;if(/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})/.test(t))return new i.Color(t.slice(1));throw{type:"Argument",message:"argument must be a color keyword or 3/6 digit hex e.g. #FFF"};}throw{type:"Argument",message:"argument must be a string"};},iscolor:function(n){return this._isa(n,i.Color)},isnumber:function(n){return this._isa(n,i.Dimension)},isstring:function(n){return this._isa(n,i.Quoted)},iskeyword:function(n){return this._isa(n,i.Keyword)},isurl:function(n){return this._isa(n,i.URL)},ispixel:function(n){return this.isunit(n,"px")},ispercentage:function(n){return this.isunit(n,"%")},isem:function(n){return this.isunit(n,"em")},isunit:function(n,t){return n instanceof i.Dimension&&n.unit.is(t.value||t)?i.True:i.False},_isa:function(n,t){return n instanceof t?i.True:i.False},tint:function(n,t){return this.mix(this.rgb(255,255,255),n,t)},shade:function(n,t){return this.mix(this.rgb(0,0,0),n,t)},extract:function(n,t){return t=t.value-1,Array.isArray(n.value)?n.value[t]:Array(n)[t]},length:function(n){var t=Array.isArray(n.value)?n.value.length:1;return new i.Dimension(t)},"data-uri":function(t,r){var h,l,c,v,w;if("undefined"!=typeof n)return new i.URL(r||t,this.currentFileInfo).eval(this.env);var e=t.value,f=r&&r.value,b=u("./fs"),a=u("path"),s=!1;if(arguments.length<2&&(f=e),h=f.indexOf("#"),l="",-1!==h&&(l=f.slice(h),f=f.slice(0,h)),this.env.isPathRelative(f)&&(f=this.currentFileInfo.relativeUrls?a.join(this.currentFileInfo.currentDirectory,f):a.join(this.currentFileInfo.entryPath,f)),arguments.length<2){try{c=u("mime")}catch(k){c=i._mime}e=c.lookup(f);v=c.charsets.lookup(e);s=["US-ASCII","UTF-8"].indexOf(v)<0;s&&(e+=";base64")}else s=/;base64$/.test(e);var o=b.readFileSync(f),y=32,p=parseInt(o.length/1024,10);return p>=y&&this.env.ieCompat!==!1?(this.env.silent||console.warn("Skipped data-uri embedding of %s because its size (%dKB) exceeds IE8-safe %dKB!",f,p,y),new i.URL(r||t,this.currentFileInfo).eval(this.env)):(o=s?o.toString("base64"):encodeURIComponent(o),w='"data:'+e+","+o+l+'"',new i.URL(new i.Anonymous(w)))},"svg-gradient":function(n){function v(){throw{type:"Argument",message:"svg-gradient expects direction, start_color [start_position], [color position,]..., end_color [end_position]"};}arguments.length<3&&v();var e,f,r,h,o,y,c,s=Array.prototype.slice.call(arguments,1),l="linear",p='x="0" y="0" width="1" height="1"',a=!0,w={compress:!1},b=n.toCSS(w);switch(b){case"to bottom":e='x1="0%" y1="0%" x2="0%" y2="100%"';break;case"to right":e='x1="0%" y1="0%" x2="100%" y2="0%"';break;case"to bottom right":e='x1="0%" y1="0%" x2="100%" y2="100%"';break;case"to top right":e='x1="0%" y1="100%" x2="100%" y2="0%"';break;case"ellipse":case"ellipse at center":l="radial";e='cx="50%" cy="50%" r="75%"';p='x="-50" y="-50" width="101" height="101"';break;default:throw{type:"Argument",message:"svg-gradient direction must be 'to bottom', 'to right', 'to bottom right', 'to top right' or 'ellipse at center'"};}for(f='<?xml version="1.0" ?><svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="100%" height="100%" viewBox="0 0 1 1" preserveAspectRatio="none"><'+l+'Gradient id="gradient" gradientUnits="userSpaceOnUse" '+e+">",r=0;r<s.length;r+=1)s[r].value?(h=s[r].value[0],o=s[r].value[1]):(h=s[r],o=t),h instanceof i.Color&&((0===r||r+1===s.length)&&o===t||o instanceof i.Dimension)||v(),y=o?o.toCSS(w):0===r?"0%":"100%",c=h.alpha,f+='<stop offset="'+y+'" stop-color="'+h.toRGB()+'"'+(1>c?' stop-opacity="'+c+'"':"")+"/>";if(f+="<\/"+l+"Gradient><rect "+p+' fill="url(#gradient)" /><\/svg>',a)try{f=u("./encoder").encodeBase64(f)}catch(k){a=!1}return f="'data:image/svg+xml"+(a?";base64":"")+","+f+"'",new i.URL(new i.Anonymous(f))}};i._mime={_types:{".htm":"text/html",".html":"text/html",".gif":"image/gif",".jpg":"image/jpeg",".jpeg":"image/jpeg",".png":"image/png"},lookup:function(n){var r=u("path").extname(n),f=i._mime._types[r];if(f===t)throw new Error('Optional dependency "mime" is required for '+r);return f},charsets:{lookup:function(n){return n&&/^text\//.test(n)?"UTF-8":""}}};var s={ceil:null,floor:null,sqrt:null,abs:null,tan:"",sin:"",cos:"",atan:"rad",asin:"rad",acos:"rad"},o={multiply:function(n,t){return n*t},screen:function(n,t){return n+t-n*t},overlay:function(n,t){return n*=2,1>=n?o.multiply(n,t):o.screen(n-1,t)},softlight:function(n,t){var i=1,r=n;return t>.5&&(r=1,i=n>.25?Math.sqrt(n):((16*n-12)*n+4)*n),n-(1-2*t)*r*(i-n)},hardlight:function(n,t){return o.overlay(t,n)},difference:function(n,t){return Math.abs(n-t)},exclusion:function(n,t){return n+t-2*n*t},average:function(n,t){return(n+t)/2},negation:function(n,t){return 1-Math.abs(n+t-1)}};i.defaultFunc={eval:function(){var n=this.value_,t=this.error_;if(t)throw t;if(null!=n)return n?i.True:i.False},value:function(n){this.value_=n},error:function(n){this.error_=n},reset:function(){this.value_=this.error_=null}};l();i.fround=function(n,t){var i=n&&n.numPrecision;return null==i?t:Number((t+2e-16).toFixed(i))};i.functionCall=function(n,t){this.env=n;this.currentFileInfo=t};i.functionCall.prototype=i.functions}(u("./tree")),function(n){n.colors={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}}(u("./tree")),function(n){n.debugInfo=function(t,i,r){var u="";if(t.dumpLineNumbers&&!t.compress)switch(t.dumpLineNumbers){case"comments":u=n.debugInfo.asComment(i);break;case"mediaquery":u=n.debugInfo.asMediaQuery(i);break;case"all":u=n.debugInfo.asComment(i)+(r||"")+n.debugInfo.asMediaQuery(i)}return u};n.debugInfo.asComment=function(n){return"/* line "+n.debugInfo.lineNumber+", "+n.debugInfo.fileName+" */\n"};n.debugInfo.asMediaQuery=function(n){return"@media -sass-debug-info{filename{font-family:"+("file://"+n.debugInfo.fileName).replace(/([.:\/\\])/g,function(n){return"\\"==n&&(n="/"),"\\"+n})+"}line{font-family:\\00003"+n.debugInfo.lineNumber+"}}\n"};n.find=function(n,t){for(var r,i=0;i<n.length;i++)if(r=t.call(n,n[i]))return r;return null};n.jsify=function(n){return Array.isArray(n.value)&&n.value.length>1?"["+n.value.map(function(n){return n.toCSS()}).join(", ")+"]":n.toCSS()};n.toCSS=function(n){var t=[];return this.genCSS(n,{add:function(n){t.push(n)},isEmpty:function(){return 0===t.length}}),t.join("")};n.outputRuleset=function(n,t,i){var r,f=i.length,u,e;if(n.tabLevel=(0|n.tabLevel)+1,n.compress){for(t.add("{"),r=0;f>r;r++)i[r].genCSS(n,t);return t.add("}"),void n.tabLevel--}if(u="\n"+Array(n.tabLevel).join("  "),e=u+"  ",f){for(t.add(" {"+e),i[0].genCSS(n,t),r=1;f>r;r++)t.add(e),i[r].genCSS(n,t);t.add(u+"}")}else t.add(" {"+u+"}");n.tabLevel--}}(u("./tree")),function(n){n.Alpha=function(n){this.value=n};n.Alpha.prototype={type:"Alpha",accept:function(n){this.value=n.visit(this.value)},eval:function(t){return this.value.eval?new n.Alpha(this.value.eval(t)):this},genCSS:function(n,t){t.add("alpha(opacity=");this.value.genCSS?this.value.genCSS(n,t):t.add(this.value);t.add(")")},toCSS:n.toCSS}}(u("../tree")),function(n){n.Anonymous=function(n,t,i,r,u){this.value=n;this.index=t;this.mapLines=r;this.currentFileInfo=i;this.rulesetLike="undefined"==typeof u?!1:u};n.Anonymous.prototype={type:"Anonymous",eval:function(){return new n.Anonymous(this.value,this.index,this.currentFileInfo,this.mapLines,this.rulesetLike)},compare:function(n){if(!n.toCSS)return-1;var t=this.toCSS(),i=n.toCSS();return t===i?0:i>t?-1:1},isRulesetLike:function(){return this.rulesetLike},genCSS:function(n,t){t.add(this.value,this.currentFileInfo,this.index,this.mapLines)},toCSS:n.toCSS}}(u("../tree")),function(n){n.Assignment=function(n,t){this.key=n;this.value=t};n.Assignment.prototype={type:"Assignment",accept:function(n){this.value=n.visit(this.value)},eval:function(t){return this.value.eval?new n.Assignment(this.key,this.value.eval(t)):this},genCSS:function(n,t){t.add(this.key+"=");this.value.genCSS?this.value.genCSS(n,t):t.add(this.value)},toCSS:n.toCSS}}(u("../tree")),function(n){n.Call=function(n,t,i,r){this.name=n;this.args=t;this.index=i;this.currentFileInfo=r};n.Call.prototype={type:"Call",accept:function(n){this.args&&(this.args=n.visitArray(this.args))},eval:function(t){var i,r,f=this.args.map(function(n){return n.eval(t)}),e=this.name.toLowerCase();if(e in n.functions)try{if(r=new n.functionCall(t,this.currentFileInfo),i=r[e].apply(r,f),null!=i)return i}catch(u){throw{type:u.type||"Runtime",message:"error evaluating function `"+this.name+"`"+(u.message?": "+u.message:""),index:this.index,filename:this.currentFileInfo.filename};}return new n.Call(this.name,f,this.index,this.currentFileInfo)},genCSS:function(n,t){t.add(this.name+"(",this.currentFileInfo,this.index);for(var i=0;i<this.args.length;i++)this.args[i].genCSS(n,t),i+1<this.args.length&&t.add(", ");t.add(")")},toCSS:n.toCSS}}(u("../tree")),function(n){function i(n){return"#"+n.map(function(n){return n=t(Math.round(n),255),(16>n?"0":"")+n.toString(16)}).join("")}function t(n,t){return Math.min(Math.max(n,0),t)}n.Color=function(n,t){this.rgb=Array.isArray(n)?n:6==n.length?n.match(/.{2}/g).map(function(n){return parseInt(n,16)}):n.split("").map(function(n){return parseInt(n+n,16)});this.alpha="number"==typeof t?t:1};var r="transparent";n.Color.prototype={type:"Color",eval:function(){return this},luma:function(){var n=this.rgb[0]/255,t=this.rgb[1]/255,i=this.rgb[2]/255;return n=.03928>=n?n/12.92:Math.pow((n+.055)/1.055,2.4),t=.03928>=t?t/12.92:Math.pow((t+.055)/1.055,2.4),i=.03928>=i?i/12.92:Math.pow((i+.055)/1.055,2.4),.2126*n+.7152*t+.0722*i},genCSS:function(n,t){t.add(this.toCSS(n))},toCSS:function(i,u){var s=i&&i.compress&&!u,o=n.fround(i,this.alpha),e,f;return 1>o?0===o&&this.isTransparentKeyword?r:"rgba("+this.rgb.map(function(n){return t(Math.round(n),255)}).concat(t(o,1)).join(","+(s?"":" "))+")":(e=this.toRGB(),s&&(f=e.split(""),f[1]===f[2]&&f[3]===f[4]&&f[5]===f[6]&&(e="#"+f[1]+f[3]+f[5])),e)},operate:function(t,i,r){for(var f=[],e=this.alpha*(1-r.alpha)+r.alpha,u=0;3>u;u++)f[u]=n.operate(t,i,this.rgb[u],r.rgb[u]);return new n.Color(f,e)},toRGB:function(){return i(this.rgb)},toHSL:function(){var n,o,u=this.rgb[0]/255,t=this.rgb[1]/255,i=this.rgb[2]/255,h=this.alpha,r=Math.max(u,t,i),f=Math.min(u,t,i),s=(r+f)/2,e=r-f;if(r===f)n=o=0;else{switch(o=s>.5?e/(2-r-f):e/(r+f),r){case u:n=(t-i)/e+(i>t?6:0);break;case t:n=(i-u)/e+2;break;case i:n=(u-t)/e+4}n/=6}return{h:360*n,s:o,l:s,a:h}},toHSV:function(){var n,e,u=this.rgb[0]/255,t=this.rgb[1]/255,i=this.rgb[2]/255,s=this.alpha,r=Math.max(u,t,i),o=Math.min(u,t,i),h=r,f=r-o;if(e=0===r?0:f/r,r===o)n=0;else{switch(r){case u:n=(t-i)/f+(i>t?6:0);break;case t:n=(i-u)/f+2;break;case i:n=(u-t)/f+4}n/=6}return{h:360*n,s:e,v:h,a:s}},toARGB:function(){return i([255*this.alpha].concat(this.rgb))},compare:function(n){return n.rgb&&n.rgb[0]===this.rgb[0]&&n.rgb[1]===this.rgb[1]&&n.rgb[2]===this.rgb[2]&&n.alpha===this.alpha?0:-1}};n.Color.fromKeyword=function(t){if(t=t.toLowerCase(),n.colors.hasOwnProperty(t))return new n.Color(n.colors[t].slice(1));if(t===r){var i=new n.Color([0,0,0],0);return i.isTransparentKeyword=!0,i}}}(u("../tree")),function(n){n.Comment=function(n,t,i,r){this.value=n;this.silent=!!t;this.currentFileInfo=r};n.Comment.prototype={type:"Comment",genCSS:function(t,i){this.debugInfo&&i.add(n.debugInfo(t,this),this.currentFileInfo,this.index);i.add(this.value.trim())},toCSS:n.toCSS,isSilent:function(n){var t=this.currentFileInfo&&this.currentFileInfo.reference&&!this.isReferenced,i=n.compress&&!this.value.match(/^\/\*!/);return this.silent||t||i},eval:function(){return this},markReferenced:function(){this.isReferenced=!0}}}(u("../tree")),function(n){n.Condition=function(n,t,i,r,u){this.op=n.trim();this.lvalue=t;this.rvalue=i;this.index=r;this.negate=u};n.Condition.prototype={type:"Condition",accept:function(n){this.lvalue=n.visit(this.lvalue);this.rvalue=n.visit(this.rvalue)},eval:function(n){var t,i=this.lvalue.eval(n),r=this.rvalue.eval(n),u=this.index;return t=function(n){switch(n){case"and":return i&&r;case"or":return i||r;default:if(i.compare)t=i.compare(r);else{if(!r.compare)throw{type:"Type",message:"Unable to perform comparison",index:u};t=r.compare(i)}switch(t){case-1:return"<"===n||"=<"===n||"<="===n;case 0:return"="===n||">="===n||"=<"===n||"<="===n;case 1:return">"===n||">="===n}}}(this.op),this.negate?!t:t}}}(u("../tree")),function(n){n.DetachedRuleset=function(n,t){this.ruleset=n;this.frames=t};n.DetachedRuleset.prototype={type:"DetachedRuleset",accept:function(n){this.ruleset=n.visit(this.ruleset)},eval:function(t){var i=this.frames||t.frames.slice(0);return new n.DetachedRuleset(this.ruleset,i)},callEval:function(t){return this.ruleset.eval(this.frames?new n.evalEnv(t,this.frames.concat(t.frames)):t)}}}(u("../tree")),function(n){n.Dimension=function(i,r){this.value=parseFloat(i);this.unit=r&&r instanceof n.Unit?r:new n.Unit(r?[r]:t)};n.Dimension.prototype={type:"Dimension",accept:function(n){this.unit=n.visit(this.unit)},eval:function(){return this},toColor:function(){return new n.Color([this.value,this.value,this.value])},genCSS:function(t,i){if(t&&t.strictUnits&&!this.unit.isSingular())throw new Error("Multiple units in dimension. Correct the units or use the unit function. Bad unit: "+this.unit.toString());var r=n.fround(t,this.value),u=String(r);if(0!==r&&1e-6>r&&r>-1e-6&&(u=r.toFixed(20).replace(/0+$/,"")),t&&t.compress){if(0===r&&this.unit.isLength())return void i.add(u);r>0&&1>r&&(u=u.substr(1))}i.add(u);this.unit.genCSS(t,i)},toCSS:n.toCSS,operate:function(t,i,r){var f=n.operate(t,i,this.value,r.value),u=this.unit.clone();if("+"===i||"-"===i){if(0===u.numerator.length&&0===u.denominator.length)u.numerator=r.unit.numerator.slice(0),u.denominator=r.unit.denominator.slice(0);else if(0!==r.unit.numerator.length||0!==u.denominator.length){if(r=r.convertTo(this.unit.usedUnits()),t.strictUnits&&r.unit.toString()!==u.toString())throw new Error("Incompatible units. Change the units or use the unit function. Bad units: '"+u.toString()+"' and '"+r.unit.toString()+"'.");f=n.operate(t,i,this.value,r.value)}}else"*"===i?(u.numerator=u.numerator.concat(r.unit.numerator).sort(),u.denominator=u.denominator.concat(r.unit.denominator).sort(),u.cancel()):"/"===i&&(u.numerator=u.numerator.concat(r.unit.denominator).sort(),u.denominator=u.denominator.concat(r.unit.numerator).sort(),u.cancel());return new n.Dimension(f,u)},compare:function(t){if(t instanceof n.Dimension){var i,r,u,f;if(this.unit.isEmpty()||t.unit.isEmpty())i=this,r=t;else if(i=this.unify(),r=t.unify(),0!==i.unit.compare(r.unit))return-1;return u=i.value,f=r.value,f>u?-1:u>f?1:0}return-1},unify:function(){return this.convertTo({length:"px",duration:"s",angle:"rad"})},convertTo:function(t){var f,r,i,u,h,e=this.value,o=this.unit.clone(),s={};if("string"==typeof t){for(f in n.UnitConversions)n.UnitConversions[f].hasOwnProperty(t)&&(s={},s[f]=t);t=s}h=function(n,t){return i.hasOwnProperty(n)?(t?e/=i[n]/i[u]:e*=i[n]/i[u],u):n};for(r in t)t.hasOwnProperty(r)&&(u=t[r],i=n.UnitConversions[r],o.map(h));return o.cancel(),new n.Dimension(e,o)}};n.UnitConversions={length:{m:1,cm:.01,mm:.001,"in":.0254,px:.0254/96,pt:.0254/72,pc:.0254/6},duration:{s:1,ms:.001},angle:{rad:1/(2*Math.PI),deg:1/360,grad:.0025,turn:1}};n.Unit=function(n,t,i){this.numerator=n?n.slice(0).sort():[];this.denominator=t?t.slice(0).sort():[];this.backupUnit=i};n.Unit.prototype={type:"Unit",clone:function(){return new n.Unit(this.numerator.slice(0),this.denominator.slice(0),this.backupUnit)},genCSS:function(n,t){this.numerator.length>=1?t.add(this.numerator[0]):this.denominator.length>=1?t.add(this.denominator[0]):n&&n.strictUnits||!this.backupUnit||t.add(this.backupUnit)},toCSS:n.toCSS,toString:function(){for(var t=this.numerator.join("*"),n=0;n<this.denominator.length;n++)t+="/"+this.denominator[n];return t},compare:function(n){return this.is(n.toString())?0:-1},is:function(n){return this.toString()===n},isLength:function(){return Boolean(this.toCSS().match(/px|em|%|in|cm|mm|pc|pt|ex/))},isEmpty:function(){return 0===this.numerator.length&&0===this.denominator.length},isSingular:function(){return this.numerator.length<=1&&0===this.denominator.length},map:function(n){for(var t=0;t<this.numerator.length;t++)this.numerator[t]=n(this.numerator[t],!1);for(t=0;t<this.denominator.length;t++)this.denominator[t]=n(this.denominator[t],!0)},usedUnits:function(){var r,u,i={},t;u=function(n){return r.hasOwnProperty(n)&&!i[t]&&(i[t]=n),n};for(t in n.UnitConversions)n.UnitConversions.hasOwnProperty(t)&&(r=n.UnitConversions[t],this.map(u));return i},cancel:function(){for(var t,r,i={},u,n=0;n<this.numerator.length;n++)t=this.numerator[n],r||(r=t),i[t]=(i[t]||0)+1;for(n=0;n<this.denominator.length;n++)t=this.denominator[n],r||(r=t),i[t]=(i[t]||0)-1;this.numerator=[];this.denominator=[];for(t in i)if(i.hasOwnProperty(t))if(u=i[t],u>0)for(n=0;u>n;n++)this.numerator.push(t);else if(0>u)for(n=0;-u>n;n++)this.denominator.push(t);0===this.numerator.length&&0===this.denominator.length&&r&&(this.backupUnit=r);this.numerator.sort();this.denominator.sort()}}}(u("../tree")),function(n){n.Directive=function(n,t,i,r,u,f){this.name=n;this.value=t;i&&(this.rules=i,this.rules.allowImports=!0);this.index=r;this.currentFileInfo=u;this.debugInfo=f};n.Directive.prototype={type:"Directive",accept:function(n){var t=this.value,i=this.rules;i&&(i=n.visit(i));t&&(t=n.visit(t))},isRulesetLike:function(){return!this.isCharset()},isCharset:function(){return"@charset"===this.name},genCSS:function(t,i){var r=this.value,u=this.rules;i.add(this.name,this.currentFileInfo,this.index);r&&(i.add(" "),r.genCSS(t,i));u?n.outputRuleset(t,i,[u]):i.add(";")},toCSS:n.toCSS,eval:function(t){var r=this.value,i=this.rules;return r&&(r=r.eval(t)),i&&(i=i.eval(t),i.root=!0),new n.Directive(this.name,r,i,this.index,this.currentFileInfo,this.debugInfo)},variable:function(t){if(this.rules)return n.Ruleset.prototype.variable.call(this.rules,t)},find:function(){if(this.rules)return n.Ruleset.prototype.find.apply(this.rules,arguments)},rulesets:function(){if(this.rules)return n.Ruleset.prototype.rulesets.apply(this.rules)},markReferenced:function(){var n,t;if(this.isReferenced=!0,this.rules)for(t=this.rules.rules,n=0;n<t.length;n++)t[n].markReferenced&&t[n].markReferenced()}}}(u("../tree")),function(n){n.Element=function(t,i,r,u){this.combinator=t instanceof n.Combinator?t:new n.Combinator(t);this.value="string"==typeof i?i.trim():i?i:"";this.index=r;this.currentFileInfo=u};n.Element.prototype={type:"Element",accept:function(n){var t=this.value;this.combinator=n.visit(this.combinator);"object"==typeof t&&(this.value=n.visit(t))},eval:function(t){return new n.Element(this.combinator,this.value.eval?this.value.eval(t):this.value,this.index,this.currentFileInfo)},genCSS:function(n,t){t.add(this.toCSS(n),this.currentFileInfo,this.index)},toCSS:function(n){var t=this.value.toCSS?this.value.toCSS(n):this.value;return""===t&&"&"===this.combinator.value.charAt(0)?"":this.combinator.toCSS(n||{})+t}};n.Attribute=function(n,t,i){this.key=n;this.op=t;this.value=i};n.Attribute.prototype={type:"Attribute",eval:function(t){return new n.Attribute(this.key.eval?this.key.eval(t):this.key,this.op,this.value&&this.value.eval?this.value.eval(t):this.value)},genCSS:function(n,t){t.add(this.toCSS(n))},toCSS:function(n){var t=this.key.toCSS?this.key.toCSS(n):this.key;return this.op&&(t+=this.op,t+=this.value.toCSS?this.value.toCSS(n):this.value),"["+t+"]"}};n.Combinator=function(n){this.value=" "===n?" ":n?n.trim():""};n.Combinator.prototype={type:"Combinator",_noSpaceCombinators:{"":!0," ":!0,"|":!0},genCSS:function(n,t){var i=n.compress||this._noSpaceCombinators[this.value]?"":" ";t.add(i+this.value+i)},toCSS:n.toCSS}}(u("../tree")),function(n){n.Expression=function(n){this.value=n};n.Expression.prototype={type:"Expression",accept:function(n){this.value&&(this.value=n.visitArray(this.value))},eval:function(t){var i,r=this.parens&&!this.parensInOp,u=!1;return r&&t.inParenthesis(),this.value.length>1?i=new n.Expression(this.value.map(function(n){return n.eval(t)})):1===this.value.length?(this.value[0].parens&&!this.value[0].parensInOp&&(u=!0),i=this.value[0].eval(t)):i=this,r&&t.outOfParenthesis(),this.parens&&this.parensInOp&&!t.isMathOn()&&!u&&(i=new n.Paren(i)),i},genCSS:function(n,t){for(var i=0;i<this.value.length;i++)this.value[i].genCSS(n,t),i+1<this.value.length&&t.add(" ")},toCSS:n.toCSS,throwAwayComments:function(){this.value=this.value.filter(function(t){return!(t instanceof n.Comment)})}}}(u("../tree")),function(n){n.Extend=function(t,i,r){switch(this.selector=t,this.option=i,this.index=r,this.object_id=n.Extend.next_id++,this.parent_ids=[this.object_id],i){case"all":this.allowBefore=!0;this.allowAfter=!0;break;default:this.allowBefore=!1;this.allowAfter=!1}};n.Extend.next_id=0;n.Extend.prototype={type:"Extend",accept:function(n){this.selector=n.visit(this.selector)},eval:function(t){return new n.Extend(this.selector.eval(t),this.option,this.index)},clone:function(){return new n.Extend(this.selector,this.option,this.index)},findSelfSelectors:function(n){for(var i,r=[],t=0;t<n.length;t++)i=n[t].elements,t>0&&i.length&&""===i[0].combinator.value&&(i[0].combinator.value=" "),r=r.concat(n[t].elements);this.selfSelectors=[{elements:r}]}}}(u("../tree")),function(n){n.Import=function(n,i,r,u,f){if(this.options=r,this.index=u,this.path=n,this.features=i,this.currentFileInfo=f,this.options.less!==t||this.options.inline)this.css=!this.options.less||this.options.inline;else{var e=this.getPath();e&&/css([\?;].*)?$/.test(e)&&(this.css=!0)}};n.Import.prototype={type:"Import",accept:function(n){this.features&&(this.features=n.visit(this.features));this.path=n.visit(this.path);!this.options.inline&&this.root&&(this.root=n.visit(this.root))},genCSS:function(n,t){this.css&&(t.add("@import ",this.currentFileInfo,this.index),this.path.genCSS(n,t),this.features&&(t.add(" "),this.features.genCSS(n,t)),t.add(";"))},toCSS:n.toCSS,getPath:function(){if(this.path instanceof n.Quoted){var i=this.path.value;return this.css!==t||/(\.[a-z]*$)|([\?;].*)$/.test(i)?i:i+".less"}return this.path instanceof n.URL?this.path.value.value:null},evalForImport:function(t){return new n.Import(this.path.eval(t),this.features,this.options,this.index,this.currentFileInfo)},evalPath:function(t){var i=this.path.eval(t),u=this.currentFileInfo&&this.currentFileInfo.rootpath,r;return i instanceof n.URL||(u&&(r=i.value,r&&t.isPathRelative(r)&&(i.value=u+r)),i.value=t.normalizePath(i.value)),i},eval:function(t){var i,f=this.features&&this.features.eval(t),r,u;if(this.skip&&("function"==typeof this.skip&&(this.skip=this.skip()),this.skip))return[];if(this.options.inline)return r=new n.Anonymous(this.root,0,{filename:this.importedFilename},!0,!0),this.features?new n.Media([r],this.features.value):[r];if(this.css){if(u=new n.Import(this.evalPath(t),f,this.options,this.index),!u.css&&this.error)throw this.error;return u}return i=new n.Ruleset(null,this.root.rules.slice(0)),i.evalImports(t),this.features?new n.Media(i.rules,this.features.value):i.rules}}}(u("../tree")),function(n){n.JavaScript=function(n,t,i){this.escaped=i;this.expression=n;this.index=t};n.JavaScript.prototype={type:"JavaScript",eval:function(t){var i,s=this,o={},r=this.expression.replace(/@\{([\w-]+)\}/g,function(i,r){return n.jsify(new n.Variable("@"+r,s.index).eval(t))}),u,f;try{r=new Function("return ("+r+")")}catch(e){throw{message:"JavaScript evaluation error: "+e.message+" from `"+r+"`",index:this.index};}u=t.frames[0].variables();for(f in u)u.hasOwnProperty(f)&&(o[f.slice(1)]={value:u[f].value,toJS:function(){return this.value.eval(t).toCSS()}});try{i=r.call(o)}catch(e){throw{message:"JavaScript evaluation error: '"+e.name+": "+e.message.replace(/["]/g,"'")+"'",index:this.index};}return"number"==typeof i?new n.Dimension(i):"string"==typeof i?new n.Quoted('"'+i+'"',i,this.escaped,this.index):new n.Anonymous(Array.isArray(i)?i.join(", "):i)}}}(u("../tree")),function(n){n.Keyword=function(n){this.value=n};n.Keyword.prototype={type:"Keyword",eval:function(){return this},genCSS:function(n,t){if("%"===this.value)throw{type:"Syntax",message:"Invalid % without number"};t.add(this.value)},toCSS:n.toCSS,compare:function(t){return t instanceof n.Keyword?t.value===this.value?0:1:-1}};n.True=new n.Keyword("true");n.False=new n.Keyword("false")}(u("../tree")),function(n){n.Media=function(t,i,r,u){this.index=r;this.currentFileInfo=u;var f=this.emptySelectors();this.features=new n.Value(i);this.rules=[new n.Ruleset(f,t)];this.rules[0].allowImports=!0};n.Media.prototype={type:"Media",accept:function(n){this.features&&(this.features=n.visit(this.features));this.rules&&(this.rules=n.visitArray(this.rules))},genCSS:function(t,i){i.add("@media ",this.currentFileInfo,this.index);this.features.genCSS(t,i);n.outputRuleset(t,i,this.rules)},toCSS:n.toCSS,eval:function(t){var i,r;t.mediaBlocks||(t.mediaBlocks=[],t.mediaPath=[]);i=new n.Media(null,[],this.index,this.currentFileInfo);this.debugInfo&&(this.rules[0].debugInfo=this.debugInfo,i.debugInfo=this.debugInfo);r=!1;t.strictMath||(r=!0,t.strictMath=!0);try{i.features=this.features.eval(t)}finally{r&&(t.strictMath=!1)}return t.mediaPath.push(i),t.mediaBlocks.push(i),t.frames.unshift(this.rules[0]),i.rules=[this.rules[0].eval(t)],t.frames.shift(),t.mediaPath.pop(),0===t.mediaPath.length?i.evalTop(t):i.evalNested(t)},variable:function(t){return n.Ruleset.prototype.variable.call(this.rules[0],t)},find:function(){return n.Ruleset.prototype.find.apply(this.rules[0],arguments)},rulesets:function(){return n.Ruleset.prototype.rulesets.apply(this.rules[0])},emptySelectors:function(){var i=new n.Element("","&",this.index,this.currentFileInfo),t=[new n.Selector([i],null,null,this.index,this.currentFileInfo)];return t[0].mediaEmpty=!0,t},markReferenced:function(){var n,t=this.rules[0].rules;for(this.rules[0].markReferenced(),this.isReferenced=!0,n=0;n<t.length;n++)t[n].markReferenced&&t[n].markReferenced()},evalTop:function(t){var i=this,r;return t.mediaBlocks.length>1&&(r=this.emptySelectors(),i=new n.Ruleset(r,t.mediaBlocks),i.multiMedia=!0),delete t.mediaBlocks,delete t.mediaPath,i},evalNested:function(t){for(var u,r=t.mediaPath.concat([this]),i=0;i<r.length;i++)u=r[i].features instanceof n.Value?r[i].features.value:r[i].features,r[i]=Array.isArray(u)?u:[u];return this.features=new n.Value(this.permute(r).map(function(t){for(t=t.map(function(t){return t.toCSS?t:new n.Anonymous(t)}),i=t.length-1;i>0;i--)t.splice(i,0,new n.Anonymous("and"));return new n.Expression(t)})),new n.Ruleset([],[])},permute:function(n){var t;if(0===n.length)return[];if(1===n.length)return n[0];for(var r=[],u=this.permute(n.slice(1)),i=0;i<u.length;i++)for(t=0;t<n[0].length;t++)r.push([n[0][t]].concat(u[i]));return r},bubbleSelectors:function(t){t&&(this.rules=[new n.Ruleset(t.slice(0),[this.rules[0]])])}}}(u("../tree")),function(n){n.mixin={};n.mixin.Call=function(t,i,r,u,f){this.selector=new n.Selector(t);this.arguments=i&&i.length?i:null;this.index=r;this.currentFileInfo=u;this.important=f};n.mixin.Call.prototype={type:"MixinCall",accept:function(n){this.selector&&(this.selector=n.visit(this.selector));this.arguments&&(this.arguments=n.visitArray(this.arguments))},eval:function(t){for(var a,i,r,u,v,d,y,e,p,c,g,l=[],nt=!1,o=[],h=[],tt=n.defaultFunc,w=0,b=1,k=2,s=this.arguments&&this.arguments.map(function(n){return{name:n.name,value:n.value.eval(t)}}),f=0;f<t.frames.length;f++)if((a=t.frames[f].find(this.selector)).length>0){for(d=!0,r=0;r<a.length;r++){for(i=a[r],v=!1,u=0;u<t.frames.length;u++)if(!(i instanceof n.mixin.Definition)&&i===(t.frames[u].originalRuleset||t.frames[u])){v=!0;break}if(!v&&i.matchArgs(s,t)){if(e={mixin:i,group:w},i.matchCondition){for(u=0;2>u;u++)tt.value(u),h[u]=i.matchCondition(s,t);(h[0]||h[1])&&(h[0]!=h[1]&&(e.group=h[1]?b:k),o.push(e))}else o.push(e);nt=!0}}for(tt.reset(),c=[0,0,0],r=0;r<o.length;r++)c[o[r].group]++;if(c[w]>0)p=k;else if(p=b,c[b]+c[k]>1)throw{type:"Runtime",message:"Ambiguous use of `default()` found when matching for `"+this.format(s)+"`",index:this.index,filename:this.currentFileInfo.filename};for(r=0;r<o.length;r++)if(e=o[r].group,e===w||e===p)try{i=o[r].mixin;i instanceof n.mixin.Definition||(g=i.originalRuleset||i,i=new n.mixin.Definition("",[],i.rules,null,!1),i.originalRuleset=g);Array.prototype.push.apply(l,i.evalCall(t,s,this.important).rules)}catch(it){throw{message:it.message,index:this.index,filename:this.currentFileInfo.filename,stack:it.stack};}if(nt){if(!this.currentFileInfo||!this.currentFileInfo.reference)for(f=0;f<l.length;f++)y=l[f],y.markReferenced&&y.markReferenced();return l}}throw d?{type:"Runtime",message:"No matching definition was found for `"+this.format(s)+"`",index:this.index,filename:this.currentFileInfo.filename}:{type:"Name",message:this.selector.toCSS().trim()+" is undefined",index:this.index,filename:this.currentFileInfo.filename};},format:function(n){return this.selector.toCSS().trim()+"("+(n?n.map(function(n){var t="";return n.name&&(t+=n.name+":"),t+(n.value.toCSS?n.value.toCSS():"???")}).join(", "):"")+")"}};n.mixin.Definition=function(t,i,r,u,f,e){this.name=t;this.selectors=[new n.Selector([new n.Element(null,t,this.index,this.currentFileInfo)])];this.params=i;this.condition=u;this.variadic=f;this.arity=i.length;this.rules=r;this._lookups={};this.required=i.reduce(function(n,t){return!t.name||t.name&&!t.value?n+1:n},0);this.parent=n.Ruleset.prototype;this.frames=e};n.mixin.Definition.prototype={type:"MixinDefinition",accept:function(n){this.params&&this.params.length&&(this.params=n.visitArray(this.params));this.rules=n.visitArray(this.rules);this.condition&&(this.condition=n.visit(this.condition))},variable:function(n){return this.parent.variable.call(this,n)},variables:function(){return this.parent.variables.call(this)},find:function(){return this.parent.find.apply(this,arguments)},rulesets:function(){return this.parent.rulesets.apply(this)},evalParams:function(t,i,r,u){var y,o,f,e,h,c,p,a,l=new n.Ruleset(null,null),s=this.params.slice(0),v=0;if(i=new n.evalEnv(i,[l].concat(i.frames)),r)for(r=r.slice(0),v=r.length,f=0;v>f;f++)if(o=r[f],c=o&&o.name){for(p=!1,e=0;e<s.length;e++)if(!u[e]&&c===s[e].name){u[e]=o.value.eval(t);l.prependRule(new n.Rule(c,o.value.eval(t)));p=!0;break}if(p){r.splice(f,1);f--;continue}throw{type:"Runtime",message:"Named argument for "+this.name+" "+r[f].name+" not found"};}for(a=0,f=0;f<s.length;f++)if(!u[f]){if(o=r&&r[a],c=s[f].name)if(s[f].variadic){for(y=[],e=a;v>e;e++)y.push(r[e].value.eval(t));l.prependRule(new n.Rule(c,new n.Expression(y).eval(t)))}else{if(h=o&&o.value)h=h.eval(t);else{if(!s[f].value)throw{type:"Runtime",message:"wrong number of arguments for "+this.name+" ("+v+" for "+this.arity+")"};h=s[f].value.eval(i);l.resetCache()}l.prependRule(new n.Rule(c,h));u[f]=h}if(s[f].variadic&&r)for(e=a;v>e;e++)u[e]=r[e].value.eval(t);a++}return l},eval:function(t){return new n.mixin.Definition(this.name,this.params,this.rules,this.condition,this.variadic,this.frames||t.frames.slice(0))},evalCall:function(t,i,r){var f,u,e=[],o=this.frames?this.frames.concat(t.frames):t.frames,s=this.evalParams(t,new n.evalEnv(t,o),i,e);return s.prependRule(new n.Rule("@arguments",new n.Expression(e).eval(t))),f=this.rules.slice(0),u=new n.Ruleset(null,f),u.originalRuleset=this,u=u.eval(new n.evalEnv(t,[this,s].concat(o))),r&&(u=this.parent.makeImportant.apply(u)),u},matchCondition:function(t,i){return this.condition&&!this.condition.eval(new n.evalEnv(i,[this.evalParams(i,new n.evalEnv(i,this.frames?this.frames.concat(i.frames):i.frames),t,[])].concat(this.frames).concat(i.frames)))?!1:!0},matchArgs:function(n,t){var u,r=n&&n.length||0,i;if(this.variadic){if(r<this.required-1)return!1}else if(r<this.required||r>this.params.length)return!1;for(u=Math.min(r,this.arity),i=0;u>i;i++)if(!this.params[i].name&&!this.params[i].variadic&&n[i].value.eval(t).toCSS()!=this.params[i].value.eval(t).toCSS())return!1;return!0}}}(u("../tree")),function(n){n.Negative=function(n){this.value=n};n.Negative.prototype={type:"Negative",accept:function(n){this.value=n.visit(this.value)},genCSS:function(n,t){t.add("-");this.value.genCSS(n,t)},toCSS:n.toCSS,eval:function(t){return t.isMathOn()?new n.Operation("*",[new n.Dimension(-1),this.value]).eval(t):new n.Negative(this.value.eval(t))}}}(u("../tree")),function(n){n.Operation=function(n,t,i){this.op=n.trim();this.operands=t;this.isSpaced=i};n.Operation.prototype={type:"Operation",accept:function(n){this.operands=n.visit(this.operands)},eval:function(t){var i=this.operands[0].eval(t),r=this.operands[1].eval(t);if(t.isMathOn()){if(i instanceof n.Dimension&&r instanceof n.Color&&(i=i.toColor()),r instanceof n.Dimension&&i instanceof n.Color&&(r=r.toColor()),!i.operate)throw{type:"Operation",message:"Operation on an invalid type"};return i.operate(t,this.op,r)}return new n.Operation(this.op,[i,r],this.isSpaced)},genCSS:function(n,t){this.operands[0].genCSS(n,t);this.isSpaced&&t.add(" ");t.add(this.op);this.isSpaced&&t.add(" ");this.operands[1].genCSS(n,t)},toCSS:n.toCSS};n.operate=function(n,t,i,r){switch(t){case"+":return i+r;case"-":return i-r;case"*":return i*r;case"/":return i/r}}}(u("../tree")),function(n){n.Paren=function(n){this.value=n};n.Paren.prototype={type:"Paren",accept:function(n){this.value=n.visit(this.value)},genCSS:function(n,t){t.add("(");this.value.genCSS(n,t);t.add(")")},toCSS:n.toCSS,eval:function(t){return new n.Paren(this.value.eval(t))}}}(u("../tree")),function(n){n.Quoted=function(n,t,i,r,u){this.escaped=i;this.value=t||"";this.quote=n.charAt(0);this.index=r;this.currentFileInfo=u};n.Quoted.prototype={type:"Quoted",genCSS:function(n,t){this.escaped||t.add(this.quote,this.currentFileInfo,this.index);t.add(this.value);this.escaped||t.add(this.quote)},toCSS:n.toCSS,eval:function(t){var i=this,r=this.value.replace(/`([^`]+)`/g,function(r,u){return new n.JavaScript(u,i.index,!0).eval(t).value}).replace(/@\{([\w-]+)\}/g,function(r,u){var f=new n.Variable("@"+u,i.index,i.currentFileInfo).eval(t,!0);return f instanceof n.Quoted?f.value:f.toCSS()});return new n.Quoted(this.quote+r+this.quote,r,this.escaped,this.index,this.currentFileInfo)},compare:function(n){if(!n.toCSS)return-1;var t,i;return"Quoted"!==n.type||this.escaped||n.escaped?(t=this.toCSS(),i=n.toCSS()):(t=n.value,i=this.value),t===i?0:i>t?-1:1}}}(u("../tree")),function(n){function i(n,t){for(var r="",u=t.length,f={add:function(n){r+=n}},i=0;u>i;i++)t[i].eval(n).genCSS(n,f);return r}n.Rule=function(i,r,u,f,e,o,s,h){this.name=i;this.value=r instanceof n.Value||r instanceof n.Ruleset?r:new n.Value([r]);this.important=u?" "+u.trim():"";this.merge=f;this.index=e;this.currentFileInfo=o;this.inline=s||!1;this.variable=h!==t?h:i.charAt&&"@"===i.charAt(0)};n.Rule.prototype={type:"Rule",accept:function(n){this.value=n.visit(this.value)},genCSS:function(n,t){t.add(this.name+(n.compress?":":": "),this.currentFileInfo,this.index);try{this.value.genCSS(n,t)}catch(i){throw i.index=this.index,i.filename=this.currentFileInfo.filename,i;}t.add(this.important+(this.inline||n.lastRule&&n.compress?"":";"),this.currentFileInfo,this.index)},toCSS:n.toCSS,eval:function(t){var f,e=!1,r=this.name,o=this.variable;"string"!=typeof r&&(r=1===r.length&&r[0]instanceof n.Keyword?r[0].value:i(t,r),o=!1);"font"!==r||t.strictMath||(e=!0,t.strictMath=!0);try{if(f=this.value.eval(t),!this.variable&&"DetachedRuleset"===f.type)throw{message:"Rulesets cannot be evaluated on a property.",index:this.index,filename:this.currentFileInfo.filename};return new n.Rule(r,f,this.important,this.merge,this.index,this.currentFileInfo,this.inline,o)}catch(u){throw"number"!=typeof u.index&&(u.index=this.index,u.filename=this.currentFileInfo.filename),u;}finally{e&&(t.strictMath=!1)}},makeImportant:function(){return new n.Rule(this.name,this.value,"!important",this.merge,this.index,this.currentFileInfo,this.inline)}}}(u("../tree")),function(n){n.RulesetCall=function(n){this.variable=n};n.RulesetCall.prototype={type:"RulesetCall",accept:function(){},eval:function(t){var i=new n.Variable(this.variable).eval(t);return i.callEval(t)}}}(u("../tree")),function(n){n.Ruleset=function(n,t,i){this.selectors=n;this.rules=t;this._lookups={};this.strictImports=i};n.Ruleset.prototype={type:"Ruleset",accept:function(n){this.paths?n.visitArray(this.paths,!0):this.selectors&&(this.selectors=n.visitArray(this.selectors));this.rules&&this.rules.length&&(this.rules=n.visitArray(this.rules))},eval:function(t){var h,w,a,i,v=this.selectors,b=n.defaultFunc,y=!1,f,c,e,u,p,o,r,s,k,l;if(v&&(w=v.length)){for(h=[],b.error({type:"Syntax",message:"it is currently only allowed in parametric mixin guards,"}),i=0;w>i;i++)a=v[i].eval(t),h.push(a),a.evaldCondition&&(y=!0);b.reset()}else y=!0;for(e=this.rules?this.rules.slice(0):null,u=new n.Ruleset(h,e,this.strictImports),u.originalRuleset=this,u.root=this.root,u.firstRoot=this.firstRoot,u.allowImports=this.allowImports,this.debugInfo&&(u.debugInfo=this.debugInfo),y||(e.length=0),p=t.frames,p.unshift(u),o=t.selectors,o||(t.selectors=o=[]),o.unshift(this.selectors),(u.root||u.allowImports||!u.strictImports)&&u.evalImports(t),r=u.rules,s=r?r.length:0,i=0;s>i;i++)(r[i]instanceof n.mixin.Definition||r[i]instanceof n.DetachedRuleset)&&(r[i]=r[i].eval(t));for(k=t.mediaBlocks&&t.mediaBlocks.length||0,i=0;s>i;i++)r[i]instanceof n.mixin.Call?(e=r[i].eval(t).filter(function(t){return t instanceof n.Rule&&t.variable?!u.variable(t.name):!0}),r.splice.apply(r,[i,1].concat(e)),s+=e.length-1,i+=e.length-1,u.resetCache()):r[i]instanceof n.RulesetCall&&(e=r[i].eval(t).rules.filter(function(t){return t instanceof n.Rule&&t.variable?!1:!0}),r.splice.apply(r,[i,1].concat(e)),s+=e.length-1,i+=e.length-1,u.resetCache());for(i=0;i<r.length;i++)f=r[i],f instanceof n.mixin.Definition||f instanceof n.DetachedRuleset||(r[i]=f=f.eval?f.eval(t):f);for(i=0;i<r.length;i++)if(f=r[i],f instanceof n.Ruleset&&f.selectors&&1===f.selectors.length&&f.selectors[0].isJustParentSelector())for(r.splice(i--,1),l=0;l<f.rules.length;l++)c=f.rules[l],c instanceof n.Rule&&c.variable||r.splice(++i,0,c);if(p.shift(),o.shift(),t.mediaBlocks)for(i=k;i<t.mediaBlocks.length;i++)t.mediaBlocks[i].bubbleSelectors(h);return u},evalImports:function(t){var i,u,r=this.rules;if(r)for(i=0;i<r.length;i++)r[i]instanceof n.Import&&(u=r[i].eval(t),u&&u.length?(r.splice.apply(r,[i,1].concat(u)),i+=u.length-1):r.splice(i,1,u),this.resetCache())},makeImportant:function(){return new n.Ruleset(this.selectors,this.rules.map(function(n){return n.makeImportant?n.makeImportant():n}),this.strictImports)},matchArgs:function(n){return!n||0===n.length},matchCondition:function(t,i){var r=this.selectors[this.selectors.length-1];return r.evaldCondition?r.condition&&!r.condition.eval(new n.evalEnv(i,i.frames))?!1:!0:!1},resetCache:function(){this._rulesets=null;this._variables=null;this._lookups={}},variables:function(){return this._variables||(this._variables=this.rules?this.rules.reduce(function(t,i){return i instanceof n.Rule&&i.variable===!0&&(t[i.name]=i),t},{}):{}),this._variables},variable:function(n){return this.variables()[n]},rulesets:function(){if(!this.rules)return null;for(var i,f=n.Ruleset,e=n.mixin.Definition,r=[],u=this.rules,o=u.length,t=0;o>t;t++)i=u[t],(i instanceof f||i instanceof e)&&r.push(i);return r},prependRule:function(n){var t=this.rules;t?t.unshift(n):this.rules=[n]},find:function(t,i){i=i||this;var u,r=[],f=t.toCSS();return f in this._lookups?this._lookups[f]:(this.rulesets().forEach(function(f){if(f!==i)for(var e=0;e<f.selectors.length;e++)if(u=t.match(f.selectors[e])){t.elements.length>u?Array.prototype.push.apply(r,f.find(new n.Selector(t.elements.slice(u)),i)):r.push(f);break}}),this._lookups[f]=r,r)},genCSS:function(t,i){function k(t,i){return t.rules?!0:t instanceof n.Media||i&&t instanceof n.Comment?!0:t instanceof n.Directive||t instanceof n.Anonymous?t.isRulesetLike():!1}var r,h,y,a,u,c,p=[],f=[],s=[],e,l,o,w,v,b;for(t.tabLevel=t.tabLevel||0,this.root||t.tabLevel++,l=t.compress?"":Array(t.tabLevel+1).join("  "),o=t.compress?"":Array(t.tabLevel).join("  "),r=0;r<this.rules.length;r++)u=this.rules[r],k(u,this.root)?s.push(u):u.isCharset&&u.isCharset()?p.push(u):f.push(u);if(f=p.concat(f),!this.root){for(a=n.debugInfo(t,this,o),a&&(i.add(a),i.add(o)),v=this.paths,b=v.length,e=t.compress?",":",\n"+o,r=0;b>r;r++)if(c=v[r],w=c.length)for(r>0&&i.add(e),t.firstSelector=!0,c[0].genCSS(t,i),t.firstSelector=!1,h=1;w>h;h++)c[h].genCSS(t,i);i.add((t.compress?"{":" {\n")+l)}for(r=0;r<f.length;r++)u=f[r],r+1!==f.length||this.root&&0!==s.length&&!this.firstRoot||(t.lastRule=!0),u.genCSS?u.genCSS(t,i):u.value&&i.add(u.value.toString()),t.lastRule?t.lastRule=!1:i.add(t.compress?"":"\n"+l);if(this.root||(i.add(t.compress?"}":"\n"+o+"}"),t.tabLevel--),e=(t.compress?"":"\n")+(this.root?l:o),y=s.length)for(f.length&&e&&i.add(e),s[0].genCSS(t,i),r=1;y>r;r++)e&&i.add(e),s[r].genCSS(t,i);i.isEmpty()||t.compress||!this.firstRoot||i.add("\n")},toCSS:n.toCSS,markReferenced:function(){if(this.selectors)for(var n=0;n<this.selectors.length;n++)this.selectors[n].markReferenced()},joinSelectors:function(n,t,i){for(var r=0;r<i.length;r++)this.joinSelector(n,t,i[r])},joinSelector:function(t,i,r){for(var a,v,b,e,f,o,c,s,y,l,p,k,h,w,u=0;u<r.elements.length;u++)f=r.elements[u],"&"===f.value&&(b=!0);if(b){for(h=[],e=[[]],u=0;u<r.elements.length;u++)if(f=r.elements[u],"&"!==f.value)h.push(f);else{for(w=[],h.length>0&&this.mergeElementsOnToSelectors(h,e),a=0;a<e.length;a++)if(o=e[a],0===i.length)o.length>0&&(o[0].elements=o[0].elements.slice(0),o[0].elements.push(new n.Element(f.combinator,"",f.index,f.currentFileInfo))),w.push(o);else for(v=0;v<i.length;v++)c=i[v],s=[],y=[],p=!0,o.length>0?(s=o.slice(0),k=s.pop(),l=r.createDerived(k.elements.slice(0)),p=!1):l=r.createDerived([]),c.length>1&&(y=y.concat(c.slice(1))),c.length>0&&(p=!1,l.elements.push(new n.Element(f.combinator,c[0].elements[0].value,f.index,f.currentFileInfo)),l.elements=l.elements.concat(c[0].elements.slice(1))),p||s.push(l),s=s.concat(y),w.push(s);e=w;h=[]}for(h.length>0&&this.mergeElementsOnToSelectors(h,e),u=0;u<e.length;u++)e[u].length>0&&t.push(e[u])}else if(i.length>0)for(u=0;u<i.length;u++)t.push(i[u].concat(r));else t.push([r])},mergeElementsOnToSelectors:function(t,i){var u,r;if(0===i.length)return void i.push([new n.Selector(t)]);for(u=0;u<i.length;u++)r=i[u],r.length>0?r[r.length-1]=r[r.length-1].createDerived(r[r.length-1].elements.concat(t)):r.push(new n.Selector(t))}}}(u("../tree")),function(n){n.Selector=function(n,t,i,r,u,f){this.elements=n;this.extendList=t;this.condition=i;this.currentFileInfo=u||{};this.isReferenced=f;i||(this.evaldCondition=!0)};n.Selector.prototype={type:"Selector",accept:function(n){this.elements&&(this.elements=n.visitArray(this.elements));this.extendList&&(this.extendList=n.visitArray(this.extendList));this.condition&&(this.condition=n.visit(this.condition))},createDerived:function(t,i,r){r=null!=r?r:this.evaldCondition;var u=new n.Selector(t,i||this.extendList,null,this.index,this.currentFileInfo,this.isReferenced);return u.evaldCondition=r,u.mediaEmpty=this.mediaEmpty,u},match:function(n){var t,i,r=this.elements,u=r.length;if(n.CacheElements(),t=n._elements.length,0===t||t>u)return 0;for(i=0;t>i;i++)if(r[i].value!==n._elements[i])return 0;return t},CacheElements:function(){var r,n,i,t="";if(!this._elements){for(r=this.elements.length,i=0;r>i;i++)if(n=this.elements[i],t+=n.combinator.value,n.value.value){if("string"!=typeof n.value.value){t="";break}t+=n.value.value}else t+=n.value;this._elements=t.match(/[,&#\*\.\w-]([\w-]|(\\.))*/g);this._elements?"&"===this._elements[0]&&this._elements.shift():this._elements=[]}},isJustParentSelector:function(){return!this.mediaEmpty&&1===this.elements.length&&"&"===this.elements[0].value&&(" "===this.elements[0].combinator.value||""===this.elements[0].combinator.value)},eval:function(n){var r=this.condition&&this.condition.eval(n),t=this.elements,i=this.extendList;return t=t&&t.map(function(t){return t.eval(n)}),i=i&&i.map(function(t){return t.eval(n)}),this.createDerived(t,i,r)},genCSS:function(n,t){var i,r;if(n&&n.firstSelector||""!==this.elements[0].combinator.value||t.add(" ",this.currentFileInfo,this.index),!this._css)for(i=0;i<this.elements.length;i++)r=this.elements[i],r.genCSS(n,t)},toCSS:n.toCSS,markReferenced:function(){this.isReferenced=!0},getIsReferenced:function(){return!this.currentFileInfo.reference||this.isReferenced},getIsOutput:function(){return this.evaldCondition}}}(u("../tree")),function(n){n.UnicodeDescriptor=function(n){this.value=n};n.UnicodeDescriptor.prototype={type:"UnicodeDescriptor",genCSS:function(n,t){t.add(this.value)},toCSS:n.toCSS,eval:function(){return this}}}(u("../tree")),function(n){n.URL=function(n,t,i){this.value=n;this.currentFileInfo=t;this.isEvald=i};n.URL.prototype={type:"Url",accept:function(n){this.value=n.visit(this.value)},genCSS:function(n,t){t.add("url(");this.value.genCSS(n,t);t.add(")")},toCSS:n.toCSS,eval:function(t){var r,i=this.value.eval(t),f,u;return this.isEvald||(r=this.currentFileInfo&&this.currentFileInfo.rootpath,r&&"string"==typeof i.value&&t.isPathRelative(i.value)&&(i.quote||(r=r.replace(/[\(\)'"\s]/g,function(n){return"\\"+n})),i.value=r+i.value),i.value=t.normalizePath(i.value),!t.urlArgs||i.value.match(/^\s*data:/))||(f=-1===i.value.indexOf("?")?"?":"&",u=f+t.urlArgs,-1!==i.value.indexOf("#")?i.value=i.value.replace("#",u+"#"):i.value+=u),new n.URL(i,this.currentFileInfo,!0)}}}(u("../tree")),function(n){n.Value=function(n){this.value=n};n.Value.prototype={type:"Value",accept:function(n){this.value&&(this.value=n.visitArray(this.value))},eval:function(t){return 1===this.value.length?this.value[0].eval(t):new n.Value(this.value.map(function(n){return n.eval(t)}))},genCSS:function(n,t){for(var i=0;i<this.value.length;i++)this.value[i].genCSS(n,t),i+1<this.value.length&&t.add(n&&n.compress?",":", ")},toCSS:n.toCSS}}(u("../tree")),function(n){n.Variable=function(n,t,i){this.name=n;this.index=t;this.currentFileInfo=i||{}};n.Variable.prototype={type:"Variable",eval:function(t){var r,i=this.name;if(0===i.indexOf("@@")&&(i="@"+new n.Variable(i.slice(1)).eval(t).value),this.evaluating)throw{type:"Name",message:"Recursive variable definition for "+i,filename:this.currentFileInfo.file,index:this.index};if(this.evaluating=!0,r=n.find(t.frames,function(n){var r=n.variable(i);if(r)return r.value.eval(t)}))return this.evaluating=!1,r;throw{type:"Name",message:"variable "+i+" is undefined",filename:this.currentFileInfo.filename,index:this.index};}}}(u("../tree")),function(n){var r=["paths","optimization","files","contents","contentsIgnoredChars","relativeUrls","rootpath","strictImports","insecure","dumpLineNumbers","compress","processImports","syncImport","javascriptEnabled","mime","useFileCache","currentFileInfo"],i,t;n.parseEnv=function(n){if(t(n,this,r),this.contents||(this.contents={}),this.contentsIgnoredChars||(this.contentsIgnoredChars={}),this.files||(this.files={}),"string"==typeof this.paths&&(this.paths=[this.paths]),!this.currentFileInfo){var i=n&&n.filename||"input",u=i.replace(/[^\/\\]*$/,"");n&&(n.filename=null);this.currentFileInfo={filename:i,relativeUrls:this.relativeUrls,rootpath:n&&n.rootpath||"",currentDirectory:u,entryPath:u,rootFilename:i}}};i=["silent","verbose","compress","yuicompress","ieCompat","strictMath","strictUnits","cleancss","sourceMap","importMultiple","urlArgs"];n.evalEnv=function(n,r){t(n,this,i);this.frames=r||[]};n.evalEnv.prototype.inParenthesis=function(){this.parensStack||(this.parensStack=[]);this.parensStack.push(!0)};n.evalEnv.prototype.outOfParenthesis=function(){this.parensStack.pop()};n.evalEnv.prototype.isMathOn=function(){return this.strictMath?this.parensStack&&this.parensStack.length:!0};n.evalEnv.prototype.isPathRelative=function(n){return!/^(?:[a-z-]+:|\/)/.test(n)};n.evalEnv.prototype.normalizePath=function(n){var t,i=n.split("/").reverse();for(n=[];0!==i.length;)switch(t=i.pop()){case".":break;case"..":0===n.length||".."===n[n.length-1]?n.push(t):n.pop();break;default:n.push(t)}return n.join("/")};t=function(n,t,i){if(n)for(var r=0;r<i.length;r++)n.hasOwnProperty(i[r])&&(t[i[r]]=n[i[r]])}}(u("./tree")),function(n){function t(n){return n}function i(n,t){var u,r;for(u in n)if(n.hasOwnProperty(u))switch(r=n[u],typeof r){case"function":r.prototype&&r.prototype.type&&(r.prototype.typeIndex=t++);break;case"object":t=i(r,t)}return t}var u={visitDeeper:!0},r=!1;n.visitor=function(t){this._implementation=t;this._visitFnCache=[];r||(i(n,1),r=!0)};n.visitor.prototype={visit:function(n){var o,a;if(!n||(o=n.typeIndex,!o))return n;var s,f=this._visitFnCache,i=this._implementation,h=o<<1,l=1|h,r=f[h],e=f[l],c=u;return(c.visitDeeper=!0,r||(s="visit"+n.type,r=i[s]||t,e=i[s+"Out"]||t,f[h]=r,f[l]=e),r!==t)&&(a=r.call(i,n,c),i.isReplacing&&(n=a)),c.visitDeeper&&n&&n.accept&&n.accept(this),e!=t&&e.call(i,n),n},visitArray:function(n,t){var i,f,u,r;if(!n)return n;if(f=n.length,t||!this._implementation.isReplacing){for(i=0;f>i;i++)this.visit(n[i]);return n}for(u=[],i=0;f>i;i++)r=this.visit(n[i]),r.splice?r.length&&this.flatten(r,u):u.push(r);return u},flatten:function(n,t){t||(t=[]);for(var i,o,f,r,u=0,e=n.length;e>u;u++)if(i=n[u],i.splice)for(f=0,o=i.length;o>f;f++)r=i[f],r.splice?r.length&&this.flatten(r,t):t.push(r);else t.push(i);return t}}}(u("./tree")),function(n){n.importVisitor=function(t,i,r,u,f){if(this._visitor=new n.visitor(this),this._importer=t,this._finish=i,this.env=r||new n.evalEnv,this.importCount=0,this.onceFileDetectionMap=u||{},this.recursionDetector={},f)for(var e in f)f.hasOwnProperty(e)&&(this.recursionDetector[e]=!0)};n.importVisitor.prototype={isReplacing:!0,run:function(n){var t;try{this._visitor.visit(n)}catch(i){t=i}this.isFinished=!0;0===this.importCount&&this._finish(t)},visitImport:function(t,i){var f,r=this,o=t.options.inline,u;if(!t.css||o){try{f=t.evalForImport(this.env)}catch(e){e.filename||(e.index=t.index,e.filename=t.currentFileInfo.filename);t.css=!0;t.error=e}f&&(!f.css||o)&&(t=f,this.importCount++,u=new n.evalEnv(this.env,this.env.frames.slice(0)),t.options.multiple&&(u.importMultiple=!0),this._importer.push(t.getPath(),t.currentFileInfo,t.options,function(i,f,e,s){var h,c;return i&&!i.filename&&(i.index=t.index,i.filename=t.currentFileInfo.filename),h=e||s in r.recursionDetector,u.importMultiple||(t.skip=h?!0:function(){return s in r.onceFileDetectionMap?!0:(r.onceFileDetectionMap[s]=!0,!1)}),c=function(n){r.importCount--;0===r.importCount&&r.isFinished&&r._finish(n)},!f||(t.root=f,t.importedFilename=s,o||!u.importMultiple&&h)?void c():(r.recursionDetector[s]=!0,void new n.importVisitor(r._importer,c,u,r.onceFileDetectionMap,r.recursionDetector).run(f))}))}return i.visitDeeper=!1,t},visitRule:function(n,t){return t.visitDeeper=!1,n},visitDirective:function(n){return this.env.frames.unshift(n),n},visitDirectiveOut:function(){this.env.frames.shift()},visitMixinDefinition:function(n){return this.env.frames.unshift(n),n},visitMixinDefinitionOut:function(){this.env.frames.shift()},visitRuleset:function(n){return this.env.frames.unshift(n),n},visitRulesetOut:function(){this.env.frames.shift()},visitMedia:function(n){return this.env.frames.unshift(n.rules[0]),n},visitMediaOut:function(){this.env.frames.shift()}}}(u("./tree")),function(n){n.joinSelectorVisitor=function(){this.contexts=[[]];this._visitor=new n.visitor(this)};n.joinSelectorVisitor.prototype={run:function(n){return this._visitor.visit(n)},visitRule:function(n,t){t.visitDeeper=!1},visitMixinDefinition:function(n,t){t.visitDeeper=!1},visitRuleset:function(n){var t,r=this.contexts[this.contexts.length-1],i=[];this.contexts.push(i);n.root||(t=n.selectors,t&&(t=t.filter(function(n){return n.getIsOutput()}),n.selectors=t.length?t:t=null,t&&n.joinSelectors(i,r,t)),t||(n.rules=null),n.paths=i)},visitRulesetOut:function(){this.contexts.length=this.contexts.length-1},visitMedia:function(n){var t=this.contexts[this.contexts.length-1];n.rules[0].root=0===t.length||t[0].multiMedia}}}(u("./tree")),function(n){n.toCSSVisitor=function(t){this._visitor=new n.visitor(this);this._env=t};n.toCSSVisitor.prototype={isReplacing:!0,run:function(n){return this._visitor.visit(n)},visitRule:function(n){return n.variable?[]:n},visitMixinDefinition:function(n){return n.frames=[],[]},visitExtend:function(){return[]},visitComment:function(n){return n.isSilent(this._env)?[]:n},visitMedia:function(n,t){return n.accept(this._visitor),t.visitDeeper=!1,n.rules.length?n:[]},visitDirective:function(t){if(t.currentFileInfo.reference&&!t.isReferenced)return[];if("@charset"===t.name){if(this.charset){if(t.debugInfo){var i=new n.Comment("/* "+t.toCSS(this._env).replace(/\n/g,"")+" */\n");return i.debugInfo=t.debugInfo,this._visitor.visit(i)}return[]}this.charset=!0}return t.rules&&t.rules.rules&&this._mergeRules(t.rules.rules),t},checkPropertiesInRoot:function(t){for(var i,r=0;r<t.length;r++)if(i=t[r],i instanceof n.Rule&&!i.variable)throw{message:"properties must be inside selector blocks, they cannot be in the root.",index:i.index,filename:i.currentFileInfo?i.currentFileInfo.filename:null};},visitRuleset:function(t,i){var f,u=[];if(t.firstRoot&&this.checkPropertiesInRoot(t.rules),t.root)t.accept(this._visitor),i.visitDeeper=!1,(t.firstRoot||t.rules&&t.rules.length>0)&&u.splice(0,0,t);else{t.paths&&(t.paths=t.paths.filter(function(t){var i;for(" "===t[0].elements[0].combinator.value&&(t[0].elements[0].combinator=new n.Combinator("")),i=0;i<t.length;i++)if(t[i].getIsReferenced()&&t[i].getIsOutput())return!0;return!1}));for(var r=t.rules,o=r?r.length:0,e=0;o>e;)f=r[e],f&&f.rules?(u.push(this._visitor.visit(f)),r.splice(e,1),o--):e++;o>0?t.accept(this._visitor):t.rules=null;i.visitDeeper=!1;r=t.rules;r&&(this._mergeRules(r),r=t.rules);r&&(this._removeDuplicateRules(r),r=t.rules);r&&r.length>0&&t.paths.length>0&&u.splice(0,0,t)}return 1===u.length?u[0]:u},_removeDuplicateRules:function(t){var u,i,f,r,e;if(t)for(r={},f=t.length-1;f>=0;f--)(i=t[f],i instanceof n.Rule)&&(r[i.name]?(u=r[i.name],u instanceof n.Rule&&(u=r[i.name]=[r[i.name].toCSS(this._env)]),e=i.toCSS(this._env),-1!==u.indexOf(e)?t.splice(f,1):u.push(e)):r[i.name]=i)},_mergeRules:function(t){if(t){for(var u,i,f,r={},e=0;e<t.length;e++)i=t[e],i instanceof n.Rule&&i.merge&&(f=[i.name,i.important?"!":""].join(","),r[f]?t.splice(e--,1):r[f]=[],r[f].push(i));Object.keys(r).map(function(t){function o(t){return new n.Expression(t.map(function(n){return n.value}))}function s(t){return new n.Value(t.map(function(n){return n}))}if(u=r[t],u.length>1){i=u[0];var e=[],f=[];u.map(function(n){"+"===n.merge&&(f.length>0&&e.push(o(f)),f=[]);f.push(n)});e.push(o(f));i.value=s(e)}})}}}}(u("./tree")),function(n){n.extendFinderVisitor=function(){this._visitor=new n.visitor(this);this.contexts=[];this.allExtendsStack=[[]]};n.extendFinderVisitor.prototype={run:function(n){return n=this._visitor.visit(n),n.allExtends=this.allExtendsStack[0],n},visitRule:function(n,t){t.visitDeeper=!1},visitMixinDefinition:function(n,t){t.visitDeeper=!1},visitRuleset:function(t){var s;if(!t.root){for(var u,f,r,e=[],o=t.rules,l=o?o.length:0,i=0;l>i;i++)t.rules[i]instanceof n.Extend&&(e.push(o[i]),t.extendOnEveryPath=!0);for(s=t.paths,i=0;i<s.length;i++){var h=s[i],a=h[h.length-1],c=a.extendList;for(r=c?c.slice(0).concat(e):e,r&&(r=r.map(function(n){return n.clone()})),u=0;u<r.length;u++)this.foundExtends=!0,f=r[u],f.findSelfSelectors(h),f.ruleset=t,0===u&&(f.firstExtendOnThisSelectorPath=!0),this.allExtendsStack[this.allExtendsStack.length-1].push(f)}this.contexts.push(t.selectors)}},visitRulesetOut:function(n){n.root||(this.contexts.length=this.contexts.length-1)},visitMedia:function(n){n.allExtends=[];this.allExtendsStack.push(n.allExtends)},visitMediaOut:function(){this.allExtendsStack.length=this.allExtendsStack.length-1},visitDirective:function(n){n.allExtends=[];this.allExtendsStack.push(n.allExtends)},visitDirectiveOut:function(){this.allExtendsStack.length=this.allExtendsStack.length-1}};n.processExtendsVisitor=function(){this._visitor=new n.visitor(this)};n.processExtendsVisitor.prototype={run:function(t){var i=new n.extendFinderVisitor;return i.run(t),i.foundExtends?(t.allExtends=t.allExtends.concat(this.doExtendChaining(t.allExtends,t.allExtends)),this.allExtendsStack=[t.allExtends],this._visitor.visit(t)):t},doExtendChaining:function(t,i,r){var h,c,l,o,a,s,u,f,e=[],v=this,y,p;for(r=r||0,h=0;h<t.length;h++)for(c=0;c<i.length;c++)s=t[h],u=i[c],s.parent_ids.indexOf(u.object_id)>=0||(a=[u.selfSelectors[0]],l=v.findMatch(s,a),l.length&&s.selfSelectors.forEach(function(t){o=v.extendSelector(l,a,t);f=new n.Extend(u.selector,u.option,0);f.selfSelectors=o;o[o.length-1].extendList=[f];e.push(f);f.ruleset=u.ruleset;f.parent_ids=f.parent_ids.concat(u.parent_ids,s.parent_ids);u.firstExtendOnThisSelectorPath&&(f.firstExtendOnThisSelectorPath=!0,u.ruleset.paths.push(o))}));if(e.length){if(this.extendChainCount++,r>100){y="{unable to calculate}";p="{unable to calculate}";try{y=e[0].selfSelectors[0].toCSS();p=e[0].selector.toCSS()}catch(w){}throw{message:"extend circular reference detected. One of the circular extends is currently:"+y+":extend("+p+")"};}return e.concat(v.doExtendChaining(e,i,r+1))}return e},visitRule:function(n,t){t.visitDeeper=!1},visitMixinDefinition:function(n,t){t.visitDeeper=!1},visitSelector:function(n,t){t.visitDeeper=!1},visitRuleset:function(n){var e;if(!n.root){for(var u,r,i,f=this.allExtendsStack[this.allExtendsStack.length-1],o=[],s=this,t=0;t<f.length;t++)for(r=0;r<n.paths.length;r++)(i=n.paths[r],n.extendOnEveryPath)||(e=i[i.length-1].extendList,e&&e.length||(u=this.findMatch(f[t],i),u.length&&f[t].selfSelectors.forEach(function(n){o.push(s.extendSelector(u,i,n))})));n.paths=n.paths.concat(o)}},findMatch:function(n,t){for(var o,r,s,h,f,i,a=this,c=n.selector.elements,e=[],l=[],u=0;u<t.length;u++)for(o=t[u],r=0;r<o.elements.length;r++)for(s=o.elements[r],(n.allowBefore||0===u&&0===r)&&e.push({pathIndex:u,index:r,matched:0,initialCombinator:s.combinator}),f=0;f<e.length;f++)i=e[f],h=s.combinator.value,""===h&&0===r&&(h=" "),!a.isElementValuesEqual(c[i.matched].value,s.value)||i.matched>0&&c[i.matched].combinator.value!==h?i=null:i.matched++,i&&(i.finished=i.matched===c.length,i.finished&&!n.allowAfter&&(r+1<o.elements.length||u+1<t.length)&&(i=null)),i?i.finished&&(i.length=c.length,i.endPathIndex=u,i.endPathElementIndex=r+1,e.length=0,l.push(i)):(e.splice(f,1),f--);return l},isElementValuesEqual:function(t,i){if("string"==typeof t||"string"==typeof i)return t===i;if(t instanceof n.Attribute)return t.op!==i.op||t.key!==i.key?!1:t.value&&i.value?(t=t.value.value||t.value,i=i.value.value||i.value,t===i):t.value||i.value?!1:!0;if(t=t.value,i=i.value,t instanceof n.Selector){if(!(i instanceof n.Selector)||t.elements.length!==i.elements.length)return!1;for(var r=0;r<t.elements.length;r++)if(t.elements[r].combinator.value!==i.elements[r].combinator.value&&(0!==r||(t.elements[r].combinator.value||" ")!==(i.elements[r].combinator.value||" "))||!this.isElementValuesEqual(t.elements[r].value,i.elements[r].value))return!1;return!0}return!1},extendSelector:function(t,i,r){for(var c,l,e,h,f=0,o=0,u=[],s=0;s<t.length;s++)e=t[s],c=i[e.pathIndex],l=new n.Element(e.initialCombinator,r.elements[0].value,r.elements[0].index,r.elements[0].currentFileInfo),e.pathIndex>f&&o>0&&(u[u.length-1].elements=u[u.length-1].elements.concat(i[f].elements.slice(o)),o=0,f++),h=c.elements.slice(o,e.index).concat([l]).concat(r.elements.slice(1)),f===e.pathIndex&&s>0?u[u.length-1].elements=u[u.length-1].elements.concat(h):(u=u.concat(i.slice(f,e.pathIndex)),u.push(new n.Selector(h))),f=e.endPathIndex,o=e.endPathElementIndex,o>=i[f].elements.length&&(o=0,f++);return f<i.length&&o>0&&(u[u.length-1].elements=u[u.length-1].elements.concat(i[f].elements.slice(o)),f++),u=u.concat(i.slice(f,i.length))},visitRulesetOut:function(){},visitMedia:function(n){var t=n.allExtends.concat(this.allExtendsStack[this.allExtendsStack.length-1]);t=t.concat(this.doExtendChaining(t,n.allExtends));this.allExtendsStack.push(t)},visitMediaOut:function(){this.allExtendsStack.length=this.allExtendsStack.length-1},visitDirective:function(n){var t=n.allExtends.concat(this.allExtendsStack[this.allExtendsStack.length-1]);t=t.concat(this.doExtendChaining(t,n.allExtends));this.allExtendsStack.push(t)},visitDirectiveOut:function(){this.allExtendsStack.length=this.allExtendsStack.length-1}}}(u("./tree")),function(n){n.sourceMapOutput=function(n){this._css=[];this._rootNode=n.rootNode;this._writeSourceMap=n.writeSourceMap;this._contentsMap=n.contentsMap;this._contentsIgnoredCharsMap=n.contentsIgnoredCharsMap;this._sourceMapFilename=n.sourceMapFilename;this._outputFilename=n.outputFilename;this._sourceMapURL=n.sourceMapURL;n.sourceMapBasepath&&(this._sourceMapBasepath=n.sourceMapBasepath.replace(/\\/g,"/"));this._sourceMapRootpath=n.sourceMapRootpath;this._outputSourceFiles=n.outputSourceFiles;this._sourceMapGeneratorConstructor=n.sourceMapGenerator||u("source-map").SourceMapGenerator;this._sourceMapRootpath&&"/"!==this._sourceMapRootpath.charAt(this._sourceMapRootpath.length-1)&&(this._sourceMapRootpath+="/");this._lineNumber=0;this._column=0};n.sourceMapOutput.prototype.normalizeFilename=function(n){return n=n.replace(/\\/g,"/"),this._sourceMapBasepath&&0===n.indexOf(this._sourceMapBasepath)&&(n=n.substring(this._sourceMapBasepath.length),("\\"===n.charAt(0)||"/"===n.charAt(0))&&(n=n.substring(1))),(this._sourceMapRootpath||"")+n};n.sourceMapOutput.prototype.add=function(n,t,i,r){var f,o,s,h,u,e;if(n){if(t&&(e=this._contentsMap[t.filename],this._contentsIgnoredCharsMap[t.filename]&&(i-=this._contentsIgnoredCharsMap[t.filename],0>i&&(i=0),e=e.slice(this._contentsIgnoredCharsMap[t.filename])),e=e.substring(0,i),o=e.split("\n"),h=o[o.length-1]),f=n.split("\n"),s=f[f.length-1],t)if(r)for(u=0;u<f.length;u++)this._sourceMapGenerator.addMapping({generated:{line:this._lineNumber+u+1,column:0===u?this._column:0},original:{line:o.length+u,column:0===u?h.length:0},source:this.normalizeFilename(t.filename)});else this._sourceMapGenerator.addMapping({generated:{line:this._lineNumber+1,column:this._column},original:{line:o.length,column:h.length},source:this.normalizeFilename(t.filename)});1===f.length?this._column+=s.length:(this._lineNumber+=f.length-1,this._column=s.length);this._css.push(n)}};n.sourceMapOutput.prototype.isEmpty=function(){return 0===this._css.length};n.sourceMapOutput.prototype.toCSS=function(n){var t,r,i,f;if(this._sourceMapGenerator=new this._sourceMapGeneratorConstructor({file:this._outputFilename,sourceRoot:null}),this._outputSourceFiles)for(t in this._contentsMap)this._contentsMap.hasOwnProperty(t)&&(r=this._contentsMap[t],this._contentsIgnoredCharsMap[t]&&(r=r.slice(this._contentsIgnoredCharsMap[t])),this._sourceMapGenerator.setSourceContent(this.normalizeFilename(t),r));return(this._rootNode.genCSS(n,this),this._css.length>0)&&(f=JSON.stringify(this._sourceMapGenerator.toJSON()),this._sourceMapURL?i=this._sourceMapURL:this._sourceMapFilename&&(i=this.normalizeFilename(this._sourceMapFilename)),this._writeSourceMap?this._writeSourceMap(f):i="data:application/json;base64,"+u("./encoder.js").encodeBase64(f),i&&this._css.push("/*# sourceMappingURL="+i+" */")),this._css.join("")}}(u("./tree")),c=/^(file|chrome(-extension)?|resource|qrc|app):/.test(location.protocol),i.env=i.env||("127.0.0.1"==location.hostname||"0.0.0.0"==location.hostname||"localhost"==location.hostname||location.port&&location.port.length>0||c?"development":"production"),f={debug:3,info:2,errors:1,none:0},i.logLevel="undefined"!=typeof i.logLevel?i.logLevel:"development"===i.env?f.debug:f.errors,i.async=i.async||!1,i.fileAsync=i.fileAsync||!1,i.poll=i.poll||(c?1e3:1500),i.functions)for(v in i.functions)i.functions.hasOwnProperty(v)&&(i.tree.functions[v]=i.functions[v]);w=/!dumpLineNumbers:(comments|mediaquery|all)/.exec(location.hash);w&&(i.dumpLineNumbers=w[1]);var tt=/^text\/(x-)?less$/,o=null,b={};if(i.watch=function(){return i.watchMode||(i.env="development",lt()),this.watchMode=!0,!0},i.unwatch=function(){return clearInterval(i.watchTimer),this.watchMode=!1,!1},/!watch/.test(location.hash)&&i.watch(),"development"!=i.env)try{o="undefined"==typeof n.localStorage?null:n.localStorage}catch(at){}for(h=document.getElementsByTagName("link"),i.sheets=[],s=0;s<h.length;s++)("stylesheet/less"===h[s].rel||h[s].rel.match(/stylesheet/)&&h[s].type.match(tt))&&i.sheets.push(h[s]);i.modifyVars=function(n){i.refresh(!1,n)};i.refresh=function(n,t){var u,r;u=r=new Date;nt(function(n,t,o,s,h){if(n)return p(n,s.href);if(h.local)e("loading "+s.href+" from cache.",f.info);else{e("parsed "+s.href+" successfully.",f.debug);var c=t.toCSS(i);c=k(c);l(c,s,h.lastModified)}e("css for "+s.href+" generated in "+(new Date-r)+"ms",f.info);0===h.remaining&&e("less has finished. css generated in "+(new Date-u)+"ms",f.info);r=new Date},n,t);d(t)};i.refreshStyles=d;i.Parser.fileLoader=g;i.refresh("development"===i.env);"function"==typeof define&&define.amd&&define(function(){return i})}(window),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(n){"use strict";var t=n.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher");}(jQuery);+function(n){"use strict";function t(){var i=document.createElement("bootstrap"),n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var t in n)if(void 0!==i.style[t])return{end:n[t]};return!1}n.fn.emulateTransitionEnd=function(t){var i=!1,u=this,r;n(this).one("bsTransitionEnd",function(){i=!0});return r=function(){i||n(u).trigger(n.support.transition.end)},setTimeout(r,t),this};n(function(){n.support.transition=t();n.support.transition&&(n.event.special.bsTransitionEnd={bindType:n.support.transition.end,delegateType:n.support.transition.end,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery);+function(n){"use strict";function u(i){return this.each(function(){var r=n(this),u=r.data("bs.alert");u||r.data("bs.alert",u=new t(this));"string"==typeof i&&u[i].call(r)})}var i='[data-dismiss="alert"]',t=function(t){n(t).on("click",i,this.close)},r;t.VERSION="3.3.5";t.TRANSITION_DURATION=150;t.prototype.close=function(i){function e(){r.detach().trigger("closed.bs.alert").remove()}var f=n(this),u=f.attr("data-target"),r;u||(u=f.attr("href"),u=u&&u.replace(/.*(?=#[^\s]*$)/,""));r=n(u);i&&i.preventDefault();r.length||(r=f.closest(".alert"));r.trigger(i=n.Event("close.bs.alert"));i.isDefaultPrevented()||(r.removeClass("in"),n.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",e).emulateTransitionEnd(t.TRANSITION_DURATION):e())};r=n.fn.alert;n.fn.alert=u;n.fn.alert.Constructor=t;n.fn.alert.noConflict=function(){return n.fn.alert=r,this};n(document).on("click.bs.alert.data-api",i,t.prototype.close)}(jQuery);+function(n){"use strict";function i(i){return this.each(function(){var u=n(this),r=u.data("bs.button"),f="object"==typeof i&&i;r||u.data("bs.button",r=new t(this,f));"toggle"==i?r.toggle():i&&r.setState(i)})}var t=function(i,r){this.$element=n(i);this.options=n.extend({},t.DEFAULTS,r);this.isLoading=!1},r;t.VERSION="3.3.5";t.DEFAULTS={loadingText:"loading..."};t.prototype.setState=function(t){var r="disabled",i=this.$element,f=i.is("input")?"val":"html",u=i.data();t+="Text";null==u.resetText&&i.data("resetText",i[f]());setTimeout(n.proxy(function(){i[f](null==u[t]?this.options[t]:u[t]);"loadingText"==t?(this.isLoading=!0,i.addClass(r).attr(r,r)):this.isLoading&&(this.isLoading=!1,i.removeClass(r).removeAttr(r))},this),0)};t.prototype.toggle=function(){var t=!0,i=this.$element.closest('[data-toggle="buttons"]'),n;i.length?(n=this.$element.find("input"),"radio"==n.prop("type")?(n.prop("checked")&&(t=!1),i.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),t&&n.trigger("change")):(this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active"))};r=n.fn.button;n.fn.button=i;n.fn.button.Constructor=t;n.fn.button.noConflict=function(){return n.fn.button=r,this};n(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var r=n(t.target);r.hasClass("btn")||(r=r.closest(".btn"));i.call(r,"toggle");n(t.target).is('input[type="radio"]')||n(t.target).is('input[type="checkbox"]')||t.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){n(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery);+function(n){"use strict";function i(i){return this.each(function(){var u=n(this),r=u.data("bs.carousel"),f=n.extend({},t.DEFAULTS,u.data(),"object"==typeof i&&i),e="string"==typeof i?i:f.slide;r||u.data("bs.carousel",r=new t(this,f));"number"==typeof i?r.to(i):e?r[e]():f.interval&&r.pause().cycle()})}var t=function(t,i){this.$element=n(t);this.$indicators=this.$element.find(".carousel-indicators");this.options=i;this.paused=null;this.sliding=null;this.interval=null;this.$active=null;this.$items=null;this.options.keyboard&&this.$element.on("keydown.bs.carousel",n.proxy(this.keydown,this));"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",n.proxy(this.pause,this)).on("mouseleave.bs.carousel",n.proxy(this.cycle,this))},u,r;t.VERSION="3.3.5";t.TRANSITION_DURATION=600;t.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0};t.prototype.keydown=function(n){if(!/input|textarea/i.test(n.target.tagName)){switch(n.which){case 37:this.prev();break;case 39:this.next();break;default:return}n.preventDefault()}};t.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(n.proxy(this.next,this),this.options.interval)),this};t.prototype.getItemIndex=function(n){return this.$items=n.parent().children(".item"),this.$items.index(n||this.$active)};t.prototype.getItemForDirection=function(n,t){var i=this.getItemIndex(t),f="prev"==n&&0===i||"next"==n&&i==this.$items.length-1,r,u;return f&&!this.options.wrap?t:(r="prev"==n?-1:1,u=(i+r)%this.$items.length,this.$items.eq(u))};t.prototype.to=function(n){var i=this,t=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(n>this.$items.length-1)&&!(0>n))return this.sliding?this.$element.one("slid.bs.carousel",function(){i.to(n)}):t==n?this.pause().cycle():this.slide(n>t?"next":"prev",this.$items.eq(n))};t.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&n.support.transition&&(this.$element.trigger(n.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this};t.prototype.next=function(){if(!this.sliding)return this.slide("next")};t.prototype.prev=function(){if(!this.sliding)return this.slide("prev")};t.prototype.slide=function(i,r){var e=this.$element.find(".item.active"),u=r||this.getItemForDirection(i,e),l=this.interval,f="next"==i?"left":"right",a=this,o,s,h,c;return u.hasClass("active")?this.sliding=!1:(o=u[0],s=n.Event("slide.bs.carousel",{relatedTarget:o,direction:f}),(this.$element.trigger(s),!s.isDefaultPrevented())?((this.sliding=!0,l&&this.pause(),this.$indicators.length)&&(this.$indicators.find(".active").removeClass("active"),h=n(this.$indicators.children()[this.getItemIndex(u)]),h&&h.addClass("active")),c=n.Event("slid.bs.carousel",{relatedTarget:o,direction:f}),n.support.transition&&this.$element.hasClass("slide")?(u.addClass(i),u[0].offsetWidth,e.addClass(f),u.addClass(f),e.one("bsTransitionEnd",function(){u.removeClass([i,f].join(" ")).addClass("active");e.removeClass(["active",f].join(" "));a.sliding=!1;setTimeout(function(){a.$element.trigger(c)},0)}).emulateTransitionEnd(t.TRANSITION_DURATION)):(e.removeClass("active"),u.addClass("active"),this.sliding=!1,this.$element.trigger(c)),l&&this.cycle(),this):void 0)};u=n.fn.carousel;n.fn.carousel=i;n.fn.carousel.Constructor=t;n.fn.carousel.noConflict=function(){return n.fn.carousel=u,this};r=function(t){var o,r=n(this),u=n(r.attr("data-target")||(o=r.attr("href"))&&o.replace(/.*(?=#[^\s]+$)/,"")),e,f;u.hasClass("carousel")&&(e=n.extend({},u.data(),r.data()),f=r.attr("data-slide-to"),f&&(e.interval=!1),i.call(u,e),f&&u.data("bs.carousel").to(f),t.preventDefault())};n(document).on("click.bs.carousel.data-api","[data-slide]",r).on("click.bs.carousel.data-api","[data-slide-to]",r);n(window).on("load",function(){n('[data-ride="carousel"]').each(function(){var t=n(this);i.call(t,t.data())})})}(jQuery);+function(n){"use strict";function r(t){var i,r=t.attr("data-target")||(i=t.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"");return n(r)}function i(i){return this.each(function(){var u=n(this),r=u.data("bs.collapse"),f=n.extend({},t.DEFAULTS,u.data(),"object"==typeof i&&i);!r&&f.toggle&&/show|hide/.test(i)&&(f.toggle=!1);r||u.data("bs.collapse",r=new t(this,f));"string"==typeof i&&r[i]()})}var t=function(i,r){this.$element=n(i);this.options=n.extend({},t.DEFAULTS,r);this.$trigger=n('[data-toggle="collapse"][href="#'+i.id+'"],[data-toggle="collapse"][data-target="#'+i.id+'"]');this.transitioning=null;this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger);this.options.toggle&&this.toggle()},u;t.VERSION="3.3.5";t.TRANSITION_DURATION=350;t.DEFAULTS={toggle:!0};t.prototype.dimension=function(){var n=this.$element.hasClass("width");return n?"width":"height"};t.prototype.show=function(){var f,r,e,u,o,s;if(!this.transitioning&&!this.$element.hasClass("in")&&(r=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing"),!(r&&r.length&&(f=r.data("bs.collapse"),f&&f.transitioning))&&(e=n.Event("show.bs.collapse"),this.$element.trigger(e),!e.isDefaultPrevented()))){if(r&&r.length&&(i.call(r,"hide"),f||r.data("bs.collapse",null)),u=this.dimension(),this.$element.removeClass("collapse").addClass("collapsing")[u](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1,o=function(){this.$element.removeClass("collapsing").addClass("collapse in")[u]("");this.transitioning=0;this.$element.trigger("shown.bs.collapse")},!n.support.transition)return o.call(this);s=n.camelCase(["scroll",u].join("-"));this.$element.one("bsTransitionEnd",n.proxy(o,this)).emulateTransitionEnd(t.TRANSITION_DURATION)[u](this.$element[0][s])}};t.prototype.hide=function(){var r,i,u;if(!this.transitioning&&this.$element.hasClass("in")&&(r=n.Event("hide.bs.collapse"),this.$element.trigger(r),!r.isDefaultPrevented()))return i=this.dimension(),this.$element[i](this.$element[i]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1,u=function(){this.transitioning=0;this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")},n.support.transition?void this.$element[i](0).one("bsTransitionEnd",n.proxy(u,this)).emulateTransitionEnd(t.TRANSITION_DURATION):u.call(this)};t.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};t.prototype.getParent=function(){return n(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(n.proxy(function(t,i){var u=n(i);this.addAriaAndCollapsedClass(r(u),u)},this)).end()};t.prototype.addAriaAndCollapsedClass=function(n,t){var i=n.hasClass("in");n.attr("aria-expanded",i);t.toggleClass("collapsed",!i).attr("aria-expanded",i)};u=n.fn.collapse;n.fn.collapse=i;n.fn.collapse.Constructor=t;n.fn.collapse.noConflict=function(){return n.fn.collapse=u,this};n(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var u=n(this);u.attr("data-target")||t.preventDefault();var f=r(u),e=f.data("bs.collapse"),o=e?"toggle":u.data();i.call(f,o)})}(jQuery);+function(n){"use strict";function r(t){var i=t.attr("data-target"),r;return i||(i=t.attr("href"),i=i&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,"")),r=i&&n(i),r&&r.length?r:t.parent()}function u(t){t&&3===t.which||(n(o).remove(),n(i).each(function(){var u=n(this),i=r(u),f={relatedTarget:this};i.hasClass("open")&&(t&&"click"==t.type&&/input|textarea/i.test(t.target.tagName)&&n.contains(i[0],t.target)||(i.trigger(t=n.Event("hide.bs.dropdown",f)),t.isDefaultPrevented()||(u.attr("aria-expanded","false"),i.removeClass("open").trigger("hidden.bs.dropdown",f))))}))}function e(i){return this.each(function(){var r=n(this),u=r.data("bs.dropdown");u||r.data("bs.dropdown",u=new t(this));"string"==typeof i&&u[i].call(r)})}var o=".dropdown-backdrop",i='[data-toggle="dropdown"]',t=function(t){n(t).on("click.bs.dropdown",this.toggle)},f;t.VERSION="3.3.5";t.prototype.toggle=function(t){var f=n(this),i,o,e;if(!f.is(".disabled, :disabled")){if(i=r(f),o=i.hasClass("open"),u(),!o){if("ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length&&n(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(n(this)).on("click",u),e={relatedTarget:this},i.trigger(t=n.Event("show.bs.dropdown",e)),t.isDefaultPrevented())return;f.trigger("focus").attr("aria-expanded","true");i.toggleClass("open").trigger("shown.bs.dropdown",e)}return!1}};t.prototype.keydown=function(t){var e,o,s,h,f,u;if(/(38|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)&&(e=n(this),t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled"))){if(o=r(e),s=o.hasClass("open"),!s&&27!=t.which||s&&27==t.which)return 27==t.which&&o.find(i).trigger("focus"),e.trigger("click");h=" li:not(.disabled):visible a";f=o.find(".dropdown-menu"+h);f.length&&(u=f.index(t.target),38==t.which&&u>0&&u--,40==t.which&&u<f.length-1&&u++,~u||(u=0),f.eq(u).trigger("focus"))}};f=n.fn.dropdown;n.fn.dropdown=e;n.fn.dropdown.Constructor=t;n.fn.dropdown.noConflict=function(){return n.fn.dropdown=f,this};n(document).on("click.bs.dropdown.data-api",u).on("click.bs.dropdown.data-api",".dropdown form",function(n){n.stopPropagation()}).on("click.bs.dropdown.data-api",i,t.prototype.toggle).on("keydown.bs.dropdown.data-api",i,t.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",t.prototype.keydown)}(jQuery);+function(n){"use strict";function i(i,r){return this.each(function(){var f=n(this),u=f.data("bs.modal"),e=n.extend({},t.DEFAULTS,f.data(),"object"==typeof i&&i);u||f.data("bs.modal",u=new t(this,e));"string"==typeof i?u[i](r):e.show&&u.show(r)})}var t=function(t,i){this.options=i;this.$body=n(document.body);this.$element=n(t);this.$dialog=this.$element.find(".modal-dialog");this.$backdrop=null;this.isShown=null;this.originalBodyPad=null;this.scrollbarWidth=0;this.ignoreBackdropClick=!1;this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,n.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))},r;t.VERSION="3.3.5";t.TRANSITION_DURATION=300;t.BACKDROP_TRANSITION_DURATION=150;t.DEFAULTS={backdrop:!0,keyboard:!0,show:!0};t.prototype.toggle=function(n){return this.isShown?this.hide():this.show(n)};t.prototype.show=function(i){var r=this,u=n.Event("show.bs.modal",{relatedTarget:i});this.$element.trigger(u);this.isShown||u.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',n.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){r.$element.one("mouseup.dismiss.bs.modal",function(t){n(t.target).is(r.$element)&&(r.ignoreBackdropClick=!0)})}),this.backdrop(function(){var f=n.support.transition&&r.$element.hasClass("fade"),u;r.$element.parent().length||r.$element.appendTo(r.$body);r.$element.show().scrollTop(0);r.adjustDialog();f&&r.$element[0].offsetWidth;r.$element.addClass("in");r.enforceFocus();u=n.Event("shown.bs.modal",{relatedTarget:i});f?r.$dialog.one("bsTransitionEnd",function(){r.$element.trigger("focus").trigger(u)}).emulateTransitionEnd(t.TRANSITION_DURATION):r.$element.trigger("focus").trigger(u)}))};t.prototype.hide=function(i){i&&i.preventDefault();i=n.Event("hide.bs.modal");this.$element.trigger(i);this.isShown&&!i.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),n(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),n.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",n.proxy(this.hideModal,this)).emulateTransitionEnd(t.TRANSITION_DURATION):this.hideModal())};t.prototype.enforceFocus=function(){n(document).off("focusin.bs.modal").on("focusin.bs.modal",n.proxy(function(n){this.$element[0]===n.target||this.$element.has(n.target).length||this.$element.trigger("focus")},this))};t.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",n.proxy(function(n){27==n.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")};t.prototype.resize=function(){this.isShown?n(window).on("resize.bs.modal",n.proxy(this.handleUpdate,this)):n(window).off("resize.bs.modal")};t.prototype.hideModal=function(){var n=this;this.$element.hide();this.backdrop(function(){n.$body.removeClass("modal-open");n.resetAdjustments();n.resetScrollbar();n.$element.trigger("hidden.bs.modal")})};t.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove();this.$backdrop=null};t.prototype.backdrop=function(i){var e=this,f=this.$element.hasClass("fade")?"fade":"",r,u;if(this.isShown&&this.options.backdrop){if(r=n.support.transition&&f,this.$backdrop=n(document.createElement("div")).addClass("modal-backdrop "+f).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",n.proxy(function(n){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(n.target===n.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),r&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!i)return;r?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):i()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),u=function(){e.removeBackdrop();i&&i()},n.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",u).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):u()):i&&i()};t.prototype.handleUpdate=function(){this.adjustDialog()};t.prototype.adjustDialog=function(){var n=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&n?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!n?this.scrollbarWidth:""})};t.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})};t.prototype.checkScrollbar=function(){var n=window.innerWidth,t;n||(t=document.documentElement.getBoundingClientRect(),n=t.right-Math.abs(t.left));this.bodyIsOverflowing=document.body.clientWidth<n;this.scrollbarWidth=this.measureScrollbar()};t.prototype.setScrollbar=function(){var n=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";this.bodyIsOverflowing&&this.$body.css("padding-right",n+this.scrollbarWidth)};t.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)};t.prototype.measureScrollbar=function(){var n=document.createElement("div"),t;return n.className="modal-scrollbar-measure",this.$body.append(n),t=n.offsetWidth-n.clientWidth,this.$body[0].removeChild(n),t};r=n.fn.modal;n.fn.modal=i;n.fn.modal.Constructor=t;n.fn.modal.noConflict=function(){return n.fn.modal=r,this};n(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var r=n(this),f=r.attr("href"),u=n(r.attr("data-target")||f&&f.replace(/.*(?=#[^\s]+$)/,"")),e=u.data("bs.modal")?"toggle":n.extend({remote:!/#/.test(f)&&f},u.data(),r.data());r.is("a")&&t.preventDefault();u.one("show.bs.modal",function(n){n.isDefaultPrevented()||u.one("hidden.bs.modal",function(){r.is(":visible")&&r.trigger("focus")})});i.call(u,e,this)})}(jQuery);+function(n){"use strict";function r(i){return this.each(function(){var u=n(this),r=u.data("bs.tooltip"),f="object"==typeof i&&i;(r||!/destroy|hide/.test(i))&&(r||u.data("bs.tooltip",r=new t(this,f)),"string"==typeof i&&r[i]())})}var t=function(n,t){this.type=null;this.options=null;this.enabled=null;this.timeout=null;this.hoverState=null;this.$element=null;this.inState=null;this.init("tooltip",n,t)},i;t.VERSION="3.3.5";t.TRANSITION_DURATION=150;t.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"><\/div><div class="tooltip-inner"><\/div><\/div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}};t.prototype.init=function(t,i,r){var f,e,u,o,s;if(this.enabled=!0,this.type=t,this.$element=n(i),this.options=this.getOptions(r),this.$viewport=this.options.viewport&&n(n.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(f=this.options.trigger.split(" "),e=f.length;e--;)if(u=f[e],"click"==u)this.$element.on("click."+this.type,this.options.selector,n.proxy(this.toggle,this));else"manual"!=u&&(o="hover"==u?"mouseenter":"focusin",s="hover"==u?"mouseleave":"focusout",this.$element.on(o+"."+this.type,this.options.selector,n.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,n.proxy(this.leave,this)));this.options.selector?this._options=n.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()};t.prototype.getDefaults=function(){return t.DEFAULTS};t.prototype.getOptions=function(t){return t=n.extend({},this.getDefaults(),this.$element.data(),t),t.delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t};t.prototype.getDelegateOptions=function(){var t={},i=this.getDefaults();return this._options&&n.each(this._options,function(n,r){i[n]!=r&&(t[n]=r)}),t};t.prototype.enter=function(t){var i=t instanceof this.constructor?t:n(t.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),n(t.currentTarget).data("bs."+this.type,i)),t instanceof n.Event&&(i.inState["focusin"==t.type?"focus":"hover"]=!0),i.tip().hasClass("in")||"in"==i.hoverState?void(i.hoverState="in"):(clearTimeout(i.timeout),i.hoverState="in",i.options.delay&&i.options.delay.show?void(i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)):i.show())};t.prototype.isInStateTrue=function(){for(var n in this.inState)if(this.inState[n])return!0;return!1};t.prototype.leave=function(t){var i=t instanceof this.constructor?t:n(t.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),n(t.currentTarget).data("bs."+this.type,i)),t instanceof n.Event&&(i.inState["focusout"==t.type?"focus":"hover"]=!1),i.isInStateTrue()?void 0:(clearTimeout(i.timeout),i.hoverState="out",i.options.delay&&i.options.delay.hide?void(i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)):i.hide())};t.prototype.show=function(){var c=n.Event("show.bs."+this.type),l,p,e,w,h;if(this.hasContent()&&this.enabled){if(this.$element.trigger(c),l=n.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]),c.isDefaultPrevented()||!l)return;var u=this,r=this.tip(),a=this.getUID(this.type);this.setContent();r.attr("id",a);this.$element.attr("aria-describedby",a);this.options.animation&&r.addClass("fade");var i="function"==typeof this.options.placement?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement,v=/\s?auto?\s?/i,y=v.test(i);y&&(i=i.replace(v,"")||"top");r.detach().css({top:0,left:0,display:"block"}).addClass(i).data("bs."+this.type,this);this.options.container?r.appendTo(this.options.container):r.insertAfter(this.$element);this.$element.trigger("inserted.bs."+this.type);var f=this.getPosition(),o=r[0].offsetWidth,s=r[0].offsetHeight;y&&(p=i,e=this.getPosition(this.$viewport),i="bottom"==i&&f.bottom+s>e.bottom?"top":"top"==i&&f.top-s<e.top?"bottom":"right"==i&&f.right+o>e.width?"left":"left"==i&&f.left-o<e.left?"right":i,r.removeClass(p).addClass(i));w=this.getCalculatedOffset(i,f,o,s);this.applyPlacement(w,i);h=function(){var n=u.hoverState;u.$element.trigger("shown.bs."+u.type);u.hoverState=null;"out"==n&&u.leave(u)};n.support.transition&&this.$tip.hasClass("fade")?r.one("bsTransitionEnd",h).emulateTransitionEnd(t.TRANSITION_DURATION):h()}};t.prototype.applyPlacement=function(t,i){var r=this.tip(),l=r[0].offsetWidth,e=r[0].offsetHeight,o=parseInt(r.css("margin-top"),10),s=parseInt(r.css("margin-left"),10),h,f,u;isNaN(o)&&(o=0);isNaN(s)&&(s=0);t.top+=o;t.left+=s;n.offset.setOffset(r[0],n.extend({using:function(n){r.css({top:Math.round(n.top),left:Math.round(n.left)})}},t),0);r.addClass("in");h=r[0].offsetWidth;f=r[0].offsetHeight;"top"==i&&f!=e&&(t.top=t.top+e-f);u=this.getViewportAdjustedDelta(i,t,h,f);u.left?t.left+=u.left:t.top+=u.top;var c=/top|bottom/.test(i),a=c?2*u.left-l+h:2*u.top-e+f,v=c?"offsetWidth":"offsetHeight";r.offset(t);this.replaceArrow(a,r[0][v],c)};t.prototype.replaceArrow=function(n,t,i){this.arrow().css(i?"left":"top",50*(1-n/t)+"%").css(i?"top":"left","")};t.prototype.setContent=function(){var n=this.tip(),t=this.getTitle();n.find(".tooltip-inner")[this.options.html?"html":"text"](t);n.removeClass("fade in top bottom left right")};t.prototype.hide=function(i){function f(){"in"!=u.hoverState&&r.detach();u.$element.removeAttr("aria-describedby").trigger("hidden.bs."+u.type);i&&i()}var u=this,r=n(this.$tip),e=n.Event("hide.bs."+this.type);return this.$element.trigger(e),e.isDefaultPrevented()?void 0:(r.removeClass("in"),n.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",f).emulateTransitionEnd(t.TRANSITION_DURATION):f(),this.hoverState=null,this)};t.prototype.fixTitle=function(){var n=this.$element;(n.attr("title")||"string"!=typeof n.attr("data-original-title"))&&n.attr("data-original-title",n.attr("title")||"").attr("title","")};t.prototype.hasContent=function(){return this.getTitle()};t.prototype.getPosition=function(t){t=t||this.$element;var u=t[0],r="BODY"==u.tagName,i=u.getBoundingClientRect();null==i.width&&(i=n.extend({},i,{width:i.right-i.left,height:i.bottom-i.top}));var f=r?{top:0,left:0}:t.offset(),e={scroll:r?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},o=r?{width:n(window).width(),height:n(window).height()}:null;return n.extend({},i,e,o,f)};t.prototype.getCalculatedOffset=function(n,t,i,r){return"bottom"==n?{top:t.top+t.height,left:t.left+t.width/2-i/2}:"top"==n?{top:t.top-r,left:t.left+t.width/2-i/2}:"left"==n?{top:t.top+t.height/2-r/2,left:t.left-i}:{top:t.top+t.height/2-r/2,left:t.left+t.width}};t.prototype.getViewportAdjustedDelta=function(n,t,i,r){var f={top:0,left:0},e,u,o,s,h,c;return this.$viewport?(e=this.options.viewport&&this.options.viewport.padding||0,u=this.getPosition(this.$viewport),/right|left/.test(n)?(o=t.top-e-u.scroll,s=t.top+e-u.scroll+r,o<u.top?f.top=u.top-o:s>u.top+u.height&&(f.top=u.top+u.height-s)):(h=t.left-e,c=t.left+e+i,h<u.left?f.left=u.left-h:c>u.right&&(f.left=u.left+u.width-c)),f):f};t.prototype.getTitle=function(){var t=this.$element,n=this.options;return t.attr("data-original-title")||("function"==typeof n.title?n.title.call(t[0]):n.title)};t.prototype.getUID=function(n){do n+=~~(1e6*Math.random());while(document.getElementById(n));return n};t.prototype.tip=function(){if(!this.$tip&&(this.$tip=n(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip};t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")};t.prototype.enable=function(){this.enabled=!0};t.prototype.disable=function(){this.enabled=!1};t.prototype.toggleEnabled=function(){this.enabled=!this.enabled};t.prototype.toggle=function(t){var i=this;t&&(i=n(t.currentTarget).data("bs."+this.type),i||(i=new this.constructor(t.currentTarget,this.getDelegateOptions()),n(t.currentTarget).data("bs."+this.type,i)));t?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)};t.prototype.destroy=function(){var n=this;clearTimeout(this.timeout);this.hide(function(){n.$element.off("."+n.type).removeData("bs."+n.type);n.$tip&&n.$tip.detach();n.$tip=null;n.$arrow=null;n.$viewport=null})};i=n.fn.tooltip;n.fn.tooltip=r;n.fn.tooltip.Constructor=t;n.fn.tooltip.noConflict=function(){return n.fn.tooltip=i,this}}(jQuery);+function(n){"use strict";function r(i){return this.each(function(){var u=n(this),r=u.data("bs.popover"),f="object"==typeof i&&i;(r||!/destroy|hide/.test(i))&&(r||u.data("bs.popover",r=new t(this,f)),"string"==typeof i&&r[i]())})}var t=function(n,t){this.init("popover",n,t)},i;if(!n.fn.tooltip)throw new Error("Popover requires tooltip.js");t.VERSION="3.3.5";t.DEFAULTS=n.extend({},n.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"><\/div><h3 class="popover-title"><\/h3><div class="popover-content"><\/div><\/div>'});t.prototype=n.extend({},n.fn.tooltip.Constructor.prototype);t.prototype.constructor=t;t.prototype.getDefaults=function(){return t.DEFAULTS};t.prototype.setContent=function(){var n=this.tip(),i=this.getTitle(),t=this.getContent();n.find(".popover-title")[this.options.html?"html":"text"](i);n.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof t?"html":"append":"text"](t);n.removeClass("fade top bottom left right in");n.find(".popover-title").html()||n.find(".popover-title").hide()};t.prototype.hasContent=function(){return this.getTitle()||this.getContent()};t.prototype.getContent=function(){var t=this.$element,n=this.options;return t.attr("data-content")||("function"==typeof n.content?n.content.call(t[0]):n.content)};t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};i=n.fn.popover;n.fn.popover=r;n.fn.popover.Constructor=t;n.fn.popover.noConflict=function(){return n.fn.popover=i,this}}(jQuery);+function(n){"use strict";function t(i,r){this.$body=n(document.body);this.$scrollElement=n(n(i).is(document.body)?window:i);this.options=n.extend({},t.DEFAULTS,r);this.selector=(this.options.target||"")+" .nav li > a";this.offsets=[];this.targets=[];this.activeTarget=null;this.scrollHeight=0;this.$scrollElement.on("scroll.bs.scrollspy",n.proxy(this.process,this));this.refresh();this.process()}function i(i){return this.each(function(){var u=n(this),r=u.data("bs.scrollspy"),f="object"==typeof i&&i;r||u.data("bs.scrollspy",r=new t(this,f));"string"==typeof i&&r[i]()})}t.VERSION="3.3.5";t.DEFAULTS={offset:10};t.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)};t.prototype.refresh=function(){var t=this,i="offset",r=0;this.offsets=[];this.targets=[];this.scrollHeight=this.getScrollHeight();n.isWindow(this.$scrollElement[0])||(i="position",r=this.$scrollElement.scrollTop());this.$body.find(this.selector).map(function(){var f=n(this),u=f.data("target")||f.attr("href"),t=/^#./.test(u)&&n(u);return t&&t.length&&t.is(":visible")&&[[t[i]().top+r,u]]||null}).sort(function(n,t){return n[0]-t[0]}).each(function(){t.offsets.push(this[0]);t.targets.push(this[1])})};t.prototype.process=function(){var n,i=this.$scrollElement.scrollTop()+this.options.offset,f=this.getScrollHeight(),e=this.options.offset+f-this.$scrollElement.height(),t=this.offsets,r=this.targets,u=this.activeTarget;if(this.scrollHeight!=f&&this.refresh(),i>=e)return u!=(n=r[r.length-1])&&this.activate(n);if(u&&i<t[0])return this.activeTarget=null,this.clear();for(n=t.length;n--;)u!=r[n]&&i>=t[n]&&(void 0===t[n+1]||i<t[n+1])&&this.activate(r[n])};t.prototype.activate=function(t){this.activeTarget=t;this.clear();var r=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',i=n(r).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active"));i.trigger("activate.bs.scrollspy")};t.prototype.clear=function(){n(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var r=n.fn.scrollspy;n.fn.scrollspy=i;n.fn.scrollspy.Constructor=t;n.fn.scrollspy.noConflict=function(){return n.fn.scrollspy=r,this};n(window).on("load.bs.scrollspy.data-api",function(){n('[data-spy="scroll"]').each(function(){var t=n(this);i.call(t,t.data())})})}(jQuery);+function(n){"use strict";function r(i){return this.each(function(){var u=n(this),r=u.data("bs.tab");r||u.data("bs.tab",r=new t(this));"string"==typeof i&&r[i]()})}var t=function(t){this.element=n(t)},u,i;t.VERSION="3.3.5";t.TRANSITION_DURATION=150;t.prototype.show=function(){var t=this.element,f=t.closest("ul:not(.dropdown-menu)"),i=t.data("target"),u;if(i||(i=t.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var r=f.find(".active:last a"),e=n.Event("hide.bs.tab",{relatedTarget:t[0]}),o=n.Event("show.bs.tab",{relatedTarget:r[0]});(r.trigger(e),t.trigger(o),o.isDefaultPrevented()||e.isDefaultPrevented())||(u=n(i),this.activate(t.closest("li"),f),this.activate(u,u.parent(),function(){r.trigger({type:"hidden.bs.tab",relatedTarget:t[0]});t.trigger({type:"shown.bs.tab",relatedTarget:r[0]})}))}};t.prototype.activate=function(i,r,u){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1);i.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0);o?(i[0].offsetWidth,i.addClass("in")):i.removeClass("fade");i.parent(".dropdown-menu").length&&i.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0);u&&u()}var f=r.find("> .active"),o=u&&n.support.transition&&(f.length&&f.hasClass("fade")||!!r.find("> .fade").length);f.length&&o?f.one("bsTransitionEnd",e).emulateTransitionEnd(t.TRANSITION_DURATION):e();f.removeClass("in")};u=n.fn.tab;n.fn.tab=r;n.fn.tab.Constructor=t;n.fn.tab.noConflict=function(){return n.fn.tab=u,this};i=function(t){t.preventDefault();r.call(n(this),"show")};n(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery);+function(n){"use strict";function i(i){return this.each(function(){var u=n(this),r=u.data("bs.affix"),f="object"==typeof i&&i;r||u.data("bs.affix",r=new t(this,f));"string"==typeof i&&r[i]()})}var t=function(i,r){this.options=n.extend({},t.DEFAULTS,r);this.$target=n(this.options.target).on("scroll.bs.affix.data-api",n.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",n.proxy(this.checkPositionWithEventLoop,this));this.$element=n(i);this.affixed=null;this.unpin=null;this.pinnedOffset=null;this.checkPosition()},r;t.VERSION="3.3.5";t.RESET="affix affix-top affix-bottom";t.DEFAULTS={offset:0,target:window};t.prototype.getState=function(n,t,i,r){var u=this.$target.scrollTop(),f=this.$element.offset(),e=this.$target.height();if(null!=i&&"top"==this.affixed)return i>u?"top":!1;if("bottom"==this.affixed)return null!=i?u+this.unpin<=f.top?!1:"bottom":n-r>=u+e?!1:"bottom";var o=null==this.affixed,s=o?u:f.top,h=o?e:t;return null!=i&&i>=u?"top":null!=r&&s+h>=n-r?"bottom":!1};t.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(t.RESET).addClass("affix");var n=this.$target.scrollTop(),i=this.$element.offset();return this.pinnedOffset=i.top-n};t.prototype.checkPositionWithEventLoop=function(){setTimeout(n.proxy(this.checkPosition,this),1)};t.prototype.checkPosition=function(){var i,e,o;if(this.$element.is(":visible")){var s=this.$element.height(),r=this.options.offset,f=r.top,u=r.bottom,h=Math.max(n(document).height(),n(document.body).height());if("object"!=typeof r&&(u=f=r),"function"==typeof f&&(f=r.top(this.$element)),"function"==typeof u&&(u=r.bottom(this.$element)),i=this.getState(h,s,f,u),this.affixed!=i){if(null!=this.unpin&&this.$element.css("top",""),e="affix"+(i?"-"+i:""),o=n.Event(e+".bs.affix"),this.$element.trigger(o),o.isDefaultPrevented())return;this.affixed=i;this.unpin="bottom"==i?this.getPinnedOffset():null;this.$element.removeClass(t.RESET).addClass(e).trigger(e.replace("affix","affixed")+".bs.affix")}"bottom"==i&&this.$element.offset({top:h-s-u})}};r=n.fn.affix;n.fn.affix=i;n.fn.affix.Constructor=t;n.fn.affix.noConflict=function(){return n.fn.affix=r,this};n(window).on("load",function(){n('[data-spy="affix"]').each(function(){var r=n(this),t=r.data();t.offset=t.offset||{};null!=t.offsetBottom&&(t.offset.bottom=t.offsetBottom);null!=t.offsetTop&&(t.offset.top=t.offsetTop);i.call(r,t)})})}(jQuery);jQuery(window).load(function(){jQuery(window).trigger("resize")});jQuery(window).resize(function(){LargeHeroVerticalAligningTextBox()});jQuery(window).load(function(){LargeHeroVerticalAligningTextBox()});jQuery(document).ready(function(){LargeHeroVerticalAligningTextBox();jQuery(".largehero-has-background-image").each(function(){jQuery(this).css("background-image","url("+jQuery(this).attr("data-source-image")+")")})});jQuery(window).load(function(){LargeHeroVerticalAligningTextBox();jQuery(".largehero-has-background-image").each(function(){jQuery(this).css("background-image","url("+jQuery(this).attr("data-source-image")+")")})});jQuery(document).ready(function(){jQuery(".cursorpointer").click(function(n){if($(this).parent().hasClass("video-connect"))n.preventDefault();else return window.location.href=jQuery(this).attr("data-click-url"),!1})});jQuery(window).load(function(){jQuery(".smallhero-image-source").each(function(){jQuery(window).width()>1200&&jQuery(this).css("background","url("+jQuery(this).attr("data-image-source")+") no-repeat center top")})});jQuery(document).ready(function(){var n,t;$(".tabspy-main-content > div.sectionSpry").each(function(){var n=$(this).attr("id");$(this).nextUntil("div.sectionSpry").each(function(){$(this).addClass(n+"_inner")})});n="";$(this).find(".scrollspy .scrollspy-left").html("");$(".scrollspy .scrollspy-main-content h2.navMainItem").each(function(){var t=this,i=$(t).attr("id");n+="<li>";n+='<a href="#'+i+'">';n+="<h3>"+$(t).find("span").html()+"<\/h3><\/a>";$(t).next().find("h3.navsubitem").each(function(){var t=$(this).attr("id"),n=i+"_"+$(this).attr("id");$(this).attr("id",n);$(this).find("a").attr("href","#"+n);$(this).next().addClass(n);$(this).next().removeClass(t)});$(t).next().find("h3.navsubitem").length&&(n+='<ul class="nav">',$(t).next().find("h3.navsubitem").each(function(){var t=$(this).attr("id");n+='<li><a href="#'+t+'"><h4>'+$(this).find("span").html()+"<\/h4><\/a><\/li>"}),n+="<\/ul>");n+="<\/li>"});$(this).find(".scrollspy .scrollspy-left").html(n);t="";$(".tabspy .scrollspy-left").html("");$(".tabspy .tabspy-main-content").find("div.sectionSpry").each(function(){var n=$(this).attr("id");t+='<li data-item="'+n+'"> <a class="left-rail" href="#'+n+'"><h3>'+$(this).find("h2").find("a").html()+"<\/h3><\/a><\/li>";$(".tabspy .tabspy-main-content").find("div."+n+"_inner").each(function(){var r=$(this).attr("id"),i=n+"_"+r,u;$(this).attr("id",i);$(this).find("h2").find("a").attr("href","#"+i);$(this).find("h2").next().addClass(i).removeClass(r);t+='<li data-item="'+i+'" class="'+n+'-inner inner-nav normal-hide" style=""><a class="left-rail" href="#'+i+'"><h4>'+$(this).find("h2").find("a").html()+"<\/h4><\/a><\/li>";u=$(this).find("h2").html();$(this).find("h2").after("<h3>"+u+"<\/h3>");$(this).find("h2").remove()})});$(".tabspy .scrollspy-left").html(t);ScrollCheck();jQuery(window).scroll(function(){ScrollCheck()})});jQuery(function(){function r(){var n=location.hash,t;jQuery(".tabspy .sectionSpry").hide();jQuery(".tabspy .inner-sectionSpry").hide();jQuery(".tabspy .tabspy-left-tab").find("li").removeClass("active");jQuery(".tabspy .tabspy-left-tab").find("ul li").find('a[href="'+n+'"]').parent().addClass("active");t=jQuery(".tabspy .tabspy-left-tab").find("ul li").find('a[href="'+n+'"]').parent().attr("data-item");jQuery("#"+t).show();jQuery(".tabspy .tabspy-left-tab").find("ul li").find('a[href="'+n+'"]').parent("li").hasClass("inner-nav")?(jQuery(".inner-nav").hide(),jQuery(".inner-nav."+jQuery(".tabspy .tabspy-left-tab").find("ul li").find('a[href="'+n+'"]').parent("li").attr("class").split(" ")[0]).slideDown()):(jQuery(".inner-nav").hide(),jQuery(".inner-nav."+t+"-inner").slideDown());$("html, body").animate({scrollTop:jQuery("#"+t).offset().top},500)}var n,t;if(jQuery(".scrollspy-main-content h2 > a").click(function(){var t=jQuery(this).attr("href").replace("#",""),n;if(jQuery(this).hasClass("expand"))for(jQuery(this).removeClass("expand"),jQuery("."+t).removeClass("show-force").slideUp(),n=$(this).parent().parent();n.next().hasClass("inner-sectionSpry");)n=n.next(),n.hide();else for(jQuery(this).addClass("expand"),jQuery("."+t).addClass("show-force").slideDown(),n=$(this).parent().parent();n.next().hasClass("inner-sectionSpry");)n=n.next(),n.show()}),jQuery(".scrollspy-main-content h3 > a").click(function(){jQuery(this).hasClass("expand")?(jQuery(this).removeClass("expand"),jQuery("."+jQuery(this).attr("href").replace("#","")).removeClass("show-force")):(jQuery(this).addClass("expand"),jQuery("."+jQuery(this).attr("href").replace("#","")).addClass("show-force").slideDown())}),jQuery(window).resize(function(){jQuery(window).width()>679&&window.location.hash.length&&window.location.replace(window.location.hash)}),jQuery(".tabspy .tabspy-main-content a").click(function(){var n=jQuery(this).attr("href").replace("#","");jQuery(this).hasClass("expand")?(jQuery(this).removeClass("expand"),jQuery("."+n).removeClass("show-force"),jQuery("."+n+"_inner").hide()):(jQuery(this).addClass("expand"),jQuery("."+n).addClass("show-force"),jQuery("."+n+"_inner").show())}),jQuery(".tabspy-left-tab a").click(function(){jQuery(".tabspy .sectionSpry").hide();jQuery(".tabspy .inner-sectionSpry").hide();jQuery(".tabspy .tabspy-left-tab").find("li").removeClass("active");jQuery(this).parent().addClass("active");var n=jQuery(this).parent().attr("data-item");jQuery("#"+n).show();jQuery(this).parent("li").hasClass("inner-nav")||jQuery(".inner-nav").hide();jQuery("."+n+"-inner").slideDown()}),jQuery(window).width()>679)try{n=window.location.hash.replace("#","");jQuery(".tabspy .sectionSpry").hide();jQuery(".tabspy .inner-sectionSpry").hide();n.length?(jQuery("#"+n).slideDown(),jQuery("."+n+"-inner").slideDown(),jQuery(".tabspy .tabspy-left-tab").find("li[data-item='"+n+"']").attr("class")!=undefined&&jQuery("."+jQuery(".tabspy .tabspy-left-tab").find("li[data-item='"+n+"']").attr("class").split(" ")[0]).slideDown(),jQuery(".tabspy .tabspy-left-tab li").removeClass("active"),jQuery(".tabspy .tabspy-left-tab").find("li[data-item='"+n+"']").addClass("active")):(t=jQuery(".tabspy .tabspy-left-tab .scrollspy-left li").first(),t.addClass("active"),jQuery("#"+t.attr("data-item")).slideDown(),jQuery("."+t.attr("data-item")+"-inner").slideDown())}catch(i){console.log(i)}jQuery(window).resize(function(){var n;jQuery(window).width()>679?(n=jQuery(".tabspy .tabspy-left-tab .scrollspy-left li.active").attr("data-item"),jQuery(".tabspy .sectionSpry").hide(),jQuery(".tabspy .inner-sectionSpry").hide(),jQuery("#"+n).show(),jQuery("."+n+"-inner").show()):(jQuery(".tabspy .inner-sectionSpry").hide(),jQuery(".tabspy .tabspy-main-content a.expand").length&&(n=jQuery(".tabspy .tabspy-main-content a.expand").first().attr("href").replace("#",""),jQuery("."+n+"_inner").show()))});$("a.button,a.cta").click(function(){$(".tabspy").length&&setTimeout(r,1e3)})});$(function(){typeof SCBeacon!="undefined"&&SCBeacon.push(["ready",InitNavigation]);InitNavigation()});$(document).ready(function(){$("#dropdownContent0")!=undefined&&$("#dropdownContent0").show()}),function(n){typeof define=="function"&&define.amd?define(["jquery"],n):typeof exports=="object"?module.exports=n(require("jquery")):n(jQuery)}(function(n){function i(n){return t.raw?n:encodeURIComponent(n)}function f(n){return t.raw?n:decodeURIComponent(n)}function e(n){return i(t.json?JSON.stringify(n):String(n))}function o(n){n.indexOf('"')===0&&(n=n.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return n=decodeURIComponent(n.replace(u," ")),t.json?JSON.parse(n):n}catch(i){}}function r(i,r){var u=t.raw?i:o(i);return n.isFunction(r)?r(u):u}var u=/\+/g,t=n.cookie=function(u,o,s){var v,c;if(arguments.length>1&&!n.isFunction(o))return s=n.extend({},t.defaults,s),typeof s.expires=="number"&&(v=s.expires,c=s.expires=new Date,c.setMilliseconds(c.getMilliseconds()+v*864e5)),document.cookie=[i(u),"=",e(o),s.expires?"; expires="+s.expires.toUTCString():"",s.path?"; path="+s.path:"",s.domain?"; domain="+s.domain:"",s.secure?"; secure":""].join("");for(var l=u?undefined:{},y=document.cookie?document.cookie.split("; "):[],a=0,b=y.length;a<b;a++){var p=y[a].split("="),w=f(p.shift()),h=p.join("=");if(u===w){l=r(h,o);break}u||(h=r(h))===undefined||(l[w]=h)}return l};t.defaults={};n.removeCookie=function(t,i){return n.cookie(t,"",n.extend({},i,{expires:-1})),!n.cookie(t)}});jQuery(document).ready(function(){jQuery(".FourColumnGrid, .ThreeColumnGrid , .twocol-grid-container").each(function(){var t=this,n='<div class="container-rf"><div class="accordion-container visible-xs"><div class="accordion">';jQuery(this).find(".accordion-merger-section").each(function(){n+=jQuery(this).html();jQuery(this).remove()});n+="<\/div><\/div><\/div>";jQuery(t).append(n)});$("a.lightbox-item").bind("mouseover",function(){$(this).hasClass("video-connect")||($(this).css({"text-decoration":"underline",outline:"none"}),$(this).bind("mouseout",function(){$(this).css({"text-decoration":"none",outline:"none"})}))})});jQuery(window).load(function(){jQuery(window).trigger("resize")});jQuery(document).ready(function(){initAccordions(jQuery);jQuery(".accordion").each(function(){var n=this;jQuery(n).find(".accordion-panel-title-link").removeClass("expanded").addClass("collapsed").attr("aria-expanded","false");jQuery(n).find(".accordion-panel-title-link").eq(0).removeClass("collapsed").addClass("expanded");jQuery(n).find(".accordion-panel-title-link").eq(0).attr("aria-expanded","true");jQuery(n).find(".accordion-panel-collapse").removeClass("in").attr("aria-expanded","false");jQuery(n).find(".accordion-panel-collapse").eq(0).addClass("in").attr("aria-expanded","true")});jQuery(".nav-tab").click(function(){setTimeout(function(){jQuery.isFunction(LargeHeroVerticalAligningTextBox)&&(LargeHeroVerticalAligningTextBox(),$(window).trigger("resize"))},200)})});$(document).ready(function(){$(".tab-content-bg-img").removeClass("hide");$(".img-tabs").each(function(){var n=this,i=0,t="";$(n).find(".tab-pane").each(function(){var n=$(this).attr("data-image-tab-id"),r=$(this).attr("data-image-tab-title");t+=i==0?'<li class="nav-tab col-xs-12 col-sm-12 active"><a data-toggle="tab" href=".'+n+'" class="nav-tab-wrapper" aria-expanded="true"><div class="nav-tab-link-wrapper"><span class="nav-tab-link">'+r+'<\/span><hr class="nav-tab-link-underline active"><\/div><\/a><\/li><li class="nav-tab-gap"><\/li>':'<li class="nav-tab col-xs-12 col-sm-12"><a data-toggle="tab" href=".'+n+'" class="nav-tab-wrapper" aria-expanded="false"><div class="nav-tab-link-wrapper"><span class="nav-tab-link">'+r+'<\/span><hr class="nav-tab-link-underline active"><\/div><\/a><\/li><li class="nav-tab-gap"><\/li>';i++});$(n).find(".nav-tabs").html(t);$(n).find(".tab-pane").removeClass("in").removeClass("active");$(n).find(".tab-pane").eq(0).addClass("in").addClass("active")});$(window).trigger("resize");$(".img-tabs ul.nav-tabs > li > a").each(function(){var i=$(this),r=$(this).parent().index()/2,n=$(i).closest(".img-tabs"),t;n.find("ul.nav-tabs > li > a").css("border-color","#eee");t=n.attr("data-theme");n.children().eq(0).children().eq(1).children().eq(0).children().eq(0).children().eq(r).children().eq(1).addClass(t)});$(".img-tabs ul.nav-tabs > li > a").click(function(){var n=$(this),r=$(this).parent().index()/2,t=$(n).closest(".img-tabs"),i;t.find("ul.nav-tabs > li > a").css("border-color","#eee");i=t.children().eq(0).children().eq(1).children().eq(0).children().eq(0).children().eq(r).children().eq(1).css("background-color");n.css("border-color",i)});$(".img-tabs").each(function(){var i=$(this).find("ul.nav-tabs > li > a").eq(0),n=$(this),t;n.find("ul.nav-tabs > li > a").css("border-color","#eee");t=n.children().eq(0).children().eq(1).children().eq(0).children().eq(0).children().eq(0).children().eq(1).css("background-color");i.css("border-color",t)})});jQuery(document).ready(function(){initTabs(jQuery);jQuery(".video-media, .media-overlay-shadow-wraper").hover(function(){jQuery(this).find(".media-overlay-shadow").show()},function(){jQuery(this).find(".media-overlay-shadow").hide()})});jQuery(document).ready(function(){initTitleComplexTable(jQuery);$(".complex-table").each(function(){$(this).find(".accordion-panel-title a").removeClass("collapsed").removeClass("expanded");$(this).find(".accordion-panel-title").eq(0).find("a").addClass("expanded")});$(".complex-table > .container-rf").children().each(function(){$(this).find(".accordion-panel-title").find("a").removeClass("expanded").addClass("collapsed");$(this).find(".accordion-panel-title").eq(0).find("a").removeClass("collapsed").addClass("expanded")});$(".accordion-panel-title-link").click(function(){var n=this;setTimeout(function(){var t=$(n).closest(".complex-table").find(".complex-table-accordion-desktop").find(".accordion-panel-title-link").not(".accordion-panel-title-link.expanded").length,i=$(n).closest(".complex-table").find(".complex-table-accordion-desktop").find(".accordion-panel-title-link.expanded").length;t==0?$(n).closest(".complex-table").find(".complex-table-accordion-desktop").find("p.plus-icon").addClass("minus-icon"):i==0&&$(n).closest(".complex-table").find(".complex-table-accordion-desktop").find("p.plus-icon").removeClass("minus-icon");t!=0&i!=0&&$(n).closest(".complex-table").find(".complex-table-accordion-desktop").find("p.plus-icon").removeClass("minus-icon")},500);$(".SimpleTabsPanel .accordion-panel-title").click(function(){setTimeout(function(){$(".complex-table-accordion-tablet .accordion-panel-heading, .complex-table-accordion-mobile .accordion-panel-heading").each(function(){var n=this;$(n).next().css("display")=="none"?$(this).find(".accordion-panel-title-link").removeClass("expanded"):$(this).find(".accordion-panel-title-link").addClass("expanded")})},510)})})}),function(n,t,i){function e(i,r,u){var f=t.createElement(i);return r&&(f.id=h+r),u&&(f.style.cssText=u),n(f)}function gt(){return i.innerHeight?i.innerHeight:n(i).height()}function vt(n){var i=c.length,t=(a+n)%i;return 0>t?i+t:t}function v(n,t){return Math.round((/%/.test(n)?("x"===t?k.width():gt())/100:1)*parseInt(n,10))}function vi(n,t){return n.photo||n.photoRegex.test(t)}function yi(n,t){return n.retinaUrl&&i.devicePixelRatio>1?t.replace(n.photoRegex,n.retinaSuffix):t}function pi(n){"contains"in u[0]&&!u[0].contains(n.target)&&(n.stopPropagation(),u.focus())}function wi(){var t,i=n.data(y,tt);null==i?(r=n.extend({},hi),console&&console.log&&console.log("Error: cboxElement missing settings object")):r=n.extend({},i);for(t in r)n.isFunction(r[t])&&"on"!==t.slice(0,2)&&(r[t]=r[t].call(y));r.rel=r.rel||y.rel||n(y).data("rel")||"nofollow";r.href=r.href||n(y).attr("href");r.title=r.title||y.title;"string"==typeof r.href&&(r.href=n.trim(r.href))}function ut(i,r){n(t).trigger(i);w.trigger(i);n.isFunction(r)&&r.call(y)}function yt(i){at||(y=i,wi(),c=n(y),a=0,"nofollow"!==r.rel&&(c=n("."+ot).filter(function(){var t,i=n.data(this,tt);return i&&(t=n(this).data("rel")||i.rel||this.rel),t===r.rel}),a=c.index(y),-1===a&&(c=c.add(y),a=c.length-1)),b.css({opacity:parseFloat(r.opacity),cursor:r.overlayClose?"pointer":"auto",visibility:"visible"}).show(),oi&&u.add(b).removeClass(oi),r.className&&u.add(b).addClass(r.className),oi=r.className,r.closeButton?wt.html(r.close).appendTo(p):wt.appendTo("<div/>"),nt||(nt=lt=!0,u.css({visibility:"hidden",display:"block"}),l=e(o,"LoadedContent","width:0; height:0; overflow:hidden"),p.css({width:"",height:""}).append(l),d=ni.height()+ri.height()+p.outerHeight(!0)-p.height(),g=ti.width()+ii.width()+p.outerWidth(!0)-p.width(),it=l.outerHeight(!0),rt=l.outerWidth(!0),r.w=v(r.initialWidth,"x"),r.h=v(r.initialHeight,"y"),l.css({width:"",height:r.h}),s.position(),ut(tr,r.onOpen),ei.add(ui).hide(),u.focus(),r.trapFocus&&t.addEventListener&&(t.addEventListener("focus",pi,!0),w.one(li,function(){t.removeEventListener("focus",pi,!0)})),r.returnFocus&&w.one(li,function(){n(y).focus()})),nr())}function bi(){!u&&t.body&&(si=!1,k=n(i),u=e(o).attr({id:tt,"class":n.support.opacity===!1?h+"IE":"",role:"dialog",tabindex:"-1"}).hide(),b=e(o,"Overlay").hide(),pt=n([e(o,"LoadingOverlay")[0],e(o,"LoadingGraphic")[0]]),ft=e(o,"Wrapper"),p=e(o,"Content").append(ui=e(o,"Title"),fi=e(o,"Current"),ct=n('<button type="button"/>').attr({id:h+"Previous"}),ht=n('<button type="button"/>').attr({id:h+"Next"}),et=e("button","Slideshow"),pt),wt=n('<button type="button"/>').attr({id:h+"Close"}),ft.append(e(o).append(e(o,"TopLeft"),ni=e(o,"TopCenter"),e(o,"TopRight")),e(o,!1,"clear:left").append(ti=e(o,"MiddleLeft"),p,ii=e(o,"MiddleRight")),e(o,!1,"clear:left").append(e(o,"BottomLeft"),ri=e(o,"BottomCenter"),e(o,"BottomRight"))).find("div div").css({float:"left"}),st=e(o,!1,"position:absolute; width:9999px; visibility:hidden; display:none"),ei=ht.add(ct).add(fi).add(et),n(t.body).append(b,u.append(ft,st)))}function gi(){function i(n){n.which>1||n.shiftKey||n.altKey||n.metaKey||n.ctrlKey||(n.preventDefault(),yt(this))}return u?(si||(si=!0,ht.click(function(){s.next()}),ct.click(function(){s.prev()}),wt.click(function(){s.close()}),b.click(function(){r.overlayClose&&s.close()}),n(t).bind("keydown."+h,function(n){var t=n.keyCode;nt&&r.escKey&&27===t&&(n.preventDefault(),s.close());nt&&r.arrowKey&&c[1]&&!n.altKey&&(37===t?(n.preventDefault(),ct.click()):39===t&&(n.preventDefault(),ht.click()))}),n.isFunction(n.fn.on)?n(t).on("click."+h,"."+ot,i):n("."+ot).live("click."+h,i)),!0):!1}function nr(){var u,b,k,p=s.prep,nt=++ai;lt=!0;f=!1;y=c[a];wi();ut(dt);ut(bt,r.onLoad);r.h=r.height?v(r.height,"y")-it-d:r.innerHeight&&v(r.innerHeight,"y");r.w=r.width?v(r.width,"x")-rt-g:r.innerWidth&&v(r.innerWidth,"x");r.mw=r.w;r.mh=r.h;r.maxWidth&&(r.mw=v(r.maxWidth,"x")-rt-g,r.mw=r.w&&r.w<r.mw?r.w:r.mw);r.maxHeight&&(r.mh=v(r.maxHeight,"y")-it-d,r.mh=r.h&&r.h<r.mh?r.h:r.mh);u=r.href;ki=setTimeout(function(){pt.show()},100);r.inline?(k=e(o).hide().insertBefore(n(u)[0]),w.one(dt,function(){k.replaceWith(l.children())}),p(n(u))):r.iframe?p(" "):r.html?p(r.html):vi(r,u)?(u=yi(r,u),f=t.createElement("img"),n(f).addClass(h+"Photo").bind("error",function(){r.title=!1;p(e(o,"Error").html(r.imgError))}).one("load",function(){var t;nt===ai&&(f.alt=n(y).attr("alt")||n(y).attr("data-alt")||"",r.retinaImage&&i.devicePixelRatio>1&&(f.height=f.height/i.devicePixelRatio,f.width=f.width/i.devicePixelRatio),r.scalePhotos&&(b=function(){f.height-=f.height*t;f.width-=f.width*t},r.mw&&f.width>r.mw&&(t=(f.width-r.mw)/f.width,b()),r.mh&&f.height>r.mh&&(t=(f.height-r.mh)/f.height,b())),r.h&&(f.style.marginTop=Math.max(r.mh-f.height,0)/2+"px"),c[1]&&(r.loop||c[a+1])&&(f.style.cursor="pointer",f.onclick=function(){s.next()}),f.style.width=f.width+"px",f.style.height=f.height+"px",setTimeout(function(){p(f)},1))}),setTimeout(function(){f.src=u},1)):u&&st.load(u,r.data,function(t,i){nt===ai&&p("error"===i?e(o,"Error").html(r.xhrError):n(this).contents())})}var b,u,ft,p,ni,ti,ii,ri,c,k,l,st,pt,ui,fi,et,ht,ct,wt,ei,r,d,g,it,rt,y,a,f,nt,lt,at,ki,s,oi,si,hi={transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,inline:!1,html:!1,iframe:!1,fastIframe:!0,photo:!1,href:!1,title:!1,rel:!1,opacity:.9,preloading:!0,className:!1,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",open:!1,returnFocus:!0,trapFocus:!0,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp)((#|\?).*)?$/i,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0},tt="colorbox",h="cbox",ot=h+"Element",tr=h+"_open",bt=h+"_load",kt=h+"_complete",ci=h+"_cleanup",li=h+"_closed",dt=h+"_purge",w=n("<a/>"),o="div",ai=0,di={},ir=function(){function n(){clearTimeout(y)}function f(){(r.loop||c[a+1])&&(n(),y=setTimeout(s.next,r.slideshowSpeed))}function l(){et.html(r.slideshowStop).unbind(i).one(i,v);w.bind(kt,f).bind(bt,n);u.removeClass(t+"off").addClass(t+"on")}function v(){n();w.unbind(kt,f).unbind(bt,n);et.html(r.slideshowStart).unbind(i).one(i,function(){s.next();l()});u.removeClass(t+"on").addClass(t+"off")}function e(){o=!1;et.hide();n();w.unbind(kt,f).unbind(bt,n);u.removeClass(t+"off "+t+"on")}var o,y,t=h+"Slideshow_",i="click."+h;return function(){o?r.slideshow||(w.unbind(ci,e),e()):r.slideshow&&c[1]&&(o=!0,w.one(ci,e),r.slideshowAuto?l():v(),et.show())}}();n.colorbox||(n(bi),s=n.fn[tt]=n[tt]=function(t,i){var r=this;if(t=t||{},bi(),gi()){if(n.isFunction(r))r=n("<a/>"),t.open=!0;else if(!r[0])return r;i&&(t.onComplete=i);r.each(function(){n.data(this,tt,n.extend({},n.data(this,tt)||hi,t))}).addClass(ot);(n.isFunction(t.open)&&t.open.call(r)||t.open)&&yt(r[0])}return r},s.position=function(t,i){function w(){ni[0].style.width=ri[0].style.width=p[0].style.width=parseInt(u[0].style.width,10)-g+"px";p[0].style.height=ti[0].style.height=ii[0].style.height=parseInt(u[0].style.height,10)-d+"px"}var f,o,c,l=0,a=0,e=u.offset(),y;(k.unbind("resize."+h),u.css({top:-9e4,left:-9e4}),o=k.scrollTop(),c=k.scrollLeft(),r.fixed?(e.top-=o,e.left-=c,u.css({position:"fixed"})):(l=o,a=c,u.css({position:"absolute"})),a+=r.right!==!1?Math.max(k.width()-r.w-rt-g-v(r.right,"x"),0):r.left!==!1?v(r.left,"x"):Math.round(Math.max(k.width()-r.w-rt-g,0)/2),l+=r.bottom!==!1?Math.max(gt()-r.h-it-d-v(r.bottom,"y"),0):r.top!==!1?v(r.top,"y"):Math.round(Math.max(gt()-r.h-it-d,0)/2),u.css({top:e.top,left:e.left,visibility:"visible"}),ft[0].style.width=ft[0].style.height="9999px",f={width:r.w+rt+g,height:r.h+it+d,top:l,left:a},t)&&(y=0,n.each(f,function(n){if(f[n]!==di[n])return(y=t,void 0)}),t=y);di=f;t||u.css(f);u.dequeue().animate(f,{duration:t||0,complete:function(){w();lt=!1;ft[0].style.width=r.w+rt+g+"px";ft[0].style.height=r.h+it+d+"px";r.reposition&&setTimeout(function(){k.bind("resize."+h,s.position)},1);i&&i()},step:w})},s.resize=function(n){var t;nt&&(n=n||{},n.width&&(r.w=v(n.width,"x")-rt-g),n.innerWidth&&(r.w=v(n.innerWidth,"x")),l.css({width:r.w}),n.height&&(r.h=v(n.height,"y")-it-d),n.innerHeight&&(r.h=v(n.innerHeight,"y")),n.innerHeight||n.height||(t=l.scrollTop(),l.css({height:"auto"}),r.h=l.height()),l.css({height:r.h}),t&&l.scrollTop(t),s.position("none"===r.transition?0:r.speed))},s.prep=function(i){function b(){return r.w=r.w||l.width(),r.w=r.mw&&r.mw<r.w?r.mw:r.w,r.w}function k(){return r.h=r.h||l.height(),r.h=r.mh&&r.mh<r.h?r.mh:r.h,r.h}if(nt){var v,y="none"===r.transition?0:r.speed;l.empty().remove();l=e(o,"LoadedContent").append(i);l.hide().appendTo(st.show()).css({width:b(),overflow:r.scrolling?"auto":"hidden"}).css({height:k()}).prependTo(p);st.hide();n(f).css({float:"none"});v=function(){function s(){n.support.opacity===!1&&u[0].style.removeAttribute("filter")}var i,f,o=c.length,v="frameBorder",p="allowTransparency";nt&&(f=function(){clearTimeout(ki);pt.hide();ut(kt,r.onComplete)},ui.html(r.title).add(l).show(),o>1?("string"==typeof r.current&&fi.html(r.current.replace("{current}",a+1).replace("{total}",o)).show(),ht[r.loop||o-1>a?"show":"hide"]().html(r.next),ct[r.loop||a?"show":"hide"]().html(r.previous),ir(),r.preloading&&n.each([vt(-1),vt(1)],function(){var i,f,u=c[this],r=n.data(u,tt);r&&r.href?(i=r.href,n.isFunction(i)&&(i=i.call(u))):i=n(u).attr("href");i&&vi(r,i)&&(i=yi(r,i),f=t.createElement("img"),f.src=i)})):ei.hide(),r.iframe?(i=e("iframe")[0],v in i&&(i[v]=0),p in i&&(i[p]="true"),r.scrolling||(i.scrolling="no"),n(i).attr({src:r.href,name:(new Date).getTime(),"class":h+"Iframe",allowFullScreen:!0,webkitAllowFullScreen:!0,mozallowfullscreen:!0}).one("load",f).appendTo(l),w.one(dt,function(){i.src="//about:blank"}),r.fastIframe&&n(i).trigger("load")):f(),"fade"===r.transition?u.fadeTo(y,1,s):s())};"fade"===r.transition?u.fadeTo(y,0,function(){s.position(0,v)}):s.position(y,v)}},s.next=function(){!lt&&c[1]&&(r.loop||c[a+1])&&(a=vt(1),yt(c[a]))},s.prev=function(){!lt&&c[1]&&(r.loop||a)&&(a=vt(-1),yt(c[a]))},s.close=function(){nt&&!at&&(at=!0,nt=!1,ut(ci,r.onCleanup),k.unbind("."+h),b.fadeTo(r.fadeOut||0,0),u.stop().fadeTo(r.fadeOut||0,0,function(){u.add(b).css({opacity:1,cursor:"auto"}).hide();ut(dt);l.empty().remove();setTimeout(function(){at=!1;ut(li,r.onClosed)},1)}))},s.remove=function(){u&&(u.stop(),n.colorbox.close(),u.stop().remove(),b.remove(),at=!1,u=null,n("."+ot).removeData(tt).removeClass(ot),n(t).unbind("click."+h))},s.element=function(){return n(y)},s.settings=hi)}(jQuery,document,window);jQuery(document).ready(function(){jQuery(".rich-content-blade-29").each(function(){jQuery(this).find("img").each(function(){var n=jQuery(this).attr("width");jQuery(this).attr("height","auto");jQuery(this).attr("width","100%");jQuery(this).css("max-width",n+"px");jQuery(this).css("margin-left","auto");jQuery(this).css("margin-right","auto");jQuery(this).css("display","block")})});jQuery.isFunction(colorbox)&&jQuery("a.video-connect").colorbox({iframe:!0,innerWidth:"80%",innerHeight:"80%"});LoadBladeImages("content-blade",screen_size());LoadBladeImages("small-content-blade",screen_size());LoadBladeImages("call-to-action-blade",screen_size());LoadBladeImages("story-header-blade",screen_size());LoadBladeImages("story-quote-blade",screen_size());jQuery(window).resize(function(){LoadBladeImages("content-blade",screen_size());LoadBladeImages("small-content-blade",screen_size());LoadBladeImages("call-to-action-blade",screen_size());LoadBladeImages("story-header-blade",screen_size());LoadBladeImages("story-quote-blade",screen_size())})});jQuery(document).ready(function(){jQuery("a.video-connect").colorbox({iframe:!0,innerWidth:"80%",innerHeight:"80%"})});jQuery(function(){jQuery("#cookie_agree").click(function(){createCookieHttpOnly("browserCookieDisclaimer","1",180);jQuery("#cookie-disclimer").hide()})});jQuery(document).ready(function(){jQuery(window).resize(function(){change_pinpoint_size()});change_pinpoint_size()});jQuery(document).ready(function(){jQuery(".content-blade-background").each(function(){jQuery(this).children().hasClass("blade-text-color-white")&&jQuery(this).find("span").first().attr("class","ico-right-arrow-white")})}),function(n){typeof define=="function"&&define.amd&&define.amd.jQuery?define(["jquery"],n):n(jQuery)}(function(n){function ft(t){return t&&t.allowPageScroll===undefined&&(t.swipe!==undefined||t.swipeStatus!==undefined)&&(t.allowPageScroll=y),t.click!==undefined&&t.tap===undefined&&(t.tap=t.click),t||(t={}),t=n.extend({},n.fn.swipe.defaults,t),this.each(function(){var r=n(this),i=r.data(s);i||(i=new et(this,t),r.data(s,i))})}function et(ft,et){function di(t){if(!vu()&&!(n(t.target).closest(et.excludedElements,ot).length>0)){var r=t.originalEvent?t.originalEvent:t,f,u=r.touches,e=u?u[0]:r;return(ht=rt,u?ct=u.length:t.preventDefault(),at=0,vt=null,bt=null,lt=0,kt=0,dt=0,yt=1,wt=0,st=pu(),si=bu(),dr(),!u||ct===et.fingers||et.fingers===c||ui()?(or(0,e),wi=ni(),ct==2&&(or(1,u[1]),kt=dt=sr(st[0].start,st[1].start)),(et.swipeStatus||et.pinchStatus)&&(f=pt(r,ht))):f=!1,f===!1)?(ht=i,pt(r,ht),f):(et.hold&&(ki=setTimeout(n.proxy(function(){ot.trigger("hold",[r.target]);et.hold&&(f=et.hold.call(ot,r,r.target))},this),et.longTapThreshold)),ai(!0),null)}}function gi(n){var u=n.originalEvent?n.originalEvent:n,e,h;if(ht!==t&&ht!==i&&!gr()){var s,r=u.touches,l=r?r[0]:u,f=nu(l);hi=ni();r&&(ct=r.length);et.hold&&clearTimeout(ki);ht=o;ct==2&&(kt==0?(or(1,r[1]),kt=dt=sr(st[0].start,st[1].start)):(nu(r[1]),dt=sr(st[0].end,st[1].end),bt=du(st[0].end,st[1].end)),yt=ku(kt,dt),wt=Math.abs(kt-dt));ct===et.fingers||et.fingers===c||!r||ui()?(vt=tf(f.start,f.end),uu(n,vt),at=gu(f.start,f.end),lt=iu(),wu(vt,at),(et.swipeStatus||et.pinchStatus)&&(s=pt(u,ht)),(!et.triggerOnTouchEnd||et.triggerOnTouchLeave)&&(e=!0,et.triggerOnTouchLeave&&(h=rf(this),e=uf(f.end,h)),!et.triggerOnTouchEnd&&e?ht=ir(o):et.triggerOnTouchLeave&&!e&&(ht=ir(t)),(ht==i||ht==t)&&pt(u,ht))):(ht=i,pt(u,ht));s===!1&&(ht=i,pt(u,ht))}}function nr(n){var r=n.originalEvent?n.originalEvent:n,u=r.touches;return u&&u.length?(au(),!0):(gr()&&(ct=bi),hi=ni(),lt=iu(),ur()||!rr()?(ht=i,pt(r,ht)):et.triggerOnTouchEnd||et.triggerOnTouchEnd==!1&&ht===o?(n.preventDefault(),ht=t,pt(r,ht)):!et.triggerOnTouchEnd&&br()?(ht=t,ri(r,ht,p)):ht===o&&(ht=i,pt(r,ht)),ai(!1),null)}function ii(){ct=0;hi=0;wi=0;kt=0;dt=0;yt=1;dr();ai(!1)}function tr(n){var i=n.originalEvent?n.originalEvent:n;et.triggerOnTouchLeave&&(ht=ir(t),pt(i,ht))}function hr(){ot.unbind(ei,di);ot.unbind(oi,ii);ot.unbind(yi,gi);ot.unbind(pi,nr);ti&&ot.unbind(ti,tr);ai(!1)}function ir(n){var r=n,f=cr(),u=rr(),e=ur();return!f||e?r=i:u&&n==o&&(!et.triggerOnTouchEnd||et.triggerOnTouchLeave)?r=t:!u&&n==t&&et.triggerOnTouchLeave&&(r=i),r}function pt(n,r){var u,f=n.touches;return yr()||fr()||ar()||ui()?((yr()||fr())&&(u=ri(n,r,g)),(ar()||ui())&&u!==!1&&(u=ri(n,r,nt))):cu()&&u!==!1?u=ri(n,r,tt):lu()&&u!==!1?u=ri(n,r,it):hu()&&u!==!1&&(u=ri(n,r,p)),r===i&&ii(n),r===t&&(f?f.length||ii(n):ii(n)),u}function ri(o,s,h){var c;if(h==g){if(ot.trigger("swipeStatus",[s,vt||null,at||0,lt||0,ct,st]),et.swipeStatus&&(c=et.swipeStatus.call(ot,o,s,vt||null,at||0,lt||0,ct,st),c===!1))return!1;if(s==t&&vr()){if(ot.trigger("swipe",[vt,at,lt,ct,st]),et.swipe&&(c=et.swipe.call(ot,o,vt,at,lt,ct,st),c===!1))return!1;switch(vt){case r:ot.trigger("swipeLeft",[vt,at,lt,ct,st]);et.swipeLeft&&(c=et.swipeLeft.call(ot,o,vt,at,lt,ct,st));break;case u:ot.trigger("swipeRight",[vt,at,lt,ct,st]);et.swipeRight&&(c=et.swipeRight.call(ot,o,vt,at,lt,ct,st));break;case f:ot.trigger("swipeUp",[vt,at,lt,ct,st]);et.swipeUp&&(c=et.swipeUp.call(ot,o,vt,at,lt,ct,st));break;case e:ot.trigger("swipeDown",[vt,at,lt,ct,st]);et.swipeDown&&(c=et.swipeDown.call(ot,o,vt,at,lt,ct,st))}}}if(h==nt){if(ot.trigger("pinchStatus",[s,bt||null,wt||0,lt||0,ct,yt,st]),et.pinchStatus&&(c=et.pinchStatus.call(ot,o,s,bt||null,wt||0,lt||0,ct,yt,st),c===!1))return!1;if(s==t&&lr())switch(bt){case a:ot.trigger("pinchIn",[bt||null,wt||0,lt||0,ct,yt,st]);et.pinchIn&&(c=et.pinchIn.call(ot,o,bt||null,wt||0,lt||0,ct,yt,st));break;case v:ot.trigger("pinchOut",[bt||null,wt||0,lt||0,ct,yt,st]);et.pinchOut&&(c=et.pinchOut.call(ot,o,bt||null,wt||0,lt||0,ct,yt,st))}}return h==p?(s===i||s===t)&&(clearTimeout(li),clearTimeout(ki),er()&&!eu()?(gt=ni(),li=setTimeout(n.proxy(function(){gt=null;ot.trigger("tap",[o.target]);et.tap&&(c=et.tap.call(ot,o,o.target))},this),et.doubleTapThreshold)):(gt=null,ot.trigger("tap",[o.target]),et.tap&&(c=et.tap.call(ot,o,o.target)))):h==tt?(s===i||s===t)&&(clearTimeout(li),gt=null,ot.trigger("doubletap",[o.target]),et.doubleTap&&(c=et.doubleTap.call(ot,o,o.target))):h==it&&(s===i||s===t)&&(clearTimeout(li),gt=null,ot.trigger("longtap",[o.target]),et.longTap&&(c=et.longTap.call(ot,o,o.target))),c}function rr(){var n=!0;return et.threshold!==null&&(n=at>=et.threshold),n}function ur(){var n=!1;return et.cancelThreshold!==null&&vt!==null&&(n=tu(vt)-at>=et.cancelThreshold),n}function ru(){return et.pinchThreshold!==null?wt>=et.pinchThreshold:!0}function cr(){return et.maxTimeThreshold?lt>=et.maxTimeThreshold?!1:!0:!0}function uu(n,t){if(et.preventDefaultEvents!==!1)if(et.allowPageScroll===y)n.preventDefault();else{var i=et.allowPageScroll===d;switch(t){case r:(et.swipeLeft&&i||!i&&et.allowPageScroll!=w)&&n.preventDefault();break;case u:(et.swipeRight&&i||!i&&et.allowPageScroll!=w)&&n.preventDefault();break;case f:(et.swipeUp&&i||!i&&et.allowPageScroll!=b)&&n.preventDefault();break;case e:(et.swipeDown&&i||!i&&et.allowPageScroll!=b)&&n.preventDefault()}}}function lr(){var n=pr(),t=wr(),i=ru();return n&&t&&i}function ui(){return!!(et.pinchStatus||et.pinchIn||et.pinchOut)}function ar(){return!!(lr()&&ui())}function vr(){var n=cr(),t=rr(),i=pr(),r=wr(),u=ur();return!u&&r&&i&&t&&n}function fr(){return!!(et.swipe||et.swipeStatus||et.swipeLeft||et.swipeRight||et.swipeUp||et.swipeDown)}function yr(){return!!(vr()&&fr())}function pr(){return ct===et.fingers||et.fingers===c||!k}function wr(){return st[0].end.x!==0}function br(){return!!et.tap}function er(){return!!et.doubleTap}function fu(){return!!et.longTap}function kr(){if(gt==null)return!1;var n=ni();return er()&&n-gt<=et.doubleTapThreshold}function eu(){return kr()}function ou(){return(ct===1||!k)&&(isNaN(at)||at<et.threshold)}function su(){return lt>et.longTapThreshold&&at<ut}function hu(){return!!(ou()&&br())}function cu(){return!!(kr()&&er())}function lu(){return!!(su()&&fu())}function au(){ci=ni();bi=event.touches.length+1}function dr(){ci=0;bi=0}function gr(){var n=!1,t;return ci&&(t=ni()-ci,t<=et.fingerReleaseThreshold&&(n=!0)),n}function vu(){return!!(ot.data(s+"_intouch")===!0)}function ai(n){n===!0?(ot.bind(yi,gi),ot.bind(pi,nr),ti&&ot.bind(ti,tr)):(ot.unbind(yi,gi,!1),ot.unbind(pi,nr,!1),ti&&ot.unbind(ti,tr,!1));ot.data(s+"_intouch",n===!0)}function or(n,t){var i=t.identifier!==undefined?t.identifier:0;return st[n].identifier=i,st[n].start.x=st[n].end.x=t.pageX||t.clientX,st[n].start.y=st[n].end.y=t.pageY||t.clientY,st[n]}function nu(n){var i=n.identifier!==undefined?n.identifier:0,t=yu(i);return t.end.x=n.pageX||n.clientX,t.end.y=n.pageY||n.clientY,t}function yu(n){for(var t=0;t<st.length;t++)if(st[t].identifier==n)return st[t]}function pu(){for(var n=[],t=0;t<=5;t++)n.push({start:{x:0,y:0},end:{x:0,y:0},identifier:0});return n}function wu(n,t){t=Math.max(t,tu(n));si[n].distance=t}function tu(n){return si[n]?si[n].distance:undefined}function bu(){var n={};return n[r]=vi(r),n[u]=vi(u),n[f]=vi(f),n[e]=vi(e),n}function vi(n){return{direction:n,distance:0}}function iu(){return hi-wi}function sr(n,t){var i=Math.abs(n.x-t.x),r=Math.abs(n.y-t.y);return Math.round(Math.sqrt(i*i+r*r))}function ku(n,t){var i=t/n*1;return i.toFixed(2)}function du(){return yt<1?v:a}function gu(n,t){return Math.round(Math.sqrt(Math.pow(t.x-n.x,2)+Math.pow(t.y-n.y,2)))}function nf(n,t){var r=n.x-t.x,u=t.y-n.y,f=Math.atan2(u,r),i=Math.round(f*180/Math.PI);return i<0&&(i=360-Math.abs(i)),i}function tf(n,t){var i=nf(n,t);return i<=45&&i>=0?r:i<=360&&i>=315?r:i>=135&&i<=225?u:i>45&&i<135?e:f}function ni(){var n=new Date;return n.getTime()}function rf(t){t=n(t);var i=t.offset();return{left:i.left,right:i.left+t.outerWidth(),top:i.top,bottom:i.top+t.outerHeight()}}function uf(n,t){return n.x>t.left&&n.x<t.right&&n.y>t.top&&n.y<t.bottom}var fi=k||h||!et.fallbackToMouseEvents,ei=fi?h?l?"MSPointerDown":"pointerdown":"touchstart":"mousedown",yi=fi?h?l?"MSPointerMove":"pointermove":"touchmove":"mousemove",pi=fi?h?l?"MSPointerUp":"pointerup":"touchend":"mouseup",ti=fi?null:"mouseleave",oi=h?l?"MSPointerCancel":"pointercancel":"touchcancel",at=0,vt=null,lt=0,kt=0,dt=0,yt=1,wt=0,bt=0,si=null,ot=n(ft),ht="start",ct=0,st=null,wi=0,hi=0,ci=0,bi=0,gt=0,li=null,ki=null;try{ot.bind(ei,di);ot.bind(oi,ii)}catch(ff){n.error("events not supported "+ei+","+oi+" on jQuery.swipe")}this.enable=function(){return ot.bind(ei,di),ot.bind(oi,ii),ot};this.disable=function(){return hr(),ot};this.destroy=function(){hr();ot.data(s,null);ot=null};this.option=function(t,i){if(et[t]!==undefined){if(i===undefined)return et[t];et[t]=i}else n.error("Option "+t+" does not exist on jQuery.swipe.options");return null}}var r="left",u="right",f="up",e="down",a="in",v="out",y="none",d="auto",g="swipe",nt="pinch",p="tap",tt="doubletap",it="longtap",w="horizontal",b="vertical",c="all",ut=10,rt="start",o="move",t="end",i="cancel",k="ontouchstart"in window,l=window.navigator.msPointerEnabled&&!window.navigator.pointerEnabled,h=window.navigator.pointerEnabled||window.navigator.msPointerEnabled,s="TouchSwipe";n.fn.swipe=function(t){var r=n(this),i=r.data(s);if(i&&typeof t=="string"){if(i[t])return i[t].apply(this,Array.prototype.slice.call(arguments,1));n.error("Method "+t+" does not exist on jQuery.swipe")}else if(!i&&(typeof t=="object"||!t))return ft.apply(this,arguments);return r};n.fn.swipe.version="1.6.9";n.fn.swipe.defaults={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:!0,triggerOnTouchLeave:!1,allowPageScroll:"auto",fallbackToMouseEvents:!0,excludedElements:"label, button, input, select, textarea, a, .noSwipe",preventDefaultEvents:!0};n.fn.swipe.phases={PHASE_START:rt,PHASE_MOVE:o,PHASE_END:t,PHASE_CANCEL:i};n.fn.swipe.directions={LEFT:r,RIGHT:u,UP:f,DOWN:e,IN:a,OUT:v};n.fn.swipe.pageScroll={NONE:y,HORIZONTAL:w,VERTICAL:b,AUTO:d};n.fn.swipe.fingers={ONE:1,TWO:2,THREE:3,ALL:c}});jQuery(window).load(function(){var i,n,t;if(i=jQuery(".carousel-container").attr("data-is-page-editor-mode")!=undefined?jQuery(".carousel-container").attr("data-is-page-editor-mode").toLowerCase()=="true":!1,i==!1){jQuery(document).ready(function(){jQuery(".carousel-main-frame-window").children().nextAll().hide();jQuery(".carousel-Section").remove();jQuery(".carousel-main-frame-window").each(function(){var r=this,t=jQuery(r).children().length,n,i;if(t>=9&&(t=9),t==0&&jQuery(r).hide(),t>1){for(n="",n=n+"<div class='carousel-Section'>",n=n+"<div class='carousel-paging-Section' data-current-indexer='0' data-totalcount='"+t+"'>",n=n+"<span class='carousel-left-arrow carousel-navigation' aria-hidden='true' data-totalcount='"+t+"'><\/span>",i=0;i<t&&i<9;i++)n=i==0?n+"<a href='javascript:;' class='btn btn-warning-black btn-lg pager-buttons show' role='button' data-index='"+i+"'><\/a>":n+"<a href='javascript:;' class='btn btn-default-white btn-lg pager-buttons show' role='button' data-index='"+i+"'><\/a>";n=n+"<span class='carousel-right-arrow carousel-navigation' aria-hidden='true' data-totalcount='"+t+"'><\/span>";n=n+"<\/div>";n=n+"<\/div>";jQuery(r).append(n)}})});jQuery(function(){try{jQuery(".corosol-divisions").swipe({allowPageScroll:"vertical",swipe:function(t,i){var f,e,u,r;i=="left"?(f=jQuery(this).parent().parent().find(".carousel-right-arrow").parent().attr("data-totalcount"),n=parseInt(jQuery(this).parent().parent().find(".carousel-right-arrow").parent().attr("data-current-indexer")),n==f-1?(e=this,jQuery(this).parent().parent().find(".carousel-right-arrow").parent().children().filter(".pager-buttons").removeClass("btn-warning-black").addClass("btn-default-white"),jQuery(this).parent().parent().find(".carousel-right-arrow").parent().children().filter(".pager-buttons").eq(0).addClass("btn-warning-black").removeClass("btn-default-white"),u=jQuery(this).parent().parent().find(".carousel-right-arrow").parent().children().filter(".pager-buttons").eq(0).attr("data-index"),r=jQuery(this).parent().parent().find(".carousel-right-arrow").parent().children().filter(".pager-buttons").eq(0).parent().parent().parent(),jQuery(r).css("height",jQuery(r).height()+"px"),jQuery(r).children().not(".carousel-Section").fadeOut("600").addClass("pos-absolute"),jQuery(this).parent().parent().find(".carousel-right-arrow").parent().attr("data-current-indexer",0),jQuery(r).children().not(".carousel-Section").eq(0).removeClass("pos-absolute").fadeIn("900",function(){jQuery(r).css("height","auto")}),LargeHeroVerticalAligningTextBox!=undefined&&LargeHeroVerticalAligningTextBox()):n<f&&(e=this,n=parseInt(jQuery(e).parent().parent().find(".carousel-right-arrow").parent().attr("data-current-indexer")),jQuery(this).parent().parent().find(".carousel-right-arrow").parent().children().filter(".pager-buttons").removeClass("btn-warning-black").addClass("btn-default-white"),jQuery(this).parent().parent().find(".carousel-right-arrow").parent().children().filter(".pager-buttons").eq(n+1).addClass("btn-warning-black").removeClass("btn-default-white"),u=jQuery(this).parent().parent().find(".carousel-right-arrow").parent().children().filter(".pager-buttons").eq(n+1).attr("data-index"),r=jQuery(this).parent().parent().find(".carousel-right-arrow").parent().children().filter(".pager-buttons").eq(n+1).parent().parent().parent(),jQuery(r).css("height",jQuery(r).height()+"px"),jQuery(r).children().not(".carousel-Section").fadeOut("600").addClass("pos-absolute"),jQuery(e).parent().parent().find(".carousel-right-arrow").parent().attr("data-current-indexer",parseInt(u)),jQuery(r).children().not(".carousel-Section").eq(u).removeClass("pos-absolute").fadeIn("900",function(){jQuery(r).css("height","auto")}),LargeHeroVerticalAligningTextBox!=undefined&&LargeHeroVerticalAligningTextBox())):i=="right"&&(f=jQuery(this).parent().parent().find(".carousel-right-arrow").parent().attr("data-totalcount"),n=parseInt(jQuery(this).parent().parent().find(".carousel-right-arrow").parent().attr("data-current-indexer")),n==0?(e=this,jQuery(this).parent().parent().find(".carousel-right-arrow").parent().children().filter(".pager-buttons").removeClass("btn-warning-black").addClass("btn-default-white"),jQuery(this).parent().parent().find(".carousel-right-arrow").parent().children().filter(".pager-buttons").eq(f-1).addClass("btn-warning-black").removeClass("btn-default-white"),u=jQuery(this).parent().parent().find(".carousel-right-arrow").parent().children().filter(".pager-buttons").eq(f-1).attr("data-index"),r=jQuery(this).parent().parent().find(".carousel-right-arrow").parent().children().filter(".pager-buttons").eq(f-1).parent().parent().parent(),jQuery(r).css("height",jQuery(r).height()+"px"),jQuery(r).children().not(".carousel-Section").fadeOut("600").addClass("pos-absolute"),jQuery(this).parent().parent().find(".carousel-right-arrow").parent().attr("data-current-indexer",parseInt(u)),jQuery(r).children().not(".carousel-Section").eq(u).removeClass("pos-absolute").fadeIn("900",function(){jQuery(r).css("height","auto")}),LargeHeroVerticalAligningTextBox!=undefined&&LargeHeroVerticalAligningTextBox()):n<f&&(e=this,n=parseInt(jQuery(this).parent().parent().find(".carousel-right-arrow").parent().attr("data-current-indexer")),jQuery(this).parent().parent().find(".carousel-right-arrow").parent().children().filter(".pager-buttons").removeClass("btn-warning-black").addClass("btn-default-white"),jQuery(this).parent().parent().find(".carousel-right-arrow").parent().children().filter(".pager-buttons").eq(n-1).addClass("btn-warning-black").removeClass("btn-default-white"),u=jQuery(this).parent().parent().find(".carousel-right-arrow").parent().children().filter(".pager-buttons").eq(n-1).attr("data-index"),r=jQuery(this).parent().parent().find(".carousel-right-arrow").parent().children().filter(".pager-buttons").eq(n-1).parent().parent().parent(),jQuery(r).css("height",jQuery(r).height()+"px"),jQuery(r).children().not(".carousel-Section").fadeOut("600").addClass("pos-absolute"),jQuery(this).parent().parent().find(".carousel-right-arrow").parent().attr("data-current-indexer",parseInt(u)),jQuery(r).children().not(".carousel-Section").eq(u).removeClass("pos-absolute").fadeIn("900",function(){jQuery(r).css("height","auto")}),LargeHeroVerticalAligningTextBox!=undefined&&LargeHeroVerticalAligningTextBox()))},threshold:0})}catch(t){console.warn("swipe Plugin is not defined.")}});n=0;jQuery(document).ready(function(){jQuery(".pager-buttons").click(function(){var t=this,i,n;jQuery(t).parent().children().filter(".pager-buttons").removeClass("btn-warning-black").addClass("btn-default-white");jQuery(t).addClass("btn-warning-black").removeClass("btn-default-white");i=jQuery(t).attr("data-index");n=jQuery(t).parent().parent().parent();jQuery(n).css("height",jQuery(n).height()+"px");jQuery(n).children().not(".carousel-Section").fadeOut("600").addClass("pos-absolute");jQuery(t).parent().attr("data-current-indexer",parseInt(i));jQuery(n).children().not(".carousel-Section").eq(i).removeClass("pos-absolute").fadeIn("900",function(){jQuery(n).css("height","auto")});LargeHeroVerticalAligningTextBox!=undefined&&LargeHeroVerticalAligningTextBox()});jQuery(".carousel-left-arrow").click(function(){var u=jQuery(this).attr("data-totalcount"),r,i,t;n=parseInt(jQuery(this).parent().attr("data-current-indexer"));n==0?(r=this,jQuery(this).parent().children().filter(".pager-buttons").removeClass("btn-warning-black").addClass("btn-default-white"),jQuery(this).parent().children().filter(".pager-buttons").eq(u-1).addClass("btn-warning-black").removeClass("btn-default-white"),i=jQuery(this).parent().children().filter(".pager-buttons").eq(u-1).attr("data-index"),t=jQuery(this).parent().children().filter(".pager-buttons").eq(u-1).parent().parent().parent(),jQuery(t).css("height",jQuery(t).height()+"px"),jQuery(t).children().not(".carousel-Section").fadeOut("600").addClass("pos-absolute"),jQuery(r).parent().attr("data-current-indexer",parseInt(i)),jQuery(t).children().not(".carousel-Section").eq(i).removeClass("pos-absolute").fadeIn("900",function(){jQuery(t).css("height","auto")}),LargeHeroVerticalAligningTextBox!=undefined&&LargeHeroVerticalAligningTextBox()):n<u&&(r=this,n=parseInt(jQuery(r).parent().attr("data-current-indexer")),jQuery(this).parent().children().filter(".pager-buttons").removeClass("btn-warning-black").addClass("btn-default-white"),jQuery(this).parent().children().filter(".pager-buttons").eq(n-1).addClass("btn-warning-black").removeClass("btn-default-white"),i=jQuery(this).parent().children().filter(".pager-buttons").eq(n-1).attr("data-index"),t=jQuery(this).parent().children().filter(".pager-buttons").eq(n-1).parent().parent().parent(),jQuery(t).css("height",jQuery(t).height()+"px"),jQuery(t).children().not(".carousel-Section").fadeOut("600").addClass("pos-absolute"),jQuery(r).parent().attr("data-current-indexer",parseInt(i)),jQuery(t).children().not(".carousel-Section").eq(i).removeClass("pos-absolute").fadeIn("900",function(){jQuery(t).css("height","auto")}),LargeHeroVerticalAligningTextBox!=undefined&&LargeHeroVerticalAligningTextBox())});jQuery(".carousel-right-arrow").click(function(){var u=jQuery(this).attr("data-totalcount"),i,r,t;n=parseInt(jQuery(this).parent().attr("data-current-indexer"));n==u-1?(i=this,jQuery(this).parent().children().filter(".pager-buttons").removeClass("btn-warning-black").addClass("btn-default-white"),jQuery(this).parent().children().filter(".pager-buttons").eq(0).addClass("btn-warning-black").removeClass("btn-default-white"),r=jQuery(this).parent().children().filter(".pager-buttons").eq(0).attr("data-index"),t=jQuery(this).parent().children().filter(".pager-buttons").eq(0).parent().parent().parent(),jQuery(t).css("height",jQuery(t).height()+"px"),jQuery(t).children().not(".carousel-Section").fadeOut("600").addClass("pos-absolute"),jQuery(i).parent().attr("data-current-indexer",0),jQuery(t).children().not(".carousel-Section").eq(0).removeClass("pos-absolute").fadeIn("900",function(){jQuery(t).css("height","auto")}),LargeHeroVerticalAligningTextBox!=undefined&&LargeHeroVerticalAligningTextBox()):n<u&&(i=this,n=parseInt(jQuery(i).parent().attr("data-current-indexer")),jQuery(this).parent().children().filter(".pager-buttons").removeClass("btn-warning-black").addClass("btn-default-white"),jQuery(this).parent().children().filter(".pager-buttons").eq(n+1).addClass("btn-warning-black").removeClass("btn-default-white"),r=jQuery(this).parent().children().filter(".pager-buttons").eq(n+1).attr("data-index"),t=jQuery(this).parent().children().filter(".pager-buttons").eq(n+1).parent().parent().parent(),jQuery(t).css("height",jQuery(t).height()+"px"),jQuery(t).children().not(".carousel-Section").fadeOut("600").addClass("pos-absolute"),jQuery(i).parent().attr("data-current-indexer",parseInt(r)),jQuery(t).children().not(".carousel-Section").eq(r).removeClass("pos-absolute").fadeIn("900",function(){jQuery(t).css("height","auto")}),LargeHeroVerticalAligningTextBox!=undefined&&LargeHeroVerticalAligningTextBox())});jQuery(".carousel-main-frame-window").hover(function(){clearInterval(t)},function(){clearInterval(t);r()})});t=setInterval(function(){jQuery(".carousel-main-frame-window").each(function(){var u=jQuery(this).find(".carousel-right-arrow").parent().attr("data-totalcount"),i,r,t;n=parseInt(jQuery(this).find(".carousel-right-arrow").parent().attr("data-current-indexer"));n==u-1?(i=this,jQuery(this).find(".carousel-right-arrow").parent().children().filter(".pager-buttons").removeClass("btn-warning-black").addClass("btn-default-white"),jQuery(this).find(".carousel-right-arrow").parent().children().filter(".pager-buttons").eq(0).addClass("btn-warning-black").removeClass("btn-default-white"),r=jQuery(this).find(".carousel-right-arrow").parent().children().filter(".pager-buttons").eq(0).attr("data-index"),t=jQuery(this).find(".carousel-right-arrow").parent().children().filter(".pager-buttons").eq(0).parent().parent().parent(),jQuery(t).css("height",jQuery(t).height()+"px"),jQuery(t).children().not(".carousel-Section").fadeOut("600").addClass("pos-absolute"),jQuery(this).find(".carousel-right-arrow").parent().attr("data-current-indexer",0),jQuery(t).children().not(".carousel-Section").eq(0).removeClass("pos-absolute").fadeIn("900",function(){jQuery(t).css("height","auto")}),LargeHeroVerticalAligningTextBox!=undefined&&LargeHeroVerticalAligningTextBox()):n<u&&(i=this,n=parseInt(jQuery(i).find(".carousel-right-arrow").parent().attr("data-current-indexer")),jQuery(this).find(".carousel-right-arrow").parent().children().filter(".pager-buttons").removeClass("btn-warning-black").addClass("btn-default-white"),jQuery(this).find(".carousel-right-arrow").parent().children().filter(".pager-buttons").eq(n+1).addClass("btn-warning-black").removeClass("btn-default-white"),r=jQuery(this).find(".carousel-right-arrow").parent().children().filter(".pager-buttons").eq(n+1).attr("data-index"),t=jQuery(this).find(".carousel-right-arrow").parent().children().filter(".pager-buttons").eq(n+1).parent().parent().parent(),jQuery(t).css("height",jQuery(t).height()+"px"),jQuery(t).children().not(".carousel-Section").fadeOut("600").addClass("pos-absolute"),jQuery(i).find(".carousel-right-arrow").parent().attr("data-current-indexer",parseInt(r)),jQuery(t).children().not(".carousel-Section").eq(r).removeClass("pos-absolute").fadeIn("900",function(){jQuery(t).css("height","auto")}),LargeHeroVerticalAligningTextBox!=undefined&&LargeHeroVerticalAligningTextBox())})},5e3);function r(){t=setInterval(function(){jQuery(".carousel-main-frame-window").each(function(){var u=jQuery(this).find(".carousel-right-arrow").parent().attr("data-totalcount"),i,r,t;n=parseInt(jQuery(this).find(".carousel-right-arrow").parent().attr("data-current-indexer"));n==u-1?(i=this,jQuery(this).find(".carousel-right-arrow").parent().children().filter(".pager-buttons").removeClass("btn-warning-black").addClass("btn-default-white"),jQuery(this).find(".carousel-right-arrow").parent().children().filter(".pager-buttons").eq(0).addClass("btn-warning-black").removeClass("btn-default-white"),r=jQuery(this).find(".carousel-right-arrow").parent().children().filter(".pager-buttons").eq(0).attr("data-index"),t=jQuery(this).find(".carousel-right-arrow").parent().children().filter(".pager-buttons").eq(0).parent().parent().parent(),jQuery(t).css("height",jQuery(t).height()+"px"),jQuery(t).children().not(".carousel-Section").fadeOut("600").addClass("pos-absolute"),jQuery(this).find(".carousel-right-arrow").parent().attr("data-current-indexer",0),jQuery(t).children().not(".carousel-Section").eq(0).removeClass("pos-absolute").fadeIn("900",function(){jQuery(t).css("height","auto")}),LargeHeroVerticalAligningTextBox!=undefined&&LargeHeroVerticalAligningTextBox()):n<u&&(i=this,n=parseInt(jQuery(i).find(".carousel-right-arrow").parent().attr("data-current-indexer")),jQuery(this).find(".carousel-right-arrow").parent().children().filter(".pager-buttons").removeClass("btn-warning-black").addClass("btn-default-white"),jQuery(this).find(".carousel-right-arrow").parent().children().filter(".pager-buttons").eq(n+1).addClass("btn-warning-black").removeClass("btn-default-white"),r=jQuery(this).find(".carousel-right-arrow").parent().children().filter(".pager-buttons").eq(n+1).attr("data-index"),t=jQuery(this).find(".carousel-right-arrow").parent().children().filter(".pager-buttons").eq(n+1).parent().parent().parent(),jQuery(t).css("height",jQuery(t).height()+"px"),jQuery(t).children().not(".carousel-Section").fadeOut("600").addClass("pos-absolute"),jQuery(i).find(".carousel-right-arrow").parent().attr("data-current-indexer",parseInt(r)),jQuery(t).children().not(".carousel-Section").eq(r).removeClass("pos-absolute").fadeIn("900",function(){jQuery(t).css("height","auto")}),LargeHeroVerticalAligningTextBox!=undefined&&LargeHeroVerticalAligningTextBox())})},5e3)}}else jQuery(".corosol-divisions").addClass("show"),jQuery(".carousel-sub-container").css("max-height","none");jQuery(window).resize(function(){jQuery(window).width()<540?jQuery(".carousel-Section").each(function(){var n=jQuery(this).width(),t=jQuery(this).children().eq(0).width()+45,i=(n-t)/2;jQuery(this).children().eq(0).css("margin-left",i+"px")}):jQuery(".carousel-Section").each(function(){jQuery(this).children().eq(0).css("margin-left","0px")})});jQuery(window).width()<540?jQuery(".carousel-Section").each(function(){var n=jQuery(this).width(),t=jQuery(this).children().eq(0).width()+45,i=(n-t)/2;jQuery(this).children().eq(0).css("margin-left",i+"px")}):jQuery(".carousel-Section").each(function(){jQuery(this).children().eq(0).css("margin-left","0px")})});$(document).ready(function(){$(window).width()<680?$(".lfc-left-bg-img, .lfc-bg-img").each(function(){sourceURL=$(this).attr("data-image-source");sourceURL='url("'+sourceURL+'")';$(this).css("background-image","")}):$(".lfc-left-bg-img, .lfc-bg-img").each(function(){sourceURL=$(this).attr("data-image-source");sourceURL='url("'+sourceURL+'")';$(this).css("background-image",sourceURL)});$(".threecol").each(function(){var i=this,t,n;if($(i).attr("data-threecol-page-editor-mode")=="True")for(t=$(i).children(),n=0;n<t.length;n+=9)t.slice(n,n+9).wrapAll("<div class='row no-margin'><\/div>");else for(t=$(i).children(),n=0;n<t.length;n+=3)t.slice(n,n+3).wrapAll("<div class='row no-margin'><\/div>")});$(".twocol").each(function(){var i=this,t,n;if($(i).attr("data-twocol-page-editor-mode")=="True")for(t=$(i).children(),n=0;n<t.length;n+=6)t.slice(n,n+6).wrapAll("<div class='row no-margin'><\/div>");else for(t=$(i).children(),n=0;n<t.length;n+=2)t.slice(n,n+2).wrapAll("<div class='row no-margin'><\/div>")});$(".fourcol").each(function(){var i=this,t=$(i).find(".four-col-grid"),n;if($(i).attr("data-fourcol-page-editor-mode")=="True")for(n=0;n<t.length;n+=12)t.slice(n,n+12).wrapAll("<div class='row no-margin'><\/div>");else for(n=0;n<t.length;n+=4)t.slice(n,n+4).wrapAll("<div class='row no-margin'><\/div>")})});$(window).resize(function(){$(window).width()<680?$(".lfc-left-bg-img, .lfc-bg-img").each(function(){sourceURL=$(this).attr("data-image-source");sourceURL='url("'+sourceURL+'")';$(this).css("background-image","")}):$(".lfc-left-bg-img, .lfc-bg-img").each(function(){sourceURL=$(this).attr("data-image-source");sourceURL='url("'+sourceURL+'")';$(this).css("background-image",sourceURL)})});jQuery(document).ready(function(){initSearchResults(jQuery)});jQuery(document).ready(function(n){if(n("#hdnPagerIntialised").val()!=undefined){var t=5;function i(t){if(typeof GetAjaxmethodURL!="undefined"){var i=GetAjaxmethodURL();i=i.replace("ParIsScopechange",t);n.ajax({url:i,type:"POST",data:n("form").serialize(),success:function(t){if(jQuery.isEmptyObject(t))n("#spnNoResultsFound").show();else{var i="";n.each(t.results,function(n,t){i+='<div class="search-result-block"><a href="'+t.url+'" class="search-result-link" ><h3 class="search-result-header light" tabindex="0">'+t.name+'<\/h3><\/a><p class="search-result-content" tabindex="0">'+t.snippet.replace("<script>","")+'<\/p><a href="'+t.url+'"class="search-result-link" >'+t.displayUrl+"<\/a><\/div>"});n(".results-displayed").html(t.PageResultsHeader);n(".mobile-num-results strong").html(t.TotalNumberOfResults);n("#hdnTotalNumberOfResults").val(t.TotalNumberOfResults);i==""?(n("#spnNoResultsFound").show(),n(".divPagination").hide(),n("#tblGenerateBingResults").hide()):(n("#tblGenerateBingResults").show(),n("#tblGenerateBingResults").html(i),n(".divPagination").show(),n("#spnNoResultsFound").hide(),(n("#hdnPagerIntialised").val()=="false"||n(".divPagination .pagination").length==0)&&(r(),n("#hdnPagerIntialised").val("true")))}n.cookie("MPN_TranslatorLangSelected")!=undefined&&n.cookie("MPN_TranslatorLangSelected")!=""&&AjaxCallBingTranslation()}})}}n("#divBingSearch").hide();n("#hdnpagenumber").val("1");n("#btnPrevious").hide();n("#spnNoResultsFound").hide();i(!0);n("#search-results-search-box-button").click(function(){var t=n("#SearchText").val();return n("#SearchTextInHeader").val(t),t==""||t==undefined?(alert("Please enter one or more words."),!1):(location.href=n("#hdnResultsPath").val()+t,!1)});n(".filter-checkbox-wrapper input[type='checkbox']").click(function(){n("#hdnpagenumber").val(1);n("#btnPrevious").hide();n("#hdnPagerIntialised").val("false");i(!0)});n(".clear-search-results").click(function(){n("#hdnpagenumber").val(1);n("#btnPrevious").hide();n("#hdnPagerIntialised").val("false");i(!0)});function r(){var u=parseInt(n("#hdnTotalNumberOfResults").val()),r=parseInt(n("#hdnpagenumber").val()),f=parseInt(n("#hdnNumberOfRecordsToDisplay").val()),i=Math.ceil(u/f);r<=1?n(".divPagination").bootpag({total:i,page:1,maxVisible:t,leaps:!1,next:">",prev:null}):r==i?n(".divPagination").bootpag({total:i,page:1,maxVisible:t,leaps:!1,next:null,prev:"<"}):n(".divPagination").bootpag({total:i,page:1,maxVisible:t,leaps:!1,next:">",prev:"<"});i==1&&n(".divPagination").bootpag({total:i,page:1,maxVisible:t,leaps:!1,next:null,prev:null})}n(".divPagination").bootpag().on("page",function(r,u){n("#hdnpagenumber").val(u);i(!1);var e=parseInt(n("#hdnTotalNumberOfResults").val()),s=parseInt(n("#hdnpagenumber").val()),o=parseInt(n("#hdnNumberOfRecordsToDisplay").val()),f=Math.ceil(e/o);u<=1?(n(this).bootpag({total:f,prev:null,next:">"}),n(".divPagination .next").show()):u==f?(n(".divPagination .next").hide(),n(".bootpag li").is(".prev")||n(".divPagination").bootpag({total:f,page:u,maxVisible:t,leaps:!1,next:null,prev:"<"})):(n(this).bootpag({total:f,next:">",prev:"<"}),n(".divPagination .next").show())})}n("#search-header-icon").click(function(){var t=n("#SearchTextInHeader").val();if(t==""||t==undefined)return alert("Please enter one or more words."),n("#SearchTextInHeader").focus(),!1;location.href=n("#hdnResultsPath").val()+t});n("#smb-search-header-icon").click(function(){var t=n("#SearchTextInHeader").val();return t==""||t==undefined?(alert("Please enter one or more words."),n("#SearchTextInHeader").focus(),!1):(location.href=n("#hdnResultsPath").val()+t,!1)});n("#search-icon").click(function(){var t=n("#SearchTextInHeader").val();if(t==""||t==undefined)return n("#search-button, #search-form").toggle(),!1;location.href=n("#hdnResultsPath").val()+t});n("#SearchText").keypress(function(t){if(t.which==13){var i=n("#SearchText").val();return n("#SearchTextInHeader").val(i),i==""||i==undefined?(alert("Please enter one or more words."),n("#SearchText").focus(),!1):(location.href=n("#hdnResultsPath").val()+i,!1)}});n("#SearchTextInHeader").keypress(function(t){if(t.which==13){var i=n("#SearchTextInHeader").val();return i==""||i==undefined?(alert("Please enter one or more words."),n("#SearchTextInHeader").focus(),!1):(location.href=n("#hdnResultsPath").val()+i,!1)}});n("#search-button").parent().addClass("navbar-form navbar-right")}),function(n){n.fn.bootpag=function(t){function f(t,f){var l;f=parseInt(f,10);var o,e=0==i.maxVisible?1:i.maxVisible,h=1==i.maxVisible?0:1,c=Math.floor((f-1)/e)*e,s=t.find("li");i.page=f=0>f?0:f>i.total?i.total:f;s.removeClass(i.activeClass);o=1>f-1?1:i.leaps&&f-1>=i.maxVisible?Math.floor((f-1)/e)*e:f-1;i.firstLastUse&&s.first().toggleClass(i.disabledClass,1===f);e=s.first();i.firstLastUse&&(e=e.next());e.toggleClass(i.disabledClass,1===f).attr("data-lp",o).find("a").attr("href",r(o));h=1==i.maxVisible?0:1;o=f+1>i.total?i.total:i.leaps&&f+1<i.total-i.maxVisible?c+i.maxVisible+h:f+1;e=s.last();i.firstLastUse&&(e=e.prev());e.toggleClass(i.disabledClass,f===i.total).attr("data-lp",o).find("a").attr("href",r(o));s.last().toggleClass(i.disabledClass,f===i.total);e=s.filter("[data-lp="+f+"]");h="."+[i.nextClass,i.prevClass,i.firstClass,i.lastClass].join(",.");e.not(h).length||(l=f<=c?-i.maxVisible:0,s.not(h).each(function(t){o=t+1+c+l;n(this).attr("data-lp",o).toggle(o<=i.total).find("a").html(o).attr("href",r(o))}),e=s.filter("[data-lp="+f+"]"));e.not(h).addClass(i.activeClass);u.data("settings",i)}function r(n){return i.href.replace(i.hrefVariable,n)}var u=this,i=n.extend({total:0,page:1,maxVisible:null,leaps:!0,href:"javascript:void(0);",hrefVariable:"{{number}}",next:"&raquo;",prev:"&laquo;",firstLastUse:!1,first:'<span aria-hidden="true">&larr;<\/span>',last:'<span aria-hidden="true">&rarr;<\/span>',wrapClass:"pagination",activeClass:"active",disabledClass:"disabled",nextClass:"next",prevClass:"prev",lastClass:"last",firstClass:"first"},u.data("settings")||{},t||{});return 0>=i.total?this:(n.isNumeric(i.maxVisible)||i.maxVisible||(i.maxVisible=parseInt(i.total,10)),u.data("settings",i),this.each(function(){var t,e,o=n(this);for(t=['<ul class="',i.wrapClass,' bootpag">'],i.firstLastUse&&(t=t.concat(['<li data-lp="1" class="',i.firstClass,'"><a href="',r(1),'">',i.first,"<\/a><\/li>"])),i.prev&&(t=t.concat(['<li data-lp="1" class="',i.prevClass,'"><a href="',r(1),'">',i.prev,"<\/a><\/li>"])),e=1;e<=Math.min(i.total,i.maxVisible);e++)t=t.concat(['<li data-lp="',e,'"><a href="',r(e),'">',e,"<\/a><\/li>"]);i.next&&(e=i.leaps&&i.total>i.maxVisible?Math.min(i.maxVisible+1,i.total):2,t=t.concat(['<li data-lp="',e,'" class="',i.nextClass,'"><a href="',r(e),'">',i.next,"<\/a><\/li>"]));i.firstLastUse&&(t=t.concat(['<li data-lp="',i.total,'" class="last"><a href="',r(i.total),'">',i.last,"<\/a><\/li>"]));t.push("<\/ul>");o.find("ul.bootpag").remove();o.append(t.join(""));t=o.find("ul.bootpag");o.find("li").click(function(){var t=n(this),r;t.hasClass(i.disabledClass)||t.hasClass(i.activeClass)||(r=parseInt(t.attr("data-lp"),10),u.find("ul.bootpag").each(function(){f(n(this),r)}),u.trigger("page",r))});f(t,i.page)}))}}(jQuery,window);$(document).ready(function(){$("a[data-goal]").click(function(){var n,t;typeof GetCTAGoalUrl!=undefined&&(n=$(this).data("goal"),n!=""&&n!=undefined&&(t=GetCTAGoalUrl(),t=t.replace("goalName",n),$.ajax({url:t,type:"POST",success:function(){}})))})});CDNT_BASE_URL="cdnt.meteorsolutions.com/";meteor_monitor=function(n){var r={useragent:navigator.userAgent,stack:n.stack,location:window.location.href,message:n.message,name:n.name},t=[],i,u,f;for(i in r)r.hasOwnProperty(i)&&t.push(i+"="+encodeURIComponent(r[i]));t="?"+t.join("&");u=document.createElement("img");f=location.protocol==="https:"?"https://":"http://";u.setAttribute("src",f+CDNT_BASE_URL+"/api/client_error"+t);document.getElementsByTagName("head")[0].appendChild(u)};try{if(typeof meteor=="undefined"||meteor===null){var MAJOR="2",MINOR="27",RELEASE="0",url=window.location.href,domain=url.split("/")[2];if(domain.search("googleusercontent")>=0)throw"Exiting to preserve Google Cached content";var meteor={},scripts=document.getElementsByTagName("script"),index=scripts.length-1,string=scripts[index].src.split("-");meteor.version=MAJOR+"."+MINOR+"."+RELEASE;meteor.changed_qs=!1;meteor.uid=null;meteor.root_element=null;typeof document.getElementsByTagName("body")[0]!="undefined"&&document.getElementsByTagName("body")[0]!==null?meteor.root_element=document.getElementsByTagName("body")[0]:typeof document.getElementsByTagName("head")[0]!="undefined"&&document.getElementsByTagName("head")[0]!==null?meteor.root_element=document.getElementsByTagName("head")[0]:typeof document.documentElement!="undefined"&&document.documentElement!==null&&(meteor.root_element=document.documentElement.getElementsByTagName("HEAD")[0]);meteor.missing=function(n){return typeof n=="undefined"||n===null?!0:!1};meteor.safe_query_string=function(){var n=meteor.get_qs().substring(1);return n.replace(/\?/g,"&")};meteor.fbid_chars="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_";meteor.fbid_length=11;meteor.random_id=function(n){for(var t="";n>0;)t+=meteor.fbid_chars.charAt(Math.min(Math.floor(Math.random()*meteor.fbid_chars.length))),n--;return t};meteor.sterilize_fbid=function(n,t){var i="",r;if(t===undefined&&(t=!1),Number(n.length)===Number(meteor.fbid_length)){for(r=0;r<n.length;r++)meteor.fbid_chars.search(n[r])>=0&&(i=i+n.charAt(r));Number(i.length)!==Number(meteor.fbid_length)&&(i="")}return i===""&&t===!0&&(i=meteor.random_id(meteor.fbid_length)),i};meteor.base_url_static=CDNT_BASE_URL;meteor.base_url_sharing=CDNT_BASE_URL;meteor.ssl_url_sharing=CDNT_BASE_URL;meteor.ssl_url_static=CDNT_BASE_URL;meteor.initialize_base_urls=function(n,t,i,r){meteor.base_url_static=n;meteor.ssl_url_static=t;meteor.base_url_sharing=i;meteor.ssl_url_sharing=r};meteor.construct_url=function(n,t){return window.location.protocol==="https:"?"https://"+meteor["ssl_url_"+n]+t:"http://"+meteor["base_url_"+n]+t};meteor.array={};meteor.array.index_of=function(n,t,i){for(var u=-1,f=n.length,r=i<0?Math.max(0,f+i):i||0;r<f;r++)if(n[r]===t){u=r;break}return u};meteor.array.is_array=function(n){return typeof n!="undefined"&&n.constructor.toString().search("Array")>-1?!0:!1};meteor.array.contains=function(n,t){return meteor.array.index_of(n,t)!==-1};meteor.log=function(n){typeof console=="object"&&"log"in console&&typeof console.log=="function"&&console.log(n)};meteor.extended_type=function(n){var t=typeof n;return t==="object"&&(n===null?t=!1:meteor.array.is_array(n)&&(t="array")),t};meteor.extend=function(n,t){for(var i in t)t.hasOwnProperty(i)&&(n[i]=t[i]);return n};meteor.json_encode=function(n){var u,i,f,t,r;switch(meteor.extended_type(n)){case"string":return'"'+n.replace(/[\x00-\x1f\x5c\x22]/g,meteor.json_replace_characters)+'"';case"array":for(t="",r=0;r<n.length;r++)t=t+meteor.json_encode(n[r])+",";return t=t.substr(0,t.length-1),"["+String(t)+"]";case"object":u=[];for(i in n)n.hasOwnProperty(i)&&(f=meteor.json_encode(n[i]),f&&u.push(meteor.json_encode(i)+":"+f));return"{"+u+"}";case"number":case"boolean":return String(n);case!1:return"null"}return null};meteor.json_replace_characters=function(n){return{"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"}[n]||"\\u00"+Math.floor(n.charCodeAt()/16).toString(16)+(n.charCodeAt()%16).toString(16)};meteor.json_decode=function(n){var c=new RegExp('(?:false|true|null|[\\{\\}\\[\\]]|(?:-?\\b(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\\b)|(?:"(?:[^\\0-\\x08\\x0a-\\x1f"\\\\]|\\\\(?:["/\\\\bfnrt]|u[0-9A-Fa-f]{4}))*"))',"g"),l=new RegExp("\\\\(?:([^u])|u(.{4}))","g"),a={"{":Object,"[":Array},v=Object.hasOwnProperty,o=n.match(c),f,u=o[0],s=!1,i,r,e,h,t;for("{"===u?f={}:"["===u?f=[]:(f=[],s=!0),r=[f],e=1-s,h=o.length;e<h;++e){u=o[e];switch(u.charCodeAt(0)){case 34:if(u=u.substring(1,u.length-1),u.indexOf("\\")!==-1&&(u=u.replace(l,meteor.unescapeOne)),t=r[0],!i)if(t instanceof Array)i=t.length;else{i=u||"";break}t[i]=u;i="";break;case 91:t=r[0];r.unshift(t[i||t.length]=[]);i="";break;case 93:r.shift();break;case 102:t=r[0];t[i||t.length]=!1;i="";break;case 110:t=r[0];t[i||t.length]=null;i="";break;case 116:t=r[0];t[i||t.length]=!0;i="";break;case 123:t=r[0];r.unshift(t[i||t.length]={});i="";break;case 125:r.shift();break;default:t=r[0];t[i||t.length]=+u;i=""}}if(s){if(r.length!==1)throw new Error;f=f[0]}else if(r.length)throw new Error;return f};meteor.unescapeOne=function(n,t){return n?{'"':'"',"/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"}[n]:String.fromCharCode(parseInt(t,16))};meteor.escape_regular_expression=function(n){return n.replace(/([.*+?\^${}()|\[\]\/\\])/g,"\\$1")};meteor.cookie={};meteor.cookie.get=function(n){var t=document.cookie.match("(?:^|;)\\s*"+meteor.escape_regular_expression(n)+"=([^;]*)");return t?decodeURIComponent(t[1]):null};meteor.cookie.set=function(n,t,i){var r;return i=meteor.extend({domain:!1,path:!1,duration:365,secure:!1},i?i:{}),t=encodeURIComponent(t),i.domain&&(t+="; domain="+i.domain),t+=i.path?"; path="+i.path:"; path=/",i.duration&&(r=new Date,r.setTime(r.getTime()+i.duration*864e5),t+="; expires="+r.toGMTString()),i.secure&&(t+="; secure"),document.cookie=n+"="+t,meteor.extend(i,{key:n,value:t})};meteor.cookie.remove=function(n,t){typeof n=="object"&&(t=meteor.extend(n,{duration:-1}),n=t.key);t=t?t:{};t.duration=-1;meteor.cookie.set(n,"",t)};meteor.detect_browser=function(){var r=function(n){var t,i,r;return t=/(iphone|ipod|blackberry|android|palm|windows\s+ce|windows phone)/i,i=/(windows|linux|os\s+[x9]|solaris|bsd)/i,r=/(spider|crawl|slurp|bot)/i,!t.test(n)&&(i.test(n)||r.test(n))},n={name:window.navigator.appName,version:window.navigator.appVersion,device:"desktop"},t,i;return window.navigator.appName==="Microsoft Internet Explorer"?(n.name="IE",n.version=5,document.documentMode?n.version=document.documentMode:document.compatMode&&document.compatMode==="CSS1Compat"&&(n.version=7)):window.navigator.platform==="Android"?(n.name="Android",i=window.navigator.userAgent.match(/Android\s(\d\.?)+/),typeof i[0]!="undefined"&&(n.version=i[0].split(" ")[1])):window.navigator.userAgent.search("AppleWebKit")!==-1?(n.name="Safari",window.navigator.userAgent.search("iPhone")!==-1?n.version="iPhone":window.navigator.userAgent.search("iPad")!==-1&&(n.version="iPad")):window.navigator.userAgent.search("Firefox")!==-1?(n.name="Firefox",t=window.navigator.userAgent.match(/Firefox\/(\d\.?){1,3}/),typeof t[0]!="undefined"&&(n.version=t[0].split("/")[1])):window.navigator.userAgent.search("BlackBerry")!==-1&&(n.name="BlackBerry",t=window.navigator.userAgent.match(/Version\/(\d+\.?){1,4}/),typeof t[0]!="undefined"&&(n.version=t[0].split("/")[1])),n.device=r(window.navigator.userAgent)?"desktop":"mobile",n};meteor.sharing={};meteor.sharing.settings={};meteor.sharing.default_settings={application_id:"",url_storage_source:"query_string",query_string_key:"fbid",query_string_tag_key:["mtag"],safe_meteor_keys:[],media_tag:"mbar",site_tag:!0,url:window.location.href,title:document.title+" ",desc:"",was_tracked:[],shorten:"tinyurl",label:"",icon:"small",sites:["facebook","twitter","email","digg"],orient:"horizontal"};meteor.sharing.configure=function(n,t,i){var r,f,c,u,e,h;(typeof t=="undefined"||t===null)&&(t={});r={};(typeof t.id=="undefined"||t.id===null)&&((typeof meteor.sharing.settings.id_counter=="undefined"||meteor.sharing.settings.id_counter===null)&&(meteor.sharing.settings.id_counter=0),f=meteor.sharing.settings.id_counter+1,c=document.getElementById("link_share_"+f),r.id=f,meteor.sharing.settings.id_counter=f);meteor.extend(r,meteor.sharing.default_settings);typeof meteor.tracking.settings.url_storage_source!="undefined"&&meteor.tracking.settings.url_storage_source!==null&&(r.url_storage_source=meteor.tracking.settings.url_storage_source,r.query_string_key=meteor.tracking.settings.query_string_key);n==="cacbe4ae-439a-4162-a062-2ffb900b0945"?r.sites="del.icio.us,Email,Facebook,LinkedIn,Twitter":n==="fc8b5067-d2d9-486b-9c5a-5b2c37e1dc1e"&&(r.shorten="");meteor.extend(r,t);(typeof meteor.tracking.settings.application_id=="undefined"||meteor.tracking.settings.application_id===null)&&((typeof i=="undefined"||i===null)&&(i={}),meteor.extend(meteor.tracking.settings,meteor.tracking.default_settings),meteor.tracking.settings.cookie_name=n,meteor.extend(meteor.tracking.settings,i));meteor.extend(meteor.sharing.settings,r);meteor.sharing.settings.application_id=n;meteor.tracking.permanent_storage=meteor.tracking.get_permanent_storage(n);var o="safe_url_"+meteor.sharing.settings.id,s=document.getElementById(o),l=meteor.sharing.buildUrl("email");(typeof s=="undefined"||s===null)&&(u=document.createElement("input"),u.setAttribute("id",o),u.setAttribute("name",o),u.setAttribute("type","hidden"),u.setAttribute("value","mailto:"),meteor.root_element.appendChild(u));e="";e=meteor.sharing.settings.shorten===""?"tinyurl":meteor.sharing.settings.shorten;e==="tinyurl"&&(h={url:meteor.meteor_escape(l),shorten:e,id:meteor.sharing.settings.id},meteor.json_query(meteor.construct_url("sharing","api/ie8_email"),h,function(n){var t="safe_url_"+n.id,i=document.getElementById(t);i.value=n.url;meteor.missing(n.persist)||(meteor.sharing.email_share_persist_url=n.persist)}))};meteor.sharing.reset=function(){meteor.extend(meteor.sharing.settings,meteor.sharing.default_settings)};meteor.sharing.href=function(n,t){var e,r,o;(typeof t=="undefined"||t===null)&&(t={});meteor.extend(meteor.sharing.settings,t);var l=meteor.sharing.settings.application_id,s=meteor.construct_url("sharing","api/route_share"),h=decodeURIComponent(meteor.sharing.settings.title),c=decodeURIComponent(meteor.sharing.settings.desc),i="",u=n.replace(" ","").toLowerCase(),f=meteor.share_list[u];return typeof f=="undefined"||f===null?"":(e="",meteor.sharing.settings.shorten!==""?f.can_shorten&&(e=meteor.sharing.settings.shorten):u==="sphinn"&&(e="bitly"),r=f.target,r=r.replace("$title",encodeURIComponent(h)),r=r.replace("$desc",encodeURIComponent(c)),r=escape(r),o=meteor.sharing.buildUrl(u),i+=s,i+="?application_id="+meteor.sharing.settings.application_id,i+="&target="+r,i+="&shorten="+e,i+="&url="+meteor.meteor_escape(o),i+="&site_id="+u,u==="email"&&(i=meteor.sharing.record_click(u,meteor.sharing.settings.id)),i)};meteor.sharing.basictool=function(n,t,i){meteor.tracking.basic(n,i);(typeof t=="undefined"||t===null)&&(t={});(typeof t.url_storage_source=="undefined"||t.url_storage_source===null)&&(t.url_storage_source="query_string");meteor.sharing.configure(n,t,i);meteor.sharing.do_tool(n,t,i)};meteor.sharing.tool=function(n,t,i){meteor.sharing.configure(n,t,i);meteor.sharing.do_tool(n,t,i)};meteor.sharing.do_tool=function(){var c=meteor.construct_url("static","none.gif"),s="",i,r,u,o,w;for(s=meteor.sharing.settings.icon==="large"?meteor.construct_url("static","share_plate_large.gif"):meteor.sharing.settings.icon==="medium"?meteor.construct_url("static","share_plate_med.gif"):meteor.construct_url("static","share_plate.gif"),i=meteor.sharing.settings.id,meteor.sharing.settings.sites==="all"&&(meteor.sharing.settings.sites=meteor.all_sites()),r=[],r=meteor.array.is_array(meteor.sharing.settings.sites)?meteor.sharing.settings.sites:meteor.sharing.settings.sites.split(","),u=0;u<r.length;u++){var n="",f=r[u].replace(" ",""),t=f.toLowerCase(),l=meteor.share_list[t],b=meteor.sharing.settings.icon;if(t in meteor.coords){var e=meteor.coords[t][b].split(" "),a=e[0],v=e[1],y=e[2],p=e[3],h=!1;if(t==="link")n+='<input type="text" width=25 ',n+=' class="input_share input_share_'+t+" input_share_"+t+"_"+i+" input_share_"+i+'" ',n+=' id="input_share_'+t+"_"+i+'" ',n+=' value="" ',n+=' onSelect="this.href=',n+="meteor.sharing.record_click('"+t+"','"+i+"');\"",n+=" />";else if(t==="copy"){for(o=0;o<r.length;o++)if(w=r[o].replace(" ",""),w.toLowerCase()==="link"){h=!0;break}h!==!0&&(n+='<input type="hidden" ',n+=' class="input_share input_share_link input_share_link_'+i+" input_share_"+i+'" ',n+=' id="input_share_link_'+i+'" ',n+=' value=""',n+=" />");typeof meteor.sharing.settings.label=="boolean"&&(meteor.sharing.settings.label=meteor.sharing.settings.label===!0?"after":"");meteor.sharing.settings.label.toLowerCase()==="before"&&t!=="copy"&&(n+=f);n+='<a href="#" ';n+=' class="link_share link_share_'+t+" link_share_"+t+"_"+i+" link_share_"+i+'" ';n+=' id="link_share_'+t+"_"+i+'" ';n+=' onSelect="this.href=';n+="meteor.sharing.record_click('"+t+"','"+i+"'); return false;\"";n+=" />";n+="<img ";n+=' src="'+c+'"';n+=' width="'+y+'"';n+=' height="'+p+'"';n+=' style="background: url('+s+") -"+v+"px -"+a+'px no-repeat;"';n+=' alt="'+t.toUpperCase()+'"';n+=' class="img_share img_share_'+t+" img_share_"+t+"_"+i+" img_share_"+i+'"';n+=' id="img_share_'+t+"_"+i+'"';n+=" />"}else n+='<a href="'+l.domain+'"',navigator.userAgent.toLowerCase().indexOf("chrome")<0?n+=' target="_blank"':t!=="email"&&(n+=' target="_blank"'),n+=' class="link_share link_share_'+t+" link_share_"+t+"_"+i+" link_share_"+i+'" ',n+=' id="link_share_'+t+"_"+i+'" ',t==="email"?(meteor.sharing.settings.shorten!==""&&meteor.sharing.settings.shorten!=="tinyurl"?(n+='onClick="',n+="meteor.sharing.email_handler('"+l.target+"','"+i+"'); return false;"):(n+='onClick="this.href=',n+="meteor.sharing.record_click('"+t+"','"+i+"');"),n+='"'):t!=="link"&&(n+="onClick=\"this.href='",n+=meteor.sharing.href(t),n+="'\""),n+=" >",typeof meteor.sharing.settings.label=="boolean"&&(meteor.sharing.settings.label=meteor.sharing.settings.label===!0?"after":""),meteor.sharing.settings.label.toLowerCase()==="before"&&t!=="copy"&&(n+=f),n+='<img src="'+c+'"',n+=' width="'+y+'"',n+=' height="'+p+'"',n+=' style="background: url('+s+") -"+v+"px -"+a+'px no-repeat;"',n+=' alt="'+t.toUpperCase()+'"',n+=' class="img_share img_share_'+t+" img_share_"+t+"_"+i+" img_share_"+i+'"',n+=' id="img_share_'+t+"_"+i+'"',n+=" />";meteor.sharing.settings.label.toLowerCase()==="after"&&t!=="copy"&&(n+=f);n+="<\/a> ";meteor.sharing.settings.orient==="vertical"&&(n+=" <br />");document.write(n);t==="link"?setTimeout("meteor.clipboard.check_linkdiv('"+i+"')",1):t==="copy"&&(h!==!0&&setTimeout("meteor.clipboard.check_linkdiv('"+i+"')",1),setTimeout("meteor.clipboard.setup_copydiv('"+i+"')",1))}}};meteor.tracking={};meteor.tracking.settings={};meteor.tracking.location=window.location.href;meteor.tracking.default_settings={url_storage_source:"query_string",url_prefix_slash:"false",always_prefix_slash:!1,use_double_slash:!1,permanent_storage_source:"cookie",dont_break_hash_anchors:!0,hash_assignment_op:"=",hash_separator:"&",hash_end:"?",hash_join:!1,hash_path:!1,magic_hash_key:"_rndmval1234",query_string_key:"fbid",fb_query_string_key:"fb_ref",fb_query_string_source:"fb_source",cookie_name:"fyreball_id",cookie_duration:365,cookie_path:"/",cookie_domain:!1,use_tracking_pixel:!1,query_string_tag_key:["mtag"],mtag_keys:["mtag"],client_script:"",write_to_dom:!0,word_of_mouth:!1,wom_prefix:"wom",was_wom:!1,newfbid:"",url_id:"",incoming_url_id:"",application_id:"",remove_tag_key:!0,clean_qs:!1,hide_hash_fbid:!1,flash_title:!0,safe_meteor_keys:[""],safe_keys:""};meteor.tracking.is_running=!1;meteor.tracking.is_completed=!1;meteor.tracking.hash_watch_interval=null;meteor.tracking.basic_settings={url_storage_source:"hash",url_prefix_slash:!1,always_prefix_slash:!1,use_double_slash:!1,permanent_storage_source:"cookie",hash_assignment_op:"=",hash_separator:"&",hash_end:"?",hash_join:!1,hash_path:!1,magic_hash_key:"_rndmval1234",query_string_key:"fbid",fb_query_string_key:"fb_ref",fb_query_string_source:"fb_source",cookie_name:"fyreball_id",cookie_duration:365,cookie_path:"/",cookie_domain:!1,use_tracking_pixel:!1,query_string_tag_key:"mtag",client_script:"",write_to_dom:!0,word_of_mouth:!1,wom_prefix:"wom",was_wom:!1,newfbid:"",url_id:"",incoming_url_id:"",application_id:"",remove_tag_key:!0,clean_qs:!1,hide_hash_fbid:!0,flash_title:!1};meteor.tracking.default_permanent_storage={parent_id:"",id:"",wom:!1,fb_source:"",url_tag:""};meteor.parse_arg_to_array=function(n){return meteor.array.is_array(n)?n:n.split(",")};meteor.preserve_title=function(){var n=0,t=meteor.tracking.settings,i,r;navigator.appName==="Microsoft Internet Explorer"&&(i=navigator.userAgent,r=new RegExp("MSIE ([0-9]{1,}[\\.0-9]{0,})"),r.exec(i)!==null&&(n=parseFloat(RegExp.$1)));(n===6||n===7||n===8)&&(document.onpropertychange=function(){var o,i,u,n,r,f,e;if(document.title.search("#")!==-1&&(o=meteor.tracking.settings.mtag_keys,i=[],i.push(t.query_string_key),i.push(t.wom_prefix),i=i.concat(o),u=document.title.split("#"),n=u[1],n.length>0)){for(e in i)i.hasOwnProperty(e)&&(r=n.indexOf(i[e]),r!==-1&&(f=n.indexOf(t.hash_separator,r),n=f!==-1?n.replace(n.substring(r,f+1),""):n.replace(n.substring(r,n.length),"")));n.length!==0?(meteor.replace_title=function(){document.title=u[0]+"#"+n},setTimeout(meteor.replace_title,1)):(meteor.replace_title=function(){document.title=u[0]},setTimeout(meteor.replace_title,1))}})};meteor.tracking.update_dom=function(n,t){var i=document.getElementById(n);typeof i!="undefined"&&i!==null&&(i.value=t)};meteor.tracking.update_url=function(n,t){try{if(top.location===self.location){var i=meteor.get_query_object(meteor.safe_query_string()),r=meteor.get_hash_object(window.location.hash.substr(1));meteor.tracking.settings.query_string_key=n;meteor.tracking.settings.url_storage_source="hash";meteor.tracking.set_url_id(t,i,r)}}catch(u){meteor_monitor(u)}};meteor.tracking.check_dom=function(){var n="waiting",t=document.getElementById("call_api_track");return typeof t!="undefined"&&t!==null&&(n="ready"),n};meteor.tracking.get_url_tag=function(n,t){for(var r,s=meteor.tracking.settings,f=[],e=meteor.tracking.settings.mtag_keys,u="",o=[],i=0;i<e.length;i++)if(u=e[i],!meteor.array.contains(o,u))if(o.push(u),s.url_storage_source==="query_string"){if(u in t)if(r=t[u],typeof r=="object")for(i=0;i<r.length;i++)f.push(r[i]);else f.push(t[u]);if(u in n)if(r=n[u],typeof r=="object")for(i=0;i<r.length;i++)f.push(r[i]);else f.push(n[u])}else{if(u in n)if(r=n[u],typeof r=="object")for(i=0;i<r.length;i++)f.push(r[i]);else f.push(n[u]);if(u in t)if(r=t[u],typeof r=="object")for(i=0;i<r.length;i++)f.push(r[i]);else f.push(t[u])}return f.length===0&&(f="NOMTAG"),f};meteor.get_qs=function(){var n=window.location.href,i=n.split("#"),t=n.split("#")[0];return n=t.split("?"),n.shift(),t.split("?").length===1?"":"?"+n.join("?")};meteor.tracking.get_url_id=function(n,t){var i=meteor.tracking.settings,r=!1;return i.incoming_url_id?r=i.incoming_url_id:i.fb_query_string_key in n?r=n[i.fb_query_string_key]:meteor.array.contains(["query_string","local_storage_only"],i.url_storage_source)?(i.query_string_key in t&&(r=t[i.query_string_key]),i.query_string_key in n&&(r=n[i.query_string_key])):(i.query_string_key in n&&(r=n[i.query_string_key]),i.query_string_key in t&&(r=t[i.query_string_key])),r===""&&(r=!1),r};meteor.tracking.set_incoming_url_id=function(n){return meteor.sterilize_fbid(n)?(meteor.tracking.settings.incoming_url_id=n,!0):(meteor.log("Invalid id provided in set_incoming_url_id"),!1)};meteor.tracking.set_url_id=function(n,t,i){var f,s,l,e,r=meteor.tracking.settings,a=meteor.tracking.settings.mtag_keys,k=a[0],o=r.query_string_key,y=r.fb_query_string_key,b=r.fb_query_string_source,h=r.wom_prefix,u="",p,c,v,w;typeof t[y]!==undefined&&t[y]!==null&&(delete t[y],delete t[b]);switch(r.url_storage_source){case"query_string":for(t[o]=n,delete i[o],s=0;s<a.length;s++)u=a[s],i[u]&&((typeof t[u]=="undefined"||t[u]===null)&&(t[u]=i[u]),delete i[u]),r.remove_tag_key&&delete t[u];delete i[h];delete t[h];r.word_of_mouth&&(t[h]=meteor.tracking.permanent_storage.wom);f="#"+meteor.build_hash_string(i);f==="#"&&(f="");e="?"+meteor.build_query_string(t);e==="?"&&(e="");c=window.location.pathname;v="/";r.use_double_slash===!0&&(v="//");r.always_prefix_slash===!0?c=c+v:r.url_prefix_slash==!0&&(w=c.indexOf("/",c.length-1)!==-1,w||(c=c+v));l=window.location.protocol+"//"+window.location.host+c+e+f;(meteor.get_qs()!==e||window.location.hash!==f)&&(meteor.cookie.set("meteor_referrer_cache",document.referrer,{duration:.005}),window.location.replace(l));break;case"hash":for(meteor.tracking.settings.hide_hash_fbid?delete i[o]:i[o]=n,r.clean_qs&&typeof t[o]!="undefined"&&t[o]!==null&&(i[o]=t[o],delete t[o],meteor.changed_qs=!0),delete i[h],r.clean_qs&&typeof t[h]!="undefined"&&t[h]!==null&&(delete t[h],meteor.changed_qs=!0),s=0;s<a.length;s++)u=a[s],t[u]&&((typeof i[u]=="undefined"||i[u]===null)&&(i[u]=t[u]),r.clean_qs&&(delete t[u],meteor.changed_qs=!0)),r.remove_tag_key&&!r.skip_hash_cleaning&&(r.clean_qs&&meteor.changed_qs?delete t[u]:delete i[u]);r.word_of_mouth&&(i[h]=meteor.tracking.permanent_storage.wom);f="#"+meteor.build_hash_string(i);f==="#"&&(f="");meteor.tracking.hash_anchor_name=f.split(meteor.tracking.settings.hash_end)[1];e="?"+meteor.get_qs().substr(1);r.clean_qs&&(e="?"+meteor.build_query_string(t));e==="?"&&meteor.get_qs()!=="?"&&(e="");window.location.search===e&&window.location.hash!==""&&f===""&&(f="#");l=window.location.protocol+"//"+window.location.host+window.location.pathname+e+f;(meteor.get_qs()!==e||window.location.hash!==f)&&(r.clean_qs&&meteor.changed_qs&&(p=meteor.tracking.permanent_storage,meteor.tracking.set_permanent_storage(p)),meteor.register_internal_callback(function(){if(meteor.detect_browser().version==="Android"||window.navigator.appVersion.search(/silk/i)!==-1){var n,t;t=document.createElement("a");t.href=l;n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null);t.dispatchEvent(n)}else window.location.replace(l)}));break;case"local_storage_only":break;default:throw"set_url_id: url_storage_source was invalid ("+meteor.tracking.settings.url_storage_source+")";}return};meteor.tracking.get_cookie_options=function(){var n=meteor.tracking.settings.cookie_duration,t=meteor.tracking.settings.cookie_path,i=meteor.tracking.settings.cookie_domain;return{duration:n,path:t,domain:i}};meteor.tracking.has_permanent_storage=function(){var n=meteor.tracking.settings.permanent_storage_source,t=!1,i;if(n==="cookie")i=meteor.cookie.set("meteor_test_cookie",1,meteor.tracking.get_cookie_options()),t=!!meteor.cookie.get("meteor_test_cookie"),meteor.cookie.remove(i);else if(n==="flash")t=!0;else throw"permanent_storage_source ("+n+") was not available";return t};meteor.tracking.get_permanent_storage=function(n){var r=meteor.tracking.settings.permanent_storage_source,f=meteor.tracking.settings.query_string_key,t={},e=meteor.clone(meteor.tracking.default_permanent_storage),i,u;if(r==="cookie")i=meteor.cookie.get(n),i!==null&&(t=meteor.json_decode(i),t===null&&(t={id:i}),delete t.entry_point,delete t.referrer);else if(r==="flash")u=document.getElementById(f),u!==null&&(t={id:u.value,entry_point:window.location.href});else throw"permanent_storage_source was invalid ("+r+")";return meteor.extend(e,t)};meteor.tracking.set_permanent_storage=function(n){var t=meteor.tracking.settings.permanent_storage_source,r=meteor.tracking.settings.cookie_name,i=!1;if(t==="cookie")meteor.cookie.set(r,meteor.json_encode(n),meteor.tracking.get_cookie_options()),i=!0;else throw"permanent_storage_source was invalid ("+t+")";return i};meteor.tracking.set_permanent_storage_values=function(n,t,i,r,u,f,e){return(typeof u=="undefined"||u===null)&&(u=window.location.href),{report:n,parent_id:t,referrer:i,id:r,wom:e,entry_point:u,url_tag:f}};meteor.tracking.call_api_track=function(n,t,i,r){var u,f;meteor.tracking.settings.url_storage_source==="query_string"?(u=meteor.cookie.get("meteor_referrer_cache"),u||(u="")):u=document.referrer;meteor.cookie.remove("meteor_referrer_cache");f={application_id:n,url_fbid:t,parent_fbid:r.parent_id,referrer:u,location:window.location.href,url_tag:r.url_tag};meteor.tracking.settings.use_tracking_pixel&&(f.use_tracking_pixel=!0);meteor.json_query(meteor.construct_url("sharing","api/track"),f,function(){var f,i,u;f="api/setid?parent_fbid="+r.parent_id+"&application_id="+n+"&url_fbid="+t;i=document.createElement("img");i.src=meteor.construct_url("sharing",f);u=document.getElementsByTagName("script")[0];u.parentNode.insertBefore(i,u)});delete r.report;meteor.tracking.set_permanent_storage(r)};meteor.tracking.hash_watch=function(){var n,t,i;meteor.tracking.location!==window.location.href&&(meteor.tracking.location=window.location.href,n=meteor.get_query_object(meteor.safe_query_string()),t=meteor.get_hash_object(window.location.hash.substr(1)),i=meteor.tracking.get_permanent_storage(meteor.tracking.settings.cookie_name).id,meteor.tracking.set_url_id(i,n,t))};meteor.tracking.start_hash_watch=function(){var n,u,t,i,r;if(u=document.getElementsByTagName("body")[0],typeof u!="undefined"&&u!==null){if(meteor.tracking.hash_watch_interval||(meteor.tracking.hash_watch_interval=setInterval(meteor.tracking.hash_watch,250)),meteor.tracking.hash_anchor_name)if(r=meteor.tracking.hash_anchor_name.length>9&&meteor.tracking.hash_anchor_name.substr(0,9)=="hashlink="?meteor.tracking.hash_anchor_name.substr(9):meteor.tracking.hash_anchor_name,console.log(r),i=document.getElementById(r),typeof i!="undefined"&&i!==null)i.scrollIntoView();else for(t=document.getElementsByTagName("a"),n=0;n<t.length;n++)if(t[n].name===r){meteor.content_loaded(window,function(){t[n].scrollIntoView()});break}}else setTimeout(meteor.tracking.start_hash_watch,250)};meteor.tracking.stop_hash_watch=function(){meteor.tracking.hash_watch_interval&&(clearInterval(meteor.tracking.hash_watch_interval),meteor.tracking.hash_watch_interval=null)};meteor.tracking.basic=function(n,t){meteor.extend(meteor.tracking.settings,meteor.tracking.basic_settings);meteor.extent(meteor.tracking.settings,t);meteor.tracking.do_track(n)};meteor.tracking.track=function(n,t){var i,r={};(typeof meteor.tracking.settings=="undefined"||meteor.tracking.settings===null)&&(meteor.tracking.settings={});meteor.extend(r,meteor.tracking.default_settings);for(i in meteor.tracking.settings)meteor.tracking.settings.hasOwnProperty(i)&&(r[i]=meteor.tracking.settings[i]);if(t)for(i in t)t.hasOwnProperty(i)&&(r[i]=t[i]);meteor.tracking.settings=r;meteor.tracking.do_track(n)};meteor.tracking.wait_to_track=function(n){meteor.tracking.is_completed?meteor.tracking.do_track(n):setTimeout(function(){meteor.tracking.wait_to_track(n)},100)};meteor.tracking.do_track=function(n){var r,f,e,o,s,i,t,u;if(meteor.tracking.is_running){meteor.tracking.wait_to_track(n);return}if(meteor.tracking.is_running=!0,meteor.tracking.is_completed=!1,r="",!n){meteor.log("Requires application id");return}if(meteor.tracking.settings.cookie_name=n,meteor.application_id=n,meteor.tracking.settings.url_storage_source==="hash"&&meteor.tracking.settings.dont_break_hash_anchors&&!meteor.tracking.settings.hash_path&&(meteor.tracking.stop_hash_watch(),meteor.register_internal_callback(meteor.tracking.start_hash_watch)),meteor.tracking.settings.mtag_keys=meteor.parse_arg_to_array(meteor.tracking.settings.query_string_tag_key),meteor.array.contains(meteor.tracking.settings.mtag_keys,"mtag")||meteor.tracking.settings.mtag_keys.push("mtag"),meteor.tracking.settings.safe_meteor_keys=meteor.parse_arg_to_array(meteor.tracking.settings.safe_keys),f=meteor.tracking.settings.url_storage_source,(f==="query_string"||f==="local_storage_only")&&!meteor.tracking.has_permanent_storage()){meteor.log(f+" requires permanent storage source");return}meteor.tracking.permanent_storage=meteor.tracking.get_permanent_storage(n);e=meteor.get_query_object(meteor.safe_query_string());o=meteor.get_hash_object(window.location.hash.substr(1));meteor.tracking.settings.flash_title===!0&&meteor.preserve_title();s=meteor.tracking.get_url_tag(e,o);i=meteor.tracking.get_url_id(e,o);i!==!1&&(i=meteor.sterilize_fbid(i));t=meteor.tracking.permanent_storage;u={source:"none"};typeof meteor.tracking.cdnt_data!="undefined"&&meteor.tracking.cdnt_data!==null&&(u=meteor.tracking.cdnt_data,u.id=u.id.replace(/\\x2D/g,"-"),u.parent_id=u.parent_id.replace(/\\x2D/g,"-"));u.source==="cookie"&&(t=meteor.extend(t,u));"id"in t&&t.id!==""?i===!1||i!==t.id?(r=i?i:"",i=t.id,t.report=!0,t.parent_id=r,t.url_tag=s,meteor.tracking.set_url_id(i,e,o),meteor.tracking.set_permanent_storage(t),(f==="hash"||f==="local_storage_only")&&meteor.tracking.call_api_track(n,i,r,t)):i!==!1&&i===t.id&&("report"in t||(t.report=!0,t.parent_id=r,t.url_tag=s,meteor.tracking.set_permanent_storage(t),meteor.tracking.set_url_id(i,e,o)),meteor.changed_qs||meteor.tracking.call_api_track(n,i,r,t)):(r=i?i:"",i=u.source==="none"?meteor.random_id(meteor.fbid_length):u.id,t.wom=!1,meteor.tracking.settings.was_wom=!1,r!==""&&(meteor.tracking.settings.was_wom=!0,t.wom=!0),t.report=!0,t.parent_id=r,t.id=i,t.url_tag=s,meteor.tracking.set_permanent_storage(t),meteor.tracking.set_url_id(i,e,o),(f==="hash"||f==="local_storage_only")&&meteor.tracking.call_api_track(n,i,r,t),meteor.trigger_event("fbid_replacement"));meteor.tracking.write_dom_values(encodeURIComponent(i),t.wom);meteor.tracking.write_client_script();meteor.register_internal_callback(function(){meteor.tracking.is_running=!1;meteor.tracking.is_completed=!0;meteor.run_callbacks()});meteor.run_internal_callbacks()};meteor.tracking.write_client_script=function(){if(meteor.tracking.settings.client_script!==""){var n,t;n=document.createElement("script");n.id="meteor_external_script";n.name="meteor_external_script";n.src=meteor.tracking.settings.client_script;t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(n,t)}};meteor.tracking.write_dom_values=function(n,t){var i,r;(typeof n=="undefined"||n===null)&&(n="");(typeof t=="undefined"||t===null)&&(t="");meteor.tracking.settings.write_to_dom&&(i=document.createElement("input"),i.id=meteor.tracking.settings.query_string_key,i.name=meteor.tracking.settings.query_string_key,i.type="hidden",i.value=n,meteor.root_element.appendChild(i),r=document.createElement("input"),r.id=meteor.tracking.settings.wom_prefix,r.name=meteor.tracking.settings.wom_prefix,r.type="hidden",r.value=t,meteor.root_element.appendChild(r))};meteor.tracking.track_conversion=function(n,t,i,r){var f,e,u,s,o;return((typeof meteor.tracking.settings.application_id=="undefined"||meteor.tracking.settings.application_id===null)&&((typeof r=="undefined"||r===null)&&(r={}),meteor.extend(meteor.tracking.settings,meteor.tracking.default_settings),meteor.tracking.settings.cookie_name=n,meteor.tracking.settings.application_id=n,meteor.extend(meteor.tracking.settings,r)),e="",u=function(){},typeof t!="undefined"&&t!==null&&(t.hasOwnProperty("name")&&(e=t.name),t.hasOwnProperty("callback")&&(u=t.callback)),meteor.tracking.permanent_storage=meteor.tracking.get_permanent_storage(n),s=meteor.tracking.permanent_storage,o={location:window.location.href,fbid:s.id,name:e,application_id:n},typeof i!="undefined"&&i!==null)?(f=i.href,i.href="#",meteor.json_query(meteor.construct_url("sharing","api/track_conversion"),o,function(){u();window.location.href=f}),setTimeout("window.location.href = '"+f+"'",1e3),!1):(meteor.json_query(meteor.construct_url("sharing","api/track_conversion"),o,u),!0)};meteor.tracking.register_key=function(n,t){var i=meteor.tracking.settings.cookie_name,r=meteor.tracking.permanent_storage.id,f=meteor.tracking.permanent_storage.parent_id,u;return i?r?(u={application_id:i,fbid:r,parent_fbid:f,key:n},meteor.json_query(meteor.construct_url("sharing","api/register_key"),u,t),!0):(meteor.log("FBID unavailable to meteor.tracking.register_key"),!1):(meteor.log("application ID unavailable to meteor.tracking.register_key"),!1)};meteor.tracking.register_properties=function(n,t){var r=meteor.tracking.settings.cookie_name,u=meteor.tracking.permanent_storage.id,i;if(r)if(u)i=n,i.application_id=r,i.fbid=u,meteor.json_query(meteor.construct_url("sharing","api/register_properties"),i,t);else return meteor.log("FBID unavailable to meteor.tracking.register_properties"),!1;else return meteor.log("application ID unavailable to meteor.tracking.register_properties"),!1;return!0};meteor.get_query_string=function(n){var t;return t=n.split("#")[0].split("?"),t.length===1?"":t[1]};meteor.get_hash_string=function(n){var t="",i=n.match(/^\??(.*)$/)[1].split("#");return i.length>1&&(t=i[1]),t};meteor.get_path_string=function(n){var t=n.split("?"),i=t[0].split("#");return i[0]};meteor.get_query_object=function(n){var f,t,e,r,i,u,o;if((""+n).length===0)return{};for(f=n.match(/^\??(.*)$/)[1].split("&"),t={},r=0;r<f.length;r++)e=f[r].split("="),i=e[0],u=e[1],i in t?meteor.array.is_array(t[i])?t[i].push(u):(o=t[i],t[i]=[],t[i].push(o),t[i].push(u)):t[i]=u;return t};meteor.get_url_value=function(n,t){var r,u,i;return t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]"),r="[\\?&]"+t+"=([^&#]*)",u=new RegExp(r),i=u.exec(n),i===null?"":i[1]};meteor.build_query_string=function(n){var t=[];for(var i in n)n.hasOwnProperty(i)&&(t=meteor.parse_build_query_string(t,i,n[i]));return t.join("&")};meteor.parse_build_query_string=function(n,t,i){var r;if(typeof i=="object")for(r in i)i.hasOwnProperty(r)&&(n=meteor.parse_build_query_string(n,t,i[r]));else n.push(t+"="+i);return n};meteor.get_hash_object_bypath=function(n){var h,c,u,f,l,e,i,o,p,w,r,s,b;if((""+n).length===0)return{};f=n.split(meteor.tracking.settings.hash_end);l="";f.length>1&&(l=f[1]);var t={},v=0,y=f[0],a=y.split(meteor.tracking.settings.hash_separator);if(a.length>=1)for(u=0;u<a.length;u++)if(e=a[u].split(meteor.tracking.settings.hash_assignment_op),e.length>1){if(i=e[0],o=e[1],typeof i=="undefined"||i===null||i==="")continue;p=meteor.tracking.settings.mtag_keys;(i===meteor.tracking.settings.query_string_key||i in p)&&(i in t?meteor.array.is_array(t[i])?t[i].push(o):(w=t[i],t[i]=[],t[i].push(w),t[i].push(o)):t[i]=o,v+=1)}for(t[meteor.tracking.settings.magic_hash_key]=v>0?"":y,h=l.match(/^\??(.*)$/)[1].split("&"),u=0;u<h.length;u++)(c=h[u].split("="),r=c[0],s=c[1],typeof r!="undefined"&&r!==null&&r!=="")&&(r in t?meteor.array.is_array(t[r])?t[r].push(s):(b=t[r],t[r]=[],t[r].push(b),t[r].push(s)):t[r]=s);return t};meteor.get_hash_object=function(n){var v,e,b,y,p;if(meteor.tracking.settings.hash_path)return meteor.get_hash_object_bypath(n);var r=0,w,u=meteor.tracking.settings,i={};if((""+n).length===0)return i;var c="",s="",l=n.split(u.hash_end),a="",o,t,f,k,h;if(l.length>1)for(r=1;r<l.length;){if(r>1&&(c+=u.hash_end),c+=l[r],c.indexOf("hashlink"+u.hash_assignment_op)>=0)for(e=c.split(u.hash_separator),v=0;v<e.length;v++)if(o=e[v].split(u.hash_assignment_op),o.length>1&&o[0]=="hashlink"){h=o[1];break}r++}if(a=l[0],(""+a).length===0)return i;if(e=a.split(u.hash_separator),b=meteor.tracking.settings.mtag_keys,e.length>=1)for(r=0;r<e.length;r++)o=e[r].split(u.hash_assignment_op),o.length>1?(t=o[0],f=o[1],t=="hashlink"&&(h=f),k=[],t in i?meteor.array.is_array(i[t])?i[t].push(f):(w=i[t],i[t]=[],i[t].push(w),i[t].push(f)):t===u.query_string_key?(f.length>meteor.fbid_length&&(f=f.substr(0,meteor.fbid_length)),i[t]=f):meteor.array.contains(b,t)?i[t]=f:t===u.wom_prefix?i[t]=f:meteor.array.contains(u.safe_meteor_keys,t)?i[t]=f:(r!==0&&(s+=u.hash_separator),s+=e[r])):(r!==0&&(s+=u.hash_separator),!h&&s.indexOf("hashlink")<0&&a.indexOf("hashlink")<0&&meteor.tracking.settings.url_storage_source=="hash"?(h=e[r],s+="hashlink"+u.hash_assignment_op+h):s+=e[r]);return h&&(y=document.getElementById(h),y&&typeof y.scrollIntoView=="function"&&meteor.content_loaded(window,function(){y.scrollIntoView()})),p=s+c,p!==""&&(i[u.magic_hash_key]=p),i};meteor.parse_build_hash_string=function(n,t,i){var r;if(typeof i=="object")for(r in i)i.hasOwnProperty(r)&&(n=meteor.parse_build_query_string(n,t,i[r]));else n.push(t+meteor.tracking.settings.hash_assignment_op+i);return n};meteor.build_hash_string_bypath=function(n){var r=[],t=n[meteor.tracking.settings.magic_hash_key],i,u;delete n[meteor.tracking.settings.magic_hash_key];for(i in n)n.hasOwnProperty(i)&&(r=meteor.parse_build_hash_string(r,i,n[i]));return u=r.join(meteor.tracking.settings.hash_separator),(typeof t=="undefined"||t===null)&&(t=""),t+meteor.tracking.settings.hash_end+u};meteor.build_hash_string=function(n){var t,r,f,i,h,e,o,s,u;if(meteor.tracking.settings.hash_path)return meteor.build_hash_string_bypath(n);for(f="",t=meteor.tracking.settings,i=[],i.push(t.query_string_key),i.push(t.wom_prefix),h=meteor.tracking.settings.mtag_keys,i=i.concat(h),i=i.concat(meteor.tracking.settings.safe_meteor_keys),e=[],o=0;o<i.length;o++)if(r=i[o],r in n)if(meteor.array.is_array(n[r]))for(s=0;s<n[r].length;s++)e.push(r+t.hash_assignment_op+n[r][s]);else e.push(r+t.hash_assignment_op+n[r]);return f+=e.join(t.hash_separator),u=t.magic_hash_key,typeof n[u]!="undefined"&&n[u]!==null&&(""!==f&&(f+=t.hash_join?t.hash_separator:t.hash_end),f+=n[u].charAt(0)===t.hash_separator?n[u].substr(1):n[u],delete n[u]),f};meteor.json_query_callback_functions={};meteor.json_query_callback_id=0;meteor.json_query_callback=function(n,t){meteor.json_query_callback_functions[t](n);delete meteor.json_query_callback_functions[t]};meteor.json_setup_callback=function(n,t){var i=meteor.json_query_callback_id++,r="meteor.json_query_callback($json, "+i+");";return n.jsonp=r,meteor.json_query_callback_functions[i]=t,n};meteor.parse_json_source=function(n,t,i){var r;if(typeof i=="object")for(r in i)i.hasOwnProperty(r)&&(n=meteor.parse_json_source(n,t,i[r]));else n.push(encodeURIComponent(t)+"="+encodeURIComponent(i));return n};meteor.json_source=function(n,t){var u=n+"?",i=[];for(var r in t)t.hasOwnProperty(r)&&(i=meteor.parse_json_source(i,r,t[r]));return u+i.join("&")};meteor.json_query=function(n,t,i){var f,r,u;i=typeof i!="undefined"?i:function(){};f=function(n){for(var t in n)n.hasOwnProperty(t)&&t==="uid"&&typeof n[t]=="string"&&(meteor.uid=n[t].replace(/\\x2D/g,"-"));i(n)};u=meteor.root_element;meteor.tracking.settings.use_tracking_pixel?r=document.createElement("img"):(r=document.createElement("script"),r.setAttribute("type","text/javascript"),u=document.getElementsByTagName("head")[0]);r.setAttribute("src",meteor.json_source(n,meteor.json_setup_callback(t,f)));u.appendChild(r)};meteor.share_list={pinterest:{domain:"http://www.pinterest.com",target:"http://pinterest.com/pin/create/button?description=$message&url=$url&media=$image",can_shorten:!0},twitter:{domain:"http://www.twitter.com",target:"http://twitter.com/intent/tweet?text=$title%20$url",can_shorten:!0},facebook:{domain:"http://www.facebook.com",target:"http://www.facebook.com/share.php?u=$url",can_shorten:!0},email:{domain:"mailto:",target:"mailto:?subject=$title&body=$desc%20$url",can_shorten:!0},gmail:{domain:"mailto:",target:"https://mail.google.com/mail?view=cm&tf=0&su=$title&body=$desc%20$url",can_shorten:!0},live:{domain:"http://favorites.live.com",target:"http://profile.live.com/badge/?url=$url&title=$title&description=$desc",can_shorten:!0},linkedin:{domain:"http://www.linkedin.com",target:"http://www.linkedin.com/shareArticle?mini=true&url=$url&title=$title&summary=$desc&source=",can_shorten:!0},digg:{domain:"http://digg.com",target:"http://digg.com/submit?url=$url&title=$title",can_shorten:!1},reddit:{domain:"http://reddit.com",target:"http://reddit.com/submit?url=$url",can_shorten:!0},myspace:{domain:"http://www.myspace.com",target:"http://www.myspace.com/Modules/PostTo/Pages/?c=$url&t=$title",can_shorten:!0},googlebuzz:{domain:"http://www.google.com/buzz",target:"http://www.google.com/reader/link?url=$url&title=$title&srcURL=$url&srcTitle=$title",can_shorten:!0},googleplus:{domain:"http://plus.google.com",target:"http://plus.google.com/share?url=$url&title=$title",can_shorten:!0},googlebookmarks:{domain:"http://www.google.com/bookmarks",target:"http://www.google.com/bookmarks/mark?op=edit&bkmk=$url&title=$title",can_shorten:!0},mixx:{domain:"http://www.mixx.com",target:"http://www.mixx.com/submit?page_url=$url",can_shorten:!0},technorati:{domain:"http://technorati.com",target:"http://technorati.com/faves?add=$url",can_shorten:!0},"del.icio.us":{domain:"http://de.icio.us",target:"http://delicious.com/save?v=5&noui&jump=close&url=$url&title=$title",can_shorten:!0},stumbleupon:{domain:"http://",target:"http://www.stumbleupon.com/submit?url=$url&title=$title",can_shorten:!1},faves:{domain:"http://faves.com",target:"http://faves.com/Authoring.aspx?u=$url&t=$title",can_shorten:!0},linkagogo:{domain:"http://www.linkagogo.com",target:"http://www.linkagogo.com/go/AddNoPopup?url=$url&title=$title",can_shorten:!0},diigo:{domain:"http://www.diigo.com",target:"http://www.diigo.com/post?url=$url&title=$title",can_shorten:!0},yahoobookmarks:{domain:"http://bookmarks.yahoo.com",target:"http://bookmarks.yahoo.com/toolbar/savebm?opener=tb&u=$url&t=$titlei&d=$desc",can_shorten:!0},fark:{domain:"http://www.fark.com",target:"http://cgi.fark.com/cgi/fark/farkit.pl?u=$url&h=$title",can_shorten:!0},newstrust:{domain:"http://www.newstrust.net",target:"http://www.newstrust.net/submit?url=$url&title=$title",can_shorten:!0},savethis:{domain:"http://www.savethis.com",target:"http://www.savethis.clickability.com/st/saveThisPopupApp?clickMap=saveLinkFromBB&url=$url&title=$title",can_shorten:!0},simpy:{domain:"http://www.simpy.com",target:"http://www.simpy.com/simpy/LinkAdd.do?title=$title&href=$url&src=bookmarklet",can_shorten:!0},copy:{domain:"http://",target:"",can_shorten:!0},misterwong:{domain:"http://www.mister-wong.com",target:"http://www.mister-wong.com/index.php?action=addurl&bm_url=$url&bm_description=$title",can_shorten:!0},newsvine:{domain:"http://www.newsvine.com",target:"http://www.newsvine.com/_tools/seed&save?u=$url&h=$title",can_shorten:!0},sphinn:{domain:"http://sphinn.com",target:"http://sphinn.com/submit.php?url=$url",can_shorten:!0},link:{domain:"http://",target:"",can_shorten:!0},share:{domain:"http://meteorsolutions.com",target:"http://",can_shorten:!0}};meteor.coords={twitter:{small:"64 64 16 16",medium:"0 0 32 32",large:"0 0 64 64"},facebook:{small:"96 0 16 16",medium:"0 32 32 32",large:"0 64 64 64"},email:{small:"80 0 16 16",medium:"0 64 32 32",large:"0 128 64 64"},gmail:{small:"80 96 16 16",medium:"0 96 32 32",large:"0 192 64 64"},live:{small:"64 16 16 16",medium:"0 128 32 32",large:"0 256 64 64"},linkedin:{small:"96 80 16 16",medium:"0 160 32 32",large:"0 320 64 64"},digg:{small:"48 0 16 16",medium:"0 192 32 32",large:"0 384 64 64"},reddit:{small:"64 32 16 16",medium:"0 224 32 32",large:"0 448 64 64"},myspace:{small:"32 64 16 16",medium:"0 256 32 32",large:"0 512 64 64"},googlebuzz:{small:"96 96 16 16",medium:"0 288 32 32",large:"0 576 64 64"},googlebookmarks:{small:"16 80 16 16",medium:"0 320 32 32",large:"0 640 64 64"},googleplus:{small:"144 144 16 16",medium:"0 242 32 32",large:"0 288 64 64"},mixx:{small:"0 0 16 16",medium:"0 352 32 32",large:"0 704 64 64"},technorati:{small:"96 48 16 16",medium:"0 384 32 32",large:"0 768 64 64"},"del.icio.us":{small:"32 0 16 16",medium:"0 416 32 32",large:"0 832 64 64"},stumbleupon:{small:"64 48 16 16",medium:"0 448 32 32",large:"0 896 64 64"},faves:{small:"16 32 16 16",medium:"0 512 32 32",large:"0 1024 64 64"},linkagogo:{small:"48 16 16 16",medium:"0 544 32 32",large:"0 1088 64 64"},diigo:{small:"64 0 16 16",medium:"0 576 32 32",large:"0 1152 64 64"},yahoobookmarks:{small:"80 64 16 16",medium:"0 608 32 32",large:"0 1216 64 64"},fark:{small:"16 16 16 16",medium:"0 640 32 32",large:"0 1280 64 64"},newstrust:{small:"32 96 16 16",medium:"0 672 32 32",large:"0 1344 64 64"},savethis:{small:"80 32 16 16",medium:"0 704 32 32",large:"0 1408 64 64"},simpy:{small:"96 32 16 16",medium:"0 736 32 32",large:"0 1472 64 64"},copy:{small:"48 48 16 16",medium:"0 768 32 32",large:"0 1536 64 64"},misterwong:{small:"32 32 16 16",medium:"0 800 32 32",large:"0 1600 64 64"},newsvine:{small:"32 80 16 16",medium:"0 832 32 32",large:"0 1664 64 64"},sphinn:{small:"48 80 16 16",medium:"0 896 32 32",large:"0 1792 64 64"},link:{small:"0 0 0 0",medium:"0 0 0 0",large:"0 0 0 0"},share:{small:"128 32 80 16",medium:"0 0 32 32",large:"0 0 64 64"}};meteor.all_sites=function(){return"Twitter, Facebook, Email, Gmail, Live, Linkedin, Digg, Reddit, MySpace, GoogleBuzz, GoogleBookmarks, Mixx, Technorati, Del.icio.us, Stumbleupon, Faves, Linkagogo, Diigo, YahooBookmarks, Fark, Newstrust, SaveThis, Simpy, Misterwong, Newsvine, Sphinn, Link, Copy"};meteor.meteor_escape=function(n){for(var t="",i=0;i<n.length;i++)switch(n.charAt(i)){case"G":t+="%47";break;case" ":t+="%20";break;case"!":t+="%21";break;case'"':t+="%22";break;case"#":t+="%23";break;case"$":t+="%24";break;case"&":t+="%26";break;case"'":t+="%27";break;case"(":t+="%28";break;case")":t+="%29";break;case"*":t+="%2A";break;case"+":t+="%2B";break;case",":t+="%2C";break;case"-":t+="%2D";break;case".":t+="%2E";break;case"/":t+="%2F";break;case":":t+="%3A";break;case";":t+="%3B";break;case"<":t+="%3C";break;case"=":t+="%3D";break;case">":t+="%3E";break;case"?":t+="%3F";break;case"@":t+="%40";break;case"[":t+="%5B";break;case"\\":t+="%5C";break;case"]":t+="%5D";break;case"^":t+="%5E";break;case"_":t+="%5F";break;case"`":t+="%60";break;case"{":t+="%7B";break;case"|":t+="%7C";break;case"}":t+="%7D";break;case"~":t+="%7E";break;case" ":t+="%7F";break;case"Ã¢â€šÂ¬":t+="%80";break;case" ":t+="%81";break;case"Ã¢â‚¬Å¡":t+="%82";break;case"Ã†â€™":t+="%83";break;case"Ã¢â‚¬Å¾":t+="%84";break;case"Ã¢â‚¬Â¦":t+="%85";break;case"Ã¢â‚¬Â ":t+="%86";break;case"Ã¢â‚¬Â¡":t+="%87";break;case"Ã‹â€ ":t+="%88";break;case"Ã¢â‚¬Â°":t+="%89";break;case"Ã…Â ":t+="%8A";break;case"Ã¢â‚¬Â¹":t+="%8B";break;case"Ã…â€™":t+="%8C";break;case" ":t+="%8D";break;case"Ã…Â½":t+="%8E";break;case" ":t+="%8F";break;case" ":t+="%90";break;case"Ã¢â‚¬Ëœ":t+="%91";break;case"Ã¢â‚¬â„¢":t+="%92";break;case"Ã¢â‚¬Å“":t+="%93";break;case"Ã¢â‚¬Â":t+="%94";break;case"Ã¢â‚¬Â¢":t+="%95";break;case"Ã¢â‚¬â€œ":t+="%96";break;case"Ã¢â‚¬â€":t+="%97";break;case"Ã‹Å“":t+="%98";break;case"Ã¢â€žÂ¢":t+="%99";break;case"Ã…Â¡":t+="%9A";break;case"Ã¢â‚¬Âº":t+="%9B";break;case"Ã…â€œ":t+="%9C";break;case" ":t+="%9D";break;case"Ã…Â¾":t+="%9E";break;case"Ã…Â¸":t+="%9F";break;case" ":t+="%A0";break;case"Ã‚Â¡":t+="%A1";break;case"Ã‚Â¢":t+="%A2";break;case"Ã‚Â£":t+="%A3";break;case" ":t+="%A4";break;case"Ã‚Â¥":t+="%A5";break;case"|":t+="%A6";break;case"Ã‚Â§":t+="%A7";break;case"Ã‚Â¨":t+="%A8";break;case"Ã‚Â©":t+="%A9";break;case"Ã‚Âª":t+="%AA";break;case"Ã‚Â«":t+="%AB";break;case"Ã‚Â¬":t+="%AC";break;case"Ã‚Â¯":t+="%AD";break;case"Ã‚Â®":t+="%AE";break;case"Ã‚Â¯":t+="%AF";break;case"Ã‚Â°":t+="%B0";break;case"Ã‚Â±":t+="%B1";break;case"Ã‚Â²":t+="%B2";break;case"Ã‚Â³":t+="%B3";break;case"Ã‚Â´":t+="%B4";break;case"Ã‚Âµ":t+="%B5";break;case"Ã‚Â¶":t+="%B6";break;case"Ã‚Â·":t+="%B7";break;case"Ã‚Â¸":t+="%B8";break;case"Ã‚Â¹":t+="%B9";break;case"Ã‚Âº":t+="%BA";break;case"Ã‚Â»":t+="%BB";break;case"Ã‚Â¼":t+="%BC";break;case"Ã‚Â½":t+="%BD";break;case"Ã‚Â¾":t+="%BE";break;case"Ã‚Â¿":t+="%BF";break;case"Ãƒâ‚¬":t+="%C0";break;case"ÃƒÂ":t+="%C1";break;case"Ãƒâ€š":t+="%C2";break;case"ÃƒÆ’":t+="%C3";break;case"Ãƒâ€ž":t+="%C4";break;case"Ãƒâ€¦":t+="%C5";break;case"Ãƒâ€ ":t+="%C6";break;case"Ãƒâ€¡":t+="%C7";break;case"ÃƒË†":t+="%C8";break;case"Ãƒâ€°":t+="%C9";break;case"ÃƒÅ ":t+="%CA";break;case"Ãƒâ€¹":t+="%CB";break;case"ÃƒÅ’":t+="%CC";break;case"ÃƒÂ":t+="%CD";break;case"ÃƒÅ½":t+="%CE";break;case"ÃƒÂ":t+="%CF";break;case"ÃƒÂ":t+="%D0";break;case"Ãƒâ€˜":t+="%D1";break;case"Ãƒâ€™":t+="%D2";break;case"Ãƒâ€œ":t+="%D3";break;case"Ãƒâ€":t+="%D4";break;case"Ãƒâ€¢":t+="%D5";break;case"Ãƒâ€“":t+="%D6";break;case" ":t+="%D7";break;case"ÃƒËœ":t+="%D8";break;case"Ãƒâ„¢":t+="%D9";break;case"ÃƒÅ¡":t+="%DA";break;case"Ãƒâ€º":t+="%DB";break;case"ÃƒÅ“":t+="%DC";break;case"ÃƒÂ":t+="%DD";break;case"ÃƒÅ¾":t+="%DE";break;case"ÃƒÅ¸":t+="%DF";break;case"ÃƒÂ ":t+="%E0";break;case"ÃƒÂ¡":t+="%E1";break;case"ÃƒÂ¢":t+="%E2";break;case"ÃƒÂ£":t+="%E3";break;case"ÃƒÂ¤":t+="%E4";break;case"ÃƒÂ¥":t+="%E5";break;case"ÃƒÂ¦":t+="%E6";break;case"ÃƒÂ§":t+="%E7";break;case"ÃƒÂ¨":t+="%E8";break;case"ÃƒÂ©":t+="%E9";break;case"ÃƒÂª":t+="%EA";break;case"ÃƒÂ«":t+="%EB";break;case"ÃƒÂ¬":t+="%EC";break;case"ÃƒÂ":t+="%ED";break;case"ÃƒÂ®":t+="%EE";break;case"ÃƒÂ¯":t+="%EF";break;case"ÃƒÂ°":t+="%F0";break;case"ÃƒÂ±":t+="%F1";break;case"ÃƒÂ²":t+="%F2";break;case"ÃƒÂ³":t+="%F3";break;case"ÃƒÂ´":t+="%F4";break;case"ÃƒÂµ":t+="%F5";break;case"ÃƒÂ¶":t+="%F6";break;case"ÃƒÂ·":t+="%F7";break;case"ÃƒÂ¸":t+="%F8";break;case"ÃƒÂ¹":t+="%F9";break;case"ÃƒÂº":t+="%FA";break;case"ÃƒÂ»":t+="%FB";break;case"ÃƒÂ¼":t+="%FC";break;case"ÃƒÂ½":t+="%FD";break;case"ÃƒÂ¾":t+="%FE";break;case"ÃƒÂ¿":t+="%FF";break;default:t+=n.charAt(i)}return t.replace(/\%/g,"G")};meteor.is_ie8=function(){return!0};meteor.sharing.buildUrl=function(n){var f,s=meteor.sharing.settings.url,l=meteor.get_query_object(meteor.get_query_string(s)),o=meteor.get_hash_object(meteor.get_hash_string(s)),b=meteor.get_path_string(s),h=!1,y,w;h||"id"in meteor.tracking.permanent_storage&&(h=meteor.tracking.permanent_storage.id);h||(h=meteor.tracking.get_url_id(l,o));h||(h="NOFBID");var u="",c="",t="",r="",p="",a=[],i="",v="",e=meteor.tracking.settings.mtag_keys;switch(meteor.sharing.settings.url_storage_source){case"query_string":for(meteor.array.contains(meteor.sharing.settings.safe_meteor_keys,meteor.tracking.settings.query_string_key)||delete o[meteor.tracking.settings.query_string_key],f=0;f<e.length;f++)meteor.array.contains(meteor.sharing.settings.safe_meteor_keys,e[f])||(i=e[f],delete o[i]);if(delete o[meteor.tracking.settings.wom_prefix],r="",p=meteor.build_hash_string(o),typeof p!="undefined"&&p!==null&&(r="#"+p),l[meteor.tracking.settings.query_string_key]=h,t=meteor.build_query_string(l),u=meteor.array.is_array(meteor.sharing.settings.media_tag)?meteor.sharing.settings.media_tag:meteor.sharing.settings.media_tag.split(","),meteor.sharing.settings.site_tag!==!1&&(meteor.array.contains(u,"mbar")||u.push("mbar")),u.length)for(a=[],c=0;c<u.length;c++){if(i=u[c],v=i,meteor.array.contains(a,v))continue;else if(i==="")continue;i==="mbar"&&(i="mbar-"+n);t!==""&&(t=t+"&");t+=meteor.array.contains(e,"mtag")?"mtag":e[0];t+="=";t+=i;a.push(v)}typeof t!="undefined"&&t!==null&&t!==""&&(t="?"+t);s=b+t+r;break;case"hash":for(meteor.array.contains(meteor.sharing.settings.safe_meteor_keys,meteor.tracking.settings.query_string_key)||delete l[meteor.tracking.settings.query_string_key],f=0;f<e.length;f++)meteor.array.contains(meteor.sharing.settings.safe_meteor_keys,e[f])||(i=e[f],delete l[i]);if(delete l[meteor.tracking.settings.wom_prefix],t="?"+meteor.build_query_string(l),t==="?"&&(t=""),y="",w=o[meteor.tracking.settings.magic_hash_key],typeof w!="undefined"&&w!==null&&(y+=w),o={},o[meteor.tracking.settings.query_string_key]=h,r=meteor.build_hash_string(o),(typeof r=="undefined"||r===null)&&(r=""),u=meteor.array.is_array(meteor.sharing.settings.media_tag)?meteor.sharing.settings.media_tag:meteor.sharing.settings.media_tag.split(","),meteor.sharing.settings.site_tag!==!1&&(meteor.array.contains(u,"mbar")||u.push("mbar")),u.length)for(a=[],c=0;c<u.length;c++){if(i=u[c],v=i,meteor.array.contains(a,v))continue;else if(i==="")continue;i==="mbar"&&(i="mbar-"+n);r!==""&&(r=r+meteor.tracking.settings.hash_separator);r+=meteor.array.contains(e,"mtag")?"mtag":e[0];r+=meteor.tracking.settings.hash_assignment_op;r+=i;a.push(v)}meteor.tracking.settings.hash_path?s=b+t+"#"+y+r:(s=b+t+"#"+r,y!==""&&(s+=meteor.tracking.settings.hash_end+y));break;case"local_storage_only":break;default:throw"buildUrl: url_storage_source was invalid ("+meteor.sharing.settings.url_storage_source+")";}return s};meteor.sharing.record_click=function(n,t){var i,r,f;if(n!=="copy"&&n!=="link"||typeof meteor.sharing.settings.was_tracked[t]=="undefined"||meteor.sharing.settings.was_tracked[t]===null){meteor.sharing.settings.was_tracked[t]=!0;n!=="email"||meteor.missing(meteor.sharing.email_share_persist_url)?n!=="link"||meteor.missing(meteor.sharing.link_share_persist_url)||(i=document.createElement("img"),i.src=meteor.sharing.link_share_persist_url,r=document.getElementsByTagName("script")[0],r.parentNode.insertBefore(i,r)):(i=document.createElement("img"),i.src=meteor.sharing.email_share_persist_url,r=document.getElementsByTagName("script")[0],r.parentNode.insertBefore(i,r));f={url:meteor.meteor_escape(meteor.sharing.buildUrl(n)),application_id:meteor.sharing.settings.application_id,site_id:n};meteor.json_query(meteor.construct_url("sharing","api/record_click"),f,function(){});var e=decodeURIComponent(meteor.sharing.settings.title),o=decodeURIComponent(meteor.sharing.settings.desc),s=meteor.share_list[n],u=s.target;return u=u.replace("$title",encodeURIComponent(e)),u=u.replace("$desc",encodeURIComponent(o)),u.replace("$url",document.getElementById("safe_url_"+t).value)}};meteor.sharing.href_link=function(n,t){var r={url:meteor.meteor_escape(meteor.sharing.buildUrl(n)),application_id:meteor.sharing.settings.application_id,site_id:n};meteor.json_query(meteor.construct_url("sharing","api/record_click"),r,function(){});var u=decodeURIComponent(meteor.sharing.settings.title),f=decodeURIComponent(meteor.sharing.settings.desc),e=meteor.share_list[n],i=e.target;return i=i.replace("$title",encodeURIComponent(u)),i=i.replace("$desc",encodeURIComponent(f)),i.replace("$url",document.getElementById("link_share_link_"+t).value)};meteor.sharing.link_handler=function(n){var t=meteor.sharing.settings.shorten,i=meteor.meteor_escape(meteor.sharing.buildUrl("link")),r=meteor.sharing.settings.application_id,u={url:i,id:n,application_id:r,site_id:"link",shorten:t};return meteor.json_query(meteor.construct_url("sharing","api/ie8_email"),u,function(n){var t=document.getElementById("input_share_link_"+n.id);return t.value=n.url,meteor.missing(n.persist)||(meteor.sharing.link_share_persist_url=n.persist),!1}),!1};meteor.sharing.email_handler=function(n,t){var i=meteor.sharing.settings.shorten,r=meteor.meteor_escape(meteor.sharing.buildUrl("email")),u=meteor.sharing.settings.application_id,f={url:r,id:t,application_id:u,site_id:"email",shorten:i};return meteor.json_query(meteor.construct_url("sharing","api/email_handler"),f,function(t){var i=decodeURIComponent(meteor.sharing.settings.title),r=decodeURIComponent(meteor.sharing.settings.desc);return n=n.replace("$title",encodeURIComponent(i)),n=n.replace("$desc",encodeURIComponent(r)),n=n.replace("$url",t.url),window.location.href=n,!1}),!1};meteor.clone=function(n,t){var r=t?t:{};for(var i in n)n.hasOwnProperty(i)&&(r[i]=n[i]&&typeof n[i]=="object"?meteor.array.is_array(n[i])?meteor.clone(n[i],[]):meteor.clone(n[i]):n[i]);return r};meteor.clipboard={};meteor.clipboard.add_copydiv=function(n,t){var f=99,i;t.style.zIndex&&(f=parseInt(t.style.zIndex,10)+1);var e=document.getElementsByTagName("body")[0],r={left:t.offsetLeft,top:t.offsetTop,width:(t.width?t.width:t.offsetWidth)*6,height:(t.height?t.height:t.offsetHeight)*6},u=document.createElement("div");u.setAttribute("id","share_copy_div_"+n);i=u.style;i.position="absolute";i.left=""+r.left+"px";i.top=""+r.top+"px";i.width=""+r.width+"px";i.height=""+r.height+"px";i.zIndex=f;e.appendChild(u);meteor.clipboard.setup_copyswf=function(n){var t=document.getElementById("share_copy_div_"+n);typeof t=="undefined"||t===null?setTimeout("meteor.clipboard.setup_copyswf('"+n+"')",1):meteor.clipboard.add_copyswf(n,t)};setTimeout("meteor.clipboard.setup_copyswf('"+n+"')",1)};meteor.clipboard.add_copyswf=function(n,t){var r=meteor.construct_url("static","meteorcopy.swf"),u="id="+n+"&width="+t.style.width.replace("px","")+"&height="+t.style.height.replace("px",""),f=location.protocol==="https:"?"https://":"http://",i="";navigator.userAgent.match(/MSIE/)?(i+="<object ",i+=' classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ',i+=' codebase="'+f+'download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" ',i+=' width="'+t.style.width+'" ',i+=' height="'+t.style.height+'" ',i+=' id="meteor_copy_'+n+'" ',i+=' align="middle" ',i+=" > ",i+='<param name="allowScriptAccess" value="always" />',i+='<param name="allowFullScreen" value="false" />',i+='<param name="movie" value="'+r+'" />',i+='<param name="loop" value="false" />',i+='<param name="menu" value="false" />',i+='<param name="quality" value="best" />',i+='<param name="bgcolor" value="#ffffff" />',i+='<param name="flashvars" value="'+u+'"/>',i+='<param name="wmode" value="transparent"/>',i+="<\/object>"):(i="<embed ",i+=' id="meteor_copy_'+n+'" ',i+=' src="'+r+'" ',i+=' loop="false" ',i+=' menu="false" ',i+=' quality="best" ',i+=' bgcolor="#ffffff" ',i+=' width="'+t.style.width+'" ',i+=' height="'+t.style.height+'" ',i+=' name="meteor_copy_'+n+'" ',i+=' align="middle" ',i+=' allowScriptAccess="always" ',i+=' allowFullScreen="false" ',i+=' type="application/x-shockwave-flash" ',i+=' pluginspage="'+f+'get.adobe.com/flashplayer" ',i+=' flashvars="'+u+'" ',i+=' wmode="transparent" ',i+=" />");t.innerHTML=i};meteor.clipboard.check_target=function(n){var i="waiting",t=document.getElementById("input_share_link_"+n);return typeof t!="undefined"&&t!==null&&url!==""&&(i=t.value),i};meteor.clipboard.check_linkdiv=function(n){var t=document.getElementById("input_share_link_"+n);typeof t=="undefined"||t===null?setTimeout("meteor.clipboard.check_linkdiv('"+n+"')",1):meteor.sharing.link_handler(n)};meteor.clipboard.setup_copydiv=function(n){var t=document.getElementById("img_share_copy_"+n);typeof t=="undefined"||t===null?setTimeout("meteor.clipboard.setup_copydiv('"+n+"')",1):meteor.clipboard.add_copydiv(n,t)};meteor.callbacks=[];meteor.register_callback=function(n){meteor.tracking.is_completed?n():meteor.callbacks.push(n)};meteor.run_callbacks=function(){var n=function(){if(meteor.callbacks.length>0){try{meteor.callbacks.pop()()}catch(t){}setTimeout(n,1)}};setTimeout(n,1)};meteor.internal_callbacks=[];meteor.register_internal_callback=function(n){meteor.tracking.is_completed?setTimeout(n,1):meteor.internal_callbacks.push(n)};meteor.run_internal_callbacks=function(){var n=function(){if(meteor.internal_callbacks.length>0){try{meteor.internal_callbacks.pop()()}catch(t){}setTimeout(n,1)}};setTimeout(n,1)};meteor.events={};meteor.register_event_handler=function(n,t){meteor.events[n]==undefined&&(meteor.events[n]=[]);meteor.events[n].push(t)};meteor.trigger_event=function(n){var t=function(n){return function(){if(meteor.events[n]!=undefined&&meteor.events[n].length>0){try{meteor.events[n].shift()()}catch(i){}setTimeout(t,1)}}}(n);setTimeout(t,1)};meteor.tracking.get_id=function(){try{return meteor.tracking.permanent_storage.id}catch(n){}};meteor.b64encode=function(n){for(var r,i="-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz",t=[];;)if(r=n%64,t.push(i[r]),n=Math.floor(n/64),n===0)break;return t.reverse(),t.join("")};meteor.convert_uid=function(n){for(n=n.replace(/-/g,""),n=parseInt(n,16),n=n.toString(2),n=n.substr(0,54),n=parseInt(n,2),n=meteor.b64encode(n);n.length<11;)n="-"+n;return n};meteor.content_loaded=function(n,t){var o=!1,s=!0,i=n.document,h=i.documentElement,u=i.addEventListener,e=u?"addEventListener":"attachEvent",l=u?"removeEventListener":"detachEvent",f=u?"":"on",r=function(u){(u.type!="readystatechange"||i.readyState=="complete")&&((u.type=="load"?n:i)[l](f+u.type,r,!1),!o&&(o=!0)&&t.call(n,u.type||u))},c=function(){try{h.doScroll("left")}catch(n){setTimeout(c,50);return}r("poll")};if(i.readyState=="complete")t.call(n,"lazy");else{if(!u&&h.doScroll){try{s=!n.frameElement}catch(a){}s&&c()}i[e](f+"DOMContentLoaded",r,!1);i[e](f+"readystatechange",r,!1);n[e](f+"load",r,!1)}};meteor.orion={};meteor.orion.init=function(n,t){var e,o,u,i,r,f;n=n||15133;t=t||4;e=location.protocol==="https:"?"https://":"http://";arguments.length===1&&(o=arguments[0]);meteor.uid?(u=document.getElementsByTagName("body")[0],i=document.createElement("iframe"),i.id="__bkframe",i.name="__bkframe",i.height="0",i.width="0",i.frameborder="0",i.style.display="none",i.src="javascript:void(0)",u.insertBefore(i,u.childNodes[0]),r=document.createElement("script"),r.id="meteor_bluekai",r.name="meteor_bluekai",r.src=e+"tags.bkrtx.com/js/bk-coretag.js",f=function(){var i=meteor.application_id;(i=="dbb171d6-57c9-4ad3-a1a9-0bd6738ea3fe"||i=="2060fbb0-6e6d-471f-9242-c6207da08a94")&&(i="58ca5a34-d07f-4485-acff-f2651dd721ba");visitorstate=meteor.tracking.permanent_storage.parent_id!=""?"wom":"direct";bk_addPageCtx("appid",i);bk_addPageCtx("uuid",meteor.uid);bk_addPageCtx("visitorstate",visitorstate);bk_doJSTag(n,t)},r.onload=f,r.onreadystatechange=function(){typeof bk_addPageCtx=="function"&&f()},u.insertBefore(r,u.childNodes[0])):setTimeout(meteor.orion.init,1e3,n,t)}}}catch(err){meteor_monitor(err)}if(typeof meteor=="undefined"||meteor===null){typeof console!="undefined"&&console.log&&console.log("Dependency error. Please make sure metsol.js is loaded and track() has been called.");monitor_info={useragent:navigator.userAgent,location:document.location,message:"metshare.js was loaded without metsol.js"};monitor_url=[];for(key in monitor_info)monitor_info.hasOwnProperty(key)&&monitor_url.push(key+"="+encodeURIComponent(monitor_info[key]));monitor_url="?"+monitor_url.join("&");monitor_jsonp=document.createElement("script");monitor_jsonp.setAttribute("type","text/javascript");monitor_jsonp.setAttribute("src","http://cdnt.meteorsolutions.com/api/client_error"+monitor_url);document.getElementsByTagName("head")[0].appendChild(monitor_jsonp)}else meteor.missing(meteor.sharing.superbar)&&(meteor.sharing.superbar={},meteor.sharing.superbar.fb_appid="114189562003069",meteor.sharing.superbar.default_settings={id:1,node:null,size:"med",sites:[],url:window.location.href,application_id:"",message:"",title:"",redirect_uri:"http://www.facebook.com",share_count_url:meteor.construct_url("static","api/share_count?application_id=$application_id&url=$url&sites=$sites"),device:"desktop",orientation:"horizontal",page_position:"left",inset_ratio:.25,corner_offset:50,margin:8},meteor.sharing.superbar.settings={},meteor.sharing.superbar.share_count={},meteor.sharing.superbar.sizes={small:16,med:24,large:32,xlarge:40,"2xlarge":48,"mobile-small":64,"mobile-med":72,"mobile-large":88},meteor.sharing.superbar.sites={delicious:{params:["url","title"],shared_url:"",url:"http://delicious.com/save?v=5&noui&jump=close&url=$url&title=$title",width:"960",height:"500",offset:0,readable_name:"on Delicious"},digg:{url:"http://digg.com/submit?url=$url&title=$title",shared_url:"",params:["url","title"],width:"1070",height:"500",offset:-1,readable_name:"on Digg"},email:{url:"mailto:?subject=$title&body=$message%20$url",shared_url:"",params:["url","title","message"],width:"500",height:"500",offset:-2,readable_name:"via Email"},facebook:{url:"http://www.facebook.com/dialog/feed?app_id="+meteor.sharing.superbar.fb_appid+"&link=$url&name=$title&description=$message&redirect_uri=$redirect",shared_url:"",params:["url","title","message","redirect"],width:"1050",height:"500",offset:-3,readable_name:"on Facebook"},linkedin:{url:"http://www.linkedin.com/shareArticle?mini=true&url=$url&title=$title&summary=$message&source=",shared_url:"",params:["url","title","message"],width:"500",height:"500",offset:-4,readable_name:"on LinkedIn"},live:{url:"http://profile.live.com/badge/?url=$url&title=$title&description=$message",shared_url:"",params:["url","title","message"],width:"1015",height:"500",offset:-5,readable_name:"on Windows Live Favorites"},reddit:{url:"http://reddit.com/submit?url=$url&title=$title",shared_url:"",params:["url","title"],width:"875",height:"500",offset:-6,readable_name:"on reddit"},twitter:{url:"http://twitter.com/intent/tweet?text=$title&url=$url&via=$via",shared_url:"",params:["url","title","via"],width:"750",height:"400",offset:-7,readable_name:"on Twitter"},pinterest:{url:"$url",shared_url:"",params:["url","message","title"],width:"750",height:"400",offset:-8,readable_name:"on Pinterest"},googleplus:{url:"https://plus.google.com/share?url=$url&title=$title",shared_url:"",params:["url","title"],width:"1050",height:"500",offset:-9,readable_name:"on Google+"},stumbleupon:{url:"http://www.stumbleupon.com/submit?url=$url&title=$title",shared_url:"",params:["url","title"],width:"750",height:"400",offset:-10,readable_name:"on StumbleUpon"},yammer:{url:"https://www.yammer.com/messages/new?login=true&trk_event=yammer_share&status=$message%20$url",shared_url:"",params:["url","message"],width:"750",height:"400",offset:-11,readable_name:"on Yammer"}},meteor.sharing.superbar.init=function(n,t){if(meteor.tracking.is_completed){var i,u,r;i=meteor.random_id(4);n.node=document.createElement("div");n.node.id=i;n.node.className="meteor_share_"+n.id;n.node.style.position="relative";u=document.getElementsByTagName("script");r=u[u.length-1];r.parentElement.tagName.toLowerCase()==="head"?document.body.appendChild(n.node):r.parentNode.insertBefore(n.node,r.nextSibling);meteor.sharing.superbar.configure(n,i,function(n){meteor.sharing.superbar.reinit(n,i)})}else typeof t=="undefined"&&(t=0),t<5?setTimeout(function(){meteor.sharing.superbar.init(n,++t)},500):meteor.log("Dependency error: Meteor tracking is required for sharing to work properly. Please make sure that track() is being called before superbar init.")},meteor.sharing.superbar.reinit=function(n,t){var r,i,u,f,e;t=t||"master";u=n.config;r=meteor.sharing.superbar.settings[t];for(i in u)u.hasOwnProperty(i)&&(i==="sites"?(typeof r[i]=="undefined"||r[i].length===0)&&(r[i]=u[i]):r[i]===meteor.sharing.superbar.default_settings[i]&&(r[i]=u[i]));f=navigator.userAgent.toLowerCase();f.indexOf("msie")!=-1&&(e=parseInt(f.split("msie")[1]),e<10&&typeof r.site_urls=="undefined"&&meteor.sharing.superbar.initializeSiteUrls(u,t));r.device==="mobile"?meteor.sharing.superbar.draw_mobile(r,t):meteor.sharing.superbar.draw_desktop(r,t)},meteor.sharing.create_cors_request=function(n,t,i){var r=new XMLHttpRequest;return"withCredentials"in r?r.open(n,t,Boolean(i)):typeof XDomainRequest!="undefined"?(r=new XDomainRequest,r.open(n,t)):r=null,r},meteor.sharing.superbar.get_share_count=function(n,t,i){function h(n){return isNaN(n)||(n>1e6?n=Math.round(n/1e6,2)+"M":n>1e3&&(n=Math.round(n/1e3,2)+"K")),n}var e,o,r,u,s,f;if(!t||!meteor.sharing.superbar.settings[t])for(e in meteor.sharing.superbar.settings)if(typeof e=="string"&&typeof meteor.sharing.superbar.settings[e]=="object"){t=e;break}(o=meteor.sharing.superbar.settings[t],r=o.share_count_url,r)&&(u=document.location.href,u.indexOf("#")>0&&(u=u.substr(0,u.indexOf("#"))),s=[],s=n.split(",").length>1?n.split(","):n=="all"||n==undefined?o.sites.join(","):[n],r=r.replace("$application_id",o.application_id),r=r.replace("$url",encodeURIComponent(u)),r=r.replace("$sites",s),f=meteor.sharing.create_cors_request("GET",r,!0),f&&(f.onload=function(){var t,r;try{if(t=meteor.json_decode(f.responseText),t.ok)if(s.length==1)meteor.sharing.superbar.share_count[n]=h(t.data);else for(r in t.data)typeof t.data[r]=="string"&&(meteor.sharing.superbar.share_count[r]=h(t.data[r]));typeof i=="function"&&i(meteor.sharing.superbar.share_count)}catch(u){meteor.sharing.superbar.share_count={}}},f.send()))},meteor.sharing.superbar.draw_desktop=function(n,t){var u,o,s,h,r,i,f,e;meteor.sharing.superbar.settings[t].parentID&&(h=document.getElementById(meteor.sharing.superbar.settings[t].parentID),h.appendChild(n.node));switch(n.size){case"small":u="media/icons/superplate_small.png";break;case"med":u="media/icons/superplate_med.png";break;case"large":u="media/icons/superplate_large.png";break;case"xlarge":u="media/icons/superplate_xlarge.png";break;case"2xlarge":u="media/icons/superplate_2xlarge.png";break;default:n.size="med";u="media/icons/superplate_med.png"}for(o=meteor.construct_url("static",u),n.margin=meteor.sharing.superbar.sizes[n.size]/8,n.button_width=meteor.sharing.superbar.sizes[n.size]+n.margin*2,n.node.style.width=n.orientation==="vertical"?n.button_width.toString()+"px":(n.button_width*n.sites.length).toString()+"px",s=function(n,t,i){return function(r){var o,s,f,e,u;r instanceof Object&&r.hasOwnProperty("preventDefault")&&r.preventDefault();o=t[n]&&t[n].title?t[n].title:t.title;s=t[n]&&t[n].message?t[n].message:t.message;t[n]&&t[n].image?f=t[n].image:t.image&&(f=t.image);via=t[n]&&t[n].via?t[n].via:"";e=t[n]&&t[n].shorten?t[n].shorten:t.shorten;u={};u.title=o;u.message=s;u.image=f;u.via=via;u.bar_id=i;u.width=t[n]&&t[n].width?t[n].width:undefined;u.height=t[n]&&t[n].height?t[n].height:undefined;u.resizable=t[n]&&t[n].resizable?t[n].resizable:"no";typeof e!="undefined"&&(u.shorten=e);meteor.sharing.superbar.trigger(n,u)}},e=0;e<n.sites.length;e++)r=n.sites[e],i=document.createElement("button"),i.src=meteor.construct_url("static","none.gif"),i.title="Share "+meteor.sharing.superbar.sites[r].readable_name,i.onclick=s(r,n,t),i.id=t+"_"+r,i.style.display="inline-block",i.style.cursor="pointer",i.style.border="none",f=meteor.sharing.superbar.coords(r,n.size),i.style.width=f[1][0],i.style.height=f[1][1],n[r]&&n[r].icon_url?(i.style.backgroundImage='url("'+n[r].icon_url+'")',i.style.backgroundRepeat="no-repeat"):(i.style.backgroundImage='url("'+o+'")',i.style.backgroundRepeat="no-repeat",i.style.backgroundPosition=f[0][0]+" "+f[0][1]),i.style.margin=n.margin.toString()+"px",n.orientation==="vertical"&&(i.style.display="block"),n.node.appendChild(i);meteor.sharing.superbar.settings[t].share_count&&meteor.sharing.superbar.get_share_count("all",t)},meteor.sharing.superbar.draw_mobile=function(n,t){var u,r,f,h,c,e,i,l,o,s;meteor.sharing.superbar.settings[t].parentID&&(c=document.getElementById(meteor.sharing.superbar.settings[t].parentID),c.appendChild(n.node));switch(n.size){case"mobile-small":f="media/icons/superplate_mobile-small.png";break;case"mobile-med":f="media/icons/superplate_mobile-med.png";break;case"mobile-large":f="media/icons/superplate_mobile-large.png";break;default:n.size="mobile-med";f="media/icons/superplate_mobile-med.png"}h=meteor.construct_url("static",f);n.margin=meteor.sharing.superbar.sizes[n.size]/parseInt(n.margin,10);n.button_width=meteor.sharing.superbar.sizes[n.size]+n.margin*2;r=meteor.detect_browser();n.node.style.position=r.device==="mobile"&&r.name.toLowerCase()=="ie"?"fixed":r.device==="standard"||r.device==="desktop"||r.device==="mobile"&&r.name.toLowerCase()=="ie"||r.name.toLowerCase()==="android"&&parseInt(r.version,10)>=3||r.name.toLowerCase()==="firefox"&&parseInt(r.version,10)>=6||r.version.toLowerCase()==="iphone"||r.version.toLowerCase()==="ipad"||r.name.toLowerCase()==="blackberry"&&parseInt(r.version,10)>=7?"fixed":"absolute";u=meteor.sharing.superbar.sizes[n.size]*parseFloat(n.inset_ratio);switch(n.page_position){case"left":n.node.style.width=n.button_width.toString()+"px";n.node.style.top=0;n.node.style.left=-u+"px";n.node.style.marginTop=n.corner_offset+"px";break;case"right":n.node.style.width=n.button_width.toString()+"px";n.node.style.top=0;n.node.style.right=-u+"px";n.node.style.marginTop=n.corner_offset+"px";break;case"top":n.node.style.width=(n.button_width*n.sites.length).toString()+"px";n.node.style.top=-u+"px";n.node.style.marginLeft=n.corner_offset+"px";break;case"bottom":n.node.style.width=(n.button_width*n.sites.length).toString()+"px";n.node.style.bottom=-u+"px";n.node.style.marginLeft=n.corner_offset+"px";break;default:n.node.style.width=n.button_width.toString()+"px";n.node.style.top=0;n.node.style.left=-u+"px";n.node.style.marginTop=n.corner_offset+"px"}for(l=function(n,t,i){return function(){var r,u,f,e;r=t[n]&&t[n].title?t[n].title:t.title;u=t[n]&&t[n].message?t[n].message:t.message;f=t[n]&&t[n].image?t[n].image:t.image;via=t[n]&&t[n].via?t[n].via:"";e=typeof t[n].shorten!="undefined"?t[n].shorten:!0;meteor.sharing.superbar.trigger(n,{title:r,message:u,image:f,via:via,bar_id:i,shorten:e})}},s=0;s<n.sites.length;s++)e=n.sites[s],i=document.createElement("img"),i.src=meteor.construct_url("static","none.gif"),i.title="Share "+meteor.sharing.superbar.sites[e].readable_name,i.onclick=l(e,n,t),i.id=t+"_"+e+"_mobile",i.style.cursor="pointer",o=meteor.sharing.superbar.coords(e,n.size),i.style.position="relative",i.style.width=o[1][0],i.style.height=o[1][1],i.style.zIndex="1001",i.style.backgroundImage='url("'+h+'")',i.style.backgroundRepeat="no-repeat",i.style.backgroundPosition=o[0][0]+" "+o[0][1],i.style.margin=n.margin.toString()+"px",(n.page_position==="right"||n.page_position==="left")&&(i.style.display="block"),n.node.appendChild(i)},meteor.sharing.superbar.configure=function(n,t,i){var c,r,u,o,s,e,l,h,f;t=t||"master";c=function(n){meteor.sharing.superbar.reconfigure(n,t)};t=t||"master";meteor.missing(n)&&(n={});r=meteor.clone(meteor.sharing.superbar.default_settings);for(u in n)n.hasOwnProperty(u)&&(r[u]=n[u]);if(r.title===""&&(r.title=document.title?document.title:""),r.message===""){for(s="",e=document.getElementsByTagName("meta"),u=0;u<e.length;u++)e[u].name==="description"&&(s=e[u].content);r.message=s}r.hasOwnProperty("application_id")&&r.application_id!==""||(r.application_id=meteor.tracking.settings.cookie_name);r.hasOwnProperty("url_storage_source")||(r.url_storage_source=meteor.tracking.settings.url_storage_source);n.redirect_uri&&(r.redirect_uri=meteor.construct_url("sharing","facebook_redirect/")+encodeURIComponent(n.redirect_uri));meteor.sharing.superbar.settings[t]=r;l=r.device==="mobile"?"mobile":"standard";o={application_id:r.application_id,config_id:r.id,fbid:meteor.tracking.permanent_storage.id,id:r.id,bar_id:t,url:r.url,url_storage_source:r.url_storage_source,device:l};typeof r.shorten!="undefined"&&(o.shorten=r.shorten);r.sites.indexOf("pinterest")!==-1&&(h=document.getElementsByTagName("SCRIPT")[0],f=document.createElement("SCRIPT"),f.type="text/javascript",f.async=!0,f.src="//assets.pinterest.com/js/pinit.js",h.parentNode.insertBefore(f,h));config_callback=function(n){var e=i||c,u,f;e(n);u=navigator.userAgent.toLowerCase();u.indexOf("msie")!=-1&&(f=parseInt(u.split("msie")[1]),f<10&&typeof r.site_urls=="undefined"&&meteor.sharing.superbar.initializeSiteUrls(n.config,t))};meteor.json_query(meteor.construct_url("sharing","api/sharetool_config/config"),o,config_callback)},meteor.sharing.superbar.reconfigure=function(n,t){var i;t=t||"master";n=n.config;for(i in n)n.hasOwnProperty(i)&&(meteor.sharing.superbar.settings[t][i]=n[i])},meteor.sharing.superbar.href=function(n,t,i,r,u){meteor.sharing.superbar.trigger(n,{title:t,message:i,image:r,bar_id:u})},meteor.sharing.superbar.initializeSiteUrls=function(n,t){var r,i=meteor.sharing.superbar.settings[t],u=function(){return typeof n.shorten=="boolean"?n.shorten:typeof n.shorten=="string"&&n.shorten.toUpperCase()==="FALSE"?!1:typeof n.shorten=="string"&&n.shorten.toUpperCase()==="TRUE"?!0:typeof n.shorten=="undefined"&&typeof i.shorten=="boolean"?i.shorten:typeof n.shorten=="undefined"&&typeof i.shorten=="string"&&i.shorten.toUpperCase()==="FALSE"?!1:!0},f=function(n){typeof i.site_urls=="undefined"&&(i.site_urls={});for(var t=0;t<i.sites.length;t++)i.site_urls[i.sites[t]]=n.config.site_urls[i.sites[t]]};r={application_id:i.application_id,id:i.id,bar_id:t,fbid:meteor.tracking.permanent_storage.id,url:i.url,url_storage_source:i.url_storage_source,device:i.device};u()==!1&&(r.shorten="false");meteor.json_query(meteor.construct_url("sharing","api/sharetool_config/old_config"),r,f)},meteor.sharing.superbar.trigger=function(n,t){var i,o,u,s,h,c,f,r,e;u=t.bar_id?t.bar_id:"master";i=meteor.sharing.superbar.settings[u];s=function(){return typeof t.shorten=="boolean"?t.shorten:typeof t.shorten=="string"&&t.shorten.toUpperCase()==="FALSE"?!1:typeof t.shorten=="string"&&t.shorten.toUpperCase()==="TRUE"?!0:typeof t.shorten=="undefined"&&typeof i.shorten=="boolean"?i.shorten:typeof t.shorten=="undefined"&&typeof i.shorten=="string"&&i.shorten.toUpperCase()==="FALSE"?!1:!0};h=function(t){typeof i.site_urls=="undefined"&&(i.site_urls={});i.site_urls[n]=t[n].share_url};typeof i.site_urls=="undefined"||meteor.missing(i.site_urls[n])?(c=i[n]&&i[n].url?i[n].url:i.url,o={site:n,fbid:meteor.tracking.permanent_storage.id,url:c,url_storage_source:i.url_storage_source,device:i.device},s()==!1&&(o.shorten="false"),meteor.json_setup_callback(o,h),f=meteor.construct_url("sharing","api/sharetool_config/short_url"),f=meteor.json_source(f,o),meteor.detect_browser().name==="IE"&&meteor.detect_browser().version===7?(r=document.createElement("script"),r.setAttribute("type","text/javascript"),r.setAttribute("charset","UTF-8"),r.setAttribute("src",f),r.onreadystatechange=function(){(r.readyState=="complete"||r.readyState=="loaded")&&meteor.sharing.superbar.launch(n,t,u)},document.body.appendChild(r)):(e=meteor.sharing.create_cors_request("GET",f,!1),e&&(e.onload=function(){try{eval(e.responseText);meteor.sharing.superbar.launch(n,t,u)}catch(e){meteor.sharing.superbar.share_count={}}},e.send()))):meteor.sharing.superbar.launch(n,t,u)},meteor.sharing.superbar.launch=function(n,t,i){var u,o,c,s,f,l,r,y,a,h,v,e;f=meteor.sharing.superbar.settings[i];u=meteor.sharing.superbar.sites[n];r=u.url;y=meteor.tracking.settings.url_storage_source;a=meteor.sharing.default_settings.query_string_tag_key;o=t.title||f.title;c=t.message||f.message;typeof t.image!="undefined"?(s=t.image,r+="&picture=$image",u.params.push("image")):typeof f.image!="undefined"&&(s=f.image,r+="&picture=$image",u.params.push("image"));n=="twitter"&&f[n]&&null!=f[n].message&&(o=f[n].message);u.width=t.width||meteor.sharing.superbar.sites[n].width;u.height=t.height||meteor.sharing.superbar.sites[n].height;u.resizable=t.resizable||"no";h=t.via||"";meteor.array.contains(u.params,"url")&&(r=r.replace("$url",encodeURIComponent(f.site_urls[n])));meteor.array.contains(u.params,"title")&&(r=r.replace("$title",encodeURIComponent(o)));meteor.array.contains(u.params,"message")&&(r=r.replace("$message",encodeURIComponent(c)));meteor.array.contains(u.params,"image")&&(r=r.replace("$image",encodeURIComponent(s)));meteor.array.contains(u.params,"redirect")&&(r=r.replace("$redirect",encodeURIComponent(f.redirect_uri)));r=h&&meteor.array.contains(u.params,"via")?r.replace("$via",encodeURIComponent(h)):r.replace("via=$via","");l={url:meteor.meteor_escape(f.url),application_id:f.application_id,site_id:n,pixel:!0};setTimeout(function(){meteor.json_query(meteor.construct_url("sharing","api/record_click"),l,function(){})},1e3);setTimeout(function(){meteor.sharing.superbar.persist_share(f,n)},100);n==="email"?window.location.href=r:n==="pinterest"?(meteor.sharing.superbar.check_pinterest_has_started(),v=meteor.sharing.superbar.getMTAGValuePair(decodeURIComponent(r)),window.location.href.indexOf(a)==-1&&(meteor.tracking.settings.skip_hash_cleaning=!0,window.location.hash=v),e=document.createElement("script"),e.setAttribute("type","text/javascript"),e.setAttribute("charset","UTF-8"),e.setAttribute("id","pinmarklet"),e.setAttribute("src","http://assets.pinterest.com/js/pinmarklet.js?pin_url=hello&r="+Math.random()*99999999),document.body.appendChild(e)):meteor.sharing.superbar.open(r,u)},meteor.sharing.superbar.parseURL=function(n){var t=document.createElement("a");return t.href=n,t},meteor.sharing.superbar.getMTAGValuePair=function(n){var e=meteor.sharing.superbar.parseURL(n),u=meteor.sharing.default_settings.query_string_tag_key,o=meteor.tracking.default_settings.hash_separator,f=e.hash,t,i,r;if(typeof f!==undefined&&f!=""){t=n.split("#");t=t[1].split(o);for(i in t)if(r=t[i],typeof r=="string"&&r.match("^"+u))return t.splice(i,1)}else if(n.indexOf(u+"=")!=-1){t=n.split("?");t=t[1].split("&");for(i in t)if(r=t[i],r.match("^"+u))return t.splice(i,1)}},meteor.sharing.superbar.share=function(n){var t,i,u,f,r,e,o,s,h;n=n||window.event;t=n.target||n.srcElement;i=t.className.split("_");u=i[0];f=i[1];r=t.id.split("_");e=r[0]+"_message";o=document.getElementById(e).value.replace(/^\s+|\s+$/g,"");s=r[0]+"_usertitle";h=document.getElementById(s).value.replace(/^\s+|\s+$/g,"");meteor.sharing.superbar.trigger(f,{title:h,message:o,bar_id:u})},meteor.sharing.superbar.open=function(n,t){var i=meteor.sharing.superbar.is_smartphone(navigator.userAgent)?window.open(n):window.open(n,"","height="+t.height+",width="+t.width+",toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable="+t.resizable)},meteor.sharing.superbar.button_hover=function(n){var t;n=n||window.event;t=n.target||n.srcElement;t.style.color="#006881";t.style.backgroundColor="#DFF4FF"},meteor.sharing.superbar.button_nohover=function(n){var t;n=n||window.event;t=n.target||n.srcElement;t.style.color="#000000";t.style.backgroundColor="#F2F2F2"},meteor.sharing.superbar.coords=function(n,t){var i,r,u,f,e;return i=meteor.sharing.superbar.sizes[t],r=(meteor.sharing.superbar.sites[n].offset*i).toString()+"px",u="0px",f=i.toString()+"px",e=i.toString()+"px",[[r,u],[f,e]]},meteor.sharing.superbar.is_smartphone=function(n){return(n=n.toLowerCase(),n.search("iphone")>-1)?!0:n.search("ipod")>-1||n.search("android")>-1&&n.search("webkit")>-1||n.search("webos")>-1||n.search("IEMobile")>-1?!0:!1},meteor.sharing.superbar.persist_share=function(n,t){var i,r;meteor.missing(n.persist_urls)||meteor.missing(n.persist_urls[t])||(i=document.createElement("img"),orig_url=n.persist_urls[t],i.src=orig_url.indexOf("http://meme.ms")!=-1?orig_url.replace("http://meme.ms","https://short.meteorsolutions.com"):orig_url,r=document.getElementsByTagName("script")[0],r.parentNode.insertBefore(i,r))},meteor.sharing.superbar.check_pinterest_has_started=function(){setTimeout(function(){for(var t=document.body.childNodes,i=new RegExp("PIN_([0-9]{10,})_bg"),n=0;n<t.length;n++)if(i.test(t[n].id)){meteor.sharing.superbar.check_pinterest_is_done();return}meteor.sharing.superbar.check_pinterest_has_started()},100)},meteor.sharing.superbar.check_pinterest_is_done=function(){setTimeout(function(){for(var i=document.body.childNodes,u=new RegExp("PIN_([0-9]{10,})_bg"),n=0;n<i.length;n++)if(u.test(i[n].id)){meteor.sharing.superbar.check_pinterest_is_done();return}var f=meteor.sharing.superbar.getMTAGValuePair(window.location.href),e=window.location.hash,r=[],t=e.split("&");for(n=0;n<t.length;n++)t[n]!=f&&r.push(t[n]);window.location.hash=r.join("&");meteor.tracking.settings.skip_hash_cleaning=!1},200)},meteor.sharing.superbar.mobile={},meteor.sharing.superbar.mobile.init=function(n){var i,r,u,t,f;for(r=meteor.sharing.superbar.settings.master,i=meteor.sharing.superbar.sites[n],u=$("#inputs-"+n),f=$("#toshare-"+n),t=0;t<i.params.length;t++)f.html(r.site_urls[n]),i.params[t]==="title"&&u.append($("<input>",{type:"text","class":"share-box",value:r.title,id:"sharetitle-"+n})),i.params[t]==="message"&&u.append($("<textarea>",{"class":"share-box",id:"sharemessage-"+n}).html(r.message))},meteor.sharing.superbar.mobile.share=function(n){var t,i;i=$("#sharetitle-"+n).val();t=$("#sharemessage-"+n).val();meteor.sharing.superbar.trigger(n,{title:i,message:t,bar_id:"master"})});Array.prototype.indexOf||(Array.prototype.indexOf=function(n){var i=this.length>>>0,t=Number(arguments[1])||0;for(t=t<0?Math.ceil(t):Math.floor(t),t<0&&(t+=i);t<i;t++)if(t in this&&this[t]===n)return t;return-1});!function(n){"use strict";var t=n.jCarousel={},i;t.version="0.3.4";i=/^([+\-]=)?(.+)$/;t.parseTarget=function(n){var r=!1,t="object"!=typeof n?i.exec(n):null;return t?(n=parseInt(t[2],10)||0,t[1]&&(r=!0,"-="===t[1]&&(n*=-1))):"object"!=typeof n&&(n=parseInt(n,10)||0),{target:n,relative:r}};t.detectCarousel=function(n){for(var t;n.length>0;){if((t=n.filter("[data-jcarousel]"),t.length>0)||(t=n.find("[data-jcarousel]"),t.length>0))return t;n=n.parent()}return null};t.base=function(i){return{version:t.version,_options:{},_element:null,_carousel:null,_init:n.noop,_create:n.noop,_destroy:n.noop,_reload:n.noop,create:function(){return this._element.attr("data-"+i.toLowerCase(),!0).data(i,this),!1===this._trigger("create")?this:(this._create(),this._trigger("createend"),this)},destroy:function(){return!1===this._trigger("destroy")?this:(this._destroy(),this._trigger("destroyend"),this._element.removeData(i).removeAttr("data-"+i.toLowerCase()),this)},reload:function(n){return!1===this._trigger("reload")?this:(n&&this.options(n),this._reload(),this._trigger("reloadend"),this)},element:function(){return this._element},options:function(t,i){if(0===arguments.length)return n.extend({},this._options);if("string"==typeof t){if("undefined"==typeof i)return"undefined"==typeof this._options[t]?null:this._options[t];this._options[t]=i}else this._options=n.extend({},this._options,t);return this},carousel:function(){return this._carousel||(this._carousel=t.detectCarousel(this.options("carousel")||this._element),this._carousel||n.error('Could not detect carousel for plugin "'+i+'"')),this._carousel},_trigger:function(t,r,u){var f,e=!1;return u=[this].concat(u||[]),(r||this._element).each(function(){f=n.Event((i+":"+t).toLowerCase());n(this).trigger(f,u);f.isDefaultPrevented()&&(e=!0)}),!e}}};t.plugin=function(i,r){var u=n[i]=function(t,i){this._element=n(t);this.options(i);this._init();this.create()};return u.fn=u.prototype=n.extend({},t.base(i),r),n.fn[i]=function(t){var f=Array.prototype.slice.call(arguments,1),r=this;return this.each("string"==typeof t?function(){var u=n(this).data(i),e;return u?!n.isFunction(u[t])||"_"===t.charAt(0)?n.error('No such method "'+t+'" for '+i+" instance"):(e=u[t].apply(u,f),e!==u&&"undefined"!=typeof e?(r=e,!1):void 0):n.error("Cannot call methods on "+i+' prior to initialization; attempted to call method "'+t+'"')}:function(){var r=n(this).data(i);r instanceof u?r.reload(t):new u(this,t)}),r},u}}(jQuery),function(n,t){"use strict";var i=function(n){return parseFloat(n)||0};n.jCarousel.plugin("jcarousel",{animating:!1,tail:0,inTail:!1,resizeTimer:null,lt:null,vertical:!1,rtl:!1,circular:!1,underflow:!1,relative:!1,_options:{list:function(){return this.element().children().eq(0)},items:function(){return this.list().children()},animation:400,transitions:!1,wrap:null,vertical:null,rtl:null,center:!1},_list:null,_items:null,_target:n(),_first:n(),_last:n(),_visible:n(),_fullyvisible:n(),_init:function(){var n=this;return this.onWindowResize=function(){n.resizeTimer&&clearTimeout(n.resizeTimer);n.resizeTimer=setTimeout(function(){n.reload()},100)},this},_create:function(){this._reload();n(t).on("resize.jcarousel",this.onWindowResize)},_destroy:function(){n(t).off("resize.jcarousel",this.onWindowResize)},_reload:function(){var t,i;return this.vertical=this.options("vertical"),null==this.vertical&&(this.vertical=this.list().height()>this.list().width()),this.rtl=this.options("rtl"),null==this.rtl&&(this.rtl=function(t){if("rtl"===(""+t.attr("dir")).toLowerCase())return!0;var i=!1;return t.parents("[dir]").each(function(){if(/rtl/i.test(n(this).attr("dir")))return(i=!0,!1)}),i}(this._element)),this.lt=this.vertical?"top":"left",this.relative="relative"===this.list().css("position"),this._list=null,this._items=null,t=this.index(this._target)>=0?this._target:this.closest(),this.circular="circular"===this.options("wrap"),this.underflow=!1,i={left:0,top:0},t.length>0&&(this._prepare(t),this.list().find("[data-jcarousel-clone]").remove(),this._items=null,this.underflow=this._fullyvisible.length>=this.items().length,this.circular=this.circular&&!this.underflow,i[this.lt]=this._position(t)+"px"),this.move(i),this},list:function(){if(null===this._list){var t=this.options("list");this._list=n.isFunction(t)?t.call(this):this._element.find(t)}return this._list},items:function(){if(null===this._items){var t=this.options("items");this._items=(n.isFunction(t)?t.call(this):this.list().find(t)).not("[data-jcarousel-clone]")}return this._items},index:function(n){return this.items().index(n)},closest:function(){var u,e=this,t=this.list().position()[this.lt],r=n(),f=!1,o=this.vertical?"bottom":this.rtl&&!this.relative?"left":"right";return this.rtl&&this.relative&&!this.vertical&&(t+=this.list().width()-this.clipping()),this.items().each(function(){if(r=n(this),f)return!1;var s=e.dimension(r);if(t+=s,t>=0){if(u=s-i(r.css("margin-"+o)),!(Math.abs(t)-s+u/2<=0))return!1;f=!0}}),r},target:function(){return this._target},first:function(){return this._first},last:function(){return this._last},visible:function(){return this._visible},fullyvisible:function(){return this._fullyvisible},hasNext:function(){if(!1===this._trigger("hasnext"))return!0;var n=this.options("wrap"),t=this.items().length-1,i=this.options("center")?this._target:this._last;return t>=0&&!this.underflow&&(n&&"first"!==n||this.index(i)<t||this.tail&&!this.inTail)?!0:!1},hasPrev:function(){if(!1===this._trigger("hasprev"))return!0;var n=this.options("wrap");return this.items().length>0&&!this.underflow&&(n&&"last"!==n||this.index(this._first)>0||this.tail&&this.inTail)?!0:!1},clipping:function(){return this._element["inner"+(this.vertical?"Height":"Width")]()},dimension:function(n){return n["outer"+(this.vertical?"Height":"Width")](!0)},scroll:function(t,i,r){var h,p,b;if(this.animating||!1===this._trigger("scroll",null,[t,i]))return this;if(n.isFunction(i)&&(r=i,i=!0),h=n.jCarousel.parseTarget(t),h.relative){var c,w,e,v,u,l,s,a,o=this.items().length-1,y=Math.abs(h.target),f=this.options("wrap");if(h.target>0)if(p=this.index(this._last),p>=o&&this.tail)this.inTail?"both"===f||"last"===f?this._scroll(0,i,r):n.isFunction(r)&&r.call(this,!1):this._scrollTail(i,r);else if(c=this.index(this._target),this.underflow&&c===o&&("circular"===f||"both"===f||"last"===f)||!this.underflow&&p===o&&("both"===f||"last"===f))this._scroll(0,i,r);else if(e=c+y,this.circular&&e>o){for(a=o,u=this.items().get(-1);a++<e;)u=this.items().eq(0),l=this._visible.index(u)>=0,l&&u.after(u.clone(!0).attr("data-jcarousel-clone",!0)),this.list().append(u),l||(s={},s[this.lt]=this.dimension(u),this.moveBy(s)),this._items=null;this._scroll(u,i,r)}else this._scroll(Math.min(e,o),i,r);else if(this.inTail)this._scroll(Math.max(this.index(this._first)-y+1,0),i,r);else if(w=this.index(this._first),c=this.index(this._target),v=this.underflow?c:w,e=v-y,0>=v&&(this.underflow&&"circular"===f||"both"===f||"first"===f))this._scroll(o,i,r);else if(this.circular&&0>e){for(a=e,u=this.items().get(0);a++<0;)u=this.items().eq(-1),l=this._visible.index(u)>=0,l&&u.after(u.clone(!0).attr("data-jcarousel-clone",!0)),this.list().prepend(u),this._items=null,b=this.dimension(u),s={},s[this.lt]=-b,this.moveBy(s);this._scroll(u,i,r)}else this._scroll(Math.max(e,0),i,r)}else this._scroll(h.target,i,r);return this._trigger("scrollend"),this},moveBy:function(n,t){var f=this.list().position(),r=1,u=0;return this.rtl&&!this.vertical&&(r=-1,this.relative&&(u=this.list().width()-this.clipping())),n.left&&(n.left=f.left+u+i(n.left)*r+"px"),n.top&&(n.top=f.top+u+i(n.top)*r+"px"),this.move(n,t)},move:function(t,i){var e,f,l,a;i=i||{};var o=this.options("transitions"),s=!!o,h=!!o.transforms,c=!!o.transforms3d,u=i.duration||0,r=this.list();if(!s&&u>0)return void r.animate(t,i);e=i.complete||n.noop;f={};s&&(l={transitionDuration:r.css("transitionDuration"),transitionTimingFunction:r.css("transitionTimingFunction"),transitionProperty:r.css("transitionProperty")},a=e,e=function(){n(this).css(l);a.call(this)},f={transitionDuration:(u>0?u/1e3:0)+"s",transitionTimingFunction:o.easing||i.easing,transitionProperty:u>0?function(){return h||c?"all":t.left?"left":"top"}():"none",transform:"none"});c?f.transform="translate3d("+(t.left||0)+","+(t.top||0)+",0)":h?f.transform="translate("+(t.left||0)+","+(t.top||0)+")":n.extend(f,t);s&&u>0&&r.one("transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd",e);r.css(f);0>=u&&r.each(function(){e.call(this)})},_scroll:function(t,i,r){var u,e,f;return this.animating?(n.isFunction(r)&&r.call(this,!1),this):("object"!=typeof t?t=this.items().eq(t):"undefined"==typeof t.jquery&&(t=n(t)),0===t.length)?(n.isFunction(r)&&r.call(this,!1),this):(this.inTail=!1,this._prepare(t),u=this._position(t),e=this.list().position()[this.lt],u===e)?(n.isFunction(r)&&r.call(this,!1),this):(f={},f[this.lt]=u+"px",this._animate(f,i,r),this)},_scrollTail:function(t,i){var r,u;return this.animating||!this.tail?(n.isFunction(i)&&i.call(this,!1),this):(r=this.list().position()[this.lt],this.rtl&&this.relative&&!this.vertical&&(r+=this.list().width()-this.clipping()),this.rtl&&!this.vertical?r+=this.tail:r-=this.tail,this.inTail=!0,u={},u[this.lt]=r+"px",this._update({target:this._target.next(),fullyvisible:this._fullyvisible.slice(1).add(this._visible.last())}),this._animate(u,t,i),this)},_animate:function(t,i,r){if(r=r||n.noop,!1===this._trigger("animate"))return r.call(this,!1),this;this.animating=!0;var f=this.options("animation"),e=n.proxy(function(){this.animating=!1;var n=this.list().find("[data-jcarousel-clone]");n.length>0&&(n.remove(),this._reload());this._trigger("animateend");r.call(this,!0)},this),u="object"==typeof f?n.extend({},f):{duration:f},o=u.complete||n.noop;return i===!1?u.duration=0:"undefined"!=typeof n.fx.speeds[u.duration]&&(u.duration=n.fx.speeds[u.duration]),u.complete=function(){e();o.call(this)},this.move(t,u),this},_prepare:function(t){var r,c,s,o,y=this.index(t),h=y,u=this.dimension(t),e=this.clipping(),l=this.vertical?"bottom":this.rtl?"left":"right",a=this.options("center"),f={target:t,first:t,last:t,visible:t,fullyvisible:e>=u?t:n()},v;if(a&&(u/=2,e/=2),e>u)for(;;){if(r=this.items().eq(++h),0===r.length){if(!this.circular)break;if(r=this.items().eq(0),t.get(0)===r.get(0))break;(c=this._visible.index(r)>=0,c&&r.after(r.clone(!0).attr("data-jcarousel-clone",!0)),this.list().append(r),c)||(v={},v[this.lt]=this.dimension(r),this.moveBy(v));this._items=null}if(o=this.dimension(r),0===o)break;if(u+=o,f.last=r,f.visible=f.visible.add(r),s=i(r.css("margin-"+l)),e>=u-s&&(f.fullyvisible=f.fullyvisible.add(r)),u>=e)break}if(!this.circular&&!a&&e>u)for(h=y;;){if(--h<0)break;if(r=this.items().eq(h),0===r.length)break;if(o=this.dimension(r),0===o)break;if(u+=o,f.first=r,f.visible=f.visible.add(r),s=i(r.css("margin-"+l)),e>=u-s&&(f.fullyvisible=f.fullyvisible.add(r)),u>=e)break}return this._update(f),this.tail=0,a||"circular"===this.options("wrap")||"custom"===this.options("wrap")||this.index(f.last)!==this.items().length-1||(u-=i(f.last.css("margin-"+l)),u>e&&(this.tail=u-e)),this},_position:function(n){var i=this._first,t=i.position()[this.lt],r=this.options("center"),u=r?this.clipping()/2-this.dimension(i)/2:0;return this.rtl&&!this.vertical?(t-=this.relative?this.list().width()-this.dimension(i):this.clipping()-this.dimension(i),t+=u):t-=u,!r&&(this.index(n)>this.index(i)||this.inTail)&&this.tail?(t=this.rtl&&!this.vertical?t-this.tail:t+this.tail,this.inTail=!0):this.inTail=!1,-t},_update:function(t){var u,r=this,i={target:this._target,first:this._first,last:this._last,visible:this._visible,fullyvisible:this._fullyvisible},f=this.index(t.first||i.first)<this.index(i.first),e=function(u){var e=[],o=[];t[u].each(function(){i[u].index(this)<0&&e.push(this)});i[u].each(function(){t[u].index(this)<0&&o.push(this)});f?e=e.reverse():o=o.reverse();r._trigger(u+"in",n(e));r._trigger(u+"out",n(o));r["_"+u]=t[u]};for(u in t)e(u);return this}})}(jQuery,window),function(n){"use strict";n.jcarousel.fn.scrollIntoView=function(t,i,r){var u,f=n.jCarousel.parseTarget(t),o=this.index(this._fullyvisible.first()),h=this.index(this._fullyvisible.last()),l;if(u=f.relative?f.target<0?Math.max(0,o+f.target):h+f.target:"object"!=typeof f.target?f.target:this.index(f.target),o>u)return this.scroll(u,i,r);if(u>=o&&h>=u)return n.isFunction(r)&&r.call(this,!1),this;for(var e,a=this.items(),c=this.clipping(),v=this.vertical?"bottom":this.rtl?"left":"right",s=0;;){if(e=a.eq(u),0===e.length)break;if(s+=this.dimension(e),s>=c){l=parseFloat(e.css("margin-"+v))||0;s-l!==c&&u++;break}if(0>=u)break;u--}return this.scroll(u,i,r)}}(jQuery),function(n){"use strict";n.jCarousel.plugin("jcarouselControl",{_options:{target:"+=1",event:"click",method:"scroll"},_active:null,_init:function(){this.onDestroy=n.proxy(function(){this._destroy();this.carousel().one("jcarousel:createend",n.proxy(this._create,this))},this);this.onReload=n.proxy(this._reload,this);this.onEvent=n.proxy(function(t){t.preventDefault();var i=this.options("method");n.isFunction(i)?i.call(this):this.carousel().jcarousel(this.options("method"),this.options("target"))},this)},_create:function(){this.carousel().one("jcarousel:destroy",this.onDestroy).on("jcarousel:reloadend jcarousel:scrollend",this.onReload);this._element.on(this.options("event")+".jcarouselcontrol",this.onEvent);this._reload()},_destroy:function(){this._element.off(".jcarouselcontrol",this.onEvent);this.carousel().off("jcarousel:destroy",this.onDestroy).off("jcarousel:reloadend jcarousel:scrollend",this.onReload)},_reload:function(){var t,i=n.jCarousel.parseTarget(this.options("target")),r=this.carousel(),u;return i.relative?t=r.jcarousel(i.target>0?"hasNext":"hasPrev"):(u="object"!=typeof i.target?r.jcarousel("items").eq(i.target):i.target,t=r.jcarousel("target").index(u)>=0),this._active!==t&&(this._trigger(t?"active":"inactive"),this._active=t),this}})}(jQuery),function(n){"use strict";n.jCarousel.plugin("jcarouselPagination",{_options:{perPage:null,item:function(n){return'<a href="#'+n+'">'+n+"<\/a>"},event:"click",method:"scroll"},_carouselItems:null,_pages:{},_items:{},_currentPage:null,_init:function(){this.onDestroy=n.proxy(function(){this._destroy();this.carousel().one("jcarousel:createend",n.proxy(this._create,this))},this);this.onReload=n.proxy(this._reload,this);this.onScroll=n.proxy(this._update,this)},_create:function(){this.carousel().one("jcarousel:destroy",this.onDestroy).on("jcarousel:reloadend",this.onReload).on("jcarousel:scrollend",this.onScroll);this._reload()},_destroy:function(){this._clear();this.carousel().off("jcarousel:destroy",this.onDestroy).off("jcarousel:reloadend",this.onReload).off("jcarousel:scrollend",this.onScroll);this._carouselItems=null},_reload:function(){var t=this.options("perPage");if(this._pages={},this._items={},n.isFunction(t)&&(t=t.call(this)),null==t)this._pages=this._calculatePages();else for(var u,s=parseInt(t,10)||0,h=this._getCarouselItems(),f=1,e=0;;){if(u=h.eq(e++),0===u.length)break;this._pages[f]=this._pages[f]?this._pages[f].add(u):u;e%s==0&&f++}this._clear();var i=this,r=this.carousel().data("jcarousel"),c=this._element,l=this.options("item"),o=this._getCarouselItems().length;n.each(this._pages,function(t,u){var f=i._items[t]=n(l.call(i,t,u));f.on(i.options("event")+".jcarouselpagination",n.proxy(function(){var e=u.eq(0),n,f;r.circular&&(n=r.index(r.target()),f=r.index(e),parseFloat(t)>parseFloat(i._currentPage)?n>f&&(e="+="+(o-n+f)):f>n&&(e="-="+(n+(o-f))));r[this.options("method")](e)},i));c.append(f)});this._update()},_update:function(){var t,i=this.carousel().jcarousel("target");n.each(this._pages,function(n,r){return r.each(function(){if(i.is(this))return(t=n,!1)}),t?!1:void 0});this._currentPage!==t&&(this._trigger("inactive",this._items[this._currentPage]),this._trigger("active",this._items[t]));this._currentPage=t},items:function(){return this._items},reloadCarouselItems:function(){return this._carouselItems=null,this},_clear:function(){this._element.empty();this._currentPage=null},_calculatePages:function(){for(var n,r,f=this.carousel().data("jcarousel"),e=this._getCarouselItems(),o=f.clipping(),u=0,s=0,t=1,i={};;){if(n=e.eq(s++),0===n.length)break;r=f.dimension(n);u+r>o&&(t++,u=0);u+=r;i[t]=i[t]?i[t].add(n):n}return i},_getCarouselItems:function(){return this._carouselItems||(this._carouselItems=this.carousel().jcarousel("items")),this._carouselItems}})}(jQuery),function(n,t){"use strict";var r,i;n.each({hidden:"visibilitychange",mozHidden:"mozvisibilitychange",msHidden:"msvisibilitychange",webkitHidden:"webkitvisibilitychange"},function(n,u){if("undefined"!=typeof t[n])return(r=n,i=u,!1)});n.jCarousel.plugin("jcarouselAutoscroll",{_options:{target:"+=1",interval:3e3,autostart:!0},_timer:null,_started:!1,_init:function(){this.onDestroy=n.proxy(function(){this._destroy();this.carousel().one("jcarousel:createend",n.proxy(this._create,this))},this);this.onAnimateEnd=n.proxy(this._start,this);this.onVisibilityChange=n.proxy(function(){t[r]?this._stop():this._start()},this)},_create:function(){this.carousel().one("jcarousel:destroy",this.onDestroy);n(t).on(i,this.onVisibilityChange);this.options("autostart")&&this.start()},_destroy:function(){this._stop();this.carousel().off("jcarousel:destroy",this.onDestroy);n(t).off(i,this.onVisibilityChange)},_start:function(){return this._stop(),this._started?(this.carousel().one("jcarousel:animateend",this.onAnimateEnd),this._timer=setTimeout(n.proxy(function(){this.carousel().jcarousel("scroll",this.options("target"))},this),this.options("interval")),this):void 0},_stop:function(){return this._timer&&(this._timer=clearTimeout(this._timer)),this.carousel().off("jcarousel:animateend",this.onAnimateEnd),this},start:function(){return this._started=!0,this._start(),this},stop:function(){return this._started=!1,this._stop(),this}})}(jQuery,document),function(n){n(function(){n(".step-carousel").each(function(){var i=n(this).attr("data-carousel"),r=n(".step-carousel."+i+" .jcarousel-wrapper"),t=r.find(".jcarousel"),u=t.attr("data-speaker-click");t.on("jcarousel:reload jcarousel:create",function(){var i=n(this),t=i.innerWidth();t>=600?t=t/6:t>=350&&(t=t/2);i.jcarousel("items").css("width","250px")}).jcarousel({wrap:"circular"}).jcarouselAutoscroll({autostart:!0,target:"+=1",interval:5e3});r.find(".jcarousel-control-prev").jcarouselControl({target:"-=1"});r.find(".jcarousel-control-next").jcarouselControl({target:"+=1"});r.find(".jcarousel-pagination span").on("jcarouselpagination:active","a",function(){t.find("ul li").removeClass("active");t.find("ul li").find("a[href='"+n(this).attr("href")+"']").parent().addClass("active");n(this).addClass("active");n(".step-carousel."+i+" .name-description").hide();n(".step-carousel."+i).find(".description-"+n(this).attr("href").replace("#","")).show()}).on("jcarouselpagination:inactive","a",function(){n(this).removeClass("active")}).on("click",function(n){t.attr("data-speaker-click","1");n.preventDefault()}).jcarouselPagination({perPage:1,item:function(n){return'<a href="#'+n+'" onMouseOver="ScrollActionStop(this);" onMouseOut="ScrollActionStart(this);">&nbsp;<\/a>'}});t.hover(function(){t.attr("data-speaker-click")==0&&n(this).jcarouselAutoscroll("stop")},function(){t.attr("data-speaker-click")==0&&n(this).jcarouselAutoscroll("start")});n(".step-carousel."+i+" .jcarousel-wrapper .jcarousel-control-prev,.step-carousel."+i+" .jcarousel-wrapper .jcarousel-control-next").hover(function(){t.attr("data-speaker-click")==0&&t.jcarouselAutoscroll("stop")},function(){t.attr("data-speaker-click")==0&&t.jcarouselAutoscroll("start")});n(".step-carousel."+i+" .jcarousel-wrapper .jcarousel-control-prev,.step-carousel."+i+" .jcarousel-wrapper .jcarousel-control-next").click(function(){t.attr("data-speaker-click","1")});t.find("ul li a").on("click",function(u){u.preventDefault();t.attr("data-speaker-click","1");n(this).parent().hasClass("active")?(n(this).parent().removeClass("active"),r.find(".jcarousel-pagination a").removeClass("active"),n(".step-carousel."+i).find(".description-"+n(this).attr("href").replace("#","")).slideUp()):(t.jcarousel("reload"),t.jcarousel("scroll",n(".jcarousel li:eq("+n(".step-carousel .jcarousel-wrapper .jcarousel ul li").index(n(this).parent())+")")))});t.find("ul li a").on("swiperight",function(){t.jcarousel("reload");t.jcarousel("scroll",n(this).attr("href").replace("#","")-2)});t.find("ul li a").on("swipeleft",function(){t.jcarousel("reload");t.jcarousel("scroll",n(this).attr("href").replace("#",""))})})})}(jQuery),function(n){n(function(){n.fn.media_overview=function(){$this=this;n($this).find(".sponsors-media-type .media-detail-table-panel a").click(function(t){t.preventDefault();var i=n(this).attr("data-media-panel");n($this).find(".sponsors-media-type .media-detail-table-panel a img").removeAttr("style");n($this).find(".sponsors-media-type .media-detail-table-panel a .name").removeAttr("style");n(this).parent().hasClass("active")?(n($this).find(".sponsors-media-type."+i+" .media-detail-table-panel").removeClass("active"),n($this).find(".sponsors-media-type."+i+" .bio-container").hide()):(n($this).find(".sponsors-media-type."+i+" .media-detail-table-panel").removeClass("active"),n($this).find(".sponsors-media-type."+i+" .bio-container").hide(),n(this).parent().addClass("active"),n($this).find(".sponsors-media-type."+i).find("a[href='"+n(this).attr("href")+"']").parent().addClass("active"),n($this).find(".sponsors-media-type."+i).find(".description-"+n(this).attr("href").replace("#","")).show())});n($this).find(".sponsors-media-type .Mediafourcol").each(function(){n(this).find(".media-detail-table-panel").first().addClass("active");n(this).find(".bio-container").first().show()});n($this).find(".media-detail-table-panel img").removeAttr("width").removeAttr("height");n($this).find(".media-detail-table-panel a").hover(function(){n(this).find("img").css("opacity","1");n(this).find(".name").css("opacity","1")},function(){if(n(this).parent().hasClass("active"))return!1;n(this).find("img").css("opacity","0.6");n(this).find(".name").css("opacity","0.6")})};n(".media-overview").media_overview()})}(jQuery),function(n){function it(n,t,i){switch(arguments.length){case 2:return null!=n?n:t;case 3:return null!=n?n:null!=t?t:i;default:throw new Error("Implement me");}}function p(n,t){return nf.call(n,t)}function ot(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function ni(n){t.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+n)}function o(n,t){var i=!0;return w(function(){return i&&(ni(n),i=!1),t.apply(this,arguments)},t)}function kr(n,t){wr[n]||(ni(t),wr[n]=!0)}function ti(n,t){return function(i){return r(n.call(this,i),t)}}function dr(n,t){return function(i){return this.localeData().ordinal(n.call(this,i),t)}}function ii(){}function rt(n,t){t!==!1&&vi(n);ri(this,n);this._d=new Date(+n._d)}function st(n){var i=hi(n),r=i.year||0,u=i.quarter||0,f=i.month||0,e=i.week||0,o=i.day||0,s=i.hour||0,h=i.minute||0,c=i.second||0,l=i.millisecond||0;this._milliseconds=+l+1e3*c+6e4*h+36e5*s;this._days=+o+7*e;this._months=+f+3*u+12*r;this._data={};this._locale=t.localeData();this._bubble()}function w(n,t){for(var i in t)p(t,i)&&(n[i]=t[i]);return p(t,"toString")&&(n.toString=t.toString),p(t,"valueOf")&&(n.valueOf=t.valueOf),n}function ri(n,t){var u,i,r;if("undefined"!=typeof t._isAMomentObject&&(n._isAMomentObject=t._isAMomentObject),"undefined"!=typeof t._i&&(n._i=t._i),"undefined"!=typeof t._f&&(n._f=t._f),"undefined"!=typeof t._l&&(n._l=t._l),"undefined"!=typeof t._strict&&(n._strict=t._strict),"undefined"!=typeof t._tzm&&(n._tzm=t._tzm),"undefined"!=typeof t._isUTC&&(n._isUTC=t._isUTC),"undefined"!=typeof t._offset&&(n._offset=t._offset),"undefined"!=typeof t._pf&&(n._pf=t._pf),"undefined"!=typeof t._locale&&(n._locale=t._locale),ft.length>0)for(u in ft)i=ft[u],r=t[i],"undefined"!=typeof r&&(n[i]=r);return n}function s(n){return 0>n?Math.ceil(n):Math.floor(n)}function r(n,t,i){for(var r=""+Math.abs(n),u=n>=0;r.length<t;)r="0"+r;return(u?i?"+":"":"-")+r}function ui(n,t){var i={milliseconds:0,months:0};return i.months=t.month()-n.month()+12*(t.year()-n.year()),n.clone().add(i.months,"M").isAfter(t)&&--i.months,i.milliseconds=+t-+n.clone().add(i.months,"M"),i}function gr(n,t){var i;return t=ct(t,n),n.isBefore(t)?i=ui(n,t):(i=ui(t,n),i.milliseconds=-i.milliseconds,i.months=-i.months),i}function fi(n,i){return function(r,u){var f,e;return null===u||isNaN(+u)||(kr(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period)."),e=r,r=u,u=e),r="string"==typeof r?+r:r,f=t.duration(r,u),ei(this,f,n),this}}function ei(n,i,r,u){var o=i._milliseconds,f=i._days,e=i._months;u=null==u?!0:u;o&&n._d.setTime(+n._d+o*r);f&&ir(n,"Date",pt(n,"Date")+f*r);e&&tr(n,pt(n,"Month")+e*r);u&&t.updateOffset(n,f||e)}function ut(n){return"[object Array]"===Object.prototype.toString.call(n)}function oi(n){return"[object Date]"===Object.prototype.toString.call(n)||n instanceof Date}function si(n,t,r){for(var e=Math.min(n.length,t.length),o=Math.abs(n.length-t.length),f=0,u=0;e>u;u++)(r&&n[u]!==t[u]||!r&&i(n[u])!==i(t[u]))&&f++;return f+o}function e(n){if(n){var t=n.toLowerCase().replace(/(.)s$/,"$1");n=kf[n]||df[t]||t}return n}function hi(n){var i,t,r={};for(t in n)p(n,t)&&(i=e(t),i&&(r[i]=n[t]));return r}function nu(i){var r,u;if(0===i.indexOf("week"))r=7,u="day";else{if(0!==i.indexOf("month"))return;r=12;u="month"}t[i]=function(f,e){var o,s,c=t._locale[i],h=[];if("number"==typeof f&&(e=f,f=n),s=function(n){var i=t().utc().set(u,n);return c.call(t._locale,i,f||"")},null!=e)return s(e);for(o=0;r>o;o++)h.push(s(o));return h}}function i(n){var t=+n,i=0;return 0!==t&&isFinite(t)&&(i=t>=0?Math.floor(t):Math.ceil(t)),i}function ht(n,t){return new Date(Date.UTC(n,t+1,0)).getUTCDate()}function ci(n,i,r){return b(t([n,11,31+i-r]),i,r).week}function li(n){return ai(n)?366:365}function ai(n){return n%4==0&&n%100!=0||n%400==0}function vi(n){var t;n._a&&-2===n._pf.overflow&&(t=n._a[a]<0||n._a[a]>11?a:n._a[h]<1||n._a[h]>ht(n._a[l],n._a[a])?h:n._a[f]<0||n._a[f]>24||24===n._a[f]&&(0!==n._a[d]||0!==n._a[g]||0!==n._a[nt])?f:n._a[d]<0||n._a[d]>59?d:n._a[g]<0||n._a[g]>59?g:n._a[nt]<0||n._a[nt]>999?nt:-1,n._pf._overflowDayOfYear&&(l>t||t>h)&&(t=h),n._pf.overflow=t)}function yi(t){return null==t._isValid&&(t._isValid=!isNaN(t._d.getTime())&&t._pf.overflow<0&&!t._pf.empty&&!t._pf.invalidMonth&&!t._pf.nullInput&&!t._pf.invalidFormat&&!t._pf.userInvalidated,t._strict&&(t._isValid=t._isValid&&0===t._pf.charsLeftOver&&0===t._pf.unusedTokens.length&&t._pf.bigHour===n)),t._isValid}function pi(n){return n?n.toLowerCase().replace("_","-"):n}function tu(n){for(var i,t,f,r,u=0;u<n.length;){for(r=pi(n[u]).split("-"),i=r.length,t=pi(n[u+1]),t=t?t.split("-"):null;i>0;){if(f=wi(r.slice(0,i).join("-")))return f;if(t&&t.length>=i&&si(r,t,!0)>=i-1)break;i--}u++}return null}function wi(n){var i=null;if(!tt[n]&&or)try{i=t.locale();require("./locale/"+n);t.locale(i)}catch(r){}return tt[n]}function ct(n,i){var r,u;return i._isUTC?(r=i.clone(),u=(t.isMoment(n)||oi(n)?+n:+t(n))-+r,r._d.setTime(+r._d+u),t.updateOffset(r,!1),r):t(n).local()}function iu(n){return n.match(/\[[\s\S]/)?n.replace(/^\[|\]$/g,""):n.replace(/\\/g,"")}function ru(n){for(var i=n.match(sr),t=0,r=i.length;r>t;t++)i[t]=v[i[t]]?v[i[t]]:iu(i[t]);return function(u){var f="";for(t=0;r>t;t++)f+=i[t]instanceof Function?i[t].call(u,n):i[t];return f}}function lt(n,t){return n.isValid()?(t=bi(t,n.localeData()),gt[t]||(gt[t]=ru(t)),gt[t](n)):n.localeData().invalidDate()}function bi(n,t){function r(n){return t.longDateFormat(n)||n}var i=5;for(et.lastIndex=0;i>=0&&et.test(n);)n=n.replace(et,r),et.lastIndex=0,i-=1;return n}function uu(n,t){var i=t._strict;switch(n){case"Q":return cr;case"DDDD":return ar;case"YYYY":case"GGGG":case"gggg":return i?vf:ef;case"Y":case"G":case"g":return pf;case"YYYYYY":case"YYYYY":case"GGGGG":case"ggggg":return i?yf:of;case"S":if(i)return cr;case"SS":if(i)return lr;case"SSS":if(i)return ar;case"DDD":return ff;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return hf;case"a":case"A":return t._locale._meridiemParse;case"x":return lf;case"X":return af;case"Z":case"ZZ":return bt;case"T":return cf;case"SSSS":return sf;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case"hh":case"mm":case"ss":case"ww":case"WW":return i?lr:hr;case"M":case"D":case"d":case"H":case"h":case"m":case"s":case"w":case"W":case"e":case"E":return hr;case"Do":return i?t._locale._ordinalParse:t._locale._ordinalParseLenient;default:return new RegExp(cu(hu(n.replace("\\","")),"i"))}}function ki(n){n=n||"";var r=n.match(bt)||[],f=r[r.length-1]||[],t=(f+"").match(bf)||["-",0,0],u=+(60*t[1])+i(t[2]);return"+"===t[0]?-u:u}function fu(n,r,u){var o,e=u._a;switch(n){case"Q":null!=r&&(e[a]=3*(i(r)-1));break;case"M":case"MM":null!=r&&(e[a]=i(r)-1);break;case"MMM":case"MMMM":o=u._locale.monthsParse(r,n,u._strict);null!=o?e[a]=o:u._pf.invalidMonth=r;break;case"D":case"DD":null!=r&&(e[h]=i(r));break;case"Do":null!=r&&(e[h]=i(parseInt(r.match(/\d{1,2}/)[0],10)));break;case"DDD":case"DDDD":null!=r&&(u._dayOfYear=i(r));break;case"YY":e[l]=t.parseTwoDigitYear(r);break;case"YYYY":case"YYYYY":case"YYYYYY":e[l]=i(r);break;case"a":case"A":u._isPm=u._locale.isPM(r);break;case"h":case"hh":u._pf.bigHour=!0;case"H":case"HH":e[f]=i(r);break;case"m":case"mm":e[d]=i(r);break;case"s":case"ss":e[g]=i(r);break;case"S":case"SS":case"SSS":case"SSSS":e[nt]=i(1e3*("0."+r));break;case"x":u._d=new Date(i(r));break;case"X":u._d=new Date(1e3*parseFloat(r));break;case"Z":case"ZZ":u._useUTC=!0;u._tzm=ki(r);break;case"dd":case"ddd":case"dddd":o=u._locale.weekdaysParse(r);null!=o?(u._w=u._w||{},u._w.d=o):u._pf.invalidWeekday=r;break;case"w":case"ww":case"W":case"WW":case"d":case"e":case"E":n=n.substr(0,1);case"gggg":case"GGGG":case"GGGGG":n=n.substr(0,2);r&&(u._w=u._w||{},u._w[n]=i(r));break;case"gg":case"GG":u._w=u._w||{};u._w[n]=t.parseTwoDigitYear(r)}}function eu(n){var i,o,f,u,r,e,s;i=n._w;null!=i.GG||null!=i.W||null!=i.E?(r=1,e=4,o=it(i.GG,n._a[l],b(t(),1,4).year),f=it(i.W,1),u=it(i.E,1)):(r=n._locale._week.dow,e=n._locale._week.doy,o=it(i.gg,n._a[l],b(t(),r,e).year),f=it(i.w,1),null!=i.d?(u=i.d,r>u&&++f):u=null!=i.e?i.e+r:r);s=du(o,f,u,e,r);n._a[l]=s.year;n._dayOfYear=s.dayOfYear}function at(n){var t,i,r,u,e=[];if(!n._d){for(r=su(n),n._w&&null==n._a[h]&&null==n._a[a]&&eu(n),n._dayOfYear&&(u=it(n._a[l],r[l]),n._dayOfYear>li(u)&&(n._pf._overflowDayOfYear=!0),i=yt(u,0,n._dayOfYear),n._a[a]=i.getUTCMonth(),n._a[h]=i.getUTCDate()),t=0;3>t&&null==n._a[t];++t)n._a[t]=e[t]=r[t];for(;7>t;t++)n._a[t]=e[t]=null==n._a[t]?2===t?1:0:n._a[t];24===n._a[f]&&0===n._a[d]&&0===n._a[g]&&0===n._a[nt]&&(n._nextDay=!0,n._a[f]=0);n._d=(n._useUTC?yt:pu).apply(null,e);null!=n._tzm&&n._d.setUTCMinutes(n._d.getUTCMinutes()+n._tzm);n._nextDay&&(n._a[f]=24)}}function ou(n){var t;n._d||(t=hi(n._i),n._a=[t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],at(n))}function su(n){var t=new Date;return n._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function vt(i){if(i._f===t.ISO_8601)return void di(i);i._a=[];i._pf.empty=!0;for(var r,e,h,u=""+i._i,l=u.length,c=0,s=bi(i._f,i._locale).match(sr)||[],o=0;o<s.length;o++)e=s[o],r=(u.match(uu(e,i))||[])[0],r&&(h=u.substr(0,u.indexOf(r)),h.length>0&&i._pf.unusedInput.push(h),u=u.slice(u.indexOf(r)+r.length),c+=r.length),v[e]?(r?i._pf.empty=!1:i._pf.unusedTokens.push(e),fu(e,r,i)):i._strict&&!r&&i._pf.unusedTokens.push(e);i._pf.charsLeftOver=l-c;u.length>0&&i._pf.unusedInput.push(u);i._pf.bigHour===!0&&i._a[f]<=12&&(i._pf.bigHour=n);i._isPm&&i._a[f]<12&&(i._a[f]+=12);i._isPm===!1&&12===i._a[f]&&(i._a[f]=0);at(i);vi(i)}function hu(n){return n.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(n,t,i,r,u){return t||i||r||u})}function cu(n){return n.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function lu(n){var t,f,u,r,i;if(0===n._f.length)return n._pf.invalidFormat=!0,void(n._d=new Date(NaN));for(r=0;r<n._f.length;r++)i=0,t=ri({},n),null!=n._useUTC&&(t._useUTC=n._useUTC),t._pf=ot(),t._f=n._f[r],vt(t),yi(t)&&(i+=t._pf.charsLeftOver,i+=10*t._pf.unusedTokens.length,t._pf.score=i,(null==u||u>i)&&(u=i,f=t));w(n,f||t)}function di(n){var t,i,r=n._i,u=wf.exec(r);if(u){for(n._pf.iso=!0,t=0,i=kt.length;i>t;t++)if(kt[t][1].exec(r)){n._f=kt[t][0]+(u[6]||" ");break}for(t=0,i=dt.length;i>t;t++)if(dt[t][1].exec(r)){n._f+=dt[t][0];break}r.match(bt)&&(n._f+="Z");vt(n)}else n._isValid=!1}function au(n){di(n);n._isValid===!1&&(delete n._isValid,t.createFromInputFallback(n))}function vu(n,t){for(var r=[],i=0;i<n.length;++i)r.push(t(n[i],i));return r}function yu(i){var u,r=i._i;r===n?i._d=new Date:oi(r)?i._d=new Date(+r):null!==(u=tf.exec(r))?i._d=new Date(+u[1]):"string"==typeof r?au(i):ut(r)?(i._a=vu(r.slice(0),function(n){return parseInt(n,10)}),at(i)):"object"==typeof r?ou(i):"number"==typeof r?i._d=new Date(r):t.createFromInputFallback(i)}function pu(n,t,i,r,u,f,e){var o=new Date(n,t,i,r,u,f,e);return 1970>n&&o.setFullYear(n),o}function yt(n){var t=new Date(Date.UTC.apply(null,arguments));return 1970>n&&t.setUTCFullYear(n),t}function wu(n,t){if("string"==typeof n)if(isNaN(n)){if(n=t.weekdaysParse(n),"number"!=typeof n)return null}else n=parseInt(n,10);return n}function bu(n,t,i,r,u){return u.relativeTime(t||1,!!i,n,r)}function ku(n,i,r){var u=t.duration(n).abs(),c=k(u.as("s")),e=k(u.as("m")),o=k(u.as("h")),s=k(u.as("d")),h=k(u.as("M")),l=k(u.as("y")),f=c<y.s&&["s",c]||1===e&&["m"]||e<y.m&&["mm",e]||1===o&&["h"]||o<y.h&&["hh",o]||1===s&&["d"]||s<y.d&&["dd",s]||1===h&&["M"]||h<y.M&&["MM",h]||1===l&&["y"]||["yy",l];return f[2]=i,f[3]=+n>0,f[4]=r,bu.apply({},f)}function b(n,i,r){var f,e=r-i,u=r-n.day();return u>e&&(u-=7),e-7>u&&(u+=7),f=t(n).add(u,"d"),{week:Math.ceil(f.dayOfYear()/7),year:f.year()}}function du(n,t,i,r,u){var o,e,f=yt(n,0,1).getUTCDay();return f=0===f?7:f,i=null!=i?i:u,o=u-f+(f>r?7:0)-(u>f?7:0),e=7*(t-1)+(i-u)+o+1,{year:e>0?n:n-1,dayOfYear:e>0?e:li(n-1)+e}}function gi(i){var u,r=i._i,f=i._f;return i._locale=i._locale||t.localeData(i._l),null===r||f===n&&""===r?t.invalid({nullInput:!0}):("string"==typeof r&&(i._i=r=i._locale.preparse(r)),t.isMoment(r)?new rt(r,!0):(f?ut(f)?lu(i):vt(i):yu(i),u=new rt(i),u._nextDay&&(u.add(1,"d"),u._nextDay=n),u))}function nr(n,i){var u,r;if(1===i.length&&ut(i[0])&&(i=i[0]),!i.length)return t();for(u=i[0],r=1;r<i.length;++r)i[r][n](u)&&(u=i[r]);return u}function tr(n,t){var i;return"string"==typeof t&&(t=n.localeData().monthsParse(t),"number"!=typeof t)?n:(i=Math.min(n.date(),ht(n.year(),t)),n._d["set"+(n._isUTC?"UTC":"")+"Month"](t,i),n)}function pt(n,t){return n._d["get"+(n._isUTC?"UTC":"")+t]()}function ir(n,t,i){return"Month"===t?tr(n,i):n._d["set"+(n._isUTC?"UTC":"")+t](i)}function c(n,i){return function(r){return null!=r?(ir(this,n,r),t.updateOffset(this,i),this):pt(this,n)}}function rr(n){return 400*n/146097}function ur(n){return 146097*n/400}function gu(n){t.duration.fn[n]=function(){return this._data[n]}}function fr(n){"undefined"==typeof ender&&(er=wt.moment,wt.moment=n?o("Accessing Moment through the global scope is deprecated, and will be removed in an upcoming release.",t):t)}for(var t,er,u,wt="undefined"!=typeof global?global:this,k=Math.round,nf=Object.prototype.hasOwnProperty,l=0,a=1,h=2,f=3,d=4,g=5,nt=6,tt={},ft=[],or="undefined"!=typeof module&&module&&module.exports,tf=/^\/?Date\((\-?\d+)/i,rf=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,uf=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,sr=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|x|X|zz?|ZZ?|.)/g,et=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,hr=/\d\d?/,ff=/\d{1,3}/,ef=/\d{1,4}/,of=/[+\-]?\d{1,6}/,sf=/\d+/,hf=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,bt=/Z|[\+\-]\d\d:?\d\d/gi,cf=/T/i,lf=/[\+\-]?\d+/,af=/[\+\-]?\d+(\.\d{1,3})?/,cr=/\d/,lr=/\d\d/,ar=/\d{3}/,vf=/\d{4}/,yf=/[+-]?\d{6}/,pf=/[+-]?\d+/,wf=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,kt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],dt=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],bf=/([\+\-]|\d\d)/gi,vr=("Date|Hours|Minutes|Seconds|Milliseconds".split("|"),{Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,Days:864e5,Months:2592e6,Years:31536e6}),kf={ms:"millisecond",s:"second",m:"minute",h:"hour",d:"day",D:"date",w:"week",W:"isoWeek",M:"month",Q:"quarter",y:"year",DDD:"dayOfYear",e:"weekday",E:"isoWeekday",gg:"weekYear",GG:"isoWeekYear"},df={dayofyear:"dayOfYear",isoweekday:"isoWeekday",isoweek:"isoWeek",weekyear:"weekYear",isoweekyear:"isoWeekYear"},gt={},y={s:45,m:45,h:22,d:26,M:11},yr="DDD w W M D d".split(" "),pr="M D H h m s w W".split(" "),v={M:function(){return this.month()+1},MMM:function(n){return this.localeData().monthsShort(this,n)},MMMM:function(n){return this.localeData().months(this,n)},D:function(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){return this.day()},dd:function(n){return this.localeData().weekdaysMin(this,n)},ddd:function(n){return this.localeData().weekdaysShort(this,n)},dddd:function(n){return this.localeData().weekdays(this,n)},w:function(){return this.week()},W:function(){return this.isoWeek()},YY:function(){return r(this.year()%100,2)},YYYY:function(){return r(this.year(),4)},YYYYY:function(){return r(this.year(),5)},YYYYYY:function(){var n=this.year(),t=n>=0?"+":"-";return t+r(Math.abs(n),6)},gg:function(){return r(this.weekYear()%100,2)},gggg:function(){return r(this.weekYear(),4)},ggggg:function(){return r(this.weekYear(),5)},GG:function(){return r(this.isoWeekYear()%100,2)},GGGG:function(){return r(this.isoWeekYear(),4)},GGGGG:function(){return r(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWeekday()},a:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!0)},A:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!1)},H:function(){return this.hours()},h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return i(this.milliseconds()/100)},SS:function(){return r(i(this.milliseconds()/10),2)},SSS:function(){return r(this.milliseconds(),3)},SSSS:function(){return r(this.milliseconds(),3)},Z:function(){var n=-this.zone(),t="+";return 0>n&&(n=-n,t="-"),t+r(i(n/60),2)+":"+r(i(n)%60,2)},ZZ:function(){var n=-this.zone(),t="+";return 0>n&&(n=-n,t="-"),t+r(i(n/60),2)+r(i(n)%60,2)},z:function(){return this.zoneAbbr()},zz:function(){return this.zoneName()},x:function(){return this.valueOf()},X:function(){return this.unix()},Q:function(){return this.quarter()}},wr={},br=["months","monthsShort","weekdays","weekdaysShort","weekdaysMin"];yr.length;)u=yr.pop(),v[u+"o"]=dr(v[u],u);for(;pr.length;)u=pr.pop(),v[u+u]=ti(v[u],2);for(v.DDDD=ti(v.DDD,3),w(ii.prototype,{set:function(n){var t;for(var i in n)t=n[i],"function"==typeof t?this[i]=t:this["_"+i]=t;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)},_months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),months:function(n){return this._months[n.month()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),monthsShort:function(n){return this._monthsShort[n.month()]},monthsParse:function(n,i,r){var u,f,e;for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),u=0;12>u;u++)if((f=t.utc([2e3,u]),r&&!this._longMonthsParse[u]&&(this._longMonthsParse[u]=new RegExp("^"+this.months(f,"").replace(".","")+"$","i"),this._shortMonthsParse[u]=new RegExp("^"+this.monthsShort(f,"").replace(".","")+"$","i")),r||this._monthsParse[u]||(e="^"+this.months(f,"")+"|^"+this.monthsShort(f,""),this._monthsParse[u]=new RegExp(e.replace(".",""),"i")),r&&"MMMM"===i&&this._longMonthsParse[u].test(n))||r&&"MMM"===i&&this._shortMonthsParse[u].test(n)||!r&&this._monthsParse[u].test(n))return u},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdays:function(n){return this._weekdays[n.day()]},_weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysShort:function(n){return this._weekdaysShort[n.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysMin:function(n){return this._weekdaysMin[n.day()]},weekdaysParse:function(n){var i,r,u;for(this._weekdaysParse||(this._weekdaysParse=[]),i=0;7>i;i++)if(this._weekdaysParse[i]||(r=t([2e3,1]).day(i),u="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(u.replace(".",""),"i")),this._weekdaysParse[i].test(n))return i},_longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM D, YYYY LT"},longDateFormat:function(n){var t=this._longDateFormat[n];return!t&&this._longDateFormat[n.toUpperCase()]&&(t=this._longDateFormat[n.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(n){return n.slice(1)}),this._longDateFormat[n]=t),t},isPM:function(n){return"p"===(n+"").toLowerCase().charAt(0)},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(n,t,i){return n>11?i?"pm":"PM":i?"am":"AM"},_calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},calendar:function(n,t,i){var r=this._calendar[n];return"function"==typeof r?r.apply(t,[i]):r},_relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},relativeTime:function(n,t,i,r){var u=this._relativeTime[i];return"function"==typeof u?u(n,t,i,r):u.replace(/%d/i,n)},pastFuture:function(n,t){var i=this._relativeTime[n>0?"future":"past"];return"function"==typeof i?i(t):i.replace(/%s/i,t)},ordinal:function(n){return this._ordinal.replace("%d",n)},_ordinal:"%d",_ordinalParse:/\d{1,2}/,preparse:function(n){return n},postformat:function(n){return n},week:function(n){return b(n,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},_invalidDate:"Invalid date",invalidDate:function(){return this._invalidDate}}),t=function(t,i,r,u){var f;return"boolean"==typeof r&&(u=r,r=n),f={},f._isAMomentObject=!0,f._i=t,f._f=i,f._l=r,f._strict=u,f._isUTC=!1,f._pf=ot(),gi(f)},t.suppressDeprecationWarnings=!1,t.createFromInputFallback=o("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(n){n._d=new Date(n._i+(n._useUTC?" UTC":""))}),t.min=function(){var n=[].slice.call(arguments,0);return nr("isBefore",n)},t.max=function(){var n=[].slice.call(arguments,0);return nr("isAfter",n)},t.utc=function(t,i,r,u){var f;return"boolean"==typeof r&&(u=r,r=n),f={},f._isAMomentObject=!0,f._useUTC=!0,f._isUTC=!0,f._l=r,f._i=t,f._f=i,f._strict=u,f._pf=ot(),gi(f).utc()},t.unix=function(n){return t(1e3*n)},t.duration=function(n,r){var o,c,s,l,e=n,u=null;return t.isDuration(n)?e={ms:n._milliseconds,d:n._days,M:n._months}:"number"==typeof n?(e={},r?e[r]=n:e.milliseconds=n):(u=rf.exec(n))?(o="-"===u[1]?-1:1,e={y:0,d:i(u[h])*o,h:i(u[f])*o,m:i(u[d])*o,s:i(u[g])*o,ms:i(u[nt])*o}):(u=uf.exec(n))?(o="-"===u[1]?-1:1,s=function(n){var t=n&&parseFloat(n.replace(",","."));return(isNaN(t)?0:t)*o},e={y:s(u[2]),M:s(u[3]),d:s(u[4]),h:s(u[5]),m:s(u[6]),s:s(u[7]),w:s(u[8])}):"object"==typeof e&&("from"in e||"to"in e)&&(l=gr(t(e.from),t(e.to)),e={},e.ms=l.milliseconds,e.M=l.months),c=new st(e),t.isDuration(n)&&p(n,"_locale")&&(c._locale=n._locale),c},t.version="2.8.4",t.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",t.ISO_8601=function(){},t.momentProperties=ft,t.updateOffset=function(){},t.relativeTimeThreshold=function(t,i){return y[t]===n?!1:i===n?y[t]:(y[t]=i,!0)},t.lang=o("moment.lang is deprecated. Use moment.locale instead.",function(n,i){return t.locale(n,i)}),t.locale=function(n,i){var r;return n&&(r="undefined"!=typeof i?t.defineLocale(n,i):t.localeData(n),r&&(t.duration._locale=t._locale=r)),t._locale._abbr},t.defineLocale=function(n,i){return null!==i?(i.abbr=n,tt[n]||(tt[n]=new ii),tt[n].set(i),t.locale(n),tt[n]):(delete tt[n],null)},t.langData=o("moment.langData is deprecated. Use moment.localeData instead.",function(n){return t.localeData(n)}),t.localeData=function(n){var i;if(n&&n._locale&&n._locale._abbr&&(n=n._locale._abbr),!n)return t._locale;if(!ut(n)){if(i=wi(n))return i;n=[n]}return tu(n)},t.isMoment=function(n){return n instanceof rt||null!=n&&p(n,"_isAMomentObject")},t.isDuration=function(n){return n instanceof st},u=br.length-1;u>=0;--u)nu(br[u]);t.normalizeUnits=function(n){return e(n)};t.invalid=function(n){var i=t.utc(NaN);return null!=n?w(i._pf,n):i._pf.userInvalidated=!0,i};t.parseZone=function(){return t.apply(null,arguments).parseZone()};t.parseTwoDigitYear=function(n){return i(n)+(i(n)>68?1900:2e3)};w(t.fn=rt.prototype,{clone:function(){return t(this)},valueOf:function(){return+this._d+6e4*(this._offset||0)},unix:function(){return Math.floor(+this/1e3)},toString:function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDate:function(){return this._offset?new Date(+this):this._d},toISOString:function(){var n=t(this).utc();return 0<n.year()&&n.year()<=9999?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():lt(n,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):lt(n,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},toArray:function(){var n=this;return[n.year(),n.month(),n.date(),n.hours(),n.minutes(),n.seconds(),n.milliseconds()]},isValid:function(){return yi(this)},isDSTShifted:function(){return this._a?this.isValid()&&si(this._a,(this._isUTC?t.utc(this._a):t(this._a)).toArray())>0:!1},parsingFlags:function(){return w({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function(n){return this.zone(0,n)},local:function(n){return this._isUTC&&(this.zone(0,n),this._isUTC=!1,n&&this.add(this._dateTzOffset(),"m")),this},format:function(n){var i=lt(this,n||t.defaultFormat);return this.localeData().postformat(i)},add:fi(1,"add"),subtract:fi(-1,"subtract"),diff:function(n,i,r){var u,o,h,f=ct(n,this),c=6e4*(this.zone()-f.zone());return i=e(i),"year"===i||"month"===i?(u=432e5*(this.daysInMonth()+f.daysInMonth()),o=12*(this.year()-f.year())+(this.month()-f.month()),h=this-t(this).startOf("month")-(f-t(f).startOf("month")),h-=6e4*(this.zone()-t(this).startOf("month").zone()-(f.zone()-t(f).startOf("month").zone())),o+=h/u,"year"===i&&(o/=12)):(u=this-f,o="second"===i?u/1e3:"minute"===i?u/6e4:"hour"===i?u/36e5:"day"===i?(u-c)/864e5:"week"===i?(u-c)/6048e5:u),r?o:s(o)},from:function(n,i){return t.duration({to:this,from:n}).locale(this.locale()).humanize(!i)},fromNow:function(n){return this.from(t(),n)},calendar:function(n){var r=n||t(),u=ct(r,this).startOf("day"),i=this.diff(u,"days",!0),f=-6>i?"sameElse":-1>i?"lastWeek":0>i?"lastDay":1>i?"sameDay":2>i?"nextDay":7>i?"nextWeek":"sameElse";return this.format(this.localeData().calendar(f,this,t(r)))},isLeapYear:function(){return ai(this.year())},isDST:function(){return this.zone()<this.clone().month(0).zone()||this.zone()<this.clone().month(5).zone()},day:function(n){var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=n?(n=wu(n,this.localeData()),this.add(n-t,"d")):t},month:c("Month",!0),startOf:function(n){switch(n=e(n)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===n?this.weekday(0):"isoWeek"===n&&this.isoWeekday(1),"quarter"===n&&this.month(3*Math.floor(this.month()/3)),this},endOf:function(t){return t=e(t),t===n||"millisecond"===t?this:this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms")},isAfter:function(n,i){var r;return i=e("undefined"!=typeof i?i:"millisecond"),"millisecond"===i?(n=t.isMoment(n)?n:t(n),+this>+n):(r=t.isMoment(n)?+n:+t(n),r<+this.clone().startOf(i))},isBefore:function(n,i){var r;return i=e("undefined"!=typeof i?i:"millisecond"),"millisecond"===i?(n=t.isMoment(n)?n:t(n),+n>+this):(r=t.isMoment(n)?+n:+t(n),+this.clone().endOf(i)<r)},isSame:function(n,i){var r;return i=e(i||"millisecond"),"millisecond"===i?(n=t.isMoment(n)?n:t(n),+this==+n):(r=+t(n),+this.clone().startOf(i)<=r&&r<=+this.clone().endOf(i))},min:o("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(n){return n=t.apply(null,arguments),this>n?this:n}),max:o("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(n){return n=t.apply(null,arguments),n>this?this:n}),zone:function(n,i){var r,u=this._offset||0;return null==n?this._isUTC?u:this._dateTzOffset():("string"==typeof n&&(n=ki(n)),Math.abs(n)<16&&(n=60*n),!this._isUTC&&i&&(r=this._dateTzOffset()),this._offset=n,this._isUTC=!0,null!=r&&this.subtract(r,"m"),u!==n&&(!i||this._changeInProgress?ei(this,t.duration(u-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,t.updateOffset(this,!0),this._changeInProgress=null)),this)},zoneAbbr:function(){return this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal Time":""},parseZone:function(){return this._tzm?this.zone(this._tzm):"string"==typeof this._i&&this.zone(this._i),this},hasAlignedHourOffset:function(n){return n=n?t(n).zone():0,(this.zone()-n)%60==0},daysInMonth:function(){return ht(this.year(),this.month())},dayOfYear:function(n){var i=k((t(this).startOf("day")-t(this).startOf("year"))/864e5)+1;return null==n?i:this.add(n-i,"d")},quarter:function(n){return null==n?Math.ceil((this.month()+1)/3):this.month(3*(n-1)+this.month()%3)},weekYear:function(n){var t=b(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==n?t:this.add(n-t,"y")},isoWeekYear:function(n){var t=b(this,1,4).year;return null==n?t:this.add(n-t,"y")},week:function(n){var t=this.localeData().week(this);return null==n?t:this.add(7*(n-t),"d")},isoWeek:function(n){var t=b(this,1,4).week;return null==n?t:this.add(7*(n-t),"d")},weekday:function(n){var t=(this.day()+7-this.localeData()._week.dow)%7;return null==n?t:this.add(n-t,"d")},isoWeekday:function(n){return null==n?this.day()||7:this.day(this.day()%7?n:n-7)},isoWeeksInYear:function(){return ci(this.year(),1,4)},weeksInYear:function(){var n=this.localeData()._week;return ci(this.year(),n.dow,n.doy)},get:function(n){return n=e(n),this[n]()},set:function(n,t){return n=e(n),"function"==typeof this[n]&&this[n](t),this},locale:function(i){var r;return i===n?this._locale._abbr:(r=t.localeData(i),null!=r&&(this._locale=r),this)},lang:o("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return t===n?this.localeData():this.locale(t)}),localeData:function(){return this._locale},_dateTzOffset:function(){return 15*Math.round(this._d.getTimezoneOffset()/15)}});t.fn.millisecond=t.fn.milliseconds=c("Milliseconds",!1);t.fn.second=t.fn.seconds=c("Seconds",!1);t.fn.minute=t.fn.minutes=c("Minutes",!1);t.fn.hour=t.fn.hours=c("Hours",!0);t.fn.date=c("Date",!0);t.fn.dates=o("dates accessor is deprecated. Use date instead.",c("Date",!0));t.fn.year=c("FullYear",!0);t.fn.years=o("years accessor is deprecated. Use year instead.",c("FullYear",!0));t.fn.days=t.fn.day;t.fn.months=t.fn.month;t.fn.weeks=t.fn.week;t.fn.isoWeeks=t.fn.isoWeek;t.fn.quarters=t.fn.quarter;t.fn.toJSON=t.fn.toISOString;w(t.duration.fn=st.prototype,{_bubble:function(){var u,f,e,o=this._milliseconds,t=this._days,i=this._months,n=this._data,r=0;n.milliseconds=o%1e3;u=s(o/1e3);n.seconds=u%60;f=s(u/60);n.minutes=f%60;e=s(f/60);n.hours=e%24;t+=s(e/24);r=s(rr(t));t-=s(ur(r));i+=s(t/30);t%=30;r+=s(i/12);i%=12;n.days=t;n.months=i;n.years=r},abs:function(){return this._milliseconds=Math.abs(this._milliseconds),this._days=Math.abs(this._days),this._months=Math.abs(this._months),this._data.milliseconds=Math.abs(this._data.milliseconds),this._data.seconds=Math.abs(this._data.seconds),this._data.minutes=Math.abs(this._data.minutes),this._data.hours=Math.abs(this._data.hours),this._data.months=Math.abs(this._data.months),this._data.years=Math.abs(this._data.years),this},weeks:function(){return s(this.days()/7)},valueOf:function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*i(this._months/12)},humanize:function(n){var t=ku(this,!n,this.localeData());return n&&(t=this.localeData().pastFuture(+this,t)),this.localeData().postformat(t)},add:function(n,i){var r=t.duration(n,i);return this._milliseconds+=r._milliseconds,this._days+=r._days,this._months+=r._months,this._bubble(),this},subtract:function(n,i){var r=t.duration(n,i);return this._milliseconds-=r._milliseconds,this._days-=r._days,this._months-=r._months,this._bubble(),this},get:function(n){return n=e(n),this[n.toLowerCase()+"s"]()},as:function(n){var t,i;if(n=e(n),"month"===n||"year"===n)return t=this._days+this._milliseconds/864e5,i=this._months+12*rr(t),"month"===n?i:i/12;switch(t=this._days+Math.round(ur(this._months/12)),n){case"week":return t/7+this._milliseconds/6048e5;case"day":return t+this._milliseconds/864e5;case"hour":return 24*t+this._milliseconds/36e5;case"minute":return 1440*t+this._milliseconds/6e4;case"second":return 86400*t+this._milliseconds/1e3;case"millisecond":return Math.floor(864e5*t)+this._milliseconds;default:throw new Error("Unknown unit "+n);}},lang:t.fn.lang,locale:t.fn.locale,toIsoString:o("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",function(){return this.toISOString()}),toISOString:function(){var r=Math.abs(this.years()),u=Math.abs(this.months()),f=Math.abs(this.days()),n=Math.abs(this.hours()),t=Math.abs(this.minutes()),i=Math.abs(this.seconds()+this.milliseconds()/1e3);return this.asSeconds()?(this.asSeconds()<0?"-":"")+"P"+(r?r+"Y":"")+(u?u+"M":"")+(f?f+"D":"")+(n||t||i?"T":"")+(n?n+"H":"")+(t?t+"M":"")+(i?i+"S":""):"P0D"},localeData:function(){return this._locale}});t.duration.fn.toString=t.duration.fn.toISOString;for(u in vr)p(vr,u)&&gu(u.toLowerCase());t.duration.fn.asMilliseconds=function(){return this.as("ms")};t.duration.fn.asSeconds=function(){return this.as("s")};t.duration.fn.asMinutes=function(){return this.as("m")};t.duration.fn.asHours=function(){return this.as("h")};t.duration.fn.asDays=function(){return this.as("d")};t.duration.fn.asWeeks=function(){return this.as("weeks")};t.duration.fn.asMonths=function(){return this.as("M")};t.duration.fn.asYears=function(){return this.as("y")};t.locale("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(n){var t=n%10,r=1===i(n%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return n+r}});or?module.exports=t:"function"==typeof define&&define.amd?(define("moment",function(n,i,r){return r.config&&r.config()&&r.config().noGlobal===!0&&(wt.moment=er),t}),fr(!0)):fr()}.call(this);!function(n){n.fn.countdownClock=function(n){var t=this,r;try{if("undefined"==typeof moment)throw"** Moment.js is a required dependency for the countdownClock plugin.";}catch(i){return void console.log(i)}if(r=["date","showYears","showMonths","showDays","showHours","showMinutes","showSeconds","updateInterval"],t.options={dateFormat:"dddd, MMMM d, yyyy",date:void 0,showYears:!1,showMonths:!0,showDays:!0,showHours:!0,showMinutes:!0,showSeconds:!0,updateInterval:1,containerClass:"countdown-clock",containerTag:"div"},"undefined"!=typeof n)for(key in n)-1!==r.indexOf(key)&&(t.options[key]=n[key]);try{if("undefined"==typeof t.options.date)throw'** Countdown-Clock requires a "date" parameter set! $("#el").({date: "'+t.options.dateFormat+'");';}catch(i){return void console.log(i)}return t.renderTemplate=function(){t.options.showYears;t.options.showMonths;t.options.showDays;t.options.showHours;t.options.showMinutes;t.options.showSeconds},t.renderTemplate(),t.el=function(){return{years:t.find("h2.years"),months:t.find("h2.months"),days:t.find("h2.days"),hours:t.find("h2.hours"),minutes:t.find("h2.minutes"),seconds:t.find("h2.seconds")}},t.updateClock=function(){var i=moment(t.options.date),r=moment(),n={years:function(){return i.diff(r,"years")},months:function(){return i.subtract(n.years(),"years"),i.diff(r,"months")},days:function(){return i.subtract(n.months(),"months"),i.diff(r,"days")},hours:function(){return i.subtract(n.days(),"days"),i.diff(r,"hours")},minutes:function(){return i.subtract(n.hours(),"hours"),i.diff(r,"minutes")},seconds:function(){return i.subtract(n.minutes(),"minutes"),i.diff(r,"seconds")}},u={years:function(){if(n.years()<1)$("#years").hide();else return n.years()},months:function(){if(n.months()<1)$("#months").hide();else return n.months()},days:function(){if(n.days()<1)t.find("h2.days").text("0");else return n.days()},hours:function(){if(n.hours()<1)t.find("h2.hours").text("0");else return n.hours()},minutes:function(){if(n.minutes()<1)t.find("h2.minutes").text("0");else return n.minutes()},seconds:function(){if(n.seconds()<1)t.find("h2.seconds").text("0");else return n.seconds()}};t.el().years.length&&t.el().years.text(u.years);t.el().months.length&&t.el().months.text(u.months);t.el().days.length&&t.el().days.text(u.days);t.el().hours.length&&t.el().hours.text(u.hours);t.el().minutes.length&&t.el().minutes.text(u.minutes);t.el().seconds.length&&t.el().seconds.text(u.seconds)},t.updateClock(),setInterval(t.updateClock,1e3*t.options.updateInterval),t}}(jQuery),function(n,t){function v(n,t,r){var e=n.children(),o=!1,u,s,f;for(n.empty(),u=0,s=e.length;u<s;u++)if(f=e.eq(u),n.append(f),r&&n.append(r),i(n,t)){f.remove();o=!0;break}else r&&r.detach();return o}function e(t,r,u,f,o){var s=!1,h="a, table, thead, tbody, tfoot, tr, col, colgroup, object, embed, param, ol, ul, dl, blockquote, select, optgroup, option, textarea, script, style",c="script, .dotdotdot-keep";return t.contents().detach().each(function(){var a=this,l=n(a);if(typeof a=="undefined")return!0;if(l.is(c))t.append(l);else{if(s)return!0;t.append(l);!o||l.is(f.after)||l.find(f.after).length||t[t.is(h)?"after":"append"](o);i(u,f)&&(s=a.nodeType==3?y(l,r,u,f,o):e(l,r,u,f,o));s||o&&o.detach()}}),r.addClass("is-truncated"),s}function y(t,f,e,s,c){var l=t[0],nt,k,d;if(!l)return!1;var y=h(l),tt=y.indexOf(" ")!==-1?" ":"　",p=s.wrap=="letter"?"":tt,a=y.split(p),g=-1,w=-1,b=0,v=a.length-1;for(s.fallbackToLetter&&b==0&&v==0&&(p="",a=y.split(p),v=a.length-1);b<=v&&!(b==0&&v==0);){if(nt=Math.floor((b+v)/2),nt==w)break;w=nt;u(l,a.slice(0,w+1).join(p)+s.ellipsis);e.children().each(function(){n(this).toggle().toggle()});i(e,s)?(v=w,s.fallbackToLetter&&b==0&&v==0&&(p="",a=a[0].split(p),g=-1,w=-1,b=0,v=a.length-1)):(g=w,b=w)}return g==-1||a.length==1&&a[0].length==0?(k=t.parent(),t.detach(),d=c&&c.closest(k).length?c.length:0,k.contents().length>d?l=r(k.contents().eq(-1-d),f):(l=r(k,f,!0),d||k.detach()),l&&(y=o(h(l),s),u(l,y),d&&c&&n(l).parent().append(c))):(y=o(a.slice(0,g+1).join(p),s),u(l,y)),!0}function i(n,t){return n.innerHeight()>t.maxHeight}function o(t,i){while(n.inArray(t.slice(-1),i.lastCharacter.remove)>-1)t=t.slice(0,-1);return n.inArray(t.slice(-1),i.lastCharacter.noEllipsis)<0&&(t+=i.ellipsis),t}function s(n){return{width:n.innerWidth(),height:n.innerHeight()}}function u(n,t){n.innerText?n.innerText=t:n.nodeValue?n.nodeValue=t:n.textContent&&(n.textContent=t)}function h(n){return n.innerText?n.innerText:n.nodeValue?n.nodeValue:n.textContent?n.textContent:""}function c(n){do n=n.previousSibling;while(n&&n.nodeType!==1&&n.nodeType!==3);return n}function r(t,i,u){var e=t&&t[0],f;if(e){if(!u){if(e.nodeType===3)return e;if(n.trim(t.text()))return r(t.contents().last(),i)}for(f=c(e);!f;){if(t=t.parent(),t.is(i)||!t.length)return!1;f=c(t[0])}if(f)return r(n(f),i)}return!1}function p(t,i){return t?typeof t=="string"?(t=n(t,i),t.length?t:!1):t.jquery?t:!1:!1}function w(n){for(var t,r=n.innerHeight(),u=["paddingTop","paddingBottom"],i=0,f=u.length;i<f;i++)t=parseInt(n.css(u[i]),10),isNaN(t)&&(t=0),r-=t;return r}var f,l,a;n.fn.dotdotdot||(n.fn.dotdotdot=function(t){var r,c;if(this.length==0)return n.fn.dotdotdot.debug('No element found for "'+this.selector+'".'),this;if(this.length>1)return this.each(function(){n(this).dotdotdot(t)});r=this;c=r.contents();r.data("dotdotdot")&&r.trigger("destroy.dot");r.data("dotdotdot-style",r.attr("style")||"");r.css("word-wrap","break-word");r.css("white-space")==="nowrap"&&r.css("white-space","normal");r.bind_events=function(){return r.bind("update.dot",function(t,f){r.removeClass("is-truncated");t.preventDefault();t.stopPropagation();switch(typeof u.height){case"number":u.maxHeight=u.height;break;case"function":u.maxHeight=u.height.call(r[0]);break;default:u.maxHeight=w(r)}u.maxHeight+=u.tolerance;typeof f!="undefined"&&((typeof f=="string"||"nodeType"in f&&f.nodeType===1)&&(f=n("<div />").append(f).contents()),f instanceof n&&(c=f));h=r.wrapInner('<div class="dotdotdot" />').children();h.contents().detach().end().append(c.clone(!0)).find("br").replaceWith("  <br />  ").end().css({height:"auto",width:"auto",border:"none",padding:0,margin:0});var s=!1,l=!1;return o.afterElement&&(s=o.afterElement.clone(!0),s.show(),o.afterElement.detach()),i(h,u)&&(l=u.wrap=="children"?v(h,u,s):e(h,r,h,u,s)),h.replaceWith(h.contents()),h=null,n.isFunction(u.callback)&&u.callback.call(r[0],l,c),o.isTruncated=l,l}).bind("isTruncated.dot",function(n,t){return n.preventDefault(),n.stopPropagation(),typeof t=="function"&&t.call(r[0],o.isTruncated),o.isTruncated}).bind("originalContent.dot",function(n,t){return n.preventDefault(),n.stopPropagation(),typeof t=="function"&&t.call(r[0],c),c}).bind("destroy.dot",function(n){n.preventDefault();n.stopPropagation();r.unwatch().unbind_events().contents().detach().end().append(c).attr("style",r.data("dotdotdot-style")||"").removeClass("is-truncated").data("dotdotdot",!1)}),r};r.unbind_events=function(){return r.unbind(".dot"),r};r.watch=function(){if(r.unwatch(),u.watch=="window"){var t=n(window),i=t.width(),f=t.height();t.bind("resize.dot"+o.dotId,function(){i==t.width()&&f==t.height()&&u.windowResizeFix||(i=t.width(),f=t.height(),l&&clearInterval(l),l=setTimeout(function(){r.trigger("update.dot")},100))})}else a=s(r),l=setInterval(function(){if(r.is(":visible")){var n=s(r);(a.width!=n.width||a.height!=n.height)&&(r.trigger("update.dot"),a=n)}},500);return r};r.unwatch=function(){return n(window).unbind("resize.dot"+o.dotId),l&&clearInterval(l),r};var u=n.extend(!0,{},n.fn.dotdotdot.defaults,t),o={},a={},l=null,h=null;return u.lastCharacter.remove instanceof Array||(u.lastCharacter.remove=n.fn.dotdotdot.defaultArrays.lastCharacter.remove),u.lastCharacter.noEllipsis instanceof Array||(u.lastCharacter.noEllipsis=n.fn.dotdotdot.defaultArrays.lastCharacter.noEllipsis),o.afterElement=p(u.after,r),o.isTruncated=!1,o.dotId=f++,r.data("dotdotdot",!0).bind_events().trigger("update.dot"),u.watch&&r.watch(),r},n.fn.dotdotdot.defaults={ellipsis:"... ",wrap:"word",fallbackToLetter:!0,lastCharacter:{},tolerance:0,callback:null,after:null,height:null,watch:!1,windowResizeFix:!0},n.fn.dotdotdot.defaultArrays={lastCharacter:{remove:[" ","　",",",";",".","!","?"],noEllipsis:[]}},n.fn.dotdotdot.debug=function(){},f=1,l=n.fn.html,n.fn.html=function(i){return i!=t&&!n.isFunction(i)&&this.data("dotdotdot")?this.trigger("update",[i]):l.apply(this,arguments)},a=n.fn.text,n.fn.text=function(i){return i!=t&&!n.isFunction(i)&&this.data("dotdotdot")?(i=n("<div />").text(i).html(),this.trigger("update",[i])):a.apply(this,arguments)})}(jQuery);jQuery(document).ready(function(n){n(".dot-ellipsis").each(function(){var r=n(this).hasClass("dot-resize-update"),u=n(this).hasClass("dot-timer-update"),i=0,f=n(this).attr("class").split(/\s+/),t;n.each(f,function(n,t){t.match("/^dot-height-d+$/")||(i=Number(t.substr(t.indexOf("-",-1)+1)))});t={};u&&(t.watch=!0);r&&(t.watch="window");i>0&&(t.height=i);n(this).dotdotdot(t)})});jQuery(window).load(function(){jQuery(".dot-ellipsis.dot-load-update").trigger("update.dot")});$(document).ready(function(){SocialFeedbackSlide()})